/*
Theme Name:  Jennings Opticians
Theme URI:   https://www.jenningsopticians.co.uk
Description: Custom theme for Jennings Opticians, Wythenshawe, Manchester. Independent opticians since 1936. Optimised for local SEO, Core Web Vitals, and conversion.
Version:     1.0.0
Author:      Jennings Opticians
Author URI:  https://www.jenningsopticians.co.uk
Text Domain: jennings
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License:     Proprietary
*/

/* =====================================================
   DESIGN TOKENS (CSS Custom Properties)
   ===================================================== */
:root {
  /* Primary Palette */
  --color-primary:        #0f5184;
  --color-primary-dark:   #0a3a61;
  --color-primary-light:  #1a6aaa;

  /* Teal Accent */
  --color-teal:           #1A7A82;
  --color-teal-dark:      #125B61;
  --color-teal-light:     #E8F6F7;

  /* CTA — High-contrast conversion orange */
  --color-cta:            #FF6B35;
  --color-cta-hover:      #E55A24;
  --color-cta-dark:       #D44D1B;

  /* Supporting colours */
  --color-success:        #28A745;
  --color-success-light:  #D4EDDA;
  --color-warning:        #FFC107;
  --color-error:          #DC3545;
  --color-star:           #F5A623;

  /* Neutrals */
  --color-white:          #FFFFFF;
  --color-grey-50:        #F8FAFB;
  --color-grey-100:       #F0F4F7;
  --color-grey-200:       #E2E8F0;
  --color-grey-300:       #CBD5E1;
  --color-grey-400:       #94A3B8;
  --color-grey-600:       #475569;
  --color-grey-700:       #334155;
  --color-grey-800:       #1E293B;

  /* Text */
  --color-text-primary:   #1A2332;
  --color-text-secondary: #475569;
  --color-text-muted:     #64748B;
  --color-text-light:     #94A3B8;
  --color-text-inverse:   #FFFFFF;

  /* Backgrounds */
  --color-bg-page:        #FFFFFF;
  --color-bg-section:     #F5F4F1;  /* warm off-white — more editorial */
  --color-bg-dark:        #0f5184;

  /* Typography */
  --font-heading:  'Montserrat', 'Segoe UI', sans-serif;
  --font-body:     'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent:   'Playfair Display', Georgia, serif;
  --font-display:  'Playfair Display', Georgia, serif;

  /* Near-black ink for editorial elements */
  --color-ink:     #0D1117;

  /* Type Scale */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;
  --text-hero:  3.5rem;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Border radius */
  --radius-sm:  4px;
  --radius-md:  6px;
  --radius-lg:  10px;
  --radius-xl:  20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md:  0 4px 12px rgba(15, 81, 132, 0.12);
  --shadow-lg:  0 8px 24px rgba(15, 81, 132, 0.15);
  --shadow-xl:  0 16px 48px rgba(15, 81, 132, 0.18);

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-base:   0.2s ease;
  --transition-slow:   0.3s ease;

  /* Layout */
  --container-max:     1200px;
  --container-narrow:  800px;
  --container-wide:    1400px;
  --container-padding: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

/* Accessibility: Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 600;
  font-size: var(--text-sm);
  z-index: 10000;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* Focus styles */
*:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
}

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

a {
  color: var(--color-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-teal-dark);
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-5xl); letter-spacing: -0.02em; }

/* Playfair Display for editorial section headings */
h2 {
  font-family: var(--font-display);
  font-size: clamp( 1.875rem, 3.5vw, 2.75rem );
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h3 { font-size: var(--text-2xl); font-weight: 600; }
h4 { font-size: var(--text-xl);  font-weight: 600; }
h5 { font-size: var(--text-lg);  font-weight: 600; }
h6 { font-size: var(--text-base); font-weight: 600; }

/* Override: use sans-serif where headings need mechanical precision */
.heading-sans {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-grey-800);
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }
.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.text-muted { color: var(--color-text-secondary); }

.section-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-3);
}

.text-link {
  color: var(--color-teal);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.text-link:hover {
  color: var(--color-teal-dark);
  text-decoration: underline;
}

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

.container--narrow { max-width: var(--container-narrow); }
.container--wide   { max-width: var(--container-wide); }

.section {
  padding: var(--space-20) 0;
}

.section--sm  { padding: var(--space-12) 0; }
.section--lg  { padding: var(--space-32) 0; }
.section--alt { background-color: var(--color-bg-section); }
.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark p {
  color: var(--color-white);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

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

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  min-height: 48px;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    transform var(--transition-fast),
    box-shadow var(--transition-base);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
}

/* Primary — Booking/conversion */
.btn-primary {
  background-color: var(--color-cta);
  color: var(--color-white);
  border-color: var(--color-cta);
}

.btn-primary:hover {
  background-color: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Secondary — Outline navy */
.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Ghost — White outline (for dark backgrounds) */
.btn-ghost {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-ghost:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* Sizes */
.btn-lg { padding: 18px 36px; font-size: var(--text-lg); }
.btn-sm { padding: 10px 20px; font-size: var(--text-sm); min-height: 40px; }

/* CTA — high-contrast orange (conversion) */
.btn-cta {
  background-color: var(--color-cta);
  color: var(--color-white);
  border-color: var(--color-cta);
}
.btn-cta:hover {
  background-color: var(--color-cta-hover);
  border-color: var(--color-cta-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45);
}
.btn-cta:active { transform: translateY(0); box-shadow: none; }

/* White outline — for use on dark/image backgrounds */
.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  color: var(--color-white);
}

/* =====================================================
   PROMO ANNOUNCEMENT BAR
   ===================================================== */
.promo-bar {
  background: #07111f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 7px 0;
  overflow: hidden;
}

.promo-bar__track {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.promo-bar__track::-webkit-scrollbar { display: none; }

.promo-bar__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  list-style: none;
  white-space: nowrap;
}

.promo-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
}

.promo-bar__item--anniversary {
  color: #f5c14a;
  font-weight: 600;
}
.promo-bar__item--anniversary svg {
  fill: #f5c14a;
}

.promo-bar__sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .promo-bar__list { justify-content: flex-start; gap: var(--space-4); }
  .promo-bar__sep { display: none; }
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0f5184;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  gap: var(--space-4);
}

