:root {
  --green: #08743f;
  --green-dark: #07512f;
  --green-deep: #053c25;
  --orange: #ef7411;
  --cream: #f6f3eb;
  --white: #ffffff;
  --ink: #183228;
  --muted: #637068;
  --line: #dbe1dc;
  --shadow: 0 20px 50px rgba(6, 62, 37, 0.12);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--white);
  color: var(--green-dark);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(8, 116, 63, 0.1);
  backdrop-filter: blur(12px);
  transition: box-shadow 180ms ease;
}

.site-header.scrolled { box-shadow: 0 8px 30px rgba(5, 60, 37, 0.1); }

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: block; width: 155px; }
.brand img { width: 100%; height: 76px; object-fit: contain; object-position: left center; }

.main-nav { display: flex; align-items: center; gap: clamp(24px, 4vw, 48px); }
.main-nav a {
  position: relative;
  color: var(--green-deep);
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  max-height: 980px;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -3; object-fit: cover; object-position: center; }
.hero-overlay {
  z-index: -2;
  background: linear-gradient(90deg, rgba(4, 48, 28, 0.88) 0%, rgba(4, 48, 28, 0.64) 48%, rgba(4, 48, 28, 0.14) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -10vw -30vw auto;
  width: 55vw;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.hero-content { padding-top: 100px; color: var(--white); }
.eyebrow, .section-kicker {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.3rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hero-lead { max-width: 650px; margin: 26px 0 36px; font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.86); }

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: var(--white); }
.button-primary:hover { background: #d96208; }

.hero-scroll {
  position: absolute;
  bottom: 25px;
  left: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transform: translateX(-50%);
}

.section { padding: clamp(80px, 10vw, 140px) 0; scroll-margin-top: 82px; }
.section h2 { margin: 0; color: var(--green-deep); font-size: clamp(2.1rem, 4vw, 3.7rem); line-height: 1.08; letter-spacing: -0.04em; text-wrap: balance; }

.company { background: var(--cream); }
.company-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(50px, 10vw, 140px); align-items: end; }
.company-copy { padding-bottom: 5px; font-size: 1.16rem; }
.company-copy p { margin: 0 0 18px; }
.company-copy p:last-child { margin-bottom: 0; }
.company-details { margin-top: clamp(34px, 5vw, 56px); border-top: 1px solid #ccd5cf; }
.company-details summary {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: var(--green-dark);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.company-details summary::-webkit-details-marker { display: none; }
.company-details summary:focus-visible { outline: 3px solid rgba(239, 116, 17, .45); outline-offset: 4px; }
.details-label-less { display: none; }
.company-details[open] .details-label-more { display: none; }
.company-details[open] .details-label-less { display: inline; }
.details-icon { position: relative; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid #aab8af; border-radius: 50%; }
.details-icon::before, .details-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--green); transform: translate(-50%, -50%); }
.details-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 180ms ease; }
.company-details[open] .details-icon::after { transform: translate(-50%, -50%) rotate(0); }
.company-history { padding: 12px 0 10px; columns: 2 340px; column-gap: clamp(40px, 7vw, 90px); color: #405047; }
.company-history p { margin: 0 0 22px; break-inside: avoid; }
.company-history .history-intro { color: var(--green-deep); font-size: 1.2rem; font-weight: 700; line-height: 1.5; }

.mission-vision {
  padding: clamp(42px, 5.8vw, 74px) 0 clamp(58px, 7vw, 96px);
  background: #f8faf7;
  border-top: 1px solid rgba(8, 116, 63, 0.08);
  border-bottom: 1px solid rgba(8, 116, 63, 0.08);
}
.mission-grid {
  display: grid;
  gap: clamp(34px, 5vw, 56px);
}
.mission-card {
  color: var(--green-deep);
}
.mission-card + .mission-card {
  padding-top: clamp(22px, 2.6vw, 32px);
  border-top: 1px solid #d9e0dc;
}
.mission-card h2 {
  max-width: 620px;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  text-transform: none;
}
.mission-copy {
  max-width: 100%;
  margin-top: clamp(16px, 2.3vw, 24px);
  color: #405047;
  font-size: 1.05rem;
  line-height: 1.75;
}
.mission-copy p { margin: 0 0 18px; }
.mission-copy p:last-child { margin-bottom: 0; }

.services { background: var(--white); }
.section-heading { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: end; margin-bottom: 56px; }
.section-heading > p { margin: 0 0 7px; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); }
.service-card { position: relative; min-height: 410px; padding: 42px 24px 34px; border-right: 1px solid var(--line); transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease; }
.service-card:last-child { border-right: 0; }
.service-card:hover { z-index: 2; background: var(--cream); transform: translateY(-6px); box-shadow: var(--shadow); }
.service-number { position: absolute; top: 22px; right: 24px; color: #b5c1ba; font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.service-icon { width: 66px; height: 66px; margin: 42px 0 28px; color: var(--green); }
.service-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.service-card h3 { min-height: 72px; margin: 0 0 18px; color: var(--green-deep); font-size: 1.16rem; line-height: 1.25; }
.service-card p { margin: 0; color: var(--muted); font-size: .93rem; }

.contact { position: relative; overflow: hidden; background: var(--green-deep); color: var(--white); }
.contact::before { content: ""; position: absolute; top: -220px; right: -150px; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.section-kicker-light { color: #ff9b4c; }
.contact h2 { color: var(--white); }
.contact-heading { position: relative; max-width: 760px; margin-bottom: 55px; }
.contact-heading > p:last-child { max-width: 630px; margin: 22px 0 0; color: rgba(255,255,255,.75); font-size: 1.05rem; }
.main-contact { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 32px; padding: 25px 28px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); }
.main-contact-label { margin: 0 0 9px; color: #ff9b4c; font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.main-contact-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.main-contact-links a { color: var(--white); font-size: .92rem; font-weight: 700; text-decoration: none; }
.main-contact-links a:hover, .main-contact-links a:focus-visible { color: #ff9b4c; }
.main-contact-links .main-whatsapp { padding: 7px 12px; border: 1px solid rgba(255,255,255,.3); font-size: .74rem; }
.social-contact { flex: 0 0 auto; }
.social-links { display: flex; gap: 10px; }
.social-links a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: var(--white); transition: border-color 180ms ease, color 180ms ease, background 180ms ease; }
.social-links a:hover, .social-links a:focus-visible { border-color: var(--orange); background: var(--orange); color: var(--white); }
.social-links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.social-links .social-dot { fill: currentColor; stroke: none; }
.social-links .social-play { fill: currentColor; stroke: none; }
.team-grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.person-card { display: flex; min-width: 0; align-items: center; gap: 22px; padding: 20px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.07); color: var(--white); transition: background 180ms ease, border-color 180ms ease; }
.person-card:hover { border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.11); }
.person-photo { width: 118px; height: 118px; flex: 0 0 118px; overflow: hidden; border: 3px solid rgba(255,255,255,.75); border-radius: 50%; background: #f4f5f3; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.person-info { min-width: 0; }
.person-role { margin: 0 0 5px; color: #ff9b4c; font-size: .64rem; font-weight: 800; letter-spacing: .11em; line-height: 1.35; text-transform: uppercase; }
.person-info h3 { margin: 0; color: var(--white); font-size: 1.05rem; line-height: 1.25; }
.person-actions { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; }
.person-actions a { position: relative; color: rgba(255,255,255,.8); font-size: .72rem; font-weight: 800; text-decoration: none; }
.person-actions a:not(:last-child)::after { content: ""; position: absolute; top: 3px; right: -9px; width: 1px; height: 11px; background: rgba(255,255,255,.22); }
.person-actions a:hover, .person-actions a:focus-visible { color: var(--orange); }
.locations-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.location-card { padding: 24px 24px 22px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.055); color: var(--white); }
.location-label { margin: 0 0 16px; color: #ff9b4c; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.location-card address { display: grid; gap: 5px; margin: 0 0 18px; color: rgba(255,255,255,.86); font-style: normal; line-height: 1.5; }
.location-links { display: grid; gap: 7px; }
.location-links a { color: rgba(255,255,255,.78); font-size: .82rem; font-weight: 800; text-decoration: none; }
.location-links a:hover, .location-links a:focus-visible { color: var(--orange); }

.site-footer { padding: 26px 0; background: #032b1a; color: rgba(255,255,255,.7); font-size: .82rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner img { width: 88px; height: 52px; object-fit: contain; filter: brightness(0) invert(1); opacity: .8; }
.footer-inner a { font-weight: 700; text-decoration: none; }

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { border-bottom: 1px solid var(--line); }
  .service-card:nth-child(even) { border-right: 0; }
  .service-card:last-child { border-bottom: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; }
  .company-grid { grid-template-columns: 1fr; }
  .company-grid { gap: 35px; }
  .locations-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .site-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 24px rgba(5, 60, 37, 0.08);
    backdrop-filter: blur(10px);
  }
  .header-inner { min-height: 72px; }
  .brand { width: 125px; }
  .brand img { height: 64px; }
  .menu-toggle {
    position: relative;
    z-index: 102;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 8px 11px;
    border: 1px solid rgba(5, 60, 37, .2);
    border-radius: 999px;
    background: var(--white);
    color: var(--green-deep);
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(5, 60, 37, .08);
    text-transform: uppercase;
  }
  .menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { display: block; width: 23px; height: 2px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
  .menu-toggle-lines { position: relative; }
  .menu-toggle-lines::before, .menu-toggle-lines::after { content: ""; position: absolute; left: 0; }
  .menu-toggle-lines::before { top: -7px; }
  .menu-toggle-lines::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { top: 0; transform: rotate(-45deg); }
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    z-index: 101;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(5, 60, 37, .12);
    border-radius: 16px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 45px rgba(5, 60, 37, .18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 0 14px;
    border-radius: 10px;
    color: var(--green-deep);
    font-size: 1rem;
    font-weight: 850;
  }
  .main-nav a:hover, .main-nav a:focus-visible { background: var(--cream); }
  .main-nav a::after { display: none; }
  .hero { min-height: 680px; }
  .hero-image { object-position: 55% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(4,48,28,.91), rgba(4,48,28,.58)); }
  .hero-content { padding-top: 72px; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .section { scroll-margin-top: 70px; }
  .mission-copy { font-size: .96rem; line-height: 1.65; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card:nth-child(even) { border-right: 0; }
  .service-card:last-child { border-bottom: 0; }
  .service-card h3 { min-height: auto; }
  .main-contact { align-items: flex-start; flex-direction: column; padding: 22px 20px; }
  .main-contact-links { align-items: flex-start; flex-direction: column; gap: 6px; }
  .social-contact { width: 100%; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
  .team-grid { grid-template-columns: 1fr; }
  .person-card { gap: 18px; padding: 18px; }
  .person-photo { width: 112px; height: 112px; flex-basis: 112px; }
  .person-info h3 { font-size: .98rem; }
  .locations-grid { margin-top: 24px; }
  .location-card { padding: 20px 18px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 10px; }
}

@media (max-width: 380px) {
  .person-card { gap: 14px; padding: 15px; }
  .person-photo { width: 104px; height: 104px; flex-basis: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
