@import url("https://fonts.googleapis.com/css2?family=Mona+Sans:ital,wght@0,200..900;1,200..900&display=swap");

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
  --primary: #334c75;
  --accent: #C9A24A;
  --light-bg: #f8f7f6;
  --card-bg: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-light: #6B7280;
  --border: #E5E7EB;
  --blue-600: #2563EB;
  --blue-700: #1b45ba;
}

#hero,
#counter,
#equipments,
#about-optometrist,
#faq,
#feedback {
  scroll-margin-top: 4.5rem;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--light-bg);
  color: var(--text-dark);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0.625rem 0.875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, top 0.3s, box-shadow 0.3s;
}

.navbar.not-scrolled {
  background: transparent;
  top: 0;
}

.navbar.scrolled {
  top: 0;
  background: var(--primary);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}

.navbar.scrolled .logo {
  color: #fff;
}

.navbar.scrolled .logo span {
  color: var(--accent);
}

.navbar.scrolled nav a,
.navbar.scrolled .nav-eye-faq-toggle,
.navbar.scrolled .nav-policy-toggle {
  color: rgba(255, 255, 255, 0.85);
}

.navbar.scrolled nav a:hover,
.navbar.scrolled .nav-eye-faq-toggle:hover,
.navbar.scrolled .nav-policy-toggle:hover {
  color: #fff;
}

.logo {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  max-width: 8.75rem;
  transition: transform 0.3s;
}

.logo img {
  display: none;
  height: 2rem;
  width: auto;
}

.logo:hover {
  transform: scale(1.04);
}

.logo span {
  font-weight: 300;
  color: var(--primary);
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav a,
.nav-eye-faq-toggle,
.nav-policy-toggle {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  transition: color 0.25s;
}

nav a::after,
.nav-eye-faq-toggle::after,
.nav-policy-toggle::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-600);
  transition: width 0.25s;
}

nav a:hover::after,
.nav-eye-faq-toggle:hover::after,
.nav-eye-faq-toggle[aria-expanded="true"]::after,
.nav-policy-toggle:hover::after,
.nav-policy-toggle[aria-expanded="true"]::after {
  width: 100%;
}

.nav-book-btn {
  display: none;
  align-items: center;
  gap: 0.375rem;
  background: #d9ecff;
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.625rem 1.375rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(201, 162, 74, 0.35);
}

.nav-book-btn:hover {
  background: #B8923F;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(201, 162, 74, 0.45);
}

.nav-book-btn::after {
  display: none !important;
}


/* ─── Hero ──────────────────────────────────────────────────── */
#hero {
  width: 100%;
  padding: clamp(4.75rem, 14vw, 7rem) clamp(0.625rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2.5rem);
  max-width: 100%;
  margin: 0 auto;
}

.hero-card {
  position: relative;
  width: 100%;
  border-radius: 0.7rem;
  overflow: hidden;
  min-height: clamp(420px, 70vw, 78vh);
  display: flex;
  align-items: center;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 0.55) 45%,
      rgba(255, 255, 255, 0.08) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: clamp(20rem, 60vw, 40rem);
  padding: clamp(1.5rem, 6vw, 3.5rem) clamp(1.125rem, 6vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 0.9s ease forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: clamp(1.75rem, 6vw, 3.75rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-slider-row {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.6rem;
  max-width: 100%;
}

.slide-container {
  color: var(--blue-600);
  display: inline-block;
  position: relative;
  vertical-align: middle;
  overflow: hidden;
  flex-shrink: 0;
  /* "Eye Health" (10 chars) + icon + gap, sized in font-relative units so it
     scales with the h1's clamp()'d font-size instead of a JS-measured px lock */
  width: calc(10ch + 0.5rem + 0.7em);
  height: 1.3em;
  max-width: 100%;
  /* clips the scroll so only one word shows at a time */
}

.slide-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
}

.slide-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

.slide-item.active {
  animation: scrollIn 0.7s cubic-bezier(0.6, 1, 0.5, 1) forwards;
  pointer-events: auto;
}

.slide-item.exit {
  animation: scrollOut 0.7s cubic-bezier(0.7, 1, 0.75, 1) forwards;
}

@keyframes scrollIn {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0%);
  }
}

