/* =============================================================
   COMMUNITY IS THE BEST MEDICINE — ACCHO Sector Website
   QAIHC Brand Stylesheet
   Compatible: CPanel hosting / Adobe Dreamweaver
   ============================================================= */

/* -------------------------------------------------------------
   CUSTOM PROPERTIES (CSS Variables)
   ------------------------------------------------------------- */
:root {
    /* Brand colours */
    --color-teal-deep:    #002F2D;
    --color-teal-mid:     #004B49;
    --color-teal-light:   #1A6B5A;
    --color-amber:        #C4884D;
    --color-amber-light:  #D9A06D;
    --color-green-sage:   #4A7C6F;

    /* Neutral palette */
    --color-white:        #FFFFFF;
    --color-cream:        #F8F5F0;
    --color-cream-mid:    #F0EAE0;
    --color-stone:        #E5DDD3;
    --color-text:         #1A1A1A;
    --color-text-mid:     #3D3D3D;
    --color-text-light:   #666666;

    /* Accent rings (from brand graphic elements) */
    --color-ring-1:       #C05B2E;
    --color-ring-2:       #3A7D8C;
    --color-ring-3:       #D4A030;

    /* Typography */
    --font-primary:       'Fira Sans', 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --section-pad-v:      5rem;
    --section-pad-v-lg:   7rem;
    --container-max:      1200px;
    --container-pad:      clamp(1.25rem, 5vw, 3rem);

    /* Transitions */
    --ease-std:           0.3s ease;
    --ease-slow:          0.5s ease;

    /* Nav height */
    --nav-h:              80px;
    --nav-h-scrolled:     68px;
}

/* -------------------------------------------------------------
   RESET & BASE
   ------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* -------------------------------------------------------------
   TYPOGRAPHY
   ------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.15;
    color: inherit;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-weight: 400;
    line-height: 1.75;
    color: var(--color-teal-mid);
    margin-bottom: 1.5rem;
}

/* -------------------------------------------------------------
   LAYOUT UTILITIES
   ------------------------------------------------------------- */
