/* ═══════════════════════════════════════════════════════
   EYESPOT OPTOMETRIST — Main Stylesheet
   Brand colour: #32CD32
   Fonts: Plus Jakarta Sans (headings) · Inter (body)
═══════════════════════════════════════════════════════ */

/* ─────────────────────────────────────
   1. CSS VARIABLES
───────────────────────────────────── */
:root {
    /* ── Brand greens ── */
    --clr-accent:        #32CD32;
    --clr-accent-dark:   #28a428;
    --clr-accent-deeper: #1e7a1e;
    --clr-accent-light:  #e6f9e6;
    --clr-accent-mid:    #a8e6a8;
    --clr-accent-glow:   rgba(50, 205, 50, 0.20);

    /* ── Gradient tokens (used on footer / CTA band) ── */
    --grad-green:        linear-gradient(135deg, #1e5c1e 0%, #2d8a2d 50%, #1a4d1a 100%);
    --grad-green-light:  linear-gradient(135deg, #e6f9e6 0%, #c8f0c8 100%);
    --grad-accent:       linear-gradient(135deg, #32CD32 0%, #28a428 100%);

    /* ── Neutrals (green-tinted, not black) ── */
    --clr-dark:          #1a2e1a;
    --clr-body:          #2e4a2e;
    --clr-mid:           #4a6b4a;
    --clr-muted:         #6b8d6b;
    --clr-border:        #d8edd8;
    --clr-border-light:  #edf7ed;
    --clr-bg:            #f4fbf4;
    --clr-white:         #ffffff;

    /* ── Typography ── */
    --ff-display:  'Plus Jakarta Sans', sans-serif;
    --ff-body:     'Inter', sans-serif;

    /* ── Sizing ── */
    --header-h:    70px;
    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --radius-full: 999px;

    /* ── Shadows ── */
    --shadow-xs:   0 1px 4px rgba(30, 90, 30, .06);
    --shadow-sm:   0 2px 8px rgba(30, 90, 30, .08);
    --shadow-md:   0 6px 24px rgba(30, 90, 30, .12);
    --shadow-lg:   0 16px 48px rgba(30, 90, 30, .14);
    --shadow-green: 0 6px 24px rgba(50, 205, 50, .30);

    /* ── Transitions ── */
    --t-fast: 140ms ease;
    --t-base: 240ms ease;
    --t-slow: 380ms ease;

    /* ── Layout ── */
    --container-max: 1200px;
    --gutter:        clamp(1rem, 4vw, 2rem);
}

/* ─────────────────────────────────────
   2. RESET & BASE
───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--ff-body);
    font-weight: 400;
    color: var(--clr-body);
    background: var(--clr-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--t-base); }
a:hover { color: var(--clr-accent-deeper); }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: var(--ff-body); cursor: pointer; border: none; background: none; }

/* ─────────────────────────────────────
   3. UTILITY
───────────────────────────────────── */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--clr-accent-deeper);
    background: var(--clr-accent-light);
    padding: .28rem .85rem;
    border-radius: var(--radius-full);
    margin-bottom: .85rem;
}

.section-heading {
    font-family: var(--ff-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--clr-dark);
    line-height: 1.2;
    margin-bottom: .85rem;
}

.section-subtext {
    font-size: 1rem;
    color: var(--clr-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ─────────────────────────────────────
   4. BUTTONS
───────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--ff-body);
    font-weight: 600;
    font-size: .9rem;
    padding: .7rem 1.5rem;
    border-radius: var(--radius-full);
    transition: all var(--t-base);
    white-space: nowrap;
    cursor: pointer;
}

.btn--primary {
    background: var(--grad-accent);
    color: var(--clr-white);
    box-shadow: var(--shadow-green);
}
.btn--primary:hover {
    background: var(--clr-accent-deeper);
    color: var(--clr-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(50,205,50,.4);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--clr-accent);
    color: var(--clr-accent-deeper);
}
.btn--outline:hover {
    background: var(--clr-accent);
    color: var(--clr-white);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    border: 1.5px solid var(--clr-border);
    color: var(--clr-mid);
}
.btn--ghost:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent-deeper);
}

