/* ================================================================
   NEIGHBORHOOD EYE DOCTOR — Global Stylesheet
   Colors: Turquoise (#00ACC1) · Gold (#C9A84C) · Purple (#7B3FA0)
   ================================================================ */

/* ─── Custom Properties ──────────────────────────────────────────────────── */
:root {
  --teal:          #00ACC1;
  --teal-dark:     #007A8A;
  --teal-light:    #4DD0E1;
  --teal-pale:     #E0F7FA;
  --gold:          #C9A84C;
  --gold-light:    #E8C76A;
  --gold-dark:     #9A7B2F;
  --gold-pale:     #FDF8EB;
  --purple:        #7B3FA0;
  --purple-dark:   #56297A;
  --purple-light:  #9C5BC4;
  --purple-pale:   #F3E5F5;
  --dark:          #0D1B2A;
  --dark-2:        #162032;
  --body-text:     #2C3E50;
  --muted:         #607D8B;
  --light-bg:      #F8FAFB;
  --border:        rgba(0, 0, 0, 0.08);
  --white:         #FFFFFF;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:     0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:     0 16px 48px rgba(0,0,0,0.16);
  --radius:        10px;
  --radius-lg:     18px;
  --transition:    all 0.3s ease;
  --font-head:     'Playfair Display', Georgia, serif;
  --font-body:     'Inter', 'Segoe UI', sans-serif;
  --font-accent:   'Montserrat', sans-serif;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); line-height: 1.25; color: var(--dark); }

/* ─── Typography Scale ───────────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ─── Utility Classes ────────────────────────────────────────────────────── */
.container     { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm  { max-width: 860px;  margin: 0 auto; padding: 0 1.5rem; }
.section       { padding: 5rem 0; }
.section-sm    { padding: 3rem 0; }
.text-center   { text-align: center; }
.text-teal     { color: var(--teal); }
.text-gold     { color: var(--gold); }
.text-purple   { color: var(--purple); }
.text-muted    { color: var(--muted); }
.bg-dark       { background: var(--dark); color: var(--white); }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-teal-pale  { background: var(--teal-pale); }
.bg-purple-pale{ background: var(--purple-pale); }
.bg-light      { background: var(--light-bg); }

/* Section labels */
.section-label {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.section-label.gold   { color: var(--gold); }
.section-label.purple { color: var(--purple); }

/* Divider */
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.divider.center { margin-left: auto; margin-right: auto; }

/* Gold accent line */
.gold-line {
  display: inline-block;
  width: 40px; height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 0.5rem;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,172,193,0.35);
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}
.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline-teal:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-purple {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}
.btn-purple:hover {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(123,63,160,0.35);
}
.btn-sm { padding: 0.55rem 1.3rem; font-size: 0.8rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* ─── Announcement Bar ───────────────────────────────────────────────────── */
.announcement-bar {
  background: var(--dark-2);
  color: var(--gold-light);
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.announcement-bar a {
  color: var(--teal-light);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.announcement-bar a:hover { color: var(--white); }

/* ─── Navigation ─────────────────────────────────────────────────────────── */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.nav-wrapper.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
}
.nav-logo img {
  height: 52px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark);
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li.active > a {
  color: var(--teal);
  background: var(--teal-pale);
}
.nav-links > li.active > a { color: var(--teal-dark); }

/* Dropdown trigger arrow */
.nav-links > li.has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.6rem;
  vertical-align: middle;
}

/* Dropdown menu */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  min-width: 200px;
  overflow: hidden;
  z-index: 100;
}
.nav-links > li.has-dropdown:hover .dropdown,
.nav-links > li.has-dropdown:focus-within .dropdown {
  display: block;
  animation: dropIn 0.2s ease;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown a {
  display: block;
  padding: 0.7rem 1.2rem;
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--body-text);
  transition: var(--transition);
}
.dropdown a:hover {
  background: var(--teal-pale);
  color: var(--teal-dark);
  padding-left: 1.5rem;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: var(--transition);
  background: none;
  border: none;
}
.hamburger:hover { background: var(--teal-pale); }
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  padding: 6rem 2rem 3rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-close {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  background: none; border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--dark);
  line-height: 1;
}
.mobile-nav a {
  display: block;
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--teal); }
.mobile-nav .mobile-logo {
  position: absolute;
  top: 1.2rem; left: 1.5rem;
}
.mobile-nav .mobile-logo img { height: 44px; }
.mobile-sub { padding-left: 1.2rem; }
.mobile-sub a {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 0;
  color: var(--muted);
  border-bottom: none;
}
.mobile-sub a:hover { color: var(--teal); }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-color: var(--dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 27, 42, 0.85) 0%,
    rgba(123, 63, 160, 0.4) 50%,
    rgba(0, 172, 193, 0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 760px;
}
.hero-content h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero-content h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 560px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ─── Page Banner (inner pages) ──────────────────────────────────────────── */
.page-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, var(--purple-dark) 100%);
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,172,193,0.15), transparent 70%);
}
.page-banner h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-banner p  { color: rgba(255,255,255,0.7); font-size: 1.05rem; }
.page-banner .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 1rem;
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.page-banner .breadcrumb a { color: var(--teal-light); }
.page-banner .breadcrumb a:hover { color: var(--white); }