.site-logo img {
  height: 52px;
  width: auto;
}

.site-logo__text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
}

.site-logo__tagline {
  display: block;
  font-size: var(--text-xs);
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.05em;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-1);
  align-items: center;
}

.site-nav a {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.site-nav a[aria-current="page"],
.site-nav .current-menu-item a {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 -2px 0 var(--color-teal-light);
}

/* ─── MEGA MENU ───────────────────────────────── */

/* Trigger button */
.mega-menu-trigger {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: var(--space-2) var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: color var(--transition-fast), background-color var(--transition-fast);
  line-height: inherit;
}

.mega-menu-trigger:hover,
.has-mega-menu.is-open .mega-menu-trigger {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.mega-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.has-mega-menu.is-open .mega-chevron {
  transform: rotate(180deg);
}

/* Panel — hidden by default (desktop uses visibility transition) */
.mega-menu {
  display: none;
}

/* ─── DESKTOP ────────────────────────────────── */
@media (min-width: 769px) {
  /* Full-width dropdown overlay */
  .mega-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.14);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    /* Delay the hide so mouse can travel from trigger to panel without it closing */
    transition: opacity 0.2s ease 0.35s, transform 0.2s ease 0.35s, visibility 0s linear 0.55s;
  }

  .has-mega-menu:hover .mega-menu,
  .has-mega-menu.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    /* Open immediately — no delay */
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  /*
   * Centred inner wrapper — caps width and adds breathing room on all sides.
   * The grid splits into: 280px dark promo | remaining for 3 service cols.
   */
  .mega-menu__panel {
    display: grid;
    grid-template-columns: 280px 1fr;
    max-width: 1180px;
    margin: 0 auto;
    /* 48px left/right keeps content away from viewport edges;
       top/bottom handled per-panel so backgrounds look correct */
  }

  /* ── Left: dark promo panel ─────────────────── */
  .mega-menu__featured {
    background: #0a1628;
    background-image: radial-gradient(ellipse at top left, rgba(8, 145, 178, 0.18) 0%, transparent 65%);
    padding: 44px 36px 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    position: relative;
    overflow: hidden;
  }

  /* Subtle decorative arc */
  .mega-menu__featured::before {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 40px solid rgba(8, 145, 178, 0.08);
    pointer-events: none;
  }

  .mega-menu__featured-eyebrow {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-teal, #0891b2);
    margin: 0;
  }

  .mega-menu__featured-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0;
  }

  .mega-menu__featured-desc {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin: 0;
  }

  .mega-menu__featured-cta {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 26px;
    background: var(--color-teal, #0891b2);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 6px;
    align-self: flex-start;
    border-bottom: none;
    transition: background 0.15s ease, transform 0.15s ease;
  }

  .mega-menu__featured-cta:hover {
    background: #0e7490;
    color: #fff;
    border-bottom: none;
    transform: translateY(-1px);
  }

  /* ── Right: 3 service columns ───────────────── */
  .mega-menu__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 40px 48px 44px 48px; /* top | right | bottom | left */
    column-gap: 0;
    background: #fff;
  }

  .mega-menu__col {
    padding: 0 28px;
    border-right: 1px solid #eff1f4;
  }

  .mega-menu__col:first-child {
    padding-left: 0;
  }

  .mega-menu__col:last-child {
    border-right: none;
    padding-right: 0;
  }

  .mega-menu__col-label {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: #b0b8c4;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eff1f4;
    display: block;
    text-align: left;
  }

  .mega-menu__col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
  }

  /* Service link cards */
  .mega-menu__link {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 9px 0;
    border-radius: 8px;
    text-decoration: none;
    border-bottom: none;
    text-align: left;
    transition: background 0.14s ease;
  }

  .mega-menu__link:hover {
    background: #f3f5f7;
    border-bottom: none;
  }

  .mega-menu__link-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-ink, #0D1117);
    display: block;
    text-align: left;
    transition: color 0.14s ease;
  }

  .mega-menu__link:hover .mega-menu__link-title {
    color: var(--color-teal, #0891b2);
  }

  .mega-menu__link-desc {
    font-family: var(--font-body);
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.4;
    font-weight: 400;
    display: block;
    text-align: left;
  }
}

/* ─── MOBILE ─────────────────────────────────── */
@media (max-width: 768px) {
  .has-mega-menu.is-open .mega-menu {
    display: block;
  }

  .mega-menu__featured {
    display: none; /* hide promo panel on mobile */
  }

  .mega-menu__cols {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mega-menu__col {
    padding: var(--space-3) var(--space-5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .mega-menu__col:last-child {
    border-bottom: none;
  }

  .mega-menu__col-label {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    margin-bottom: var(--space-1);
  }

  .mega-menu__col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
  }

  .mega-menu__link {
    display: block;
    text-decoration: none;
    border-bottom: none;
    padding: var(--space-2) 0;
  }

  .mega-menu__link-title {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
  }

  .mega-menu__link-desc {
    display: none; /* keep mobile clean */
  }

  .mega-menu__link:hover .mega-menu__link-title {
    color: #fff;
  }

  .mega-menu-trigger {
    width: 100%;
    justify-content: space-between;
  }
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover {
  color: rgba(255,255,255,0.8);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: #fff;
}

.nav-toggle .icon-close { display: none; }
.nav-toggle.is-active .icon-menu { display: none; }
.nav-toggle.is-active .icon-close { display: block; }

/* New Patients Bar */
.new-patients-bar {
  background: var(--color-cta);
  border-top: 1px solid rgba(0,0,0,0.1);
  padding: 10px 0;
}

.new-patients-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  min-height: 36px;
}

.new-patients-bar__msg {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
}

.new-patients-bar__msg svg {
  flex-shrink: 0;
}

.new-patients-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition-base), border-color var(--transition-base);
  white-space: nowrap;
  flex-shrink: 0;
}