.btn--white {
    background: var(--clr-white);
    color: var(--clr-accent-deeper);
    font-weight: 700;
}
.btn--white:hover {
    background: var(--clr-accent-light);
    transform: translateY(-2px);
}

.btn--sm  { padding: .5rem 1.1rem; font-size: .82rem; }
.btn--lg  { padding: .85rem 2rem;  font-size: 1rem; }

/* ─────────────────────────────────────
   5. HEADER
───────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--clr-white);
    border-bottom: 1px solid var(--clr-border);
    height: var(--header-h);
    transition: box-shadow var(--t-base), background var(--t-base);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(30, 90, 30, .10);
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* ── Logo ── */
.logo-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-shrink: 0;
    transition: opacity var(--t-base);
}
.logo-link:hover { opacity: .88; color: inherit; }

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-name {
    font-size: 1.1rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .10em;
    color: var(--clr-accent-deeper);
}

.logo-tag {
    font-size: .62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .20em;
    color: var(--clr-accent-deeper);
}

/* ── Nav ── */
.primary-nav {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: .2rem;
}

.nav-link {
    position: relative;
    font-size: .88rem;
    font-weight: 500;
    color: var(--clr-mid);
    padding: .5rem .7rem;
    border-radius: var(--radius-sm);
    transition: color var(--t-base), background var(--t-base);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: .3rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 3px;
    transform: translateX(-50%) scaleX(0);
    width: 50%;
    height: 2px;
    background: var(--clr-accent);
    border-radius: 2px;
    transition: transform var(--t-base);
}

.nav-link:hover,
.nav-link.active { color: var(--clr-dark); }

.nav-link:hover::after,
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }

/* Dropdown *
.has-dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 240px;
    padding: .5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--t-base), transform var(--t-base);
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .6rem .85rem;
    font-size: .84rem;
    color: var(--clr-mid);
    border-radius: var(--radius-sm);
    transition: background var(--t-fast), color var(--t-fast);
}
.dropdown-menu li a i {
    color: var(--clr-accent);
    width: 15px;
    text-align: center;
    flex-shrink: 0;
}
.dropdown-menu li a:hover {
    background: var(--clr-accent-light);
    color: var(--clr-dark);
}*/

/* ── Header Actions (desktop / tablet) ── */
.header-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.btn-book {
    display: flex;
    align-items: center;
    gap: .4rem;
    background: var(--grad-accent);
    color: var(--clr-white);
    font-weight: 600;
    font-size: .83rem;
    padding: .52rem 1.1rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-green);
    transition: all var(--t-base);
    white-space: nowrap;
}
.btn-book:hover {
    background: var(--clr-accent-deeper);
    color: var(--clr-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(50,205,50,.40);
}

/* ── Mobile-only CTA inside nav panel ──
   Hidden by default; shown only ≤540px  */
.nav-mobile-cta {
    display: none;
}

/* ── Hamburger ──
   Always rendered; shown only when nav collapses.
   z-index: 950 keeps it above the sliding nav panel (850). */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: .45rem;
    cursor: pointer;
    margin-left: auto;
    flex-shrink: 0;
    z-index: 950;   /* above nav panel so it never disappears */
    position: relative;
    background: transparent;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-sm);
    transition: border-color var(--t-base);
}
.hamburger:hover { border-color: var(--clr-accent); }

.bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--clr-dark);
    border-radius: 2px;
    transition: transform var(--t-base), opacity var(--t-base);
    transform-origin: center;
}

/* Animate to × when open */
.hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Nav overlay ── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 50, 20, .45);
    z-index: 840;    /* below nav panel (850) but above everything else */
    opacity: 0;
    transition: opacity var(--t-base);
    backdrop-filter: blur(2px);
}
.nav-overlay.visible { opacity: 1; }

/* ─────────────────────────────────────
   6. HERO
───────────────────────────────────── */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--clr-bg);
}

.hero-bg-shape {
    position: absolute;
    top: -140px;
    right: -200px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, #c8f0c8 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 5rem) var(--gutter);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content { max-width: 560px; }

.hero-eyebrow {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--clr-accent-deeper);
    margin-bottom: 1rem;
}