@keyframes scrollOut {
  from {
    opacity: 1;
    transform: translateY(0%);
  }

  to {
    opacity: 0;
    transform: translateY(-100%);
  }
}

.slide-icon {
  width: 0.7em;
  height: 0.7em;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  padding: 0.15em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.slide-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.85;
  filter: none;
}

.hero-phone {
  color: var(--blue-600);
  font-weight: 600;
  white-space: nowrap;
}

.hero-contact-extra {
  font-size: 0.92rem;
  color: #374151;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.hero-contact-extra .hero-contact-sep {
  display: none;
}

@media (min-width: 640px) {
  .hero-contact-extra {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .hero-contact-extra .hero-contact-sep {
    display: inline;
  }
}

.hero-contact-extra a {
  color: var(--blue-600);
  font-weight: 600;
  text-decoration: none;
}

.hero-contact-extra a:hover {
  color: var(--primary);
}

.hero-contact-sep {
  color: #9CA3AF;
}

.hero-contact-extra-outside {
  width: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1.5rem 0.25rem;
}

@media (min-width: 640px) {
  .hero-contact-extra-outside {
    flex-direction: row;
  }
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.6vw, 1.1rem);
  color: #374151;
  font-weight: 400;
  max-width: min(100%, 27.5rem);
  line-height: 1.7;
}

/* CTA Button — gold accent */
.cta-btn {
  display: inline-block;
  background: #d9ecff;
  color: #0F4C81;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
}

.cta-btn:hover {
  background: #B8923F;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.32);
}

/* ─── Contact Lens Notice ─────────────────────────────────────── */
.contact-lens-notice {
  width: 100%;
  padding: 1rem 1.5rem;
  text-align: left;
  background: var(--light-bg);
}

.contact-lens-notice p {
  max-width: 47.5rem;
  margin: 0 auto 0 0;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .contact-lens-notice {
    text-align: center;
  }

  .contact-lens-notice p {
    margin: 0 auto;
  }
}

/* ─── Counter / Stats ───────────────────────────────────────── */
#counter {
  width: 100%;
  max-width: 68.75rem;
  margin: 0 auto;
  padding: 1.5rem 0.75rem 2rem;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.counter-card,
.loc-card,
.equip-feature-card {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s, transform 0.3s;
}

.counter-card {
  border-radius: 1rem;
  padding: 1.25rem 0.625rem;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.counter-card.visible {
  animation: cardIn 0.5s ease forwards;
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.counter-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.counter-number {
  font-size: clamp(1.84rem, 3.5vw, 1.9rem);
  font-weight: 700;
  color: #1b45ba;
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}

.counter-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 400;
  color: var(--text-light);
}

/* ─── Section Shared ────────────────────────────────────────── */
.section-wrap {
  width: 100%;
  max-width: 68.75rem;
  margin: 0 auto;
  padding: 2.5rem 0.875rem;
}

.section-eyebrow,
.faq-section-label {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
}

.section-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  margin-bottom: 0.5rem;
}

.section-title,
.faq-section-title,
.equip-section-title {
  font-weight: 900;
  color: #111827;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.faq-section-title {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  line-height: 1.2;
}

.equip-section-title {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

/* ─── Equipments ────────────────────────────────────────────── */
#equipments .section-header {
  margin-bottom: 3rem;
}

.showcase-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.showcase-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.showcase-item .img-wrap {
  border-radius: 0.5rem;
  overflow: hidden;
}

.showcase-item .img-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.oct-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.oct-gallery-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #000;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

.oct-gallery-item img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  background: #000;
  display: block;
}

.oct-gallery-item p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
  padding: 0.75rem 1rem 1rem;
  background: #fff;
}

