/* ============================================================
   Village Health Center — styles.css
   Design System: Warm Professional
   Long Beach, CA · Est. 1986 · Chiropractic & Wellness
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-page:        #F7F5F1;   /* warm off-white — never pure white */
  --bg-surface:     #FFFFFF;   /* card / form surfaces */
  --bg-alternate:   #EBF0ED;   /* sage-tinted alternate sections */
  --bg-dark:        #1D3A31;   /* deep teal-forest — footer / dark bands */

  /* Text */
  --text-primary:   #1C2B25;   /* near-black, warm green undertone */
  --text-muted:     #5A6E63;   /* secondary / caption text */
  --text-light:     #EDE9E3;   /* text on dark surfaces */
  --text-on-accent: #FFFFFF;   /* text on primary accent CTAs */

  /* Accent */
  --accent:         #2A7A68;   /* muted teal — trust, healing, calm */
  --accent-hover:   #1E5E4F;   /* darker on hover */
  --accent-warm:    #C0935A;   /* amber gold — warmth, stars, highlights */
  --accent-warm-hover: #A87A42;

  /* Borders */
  --border-light:   #D3DDD7;   /* cards/inputs on light bg */
  --border-dark:    #2E4F42;   /* borders on dark sections */

  /* Overlay — hero image gradient */
  --overlay-start:  rgba(20, 52, 42, 0.76);
  --overlay-end:    rgba(20, 52, 42, 0.28);

  /* Typography */
  --font-display:   'DM Serif Display', Georgia, serif;
  --font-body:      'DM Sans', system-ui, sans-serif;

  /* Type scale */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-lg:    1.125rem;   /* 18px */
  --text-xl:    1.25rem;    /* 20px */
  --text-2xl:   1.5rem;     /* 24px */
  --text-3xl:   2rem;       /* 32px */
  --text-4xl:   2.625rem;   /* 42px */
  --text-5xl:   3.5rem;     /* 56px */
  --text-hero:  clamp(2.75rem, 5.5vw, 4rem);

  /* Spacing (4px base) */
  --sp-1:   0.25rem;
  --sp-2:   0.5rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-5:   1.25rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-10:  2.5rem;
  --sp-12:  3rem;
  --sp-16:  4rem;
  --sp-20:  5rem;
  --sp-24:  6rem;
  --sp-32:  8rem;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card:  0 2px 14px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 36px rgba(0, 0, 0, 0.11);
  --shadow-nav:   0 1px 0 var(--border-light);

  /* Transitions */
  --ease-card:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-std:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-fast:   150ms;
  --dur-std:    300ms;
  --dur-slow:   600ms;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.45s var(--ease-std);
}

img.loaded { opacity: 1; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--dur-fast) ease;
}
a:hover { color: var(--accent-hover); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

p { max-width: 68ch; }

button { cursor: pointer; font-family: var(--font-body); }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section {
  padding: var(--sp-24) 0;
}

.section-sm {
  padding: var(--sp-16) 0;
}

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

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-6);
  background: var(--bg-page);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--dur-std) ease,
    background var(--dur-std) ease,
    backdrop-filter var(--dur-std) ease;
}

.nav.scrolled {
  border-color: var(--border-light);
  background: rgba(247, 245, 241, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nav-logo-tagline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-links a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  transition: color var(--dur-fast) ease;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav-phone {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-phone:hover { color: var(--accent-hover); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: var(--sp-2);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) ease;
}

.nav-toggle:hover { background: var(--bg-alternate); }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition:
    transform var(--dur-std) var(--ease-std),
    opacity var(--dur-fast) ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 99;
  background: var(--bg-page);
  padding: var(--sp-24) var(--sp-6) var(--sp-8);
  flex-direction: column;
  gap: var(--sp-6);
  transform: translateX(100%);
  transition: transform var(--dur-std) var(--ease-std);
}

.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer .nav-links {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-2);
}

.nav-drawer .nav-links a {
  font-size: var(--text-xl);
  color: var(--text-primary);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

.nav-drawer .nav-actions {
  flex-direction: column;
  align-items: flex-start;
  margin-top: var(--sp-4);
}

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-drawer { display: flex; }
  .nav-phone { font-size: var(--text-xs); }
}

@media (max-width: 480px) {
  .nav-phone { display: none; }
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  min-height: 48px;
  min-width: 160px;
  white-space: nowrap;
  transition:
    background var(--dur-std) ease,
    color var(--dur-std) ease,
    border-color var(--dur-std) ease,
    transform var(--dur-fast) ease,
    box-shadow var(--dur-std) ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-on-accent);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--text-on-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 122, 104, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--text-on-accent);
  border-color: rgba(237, 233, 227, 0.55);
}

.btn-secondary:hover {
  background: rgba(237, 233, 227, 0.15);
  border-color: var(--text-light);
  color: var(--text-on-accent);
}

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

