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

:root {
  --emerald-950: #042f23;
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --cream-50:  #fafaf5;
  --cream-100: #f5f5ef;
  --cream-200: #eae8dd;
  --cream-300: #d4d0bc;
  --stone-50:  #f8f7f4;
  --stone-100: #f0efe9;
  --stone-200: #e2e0d6;
  --stone-400: #989486;
  --stone-500: #6e6b5f;
  --stone-700: #3d3b33;
  --stone-800: #2a2820;
  --stone-900: #1a1812;

  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--stone-800);
  background: var(--cream-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ─────────────────────────────────── */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--stone-900);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--stone-500);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.btn-emerald {
  background: var(--emerald-700);
  color: #fff;
  box-shadow: 0 2px 12px rgba(4,120,87,.3);
}
.btn-emerald:hover { background: var(--emerald-800); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(4,120,87,.35); }

.btn-light {
  background: #fff;
  color: var(--emerald-900);
  box-shadow: var(--shadow-md);
}
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-ghost-light {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.25); }

.btn-outline-emerald {
  background: transparent;
  color: var(--emerald-700);
  border: 1.5px solid var(--emerald-600);
}
.btn-outline-emerald:hover { background: var(--emerald-50); }

/* ── Header ─────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250,250,245,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cream-200);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--stone-900);
}
.logo-mark { color: var(--emerald-700); }
.logo-light { color: #fff; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--stone-700);
  transition: color var(--transition);
}
.nav-menu a:hover { color: var(--emerald-700); }

.nav-toggle {
  display: none;
  color: var(--stone-800);
  padding: 4px;
}

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--emerald-950) 0%,
    var(--emerald-800) 30%,
    var(--emerald-700) 55%,
    var(--emerald-600) 80%,
    #0d9488 100%
  );
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.pexels.com/photos/7872402/pexels-photo-7872402.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
  opacity: 0.18;
  filter: blur(2px);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4,47,35,.7) 0%,
    rgba(6,78,59,.55) 50%,
    rgba(4,47,35,.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}
.hero-title .accent {
  display: block;
  color: var(--cream-200);
  font-size: 0.85em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
}
.badge-light { /* alias */ }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.4);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
}

/* ── Sections ───────────────────────────────────── */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-sub { margin: 0 auto; }

/* ── Services ───────────────────────────────────── */
.services { background: var(--cream-50); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--cream-200);
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-200, var(--cream-300));
}

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--emerald-700), var(--emerald-600));
  color: #fff;
  margin-bottom: 20px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--stone-900);
  margin-bottom: 12px;
}

.card-body {
  font-size: 0.95rem;
  color: var(--stone-500);
  line-height: 1.7;
}

/* ── About ──────────────────────────────────────── */
.about { background: var(--stone-100); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-images {
  position: relative;
  min-height: 480px;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 420px; object-fit: cover; }

.about-img-float {
  position: absolute;
  bottom: -32px;
  right: -24px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--stone-100);
}
.about-img-float img { width: 320px; height: 240px; object-fit: cover; }

.about-accent {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
  opacity: 0.15;
  z-index: -1;
}

.about-content .section-title { margin-bottom: 24px; }
.about-content p {
  color: var(--stone-500);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-200);
}

.stat { text-align: center; flex: 1; }
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  color: var(--emerald-700);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--stone-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--cream-200);
}

/* ── Gallery ────────────────────────────────────── */
.gallery { background: var(--cream-50); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ── Visit ──────────────────────────────────────── */
.visit { background: var(--stone-100); }

.visit-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--cream-200);
}

.visit-info {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.visit-address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 1rem;
  color: var(--stone-700);
  line-height: 1.7;
}
.visit-address strong {
  font-size: 1.15rem;
  color: var(--stone-900);
  margin-bottom: 4px;
}

.visit-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--emerald-700);
  transition: color var(--transition);
}
.visit-phone:hover { color: var(--emerald-600); }

.visit-hours { font-size: 0.95rem; color: var(--stone-500); line-height: 1.7; }
.visit-hours p { margin-bottom: 4px; }
.visit-hours strong { color: var(--stone-800); }

.visit-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.visit-map {
  min-height: 400px;
  background: var(--cream-200);
}

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  background: var(--stone-900);
  color: rgba(255,255,255,.6);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,.45);
}

.footer-contact p,
.footer-links p {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 12px;
}
.footer-contact a {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--emerald-400, #34d399); }

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,.85); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,.3);
  text-align: center;
}

/* ── Reveal (progressive enhancement) ──────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-images { min-height: 360px; }
  .about-img-float { right: 0; }
  .visit-card { grid-template-columns: 1fr; }
  .visit-map { min-height: 280px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250,250,245,.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--cream-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-menu a { font-size: 1rem; }

  .hero-content { padding: 100px 20px 60px; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .section { padding: 72px 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 240px; }

  .visit-info { padding: 36px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .about-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }
  .hero-badges { flex-direction: column; }
}