@media (min-width: 640px) {
  .oct-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .oct-gallery-item img {
    height: 220px;
    max-height: none;
    object-fit: cover;
    background: none;
  }
}

@media (min-width: 1024px) {
  .oct-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.equip-features-row {
  grid-template-columns: 1fr !important;
}

.equip-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
}

.showcase-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-600);
  margin-top: 0.125rem;
  transition: gap 0.2s, color 0.2s;
}

.showcase-learn-more:hover {
  gap: 0.5rem;
  color: var(--blue-700);
}

.showcase-learn-more svg {
  flex-shrink: 0;
}

.showcase-item h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  transition: color 0.25s;
}

.showcase-item:hover h2 {
  color: inherit;
}

.showcase-item p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: -0.25rem;
}

/* ─── Appointments Page ──────────────────────────────────────── */
.appt-page {
  min-height: 100vh;
  background: var(--light-bg);
  padding-top: 5rem;
}

.appt-hero {
  background: var(--primary);
  color: #fff;
  padding: 2rem 0.875rem;
  text-align: center;
}

.appt-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 0.625rem;
}

.appt-hero p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 31.25rem;
  margin: 0 auto;
}

.appt-hero .hero-contact-extra {
  margin-top: 0.875rem;
  align-items: center;
  justify-content: center;
}

.appt-hero .hero-contact-extra a {
  color: #fff;
}

.appt-hero .hero-contact-extra a:hover {
  color: var(--accent);
}

.appt-hero .hero-contact-extra .hero-contact-sep {
  color: rgba(255, 255, 255, 0.4);
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9375rem;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 2rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
  text-decoration: none;
}

.submit-btn:hover {
  background: #263A5C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(51, 76, 117, 0.3);
}

.submit-btn-inline {
  display: inline-flex;
  width: auto;
  padding: 0.9375rem 2.5rem;
  text-decoration: none;
}

.link-primary {
  color: var(--blue-600);
  font-weight: 600;
}

.info-text {
  display: inline-flex;
  align-items: center;
  background: #fdf6e3;
  color: #7a5c1e;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--accent);
  white-space: nowrap;
  vertical-align: middle;
}

/* ─── Footer ───────────────────────────────────────── */
footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.25rem 0.875rem 1.5rem;
}

.footer-inner {
  max-width: 68.75rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-logo img {
  height: 2rem;
  width: auto;
}

.footer-logo span {
  color: var(--accent);
  font-weight: 300;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 100%;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.875rem;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a,
.footer-contact a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 68.75rem;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  text-align: center;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom-sep {
  display: none;
  color: rgba(255, 255, 255, 0.25);
}

/* ─── Locations Page ────────────────────────────────────────── */
.locations-body {
  max-width: 75rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.locations-notice,
.accordion-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.6;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.locations-notice svg,
.accordion-notice svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--primary);
}

.accordion-notice {
  margin-top: 0.85rem;
}

.loc-group-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

.loc-group-header svg {
  color: var(--primary);
}

.loc-group-header h2 {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  margin: 0;
}

.loc-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.loc-card {
  border-radius: 1.25rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.loc-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
}

.loc-card-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.loc-card-top h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.loc-tag,
.loc-tag-red,
.loc-tag-green {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(51, 76, 117, 0.1);
  color: var(--primary);
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

.loc-address {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.55;
}

.loc-note {
  font-size: 0.78rem;
  color: var(--text-light);
}

.loc-card-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.loc-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s, gap 0.2s;
}

.loc-map-btn:hover {
  color: var(--blue-600);
  gap: 0.5rem;
}

.loc-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s, gap 0.2s;
}

.loc-book-btn:hover {
  color: #B8923F;
  gap: 0.5rem;
}

.loc-cta {
  background: var(--light-bg);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
}

.loc-cta h2 {
  font-size: 1.75rem;
  font-weight: 900;
  color: #111827;
  margin-bottom: 0.625rem;
}

