/* ============================================================
   iv-therapy.css — IV Therapy & Peptides page styles
   Depends on: ../styles.css for base variables, .container,
   .section-tag, .section-h2
   ============================================================ */

/* -- Local design tokens ---------------------------------------- */
:root {
    --iv-emerald:       #2EAE8E;
    --iv-emerald-light: #5ECBB0;
    --iv-emerald-pale:  #E8F8F3;
    --iv-emerald-deep:  #1E8A6E;
    --iv-sand:          #FAF6EF;
    --iv-sand-mid:      #F2EAE0;
    --iv-sand-deep:     #E8DDD4;
    --iv-off-white:     #FDFAF7;
    --iv-card-bg:       #FDFAF7;
    --iv-text-dark:     #1A2420;
    --iv-text-medium:   #4A5E58;
    --iv-muted:         #7A9490;
}

/* -- Scroll reveal ---------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity  0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
    opacity: 1;
    transform: none;
}
.reveal.d1 { transition-delay: 0.07s; }
.reveal.d2 { transition-delay: 0.14s; }
.reveal.d3 { transition-delay: 0.21s; }
.reveal.d4 { transition-delay: 0.28s; }

/* -- section-tag / section-h2 (shared, mirrors other pages) ----- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: var(--type-caption);
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--iv-emerald);
    margin-bottom: 14px;
}
.section-tag-line {
    width: 26px;
    height: 1.5px;
    background: var(--iv-emerald);
    opacity: 0.6;
    flex-shrink: 0;
}
.section-h2 {
    font-family: var(--font-serif);
    font-size: var(--type-h1);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 14px;
}
.section-h2 em {
    font-style: italic;
    color: var(--iv-emerald);
}


/* ================================================================
   1. HERO -- dark forest background with emerald accents
================================================================ */
.iv-hero {
    min-height: 92vh;
    background: linear-gradient(155deg, var(--forest) 0%, var(--forest-mid) 45%, #1E4A42 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 200px 0 96px;
}
body.has-announcement .iv-hero {
    padding-top: 200px;
}

/* Decorative geometry */
.iv-hero-geo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.iv-hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(46,174,142,0.12);
}
.iv-ring-1 { width: 600px; height: 600px; top: -15%; right: -8%; }
.iv-ring-2 { width: 380px; height: 380px; top: 10%; right: 5%; border-color: rgba(46,174,142,0.08); }
.iv-ring-3 { width: 200px; height: 200px; bottom: 15%; left: 8%; border-color: rgba(94,203,176,0.10); }

.iv-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.iv-glow-1 {
    width: 500px;
    height: 500px;
    top: -10%;
    right: -5%;
    background: radial-gradient(circle, rgba(46,174,142,0.10) 0%, transparent 65%);
}
.iv-glow-2 {
    width: 300px;
    height: 300px;
    bottom: -10%;
    left: 20%;
    background: radial-gradient(circle, rgba(94,203,176,0.06) 0%, transparent 65%);
}

.iv-hero-inner {
    position: relative;
    z-index: 1;
}

.iv-hero-content {
    max-width: 640px;
    opacity: 0;
    animation: ivFadeUp 0.7s 0.15s cubic-bezier(0.22,1,0.36,1) forwards;
}

@keyframes ivFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
}

/* Breadcrumb */
.iv-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-family: var(--font-sans);
    font-size: var(--type-caption);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.55);
}
.iv-breadcrumb a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
}
.iv-breadcrumb a:hover { color: var(--iv-emerald-light); }
.iv-breadcrumb-sep { color: rgba(255,255,255,0.55); font-size: 12px; }
.iv-breadcrumb-current { color: rgba(255,255,255,0.65); }

/* Eyebrow */
.iv-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: var(--type-caption);
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--iv-emerald-light);
    margin-bottom: 20px;
}
.iv-eyebrow-pip {
    width: 28px;
    height: 1.5px;
    background: var(--iv-emerald-light);
    opacity: 0.6;
    flex-shrink: 0;
}

/* H1 */
.iv-hero h1 {
    font-family: var(--font-serif);
    font-size: var(--type-display);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 24px;
}
.iv-hero h1 em {
    font-style: italic;
    color: var(--iv-emerald-light);
}