.container {
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.section {
    position: relative;
    padding: var(--section-pad-v-lg) 0;
    overflow: hidden;
}

.section-light {
    background:
        linear-gradient(
            135deg,
            rgba(0, 75, 73, 0.045) 0%,
            rgba(248, 245, 240, 0) 45%,
            rgba(196, 136, 77, 0.04) 100%
        ),
        var(--color-cream);
}
.section-white  { background: var(--color-white); }
.section-dark   { background: var(--color-teal-deep); color: var(--color-white); }
.section-teal   { background: var(--color-teal-mid); color: var(--color-white); }
.section-stories {
    background:
        linear-gradient(
            225deg,
            rgba(0, 47, 45, 0.04) 0%,
            rgba(255, 255, 255, 0) 50%,
            rgba(196, 136, 77, 0.035) 100%
        ),
        var(--color-white);
}

/* Section intros */
.section-intro {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-intro h2 {
    color: var(--color-teal-deep);
    margin-bottom: 1rem;
}

.section-intro-light h2 {
    color: var(--color-white);
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-amber);
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.8rem;
    border: 1.5px solid var(--color-amber);
    border-radius: 2rem;
}

.section-tag-light {
    color: var(--color-amber-light);
    border-color: var(--color-amber-light);
}

.section-divider {
    width: 56px;
    height: 3px;
    background: var(--color-amber);
    margin: 1.25rem auto 0;
    border-radius: 2px;
}

.section-divider-light {
    background: var(--color-amber-light);
}

/* -------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 3px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background var(--ease-std), color var(--ease-std), transform var(--ease-std), box-shadow var(--ease-std);
    border: 2px solid transparent;
    text-align: center;
    line-height: 1.3;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.btn-primary {
    background: var(--color-amber);
    color: var(--color-white);
    border-color: var(--color-amber);
}
.btn-primary:hover {
    background: var(--color-amber-light);
    border-color: var(--color-amber-light);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--color-white);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--color-white);
}

.btn-teal {
    background: var(--color-teal-mid);
    color: var(--color-white);
    border-color: var(--color-teal-mid);
}
.btn-teal:hover {
    background: var(--color-teal-deep);
    border-color: var(--color-teal-deep);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

.inline-link {
    color: var(--color-amber-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.inline-link:hover { color: var(--color-white); }

.card-link {
    color: var(--color-amber-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.card-link:hover { color: var(--color-white); }

/* -------------------------------------------------------------
   NAVIGATION
   ------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    transition: background var(--ease-std), height var(--ease-std), box-shadow var(--ease-std);
    background: transparent;
}

.site-header.scrolled {
    background: var(--color-teal-deep);
    height: var(--nav-h-scrolled);
    box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 52px;
}

.nav-logo img {
    height: 52px;
    width: auto;
    transition: opacity var(--ease-std);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.92);
    padding: 0.45rem 0.8rem;
    border-radius: 3px;
    transition: color var(--ease-std), background var(--ease-std);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
    background: rgba(255,255,255,0.12);
}

.nav-cta {
    background: var(--color-amber);
    color: var(--color-white) !important;
    padding: 0.45rem 1.1rem;
    font-weight: 600;
}
.nav-cta:hover {
    background: var(--color-amber-light) !important;
    color: var(--color-white) !important;
}

/* Hamburger toggle (mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform var(--ease-std), opacity var(--ease-std);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 47, 45, 0.88) 0%,
        rgba(0, 75, 73, 0.82) 40%,
        rgba(26, 107, 90, 0.70) 70%,
        rgba(196, 136, 77, 0.45) 100%
    );
}

.hero-graphic {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-graphic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.38;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--nav-h) + 3rem);
    padding-bottom: 5rem;
    max-width: 780px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-amber-light);
    margin-bottom: 1.25rem;
}

.hero-headline {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 300;
    color: rgba(255,255,255,0.88);
    line-height: 1.75;
    max-width: 660px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.hero-scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.6);
    animation: bounce 2.2s infinite;
    transition: color var(--ease-std);
}
.hero-scroll-cue:hover { color: var(--color-white); }

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* -------------------------------------------------------------
   ABOUT SECTION
   ------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--color-text-mid);
    margin-bottom: 1.25rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* -------------------------------------------------------------
   WHY CHOOSE — FEATURES GRID
   ------------------------------------------------------------- */
.section-blown-colours {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.section-blown-colours img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.38;
}

.features-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 2rem 1.75rem;
    transition: background var(--ease-std), transform var(--ease-std), border-color var(--ease-std);
}

.feature-card:hover {
    background: rgba(255,255,255,0.10);
    transform: translateY(-4px);
    border-color: rgba(196,136,77,0.4);
}

/* Make last card span if odd count */
.features-grid .feature-card:last-child:nth-child(3n+1) {
    grid-column: 2;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(196,136,77,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-amber-light);
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.925rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.65;
    margin: 0;
}

/* -------------------------------------------------------------
   MODEL OF CARE
   ------------------------------------------------------------- */
.model-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.model-text p {
    color: var(--color-text-mid);
    margin-bottom: 1.25rem;
}

.model-list {
    list-style: none;
    margin: 1.5rem 0;
}

.model-list li {
    position: relative;
    padding-left: 1.5rem;
    padding-bottom: 0.65rem;
    color: var(--color-text-mid);
    font-size: 0.95rem;
    line-height: 1.6;
}

.model-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--color-amber);
    border-radius: 50%;
}

.model-note {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--color-text-light);
}

.naccho-quote {
    background: var(--color-teal-deep);
    color: var(--color-white);
    border-radius: 6px;
    padding: 2.5rem 2rem 2rem;
    position: relative;
}

.quote-mark {
    font-size: 5rem;
    font-weight: 800;
    color: var(--color-amber);
    line-height: 0.8;
    margin-bottom: 0.75rem;
    font-family: Georgia, serif;
}

.naccho-quote p {
    font-size: 0.975rem;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 1.25rem;
    color: rgba(255,255,255,0.9);
}