.hero-heading {
    font-family: var(--ff-display);
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--clr-dark);
    margin-bottom: 1.25rem;
}

.hero-heading--accent {
    color: var(--clr-accent-deeper);
    position: relative;
    display: inline-block;
}
.hero-heading--accent::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    background: var(--grad-accent);
    border-radius: 2px;
    opacity: .55;
}

.hero-subtext {
    font-size: 1.05rem;
    color: var(--clr-muted);
    margin-bottom: 2rem;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-stat { display: flex; flex-direction: column; gap: .15rem; }
.hero-stat strong {
    font-family: var(--ff-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--clr-dark);
    line-height: 1;
}
.hero-stat span {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--clr-muted);
    font-weight: 500;
}
.hero-stat-divider {
    width: 1px;
    height: 34px;
    background: var(--clr-border);
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-frame {
    position: relative;
    max-width: 480px;
    width: 100%;
}

.hero-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-badge {
    position: absolute;
    bottom: 1.5rem;
    left: -1.5rem;
    background: var(--clr-white);
    border: 2px solid var(--clr-accent-light);
    border-radius: var(--radius-md);
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    box-shadow: var(--shadow-md);
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--clr-dark);
}
.hero-badge i { color: var(--clr-accent); font-size: 1.3rem; }

.hero-lens-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--clr-accent);
    opacity: .12;
    pointer-events: none;
}
.hero-lens-ring--1 {
    width: 320px; height: 320px;
    top: -40px; right: -40px;
    animation: spin-slow 22s linear infinite;
}
.hero-lens-ring--2 {
    width: 180px; height: 180px;
    bottom: 20px; right: 10px;
    border-style: dashed; opacity: .18;
    animation: spin-slow 14s linear infinite reverse;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.hero-scroll-hint {
    position: absolute;
    left: var(--gutter);
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    font-size: .62rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--clr-muted);
    opacity: .55;
    z-index: 1;
}
.scroll-line {
    width: 1.5px; height: 36px;
    background: linear-gradient(to bottom, var(--clr-accent), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
    0%, 100% { transform: scaleY(1); opacity: .55; }
    50%       { transform: scaleY(1.4); opacity: 1; }
}

/* ─────────────────────────────────────
   7. SERVICES STRIP
───────────────────────────────────── */
.services-strip {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--clr-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.4rem;
    margin-bottom: 2.5rem;
}

.service-card {
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.4rem;
    transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-green-light);
    opacity: 0;
    transition: opacity var(--t-slow);
}
.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--clr-accent-mid);
}
.service-card:hover::before { opacity: 1; }

.service-card-icon {
    width: 50px; height: 50px;
    border-radius: var(--radius-sm);
    background: var(--clr-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--clr-accent-deeper);
    margin-bottom: 1rem;
    transition: background var(--t-base), color var(--t-base);
    position: relative; z-index: 1;
}
.service-card:hover .service-card-icon {
    background: var(--clr-accent);
    color: var(--clr-white);
}

.service-card-title {
    font-family: var(--ff-display);
    font-size: .98rem;
    font-weight: 600;
    color: var(--clr-dark);
    margin-bottom: .5rem;
    position: relative; z-index: 1;
}
.service-card-desc {
    font-size: .84rem;
    color: var(--clr-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    position: relative; z-index: 1;
}
.service-card-link {
    font-size: .81rem;
    font-weight: 600;
    color: var(--clr-accent-deeper);
    display: flex;
    align-items: center;
    gap: .3rem;
    position: relative; z-index: 1;
    transition: gap var(--t-base);
}
.service-card-link:hover { gap: .55rem; color: var(--clr-accent-deeper); }

.services-cta { text-align: center; }

/* ─────────────────────────────────────
   8. WHY CHOOSE US
───────────────────────────────────── */
.why-us {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--clr-bg);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

.why-us-visual { position: relative; }

.why-us-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
}
.why-us-image-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.why-us-image-wrap:hover img { transform: scale(1.04); }

.why-us-accent-block {
    position: absolute;
    bottom: -1.5rem; right: -1.5rem;
    background: var(--grad-accent);
    color: var(--clr-white);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-green);
}
.why-us-accent-number {
    display: block;
    font-family: var(--ff-display);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}