.new-patients-bar__cta:hover {
  background: rgba(255,255,255,0.35);
  border-color: rgba(255,255,255,0.6);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-primary);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26, 58, 92, 0.88) 0%,
    rgba(26, 58, 92, 0.55) 60%,
    rgba(26, 58, 92, 0.2) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--space-20) 0;
  max-width: 680px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
  backdrop-filter: blur(4px);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.hero__trust-list {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  list-style: none;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.hero__trust-item::before {
  content: '✓';
  color: var(--color-cta);
  font-weight: 700;
}

/* =====================================================
   GLASSES TURNAROUND
   ===================================================== */
.gl-turnaround-section {
  background: var(--color-primary);
  color: #fff;
}

.gl-turnaround-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-12);
  align-items: center;
}

.gl-turnaround-header .section-eyebrow {
  color: rgba(255,255,255,0.6);
}

.gl-turnaround-header h2 {
  color: #fff;
  margin: var(--space-2) 0 var(--space-4);
}

.gl-turnaround-header p {
  color: rgba(255,255,255,0.8);
  font-size: var(--text-sm);
}

.gl-turnaround-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.gl-turnaround-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.gl-turnaround-card--fast {
  background: rgba(255, 107, 53, 0.2);
  border-color: rgba(255, 107, 53, 0.5);
}

.gl-turnaround-card__time {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.gl-turnaround-card--fast .gl-turnaround-card__time {
  color: var(--color-cta);
}

.gl-turnaround-card__label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .gl-turnaround-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .gl-turnaround-cards { grid-template-columns: 1fr; }
}

/* =====================================================
   CONTACT LENS BRANDS
   ===================================================== */
.cl-brands-section {
  background: var(--color-grey-50, #f9fafb);
}

.cl-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.cl-brand-tile {
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-top: 4px solid var(--color-grey-300);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.cl-brand-tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cl-brand-tile--jnj  { border-top-color: #C8102E; }
.cl-brand-tile--alcon { border-top-color: #0075BE; }
.cl-brand-tile--cooper { border-top-color: #004F9F; }
.cl-brand-tile--bl    { border-top-color: #1A7A82; }

.cl-brand-tile__wordmark {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cl-brand-tile__wordmark sup {
  font-size: 0.55em;
  font-weight: 700;
  vertical-align: super;
}

.cl-brand-tile--jnj  .cl-brand-tile__wordmark { color: #C8102E; }
.cl-brand-tile--alcon .cl-brand-tile__wordmark { color: #0075BE; }
.cl-brand-tile--cooper .cl-brand-tile__wordmark { color: #004F9F; }
.cl-brand-tile--bl    .cl-brand-tile__wordmark { color: #1A7A82; }

.cl-brand-tile__sub {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-tertiary);
  margin-top: var(--space-1);
}

.cl-brand-tile__lines {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  margin-top: var(--space-2);
}

@media (max-width: 900px) {
  .cl-brands-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .cl-brands-grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .cl-brand-tile { padding: var(--space-6) var(--space-4); }
  .cl-brand-tile__wordmark { font-size: var(--text-xl); }
}

/* =====================================================
   TRUST BAR
   ===================================================== */
.trust-bar {
  background: var(--color-grey-100);
  border-top: 1px solid var(--color-grey-200);
  border-bottom: 1px solid var(--color-grey-200);
  padding: var(--space-5) 0;
}

.trust-bar__items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: nowrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.trust-bar__item svg {
  color: var(--color-teal);
  flex-shrink: 0;
}

.trust-bar__item--rating .stars {
  color: var(--color-star);
  font-size: var(--text-base);
  letter-spacing: 1px;
}

/* =====================================================
   SERVICES GRID
   ===================================================== */
.services-grid {
  padding: var(--space-20) 0;
}

.services-grid__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-12);
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--color-teal);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  background: var(--color-teal-light);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  color: var(--color-teal);
}

.service-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.service-card__link {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.service-card__link:hover {
  color: var(--color-teal-dark);
  gap: var(--space-2);
}

/* =====================================================
   WHY CHOOSE US SECTION
   ===================================================== */
.why-us {
  padding: var(--space-20) 0;
  background: var(--color-bg-section);
}

.why-us__feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.why-us__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-grey-800);
}

.why-us__check {
  width: 22px;
  height: 22px;
  background: var(--color-success);
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
}

.why-us__quote {
  background: var(--color-white);
  border-left: 4px solid var(--color-teal);
  padding: var(--space-6);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: var(--space-6);
}

.why-us__quote blockquote {
  font-family: var(--font-accent);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.why-us__quote cite {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  font-style: normal;
  font-weight: 600;
}

/* =====================================================
   TESTIMONIALS / REVIEWS
   ===================================================== */
.testimonials {
  padding: var(--space-20) 0;
}

.testimonials__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.review-card__stars {
  color: var(--color-star);
  font-size: var(--text-lg);
  letter-spacing: 2px;
}

.review-card__text {
  font-size: var(--text-sm);
  color: var(--color-grey-800);
  line-height: 1.65;
  flex: 1;
}

.review-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-card__name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
}

.review-card__location {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

.reviews-cta {
  text-align: center;
  margin-top: var(--space-8);
}

.reviews-cta a {
  font-weight: 600;
  color: var(--color-teal);
}

/* =====================================================
   CTA BAND
   ===================================================== */
.cta-band {
  position: relative;
  background-color: var(--color-primary-dark);
  background-image: var(--cta-img, none);
  background-size: cover;
  background-position: center;
  padding: var(--space-20) 0;
  text-align: center;
  overflow: hidden;
}

/* Gradient overlay — ensures text readability over the background image */
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 58, 97, 0.92) 0%,
    rgba(15, 81, 132, 0.86) 60%,
    rgba(26, 106, 170, 0.80) 100%
  );
  pointer-events: none;
}

.cta-band .container { position: relative; }

.cta-band__eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.cta-band__title {
  font-size: clamp( 1.75rem, 4vw, 2.75rem );
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-4);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cta-band__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: var(--space-10);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-band__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.cta-band__hours {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.cta-band__hours svg {
  color: var(--color-teal);
  flex-shrink: 0;
}

/* =====================================================
   BOOKING FORM
   ===================================================== */
.booking-section {
  padding: var(--space-20) 0;
}

.booking-section__grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-12);
  align-items: start;
}

.booking-form {
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.form-label .optional {
  font-weight: 400;
  color: var(--color-text-secondary);
  font-size: var(--text-xs);
  margin-left: var(--space-1);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background: var(--color-white);
  border: 2px solid var(--color-grey-300);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 48px;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(26, 122, 130, 0.15);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-grey-400);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-microcopy {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  margin-top: var(--space-2);
}

.form-submit-wrap {
  margin-top: var(--space-6);
}

.form-submit-wrap .btn {
  width: 100%;
  justify-content: center;
}

.form-privacy {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  text-align: center;
}

.booking-trust {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.booking-trust__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-grey-800);
}

.booking-trust__icon {
  width: 24px;
  height: 24px;
  background: var(--color-success-light);
  color: var(--color-success);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-section {
  padding: var(--space-20) 0;
  background: var(--color-bg-section);
}

.faq-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-10);
}

.faq-section__eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-teal);
  margin-bottom: var(--space-3);
}

