/* ==========================================================
   IVF ORIGEN AGENCY — THANK YOU PAGE
   Loads after home-page.css and reuses its shared nav/footer.
   ========================================================== */

:root {
    --ty-teal: #153132;
    --ty-teal-dark: #0f2324;
    --ty-gold: #c39d12;
    --ty-gold-light: #d9b64a;
    --ty-white: #fff;
    --ty-cream: #f7f5f0;
    --ty-off-white: #fbfaf7;
    --ty-card: #f4f1ea;
    --ty-ink: #1a1f1f;
    --ty-body: #5c6666;
    --ty-muted: #7a8484;
    --ty-border: rgba(21, 49, 50, 0.1);
    --ty-shadow: 0 18px 48px rgba(15, 35, 36, 0.08);
    --ty-radius: 22px;
    --ty-serif: var(--hp-font, 'Playfair Display', Georgia, serif);
    --ty-sans: var(--hp-font-sans, 'Century Gothic', Arial, sans-serif);
    --ty-script: 'Great Vibes', 'Playfair Display', Georgia, cursive;
    --ty-max: 1120px;
}

.thank-you-page-body,
.ty-wrap {
    margin: 0;
    background: var(--ty-cream);
    color: var(--ty-ink);
}

.ty-main {
    font-family: var(--ty-sans);
}

.ty-wrap *,
.ty-wrap *::before,
.ty-wrap *::after {
    box-sizing: border-box;
}

.ty-container {
    width: 100%;
    max-width: var(--ty-max);
    margin: 0 auto;
    padding: 0 24px;
}

.ty-eyebrow {
    margin: 0 0 16px;
    color: var(--ty-muted);
    font-family: var(--ty-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.6px;
    text-transform: uppercase;
}

.ty-rule {
    display: block;
    width: 56px;
    height: 1.5px;
    margin: 22px 0 22px;
    background: var(--ty-gold);
}

/* The page is cream, so keep the shared nav in its solid/scrolled look. */
.thank-you-page-body .hp-nav__scrim {
    opacity: 0;
}

.thank-you-page-body .hp-nav__bar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(26, 46, 42, 0.08);
    backdrop-filter: blur(12px);
}

.thank-you-page-body .hp-nav__logo-text,
.thank-you-page-body .hp-nav__journey,
.thank-you-page-body .hp-nav__contact {
    color: var(--hp-ink);
}

.thank-you-page-body .hp-nav__divider {
    background: var(--hp-border);
}

.thank-you-page-body .hp-nav__toggle span {
    background: var(--hp-ink);
}

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.ty-hero {
    padding: 132px 0 28px;
    background: var(--ty-cream);
}

.ty-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 56px;
}

.ty-hero__title {
    max-width: 11ch;
    margin: 0 0 22px;
    color: var(--ty-teal);
    font-family: var(--ty-serif);
    font-size: clamp(2.4rem, 4.6vw, 3.55rem);
    font-weight: 400;
    line-height: 1.08;
}

.ty-hero__lede {
    margin: 0 0 14px;
    color: var(--ty-body);
    font-size: 1.08rem;
    line-height: 1.6;
}

.ty-hero__body {
    max-width: 38ch;
    margin: 0;
    color: var(--ty-muted);
    font-size: 0.98rem;
    line-height: 1.75;
}

.ty-hero__script {
    margin: 0;
    color: var(--ty-teal);
    font-family: var(--ty-script);
    font-size: clamp(1.7rem, 2.6vw, 2.15rem);
    font-weight: 400;
    line-height: 1.25;
}

.ty-hero__media {
    position: relative;
}

.ty-hero__media img {
    display: block;
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: center 18%;
    border-radius: 140px 28px 140px 28px;
}

.ty-hero__caption {
    position: absolute;
    top: 46%;
    right: 28px;
    margin: 0;
    color: var(--ty-teal);
    font-family: var(--ty-sans);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2.4px;
    line-height: 1.45;
    text-transform: uppercase;
    text-align: right;
}

.ty-hero__caption::after {
    content: '';
    display: block;
    width: 36px;
    height: 1.5px;
    margin: 10px 0 0 auto;
    background: var(--ty-gold);
}

/* ----------------------------------------------------------
   CTA + FEATURE CARDS
   ---------------------------------------------------------- */