.why-us-accent-label {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    opacity: .85;
}

.why-us-content { padding: 1rem 0; }
.why-us-intro {
    color: var(--clr-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}
.why-us-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.why-us-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.why-us-list-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--clr-accent-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-accent-deeper);
    font-size: .72rem;
    margin-top: .1rem;
}
.why-us-list li strong {
    display: block;
    font-weight: 600;
    color: var(--clr-dark);
    margin-bottom: .2rem;
    font-size: .9rem;
}
.why-us-list li p { font-size: .84rem; color: var(--clr-muted); }

/* ─────────────────────────────────────
   9. BRANCHES
───────────────────────────────────── */
.branches {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--clr-white);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.branch-card {
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    transition: all var(--t-base);
}
.branch-card:hover {
    border-color: var(--clr-accent-mid);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.branch-card--featured {
    background: var(--grad-green);
    border-color: transparent;
    color: var(--clr-white);
}
.branch-card--featured .branch-name { color: var(--clr-white); }
.branch-card--featured .branch-address,
.branch-card--featured .branch-phone  { color: rgba(255,255,255,.75); }
.branch-card--featured .branch-phone a { color: var(--clr-accent); }

.branch-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}
.branch-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    background: var(--clr-accent-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-accent-deeper);
    font-size: .95rem;
}
.branch-card--featured .branch-icon {
    background: rgba(255,255,255,.15);
    color: var(--clr-accent);
}
.branch-number {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--clr-muted);
}
.branch-card--featured .branch-number { color: rgba(255,255,255,.45); }

.branch-name {
    font-family: var(--ff-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-dark);
    margin-bottom: .4rem;
}
.branch-address {
    font-size: .84rem;
    color: var(--clr-muted);
    margin-bottom: .5rem;
}
.branch-phone {
    font-size: .84rem;
    color: var(--clr-mid);
    margin-bottom: 1.25rem;
    display: flex; align-items: center; gap: .4rem;
}
.branch-phone i { color: var(--clr-accent); }
.branch-phone a { color: inherit; }

/* ─────────────────────────────────────
   10. CTA BAND
───────────────────────────────────── */
.cta-band {
    background: var(--grad-green);
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(50,205,50,.18) 0%, transparent 50%),
        radial-gradient(circle at 85% 50%, rgba(50,205,50,.10) 0%, transparent 50%);
}
.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative; z-index: 1;
}
.cta-band-text h2 {
    font-family: var(--ff-display);
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 700;
    color: var(--clr-white);
    margin-bottom: .4rem;
}
.cta-band-text p { color: rgba(255,255,255,.65); font-size: .95rem; }

/* ─────────────────────────────────────
   11. FOOTER
───────────────────────────────────── */
.site-footer {
    background: #edf7ed;
    color: var(--clr-mid);
    border-top: 2px solid var(--clr-border);
}

/* Newsletter Band */
.footer-newsletter-band {
    background: #e8f5e8; 
    border-bottom: 1px solid var(--clr-border);
    padding: 2.5rem 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.newsletter-heading {
    font-family: var(--ff-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--clr-dark);
    margin-bottom: .25rem;
}
.newsletter-text p { font-size: .84rem; color: var(--clr-muted); }

.newsletter-form { flex: 1; max-width: 500px; }
.newsletter-input-wrap { display: flex; gap: .5rem; }
.newsletter-input-wrap input {
    flex: 1;
    background: var(--clr-white);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-full);
    padding: .68rem 1.2rem;
    font-family: var(--ff-body);
    font-size: .87rem;
    color: var(--clr-dark);
    outline: none;
    transition: border-color var(--t-base);
}
.newsletter-input-wrap input::placeholder { color: var(--clr-muted); }
.newsletter-input-wrap input:focus { border-color: var(--clr-accent); }

.btn-newsletter {
    display: flex; align-items: center; gap: .4rem;
    background: var(--grad-accent);
    color: var(--clr-white);
    font-family: var(--ff-body);
    font-weight: 600;
    font-size: .85rem;
    padding: .68rem 1.3rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    border: none;
    transition: all var(--t-base);
    white-space: nowrap;
}
.btn-newsletter:hover {
    background: var(--clr-accent-deeper);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(50,205,50,.25);
}