.faq-section__title {
  font-size: clamp( 1.75rem, 3vw, 2.25rem );
  color: var(--color-text-primary);
  margin: 0;
}

.faq-section__subtitle {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-lg);
  line-height: 1.6;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-grey-200);
  overflow: hidden;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.faq-item:has( .faq-question[aria-expanded="true"] ) {
  border-color: var(--color-teal);
  box-shadow: 0 4px 16px rgba( 26, 122, 130, 0.1 );
}

.faq-question {
  width: 100%;
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-teal);
}

.faq-question[aria-expanded="true"] {
  color: var(--color-teal);
}

.faq-question:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: -2px;
}

.faq-question__icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--color-teal);
  background: var(--color-teal-light);
  border-radius: 50%;
  padding: 3px;
  width: 28px;
  height: 28px;
}

.faq-question[aria-expanded="true"] .faq-question__icon {
  transform: rotate( 180deg );
  background: var(--color-teal);
  color: #fff;
}

/* ── Smooth height via CSS grid trick ── */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-answer.is-open {
  grid-template-rows: 1fr;
}

.faq-answer__inner {
  min-height: 0;   /* required for grid-template-rows:0fr to work */
  overflow: hidden;
  color: var(--color-grey-700);
  font-size: var(--text-sm);
  line-height: 1.75;
  padding: 0 var(--space-6);
  transition: padding-bottom 0.35s ease;
}

.faq-answer.is-open .faq-answer__inner {
  padding-bottom: var(--space-6);
}

.faq-answer__inner p {
  margin-bottom: var(--space-3);
}

.faq-answer__inner p:last-child {
  margin-bottom: 0;
}

.faq-answer__inner a {
  color: var(--color-teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.faq-answer__inner a:hover {
  color: var(--color-teal-dark);
}

/* =====================================================
   LOCATION / MAP SECTION
   ===================================================== */
/* =====================================================
   LOCATION / MAP SECTION
   ===================================================== */
.location-section {
  overflow: hidden;
}

/* Full-bleed two-column: dark left | map right */
.location-section__inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  min-height: 560px;
}

/* ── Left dark panel ─────────────────────────── */
.location-panel {
  background: var(--color-ink, #0D1117);
  padding: 60px 52px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative circle */
.location-panel::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 48px solid rgba(8, 145, 178, 0.07);
  pointer-events: none;
}

.location-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-teal, #0891b2);
}

.location-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}

.location-panel__intro {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.65;
  margin: 0;
  max-width: 320px;
}

/* Info rows: icon + content */
.location-info-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.location-info-block__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(8, 145, 178, 0.15);
  color: var(--color-teal, #0891b2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.location-info-block__label {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 5px;
}

.location-info-block__value {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.location-info-block__phone {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-bottom: none;
  transition: color 0.15s ease;
}

.location-info-block__phone:hover {
  color: var(--color-teal, #0891b2);
  border-bottom: none;
}

.location-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-teal, #0891b2);
  text-decoration: none;
  border-bottom: none;
  margin-top: 8px;
  transition: gap 0.15s ease, color 0.15s ease;
}

.location-panel__link:hover {
  color: #38bdf8;
  gap: 8px;
  border-bottom: none;
}

/* Hours grid */
.location-hours {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 4px 12px;
  font-size: 13px;
}

.location-hours__day {
  font-family: var(--font-heading);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.location-hours__time {
  color: rgba(255, 255, 255, 0.55);
}

.location-hours__time--closed {
  color: rgba(255, 255, 255, 0.28);
}

/* Access chips */
.location-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 5px 12px;
}

/* ── Right: map ──────────────────────────────── */
.location-map-embed {
  position: relative;
  min-height: 460px;
}

.location-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Mobile ──────────────────────────────────── */
@media (max-width: 900px) {
  .location-section__inner {
    grid-template-columns: 1fr;
  }

  .location-panel {
    padding: 48px 28px;
  }

  .location-map-embed {
    min-height: 320px;
  }
}

/* =====================================================
   FOOTER
   ===================================================== */

/* ── Tokens ──────────────────────────────────────────── */
:root {
  --footer-bg:          #0B1E33;
  --footer-body-bg:     #0f5184;
  --footer-border:      rgba(255, 255, 255, 0.07);
  --footer-text-muted:  rgba(255, 255, 255, 0.5);
  --footer-text-dim:    rgba(255, 255, 255, 0.7);
  --footer-text:        rgba(255, 255, 255, 0.88);
  --footer-accent:      #4ECDC4;
}

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

/* ── Main body ─────────────────────────────────────── */
.footer-body {
  background: var(--footer-body-bg);
  padding: var(--space-16) 0 var(--space-12);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-8);
}

