/* =============================================
   Martinez Family Dentistry — Design System
   Navy + Gold | Playfair Display + Plus Jakarta Sans
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Brand Colors */
  --color-navy:          #1B3A6B;
  --color-navy-dark:     #122952;
  --color-navy-light:    #2A4F8F;
  --color-gold:          #C9973A;
  --color-gold-light:    #E2B55A;
  --color-gold-pale:     #F5E9D3;

  /* Surfaces */
  --color-surface:       #FFFFFF;
  --color-surface-2:     #F8F5EF;
  --color-surface-3:     #EEE9DF;
  --color-surface-dark:  #0F2040;

  /* Text */
  --color-text:          #1A2340;
  --color-text-secondary:#5A6580;
  --color-text-muted:    #8A93A8;
  --color-text-inverse:  #FFFFFF;

  /* Borders */
  --color-border:        #E2DAD0;
  --color-border-light:  #F0EDE8;

  /* Semantic */
  --color-primary:       var(--color-navy);
  --color-primary-hover: var(--color-navy-dark);
  --color-accent:        var(--color-gold);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

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

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(27,58,107,0.08);
  --shadow-md:  0 4px 16px rgba(27,58,107,0.10);
  --shadow-lg:  0 12px 40px rgba(27,58,107,0.14);
  --shadow-xl:  0 24px 64px rgba(27,58,107,0.18);

  /* Transitions */
  --ease-standard: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:   0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.5s ease;
}
img.loaded { opacity: 1; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--color-text);
}

/* ============================================= 
   LAYOUT
   ============================================= */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); }
.container-narrow { max-width: 760px;  margin: 0 auto; padding: 0 var(--space-6); }
.container-wide   { max-width: 1400px; margin: 0 auto; padding: 0 var(--space-6); }

.section    { padding: var(--space-24) 0; }
.section-sm { padding: var(--space-16) 0; }
.section-lg { padding: var(--space-32) 0; }

@media (max-width: 768px) {
  .section    { padding: var(--space-16) 0; }
  .section-sm { padding: var(--space-12) 0; }
  .section-lg { padding: var(--space-20) 0; }
}

/* ============================================= 
   NAVIGATION
   ============================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease-standard), box-shadow var(--ease-standard);
}
.nav.scrolled {
  border-color: var(--color-border-light);
  box-shadow: 0 2px 20px rgba(27,58,107,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}
.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--color-navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-icon svg { width: 22px; height: 22px; fill: var(--color-gold); }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}
.nav-logo-sub {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--ease-standard);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--ease-standard);
}
.nav-links a:hover { color: var(--color-navy); }
.nav-links a:hover::after { width: 100%; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav-phone {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.nav-phone svg { width: 14px; height: 14px; stroke: var(--color-gold); fill: none; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  transition: all var(--ease-standard);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-4) var(--space-6);
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a {
    display: block;
    padding: var(--space-4) 0;
    font-size: var(--text-base);
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text);
  }
  .nav-links.open a::after { display: none; }
  .nav-actions .btn { display: none; }
}

/* ============================================= 
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background var(--ease-standard), transform var(--ease-standard), box-shadow var(--ease-standard), color var(--ease-standard);
  min-height: 52px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-navy);
  color: white;
}
.btn-primary:hover {
  background: var(--color-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,58,107,0.28);
}
.btn-gold {
  background: var(--color-gold);
  color: white;
}
.btn-gold:hover {
  background: #B8862A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,151,58,0.35);
}
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
  padding: calc(0.875rem - 2px) calc(2rem - 2px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
}
.btn-outline-navy {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
  padding: calc(0.875rem - 2px) calc(2rem - 2px);
}
.btn-outline-navy:hover {
  background: var(--color-navy);
  color: white;
}
.btn-sm {
  padding: 0.625rem 1.375rem;
  font-size: var(--text-sm);
  min-height: 42px;
}

/* ============================================= 
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-navy-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-bg img.loaded { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(18,41,82,0.88) 0%,
    rgba(27,58,107,0.75) 45%,
    rgba(18,41,82,0.55) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-20) var(--space-6);
  width: 100%;
}
.hero-inner { max-width: 640px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(201,151,58,0.2);
  border: 1px solid rgba(201,151,58,0.4);
  color: var(--color-gold-light);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.hero-badge span.dot {
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, var(--text-6xl));
  font-weight: 700;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}
.hero h1 em {
  font-style: italic;
  color: var(--color-gold-light);
}
.hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  max-width: 52ch;
  margin-bottom: var(--space-10);
}
.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: var(--space-10);
  margin-top: var(--space-16);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
}
.hero-stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  margin-top: var(--space-1);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================= 
   SECTION HEADERS
   ============================================= */
.section-header { margin-bottom: var(--space-16); }
.section-header.centered { text-align: center; }
.section-header.centered .section-title-line { margin: 0 auto; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-gold);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.section-title-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-gold);
  margin-top: var(--space-6);
  border-radius: 2px;
}
.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 60ch;
  line-height: 1.7;
}

