/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  --green:        #2C4A2E;
  --green-dark:   #1E3320;
  --cream:        #EDE8DC;
  --cream-light:  #F4F0E8;
  --white:        #FFFFFF;
  --text:         #1A1A12;
  --text-mid:     #4A4A3A;
  --text-muted:   #7C7C68;
  --border:       #D8D3C8;
  --border-light: #E8E4DA;

  --serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:   'Jost', system-ui, -apple-system, sans-serif;

  --nav-h:  64px;
  --radius: 2px;
  --max-w:  1120px;
  --px:     clamp(24px, 5vw, 60px);
  --section-py: clamp(72px, 8vw, 120px);
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

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

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

ul { list-style: none; }

/* ═══════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════ */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
}

h2 {
  font-size: clamp(36px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  gap: 0.05em;
}

h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--green);
}

h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
  margin-bottom: 8px;
}

p { line-height: 1.75; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.eyebrow--light { color: rgba(255,255,255,0.55); }

/* ═══════════════════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.section {
  padding: var(--section-py) 0;
}

.section--cream  { background: var(--cream); }
.section--white  { background: var(--cream-light); }
.section--green  { background: var(--green); }

.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-rule {
  width: 40px;
  height: 1px;
  background: var(--green);
  margin: 20px auto 0;
  opacity: 0.4;
}

.section-subtitle {
  max-width: 560px;
  margin: 24px auto 0;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn--outline-light {
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
  background: transparent;
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn--outline-dark {
  border: 1px solid var(--text);
  color: var(--text);
  background: transparent;
}
.btn--outline-dark:hover {
  background: var(--text);
  color: #fff;
}

.btn--filled {
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
}
.btn--filled:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--green);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  background: rgba(28, 51, 32, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  backdrop-filter: blur(8px);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  flex-shrink: 0;
}

.logo-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.logo-image {
  width: 120px;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.5);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.lang-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 4px 8px;
  transition: color 0.2s;
}
.lang-toggle:hover { color: #fff; }

.nav-contact {
  padding: 10px 20px;
  font-size: 10.5px;
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.8);
  transition: all 0.25s ease;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  background: var(--green);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255,255,255,0.02) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-corner {
  position: absolute;
  width: 50px;
  height: 50px;
  opacity: 0.25;
}

.hero-corner--tl { top: 30px; left: 30px; border-top: 1px solid #fff; border-left: 1px solid #fff; }
.hero-corner--tr { top: 30px; right: 30px; border-top: 1px solid #fff; border-right: 1px solid #fff; }
.hero-corner--bl { bottom: 30px; left: 30px; border-bottom: 1px solid #fff; border-left: 1px solid #fff; }
.hero-corner--br { bottom: 30px; right: 30px; border-bottom: 1px solid #fff; border-right: 1px solid #fff; }

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

.hero-headline {
  font-family: var(--serif);
  font-weight: 400;
  color: #fff;
  line-height: 1.08;
  margin: 0 auto 32px;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-line1 {
  font-size: clamp(48px, 7.5vw, 88px);
  font-weight: 400;
  display: block;
}

.hero-line2 {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 300;
  color: rgba(255,255,255,0.28);
  display: block;
  font-style: normal;
  letter-spacing: -0.01em;
}

.hero-line3 {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 400;
  font-style: italic;
  display: block;
  color: #fff;
}

.hero-body {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  margin: 0 auto 14px;
  line-height: 1.65;
  font-weight: 300;
}

.hero-sub {
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  max-width: 460px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

.hero-link {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.hero-link:hover { color: #fff; }
.hero-link .arrow { transition: transform 0.2s; }
.hero-link:hover .arrow { transform: translateX(4px); }

.hero-badges {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
}

.badge {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 7px;
}

.badge .check {
  color: rgba(255,255,255,0.6);
  font-size: 11px;
}

/* ═══════════════════════════════════════════
   WHO WE SERVE
═══════════════════════════════════════════ */
.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.who-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}

.who-card__accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  opacity: 0.7;
}

.card-icon {
  font-size: 26px;
  margin-bottom: 18px;
  display: block;
}