.iv-hero-lead {
    font-family: var(--font-sans);
    font-size: var(--type-body);
    font-weight: 400;
    line-height: var(--lh-body);
    color: rgba(255,255,255,0.70);
    max-width: 500px;
    margin-bottom: 38px;
}

/* CTA buttons */
.iv-hero-btns {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}
.iv-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--iv-emerald);
    color: #fff;
    padding: 15px 34px;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-decoration: none;
    box-shadow: 0 6px 22px rgba(46,174,142,0.35);
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}
.iv-btn-primary:hover {
    background: var(--iv-emerald-deep);
    transform: translateY(-2px);
}
.iv-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.80);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s;
}
.iv-btn-outline:hover { color: var(--iv-emerald-light); }
.iv-btn-outline-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: border-color 0.2s, background 0.2s;
}
.iv-btn-outline:hover .iv-btn-outline-icon {
    border-color: var(--iv-emerald-light);
    background: rgba(46,174,142,0.12);
}

/* Proof strip */
.iv-hero-proof {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.iv-proof-item { flex: 1; }
.iv-proof-val {
    font-family: var(--font-serif);
    font-size: 34px;
    font-weight: 500;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.iv-proof-lbl {
    font-family: var(--font-sans);
    font-size: var(--type-caption);
    font-weight: 400;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    line-height: 1.4;
}
.iv-proof-sep {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}


/* ================================================================
   2. WHAT IS IV THERAPY -- light background, centered text + callout
================================================================ */
.iv-what-section {
    padding: 96px 0;
    background: var(--iv-off-white);
}
.iv-what-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}
.iv-what-intro {
    font-family: var(--font-sans);
    font-size: var(--type-body);
    font-weight: 400;
    color: var(--iv-text-medium);
    line-height: var(--lh-body);
    max-width: 580px;
    margin: 16px auto 0;
}

/* Callout card */
.iv-what-callout {
    max-width: 680px;
    margin: 0 auto;
    background: var(--iv-emerald-pale);
    border: 1px solid rgba(46,174,142,0.18);
    border-radius: var(--radius-md, 20px);
    padding: 28px 32px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.iv-what-callout-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(46,174,142,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--iv-emerald-deep);
    flex-shrink: 0;
}
.iv-what-callout-body h3 {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    font-weight: 500;
    color: var(--iv-text-dark);
    margin-bottom: 6px;
    line-height: 1.3;
}
.iv-what-callout-body p {
    font-family: var(--font-sans);
    font-size: var(--type-body);
    font-weight: 400;
    color: var(--iv-text-medium);
    line-height: var(--lh-body);
}


/* ================================================================
   3. TREATMENTS -- card grid for IV cocktails & peptides
================================================================ */
.iv-treatments-section {
    padding: 96px 0;
    background: var(--iv-sand);
}
.iv-treatments-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.iv-treatments-intro {
    font-family: var(--font-sans);
    font-size: var(--type-body);
    font-weight: 400;
    color: var(--iv-text-medium);
    line-height: var(--lh-body);
    max-width: 520px;
    margin: 16px auto 0;
}

.iv-treatments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.iv-treatment-card {
    background: var(--iv-card-bg);
    border: 1px solid var(--iv-sand-deep);
    border-radius: var(--radius-md, 20px);
    padding: 32px 28px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.iv-treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(26,36,32,0.08);
    border-color: var(--iv-emerald-light);
}

.iv-treatment-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-sans);
    font-size: var(--type-caption);
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--iv-emerald-deep);
    background: var(--iv-emerald-pale);
    padding: 4px 12px;
    border-radius: 50px;
}

.iv-treatment-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--iv-emerald-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--iv-emerald-deep);
    margin-bottom: 18px;
    transition: transform 0.3s, background 0.3s;
}
.iv-treatment-card:hover .iv-treatment-icon {
    transform: scale(1.08);
    background: rgba(46,174,142,0.15);
}

.iv-treatment-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--iv-text-dark);
    margin-bottom: 10px;
    line-height: 1.25;
}
.iv-treatment-desc {
    font-family: var(--font-sans);
    font-size: var(--type-small);
    font-weight: 400;
    color: var(--iv-text-medium);
    line-height: 1.72;
    margin-bottom: 16px;
}

.iv-treatment-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.iv-treatment-highlights li {
    font-family: var(--font-sans);
    font-size: var(--type-small);
    font-weight: 400;
    color: var(--iv-text-medium);
    line-height: 1.5;
    padding-left: 18px;
    position: relative;
}
.iv-treatment-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--iv-emerald);
    opacity: 0.5;
}