.btn-outline:hover {
  background: var(--accent);
  color: var(--text-on-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 122, 104, 0.22);
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--overlay-start) 0%,
    var(--overlay-start) 45%,
    var(--overlay-end) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: var(--sp-32) clamp(var(--sp-6), 6vw, var(--sp-24)) var(--sp-20);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237, 233, 227, 0.72);
  margin-bottom: var(--sp-4);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-light);
  margin-bottom: var(--sp-5);
}

.hero-sub {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: rgba(237, 233, 227, 0.82);
  margin-bottom: var(--sp-8);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--text-light);
  line-height: 1;
}

.trust-label {
  font-size: var(--text-xs);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(237, 233, 227, 0.6);
}

@media (max-width: 640px) {
  .hero { min-height: 92vh; }
  .hero-content { padding: var(--sp-24) var(--sp-5) var(--sp-16); }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 2.75rem); }
  .hero-sub { font-size: var(--text-base); }
}

/* ── Section Divider ────────────────────────────────────────── */
.section-divider {
  position: relative;
  margin: -1px 0;
  height: 56px;
  overflow: hidden;
  line-height: 0;
}

.section-divider svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 56px;
}

/* ── Section Headers ─────────────────────────────────────────── */
.section-header {
  margin-bottom: var(--sp-12);
}

.section-header.centered {
  text-align: center;
}

.section-header.centered p {
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}

.eyebrow-light {
  color: rgba(237, 233, 227, 0.7);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-4xl));
  font-weight: 400;
  letter-spacing: -0.022em;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
}

.section-header h2.light {
  color: var(--text-light);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.65;
}

.section-header p.light {
  color: rgba(237, 233, 227, 0.72);
}

/* ── Services ─────────────────────────────────────────────────── */
.services-section {
  background: var(--bg-page);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: var(--sp-10) var(--sp-8);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.38s var(--ease-card),
    box-shadow 0.38s var(--ease-card);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s var(--ease-std);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-alternate);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  flex-shrink: 0;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
}

.service-card p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.65;
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: gap var(--dur-fast) ease;
}

.service-card .service-link:hover {
  color: var(--accent-hover);
  gap: var(--sp-3);
}

/* ── About / Team ─────────────────────────────────────────────── */
.about-section {
  background: var(--bg-alternate);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-12), 5vw, var(--sp-24));
  align-items: center;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.about-photo-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-badge {
  position: absolute;
  bottom: var(--sp-6);
  left: var(--sp-6);
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-hover);
}

.about-badge-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--accent);
  line-height: 1;
}

.about-badge-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 3vw, var(--text-4xl));
  font-weight: 400;
  letter-spacing: -0.022em;
  margin-bottom: var(--sp-5);
}

.about-content p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.credential-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

.credential-tag svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonials-section {
  background: var(--accent);
  overflow: hidden;
}

.testimonials-section .section-header {
  padding: 0 var(--sp-6);
  max-width: 1200px;
  margin: 0 auto var(--sp-10);
}

.testimonial-track {
  display: flex;
  gap: var(--sp-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: var(--sp-2) clamp(var(--sp-6), 5vw, var(--sp-16)) var(--sp-8);
  scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: var(--sp-8);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--sp-4);
}

.star {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-warm);
}

/* CSS star shape alternative */
.star-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--accent-warm);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.testimonial-card blockquote {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: var(--sp-6);
  font-style: italic;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reviewer-name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.review-platform {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ── Why Choose Us / Features ─────────────────────────────────── */
.features-section {
  background: var(--bg-page);
}

.features-split {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: clamp(var(--sp-12), 5vw, var(--sp-20));
  align-items: start;
}

@media (max-width: 768px) {
  .features-split { grid-template-columns: 1fr; }
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.feature-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--sp-4);
  align-items: start;
}

.feature-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  padding-top: 2px;
}

.feature-row h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}

.feature-row p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

.features-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.features-visual-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
}

.features-visual-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features-stat-card {
  position: absolute;
  right: -var(--sp-6);
  bottom: var(--sp-8);
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: var(--sp-5) var(--sp-6);
  box-shadow: var(--shadow-hover);
  text-align: center;
  min-width: 140px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: var(--sp-2);
}

/* ── Contact Section ──────────────────────────────────────────── */
.contact-section {
  background: var(--bg-alternate);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-10), 5vw, var(--sp-20));
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 3vw, var(--text-4xl));
  font-weight: 400;
  letter-spacing: -0.022em;
  margin-bottom: var(--sp-5);
}

.contact-info p {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.contact-row-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-row-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-row-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-row-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-row-value {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
}

.contact-row-value a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--dur-fast) ease;
}
.contact-row-value a:hover { color: var(--accent); }

/* ── Contact Form ─────────────────────────────────────────────── */
.contact-form-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-10);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.form-group label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-page);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem var(--sp-4);
  width: 100%;
  outline: none;
  transition:
    border-color var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(42, 122, 104, 0.14);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

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

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: var(--text-on-accent);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition:
    background var(--dur-std) ease,
    transform var(--dur-fast) ease,
    box-shadow var(--dur-std) ease;
  min-height: 52px;
}