.loc-cta p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.loc-cta .cta-phone-note {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.loc-cta .cta-phone-note a {
  color: var(--blue-600);
  font-weight: 600;
}

/* ─── FAQ Page ──────────────────────────────────────────────── */
.faq-body {
  max-width: 53.75rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.faq-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.policy-cross-link {
  margin-bottom: -2rem;
  padding: 0.85rem 1.25rem;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.faq-section-alt,
.equip-section-alt {
  background: var(--light-bg);
  border-radius: 1.5rem;
  padding: 2rem 1.25rem;
}

.faq-section-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.faq-section-intro {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.75;
}

.faq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-list li {
  display: flex;
  gap: 0.625rem;
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.65;
}

.faq-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue-600);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}



.equip-condition {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.equip-condition::before {
  display: none;
}

.faq-qa-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}

.faq-qa {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.faq-qa:last-child {
  border-bottom: none;
}

.faq-q {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.375rem;
}

.faq-a {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ─── Equipment Pages ───────────────────────────────────────── */
.equip-body {
  max-width: 68.75rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.equip-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.equip-intro-img {
  border-radius: 1.75rem;
  overflow: hidden;
}

.equip-intro-img img,
.equip-intro-img picture img {
  width: 100%;
  height: auto;
  display: block;
}

.equip-intro-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.equip-intro-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  color: #111827;
  line-height: 1.2;
}

.equip-intro-text p {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.75;
}

.equip-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.equip-section-title {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 900;
  color: #111827;
}

.equip-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.equip-feature-card {
  border-radius: 1.25rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.equip-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.equip-feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
}

.equip-feature-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.65;
}

.equip-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.equip-benefit {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.equip-benefit-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}

.equip-benefit strong,
.equip-benefit p {
  display: block;
}

.equip-benefit strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.equip-benefit p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}

.equip-conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

/* ─── Who is an Optometrist ─────────────────────────────────── */
#about-optometrist {
  background: var(--primary);
}

#about-optometrist .section-wrap {
  padding: 6rem 2.5rem;
}

#about-optometrist .section-eyebrow {
  color: var(--accent);
}

#about-optometrist .section-title {
  color: #fff;
  margin-bottom: 1.25rem;
}

.optom-definition {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.optom-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.75rem;
}

.optom-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.optom-list li {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  padding-left: 1.25rem;
  position: relative;
}

.optom-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ─── FAQ Accordion ─────────────────────────────────────────── */
#faq {
  position: relative;
  background: var(--light-bg);
}

.faq-accordion {
  max-width: 48.75rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accordion-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.accordion-trigger:hover {
  color: var(--blue-600);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-light);
  transition: transform 0.3s ease;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-item.open .accordion-trigger {
  color: var(--blue-600);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}

.accordion-item.open .accordion-body {
  max-height: 1200px;
  padding: 0 1.5rem 1.25rem;
}

.accordion-body p {
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.75;
}

.accordion-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-left: 0.25rem;
}

.accordion-list li {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.6;
  padding-left: 1rem;
  position: relative;
}

.accordion-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-600);
}

/* ─── Scroll-reveal utility ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ────────────────────────────────────────────── */

/* ── Tablet: 640px and above ── */
@media (min-width: 640px) {
  .hero-content h1 {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  }

  .navbar {
    padding: 1.125rem 1.75rem;
  }

  .logo {
    font-size: 1.45rem;
    max-width: none;
  }

  nav {
    gap: 1.5rem;
  }

  nav a,
  .nav-eye-faq-toggle,
  .nav-policy-toggle {
    font-size: 1.1rem;
  }

  .showcase-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  #counter {
    padding: 2rem 1.25rem 2.5rem;
  }

  .counter-grid {
    gap: 1rem;
  }

  .counter-card {
    padding: 1.625rem 0.875rem;
    
  }

  .section-wrap {
    padding: 3.5rem 1.5rem;
  }

  .loc-cards {
    grid-template-columns: 1fr 1fr;
  }

  .appt-hero {
    padding: 3rem 1.5rem;
  }

  .equip-section-alt {
    padding: 1.5rem;
  }

  .footer-inner {
    padding: 0.5rem 3rem;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .footer-inner .footer-col:first-child {
    grid-column: 1 / -1;
  }

  .footer-inner .footer-col:nth-child(2) {
    justify-self: start;
  }

  .footer-inner .footer-col:nth-child(3) {

    justify-self: center;
  }
}

