/* v2 site overrides on top of Bootstrap 5 */

:root {
    --brand-primary: #F48034;
    --brand-accent:  #e6c9aa;

    /* Square corners — all Bootstrap radii zeroed (buttons, inputs, cards,
       dropdowns, accordions, rounded-* utilities inherit from these). */
    --bs-border-radius: 0;
    --bs-border-radius-sm:   0;
    --bs-border-radius-lg:   0;
    --bs-border-radius-xl:   0;
    --bs-border-radius-xxl:  0;
    --bs-border-radius-pill: 0;
}

body {
    font-family: 'Raleway', sans-serif;
    color: #000;
}

/* ============================================================
   BRAND RULE: flat everywhere — NO rounded corners, NO shadows.
   Applies site-wide (incl. Bootstrap components and future code).
   Keyboard focus stays visible via an outline instead of a shadow.
   ============================================================ */
*,
*::before,
*::after {
    border-radius: 0 !important;
    box-shadow: none !important;
}
:focus-visible {
    outline: 2px solid #F48034;
    outline-offset: 2px;
}

/* Dmitriy's preference: every H1 is semi-bold by default, sitewide.
   The .fw-bold overrides beat Bootstrap's .fw-bold (700) on h1 specifically. */
h1, .h1,
h1.fw-bold, .h1.fw-bold,
h1.fw-semibold, .h1.fw-semibold {
    font-weight: 600 !important;
}

/* Page-scoped: lighter (semi-bold) section headings */
.headings-semibold h1,
.headings-semibold h2 {
    font-weight: 600 !important;
}

/* Women/Men (and similar) pill tabs — used on hormone symptom & hub pages. */
.sympt-tabs .nav-link { color: #000; font-weight: 700; border-radius: 0; }
.sympt-tabs .nav-link.active { background: #F48034; color: #fff; }

/* All copy is black on light backgrounds (dark sections set #fff locally).
   Bootstrap's muted/secondary grays are forced black to match. */
.text-muted,
.text-body-secondary {
    color: #000 !important;
}

/* ---- MOBILE STICKY CTA BAR ---- */
.mobile-sticky-cta {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1080; /* above Bootstrap navbar (z-1030) and dropdowns */
    display: flex;
    gap: 0;
    background: #fff;
    transform: translateY(-110%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-sticky-cta.is-visible {
    transform: translateY(0);
}
.mobile-sticky-cta__btn {
    flex: 1 1 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 0.5rem;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    letter-spacing: 0.01em;
    transition: filter 0.15s ease;
}
.mobile-sticky-cta__btn:hover,
.mobile-sticky-cta__btn:focus {
    color: #ffffff;
    filter: brightness(1.08);
}
.mobile-sticky-cta__btn i { font-size: 1.05rem; }
.mobile-sticky-cta__btn--primary {
    background: #fff;
    color: #000;
    border: 1px solid #F48034;
}
.mobile-sticky-cta__btn--primary:hover,
.mobile-sticky-cta__btn--primary:focus {
    color: #000;
}
.mobile-sticky-cta__btn--secondary {
    background: #F48034;
}
/* make the sticky phone button + its dropdown fill its half of the bar */
.mobile-sticky-cta__phone {
    flex: 1 1 50%;
    display: flex;
}
.mobile-sticky-cta__phone .mobile-sticky-cta__btn {
    flex: 1 1 auto;
    border: 0;
    cursor: pointer;
}

/* ---- TOP-HEADER PHONE CTA (Call / Text) ---- */
.phone-cta__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border: 0;
    background: none;
    color: #000;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: opacity 0.15s ease;
}
.phone-cta__toggle:hover,
.phone-cta__toggle:focus,
.phone-cta__toggle[aria-expanded="true"] {
    opacity: 0.7;
}
.phone-cta__icon {
    font-size: 0.9rem;
}
.phone-cta__label {
    font-size: 1.02rem;
}
.hero__phone-cta {
    display: flex;
    justify-content: center;
}
.phone-cta__num {
    font-size: 1.02rem;
}
.phone-cta__chev {
    font-size: 0.7rem;
    opacity: 0.7;
    transition: transform 0.15s ease;
}
.phone-cta__toggle[aria-expanded="true"] .phone-cta__chev {
    transform: rotate(180deg);
}
/* Utility bar sits above the sticky main navbar (z-1020) so its dropdowns
   (Patient Resources, phone) open over the logo instead of behind it. */
.utility-bar {
    position: relative;
    z-index: 1030;
}
/* dropdown shows above all bars (sticky CTA is z-1080) */
.phone-cta__menu {
    z-index: 1085;
    min-width: 9rem;
    border: 0;
    box-shadow: 0 0.5rem 1.25rem rgba(14, 60, 122, 0.22);
}
.phone-cta__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    padding: 0.55rem 1rem;
    color: #000;
}
.phone-cta__item i {
    width: 1.1rem;
    text-align: center;
}
.phone-cta__item:active {
    background: var(--brand-primary);
    color: #fff;
}
/* Footer forces link hover to white; keep Call/Text items readable on the
   white dropdown menu there. */
.site-footer .phone-cta__item:hover,
.site-footer .phone-cta__item:focus {
    color: #000 !important;
}

/* Brand color overrides for Bootstrap */
.btn-primary {
    --bs-btn-bg: #F48034;
    --bs-btn-border-color: #F48034;
    --bs-btn-hover-bg: #dd6c24;
    --bs-btn-hover-border-color: #dd6c24;
    --bs-btn-active-bg: #c25f1c;
    --bs-btn-active-border-color: #c25f1c;
}

.btn-outline-primary {
    --bs-btn-color: #000;
    --bs-btn-border-color: #000;
    --bs-btn-hover-bg: #000;
    --bs-btn-hover-border-color: #000;
    --bs-btn-hover-color: #fff;
}

/* "Schedule a Consultation" buttons (only btn-light usage) — orange */
.btn-light {
    --bs-btn-bg: #F48034;
    --bs-btn-border-color: #F48034;
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #dd6c24;
    --bs-btn-hover-border-color: #dd6c24;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #c25f1c;
    --bs-btn-active-border-color: #c25f1c;
    --bs-btn-active-color: #fff;
}

/* Navbar tweaks */
.navbar .nav-link {
    font-weight: 500;
    color: #000;
}

.navbar .nav-link:hover {
    color: #000;
}

/* More breathing room between the main nav links (desktop). */
@media (min-width: 992px) {
    .navbar-nav.mx-auto { column-gap: 0.5rem; }
}

/* "Health Quizzes" rendered as a white button with a black border,
   matched in size to the "Book an Appointment" button beside it. */
.navbar .nav-quiz-btn {
    border: 1px solid #000;
    background: #fff;
    color: #000;
    padding-left: 1rem;
    padding-right: 1rem;
    transition: background 0.15s ease, color 0.15s ease;
}
.navbar .nav-quiz-btn:hover,
.navbar .nav-quiz-btn:focus,
.navbar .nav-quiz-btn[aria-expanded="true"] {
    background: #000;
    color: #fff;
}

/* Navbar CTA buttons (Health Quizzes + Schedule a Consultation) —
   taller with extra vertical padding, ~80% of the 50px logo height. */
.navbar .btn-primary,
.navbar .btn-outline-primary,
.navbar .nav-quiz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

/* Footer link hover */
.site-footer a:hover {
    color: #fff !important;
}

/* WCAG 2.1 AA: footer text-links need >=4.5:1 against the dark footer (#212529).
   Bootstrap's .text-white-50 (~3:1) fails, so lift it to an accessible light gray. */
.site-footer .text-white-50 {
    color: #c3ccd6 !important;
}
.site-footer .text-white-50:hover,
.site-footer .text-white-50:focus {
    color: #fff !important;
}

/* Skip-to-content link — visually hidden until focused by keyboard users. */
.skip-link {
    position: absolute;
    left: 0.5rem;
    top: -4rem;
    z-index: 2000;
    padding: 0.6rem 1rem;
    background: #0E3C7A;
    color: #fff;
    font-weight: 600;
    border-radius: 0.35rem;
    text-decoration: none;
    transition: top 0.15s ease-in-out;
}
.skip-link:focus {
    top: 0.5rem;
    color: #fff;
    outline: 3px solid #9ec5fe;
    outline-offset: 2px;
}

/* ---- HERO ---- */
.hero {
    /* Warm tan fading into white, so the service cards blend into the page. */
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg,
        #e6c9aa 0%,    /* brand warm tan */
        #f3e3d2 38%,
        #ffffff 100%);
}
.hero__title { color: #000; }
/* Mobile: tighten the hero's top padding. */
@media (max-width: 767.98px) {
    .hero__inner { padding-top: 2rem; }
}
.hero__lead  { color: rgba(0,0,0,0.72); }

.hero__inner {
    padding-top: 4rem;
    padding-bottom: 290px; /* 90px gap to cards + 200px overlap zone behind upper half of cards */
}

/* ---- Hero motif accent shapes ---- */
.hero-shape { position: absolute; z-index: 0; pointer-events: none; line-height: 0; }
.hero-shape svg { display: block; }
.hero-shape--mosaic-a { top: 9%;  left: 6%;  opacity: 0.92; transform: rotate(-12deg); }
.hero-shape--mosaic-b { top: 30%; right: 7%; opacity: 0.85; transform: rotate(10deg); }
.hero-shape--tri-a { top: 18%; right: 16%; width: 0; height: 0;
    border-left: 11px solid transparent; border-right: 11px solid transparent;
    border-bottom: 19px solid #F48034; opacity: 0.8; transform: rotate(20deg); }
.hero-shape--tri-b { top: 54%; left: 12%; width: 0; height: 0;
    border-left: 8px solid transparent; border-right: 8px solid transparent;
    border-bottom: 14px solid #1AA6A0; opacity: 0.7; transform: rotate(-8deg); }
.hero-shape--tri-c { top: 64%; right: 22%; width: 0; height: 0;
    border-left: 7px solid transparent; border-right: 7px solid transparent;
    border-bottom: 12px solid #E5267E; opacity: 0.65; }
@media (max-width: 767.98px) {
    .hero-shape--mosaic-a, .hero-shape--mosaic-b, .hero-shape--tri-a, .hero-shape--tri-b, .hero-shape--tri-c { display: none; }
}

@media (min-width: 992px) {
    .hero__inner {
        padding-top: 5rem;
        padding-bottom: 290px;
    }
}

.hero .display-3 {
    letter-spacing: -0.02em;
}

.hero__lead {
    max-width: 640px;
    font-size: 1.15rem;
    opacity: 0.9;
}

@media (min-width: 992px) {
    .hero .display-3 { font-size: 4.5rem; }
}

/* Bootstrap doesn't ship py-6 by default — add it */
.py-lg-6 { padding-top: 5rem; padding-bottom: 5rem; }

/* ---- SERVICE CAROUSEL (Zoom-style) ---- */
.services {
    position: relative;
    margin-top: -200px; /* pulls cards up so their top half overlaps the hero's fading area */
    z-index: 1;
}

.service-carousel {
    position: relative;
}

.service-carousel__track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0 5vw 1.5rem;
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;     /* Firefox */
}

.service-carousel__track::-webkit-scrollbar { display: none; }

.service-card {
    position: relative;
    flex: 0 0 80%;
    scroll-snap-align: start;
    aspect-ratio: 3 / 4;
    border-radius: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.12);
    transition: transform 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    color: #fff;
}

.service-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 35%, rgba(0,0,0,0.15) 100%);
    pointer-events: none;
}

.service-card__label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.25rem;
    padding: 0.5rem 0.9rem;
    border-radius: 0;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-weight: 600;
    font-size: 1.05rem;
}

.service-card__label i { font-size: 1.1rem; }

@media (min-width: 576px) { .service-card { flex-basis: 55%; } }
@media (min-width: 768px) { .service-card { flex-basis: 40%; } }
@media (min-width: 992px) { .service-card { flex-basis: 28%; } }
@media (min-width: 1400px) { .service-card { flex-basis: 22%; } }

/* Arrows */
.service-carousel__arrow {
    position: absolute;
    top: calc(50% - 1.5rem); /* offset for dots row */
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: #000;
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.12);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.service-carousel__arrow:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.05);
}

