/* ============================================================
   District Vision Care — Main Stylesheet
   ============================================================ */

/* 1. CSS Custom Properties & Reset
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand Colors */
  --navy:         #1B3A5C;
  --navy-dark:    #112436;
  --navy-light:   #244d78;
  --teal:         #0D9488;
  --teal-light:   #2DD4BF;
  --teal-dark:    #0A7368;

  /* Neutrals */
  --slate-950:    #0A0F1A;
  --slate-900:    #0F172A;
  --slate-800:    #1E293B;
  --slate-700:    #334155;
  --slate-600:    #475569;
  --slate-500:    #64748B;
  --slate-400:    #94A3B8;
  --slate-300:    #CBD5E1;
  --slate-200:    #E2E8F0;
  --slate-100:    #F1F5F9;
  --slate-50:     #F8FAFC;
  --white:        #FFFFFF;

  /* Semantic Aliases */
  --color-text:        var(--slate-800);
  --color-text-muted:  var(--slate-500);
  --color-border:      var(--slate-200);
  --color-bg:          var(--white);
  --color-bg-light:    var(--slate-50);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont,
               'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  /* Shadows */
  --shadow-sm:  0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow:     0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
  --shadow-md:  0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg:  0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl:  0 20px 25px -5px rgba(0,0,0,0.12), 0 8px 10px -6px rgba(0,0,0,0.1);

  /* Border Radius */
  --radius-sm:   4px;
  --radius:      8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition:      0.25s ease;

  /* Layout */
  --container-max: 1200px;
  --container-pad: 1.25rem;
  --header-height: 68px;
}

/* 2. Base Styles
   ============================================================ */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--navy);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { letter-spacing: -0.03em; }

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

/* 3. Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

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

.section--dark {
  background-color: var(--navy-dark);
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.section__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--color-text-muted);
  max-width: 580px;
  margin-inline: auto;
  line-height: 1.7;
}

/* 4. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  min-height: 44px;
}

.btn--primary {
  background-color: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn--primary:hover {
  background-color: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

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

.btn--outline-navy {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline-navy:hover {
  background-color: var(--navy);
  color: var(--white);
}

.btn--lg {
  font-size: 1.0625rem;
  padding: 1rem 2rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* 5. Header & Navigation
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: rgba(17, 36, 54, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-logo__icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-logo__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.site-logo__tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Primary Navigation */
.site-nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav__link {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius);
  transition: all var(--transition-fast);
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
  background-color: rgba(255,255,255,0.1);
}

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__phone {
  display: none;
  align-items: center;
  gap: 0.375rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.header__phone:hover {
  color: var(--white);
}

.header__phone svg {
  width: 15px;
  height: 15px;
  fill: var(--teal-light);
}

.header__book-btn {
  font-size: 0.8125rem;
  padding: 0.55rem 1.1rem;
  min-height: 44px;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background-color var(--transition-fast);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover {
  background-color: rgba(255,255,255,0.1);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--navy-dark);
  z-index: 999;
  flex-direction: column;
  padding: 1.5rem 1.25rem;
  overflow-y: auto;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.mobile-nav__link {
  display: block;
  padding: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  border-radius: var(--radius-md);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition-fast);
  min-height: 44px;
}

.mobile-nav__link:hover {
  color: var(--white);
  background-color: rgba(255,255,255,0.06);
}

.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav__phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  text-decoration: none;
}

.mobile-nav__phone:hover {
  color: var(--white);
}

.mobile-nav__phone svg {
  width: 20px;
  height: 20px;
  fill: var(--teal-light);
}

/* 6. Hero Section
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1a3a5c 50%, #1c4872 100%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 85% 50%, rgba(13,148,136,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 15% 80%, rgba(13,148,136,0.08) 0%, transparent 60%);
}

.hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255,255,255,0.04) 1.5px, transparent 0);
  background-size: 36px 36px;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.5rem, 4vw, 4rem);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1.25rem;
}

.hero__eyebrow-line {
  display: inline-block;
  width: 30px;
  height: 2px;
  background-color: var(--teal-light);
  border-radius: 2px;
}

.hero__title {
  font-size: clamp(2.25rem, 6.5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.035em;
}

.hero__title em {
  font-style: normal;
  color: var(--teal-light);
}

.hero__desc {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
}

.hero__meta-item svg {
  width: 15px;
  height: 15px;
  fill: var(--teal-light);
  flex-shrink: 0;
}

/* 7. Features Bar
   ============================================================ */
