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

:root {
  --green-900: #0B1F15;
  --green-800: #1B4332;
  --green-700: #2D6A4F;
  --green-600: #40916C;
  --green-500: #52B788;
  --cream: #D4C5A9;
  --cream-light: #E8DFC8;
  --off-white: #F5F2EB;
  --white: #FEFDF9;
  --text-dark: #1A1A18;
  --text-mid: #4A4A46;
  --text-light: #7A7A74;
  --line: rgba(27, 67, 50, 0.12);
  --line-strong: rgba(27, 67, 50, 0.25);
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--white);
  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; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; }

.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(254, 253, 249, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.06); }

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--green-800);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-mid);
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--green-700);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--green-800); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--green-800) !important;
  color: var(--off-white) !important;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.8125rem !important;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--green-700) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px 0;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--green-800);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--green-800);
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(45, 106, 79, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(82, 183, 136, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse 90% 70% at 50% 50%, rgba(27, 67, 50, 0.9) 0%, rgba(11, 31, 21, 0.95) 100%),
    linear-gradient(160deg, #0B1F15 0%, #1B4332 40%, #2D6A4F 70%, #1B4332 100%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  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.8125rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.75rem, 7vw, 5rem);
  color: var(--white);
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero-title-accent {
  font-style: italic;
  color: var(--cream);
}

.hero-desc {
  font-size: 1.125rem;
  color: rgba(212, 197, 169, 0.8);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.75;
  font-weight: 300;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease);
}
.btn-primary {
  background: var(--cream);
  color: var(--green-800);
}
.btn-primary:hover {
  background: var(--cream-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(212, 197, 169, 0.35);
}
.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(212, 197, 169, 0.08);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: rgba(212, 197, 169, 0.55);
  letter-spacing: 0.04em;
}
.trust-sep { opacity: 0.4; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(212, 197, 169, 0.4);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(212, 197, 169, 0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── Section Shared ───────────────────────────────────── */
.section {
  padding: 120px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 72px;
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  color: var(--text-dark);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.section-line {
  width: 48px;
  height: 1px;
  background: var(--green-700);
  margin: 0 auto;
}

/* ── Services ─────────────────────────────────────────── */
.services { background: var(--off-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--white);
  padding: 48px 36px;
  transition: all 0.4s var(--ease);
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.06); }

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  margin-bottom: 24px;
}
.service-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.service-desc {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-weight: 300;
}

/* ── About ────────────────────────────────────────────── */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  border-radius: 4px;
}
.about-image-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 200px;
  height: 200px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  z-index: -1;
}
.about-content { max-width: 480px; }
.about-content .section-header { text-align: left; margin-bottom: 32px; }
.about-content .section-line { margin: 0; }
.about-content p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--green-800);
}
.stat-label {
  font-size: 0.8125rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

/* ── Gallery ──────────────────────────────────────────── */
.gallery { background: var(--off-white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(to top, rgba(11, 31, 21, 0.8), transparent);
  color: var(--cream);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ── Testimonials ─────────────────────────────────────── */
.testimonials { background: var(--green-800); }
.testimonials .section-eyebrow { color: var(--cream); }
.testimonials .section-title { color: var(--white); }
.testimonials .section-line { background: var(--cream); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212, 197, 169, 0.12);
  border-radius: 4px;
  padding: 40px 32px;
  transition: all 0.3s var(--ease);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(212, 197, 169, 0.25);
  transform: translateY(-4px);
}
.testimonial-quote {
  margin-bottom: 20px;
  flex-shrink: 0;
}
.testimonial-text {
  font-size: 1rem;
  color: rgba(212, 197, 169, 0.9);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  font-size: 0.8125rem;
  color: var(--cream);
  letter-spacing: 0.04em;
  font-weight: 400;
}

/* ── Contact ──────────────────────────────────────────── */
.contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-header { text-align: left; margin-bottom: 24px; }
.contact-info .section-line { margin: 0; }
.contact-info > p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 300;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-detail { display: flex; flex-direction: column; gap: 6px; }
.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}
.contact-detail a, .contact-detail dd {
  font-size: 1rem;
  color: var(--green-800);
  font-weight: 400;
  line-height: 1.6;
  transition: color 0.2s var(--ease);
}
.contact-detail a:hover { color: var(--green-600); }

/* Form */
.contact-form-wrap {
  background: var(--off-white);
  border-radius: 4px;
  padding: 48px;
  border: 1px solid var(--line);
}
.form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-dark);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 16px;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
}
.form-success svg { margin: 0 auto 20px; }
.form-success h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--green-800);
  margin-bottom: 8px;
}
.form-success p { color: var(--text-mid); font-weight: 300; }

/* ── Footer ───────────────────────────────────────────── */
.footer {
  background: var(--green-900);
  color: var(--cream);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(212, 197, 169, 0.12);
}
.footer-brand p {
  font-size: 0.9375rem;
  color: rgba(212, 197, 169, 0.6);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
  font-weight: 300;
}
.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 20px;
}
.footer ul { display: flex; flex-direction: column; gap: 12px; }
.footer ul a {
  font-size: 0.9375rem;
  color: rgba(212, 197, 169, 0.6);
  font-weight: 300;
  transition: color 0.2s var(--ease);
}
.footer ul a:hover { color: var(--cream); }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(212, 197, 169, 0.35);
  font-weight: 300;
}

/* ── Scroll Reveal ────────────────────────────────────── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid .testimonial-card:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(254, 253, 249, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.125rem; }
  .nav-toggle { display: flex; }

  .hero-content { padding: 100px 24px 80px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; max-width: 280px; }

  .section { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 36px 28px; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image img { height: 400px; }
  .about-image-accent { display: none; }
  .about-content { max-width: 100%; }
  .about-stats { flex-wrap: wrap; gap: 24px; }

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

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:last-child { grid-column: span 1; max-width: 100%; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-info .section-header { text-align: center; }
  .contact-info .section-line { margin: 0 auto; }
  .contact-info .section-header { margin-bottom: 20px; }
  .contact-form-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

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

@media (max-width: 480px) {
  .hero-title { font-size: 2.25rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