@media ( max-width: 900px ) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10) var(--space-8);
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media ( max-width: 540px ) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ── Brand column ──────────────────────────────────── */
.footer-brand__logo-link {
  display: inline-block;
  margin-bottom: var(--space-4);
}

.footer-brand__logo {
  width: 150px;
  height: auto;
  display: block;
  opacity: 0.92;
}

.footer-brand__tagline {
  font-size: var(--text-sm);
  color: var(--footer-text-muted);
  line-height: 1.75;
  margin: 0 0 var(--space-5);
  max-width: 28ch;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--footer-accent);
  border: 1px solid rgba(78, 205, 196, 0.35);
  border-radius: var(--radius-sm);
  padding: 3px 10px;
  background: rgba(78, 205, 196, 0.07);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.footer-social a {
  font-size: var(--text-sm);
  color: var(--footer-text-dim);
  text-decoration: none;
  border: 1px solid var(--footer-border);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--color-white);
  border-color: var(--footer-accent);
  background: rgba(78, 205, 196, 0.1);
}

/* ── Nav columns ───────────────────────────────────── */
.footer-col__heading {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--footer-accent);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav a {
  font-size: var(--text-sm);
  color: var(--footer-text-dim);
  text-decoration: none;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--color-white);
  padding-left: 6px;
}

/* ── Contact column ────────────────────────────────── */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.footer-contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--footer-text-dim);
  line-height: 1.6;
}

.footer-contact__item svg {
  color: var(--footer-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact__link {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-base);
  transition: color var(--transition-fast);
}

.footer-contact__link:hover {
  color: var(--footer-accent);
}

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-hours__row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-3);
  font-size: var(--text-xs);
  padding: 2px 0;
}

.footer-hours__row:not(:last-child) {
  border-bottom: 1px solid var(--footer-border);
  padding-bottom: 5px;
}

.footer-hours__day {
  color: var(--footer-text);
  font-weight: 600;
}

.footer-hours__time {
  color: var(--footer-text-muted);
  text-align: right;
}

/* ── Bottom bar ────────────────────────────────────── */
.site-footer__bottom {
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  padding: var(--space-5) 0;
}

.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-legal__copy {
  font-size: var(--text-xs);
  color: var(--footer-text-muted);
}

.footer-legal__links {
  display: flex;
  gap: var(--space-5);
}

.footer-legal__links a {
  font-size: var(--text-xs);
  color: var(--footer-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal__links a:hover {
  color: var(--color-white);
}

@media ( max-width: 600px ) {
  .footer-bottom__inner { flex-direction: column; align-items: flex-start; }
}

/* =====================================================
   MOBILE STICKY BAR
   ===================================================== */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--color-primary-dark);
  border-top: 2px solid var(--color-teal);
  padding: var(--space-2) var(--space-4);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.25);
}

.sticky-cta-bar__inner {
  display: flex;
  gap: var(--space-3);
}

.sticky-cta-bar .btn {
  flex: 1;
  justify-content: center;
  padding: 12px 16px;
  font-size: var(--text-sm);
}

/* =====================================================
   BREADCRUMBS
   ===================================================== */
.breadcrumbs {
  padding: var(--space-3) 0 var(--space-4);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs__item:not(:last-child)::after {
  content: '/';
  color: rgba(255,255,255,0.2);
}

.breadcrumbs__item--current {
  color: rgba(255,255,255,0.55);
}

.breadcrumbs a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--color-white);
  text-decoration: none;
}

/* =====================================================
   PROCESS STEPS
   ===================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-6);
  margin: var(--space-10) 0;
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 48px;
  height: 48px;
  background: var(--color-teal-light);
  color: var(--color-teal);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 0 auto var(--space-4);
}

.step__title {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.step__desc {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.page-hero {
  background: var(--color-ink);
  padding: var(--space-16) 0 var(--space-14);
  color: var(--color-white);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp( 2.25rem, 5vw, 3.5rem );
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.page-hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-6);
  max-width: 560px;
  line-height: 1.65;
}

/* =====================================================
   ALERT / NOTICE BOX
   ===================================================== */
.notice {
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  border-left: 4px solid;
  margin: var(--space-6) 0;
  font-size: var(--text-sm);
}

.notice--warning {
  background: #FFF8E7;
  border-color: var(--color-warning);
  color: var(--color-warning-dark, #7A5C00);
}

.notice--info {
  background: var(--color-teal-light);
  border-color: var(--color-teal);
  color: var(--color-teal-dark);
}

/* =====================================================
   HERO — ENHANCED
   ===================================================== */
.hero--homepage {
  min-height: min(72vh, 620px);
}

/* ─── HERO SLIDER ──────────────────────────────────── */

/* Slides live absolutely inside .hero; each fills it entirely */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.75s ease, visibility 0s linear 0.75s;
}

.hero-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.75s ease;
}

/* Controls row: prev arrow | dots | next arrow */
.hero-slider__controls {
  position: absolute;
  bottom: 44px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  pointer-events: none; /* let children re-enable */
}

.hero-slider__arrow {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.18s ease, transform 0.18s ease;
}

.hero-slider__arrow:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.08);
}

.hero-slider__dots {
  pointer-events: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Each dot is a pill — widens + fills when active */
.hero-slider__dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: width 0.3s ease, background 0.3s ease;
}

.hero-slider__dot.is-active {
  width: 52px;
  background: rgba(255, 255, 255, 0.35);
}

/* Progress fill animation on the active dot */
.hero-slider__dot-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 2px;
}