.service-carousel__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.service-carousel__arrow--prev { left: 1rem; }
.service-carousel__arrow--next { right: 1rem; }

@media (min-width: 992px) {
    .service-carousel__arrow--prev { left: 2rem; }
    .service-carousel__arrow--next { right: 2rem; }
}

/* Dots */
.service-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.service-carousel__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d0d4dc;
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.service-carousel__dot.is-active {
    background: var(--brand-primary);
    transform: scale(1.3);
}

/* ---- ABOUT ---- */
.about {
    position: relative;
    overflow: hidden;
}

/* Soft tinted background panel — very pale clinical blue */
.about__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, #ffffff 0%, #f3f7fb 50%, #ffffff 100%);
    pointer-events: none;
}

/* Eyebrow with little accent line */
.about__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #000;
    letter-spacing: 0.12em;
}
.about__eyebrow-line {
    display: inline-block;
    width: 36px;
    height: 2px;
    background: #1B5BA8;
    border-radius: 0;
}

/* Title */
.about__title {
    font-size: 2.25rem;
    line-height: 1.15;
    color: #000;
}
.about__title-accent {
    color: #000;
    background: linear-gradient(120deg, transparent 0%, transparent 60%, rgba(27,91,168,0.12) 60%, rgba(27,91,168,0.12) 100%);
    padding: 0 0.15em;
}
@media (min-width: 992px) {
    .about__title { font-size: 2.75rem; }
}

/* Body copy */
.about__lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #000;
}
.about__body {
    font-size: 1rem;
    line-height: 1.7;
    color: #000;
}

/* Image treatment — floated accent shape + dot pattern behind the photo */
.about__media {
    position: relative;
    padding: 1.5rem 1.5rem 0 0;
}
.about__media-img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: cover;
}
.about__media-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 60%;
    background: linear-gradient(135deg, #1B5BA8 0%, #0E3C7A 100%);
    border-radius: 0;
    z-index: 1;
}
.about__media-dots {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, #1B5BA8 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.25;
    z-index: 1;
}

/* Value pillars */
.about__pillars li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}
.about__pillar-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 0;
    background: linear-gradient(135deg, #2C7CC2 0%, #1B5BA8 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.about__pillars h6 {
    color: #000;
    font-size: 1rem;
}