.ty-actions {
    padding: 36px 0 20px;
}

.ty-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.ty-cta-card,
.ty-feature-card {
    background: var(--ty-white);
    border: 1px solid var(--ty-border);
    border-radius: var(--ty-radius);
    box-shadow: var(--ty-shadow);
}

.ty-cta-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 34px 34px;
    overflow: hidden;
}

.ty-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ty-gold-light), var(--ty-gold));
}

.ty-cta-card__icon,
.ty-feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: var(--ty-teal);
    color: var(--ty-white);
}

.ty-cta-card__icon svg,
.ty-feature-card__icon svg {
    width: 24px;
    height: 24px;
}

.ty-cta-card h2 {
    margin: 0 0 12px;
    color: var(--ty-teal);
    font-family: var(--ty-serif);
    font-size: 1.45rem;
    font-weight: 400;
    line-height: 1.25;
}

.ty-cta-card p {
    max-width: 42ch;
    margin: 0 0 28px;
    color: var(--ty-body);
    font-size: 0.95rem;
    line-height: 1.7;
}

.ty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    padding: 14px 26px;
    border-radius: 50px;
    background: var(--ty-teal);
    color: var(--ty-white);
    font-family: var(--ty-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ty-btn:hover {
    background: var(--ty-teal-dark);
    color: var(--ty-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 35, 36, 0.2);
}

.ty-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ty-feature-card {
    padding: 28px 26px 30px;
    background: var(--ty-off-white);
}

.ty-feature-card__icon {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 12px;
}

.ty-feature-card__icon svg {
    width: 22px;
    height: 22px;
}

.ty-feature-card h3 {
    margin: 0 0 10px;
    color: var(--ty-teal);
    font-family: var(--ty-serif);
    font-size: 1.12rem;
    font-weight: 400;
    line-height: 1.3;
}

.ty-feature-card p {
    margin: 0;
    color: var(--ty-body);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ----------------------------------------------------------
   SUPPORT
   ---------------------------------------------------------- */
.ty-support {
    padding: 56px 0 88px;
}

.ty-support__lede {
    max-width: 62ch;
    margin: 0 auto 42px;
    color: var(--ty-body);
    font-size: 1rem;
    line-height: 1.75;
    text-align: center;
}

.ty-support__methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 860px;
    margin: 0 auto;
}

.ty-support__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    color: var(--ty-teal);
    font-size: 0.92rem;
    text-align: center;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ty-support__item:not(:last-child) {
    border-right: 1px solid rgba(21, 49, 50, 0.14);
}

.ty-support__item:hover {
    color: var(--ty-gold);
}

.ty-support__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--ty-teal);
}

.ty-support__icon svg {
    width: 22px;
    height: 22px;
}

.ty-support__item:hover .ty-support__icon {
    color: var(--ty-gold);
}

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 960px) {
    .ty-hero {
        padding: 120px 0 12px;
    }

    .ty-hero__inner,
    .ty-cta-grid,
    .ty-feature-grid {
        grid-template-columns: 1fr;
    }

    .ty-hero__inner {
        gap: 36px;
    }

    .ty-hero__title,
    .ty-hero__body {
        max-width: none;
    }

    .ty-hero__media img {
        height: 380px;
        border-radius: 100px 20px 100px 20px;
    }

    .ty-support {
        padding: 40px 0 72px;
    }
}

@media (max-width: 640px) {
    .ty-container {
        padding: 0 18px;
    }

    .ty-hero {
        padding: 108px 0 8px;
    }

    .ty-hero__title {
        font-size: clamp(2rem, 9vw, 2.6rem);
    }

    .ty-hero__media img {
        height: 300px;
        border-radius: 72px 16px 72px 16px;
    }

    .ty-hero__caption {
        right: 16px;
        font-size: 0.56rem;
    }

    .ty-cta-card {
        padding: 28px 22px 26px;
    }

    .ty-feature-card {
        padding: 24px 22px;
    }

    .ty-support__lede {
        font-size: 0.94rem;
    }

    .ty-support__lede br {
        display: none;
    }

    .ty-support__methods {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ty-support__item {
        padding: 16px 8px;
    }

    .ty-support__item:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid rgba(21, 49, 50, 0.12);
    }
}