.features-bar {
  background-color: var(--white);
  border-bottom: 1px solid var(--color-border);
  padding-block: 2.5rem;
}

.features-bar__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.feature-item__icon {
  width: 42px;
  height: 42px;
  background-color: rgba(13,148,136,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item__icon svg {
  width: 21px;
  height: 21px;
  fill: var(--teal);
}

.feature-item__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.feature-item__text {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* 8. Services Grid
   ============================================================ */
.services-grid {
  display: grid;
  gap: 1.25rem;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  display: block;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  opacity: 0;
  transition: opacity var(--transition);
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(13,148,136,0.1), rgba(13,148,136,0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  fill: var(--teal);
}

.service-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.service-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal-dark);
}

.service-card__link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card__link svg {
  transform: translateX(3px);
}

/* 9. About Preview
   ============================================================ */
.about-preview {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about-preview__visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 50%, #1a5276 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-preview__visual svg {
  width: 88px;
  height: 88px;
  fill: rgba(255,255,255,0.15);
}

.about-preview__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.1rem;
  box-shadow: var(--shadow-xl);
}

.badge__value {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.badge__label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-preview__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
}

.about-preview__title {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.about-preview__text {
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 60ch;
}

.credential-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 1.5rem 0;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-700);
}

.credential-item::before {
  content: '';
  width: 20px;
  height: 20px;
  background-color: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 13px;
  background-position: center;
  background-repeat: no-repeat;
}

/* 10. Insurance Section
   ============================================================ */
.insurance-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
}

.insurance-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  background-color: var(--white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-700);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.insurance-badge:hover {
  border-color: var(--teal-dark);
  color: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* 11. CTA Banner
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #1a4a6e 100%);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255,255,255,0.04) 1.5px, transparent 0);
  background-size: 36px 36px;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
}

.cta-banner__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.cta-banner__text {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

.cta-banner__hours {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.01em;
}

/* 12. Contact Info Section
   ============================================================ */
.contact-info-grid {
  display: grid;
  gap: 1rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-info-card__icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card__icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.contact-info-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.contact-info-card__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-900);
  line-height: 1.35;
}

.contact-info-card__value a {
  color: inherit;
}

.contact-info-card__value a:hover {
  color: var(--teal-dark);
}

.contact-info-card__sub {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* 13. Footer
   ============================================================ */
.site-footer {
  background-color: var(--slate-900);
  color: rgba(255,255,255,0.65);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: 2rem;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer__desc {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 270px;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}

.footer__nav-link:hover {
  color: var(--teal-light);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-item a {
  color: inherit;
}

.footer__contact-item a:hover {
  color: var(--teal-light);
}

.footer__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 1.5rem;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

/* 14. Page Hero (Subpages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding-top: calc(var(--header-height) + clamp(2.5rem, 5vw, 4rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255,255,255,0.04) 1.5px, transparent 0);
  background-size: 36px 36px;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 0.75rem;
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.page-hero__desc {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  line-height: 1.7;
}

/* 15. Service Detail (Services Page)
   ============================================================ */
.service-detail-item {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 3.5rem;
}

.service-detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.service-detail__visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
}

.service-detail__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  object-fit: cover;
}

.service-detail__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

.service-detail__title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.service-detail__text {
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 60ch;
}

.service-detail__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.service-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--slate-700);
  line-height: 1.5;
}

.service-detail__list li::before {
  content: '';
  width: 20px;
  height: 20px;
  background-color: rgba(13,148,136,0.12);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230D9488'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 13px;
  background-position: center;
  background-repeat: no-repeat;
}