/* ─── Cards ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.card-body { padding: 1.8rem; }
.card-img img { width: 100%; height: 240px; object-fit: cover; }

/* Stat cards */
.stat-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.stat-card .stat-number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-card .stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── Review Cards ───────────────────────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--teal);
  transition: var(--transition);
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.review-stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.review-text {
  font-style: italic;
  color: var(--body-text);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.review-author {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

/* ─── Location Cards ─────────────────────────────────────────────────────── */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.location-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--teal);
  transition: var(--transition);
}
.location-card:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--gold);
  transform: translateX(4px);
}
.location-card address {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--body-text);
  margin-bottom: 0.6rem;
}
.location-card a.phone {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.location-card a.phone:hover { color: var(--teal-dark); }
.state-heading {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple), var(--teal));
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

/* ─── Features / Service boxes ───────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.feature-box {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}
.feature-box:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.6rem;
}
.feature-icon.teal   { background: var(--teal-pale);   color: var(--teal); }
.feature-icon.gold   { background: var(--gold-pale);   color: var(--gold-dark); }
.feature-icon.purple { background: var(--purple-pale); color: var(--purple); }
.feature-box h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.feature-box p  { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ─── Two-column image+text layout ──────────────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 768px) {
  .split-section, .split-section.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }
}

/* ─── Image Grid (3-panel) ───────────────────────────────────────────────── */
.img-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.img-grid-3 img {
  border-radius: var(--radius);
  width: 100%;
  height: 260px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .img-grid-3 { grid-template-columns: 1fr; }
  .img-grid-3 img { height: 220px; }
}