.hero-slider__dot.is-active .hero-slider__dot-fill {
  animation: sliderDotProgress 6s linear forwards;
}

@keyframes sliderDotProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ── Offer badge pills ─────────────────────── */
.hero__offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.hero__offer-pill--amber {
  background: #e07d10;
  color: #fff;
}

.hero__offer-pill--teal {
  background: var(--color-teal, #0891b2);
  color: #fff;
}

/* Small print below actions */
.hero__small-print {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.48);
  margin-top: calc(-1 * var(--space-4));
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.hero__nhs-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: #28A745;
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.hero__location-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
}

.hero__google-rating {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-5);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(6px);
}

.hero__google-stars {
  color: #F5A623;
  font-size: var(--text-xl);
  letter-spacing: 2px;
  line-height: 1;
}

.hero__google-text {
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.95);
}

.hero__title-highlight {
  color: #7ECBF0;
  display: block;
}

/* =====================================================
   LOCATION LANDING PAGE
   ===================================================== */

/* Hero enhancements */
.loc-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: flex-start;
  margin-bottom: var(--space-6);
}

.loc-hero__badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: var(--space-1) var(--space-3);
  border-radius: 50px;
}

.loc-hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-8);
}

.loc-hero__actions--left {
  justify-content: flex-start;
}

.loc-hero-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-10);
  align-items: center;
}

.loc-hero-copy {
  text-align: left;
}

.loc-hero-media {
  position: relative;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: var(--radius-xl);
  padding: var(--space-7);
}

.loc-hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

.loc-hero-media__card {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  color: #fff;
  font-size: var(--text-sm);
  background: rgba(15,81,132,0.5);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.loc-hero-media__card strong {
  font-size: var(--text-base);
  color: #fff;
}

.loc-hero__trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-5);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.2);
}

.loc-hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
}

.loc-hero__trust-item svg {
  opacity: 0.8;
  flex-shrink: 0;
}

/* Direction card */
.loc-direction-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--color-grey-50, #f9fafb);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

.loc-direction-card svg {
  color: var(--color-cta);
  flex-shrink: 0;
}

.loc-direction-card > div {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.loc-direction-card strong {
  color: var(--color-text-primary);
  font-size: var(--text-sm);
}

.loc-direction-card span {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

.loc-check-list--spaced {
  margin-top: var(--space-6);
}

.loc-cta-row {
  margin-top: var(--space-7);
}

.loc-compact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-10);
  align-items: center;
}

.loc-media-card {
  margin: 0;
  background: var(--color-grey-50, #f9fafb);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.loc-media-card img {
  width: 100%;
  height: auto;
  display: block;
}

.loc-media-card figcaption {
  margin-top: var(--space-4);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  text-align: center;
}

/* Services grid */
.loc-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}

.loc-service-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.loc-service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.loc-service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(15, 81, 132, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.loc-service-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-grey-200);
  background-color: var(--color-grey-50, #f9fafb);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: var(--space-3);
}

.loc-service-card__body {
  padding: 0 var(--space-2) var(--space-2);
}

.loc-service-card__thumb--eye,
.loc-service-card__thumb--glasses,
.loc-service-card__thumb--contacts,
.loc-service-card__thumb--retina,
.loc-service-card__thumb--pressure,
.loc-service-card__thumb--red {
  background-image: linear-gradient(rgba(15, 81, 132, 0.16), rgba(15, 81, 132, 0.16)), url('https://jenningsopticians.co.uk/assets/images/hero.svg');
}

.loc-service-card__thumb--eye {
  background-image: linear-gradient(rgba(15, 81, 132, 0.16), rgba(15, 81, 132, 0.16)), url('https://jenningsopticians.co.uk/assets/images/hero.svg');
}

.loc-service-card__thumb--glasses {
  background-image: linear-gradient(rgba(15, 81, 132, 0.16), rgba(15, 81, 132, 0.16)), url('https://jenningsopticians.co.uk/assets/images/team-practice.svg');
}

.loc-service-card__thumb--contacts {
  background-image: linear-gradient(rgba(15, 81, 132, 0.16), rgba(15, 81, 132, 0.16)), url('https://jenningsopticians.co.uk/assets/images/team-practice.svg');
}

.loc-service-card__thumb--retina {
  background-image: linear-gradient(rgba(15, 81, 132, 0.16), rgba(15, 81, 132, 0.16)), url('https://jenningsopticians.co.uk/assets/images/hero.svg');
}

.loc-service-card__thumb--pressure {
  background-image: linear-gradient(rgba(15, 81, 132, 0.16), rgba(15, 81, 132, 0.16)), url('https://jenningsopticians.co.uk/assets/images/team-practice.svg');
}

.loc-service-card__thumb--red {
  background-image: linear-gradient(rgba(15, 81, 132, 0.16), rgba(15, 81, 132, 0.16)), url('https://jenningsopticians.co.uk/assets/images/hero.svg');
}

.loc-service-card__body h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 var(--space-2);
}

.loc-service-card__body p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0 0 var(--space-3);
  line-height: 1.55;
}

.loc-service-card__cta {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-cta);
  margin-top: auto;
}

/* Split grid */
.loc-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.loc-split-grid--reverse .loc-split-grid__text { order: 2; }
.loc-split-grid--reverse .loc-split-grid__panel { order: 1; }

.loc-split-grid__text h2 {
  margin-bottom: var(--space-4);
}

.loc-split-grid__panel {
  background: var(--color-grey-50, #f9fafb);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.loc-panel__heading {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-primary);
}

.loc-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.loc-check-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  font-weight: 500;
}

.loc-check-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.loc-check-list__item--spaced {
  margin-bottom: var(--space-4);
}

/* Glasses feature pills */
.loc-glasses-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}

.loc-glasses-feature {
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border-top: 3px solid var(--color-primary);
}

.loc-glasses-feature strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.loc-glasses-feature p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* CL brand list */
.loc-cl-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-grey-200);
}