/* 16. Eyewear Page
   ============================================================ */
.eyewear-categories {
  display: grid;
  gap: 1.5rem;
}

.eyewear-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
}

.eyewear-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.eyewear-card__visual {
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.eyewear-card__visual svg {
  width: 60px;
  height: 60px;
  fill: rgba(255,255,255,0.25);
}

.eyewear-card__body {
  padding: 1.5rem;
}

.eyewear-card__title {
  font-size: 1.1875rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.eyewear-card__text {
  color: var(--color-text-muted);
  line-height: 1.65;
  font-size: 0.9375rem;
  margin: 0;
}

/* 17. Insurance Page
   ============================================================ */
.insurance-plans {
  display: grid;
  gap: 0.75rem;
}

.insurance-plan-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.insurance-plan-card:hover {
  border-color: var(--teal-dark);
  box-shadow: var(--shadow-md);
}

.insurance-plan-card__icon {
  width: 40px;
  height: 40px;
  background: rgba(13,148,136,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.insurance-plan-card__icon svg {
  width: 22px;
  height: 22px;
  fill: var(--teal);
}

.insurance-plan-card__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--slate-900);
}

.insurance-plan-card__note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* 18. About Page
   ============================================================ */
.dr-profile {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.dr-profile__visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 40%, var(--teal-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 460px;
}

.dr-profile__visual svg {
  width: 90px;
  height: 90px;
  fill: rgba(255,255,255,0.18);
}

.dr-profile__name {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.375rem;
  letter-spacing: -0.03em;
}

.dr-profile__credential {
  font-size: 1.0625rem;
  color: var(--teal-dark);
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.dr-profile__text {
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 60ch;
}

.values-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}

.value-card {
  padding: 1.625rem;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.value-card__icon {
  width: 46px;
  height: 46px;
  background: rgba(13,148,136,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.value-card__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--teal);
}

.value-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}

.value-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* 19. Contact Page
   ============================================================ */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form-card__title {
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.contact-form-card__subtitle {
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

/* 20. Forms
   ============================================================ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.form-label .req {
  color: var(--teal);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  color: var(--slate-900);
  background-color: var(--white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  appearance: none;
}

.form-control::placeholder {
  color: var(--slate-400);
}

.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

.form-control.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

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

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%2364748B'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-row {
  display: grid;
  gap: 1.25rem;
}

.form-message {
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 1rem;
}

.form-message--success {
  background-color: rgba(13,148,136,0.08);
  color: var(--teal-dark);
  border: 1px solid rgba(13,148,136,0.2);
}

.form-message--error {
  background-color: rgba(239,68,68,0.08);
  color: #dc2626;
  border: 1px solid rgba(239,68,68,0.18);
}

/* 21. Hours Table
   ============================================================ */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.hours-table tr {
  border-bottom: 1px solid var(--color-border);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 0.625rem 0;
  font-size: 0.875rem;
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--slate-700);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--color-text-muted);
}

.hours-table tr.today td {
  color: var(--teal);
  font-weight: 700;
}

/* 22. Map
   ============================================================ */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: none;
}

/* 23. Utilities & Animations
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in:nth-child(4) { transition-delay: 0.24s; }
.fade-in:nth-child(5) { transition-delay: 0.32s; }
.fade-in:nth-child(6) { transition-delay: 0.4s; }

/* 24. Responsive Breakpoints
   ============================================================ */

/* 560px+ */
@media (min-width: 560px) {
  .features-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

/* 768px+ */
@media (min-width: 768px) {
  :root {
    --container-pad: 2rem;
    --header-height: 76px;
  }

  .site-nav { display: flex; }
  .nav-toggle { display: none; }
  .header__phone { display: flex; }

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

  .about-preview {
    grid-template-columns: 1fr 1fr;
  }

  .dr-profile {
    grid-template-columns: 340px 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr 360px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .map-container iframe {
    height: 320px;
  }

  .contact-form-card {
    padding: 2.5rem;
  }
}

/* 1024px+ */
@media (min-width: 1024px) {
  :root {
    --container-pad: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-detail-item {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail-item:nth-child(even) .service-detail__visual {
    order: -1;
  }

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

  .insurance-plans {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

/* 25. Accessibility
   ============================================================ */

/* Focus-visible ring for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 2px;
}

/* 26. Print Styles
   ============================================================ */
@media print {
  /* Hide non-essential elements */
  .site-header,
  .mobile-nav,
  .nav-toggle,
  .hero__bg,
  .hero__dots,
  .cta-banner,
  .hero__actions,
  .btn,
  .fade-in { opacity: 1 !important; transform: none !important; }

  .site-header,
  .mobile-nav,
  .cta-banner::before { display: none !important; }

  /* Reset backgrounds for readability */
  body { color: #000; background: #fff; }
  .hero { min-height: auto; background: none; padding: 2rem 0; }
  .hero__bg, .hero__dots { display: none; }
  .hero__title, .hero__desc, .page-hero__title, .page-hero__desc { color: #000; }
  .page-hero { background: none; padding: 1rem 0; }
  .section, .section--light { padding-block: 1.5rem; }
  .site-footer { background: #fff; color: #000; padding: 1rem 0; }
  .footer__grid { display: none; }
  .footer__bottom { text-align: left; }
  .footer__copy { color: #666; }

  /* Show URLs for links */
  a[href^="tel:"]::after { content: " (" attr(href) ")"; font-weight: normal; }
  a[href^="mailto:"]::after { content: " (" attr(href) ")"; font-weight: normal; }

  /* Contact info prominence */
  .contact-info-card { border: 1px solid #ccc; break-inside: avoid; }
  .contact-info-card__value { font-size: 1.125rem; }

  /* Hide decorative elements */
  .hero__image, .about-preview__visual, .dr-profile__visual,
  .service-card__icon, .feature-item__icon, .contact-info-card__icon,
  .eyewear-card__visual { display: none; }

  /* Page breaks */
  .service-detail-item { break-inside: avoid; }
}

/* 26. FAQ Page
   ============================================================ */

.faq-section { margin-bottom: 3.5rem; }
.faq-section:last-child { margin-bottom: 0; }

.faq-section__heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  margin-bottom: 0.125rem;
  padding-bottom: 0.875rem;
  border-bottom: 2px solid var(--color-border);
}

.faq-item { border-bottom: 1px solid var(--color-border); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.125rem 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--slate-900);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  user-select: none;
  line-height: 1.5;
  min-height: 44px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 2px;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--teal-dark);
  line-height: 1.2;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item__answer {
  padding: 0 2rem 1.375rem 0;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.faq-item__answer p { margin-bottom: 0.75rem; }
.faq-item__answer p:last-child { margin-bottom: 0; }

/* 27. Hero two-column layout (text + image)
   ============================================================ */

/* The image column is hidden on mobile — hero stays text-only */
.hero__image {
  display: block;
  margin-top: 2rem;
  border-radius: var(--radius-lg, 1rem);
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg, 1rem);
  object-fit: cover;
}

/* At 900px+ split the hero into two equal columns */
@media (min-width: 900px) {
  .hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }

  .hero__image {
    margin-top: 0;
    padding-top: 3.25rem;
  }
}

/* 28. Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 29. High Contrast Mode
   ============================================================ */
@media (prefers-contrast: more) {
  :root {
    --color-text-muted: var(--slate-700);
    --color-border: var(--slate-400);
  }

  .hero__desc,
  .hero__meta-item,
  .cta-banner__text,
  .cta-banner__hours,
  .page-hero__desc {
    color: rgba(255,255,255,0.92);
  }

  .footer__desc,
  .footer__heading,
  .footer__nav-link,
  .footer__contact-item,
  .footer__copy {
    color: rgba(255,255,255,0.8);
  }

  .site-logo__tagline {
    color: rgba(255,255,255,0.75);
  }

  a {
    text-decoration: underline;
  }

  .btn, .nav__link, .mobile-nav__link, .site-logo, .footer__nav-link {
    text-decoration: none;
  }
}