/* ── Logo image: 960px and above ── */
@media (min-width: 960px) {
  .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .logo img {
    display: block;
  }
}

/* ── Desktop: 980px and above ── */
@media (min-width: 980px) {
  .navbar {
    padding: 1.125rem 2.5rem;
  }

  .logo {
    font-size: 1.35rem;
  }

  nav {
    gap: 3.25rem;
  }

  nav a,
  .nav-eye-faq-toggle,
  .nav-policy-toggle {
    font-size: 0.95rem;
  }

  .nav-book-btn {
    display: inline-flex;
  }

  .hero-card {
    min-height: 52vh;
    max-height: 52vh;
  }

  #counter {
    padding: 3rem 2.5rem 3.5rem;
  }

  .counter-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  .counter-card {
    padding: 2rem 1.25rem;
  }

  .section-wrap {
    padding: 4.5rem 2.5rem;
  }


  .footer-inner {
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
  }

  .footer-tagline {
    max-width: 16.25rem;
  }

  .footer-bottom {
    flex-direction: row;
    gap: 0.625rem;
    text-align: left;
  }

  .footer-bottom-sep {
    display: inline;
  }

  .loc-cards {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .appt-hero {
    padding: 3.5rem 2.5rem;
  }

  .equip-intro {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .equip-section-alt {
    padding: 2rem;
  }
}

/* ─── Navbar Dropdowns (Eye FAQ + Policy) ─────────────────────── */
.nav-eye-faq-dropdown,
.nav-policy-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-eye-faq-toggle,
.nav-policy-toggle {
  font-family: inherit;
  line-height: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-eye-faq-panel,
.nav-policy-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  max-width: calc(100vw - 2rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.18);
  padding: 0.875rem 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  z-index: 110;
  animation: navDropdownIn 0.25s ease forwards;
}

.nav-eye-faq-panel[hidden],
.nav-policy-panel[hidden] {
  display: none;
}

.nav-eye-faq-panel.is-closing,
.nav-policy-panel.is-closing {
  animation: navDropdownOut 0.2s ease forwards;
}

@keyframes navDropdownIn {
  from {
    opacity: 0;
    transform: translateX(-50%) scale(0.9) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) scale(1) translateY(0);
  }
}

@keyframes navDropdownOut {
  from {
    opacity: 1;
    transform: translateX(-50%) scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(-50%) scale(0.9) translateY(-8px);
  }
}

.nav-eye-faq-panel a,
.nav-policy-panel a,
.navbar.scrolled .nav-eye-faq-panel a,
.navbar.scrolled .nav-policy-panel a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-eye-faq-panel a:hover,
.nav-policy-panel a:hover,
.navbar.scrolled .nav-eye-faq-panel a:hover,
.navbar.scrolled .nav-policy-panel a:hover {
  color: var(--primary);
}

/* ─── Eye Exam Page (page-scoped list overrides) ──────────────── */
.eye-exam-list {
  display: block;
}

.eye-exam-list li {
  display: block;
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.85rem;
}

.eye-exam-list li:last-child {
  margin-bottom: 0;
}

.eye-exam-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: -0.4em;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

.eye-exam-list > li > strong {
  color: var(--text-dark);
}

.eye-exam-sublist {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
}

.eye-exam-gold-box {
  background: #fff;
  border-left: 4px solid var(--accent);
  border-radius: 0.6rem;
  padding: 1rem 0.875rem;
}