/* ================================================================
   4. BENEFITS -- 3x2 card grid
================================================================ */
.iv-benefits-section {
    padding: 96px 0;
    background: var(--iv-off-white);
}
.iv-benefits-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}
.iv-benefits-intro {
    font-family: var(--font-sans);
    font-size: var(--type-body);
    font-weight: 400;
    color: var(--iv-text-medium);
    line-height: var(--lh-body);
    margin: 16px auto 0;
    max-width: 480px;
}

.iv-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.iv-benefit-card {
    background: var(--iv-card-bg);
    border: 1px solid var(--iv-sand-deep);
    border-radius: var(--radius-md, 20px);
    padding: 28px 24px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.iv-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(26,36,32,0.08);
    border-color: var(--iv-emerald-light);
}

.iv-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--iv-emerald-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--iv-emerald-deep);
    margin-bottom: 16px;
    transition: transform 0.3s, background 0.3s;
}
.iv-benefit-card:hover .iv-benefit-icon {
    transform: scale(1.08);
    background: rgba(46,174,142,0.15);
}

.iv-benefit-card h3 {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    font-weight: 500;
    color: var(--iv-text-dark);
    margin-bottom: 8px;
    line-height: 1.25;
}
.iv-benefit-card p {
    font-family: var(--font-sans);
    font-size: var(--type-small);
    font-weight: 400;
    color: var(--iv-text-medium);
    line-height: 1.68;
}


/* ================================================================
   5. HOW IT WORKS -- 3-step numbered cards
================================================================ */
.iv-how-section {
    padding: 96px 0;
    background: var(--iv-sand);
}
.iv-how-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}
.iv-how-intro {
    font-family: var(--font-sans);
    font-size: var(--type-body);
    font-weight: 400;
    color: var(--iv-text-medium);
    line-height: var(--lh-body);
    margin: 16px auto 0;
    max-width: 500px;
}

.iv-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}
.iv-how-card {
    background: var(--iv-card-bg);
    border-radius: var(--radius-md, 20px);
    padding: 32px 26px;
    border: 1px solid var(--iv-sand-deep);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
}
.iv-how-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(26,36,32,0.08);
    border-color: var(--iv-emerald-light);
}

.iv-how-num {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 400;
    color: var(--iv-sand-deep);
    line-height: 1;
    margin-bottom: 18px;
    transition: color 0.4s;
}
.iv-how-card:hover .iv-how-num { color: var(--iv-emerald); }

.iv-how-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--iv-emerald-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--iv-emerald-deep);
    margin-bottom: 16px;
    transition: transform 0.3s, background 0.3s;
}
.iv-how-card:hover .iv-how-icon {
    transform: scale(1.08);
    background: rgba(46,174,142,0.15);
}

.iv-how-card h3 {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 500;
    color: var(--iv-text-dark);
    margin-bottom: 8px;
    line-height: 1.25;
}
.iv-how-card p {
    font-family: var(--font-sans);
    font-size: var(--type-small);
    font-weight: 400;
    color: var(--iv-text-medium);
    line-height: 1.68;
}

/* Connector line between cards (desktop) */
.iv-how-connector {
    position: absolute;
    top: 60px;
    right: -14px;
    width: 28px;
    height: 2px;
    background: var(--iv-sand-deep);
    z-index: 1;
}
.iv-how-card:last-child .iv-how-connector { display: none; }


/* ================================================================
   6. WHY LIVEA -- dark forest, 2x2 card grid
================================================================ */
.iv-why-section {
    padding: 96px 0;
    background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 55%, #1E4A42 100%);
    position: relative;
    overflow: hidden;
}
.iv-why-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 75% 40%, rgba(46,174,142,0.10) 0%, transparent 55%);
    pointer-events: none;
}
.iv-why-section .container { position: relative; z-index: 1; }