/* Footer Body */
.footer-body { 
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: #d4edcc;
    color: var(--clr-white);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 3rem;
}

.footer-col-heading {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--clr-accent-deeper);
    margin-bottom: 1.1rem;
}
.footer-col-heading--spaced { margin-top: 1.75rem; }

/* Brand col */
.footer-logo-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .85rem;
    transition: opacity var(--t-base);
}
.footer-logo-link:hover { opacity: .85; color: inherit; }

.footer-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.footer-logo-name {
    font-family: var(--ff-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--clr-accent-deeper);
    letter-spacing: -.01em;
}

.footer-logo-tag {
    font-size: .6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--clr-accent-deeper);
}

.footer-about-blurb {
    font-size: .82rem;
    line-height: 1.7;
    color: var(--clr-muted);
    margin-bottom: 1.5rem;
}

/* Social Links */
.social-links { display: flex; gap: .6rem; }
.social-link {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--clr-border);
    display: flex; align-items: center; justify-content: center;
    font-size: .84rem;
    color: var(--clr-muted);
    transition: all var(--t-base);
    background: var(--clr-white);
}
.social-link:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent-deeper);
    transform: translateY(-2px);
    background: var(--clr-accent-light);
    box-shadow: 0 4px 12px rgba(50,205,50,.20);
}

/* Footer links */
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
    font-size: .84rem;
    color: var(--clr-muted);
    display: flex; align-items: center; gap: .4rem;
    transition: color var(--t-base), padding-left var(--t-base);
}
.footer-links a i { color: var(--clr-accent); font-size: .58rem; flex-shrink: 0; }
.footer-links a:hover { color: var(--clr-accent-deeper); padding-left: .25rem; }

/* Contact list */
.footer-contact-list li {
    display: flex; align-items: flex-start; gap: .65rem;
    font-size: .84rem;
    color: var(--clr-muted);
    margin-bottom: .7rem;
}
.footer-contact-list li i {
    color: var(--clr-accent);
    width: 14px;
    margin-top: .18rem;
    flex-shrink: 0;
}
.footer-contact-list a:hover { color: var(--clr-accent-deeper); }

/* Hours */
.footer-hours { display: flex; flex-direction: column; gap: .4rem; }
.footer-hours li { display: flex; justify-content: space-between; font-size: .81rem; }
.hours-day   { color: var(--clr-muted); }
.hours-time  { color: var(--clr-body); font-weight: 500; }
.hours-time.closed { color: var(--clr-accent-deeper); font-weight: 600; }

