*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --emerald-950: #042f2e;
  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --cream-50: #faf9f6;
  --cream-100: #f5f3ed;
  --cream-200: #ebe7db;
  --cream-300: #e0dbcd;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #6b6b6b;
  --white: #ffffff;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-primary);
  background: var(--cream-50);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(6, 95, 70, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(250, 249, 246, 0.95);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--emerald-800);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav-logo-icon {
  color: var(--emerald-700);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--emerald-700);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--emerald-800);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--emerald-800);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--emerald-900);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--emerald-800);
  margin-left: auto;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: 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-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(6, 78, 59, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(16, 185, 129, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: 120px 24px 80px;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin: 0 auto 44px;
}

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

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding: 14px 30px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--white);
  color: var(--emerald-900);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ─── Section shared ─── */
.section-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 500px;
}

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

.services .container {
  text-align: center;
}

.services .section-subtitle {
  margin: 0 auto 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.service-card {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--emerald-200, #a7f3d0);
  box-shadow: 0 8px 40px rgba(6, 95, 70, 0.07);
  transform: translateY(-4px);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--cream-100);
  color: var(--emerald-700);
  margin-bottom: 24px;
  transition: background 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--emerald-100, #d1fae5);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ─── About ─── */
.about {
  padding: 120px 0;
  background: var(--cream-100);
}

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

.about-image-wrap {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 560/700;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content .section-label {
  margin-bottom: 16px;
}

.about-content .section-subtitle {
  margin-bottom: 28px;
}

.about-content p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

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

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--emerald-800);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--cream-300);
}

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

.gallery .container {
  text-align: center;
}

.gallery .section-subtitle {
  margin: 0 auto 64px;
}

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

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 600/400;
  background: var(--cream-200);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* ─── Visit ─── */
.visit {
  padding: 120px 0;
  background: var(--cream-100);
}

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

.visit-info .section-subtitle {
  margin-bottom: 48px;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.visit-detail {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.visit-detail svg {
  color: var(--emerald-700);
  flex-shrink: 0;
  margin-top: 2px;
}

.visit-detail strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.visit-detail span,
.visit-detail a {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
}

.visit-detail a {
  color: var(--emerald-700);
  transition: color 0.2s ease;
}

.visit-detail a:hover {
  color: var(--emerald-900);
}

.visit-map {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1/1;
  min-height: 400px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

/* ─── Contact ─── */
.contact {
  padding: 120px 0;
  background: var(--cream-50);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text .section-subtitle {
  margin-bottom: 24px;
}

.contact-text p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: 10px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--cream-300);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 60px 40px;
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: 16px;
  color: var(--emerald-800);
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
}

.form-success p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ─── Footer ─── */
.footer {
  background: var(--emerald-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

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

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  max-width: 280px;
}

.footer-links strong,
.footer-contact strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact span,
.footer-contact a {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
}

/* ─── Scroll reveal (below-fold only) ─── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }

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

/* ─── Mobile ─── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 249, 246, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--cream-200);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    padding: 100px 24px 60px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .services {
    padding: 80px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 28px 24px;
  }

  .about {
    padding: 80px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrap {
    aspect-ratio: 4/3;
  }

  .about-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }

  .gallery {
    padding: 80px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .visit {
    padding: 80px 0;
  }

  .visit-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .visit-map {
    aspect-ratio: 16/9;
    min-height: 280px;
  }

  .contact {
    padding: 80px 0;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }
}