.card-tags {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.card-body {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  font-size: 13.5px;
  color: var(--text-mid);
  padding-left: 16px;
  position: relative;
}

.feature-list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--green);
  font-weight: 700;
}

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
}

.service-card {
  background: var(--cream-light);
  padding: clamp(28px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}

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

.service-icon {
  font-size: 24px;
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--text);
}

.service-card p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.75;
  flex: 1;
}

.service-rule {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--green);
  opacity: 0.3;
  margin-top: 20px;
}

/* ═══════════════════════════════════════════
   WHY TRUST US
═══════════════════════════════════════════ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 60px);
  margin-bottom: 64px;
  text-align: center;
}

.pillar-icon-box {
  width: 56px;
  height: 56px;
  background: var(--cream-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 20px;
}

.pillar h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
}

.pillar p {
  font-size: 14px;
  color: var(--text-mid);
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.75;
}

.promise-quote {
  background: var(--cream-light);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 48px) clamp(32px, 6vw, 80px);
  text-align: center;
}

.promise-quote p {
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 26px);
  font-style: italic;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.promise-quote cite {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 60px);
  position: relative;
  margin-bottom: 56px;
  text-align: center;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(16.666% + 16px);
  right: calc(16.666% + 16px);
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.step { position: relative; z-index: 1; }

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--text-mid);
  margin: 0 auto 16px;
}

.step-icon {
  font-size: 20px;
  display: block;
  margin-bottom: 14px;
  min-height: 28px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step p {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.75;
}

.steps-cta { text-align: center; }

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 36px);
  position: relative;
}

.quote-mark {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: var(--border);
  position: absolute;
  top: 12px;
  left: 20px;
  font-weight: 300;
  pointer-events: none;
}

.stars {
  font-size: 11px;
  color: #c8a96a;
  letter-spacing: 3px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.testimonial-quote {
  font-family: var(--serif);
  font-size: clamp(14px, 1.6vw, 16px);
  font-style: italic;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
  color: var(--text);
}

.testimonial-author span {
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════ */
.cta-container {
  text-align: center;
}

.cta-headline {
  color: #fff;
  font-size: clamp(38px, 6vw, 68px);
  margin-bottom: 24px;
  gap: 0.02em;
}

.cta-headline span { display: block; }

.cta-headline em {
  display: block;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  font-weight: 300;
}

.cta-body {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
#footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
  padding-top: 60px;
  padding-bottom: 48px;
  align-items: start;
}

.footer-brand .nav-logo {
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
  font-weight: 300;
}

.footer-sub {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.35);
}

.footer-heading {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-email {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-email:hover { color: #fff; }

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

.footer-nav a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 28px;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom-inner p {
  font-size: 11.5px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--green-dark);
    padding: 40px var(--px);
    gap: 28px;
    z-index: 99;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
  }
  .nav-links.open a {
    font-size: 14px;
    letter-spacing: 0.1em;
  }

  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

  .who-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; gap: 36px; }
  .pillar { display: grid; grid-template-columns: 56px 1fr; gap: 16px 20px; text-align: left; }
  .pillar-icon-box { margin: 0; grid-row: 1 / 3; align-self: start; }
  .pillar p { max-width: none; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 600px)
═══════════════════════════════════════════ */
@media (max-width: 600px) {
  :root { --section-py: 60px; }

  .hero-badges { flex-direction: column; align-items: center; gap: 12px; }
  .hero-actions { flex-direction: column; gap: 16px; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }

  .nav-actions .nav-contact { display: none; }
  .lang-toggle { padding: 4px 4px; }

  .hero-corner { width: 30px; height: 30px; }
  .hero-corner--tl, .hero-corner--tr { top: 16px; }
  .hero-corner--bl, .hero-corner--br { bottom: 16px; }
  .hero-corner--tl, .hero-corner--bl { left: 16px; }
  .hero-corner--tr, .hero-corner--br { right: 16px; }
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .who-card,
  .service-card,
  .pillar,
  .step,
  .testimonial-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .who-card.visible,
  .service-card.visible,
  .pillar.visible,
  .step.visible,
  .testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
}