/* ---- INTERNAL PAGE HERO (Zoom-style: dark, 2/3 split bg) ---- */
.internal-hero {
    position: relative;
    overflow: hidden;
    padding: 2.25rem 0;
    color: #000;
    /* Left / base: warm cream */
    background: #F5F0EC;
}

@media (min-width: 992px) {
    .internal-hero { padding: 3.35rem 0; }
}

/* Right-side accent panel — fills the right ~38% of the section with a brighter dark blue.
   Desktop only — on mobile we keep a single dark background for simplicity. */
.internal-hero__panel {
    display: none;
}

/* Single-color hero — right panel removed (whole section is #F5F0EC). */

.internal-hero .container {
    position: relative;
    z-index: 1;
}

/* Service nav row above the eyebrow: breadcrumb + related-pages dropdown */
.internal-hero__crumbs a {
    color: rgba(0,0,0,0.6);
    text-decoration: none;
    transition: color 0.15s ease;
}
.internal-hero__crumbs a:hover { color: #000; }
.internal-hero__crumb-current { color: #000; font-weight: 500; }
.internal-hero__crumb-sep { color: rgba(0,0,0,0.4); margin: 0 0.5rem; }

.internal-hero__related-toggle {
    background: rgba(0,0,0,0.04);
    color: #000;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 0;
    padding: 0.35rem 0.9rem;
    font-weight: 500;
}
.internal-hero__related-toggle:hover,
.internal-hero__related-toggle:focus {
    background: rgba(0,0,0,0.08);
    color: #000;
    border-color: rgba(0,0,0,0.35);
}
.internal-hero__related-toggle::after {
    margin-left: 0.5rem;
    vertical-align: 0.15em;
}

.internal-hero__related-menu {
    border: 0;
    border-radius: 0;
    padding: 0.5rem 0;
    min-width: 260px;
}
.internal-hero__related-menu .dropdown-header {
    color: #000;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 1rem 0.25rem;
}
.internal-hero__related-menu .dropdown-item {
    padding: 0.5rem 1rem;
    color: #000;
    font-weight: 500;
}
.internal-hero__related-menu .dropdown-item:hover {
    background: #f3f7fb;
    color: #000;
}

.internal-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #000;
    letter-spacing: 0.12em;
}

.internal-hero__eyebrow-line {
    display: inline-block;
    width: 0;
    height: 0;
    background: none;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 12px solid #F48034;
}

.internal-hero__title {
    font-size: 2.5rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #000;
}

@media (min-width: 992px) {
    .internal-hero__title { font-size: 3.5rem; }
}

.internal-hero__lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.78);
    max-width: 540px;
}

/* CTA tuning on dark bg */
.internal-hero .btn-light {
    color: #fff;
}
.internal-hero .btn-light:hover {
    color: #fff;
}

/* Hero CTA row — spacing between primary button and secondary link (3x the
   former gap-3 / gap-lg-4). */
.internal-hero__cta-row {
    column-gap: 1.5rem;
    row-gap: 1rem;
}
@media (min-width: 992px) {
    .internal-hero__cta-row { column-gap: 2.25rem; }
}

/* "OR" separator between the primary button and the secondary text link */
.internal-hero__cta-or {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
}

/* Secondary text-link CTA beside the primary button */
.internal-hero__cta-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #000;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    line-height: 1.2;
}
.internal-hero__cta-link:hover,
.internal-hero__cta-link:focus-visible {
    color: #000;
}
.internal-hero__cta-link-text {
    position: relative;
}
/* accent underline — always visible, thickens slightly on hover */
.internal-hero__cta-link-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: var(--brand-accent);
    transition: height 0.18s ease;
}
.internal-hero__cta-link:hover .internal-hero__cta-link-text::after,
.internal-hero__cta-link:focus-visible .internal-hero__cta-link-text::after {
    height: 3px;
}

/* Image — framed with the logo's triangle geometry */
.internal-hero__media {
    position: relative;
}

/* Tan diamond backdrop peeking behind the image (depth) */
.internal-hero__media-shape {
    position: absolute;
    z-index: 1;
    width: 62%;
    aspect-ratio: 1;
    top: -7%;
    right: -9%;
    background: #f3dec8;
    transform: rotate(45deg);
}

.internal-hero__img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: cover;
}

/* Crisp 4-colour logo-mosaic diamond accent on the image corner */
.internal-hero__media-mosaic {
    position: absolute;
    z-index: 3;
    left: -1.25rem;
    bottom: -1.25rem;
    line-height: 0;
    transform: rotate(0deg);
}
.internal-hero__media-mosaic svg { display: block; }

/* Floating triangle accents scattered through the hero (logo motif) */
.internal-hero__tri {
    position: absolute;
    width: 0;
    height: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}
.internal-hero__tri--a {
    top: 12%;
    left: 4%;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 16px solid #1B6FC0;
    transform: rotate(18deg);
    opacity: 0.5;
}
.internal-hero__tri--b {
    bottom: 14%;
    left: 22%;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 13px solid #E5267E;
    transform: rotate(-24deg);
    opacity: 0.45;
}
.internal-hero__tri--c {
    top: 54%;
    left: 49%;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-bottom: 20px solid #1AA6A0;
    transform: rotate(34deg);
    opacity: 0.35;
}
@media (max-width: 991.98px) {
    /* keep the scatter from cluttering the stacked mobile hero */
    .internal-hero__tri { display: none; }
}

/* ---- SHARED INTERNAL-PAGE SECTIONS ---- */

/* Eyebrow used across body sections */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #000;
    letter-spacing: 0.12em;
}
/* Home hero eyebrow only — ~33% larger than the default .small size */
.hero .section-eyebrow { font-size: 1.16rem; }
/* Triangle marker (logo motif) replacing the old dash — points toward the text */
.section-eyebrow__line {
    display: inline-block;
    width: 0;
    height: 0;
    background: none;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 12px solid #F48034;
}
/* trailing marker (on centered eyebrows) points left, back toward the text */
.section-eyebrow__line:last-child:not(:first-child) {
    border-left: 0;
    border-right: 12px solid #F48034;
}

/* Section title (h2) */
.section-title {
    font-size: 2rem;
    line-height: 1.2;
    color: #000;
}
@media (min-width: 992px) {
    .section-title { font-size: 2.5rem; }
}

/* Soft tinted section background */
.page-section--tinted {
    background: #f3f7fb;
}