.loc-cl-brand:last-child { border-bottom: none; }

.loc-cl-brand__name {
  font-size: var(--text-xl);
  font-weight: 800;
  line-height: 1;
}

.loc-cl-brand__sub {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  text-align: right;
}

/* Why grid */
.loc-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.loc-why-card {
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  position: relative;
}

.loc-why-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(15,81,132,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.loc-why-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  margin: 0 0 var(--space-2);
}

.loc-why-card p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.55;
}

/* Reviews */
.loc-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.loc-review {
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  margin: 0;
}

.loc-review__stars {
  color: var(--color-star, #f59e0b);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.loc-review__text {
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.65;
  margin: 0 0 var(--space-4);
  font-size: var(--text-sm);
}

.loc-review__author {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
}

/* Inline CTA band */
.loc-inline-cta {
  background: var(--color-primary);
  padding: var(--space-8) 0;
}

.loc-inline-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.loc-inline-cta__title {
  display: block;
  color: #fff;
  font-size: var(--text-xl);
  font-weight: 700;
}

.loc-inline-cta__sub {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}

.loc-inline-cta__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  flex-shrink: 0;
}

.loc-inline-cta--boxed {
  margin-top: var(--space-12);
  border-radius: var(--radius-xl);
}

.loc-inline-cta__container-reset {
  padding: 0;
}

.loc-inline-cta__inner--boxed {
  padding: var(--space-10);
}

/* Responsive */
@media (max-width: 1100px) {
  .loc-services-grid { grid-template-columns: repeat(2, 1fr); }
  .loc-glasses-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .loc-hero-shell { grid-template-columns: 1fr; }
  .loc-hero-copy { text-align: center; }
  .loc-hero__badges { justify-content: center; }
  .loc-hero__actions--left { justify-content: center; }
  .loc-compact-grid { grid-template-columns: 1fr; }
  .loc-split-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .loc-split-grid--reverse .loc-split-grid__text { order: 1; }
  .loc-split-grid--reverse .loc-split-grid__panel { order: 2; }
  .loc-why-grid { grid-template-columns: repeat(2, 1fr); }
  .loc-reviews-grid { grid-template-columns: 1fr; }
  .loc-inline-cta__inner--boxed { padding: var(--space-8); }
}

@media (max-width: 600px) {
  .loc-services-grid { grid-template-columns: 1fr; }
  .loc-glasses-features { grid-template-columns: 1fr; }
  .loc-why-grid { grid-template-columns: 1fr; }
  .loc-inline-cta__inner { flex-direction: column; }
  .loc-hero__trust-row { gap: var(--space-3); }
}

/* =====================================================
   BRAND MARQUEE CAROUSEL
   ===================================================== */
.brand-marquee-section {
  padding-bottom: var(--space-16);
}

.brand-marquee {
  overflow: hidden;
  position: relative;
  margin-top: var(--space-10);
  padding: var(--space-2) 0;
}

.brand-marquee::before,
.brand-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.brand-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--color-white) 20%, transparent);
}

.brand-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--color-white) 20%, transparent);
}

.brand-marquee--alt::before {
  background: linear-gradient(to right, var(--color-grey-50, #f9fafb) 20%, transparent);
}

.brand-marquee--alt::after {
  background: linear-gradient(to left, var(--color-grey-50, #f9fafb) 20%, transparent);
}

.brand-marquee__track {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  width: max-content;
  animation: brandMarquee 40s linear infinite;
}

.brand-marquee__track--slow {
  animation-duration: 22s;
}

.brand-marquee__track:hover {
  animation-play-state: paused;
}

.brand-marquee__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-8);
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-md);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 120px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.brand-marquee__item--lg {
  padding: var(--space-6) var(--space-10);
  min-width: 180px;
}

.brand-marquee__item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.brand-marquee__name {
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
  line-height: 1;
}

.brand-marquee__name--lg {
  font-size: var(--text-xl);
}

@keyframes brandMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    gap: var(--space-3);
  }
}

/* =====================================================
   STATS BAND
   ===================================================== */
.stats-band {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  padding: var(--space-10) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.15);
}

/* =====================================================
   FLOATING BOOKING BUBBLE
   ===================================================== */
.booking-bubble {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 130px;
  height: 130px;
  background: var(--color-cta);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(255, 107, 53, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 14px;
  gap: 6px;
}

.booking-bubble:hover,
.booking-bubble:focus-visible {
  transform: scale(1.07);
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.65);
  color: #fff;
  text-decoration: none;
  outline-offset: 4px;
}

.booking-bubble__main {
  font-weight: 800;
  font-size: 0.7rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.booking-bubble__sub {
  font-size: 0.6rem;
  font-weight: 500;
  opacity: 0.9;
  line-height: 1.2;
}

@media (max-width: 480px) {
  .booking-bubble {
    width: 110px;
    height: 110px;
    bottom: 16px;
    right: 14px;
    padding: 12px;
  }
  .booking-bubble__main { font-size: 0.65rem; }
  .booking-bubble__sub  { font-size: 0.55rem; }
}

.feedback-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--color-primary-dark);
  color: #fff;
  padding: 12px 10px;
  min-height: 110px;
  width: 42px;
  border-radius: 10px 0 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-right: 0;
  box-shadow: -6px 10px 24px rgba(0, 0, 0, 0.22);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.7rem;
}

.feedback-tab:hover,
.feedback-tab:focus-visible {
  background: var(--color-teal-dark);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .feedback-tab {
    top: auto;
    bottom: 94px;
    transform: none;
  }
}

@media (max-width: 768px) {
  .feedback-tab {
    width: auto;
    min-height: 0;
    right: 14px;
    bottom: 94px;
    border-radius: var(--radius-full);
    padding: 10px 14px;
    writing-mode: horizontal-tb;
    text-orientation: initial;
    letter-spacing: 0.04em;
    border: 0;
  }
}