.form-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 122, 104, 0.28);
}

.form-note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--sp-3);
}

/* ── Map Embed ────────────────────────────────────────────────── */
.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-top: var(--sp-6);
  aspect-ratio: 16 / 9;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  opacity: 1;
}

/* ── Hours Table ──────────────────────────────────────────────── */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--sp-6);
  font-size: var(--text-sm);
}

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

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

.hours-table td {
  padding: var(--sp-3) 0;
  color: var(--text-muted);
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  width: 45%;
}

/* ── CTA Band ─────────────────────────────────────────────────── */
.cta-band {
  background: var(--bg-dark);
  padding: var(--sp-16) 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  color: var(--text-light);
  font-weight: 400;
  letter-spacing: -0.02em;
  max-width: 540px;
}

.cta-band-phone {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--accent-warm);
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--dur-fast) ease;
}

.cta-band-phone:hover { color: #d4a96a; }

@media (max-width: 640px) {
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: var(--sp-16) 0 var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--border-dark);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {}

.footer-logo-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--text-light);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: var(--sp-3);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(237, 233, 227, 0.55);
  line-height: 1.6;
  max-width: 280px;
}

.footer-phone {
  display: block;
  margin-top: var(--sp-5);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--accent-warm);
  text-decoration: none;
  transition: color var(--dur-fast) ease;
}
.footer-phone:hover { color: #d4a96a; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237, 233, 227, 0.55);
  margin-bottom: var(--sp-5);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-col ul li a {
  font-size: var(--text-sm);
  color: rgba(237, 233, 227, 0.75);
  text-decoration: none;
  transition: color var(--dur-fast) ease;
}

.footer-col ul li a:hover { color: var(--text-light); }

.footer-address {
  font-size: var(--text-sm);
  color: rgba(237, 233, 227, 0.65);
  line-height: 1.7;
  font-style: normal;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding-top: var(--sp-8);
}

.footer-copy {
  font-size: var(--text-xs);
  color: rgba(237, 233, 227, 0.4);
}

.footer-links {
  display: flex;
  gap: var(--sp-6);
}

.footer-links a {
  font-size: var(--text-xs);
  color: rgba(237, 233, 227, 0.4);
  text-decoration: none;
  transition: color var(--dur-fast) ease;
}

.footer-links a:hover { color: rgba(237, 233, 227, 0.75); }

/* ── Reveal Animations ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity var(--dur-slow) var(--ease-std),
    transform var(--dur-slow) var(--ease-std);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }

/* ── Team Photo ───────────────────────────────────────────────── */
.team-photo {
  overflow: hidden;
  border-radius: 50%;
  width: 100%;
  aspect-ratio: 1;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s var(--ease-std);
}

.team-photo:hover img {
  transform: scale(1.07);
}

/* ── Accordion ────────────────────────────────────────────────── */
.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  background: none;
  border: none;
  padding: var(--sp-5) 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: color var(--dur-fast) ease;
}

.accordion-trigger:hover { color: var(--accent); }

.accordion-arrow {
  width: 20px;
  height: 20px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform var(--dur-std) var(--ease-std);
}

.accordion-item.open .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-body {
  display: none;
  padding: 0 0 var(--sp-5);
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
}

.accordion-item.open .accordion-body {
  display: block;
}

/* ── Utility ──────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }
.mt-auto { margin-top: auto; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Focus Styles (accessibility) ───────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Print ────────────────────────────────────────────────────── */
@media print {
  .nav, .hero-actions, .cta-band, .contact-form-card { display: none; }
  body { background: #fff; color: #000; }
}


/* ── CSS safety-net (injected by proxy-orchestrator) ──
   Ensures image containers always have resolvable dimensions so imgs with
   height:100% don't collapse. Scoped to common container class patterns. */
[class*="image-col"],
[class*="image-wrap"],
[class*="img-wrap"],
[class*="img-container"],
[class*="image-container"],
[class*="photo-wrap"],
[class*="photo-container"],
.bento-card,
.listing-img-wrap,
.card-image,
.feature-image,
.hero-image,
.hero-media {
  min-height: 320px;
  aspect-ratio: 3 / 2;
  position: relative;
}
[class*="image-col"] > img,
[class*="image-wrap"] > img,
[class*="img-wrap"] > img,
[class*="img-container"] > img,
[class*="image-container"] > img,
[class*="photo-wrap"] > img,
[class*="photo-container"] > img,
.bento-card > img,
.bento-card-image > img,
.listing-img-wrap > img,
.card-image > img,
.feature-image > img,
.hero-image > img,
.hero-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .hero-image-col,
  .hero-media,
  .hero-image {
    aspect-ratio: auto;
    min-height: 100vh;
  }
}
/* Fallback for any bare img with percentage height */
img[style*="height: 100%"],
img[style*="height:100%"] {
  min-height: 320px;
}
/* ── end safety-net ── */