/* ============================================= 
   SERVICES CARDS
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--ease-standard), box-shadow var(--ease-standard);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body { padding: var(--space-8); }
.service-card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-gold-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.service-card-icon svg { width: 24px; height: 24px; stroke: var(--color-gold); fill: none; }
.service-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--color-navy);
}
.service-card p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}
.service-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap var(--ease-standard), color var(--ease-standard);
}
.service-link:hover { gap: var(--space-3); color: #B8862A; }
.service-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }

/* ============================================= 
   PEDIATRIC FEATURE SECTION
   ============================================= */
.pediatric-feature {
  background: var(--color-navy);
  color: white;
  overflow: hidden;
}
.pediatric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 560px;
}
.pediatric-visual {
  position: relative;
  overflow: hidden;
}
.pediatric-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 480px;
}
.pediatric-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(27,58,107,0.3), transparent);
}
.pediatric-content {
  padding: var(--space-20) var(--space-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pediatric-content .section-eyebrow { color: var(--color-gold-light); }
.pediatric-content .section-eyebrow::before { background: var(--color-gold-light); }
.pediatric-content .section-title { color: white; }
.pediatric-desc {
  color: rgba(255,255,255,0.8);
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}
.pediatric-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}
.pediatric-feat {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.pediatric-feat-icon {
  width: 28px;
  height: 28px;
  background: rgba(201,151,58,0.2);
  border: 1px solid rgba(201,151,58,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.pediatric-feat-icon svg { width: 14px; height: 14px; stroke: var(--color-gold-light); fill: none; }
.pediatric-feat-text strong {
  display: block;
  color: white;
  font-weight: 600;
  font-size: var(--text-base);
  margin-bottom: 2px;
}
.pediatric-feat-text span {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
}

@media (max-width: 900px) {
  .pediatric-grid { grid-template-columns: 1fr; }
  .pediatric-visual { order: -1; max-height: 320px; }
  .pediatric-visual img { min-height: 320px; }
  .pediatric-content { padding: var(--space-12) var(--space-6); }
}

/* ============================================= 
   TEAM SECTION
   ============================================= */
.team-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}
.team-lead { grid-column: 1 / -1; }
.team-lead .team-card { display: grid; grid-template-columns: 340px 1fr; gap: 0; }
.team-members { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }

.team-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--ease-standard), box-shadow var(--ease-standard);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.team-card-photo {
  overflow: hidden;
  background: var(--color-surface-2);
}
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.team-card:hover .team-card-photo img { transform: scale(1.04); }
.team-card-body { padding: var(--space-8); display: flex; flex-direction: column; justify-content: center; }
.team-card-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}
.team-card h3 {
  font-size: var(--text-2xl);
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}
.team-card .team-card-bio {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}
.team-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-gold-pale);
  color: #8A6020;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
}

@media (max-width: 900px) {
  .team-lead .team-card { grid-template-columns: 1fr; }
  .team-lead .team-card-photo img { min-height: 280px; aspect-ratio: 4/3; object-fit: cover; }
  .team-members { grid-template-columns: 1fr; }
}

/* ============================================= 
   TRUST BAR / STATS
   ============================================= */
.trust-bar {
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item {
  text-align: center;
  padding: var(--space-10) var(--space-6);
  border-right: 1px solid var(--color-border);
}
.trust-item:last-child { border-right: none; }
.trust-num {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
}
.trust-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-top: var(--space-2);
  font-weight: 500;
}

@media (max-width: 768px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3) { border-right: 1px solid var(--color-border); border-top: 1px solid var(--color-border); }
  .trust-item:nth-child(4) { border-right: none; border-top: 1px solid var(--color-border); }
}

/* ============================================= 
   BOOKING SECTION
   ============================================= */
.booking-section {
  background: var(--color-surface-2);
}
.booking-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}
.booking-info h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-4xl));
  color: var(--color-navy);
  margin-bottom: var(--space-4);
  line-height: 1.15;
}
.booking-info p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}
.contact-details { display: flex; flex-direction: column; gap: var(--space-4); }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 20px; height: 20px; stroke: var(--color-navy); fill: none; }
.contact-detail-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}
.contact-detail-value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}
.contact-detail-value a {
  color: var(--color-navy);
  transition: color var(--ease-standard);
}
.contact-detail-value a:hover { color: var(--color-gold); }

