*,
*::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;
  --cream-50: #faf9f6;
  --cream-100: #f5f3ed;
  --cream-200: #eae6db;
  --cream-300: #d4cfc3;
  --text-dark: #1a1a18;
  --text-muted: #5c5c54;
  --text-light: #8a8a80;
  --font-serif: 'Crimson Pro', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-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(--cream-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-200);
  transition: box-shadow 0.4s var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--emerald-900);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.logo-icon {
  flex-shrink: 0;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
  position: relative;
}

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

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

.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;
  height: 100vh;
  min-height: 640px;
  max-height: 1200px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(4, 47, 35, 0.55) 0%,
    rgba(6, 78, 59, 0.65) 50%,
    rgba(4, 47, 35, 0.80) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  max-width: 680px;
}

.hero-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--emerald-700);
  color: #fff;
}

.btn-primary:hover {
  background: var(--emerald-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(5, 150, 105, 0.3);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-ghost-light:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

.btn-text {
  background: none;
  border: none;
  color: var(--emerald-700);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-sans);
}

.btn-full {
  width: 100%;
}

/* ─── SECTIONS ─── */
section {
  padding: 120px 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

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

/* ─── SERVICES ─── */
.services {
  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: 2px;
}

.service-card {
  background: var(--cream-100);
  padding: 48px 36px;
  text-align: left;
  transition: background 0.3s var(--ease);
}

.service-card:hover {
  background: var(--cream-200);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cream-300);
  border-radius: 50%;
  margin-bottom: 24px;
  color: var(--emerald-800);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.service-card:hover .service-icon {
  border-color: var(--emerald-700);
  color: var(--emerald-700);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 12px;
}

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

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.about-image {
  overflow: hidden;
}

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

.about-text {
  padding: 80px 64px 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text .section-title {
  margin-bottom: 28px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 20px;
}

.about-credentials {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-300);
}

.credential {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.credential-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.credential-value {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 400;
}

/* ─── WHY US ─── */
.why-us {
  background: var(--cream-50);
}

.why-us .container {
  text-align: center;
}

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

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.why-item {
  padding-top: 0;
}

.why-number {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--emerald-600);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.why-item h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 12px;
}

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

/* ─── CTA ─── */
.cta {
  padding: 0;
  position: relative;
}

.cta-bg {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
}

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

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

.cta .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  color: #fff;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 40px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ─── CONTACT ─── */
.contact {
  background: var(--cream-100);
}

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

.contact-intro {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

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

.contact-detail-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-detail a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.contact-detail a:hover {
  color: var(--emerald-700);
}

.contact-detail > div span:last-child,
.contact-detail > div span {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 400;
}

/* ─── FORM ─── */
.contact-form-wrap {
  background: var(--cream-50);
  border: 1px solid var(--cream-200);
  border-radius: 4px;
  padding: 48px;
}

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

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-dark);
  background: var(--cream-100);
  border: 1px solid var(--cream-300);
  border-radius: 3px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald-600);
  background: var(--cream-50);
}

.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.82rem;
  color: var(--text-light);
  margin-top: 16px;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
}

.form-success svg {
  color: var(--emerald-600);
  margin: 0 auto 20px;
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 24px;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 300;
  max-width: 280px;
}

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

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

.footer-links a:hover {
  color: #fff;
}

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

.footer-contact a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 300;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-contact span {
  font-size: 0.9rem;
  font-weight: 300;
}

.footer-bottom {
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
}

/* ─── SCROLL REVEAL (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 249, 246, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    padding: 24px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }

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

  .nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .nav a {
    font-size: 1rem;
  }

  .hero {
    min-height: 580px;
  }

  .hero-content {
    padding-top: 100px;
  }

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

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

  .about-image {
    height: 360px;
  }

  .about-text {
    padding: 56px 24px;
  }

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

  .cta-bg {
    height: 400px;
  }

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

  .contact-form-wrap {
    padding: 32px 24px;
  }

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

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

@media (max-width: 480px) {
  section {
    padding: 80px 0;
  }

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

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    text-align: center;
  }
}
