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

:root {
  --emerald-900: #042f23;
  --emerald-800: #064e3b;
  --emerald-700: #065f46;
  --emerald-600: #047857;
  --emerald-500: #10b981;
  --cream: #faf8f4;
  --cream-200: #f0ece4;
  --cream-300: #e6e0d6;
  --text-dark: #1a1a1a;
  --text-mid: #3a3a3a;
  --text-light: #6b6b6b;
  --white: #ffffff;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Loader ───────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--emerald-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(250, 248, 244, 0.2);
  border-top-color: var(--cream);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Typography ───────────────────────────────────────────── */
.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--emerald-600);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--cream-300);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--emerald-800);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  transition: opacity 0.2s;
}

.nav-brand:hover { opacity: 0.75; }

.nav-logo {
  color: var(--emerald-700);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-mid);
  transition: color 0.2s;
  position: relative;
}

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

.nav-link:hover { color: var(--emerald-700); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--emerald-700);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--emerald-800);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-dark);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
  transform-origin: center;
}

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

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--emerald-900);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4, 47, 35, 0.88) 0%,
    rgba(6, 78, 59, 0.72) 50%,
    rgba(4, 47, 35, 0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 1.5rem;
  margin-left: 8%;
  color: var(--cream);
}

.hero-location {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 248, 244, 0.6);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--cream);
}

.hero-headline em {
  font-style: italic;
  color: rgba(250, 248, 244, 0.85);
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(250, 248, 244, 0.75);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cream);
  color: var(--emerald-800);
}

.btn-primary:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(250, 248, 244, 0.35);
}

.btn-ghost-light:hover {
  border-color: var(--cream);
  background: rgba(250, 248, 244, 0.08);
}

.btn-full { width: 100%; }

/* ── Section Spacing ──────────────────────────────────────── */
section {
  padding: 7rem 0;
}

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

.services-header {
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: 12px;
  padding: 2.5rem;
  transition: box-shadow 0.3s, transform 0.3s var(--ease-out);
}

.service-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-600);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-light);
}

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

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

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

.about-content .section-title {
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cream-200);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--emerald-700);
  line-height: 1.3;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ── Location ─────────────────────────────────────────────── */
.location {
  background: var(--cream);
}

.location-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.location-header .section-title {
  margin-bottom: 1rem;
}

.location-sub {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}

.location-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 3rem;
}

.location-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.location-card {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.location-card-icon {
  color: var(--emerald-600);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.location-card h4 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.location-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.location-card a {
  color: var(--emerald-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.location-card a:hover { color: var(--emerald-500); }

/* ── Contact ──────────────────────────────────────────────── */
.contact {
  background: var(--white);
}

.contact-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.contact-header .section-title {
  margin-bottom: 1rem;
}

.contact-sub {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}

.contact-sub a {
  color: var(--emerald-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-sub a:hover { color: var(--emerald-500); }

.contact-layout {
  max-width: 680px;
  margin: 0 auto;
}

.contact-form {
  background: var(--cream);
  border: 1px solid var(--cream-200);
  border-radius: 12px;
  padding: 2.5rem;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

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

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

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

.contact-success {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--cream);
  border: 1px solid var(--cream-200);
  border-radius: 12px;
}

.success-icon {
  color: var(--emerald-600);
  margin: 0 auto 1.5rem;
}

.contact-success h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.contact-success p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.contact-success-alt a {
  color: var(--emerald-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--emerald-900);
  color: var(--cream);
  padding: 4rem 0 2.5rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250, 248, 244, 0.12);
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-logo {
  color: var(--emerald-500);
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--cream);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(250, 248, 244, 0.6);
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(250, 248, 244, 0.45);
}

.footer-bottom a {
  color: rgba(250, 248, 244, 0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--cream); }

/* ── Reveal Animations ────────────────────────────────────── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

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

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { margin-left: 0; }
  .services-grid { gap: 1rem; }
}

@media (max-width: 768px) {
  section { padding: 5rem 0; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 6rem 2rem 2rem;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
  }

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

  .nav-link {
    font-size: 1.125rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cream-200);
  }

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

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    display: block;
  }

  .hero { min-height: 90vh; min-height: 90dvh; }

  .hero-content { margin-left: 0; padding-top: 6rem; }

  .hero-headline { font-size: clamp(2rem, 8vw, 2.75rem); }

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

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image { aspect-ratio: 16/9; }

  .location-details { grid-template-columns: 1fr; }

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

  .footer-top { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .service-card { padding: 1.75rem; }
  .contact-form { padding: 1.5rem; }
  .about-stats { flex-direction: column; gap: 1.5rem; }
}