/* ─── Forms ──────────────────────────────────────────────────────────────── */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
label {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--body-text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,172,193,0.12);
}
input.error, select.error, textarea.error {
  border-color: #e53935;
}
textarea { resize: vertical; min-height: 130px; }
select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23607D8B' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-error { font-size: 0.78rem; color: #e53935; margin-top: 0.25rem; display: none; }
.form-error.visible { display: block; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ─── FAQ Accordion ──────────────────────────────────────────────────────── */
.faq-section { max-width: 860px; margin: 0 auto; }
.faq-category { margin-bottom: 2.5rem; }
.faq-category-title {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--purple));
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 1rem;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.4rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
}
.faq-question:hover { background: var(--teal-pale); color: var(--teal-dark); }
.faq-question.open  { background: var(--teal-pale); color: var(--teal-dark); }
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--teal-pale);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: transform 0.3s ease;
}
.faq-question.open .faq-icon { transform: rotate(180deg); background: var(--teal); color: var(--white); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p, .faq-answer ul {
  padding: 0 1.4rem;
  font-size: 0.93rem;
  color: var(--body-text);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.faq-answer p:last-child, .faq-answer ul:last-child { margin-bottom: 1.2rem; }
.faq-answer ul { padding-left: 2.8rem; }
.faq-answer ul li { list-style: disc; margin-bottom: 0.3rem; }
.faq-accordion { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }

/* ─── CTA Band ───────────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--dark) 0%, var(--purple-dark) 50%, var(--teal-dark) 100%);
  padding: 5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}
.cta-band::before {
  width: 500px; height: 500px;
  background: var(--gold);
  top: -200px; left: -100px;
}
.cta-band::after {
  width: 350px; height: 350px;
  background: var(--teal);
  bottom: -150px; right: -50px;
}
.cta-band h2 { color: var(--white); margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-band p  { color: rgba(255,255,255,0.75); margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.cta-band .cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; position: relative; z-index: 1; }

/* ─── Speaks Topics ──────────────────────────────────────────────────────── */
.topic-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
  transition: var(--transition);
}
.topic-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.topic-card h4 { color: var(--purple); margin-bottom: 0.6rem; }
.topic-card p  { font-size: 0.9rem; color: var(--muted); margin: 0; }
.topic-number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal-pale);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Audience list */
.audience-list { display: flex; flex-direction: column; gap: 0.75rem; }
.audience-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-size: 0.93rem;
}
.audience-item::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ─── Benefits list (Research) ───────────────────────────────────────────── */
.benefit-list { display: flex; flex-direction: column; gap: 0.7rem; }
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  background: var(--teal-pale);
  border-radius: var(--radius);
  font-size: 0.93rem;
  line-height: 1.5;
}
.benefit-item::before {
  content: '●';
  color: var(--teal);
  font-size: 0.5rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* ─── About page bio ─────────────────────────────────────────────────────── */
.bio-section .bio-text p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--body-text);
}
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.credential-chip {
  background: linear-gradient(135deg, var(--teal-pale), var(--purple-pale));
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-accent);
  color: var(--dark);
  text-align: center;
  border: 1px solid var(--border);
}

/* ─── Blog cards ─────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--white);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; }
.blog-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  background: var(--teal-pale);
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.blog-card h3 a:hover { color: var(--teal); }
.blog-card p { font-size: 0.88rem; color: var(--muted); }

/* ─── Frames / Coming soon ───────────────────────────────────────────────── */
.coming-soon-wrapper {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 4rem 2rem;
  gap: 1.5rem;
}
.coming-soon-icon { font-size: 4rem; margin-bottom: 0.5rem; }
.coming-soon-wrapper h2 { color: var(--teal); }
.coming-soon-wrapper p { max-width: 480px; color: var(--muted); }
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--teal-pale), var(--gold-pale));
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  margin-top: 1.5rem;
}

/* ─── Contact info block ─────────────────────────────────────────────────── */
.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.contact-icon.teal   { background: var(--teal-pale);   color: var(--teal); }
.contact-icon.gold   { background: var(--gold-pale);   color: var(--gold-dark); }
.contact-icon.purple { background: var(--purple-pale); color: var(--purple); }
.contact-info-card h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-accent); margin-bottom: 0.4rem; }
.contact-info-card p, .contact-info-card a { font-size: 0.95rem; color: var(--body-text); }
.contact-info-card a:hover { color: var(--teal); }