.naccho-quote cite {
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 600;
    color: var(--color-amber-light);
    letter-spacing: 0.03em;
}

/* Video blocks */
.video-block {
    margin-top: 1rem;
}

.video-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-teal-light);
    margin-bottom: 0.6rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 6px;
    background: var(--color-teal-deep);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* -------------------------------------------------------------
   GROW WITH US SECTION
   ------------------------------------------------------------- */
.grow-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.grow-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 2.5rem 2rem;
}

.grow-card-icon {
    color: var(--color-amber-light);
    margin-bottom: 1.25rem;
}

.grow-card h3 {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.grow-card p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 1rem;
}

.grow-subhead {
    font-weight: 600 !important;
    color: rgba(255,255,255,0.95) !important;
    margin-top: 1rem;
}

.grow-list {
    list-style: none;
    margin: 0.75rem 0 1.25rem;
}

.grow-list li {
    position: relative;
    padding-left: 1.4rem;
    padding-bottom: 0.55rem;
    font-size: 0.925rem;
    color: rgba(255,255,255,0.80);
    line-height: 1.55;
}

.grow-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--color-amber);
    border-radius: 50%;
}

.grow-note {
    font-size: 0.9rem !important;
    font-style: italic;
    color: rgba(255,255,255,0.65) !important;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.25rem;
    margin-top: 1rem;
}

.grow-video {
    margin-top: 3rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

/* -------------------------------------------------------------
   DOCTOR STORIES / TESTIMONIALS
   ------------------------------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    margin-bottom: 4rem;
}

.testimonial-card {
    background: var(--color-cream);
    border: 1px solid var(--color-stone);
    border-radius: 6px;
    padding: 2rem;
    transition: box-shadow var(--ease-std), transform var(--ease-std);
}

.testimonial-card:hover {
    box-shadow: 0 8px 28px rgba(0,47,45,0.1);
    transform: translateY(-3px);
}

.testimonial-card-wide {
    grid-column: 1 / -1;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--color-stone);
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-teal-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-avatar span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.05em;
}

.testimonial-avatar-green  { background: var(--color-teal-light); }
.testimonial-avatar-amber  { background: var(--color-amber); }
.testimonial-avatar-purple { background: #5B4A7A; }

.testimonial-meta h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-teal-deep);
    margin: 0 0 0.2rem;
}

.testimonial-meta p {
    font-size: 0.82rem;
    color: var(--color-text-light);
    margin: 0;
    font-style: italic;
}

.testimonial-body {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.testimonial-body-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-q strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-teal-mid);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.testimonial-q p {
    font-size: 0.92rem;
    color: var(--color-text-mid);
    line-height: 1.65;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.testimonial-q p em {
    font-weight: 600;
    font-style: normal;
    color: var(--color-teal-light);
}

/* Videos row inside a testimonial card */
.testimonial-card-videos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--color-stone);
}

.testimonial-card-videos--single {
    grid-template-columns: 1fr;
}

@media (max-width: 767px) {
    .testimonial-card-videos {
        grid-template-columns: 1fr;
    }
}

/* Video testimonials */
.videos-section {
    margin-top: 1rem;
}

.videos-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-teal-deep);
    text-align: center;
    margin-bottom: 2rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

/* -------------------------------------------------------------
   CTA SECTION
   ------------------------------------------------------------- */
.section-cta {
    position: relative;
    background: var(--color-teal-deep);
    padding: var(--section-pad-v-lg) 0;
    overflow: hidden;
    color: var(--color-white);
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,47,45,0.93) 0%, rgba(0,75,73,0.88) 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-intro {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cta-contact {
    margin-bottom: 2.5rem;
}

.cta-contact-card {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 1.5rem 2rem;
    text-align: left;
}

.cta-contact-icon {
    color: var(--color-amber-light);
    flex-shrink: 0;
}

.cta-contact-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-amber-light);
    margin-bottom: 0.25rem;
}

.cta-contact-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.4rem;
}