.iv-why-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}
.iv-why-section .section-tag { color: var(--iv-emerald-light); }
.iv-why-section .section-tag-line { background: var(--iv-emerald-light); }
.iv-why-section .section-h2 { color: #fff; }
.iv-why-section .section-h2 em { color: var(--iv-emerald-light); }
.iv-why-intro {
    font-family: var(--font-sans);
    font-size: var(--type-body);
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    line-height: var(--lh-body);
    margin: 16px auto 0;
    max-width: 520px;
}

.iv-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 880px;
    margin: 0 auto;
}
.iv-why-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-md, 20px);
    padding: 28px 24px;
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.iv-why-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.16);
}
.iv-why-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(46,174,142,0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--iv-emerald-light);
    margin-bottom: 16px;
}
.iv-why-card h3 {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.25;
}
.iv-why-card p {
    font-family: var(--font-sans);
    font-size: var(--type-small);
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    line-height: 1.68;
}


/* ================================================================
   7. FAQ -- accordion
================================================================ */
.iv-faq-section {
    background: var(--iv-off-white);
    padding: 96px 0;
}
.iv-faq-header {
    text-align: center;
    margin-bottom: 64px;
}
.iv-faq-intro {
    font-family: var(--font-sans);
    font-size: var(--type-body);
    font-weight: 400;
    color: var(--iv-text-medium);
    line-height: var(--lh-body);
    max-width: 520px;
    margin: 16px auto 0;
}
.iv-faq-intro a {
    color: var(--iv-emerald);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Accordion */
.iv-faq {
    max-width: 760px;
    margin: 0 auto;
}
.iv-faq-item {
    border-bottom: 1px solid var(--iv-sand-deep);
    cursor: pointer;
}
.iv-faq-item:first-child {
    border-top: 1px solid var(--iv-sand-deep);
}

.iv-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: transparent;
    border: none;
    padding: 24px 0;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-serif);
    font-size: 1.12rem;
    font-weight: 500;
    color: var(--iv-text-dark);
    line-height: 1.35;
    transition: color 0.2s;
}
.iv-faq-question:hover { color: var(--iv-emerald); }
.iv-faq-item.open .iv-faq-question { color: var(--iv-emerald); }

.iv-faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--iv-emerald-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--iv-emerald);
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 400;
    font-family: var(--font-sans);
    transition: background 0.2s, transform 0.35s;
}
.iv-faq-item.open .iv-faq-icon {
    background: var(--iv-emerald);
    color: #fff;
    transform: rotate(45deg);
}

.iv-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.iv-faq-item.open .iv-faq-answer {
    max-height: 480px;
}
.iv-faq-answer p {
    font-family: var(--font-sans);
    font-size: var(--type-body);
    font-weight: 400;
    color: var(--iv-text-medium);
    line-height: var(--lh-body);
    padding-bottom: 24px;
}
.iv-faq-answer a {
    color: var(--iv-emerald);
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
    .iv-hero { padding: 180px 0 80px; }
    body.has-announcement .iv-hero { padding-top: 180px; }

    .iv-treatments-grid { gap: 20px; }
    .iv-how-connector { display: none; }
}

@media (max-width: 768px) {
    .iv-hero {
        min-height: auto;
        padding: 160px 0 64px;
    }
    body.has-announcement .iv-hero { padding-top: 160px; }

    .iv-hero-btns { flex-direction: column; align-items: flex-start; gap: 12px; }
    .iv-btn-primary { width: 100%; justify-content: center; }
    .iv-hero-proof { gap: 16px; }
    .iv-proof-val { font-size: 26px; }

    .iv-what-section,
    .iv-treatments-section,
    .iv-benefits-section,
    .iv-how-section,
    .iv-why-section,
    .iv-faq-section { padding: 64px 0; }

    .iv-treatments-grid { grid-template-columns: 1fr; }
    .iv-benefits-grid { grid-template-columns: 1fr 1fr; }
    .iv-how-grid { grid-template-columns: 1fr; }
    .iv-how-connector { display: none; }
    .iv-why-grid { grid-template-columns: 1fr; }

    .iv-what-callout { flex-direction: column; gap: 14px; }
}

@media (max-width: 480px) {
    .iv-hero { padding: 140px 0 56px; }
    body.has-announcement .iv-hero { padding-top: 140px; }

    .iv-proof-val { font-size: 22px; }
    .iv-hero-proof { gap: 12px; }

    .iv-benefits-grid { grid-template-columns: 1fr; }

    .iv-what-callout { padding: 22px 20px; }
    .iv-why-card { padding: 22px 20px; }
    .iv-how-card { padding: 24px 20px; }
    .iv-treatment-card { padding: 24px 20px; }
    .iv-benefit-card { padding: 22px 20px; }
}