.booking-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-md);
}
.booking-card h3 {
  font-size: var(--text-2xl);
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}
.booking-card > p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
}
.form-group { margin-bottom: var(--space-5); }
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-surface);
  transition: border-color var(--ease-standard), box-shadow var(--ease-standard);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.booking-card .btn { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .booking-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================= 
   CTA BAND
   ============================================= */
.cta-band {
  background: var(--color-navy);
  color: white;
  padding: var(--space-20) 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  color: white;
  line-height: 1.2;
  max-width: 22ch;
}
.cta-band h2 em { color: var(--color-gold-light); font-style: italic; }
.cta-band-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* ============================================= 
   FOOTER
   ============================================= */
.footer {
  background: var(--color-surface-dark);
  color: white;
  padding: var(--space-20) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}
.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: var(--space-4) 0 var(--space-6);
  max-width: 36ch;
}
.footer-heading {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-5);
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: color var(--ease-standard);
}
.footer-links a:hover { color: white; }
.footer-contact-item {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  align-items: flex-start;
  line-height: 1.6;
}
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--color-gold); fill: none; flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: var(--space-4);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* ============================================= 
   PAGE HEADER
   ============================================= */
.page-header {
  background: var(--color-navy);
  padding: var(--space-20) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light), var(--color-gold));
}
.page-header .eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-4);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  color: white;
  line-height: 1.1;
}
.page-header p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.7);
  max-width: 55ch;
  margin-top: var(--space-4);
}

/* ============================================= 
   SERVICES DETAIL PAGE
   ============================================= */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  padding: var(--space-16) 0;
}
.service-detail:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}
.service-detail:nth-child(even) .service-detail-image { order: -1; }
.service-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-detail-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.service-detail-content .section-eyebrow { color: var(--color-gold); }
.service-detail h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  color: var(--color-navy);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}
.service-detail p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}
.service-detail ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.service-detail ul li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text);
}
.service-detail ul li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .service-detail-image { order: 0; }
}

/* ============================================= 
   ABOUT / TEAM PAGE
   ============================================= */
.about-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.about-intro-content blockquote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--color-navy);
  line-height: 1.45;
  border-left: 4px solid var(--color-gold);
  padding-left: var(--space-6);
  margin: var(--space-8) 0;
}
.about-intro-content p {
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}
.about-intro-visual {
  position: relative;
}
.about-intro-visual img {
  width: 100%;
  border-radius: var(--radius-xl);
  aspect-ratio: 3/4;
  object-fit: cover;
}
.about-intro-badge {
  position: absolute;
  bottom: -var(--space-6);
  right: -var(--space-6);
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 140px;
}
.about-intro-badge .badge-num {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
}
.about-intro-badge .badge-label {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  margin-top: var(--space-1);
}
@media (max-width: 900px) {
  .about-intro { grid-template-columns: 1fr; }
}

/* ============================================= 
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-12);
  align-items: start;
}
.contact-info-panel h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-navy);
  margin-bottom: var(--space-4);
}
.contact-info-panel p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}
.hours-table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-8); }
.hours-table tr { border-bottom: 1px solid var(--color-border-light); }
.hours-table td {
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.hours-table td:first-child { color: var(--color-text); font-weight: 500; }
.hours-table tr:last-child td { padding-bottom: 0; }
.map-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--color-surface-2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  margin-top: var(--space-6);
  overflow: hidden;
}
.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================= 
   PEDIATRIC PAGE SPECIAL
   ============================================= */
.pediatric-hero-band {
  background: linear-gradient(135deg, var(--color-navy) 0%, #2A4F8F 100%);
  padding: var(--space-20) 0;
}
.pediatric-hero-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.pediatric-hero-band h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  color: white;
  line-height: 1.12;
  margin-bottom: var(--space-6);
}
.pediatric-hero-band h2 em { color: var(--color-gold-light); font-style: italic; }
.pediatric-hero-band p {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}
.pediatric-hero-band img {
  border-radius: var(--radius-xl);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
@media (max-width: 900px) {
  .pediatric-hero-band-inner { grid-template-columns: 1fr; }
}

/* ============================================= 
   AMENITIES / FEATURES GRID
   ============================================= */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 900px) { .amenities-grid { grid-template-columns: 1fr; } }

.amenity-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: transform var(--ease-standard), box-shadow var(--ease-standard), border-color var(--ease-standard);
}
.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold-pale);
}
.amenity-icon {
  width: 56px;
  height: 56px;
  background: var(--color-gold-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}
.amenity-icon svg { width: 28px; height: 28px; stroke: var(--color-gold); fill: none; }
.amenity-card h3 {
  font-size: var(--text-xl);
  color: var(--color-navy);
  margin-bottom: var(--space-3);
}
.amenity-card p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* ============================================= 
   BREADCRUMB
   ============================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-4);
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--ease-standard); }
.breadcrumb a:hover { color: var(--color-gold-light); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ============================================= 
   UTILITY
   ============================================= */
.text-center { text-align: center; }
.text-navy { color: var(--color-navy); }
.text-gold { color: var(--color-gold); }
.bg-surface-2 { background: var(--color-surface-2); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0 !important; }
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.18s; }
.stagger > *:nth-child(4) { transition-delay: 0.26s; }