/* Footer bottom */
.footer-bottom {
    background: #2c512c;
    border-top: 1px solid var(--clr-border);
    padding: 1.2rem 0;
    color: white;
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-copy { font-size: .85rem; color: var(--clr-accent-light); }

.footer-legal-links {
    display: flex; align-items: center; gap: .55rem;
    font-size: .85rem;
}
.footer-legal-links a { color: var(--clr-accent-light); transition: color var(--t-base); }
.footer-legal-links a:hover { color: #32CD32; }
.footer-legal-divider { color: var(--clr-border); }

.footer-credit { font-size: .80rem; color: var(--clr-accent-light); }
.footer-credit a { color: var(--clr-accent-light); }
.footer-credit a:hover { color: #32CD32; }

/* ─────────────────────────────────────
   12. BACK TO TOP
───────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--grad-accent);
    color: var(--clr-white);
    font-size: .88rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-green);
    cursor: pointer;
    z-index: 700;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all var(--t-base);
    border: none;
}
.back-to-top.visible {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--clr-accent-deeper);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(50,205,50,.40);
}

/* ─────────────────────────────────────
   13. SCROLL REVEAL
───────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────
   14. RESPONSIVE — TABLET (≤1024px)
───────────────────────────────────── */
@media (max-width: 1024px) {

    /* Show hamburger */
    .hamburger { display: flex; }

    /* Hide desktop CTA at tablet (still shown 541px–1024px) */
    /* (kept visible — only hidden at ≤540px, handled below) */

    .header-actions {
    margin-left: auto;
    }

    /* ── Slide-in nav panel ── */
    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100dvh;
        width: min(300px, 82vw);
        background: var(--clr-white);
        box-shadow: var(--shadow-lg);
        z-index: 850;  /* below hamburger (950) and overlay (840) */
        padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
        transition: right var(--t-slow);
        overflow-y: auto;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
    }
    .primary-nav.open { right: 0; }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: .15rem;
        width: 100%;
    }
    .nav-item { width: 100%; }

    .nav-link {
        width: 100%;
        padding: .72rem 1rem;
        font-size: .93rem;
        border-radius: var(--radius-sm);
        justify-content: space-between;
    }
    .nav-link::after { display: none; }
    .nav-link:hover,
    .nav-link.active {
        background: var(--clr-accent-light);
        color: var(--clr-dark);
    }

    /* Dropdown on mobile: static, toggle-revealed *
    .has-dropdown .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        border-left: 2.5px solid var(--clr-accent-light);
        border-radius: 0;
        display: none;
        padding: .2rem 0 .2rem .5rem;
        margin: .2rem 0 .2rem 1rem;
        min-width: unset;
    }
    .has-dropdown.dropdown-open .dropdown-menu { display: block; }

    .dropdown-menu li a {
        padding: .55rem .75rem;
        font-size: .84rem;
        border-radius: var(--radius-sm);
    }*/

    /* Hide text label from account btn at tablet */
    .btn-account span { display: none; }
}

/* ─────────────────────────────────────
   15. RESPONSIVE — SMALL MOBILE (≤540px)
       Book Appointment + Login move into
       the hamburger nav panel
───────────────────────────────────── */
@media (max-width: 540px) {

    /* Hide the CTA buttons from the header bar */
    .header-actions { display: none; }

    /* Show the CTA block inside the nav panel */
    .nav-mobile-cta {
        display: flex;
        flex-direction: column;
        gap: .75rem;
        margin-top: 1.75rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--clr-border-light);
    }

    /* Full-width variants of the buttons */
    .btn-book--full,
    .btn-account--full {
        width: 100%;
        justify-content: center;
        padding: .75rem 1rem;
        font-size: .9rem;
        border-radius: var(--radius-md);
    }
    .btn-book--full {
        background: var(--grad-accent);
        color: var(--clr-white);
        font-weight: 600;
        box-shadow: var(--shadow-green);
    }
    .btn-book--full:hover {
        background: var(--clr-accent-deeper);
        color: var(--clr-white);
    }
    .btn-account--full {
        border: 1.5px solid var(--clr-border);
        color: var(--clr-mid);
        font-weight: 500;
    }
    .btn-account--full:hover {
        border-color: var(--clr-accent);
        color: var(--clr-accent-deeper);
    }

    /* ── Other small-screen adjustments ── */
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content   { max-width: 100%; }
    .hero-subtext   { margin: 0 auto 2rem; }
    .hero-actions   { justify-content: center; flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats     { justify-content: center; }
    .hero-visual, .hero-scroll-hint, .hero-badge { display: none; }

    .services-grid  { grid-template-columns: 1fr; }
    .why-us-grid    { grid-template-columns: 1fr; }
    .why-us-visual  { display: none; }
    .branches-grid  { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .footer-grid    { grid-template-columns: 1fr; }

    .newsletter-content { flex-direction: column; text-align: center; }
    .newsletter-form    { width: 100%; }
    .newsletter-input-wrap { flex-direction: column; }
    .btn-newsletter     { justify-content: center; }

    .cta-band-inner { flex-direction: column; text-align: center; }
    .footer-bottom-inner { flex-direction: column; text-align: center; gap: .65rem; }
}

/* ─────────────────────────────────────
   16. RESPONSIVE — TABLET mid (541–1024)
       Restore account btn text
───────────────────────────────────── */
@media (min-width: 541px) and (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content   { max-width: 100%; }
    .hero-subtext   { margin: 0 auto 2rem; }
    .hero-actions   { justify-content: center; }
    .hero-stats     { justify-content: center; }
    .hero-visual    { display: none; }

    .branches-grid  { grid-template-columns: 1fr 1fr; }
    .footer-grid    { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}