/* ─── Info cards (Contact page) ─────────────────────────────────────────── */
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.info-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--teal-pale);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 1rem;
}
.info-card h4 {
  font-size: 0.85rem;
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.info-card a, .info-card p {
  font-size: 0.88rem;
  color: var(--muted);
  word-break: break-word;
}
.info-card a:hover { color: var(--teal); }

/* ─── Policy pages ───────────────────────────────────────────────────────── */
.policy-content { max-width: 800px; margin: 0 auto; }
.policy-content h2 { color: var(--teal); font-size: 1.35rem; margin: 2.5rem 0 0.75rem; padding-top: 0.5rem; border-top: 1px solid var(--border); }
.policy-content h2:first-child { border-top: none; margin-top: 0; }
.policy-content p, .policy-content li { font-size: 0.95rem; color: var(--body-text); line-height: 1.8; }
.policy-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-content ul li { list-style: disc; margin-bottom: 0.4rem; }
.policy-content a { color: var(--teal); text-decoration: underline; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
}
.footer-main {
  padding: 4rem 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand .logo-wrap { margin-bottom: 1.2rem; }
.footer-brand .logo-wrap img { height: 52px; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 300px; color: rgba(255,255,255,0.6); }
.footer-tagline {
  font-style: italic;
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin: 0.8rem 0 1.5rem;
  max-width: 280px;
  line-height: 1.6;
}
.social-links { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
  text-decoration: none;
}
.social-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-col h5 {
  color: var(--white);
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--teal-light); padding-left: 4px; }
.footer-hours p { font-size: 0.86rem; color: rgba(255,255,255,0.6); margin-bottom: 0.3rem; }
.footer-hours strong { color: rgba(255,255,255,0.85); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.2rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: var(--teal-light); }
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ─── Toast notification ─────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem; right: 2rem;
  background: var(--dark);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 380px;
  font-size: 0.93rem;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-left: 4px solid #4CAF50; }
.toast.error   { border-left: 4px solid #f44336; }
.toast-icon { font-size: 1.2rem; flex-shrink: 0; }

/* ─── Back to top ────────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem; left: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 500;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--teal-dark); transform: translateY(-2px); }

/* ─── Scroll animations ──────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left  { opacity: 0; transform: translateX(-30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-right { opacity: 0; transform: translateX(30px);  transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-left.visible,
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ─── Loading spinner ────────────────────────────────────────────────────── */
.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn-loading::after {
  content: '';
  position: absolute;
  inset: 50% 50%;
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Home feature grid ──────────────────────────────────────────────────── */
.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px)  { .home-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .home-feature-grid { grid-template-columns: 1fr; } }

/* Dr. intro section */
.dr-intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.dr-intro-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.dr-intro-img::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 3px solid var(--gold);
  border-radius: calc(var(--radius-lg) + 8px);
  z-index: -1;
}
.dr-intro-img img { width: 100%; display: block; }
.dr-titles {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.5rem 0;
}
.dr-title-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--purple));
  padding: 0.35rem 1rem;
  border-radius: 50px;
  width: fit-content;
}
@media (max-width: 768px) {
  .dr-intro { grid-template-columns: 1fr; gap: 2rem; }
}

/* ─── 404 page ───────────────────────────────────────────────────────────── */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 4rem 2rem;
}
.page-404 .big-num {
  font-family: var(--font-head);
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 700;
  color: var(--teal-pale);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.page-404 h2 { margin-bottom: 1rem; }
.page-404 p  { color: var(--muted); max-width: 440px; margin-bottom: 2rem; }

/* ─── Responsive overrides ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
}
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .hero { min-height: 75vh; }
  .announcement-bar { justify-content: center; font-size: 0.72rem; }
  .announcement-bar .ann-email { display: none; }
  .form-card { padding: 1.5rem; }
  .card-body { padding: 1.2rem; }
}
@media (max-width: 480px) {
  .hero-ctas .btn { width: 100%; text-align: center; }
  .cta-band .cta-buttons .btn { width: 100%; max-width: 300px; }
}

/* ─── Print ──────────────────────────────────────────────────────────────── */
@media print {
  .announcement-bar, nav, .mobile-nav, .back-to-top, .toast { display: none !important; }
  .hero { min-height: auto; background: none !important; }
  .hero-bg, .hero-overlay { display: none; }
  .hero-content h1, .hero-content { color: var(--dark) !important; }
}