@media (max-width: 480px) {
  .feedback-tab {
    right: 10px;
    bottom: 132px;
    font-size: 0.62rem;
  }
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.stats-band__item {
  text-align: center;
  padding: var(--space-5) var(--space-4);
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stats-band__item:last-child {
  border-right: none;
}

.stats-band__number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.stats-band__label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  line-height: 1.3;
}

/* =====================================================
   SERVICE CARDS — ENHANCED
   ===================================================== */
.services-section {
  padding: var(--space-24) 0 var(--space-20);
}

.services-section .section-header {
  max-width: 680px;
  margin: 0 auto var(--space-14);
}

.service-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--color-teal-light);
  color: var(--color-teal-dark);
  border: 1px solid rgba(26,122,130,0.2);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  margin-bottom: var(--space-3);
}

.service-card__badge--nhs {
  background: #D4EDDA;
  color: #155724;
  border-color: rgba(40,167,69,0.25);
}

.services-footnote {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-6);
}

/* =====================================================
   JENNINGS DIFFERENCE SECTION
   ===================================================== */
.difference-section {
  padding: var(--space-24) 0;
  background: var(--color-primary-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.difference-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(26,106,170,0.3) 0%, transparent 60%);
  pointer-events: none;
}

.difference-section .container {
  position: relative;
}

.section-label--light {
  color: rgba(255,255,255,0.55) !important;
  border-color: rgba(255,255,255,0.15) !important;
  background: rgba(255,255,255,0.06) !important;
}

.difference-image {
  position: relative;
}

.difference-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  display: block;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}

.difference-image__badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
}

.difference-image__badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}

.difference-image__badge span {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  margin-top: 2px;
}

.difference-content h2 {
  color: #fff;
  font-size: var(--text-4xl);
  margin-bottom: var(--space-5);
  line-height: 1.2;
}

.difference-content > p.lead {
  color: rgba(255,255,255,0.78);
  margin-bottom: var(--space-8);
}

.difference-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.difference-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.difference-feature:hover {
  background: rgba(255,255,255,0.1);
}

.difference-feature__icon {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.1);
  color: #7ECBF0;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
}

.difference-feature__text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  line-height: 1.45;
}

.difference-quote {
  background: rgba(255,255,255,0.06);
  border-left: 3px solid #7ECBF0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-8);
}

.difference-quote blockquote {
  font-family: var(--font-accent);
  font-size: var(--text-base);
  font-style: italic;
  color: rgba(255,255,255,0.88);
  margin-bottom: var(--space-2);
  line-height: 1.65;
}

.difference-quote cite {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  font-style: normal;
  font-weight: 600;
}

/* =====================================================
   LOCAL AREAS SERVED SECTION
   ===================================================== */
.areas-section {
  padding: var(--space-20) 0;
  background: var(--color-grey-50);
}

.areas-section .section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-10);
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  max-width: 900px;
  margin: 0 auto var(--space-8);
}

.area-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  background: #fff;
  border: 2px solid var(--color-grey-200);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.area-chip:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.area-chip::before {
  content: '📍';
  font-size: 0.8em;
}

.areas-section__note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  :root { --container-padding: 20px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band__item:nth-child(2) { border-right: none; }
  .difference-section .grid-2 { grid-template-columns: 1fr; gap: var(--space-12); }
  .difference-features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-2xl); }
  .hero__title { font-size: var(--text-4xl); }
  .hero--homepage { min-height: 480px; }
  .hero { min-height: 460px; }
  .hero__title-highlight { display: inline; }

  .site-nav { display: none; }
  .site-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0c3f6a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 2px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    z-index: 999;
    animation: navSlideDown 0.2s ease both;
  }
  @keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .site-nav.is-open > ul {
    flex-direction: column;
    padding: var(--space-3) var(--space-4) var(--space-4);
    gap: 2px;
  }
  /* Full-width tap targets on mobile */
  .site-nav.is-open > ul > li > a,
  .site-nav.is-open > ul > li > .mega-menu-trigger {
    display: flex;
    width: 100%;
    padding: var(--space-3) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
  }
  .site-nav.is-open > ul > li > a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
  }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .booking-section__grid { grid-template-columns: 1fr; }
  .location-section__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .footer-bottom__inner { flex-direction: column; text-align: center; }
  .footer-legal__links { justify-content: center; }
  .trust-bar__items { gap: var(--space-3); flex-wrap: wrap; }

  .new-patients-bar { padding: 8px 0; }
  .new-patients-bar__inner { flex-direction: column; gap: var(--space-2); text-align: center; }
  .new-patients-bar__msg { justify-content: center; font-size: 0.7rem; }

  .sticky-cta-bar { display: block; }
  body { padding-bottom: 80px; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .cta-band__actions { flex-direction: column; align-items: center; }
  .cta-band__actions .btn { width: 100%; max-width: 360px; }

  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stats-band__item:nth-child(3), .stats-band__item:last-child { border-bottom: none; }
  .stats-band__number { font-size: var(--text-3xl); }

  .difference-section { padding: var(--space-16) 0; }
  .difference-content h2 { font-size: var(--text-3xl); }
  .difference-image__badge { bottom: var(--space-3); left: var(--space-3); }

  .area-chip { font-size: var(--text-xs); padding: 8px 14px; }
}

@media (max-width: 480px) {
  :root { --container-padding: 16px; }
  h1 { font-size: var(--text-3xl); }
  .hero__title { font-size: var(--text-3xl); }
  .hero--homepage { min-height: 420px; }
  .hero { min-height: 380px; }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); }
  .difference-features { grid-template-columns: 1fr; }
}

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
  .site-header, .sticky-cta-bar, .cta-band, .site-footer { display: none; }
  body { font-size: 12pt; color: #000; }
  a { text-decoration: none; color: #000; }
  .hero { min-height: auto; background: none; }
  .hero__overlay { display: none; }
  .hero__content { color: #000; }
}