.cta-email {
    font-size: 1rem;
    color: var(--color-amber-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--ease-std);
}
.cta-email:hover { color: var(--color-white); }

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* -------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------- */
.site-footer {
    background: var(--color-teal-deep);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 3rem 0 2rem;
    color: rgba(255,255,255,0.75);
}

.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.5rem 3rem;
    align-items: start;
}

.footer-logo {
    grid-row: 1 / 3;
    grid-column: 1;
}

.footer-logo img {
    height: 40px;
    width: auto;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    align-items: center;
    padding-top: 0.25rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-amber-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--ease-std);
}
.footer-links a:hover { color: var(--color-white); }

.footer-acknowledgement {
    grid-column: 2;
}

.footer-acknowledgement p {
    font-size: 0.85rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.6);
    font-style: italic;
    margin: 0;
}

.footer-copy {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

.footer-copy p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    margin: 0;
    text-align: center;
}

/* -------------------------------------------------------------
   SCROLL REVEAL ANIMATION
   Only hidden when JS adds .js-ready to <body> first,
   ensuring content is always visible without JavaScript.
   ------------------------------------------------------------- */
.js-ready .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.js-ready .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for child elements */
.js-ready .reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-ready .reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.js-ready .reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: none; }
.js-ready .reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: none; }
.js-ready .reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: none; }
.js-ready .reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: none; }
.js-ready .reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: none; }

/* -------------------------------------------------------------
   RESPONSIVE — TABLET (< 1024px)
   ------------------------------------------------------------- */
@media (max-width: 1023px) {
    :root {
        --section-pad-v: 4rem;
        --section-pad-v-lg: 5.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid .feature-card:last-child:nth-child(3n+1) {
        grid-column: auto;
    }

    .about-grid,
    .model-grid,
    .grow-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-visual {
        order: -1;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card-wide {
        grid-column: auto;
    }

    .testimonial-body-cols {
        grid-template-columns: 1fr;
    }

    .videos-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .footer-logo { grid-row: auto; grid-column: auto; }
    .footer-acknowledgement { grid-column: auto; }
}

/* -------------------------------------------------------------
   RESPONSIVE — MOBILE (< 768px)
   ------------------------------------------------------------- */
@media (max-width: 767px) {
    :root {
        --section-pad-v: 3rem;
        --section-pad-v-lg: 4rem;
    }

    /* Nav mobile */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--color-teal-deep);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 1rem 0 1.5rem;
        transform: translateY(-110%);
        opacity: 0;
        transition: transform var(--ease-std), opacity var(--ease-std);
        z-index: 999;
        box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 0.8rem var(--container-pad);
        font-size: 1rem;
        border-radius: 0;
    }

    .nav-cta {
        margin: 0.5rem var(--container-pad);
        border-radius: 3px;
        display: inline-block;
        width: auto;
    }

    /* Hero */
    .hero-content {
        padding-top: calc(var(--nav-h) + 2rem);
        padding-bottom: 4rem;
    }

    .hero-graphic img {
        opacity: 0.22;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Videos */
    .videos-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-contact-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        text-align: left;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 340px;
    }

    /* Footer */
    .footer-inner {
        gap: 1.25rem;
    }
}

/* -------------------------------------------------------------
   MODEL OF CARE — VIDEO + DIAGRAM ROW
   ------------------------------------------------------------- */
.model-media-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-top: 1rem;
}

.model-video-col .video-label {
    margin-bottom: 0.6rem;
}

.model-diagram-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}

.model-diagram-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

@media (max-width: 1023px) {
    .model-media-row {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------
   LIGHTBOX
   ------------------------------------------------------------- */
.lightbox-trigger {
    display: block;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: zoom-in;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.lightbox-trigger:focus-visible {
    outline: 3px solid var(--color-amber);
    outline-offset: 3px;
}

.lightbox-hint {
    position: absolute;
    bottom: 0.65rem;
    right: 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-primary);
    color: var(--color-white);
    background: rgba(0, 47, 45, 0.7);
    padding: 0.3rem 0.65rem;
    border-radius: 3px;
    opacity: 0;
    transition: opacity var(--ease-std);
    pointer-events: none;
}

.lightbox-trigger:hover .lightbox-hint {
    opacity: 1;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.lightbox[hidden] { display: none; }

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: zoom-out;
}

.lightbox-img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    animation: lightbox-in 0.22s ease;
}

@keyframes lightbox-in {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: rgba(0,0,0,0.5);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--ease-std), border-color var(--ease-std);
}