/* Benefit cards */
.benefit-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(14, 60, 122, 0.1) !important;
}
.benefit-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 0;
    background: linear-gradient(135deg, #2C7CC2 0%, #1B5BA8 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* Process steps */
.step-card {
    padding: 2rem 1.5rem 3rem;
    border-top: 3px solid #f3dec8;
    background: #F8F6F3;
    border-radius: 0;
    position: relative;
}
.step-card__number {
    font-size: 3rem;
    line-height: 1;
    font-weight: 800;
    color: #000;
    opacity: 0.18;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

/* FAQ accordion */
.faq .accordion-item {
    border: 0;
    background: transparent;
    border-bottom: 1px solid #d8e2ed;
}
.faq .accordion-button {
    background: transparent;
    color: #000;
    font-size: 1.1rem;
    padding: 1.25rem 0;
    box-shadow: none;
}
.faq .accordion-button:not(.collapsed) {
    background: transparent;
    color: #000;
}
.faq .accordion-button:focus {
    box-shadow: none;
}
.faq .accordion-body {
    padding: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* Closing CTA banner */
.closing-cta {
    background: linear-gradient(135deg, #0E3C7A 0%, #1B5BA8 100%);
}
.closing-cta h2 {
    font-size: 2.25rem;
}
@media (min-width: 992px) {
    .closing-cta h2 { font-size: 2.75rem; }
}
.closing-cta .btn-light { color: #fff; }
.closing-cta .btn-light:hover { color: #fff; }

/* Mobile: make stacked closing-CTA buttons full-width so they don't visually crop */
@media (max-width: 575.98px) {
    .closing-cta { padding-bottom: 4rem !important; }
    .closing-cta h2 { font-size: 1.65rem; line-height: 1.2; }
    .closing-cta .btn { width: 100%; white-space: normal; }
}

/* ============================================================
   CONSULTATION FORM — high-converting marketing centerpiece
   ============================================================ */

.consult-form-section {
    position: relative;
    overflow: hidden;
    scroll-margin-top: 70px; /* offset so the mobile sticky CTA doesn't cover the top when jumped to */
    background: #F8F6F3;
}
@media (min-width: 992px) {
    /* desktop header (utility bar + nav) is sticky, so anchors need a larger offset */
    .consult-form-section { scroll-margin-top: 140px; }
}
/* Reusable in-page anchor offset so jumped-to sections clear the sticky header. */
.anchor-offset { scroll-margin-top: 70px; }
@media (min-width: 992px) { .anchor-offset { scroll-margin-top: 140px; } }

/* Decorative floating blobs — hidden on the light theme */
.consult-form-section__blob {
    display: none;
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}
.consult-form-section__blob--a {
    width: 420px; height: 420px;
    background: radial-gradient(circle, #3AA0E0, #1B5BA8);
    top: -120px; right: -100px;
}
.consult-form-section__blob--b {
    width: 360px; height: 360px;
    background: radial-gradient(circle, #6C4FC8, #2A1452);
    bottom: -120px; left: -120px;
}

/* Section header */
.consult-form__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}
.consult-form__badge i { color: #fff; }

.consult-form__title {
    font-size: 1.8rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
@media (min-width: 992px) { .consult-form__title { font-size: 2.4rem; } }

.consult-form__lead {
    font-size: 1.15rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.55;
}

/* ============================================================
   LEFT-SIDE: Hormone Consult FAQs
   ============================================================ */
.consult-side {
    width: 100%;
}

.consult-side__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #000;
    letter-spacing: -0.01em;
    margin: 0;
}
@media (min-width: 992px) {
    .consult-side__title { font-size: 1.3rem; }
}

.consult-side__card {
    padding: 1.5rem;
    border-radius: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* FAQ card: title toggles the whole list on mobile; always open on desktop */
.consult-faq-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    border: 0;
    background: none;
    padding: 0;
    text-align: left;
    cursor: pointer;
}
.consult-faq-toggle__chev {
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}
.consult-faq-toggle[aria-expanded="true"] .consult-faq-toggle__chev {
    transform: rotate(180deg);
}
@media (min-width: 992px) {
    /* keep the FAQ list visible and the title non-interactive on desktop */
    .consult-faq-collapse { display: block !important; height: auto !important; }
    .consult-faq-toggle { pointer-events: none; cursor: default; }
}
@media (min-width: 768px) {
    .consult-side__card { padding: 1.75rem; }
}


/* Testimonial card above the Hormone Consult FAQs */
.consult-testimonial__stars {
    color: #ffc107;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    margin-right: 0.4rem;
    white-space: nowrap;
}
.consult-testimonial__quote {
    margin: 0 0 1.25rem;
    font-size: 1.02rem;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.85);
}
/* "Read more" toggle — mobile only, shown via JS when the quote overflows */
.consult-testimonial__more {
    display: none;
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
}
@media (max-width: 767.98px) {
    .consult-testimonial { display: flex; flex-direction: column; }
    .consult-testimonial__quote { order: 1; margin-bottom: 0.35rem; }
    .consult-testimonial__cite { order: 2; }
    .consult-testimonial__more { order: 3; align-self: flex-start; }
    .consult-testimonial.is-expanded .consult-testimonial__more { margin-top: 0.5rem; }

    .consult-testimonial:not(.is-expanded) .consult-testimonial__quote {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .consult-testimonial__more.is-needed { display: inline-block; }
    /* attribution (name + Google) lives in the collapsed section — shown when expanded */
    .consult-testimonial:not(.is-expanded) .consult-testimonial__cite { display: none; }
}
.consult-testimonial__cite {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.consult-testimonial__meta {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    color: #000;
}
.consult-testimonial__meta strong {
    font-size: 0.98rem;
}
.consult-testimonial__sub {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.consult-testimonial__sub .bi-google { color: #000; }

/* ---- FAQ accordion (inside the dark-bg glass card) ---- */
.consult-faq-accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-color: rgba(0, 0, 0, 0.8);
    --bs-accordion-border-color: rgba(0, 0, 0, 0.12);
    --bs-accordion-btn-color: #000;
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-active-color: #000;
    --bs-accordion-active-bg: transparent;
    --bs-accordion-btn-focus-box-shadow: none;
}
.consult-faq-accordion .accordion-item {
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.consult-faq-accordion .accordion-item:first-of-type { border-top: 0; }

.consult-faq-accordion .accordion-button {
    padding: 1rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    box-shadow: none;
}
.consult-faq-accordion .accordion-button:not(.collapsed) {
    color: #000;
    background: transparent;
}
.consult-faq-accordion .accordion-button:focus { box-shadow: none; }

.consult-faq-accordion .accordion-body {
    padding: 0 0 1rem;
    font-size: 0.93rem;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.7);
}

/* ---- "What's Included" sub-groups ---- */
.consult-included__group-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 0.85rem;
}
.consult-included__group-title i { font-size: 1rem; }

.consult-mini-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.35rem 0;
    color: rgba(0, 0, 0, 0.8);
    font-size: 0.92rem;
    line-height: 1.5;
}
.consult-mini-list li > i {
    flex-shrink: 0;
    margin-top: 0.18rem;
    color: #000;
    font-size: 0.95rem;
}

.consult-included__note {
    font-size: 0.8rem;
    font-style: italic;
    color: rgba(0, 0, 0, 0.55);
    line-height: 1.45;
}

/* Checklist */
.consult-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.65rem 0;
    color: rgba(255, 255, 255, 0.88);
}
.consult-checklist li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.consult-checklist li strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.15rem;
}
.consult-checklist li p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
}
.consult-checklist__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3AA0E0, #1B5BA8);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-top: 2px;
}

/* Testimonial */
.consult-quote {
    position: relative;
    padding: 1.75rem;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}
.consult-quote__mark {
    position: absolute;
    top: 0.5rem;
    left: 1.25rem;
    font-size: 3.5rem;
    color: rgba(110, 181, 229, 0.35);
    line-height: 1;
}
.consult-quote__body {
    position: relative;
    font-size: 1.05rem;
    line-height: 1.55;
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
    padding-top: 1rem;
}
.consult-quote__cite {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-style: normal;
}
.consult-quote__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6EB5E5, #1B5BA8);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Stats row */
.consult-side__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    text-align: center;
    padding: 1.25rem;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.consult-side__stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}
.consult-side__stat-num span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    margin-left: 0.15rem;
}
.consult-side__stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.35rem;
}

/* ============================================================
   FORM CARD
   ============================================================ */
.consult-form-card {
    position: relative;
    padding: 2rem;
    background: #ffffff;
    color: #000;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
}
@media (min-width: 768px) {
    .consult-form-card { padding: 2.5rem; }
}

/* Gradient accent stripe at the top of the card */
.consult-form-card::before {
    display: none;
}

/* ----- Intro line above the form ----- */
.consult-form-intro {
    color: #000;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
@media (max-width: 767.98px) {
    .consult-form-intro { display: none; }
}
.consult-form-intro a {
    color: #000;
    font-weight: 700;
    text-decoration: underline;
}
/* Inline Call/Text dropdown toggle styled as a text link */
.consult-form-intro__phone {
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: #000;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

/* ----- Progress bar ----- */
.consult-progress {
    margin-bottom: 1.75rem;
}
.consult-progress__bar {
    width: 100%;
    height: 6px;
    background: #eef2f8;
    border-radius: 0;
    overflow: hidden;
}
.consult-progress__fill {
    height: 100%;
    width: 50%;
    background: #F48034;
    border-radius: 0;
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.consult-progress__labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #000;
}
.consult-progress__labels > span {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}
.consult-progress__labels > span.is-active { color: #000; }
.consult-progress__labels > span.is-complete { color: #000; }

.consult-progress__num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eef2f8;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    transition: background 0.25s ease, color 0.25s ease;
}
.consult-progress__num-check {
    display: none;
    font-size: 0.85rem;
    line-height: 1;
}
.consult-progress__labels > span.is-active .consult-progress__num {
    background: #F48034;
    color: #fff;
}
/* Completed step: keep the same circle, just swap the number for a check icon */
.consult-progress__labels > span.is-complete .consult-progress__num {
    background: #F48034;
    color: #fff;
}
.consult-progress__labels > span.is-complete .consult-progress__num-text { display: none; }
.consult-progress__labels > span.is-complete .consult-progress__num-check { display: inline; }

/* ----- Date of Birth split fields (MM / DD / YYYY) ----- */
.dob-fields {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dob-fields__input {
    text-align: center;
    flex: 0 0 auto;
    width: 4.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    letter-spacing: 0.04em;
}
.dob-fields__input--year {
    width: 6rem;
}
.dob-fields__sep {
    color: #000;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1;
}

/* ----- Step panes ----- */
.consult-step-pane { display: none; }
.consult-step-pane.is-active { display: block; animation: consultFadeIn 0.35s ease; }
@keyframes consultFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ----- Form controls ----- */
.consult-form-card .form-label {
    font-weight: 600;
    color: #000;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}
.consult-form-card .form-control {
    border: 1px solid #afafba;
    border-radius: 0;
    padding: 0.63rem 0.9rem;
    font-size: 1rem;
    background: #f8fafd;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.consult-form-card .form-control:focus {
    background: #fff;
    border-color: #686870;
    box-shadow: 0 0 0 0.25rem rgba(104, 104, 112, 0.18);
}
.consult-form-card .form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.12);
}
.consult-form-card textarea.form-control { resize: vertical; min-height: 58px; }
.consult-form-card .form-text { color: #000; font-size: 0.825rem; }

/* Current-patient toggle */
.consult-req { color: #F48034; }
.consult-toggle { display: flex; border: 1.5px solid #d8dde3; overflow: hidden; width: 100%; }
.consult-toggle__btn {
    flex: 1 1 0; padding: 0.7rem 1rem; border: 0; background: #fff; color: #16130f;
    font-weight: 600; font-size: 0.98rem; cursor: pointer; transition: background .15s ease, color .15s ease;
}
.consult-toggle__btn + .consult-toggle__btn { border-left: 1.5px solid #d8dde3; }
.consult-toggle__btn.is-active { background: #F48034; color: #fff; }
.consult-toggle__btn:focus-visible { outline: 2px solid #F48034; outline-offset: -2px; }
/* Welcome-back banner */
.consult-welcome {
    display: flex; align-items: flex-start; gap: 0.6rem;
    background: #eef5ee; border: 1px solid #cfe3d1; color: #33503a;
    padding: 0.85rem 1rem; font-size: 0.95rem; line-height: 1.5;
}
.consult-welcome__check {
    flex: 0 0 auto; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: #3f8a55; color: #fff; font-size: 0.85rem; margin-top: 0.1rem;
}

/* Consent — plain text, no card */
.consult-consent .form-check-label {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #000;
    margin-left: 0.25rem;
}
.consult-consent .form-check-input {
    margin-top: 0.3rem;
    border-color: #1B5BA8;
}
.consult-consent .form-check-input:checked {
    background-color: #1B5BA8;
    border-color: #1B5BA8;
}
.consult-consent a { color: #000; font-weight: 600; }

/* Step 2 sub-heading */
.consult-step-title { color: #000; }

/* ----- Big CTA ----- */
.consult-cta {
    position: relative;
    padding: 1.05rem 1.5rem;
    background: #F48034;
    color: #fff;
    border: 0;
    border-radius: 0;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, transform 0.15s ease;
}
.consult-cta:hover,
.consult-cta:focus {
    color: #fff;
    background: #dd6c24;
    transform: translateY(-2px);
}
.consult-cta:disabled { opacity: 0.7; transform: none; }
.consult-cta i { transition: transform 0.2s ease; }
.consult-cta:hover i { transform: translateX(4px); }

.consult-back {
    border-color: #d8e2ed;
    color: #000;
    border-radius: 0;
    padding: 1.05rem 1.25rem;
}
.consult-back:hover { color: #000; border-color: #1B5BA8; background: #f3f7fb; }

/* ---- OVERVIEW SECTION (men's HRT, reusable) ---- */
.overview-section {
    position: relative;
    overflow: hidden;
}
.overview-section__bg {
    position: absolute;
    inset: 0;
    background: #fff;
    pointer-events: none;
}

/* --- Image side --- */
.overview-media {
    position: relative;
    padding: 1.5rem 1.5rem 0 0;
}
.overview-media__img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: cover;
}
.overview-media__shape {
    position: absolute;
    top: 0; right: 0;
    width: 65%;
    height: 65%;
    background: linear-gradient(135deg, #2C7CC2 0%, #1B5BA8 60%, #0E3C7A 100%);
    border-radius: 0;
    z-index: 1;
}
.overview-media__dots {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    width: 130px;
    height: 130px;
    background-image: radial-gradient(circle, #1B5BA8 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: 0.22;
    z-index: 1;
}
/* Floating credibility badge */
.overview-media__badge {
    position: absolute;
    z-index: 3;
    left: 1.25rem;
    bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem 0.65rem 0.65rem;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 1rem 2rem rgba(14, 60, 122, 0.18);
    max-width: 84%;
}
.overview-media__badge strong {
    display: block;
    color: #000;
    font-size: 0.95rem;
    line-height: 1.15;
}
.overview-media__badge span:not(.overview-media__badge-icon) {
    color: #000;
    font-size: 0.78rem;
    line-height: 1.2;
}
.overview-media__badge-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 0;
    background: linear-gradient(135deg, #2C7CC2, #1B5BA8);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* --- Text side --- */
.overview-title-accent {
    color: #000;
    font-weight: 500;
    font-style: italic;
}
.overview-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #000;
}

/* Callout box */
.overview-callout {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid #F3DEC8;
    border-radius: 0;
}
.overview-callout p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #000;
    font-weight: 500;
    font-style: italic;
}
.overview-callout__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 0;
    background: transparent;
    border: 2px solid #F48034;
    color: #F48034;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-top: 0.15rem;
}

/* ---- Symptom list — static, two-column with image ---- */
.symptom-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: none;
    column-count: 2;
    column-gap: 1rem;
}
@media (min-width: 576px) { .symptom-list { column-gap: 2rem; } }

.symptom-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #dde6f0;
    break-inside: avoid;
    page-break-inside: avoid;
}
@media (min-width: 576px) {
    .symptom-list li { gap: 1rem; padding: 0.85rem 0; }
}

/* Big number, fixed width so titles align */
.symptom-list__num {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #000;
    min-width: 1.65rem;
    flex-shrink: 0;
}
@media (min-width: 576px) {
    .symptom-list__num { font-size: 1.75rem; min-width: 2.5rem; }
}

.symptom-list__title {
    font-size: 0.9rem;
    font-weight: 400;
    color: #000;
    line-height: 1.2;
}
@media (min-width: 576px) {
    .symptom-list__title { font-size: 1.1rem; line-height: 1.25; }
}
.symptom-list__title a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
}
.symptom-list__title a:hover,
.symptom-list__title a:focus { color: #F48034; }

/* Image alongside the list */
.symptom-image {
    width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: cover;
}
/* On desktop, let the image bleed to the section's top & bottom edges
   (cancels the section's 5rem vertical padding). */
@media (min-width: 992px) {
    .row.symptom-cols {
        align-items: stretch !important;
        --bs-gutter-y: 0;
    }
    .symptom-cols .symptom-image {
        height: calc(100% + 10rem);
        margin-top: -5rem;
        margin-bottom: -5rem;
    }
}

/* ---- Testimonial card ---- */
.testimonial-card {
    position: relative;
}
.testimonial-card__mark {
    color: rgba(27, 91, 168, 0.18);
    font-size: 4.5rem;
    line-height: 1;
    position: absolute;
    top: 0.25rem;
    left: 50%;
    transform: translateX(-50%);
}
.testimonial-card__body {
    position: relative;
    font-size: 1.2rem;
    line-height: 1.6;
    font-style: italic;
    color: #000;
    padding-top: 2rem;
}
@media (min-width: 768px) {
    .testimonial-card__body { font-size: 1.35rem; }
}
.testimonial-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.25rem;
}
.testimonial-card__name {
    color: #000;
    font-size: 1.05rem;
}

/* Initials-only avatar variant (for placeholder quotes without photos) */
.testimonial-card__avatar--initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6EB5E5, #1B5BA8);
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
}

/* ---- Testimonial carousel ---- */
.testimonial-carousel {
    position: relative;
    padding: 0 0 3rem; /* space at bottom for dots */
}

/* Side arrows — cobalt pill buttons */
.testimonial-carousel__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff !important;
    border: 1px solid #d8e2ed;
    color: #000;
    font-size: 1.15rem;
    box-shadow: 0 0.4rem 1rem rgba(14, 60, 122, 0.12);
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    width: 44px;
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.testimonial-carousel__arrow:hover,
.testimonial-carousel__arrow:focus {
    background: #f3f7fb !important;
    color: #000;
    transform: translateY(-50%) scale(1.05);
}
.testimonial-carousel__arrow--prev { left: -1rem; }
.testimonial-carousel__arrow--next { right: -1rem; }
@media (min-width: 992px) {
    .testimonial-carousel__arrow--prev { left: -3rem; }
    .testimonial-carousel__arrow--next { right: -3rem; }
}

/* Hide Bootstrap's default arrow icons (we use bi icons in markup) */
.testimonial-carousel__arrow .carousel-control-prev-icon,
.testimonial-carousel__arrow .carousel-control-next-icon { display: none; }

/* Dots */
.testimonial-carousel__dots {
    bottom: 0;
    margin: 0;
    gap: 0.5rem;
}
.testimonial-carousel__dots [data-bs-target] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cfd9e6;
    border: 0;
    opacity: 1;
    transition: background 0.18s ease, transform 0.18s ease;
    text-indent: 0;
    margin: 0;
}
.testimonial-carousel__dots [data-bs-target].active {
    background: #1B5BA8;
    transform: scale(1.3);
}

/* ---- GOOGLE REVIEWS SLIDER (3-4 desktop / 1 mobile) ---- */
.reviews-slider {
    position: relative;
}
.reviews-slider__track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;            /* Firefox */
    padding: 0 0 0.5rem;              /* no horizontal padding so the last card aligns to the end */
}
.reviews-slider__track::-webkit-scrollbar { display: none; }

.review-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    background: #F5F0EC;
    border: 1px solid #F8F6F3;
    border-radius: 0;
    padding: 1.75rem;
    margin: 0;
}
@media (min-width: 768px)  { .review-card { flex-basis: calc((100% - 1.25rem) / 2); } }
@media (min-width: 992px)  { .review-card { flex-basis: calc((100% - 2.5rem) / 3); } }
@media (min-width: 1200px) { .review-card { flex-basis: calc((100% - 3.75rem) / 4); } }

.review-card__stars {
    color: #f5a623;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.85rem;
}
.review-card__body {
    font-size: 0.98rem;
    line-height: 1.55;
    color: #000;
    margin: 0 0 1.25rem;
    flex: 1 1 auto;
}
.review-card__cite {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.review-card__avatar {
    flex: 0 0 auto;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #000;
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
}
.review-card__meta {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.review-card__name {
    color: #000;
    font-size: 0.95rem;
}
.review-card__source {
    font-size: 0.78rem;
    color: #000;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.google-g {
    width: 0.95em;
    height: 0.95em;
    vertical-align: -0.12em;
}

/* Indicators (dots) under the cards */
.reviews-slider__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.reviews-slider__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: #d6cdc1;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}
.reviews-slider__dot.is-active {
    background: #000;
    transform: scale(1.3);
}

/* Arrows — hidden on mobile (swipe instead), shown md+ */
.reviews-slider__arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 50%;
    background: #F5F0EC;
    color: #000;
    box-shadow: 0 0.3rem 0.9rem rgba(14, 60, 122, 0.18);
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.reviews-slider__arrow:hover {
    background: #F5F0EC;
    color: #000;
}
.reviews-slider__arrow--prev { left: -0.5rem; }
.reviews-slider__arrow--next { right: -0.5rem; }
@media (min-width: 768px) {
    .reviews-slider__arrow { display: inline-flex; }
}
@media (min-width: 1400px) {
    .reviews-slider__arrow--prev { left: -1.4rem; }
    .reviews-slider__arrow--next { right: -1.4rem; }
}

/* ----- Time slot picker ----- */
.time-slots {
    padding: 1rem;
    border: 1.5px dashed #e1e7ef;
    border-radius: 0;
    background: #f8fafd;
    transition: border-color 0.18s ease, background 0.18s ease;
    min-height: 64px;
}
.time-slots.is-error {
    border-color: #dc3545;
    background: #fdf3f4;
}
.time-slots__hint {
    color: #000;
    font-size: 0.9rem;
}
.time-slots__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.5rem;
}
.time-slot {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 1.5px solid #cfd9e6;
    background: #fff;
    color: #000;
    border-radius: 0;
    padding: 0.6rem 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease,
                transform 0.15s ease, box-shadow 0.15s ease;
}

/* Checkmark slides in from 0 width when selected */
.time-slot__check {
    width: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 1.05rem;
    transform: scale(0.6);
    transition: width 0.18s ease, opacity 0.18s ease, margin 0.18s ease, transform 0.18s ease;
}

.time-slot:hover:not(.is-selected) {
    border-color: #1B5BA8;
    background: #eef4fb;
    transform: translateY(-1px);
}

/* Visible focus ring for keyboard users (only when NOT selected) */
.time-slot:focus-visible:not(.is-selected) {
    outline: 0;
    border-color: #1B5BA8;
    box-shadow: 0 0 0 0.25rem rgba(27, 91, 168, 0.18);
}

/* ===== SELECTED STATE ===== */
.time-slot.is-selected {
    background: linear-gradient(135deg, #2C7CC2 0%, #1B5BA8 60%, #0E3C7A 100%);
    border-color: #0E3C7A;
    color: #fff;
    transform: translateY(-2px);
    box-shadow:
        0 0 0 3px rgba(27, 91, 168, 0.18),   /* outer ring */
        0 0.6rem 1rem rgba(14, 60, 122, 0.35); /* drop shadow */
}
.time-slot.is-selected .time-slot__check {
    width: 1.15rem;
    opacity: 1;
    margin-right: 0.4rem;
    transform: scale(1);
}
.time-slot.is-selected:hover {
    /* keep the selected look stable on hover instead of swapping back to hover styles */
    transform: translateY(-2px);
}

/* ----- Confidentiality line ----- */
.consult-confidential {
    text-align: center;
    font-size: 0.85rem;
    color: #000;
    font-weight: 500;
}
.consult-confidential i { color: #000; }

/* ---- THANK YOU PAGE ---- */
.thank-you__icon {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    line-height: 1;
}
.thank-you__title {
    color: #000;
    font-size: 2rem;
    line-height: 1.2;
}
@media (min-width: 992px) {
    .thank-you__title { font-size: 2.5rem; }
}
.thank-you__steps {
    list-style: none;
    padding: 0;
}
.thank-you__steps li {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #e6edf6;
}
.thank-you__steps li:last-child { border-bottom: 0; }
.thank-you__step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f7fb;
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.thank-you__contact {
    background: #f3f7fb;
}

/* ============================================================
   REGENERATIVE MEDICINE — long-form letter
   ============================================================ */
.letter {
    max-width: 740px;
    margin: 0 auto;
}
.letter > p {
    font-size: 1.08rem;
    line-height: 1.78;
    color: #000;
    margin-bottom: 1.4rem;
}
.letter__lead {
    font-size: 1.25rem;
    line-height: 1.7;
    font-weight: 500;
}
.letter__head {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    letter-spacing: -0.01em;
    margin: 2.6rem 0 1.1rem;
}
@media (min-width: 992px) {
    .letter__head { font-size: 1.7rem; }
}
.letter-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
}
.letter-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #000;
}
.letter-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid #F48034;
}

/* Recurring "text Dr. Trey" callout */
.letter-cta {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: #F8F6F3;
    border: 1px solid #f3dec8;
    border-left: 3px solid #F48034;
    padding: 1.1rem 1.3rem;
    margin: 1.9rem 0;
}
.letter-cta__mark {
    flex-shrink: 0;
    margin-top: 0.4rem;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 12px solid #F48034;
    transform: rotate(90deg);
}
.letter-cta__body {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #000;
}
.letter-cta__body a {
    color: #000;
    font-weight: 700;
    text-decoration: underline;
}
.letter-phone {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    color: #000;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

/* Letter close */
.letter__signature {
    font-size: 1.15rem;
    font-weight: 700;
    font-style: italic;
    margin: 2rem 0 0;
    color: #000;
}
.letter__cta {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #ececec;
    text-align: center;
}
.letter__cta-phone {
    margin-top: 0.85rem;
    font-size: 0.95rem;
    color: #000;
}

/* Supporting detail cards */
.detail-card {
    background: #fff;
    border: 1px solid #f3dec8;
    border-top: 3px solid #F48034;
    padding: 1.75rem 1.5rem;
}
.detail-card__title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #000;
    margin: 0 0 0.85rem;
}
.detail-card__body {
    font-size: 1rem;
    line-height: 1.6;
    color: #000;
}

/* Disclaimer */
.regen-disclaimer {
    max-width: 760px;
    margin: 2.5rem auto 0;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #6b6b6b;
}

/* ============================================================
   QUIZ — engaging, stepped one-question-per-screen experience
   Shared by womens/mens hormone quizzes + metabolic quiz.
   ============================================================ */
.quiz-wrap {
    background:
        radial-gradient(120% 90% at 100% 0%, #F5F0EC 0%, rgba(245,240,236,0) 55%),
        radial-gradient(120% 90% at 0% 100%, #eef5fb 0%, rgba(238,245,251,0) 55%),
        #fbfaf8;
    min-height: 72vh;
    overflow: hidden;
    position: relative;
}
.quiz {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 4rem;
    position: relative;
    z-index: 1;
}
@media (min-width: 992px) { .quiz { padding-top: 3.5rem; } }

.quiz__head { text-align: center; margin-bottom: 2rem; }
.quiz__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .78rem;
    font-weight: 700;
    color: #F48034;
    margin-bottom: .85rem;
}
.quiz__eyebrow::before,
.quiz__eyebrow::after {
    content: "";
    width: 0; height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid #F48034;
}
.quiz__eyebrow::after { border-left: 0; border-right: 10px solid #F48034; }
.quiz__title { font-size: 2rem; line-height: 1.15; color: #000; margin: 0 0 .75rem; }
@media (min-width: 992px) { .quiz__title { font-size: 2.6rem; } }
.quiz__lede { color: #444; max-width: 560px; margin: 0 auto; font-size: 1.02rem; }

/* Progress */
.quiz__progress {
    height: 8px;
    background: #ece5dd;
    overflow: hidden;
    margin-bottom: .65rem;
}
.quiz__progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #F48034, #f6a45f);
    transition: width .45s cubic-bezier(.2,.7,.3,1);
}
.quiz__step-count {
    text-align: right;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .03em;
    color: #8a8178;
    margin: 0 0 1.5rem;
}

/* Card around each step */
.quiz__form { position: relative; }
.quiz__step {
    border: 0;
    margin: 0;
    padding: 2rem 1.5rem;
    background: #fff;
    box-shadow: 0 1.25rem 3rem rgba(20,40,80,.08);
    animation: quizStepIn .45s cubic-bezier(.2,.7,.3,1) both;
}
@media (min-width: 768px) { .quiz__step { padding: 2.75rem 2.5rem; } }
.quiz__step[hidden] { display: none; }
/* Keep the question clear of the fixed mobile CTA bar when steps auto-scroll. */
.quiz__step { scroll-margin-top: 1rem; }
@media (max-width: 719.98px) { .quiz__step { scroll-margin-top: 84px; } }
@keyframes quizStepIn {
    from { opacity: 0; transform: translateY(14px) scale(.99); }
    to   { opacity: 1; transform: none; }
}

.quiz__legend {
    float: none;
    width: 100%;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    line-height: 1.25;
    margin-bottom: .35rem;
}
@media (min-width: 768px) { .quiz__legend { font-size: 1.85rem; } }
.quiz__sublegend { color: #8a8178; font-size: .95rem; margin-bottom: 1.5rem; }

/* Choices */
.quiz__choices { display: grid; gap: .75rem; }
.quiz__choices--scale { grid-template-columns: 1fr; }
@media (min-width: 576px) { .quiz__choices--scale { grid-template-columns: repeat(3, 1fr); } }

.quiz__choice {
    position: relative;
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1.05rem 1.15rem;
    border: 2px solid #ece5dd;
    background: #fdfcfb;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
    font-weight: 600;
    color: #000;
    user-select: none;
}
.quiz__choices--scale .quiz__choice { flex-direction: column; text-align: center; gap: .65rem; padding: 1.4rem 1rem; }
.quiz__choice:hover { border-color: #f6b889; transform: translateY(-2px); box-shadow: 0 .6rem 1.4rem rgba(244,128,52,.12); }
.quiz__choice input { position: absolute; opacity: 0; pointer-events: none; }
.quiz__choice-dot {
    flex-shrink: 0;
    width: 24px; height: 24px;
    border: 2px solid #cbbfae;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color .18s ease, background .18s ease;
}
.quiz__choice-dot::after {
    content: "";
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #fff;
    transform: scale(0);
    transition: transform .18s cubic-bezier(.3,1.5,.5,1);
}
.quiz__choice-letter {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border: 2px solid #cbbfae;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .9rem;
    color: #8a8178;
    transition: all .18s ease;
}
.quiz__choice-label { line-height: 1.3; }
/* checked state (radio/checkbox) */
.quiz__choice input:checked ~ .quiz__choice-dot { border-color: #F48034; background: #F48034; }
.quiz__choice input:checked ~ .quiz__choice-dot::after { transform: scale(1); }
.quiz__choice input:checked ~ .quiz__choice-letter { border-color: #F48034; background: #F48034; color: #fff; }
.quiz__choice:has(input:checked) { border-color: #F48034; background: #fff6ef; }
.quiz__choice input:focus-visible ~ .quiz__choice-dot,
.quiz__choice input:focus-visible ~ .quiz__choice-letter { box-shadow: 0 0 0 3px rgba(244,128,52,.35); }
/* scale color hints */
.quiz__choice--never  .quiz__choice-dot { border-color: #9fcf9f; }
.quiz__choice--severe .quiz__choice-dot { border-color: #e08f8f; }

/* Text fields */
.quiz__fields { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; }
.quiz__fields--split { grid-template-columns: 1fr; }
@media (min-width: 576px) { .quiz__fields--split { grid-template-columns: 1fr 1fr; } }
.quiz__field { position: relative; display: block; margin-bottom: 1.5rem; }
.quiz__fields .quiz__field { margin-bottom: 0; }
.quiz__legend + .quiz__fields,
.quiz__legend + .quiz__field { margin-top: 1.5rem; }
.quiz__field input,
.quiz__field select,
.quiz__field textarea {
    width: 100%;
    padding: 1.15rem 1rem .55rem;
    border: 2px solid #ece5dd;
    background: #fff;
    font: inherit;
    color: #000;
    transition: border-color .18s ease;
}
.quiz__field textarea { padding-top: 1rem; }
.quiz__field input:focus,
.quiz__field select:focus,
.quiz__field textarea:focus { outline: 0; border-color: #F48034; }
.quiz__field > span {
    position: absolute;
    left: 1rem; top: .95rem;
    color: #9a9182;
    pointer-events: none;
    transition: all .15s ease;
}
.quiz__field input:focus + span,
.quiz__field input:not(:placeholder-shown) + span,
.quiz__field textarea:focus + span,
.quiz__field textarea:not(:placeholder-shown) + span,
.quiz__field select:valid + span {
    top: .35rem;
    font-size: .7rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #F48034;
    font-weight: 700;
}

/* Consent */
.quiz__consent {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    margin: 1.5rem 0;
    cursor: pointer;
    font-size: .9rem;
    color: #444;
}
.quiz__consent input { position: absolute; opacity: 0; }
.quiz__consent-box {
    flex-shrink: 0;
    width: 24px; height: 24px;
    border: 2px solid #cbbfae;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all .18s ease;
}
.quiz__consent-box svg { opacity: 0; transition: opacity .15s ease; }
.quiz__consent input:checked + .quiz__consent-box { background: #F48034; border-color: #F48034; }
.quiz__consent input:checked + .quiz__consent-box svg { opacity: 1; }
.quiz__consent input:focus-visible + .quiz__consent-box { box-shadow: 0 0 0 3px rgba(244,128,52,.35); }
.quiz__consent-text small { display: block; margin-top: .4rem; font-size: .72rem; color: #9a9182; line-height: 1.5; }
.quiz__consent-text a { color: #F48034; }

/* Submit + nav */
.quiz__submit {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    width: 100%;
    justify-content: center;
    padding: 1.05rem 1.5rem;
    border: 0;
    background: #F48034;
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: .01em;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}
.quiz__submit:hover { background: #dd6c24; transform: translateY(-2px); }
.quiz__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    min-height: 2.5rem;
}
.quiz__back,
.quiz__next {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    padding: .65rem .25rem;
}
.quiz__back { color: #8a8178; }
.quiz__back:hover { color: #000; }
.quiz__next {
    margin-left: auto;
    padding: .8rem 1.6rem;
    background: #F48034;
    color: #fff;
}
.quiz__next:hover { background: #dd6c24; }

/* ============================================================
   QUIZ RESULTS
   ============================================================ */
.quiz-results__hero {
    background: linear-gradient(120deg, #F5F0EC 0%, #eef5fb 100%);
    overflow: hidden;
    position: relative;
}
.quiz-results__score-card {
    background: linear-gradient(294.95deg, #E6C9AA 39.29%, rgba(200, 225, 191, 0.74) 92.33%);
    padding: 2.25rem 2.5rem;
    min-width: 250px;
    text-align: center;
}
.quiz-results__score-icon { font-size: 2rem; color: #F48034; margin-bottom: .5rem; }
.quiz-results__score-label { font-size: 1.05rem; color: #000; font-weight: 600; }
.quiz-results__score-num { font-weight: 800; line-height: 1; color: #000; }
.quiz-results__score-num b { font-size: 3.5rem; }
.quiz-results__score-num span { font-size: 1.25rem; color: #444; }
.quiz-results__score-meter {
    height: 10px;
    background: rgba(255,255,255,.55);
    margin-top: 1rem;
    overflow: hidden;
}
.quiz-results__score-meter i {
    display: block;
    height: 100%;
    background: #F48034;
    width: 0;
    animation: quizMeter 1.1s .25s cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes quizMeter { to { width: var(--score, 0%); } }
.quiz-results__band {
    display: inline-block;
    margin-top: 1rem;
    padding: .35rem .9rem;
    font-weight: 700;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: #fff;
    color: #F48034;
}
/* Shared results CTA group sits on the dark closing band too — keep the
   text-link phone CTA readable there. */
.closing-cta .btn-link { color: #fff; }
.closing-cta .btn-link:hover { color: #fff; }

/* ============================================================
   Wider container on the largest screens (xxl >= 1400px):
   Bootstrap's default is 1320px; add 150px for more breathing room.
   ============================================================ */
@media (min-width: 1400px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        max-width: 1470px;
    }
}