.lightbox-close:hover {
    background: rgba(0,0,0,0.8);
    border-color: var(--color-white);
}

/* -------------------------------------------------------------
   HERO HEADLINE IMAGE LOCKUP
   ------------------------------------------------------------- */
.hero-headline {
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero-headline-img {
    display: block;
    max-width: 720px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 16px rgba(0,0,0,0.35));
}

/* -------------------------------------------------------------
   DOCTOR PHOTO AVATARS
   ------------------------------------------------------------- */
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* -------------------------------------------------------------
   TESTIMONIAL CARD EMBEDDED VIDEO
   ------------------------------------------------------------- */
.testimonial-video {
    margin-top: 1.25rem;
    border-radius: 6px;
    overflow: hidden;
}

/* -------------------------------------------------------------
   YOUTUBE LITE EMBED
   ------------------------------------------------------------- */
.yt-lite {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 6px;
    background: var(--color-teal-deep);
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.yt-lite-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: filter 0.2s ease;
}

.yt-lite:hover .yt-lite-thumb {
    filter: brightness(0.85);
}

.yt-lite-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.92;
    line-height: 0;
}

.yt-lite:hover .yt-lite-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

.yt-lite iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 6px;
}

.yt-lite-bar {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 0.6rem;
    padding: 0 0.1rem;
}

.yt-lite-watch {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-teal-mid);
    text-decoration: none;
    transition: color var(--ease-std);
    line-height: 1;
}
.yt-lite-watch:hover { color: var(--color-teal-light); }

.yt-lite-share {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-light);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-primary);
    transition: color var(--ease-std);
    line-height: 1;
}
.yt-lite-share:hover { color: var(--color-teal-mid); }

/* -------------------------------------------------------------
   VIDEO CAROUSEL
   ------------------------------------------------------------- */
.video-carousel {
    position: relative;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: 6px;
}

.carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: flex-start;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: start;
}

.carousel-slide-single {
    display: flex;
    justify-content: center;
}

.carousel-slide-single .video-block {
    width: calc(50% - 0.875rem);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.carousel-prev,
.carousel-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--color-stone);
    background: var(--color-white);
    color: var(--color-teal-mid);
    cursor: pointer;
    transition: background var(--ease-std), border-color var(--ease-std), color var(--ease-std);
    flex-shrink: 0;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--color-teal-mid);
    border-color: var(--color-teal-mid);
    color: var(--color-white);
}

.carousel-prev:disabled,
.carousel-next:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.carousel-dots {
    display: flex;
    gap: 0.55rem;
    align-items: center;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--color-teal-mid);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background var(--ease-std), transform var(--ease-std);
}

.carousel-dot.active {
    background: var(--color-teal-mid);
    transform: scale(1.2);
}

@media (max-width: 767px) {
    .carousel-slide {
        grid-template-columns: 1fr;
    }
    .carousel-slide-single {
        justify-content: flex-start;
    }
    .carousel-slide-single .video-block {
        width: 100%;
    }
}

/* -------------------------------------------------------------
   PRINT
   ------------------------------------------------------------- */
@media print {
    .site-header,
    .hero-scroll-cue,
    .nav-toggle,
    .video-wrapper { display: none; }

    .section { padding: 2rem 0; }
    .hero { min-height: auto; padding: 2rem 0; }
    .hero-bg, .cta-bg { display: none; }
    .hero-content { padding: 0; color: #000; }
    .hero-headline, .hero-subheadline, .hero-eyebrow { color: #000; }
    .section-dark, .section-teal, .section-cta { background: #f5f5f5; color: #000; }
    .feature-card, .grow-card { background: #fff; border: 1px solid #ccc; }
    a { text-decoration: underline; }
}
