:root {
  --ink: #20251f;
  --green: #314133;
  --moss: #687360;
  --paper: #f7f6f1;
  --sand: #e7e4d9;
  --line: #cfcec4;
  --yellow: #d99c27;
  --white: #fffefa;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
section[id] { scroll-margin-top: 6.5rem; }
.skip-link { position: fixed; z-index: 100; top: -4rem; left: 1rem; padding: .75rem 1rem; background: var(--yellow); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.utility-bar { min-height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 5vw; background: var(--ink); color: #daddd4; font-size: .65rem; font-weight: 650; letter-spacing: .05em; }
.utility-bar p { margin: 0; }
.utility-bar a { color: var(--white); }
.utility-bar a strong { color: var(--yellow); }
.site-header { position: sticky; z-index: 20; top: 0; min-height: 86px; display: flex; align-items: center; justify-content: space-between; padding: 0 5vw; background: rgb(247 246 241 / 96%); border-bottom: 1px solid transparent; backdrop-filter: blur(12px); transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 14px rgb(32 37 31 / 4%); }
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand__mark { width: 42px; height: 42px; }
.brand > span { display: grid; line-height: .83; letter-spacing: .08em; }
.brand strong { font-size: 1.16rem; font-weight: 900; }
.brand small { margin-top: .28rem; font-size: .57rem; font-weight: 800; letter-spacing: .27em; }
.main-nav { display: flex; align-items: center; gap: clamp(1.3rem, 3vw, 3.2rem); font-size: .76rem; font-weight: 750; letter-spacing: .06em; }
.main-nav > a:not(.main-nav__phone) { position: relative; }
.main-nav > a:not(.main-nav__phone)::after { content: ""; position: absolute; right: 0; bottom: -.4rem; left: 0; height: 1px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav > a:not(.main-nav__phone):hover::after, .main-nav > a:not(.main-nav__phone):focus-visible::after { transform: scaleX(1); }
.main-nav__phone { padding: .78rem 1rem; background: var(--green); color: var(--white); letter-spacing: .02em; transition: background .2s; }
.main-nav__phone:hover, .main-nav__phone:focus-visible { background: var(--yellow); color: var(--ink); }
.menu-button { display: none; border: 0; background: transparent; color: inherit; }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); min-height: min(720px, calc(100svh - 120px)); background: var(--sand); }
.hero__content { display: flex; flex-direction: column; justify-content: center; max-width: 780px; padding: clamp(4.5rem, 9vw, 8rem) 5vw; }
.kicker, .overline { margin: 0 0 1.25rem; color: var(--green); font-size: .67rem; font-weight: 800; letter-spacing: .14em; line-height: 1.25; }
.kicker::before, .overline::before { content: ""; display: inline-block; width: 24px; height: 2px; margin: 0 .55rem .17rem 0; background: var(--yellow); }
h1, h2, h3 { margin: 0; letter-spacing: -.055em; }
h1, h2 { font-weight: 780; line-height: .96; }
h1 { max-width: 700px; font-size: clamp(3.8rem, 6.8vw, 7.5rem); }
h1 em, h2 em { color: var(--green); font-family: var(--serif); font-size: .88em; font-style: italic; font-weight: 400; letter-spacing: -.075em; }
.hero__lead { max-width: 570px; margin: 1.8rem 0 0; color: #494e47; font-size: clamp(1rem, 1.28vw, 1.17rem); line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 2.8rem; min-height: 52px; padding: .8rem 1.05rem; border: 1px solid var(--green); font-size: .71rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button--primary { background: var(--green); color: var(--white); }
.button--primary:hover, .button--primary:focus-visible { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.button--primary span { font-size: 1.2rem; }
.button--quiet:hover, .button--quiet:focus-visible { background: var(--ink); color: var(--white); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 2rem; margin: clamp(3rem, 6vw, 5.5rem) 0 0; }
.hero__facts div { padding-left: .8rem; border-left: 2px solid var(--yellow); }
.hero__facts dt { color: #6e756b; font-size: .59rem; font-weight: 800; letter-spacing: .12em; }
.hero__facts dd { margin: .2rem 0 0; font-size: .81rem; font-weight: 750; }
.hero__image-wrap { position: relative; min-height: 500px; overflow: hidden; background: var(--green); }
.hero__image-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(18 27 18 / 42%), transparent 42%); pointer-events: none; }
.hero__image-wrap picture, .service-card--photo > picture, .work-grid__item picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hero__image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center center; filter: saturate(.87) contrast(1.03); }
.hero__image-caption { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; margin: 0; padding: .45rem .6rem; background: rgb(32 37 31 / 82%); color: var(--white); font-size: .58rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }

.section { padding: clamp(5rem, 9vw, 8.5rem) 5vw; }
.section-tag { color: #62685f; font-size: .64rem; font-weight: 800; letter-spacing: .11em; white-space: nowrap; }
.section-tag span { display: inline-block; width: 27px; height: 1px; margin: 0 .55rem .18rem; background: var(--yellow); }
.intro { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 2fr); gap: 6vw; }
.intro__content { max-width: 870px; }
h2 { font-size: clamp(2.85rem, 5.2vw, 5.7rem); }
.intro__content > p:last-child { max-width: 630px; margin: 2rem 0 0; color: #525951; font-size: clamp(1rem, 1.25vw, 1.13rem); line-height: 1.7; }
.terrain-profile { display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); gap: clamp(3rem, 7vw, 8rem); align-items: center; padding: clamp(4.5rem, 8vw, 7.5rem) 5vw; background: var(--sand); }
.terrain-profile__content { max-width: 550px; }
.terrain-profile__content > p:not(.overline) { margin: 1.8rem 0 0; color: #525951; font-size: 1.05rem; line-height: 1.7; }
.terrain-profile__figure { margin: 0; overflow: hidden; border: 1px solid #c9c8be; background: var(--white); }
.terrain-profile__figure svg { display: block; width: 100%; height: auto; }
.section-heading { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 2fr); gap: 6vw; align-items: start; }
.services { background: #e9e7de; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(3rem, 6vw, 5.5rem); }
.service-card { position: relative; min-height: 450px; overflow: hidden; }
.service-card--green { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--green); color: var(--white); }
.service-card__number { display: block; color: var(--yellow); font-size: .65rem; font-weight: 800; letter-spacing: .14em; }
.service-card h3 { max-width: 470px; font-size: clamp(1.9rem, 3.3vw, 3.6rem); font-weight: 750; line-height: 1; }
.service-card p { max-width: 430px; margin: 1.2rem 0 0; color: #d9ddd4; font-size: 1rem; line-height: 1.6; }
.service-card__symbol { align-self: flex-end; color: var(--yellow); font-family: var(--serif); font-size: 5rem; line-height: .6; }
.service-card--photo { color: var(--white); }
.service-card--photo > picture > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }
.service-card--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(19 28 19 / 93%), rgb(19 28 19 / 10%) 75%); }
.service-card__photo-content { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.5rem, 3vw, 2.5rem); }
.use-cases { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 2fr); gap: 6vw; margin-top: 1rem; padding-top: 1.4rem; border-top: 1px solid #c9c8be; }
.use-cases > p { margin: 0; color: #62685f; font-size: .63rem; font-weight: 800; letter-spacing: .13em; }
.use-cases ul { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: 0; padding: 0; list-style: none; font-size: clamp(1rem, 1.55vw, 1.3rem); font-weight: 650; letter-spacing: -.035em; }
.use-cases li::before { content: "•"; margin-right: .55rem; color: var(--yellow); }

.process { background: var(--ink); color: var(--white); }
.process .section-tag { color: #b8beb4; }
.process .overline { color: #d0d5cb; }
.process h2 em { color: var(--yellow); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 5rem); margin: clamp(3.5rem, 6vw, 5.5rem) 0 0; padding: 0; list-style: none; }
.steps li { padding-top: 1.1rem; border-top: 1px solid rgb(255 255 255 / 27%); }
.steps__number { color: var(--yellow); font-size: .64rem; font-weight: 800; letter-spacing: .14em; }
.steps__icon { display: block; width: 42px; height: 42px; margin-top: 2.6rem; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.steps h3 { margin-top: 2.8rem; font-size: clamp(1.25rem, 1.9vw, 1.7rem); font-weight: 700; line-height: 1.1; }
.steps__icon + h3 { margin-top: 1.2rem; }
.steps p { max-width: 300px; margin: .85rem 0 0; color: #c4c9c0; font-size: .94rem; line-height: 1.65; }

.work-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: auto auto; gap: 1rem; margin-top: clamp(3rem, 6vw, 5.5rem); }
.work-grid__item { position: relative; min-height: 310px; margin: 0; overflow: hidden; background: var(--sand); }
.work-grid__item--large { grid-row: span 2; min-height: 650px; }
.work-grid__item picture > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); transition: transform .5s; }
.work-grid__item:hover img { transform: scale(1.035); }
.work-grid__item--large img { object-position: center 62%; }
.work-grid__item figcaption { position: absolute; bottom: 1rem; left: 1rem; padding: .45rem .6rem; background: rgb(32 37 31 / 80%); color: var(--white); font-size: .59rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.work-grid__callout { min-height: 260px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 1.8rem; background: var(--yellow); }
.work-grid__callout > span { font-size: .63rem; font-weight: 850; letter-spacing: .14em; }
.work-grid__callout p { max-width: 300px; margin: 2.5rem 0; font-family: var(--serif); font-size: clamp(1.45rem, 2vw, 2rem); font-style: italic; letter-spacing: -.05em; line-height: 1.1; }
.work-grid__callout a { display: inline-flex; gap: 1rem; align-items: center; font-size: .83rem; font-weight: 850; letter-spacing: .06em; }
.work-grid__callout a b { font-size: 1.3rem; transition: transform .2s; }
.work-grid__callout a:hover b { transform: translateX(3px); }

.faq { background: #e9e7de; }
.faq__list { max-width: min(100%, 900px); margin: clamp(3rem, 6vw, 5.5rem) 0 0 auto; border-top: 1px solid #c9c8be; }
.faq details { border-bottom: 1px solid #c9c8be; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.35rem 0; cursor: pointer; font-size: clamp(1.15rem, 1.65vw, 1.45rem); font-weight: 700; letter-spacing: -.04em; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; color: var(--yellow); font-size: 1.7rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 680px; margin: 0 0 1.5rem; color: #525951; line-height: 1.7; }

.contact { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 580px; background: var(--green); color: var(--white); }
.contact__content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; max-width: 780px; padding: clamp(5rem, 9vw, 8rem) 5vw; }
.overline--light { color: #d6dcd1; }
.contact h2 em { color: var(--yellow); }
.contact__content > p:not(.overline) { max-width: 500px; margin: 1.8rem 0 0; color: #d4dbd1; font-size: 1.05rem; line-height: 1.65; }
.contact__actions { max-width: 440px; margin-top: 2.4rem; }
.contact__phone { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; align-items: end; padding: 1rem 0; border-bottom: 1px solid rgb(255 255 255 / 42%); font-size: clamp(1.45rem, 2.5vw, 2.25rem); font-weight: 750; letter-spacing: -.045em; }
.contact__phone small { grid-column: 1 / -1; color: var(--yellow); font-size: .61rem; font-weight: 850; letter-spacing: .14em; }
.contact__phone span { color: var(--yellow); transition: transform .2s; }
.contact__phone:hover span { transform: translateX(4px); }
.contact__whatsapp { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.15rem; color: #d6dcd1; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact__whatsapp span { color: var(--yellow); font-size: 1rem; transition: transform .2s; }
.contact__whatsapp:hover span { transform: translate(2px, -2px); }
.contact__visual { background: linear-gradient(0deg, rgb(16 25 16 / 40%), rgb(16 25 16 / 5%)), url("media/site/hero-1600.jpg") center / cover; filter: saturate(.75); }
@supports (background-image: image-set(url("media/site/hero-960.avif") 1x)) {
  .contact__visual { background-image: linear-gradient(0deg, rgb(16 25 16 / 40%), rgb(16 25 16 / 5%)), image-set(url("media/site/hero-960.avif") type("image/avif") 1x, url("media/site/hero-1600.avif") type("image/avif") 2x, url("media/site/hero-960.webp") type("image/webp") 1x, url("media/site/hero-1600.webp") type("image/webp") 2x); }
}
.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; align-items: center; padding: 2.2rem 5vw; background: #151a15; color: #d9ded4; font-size: .7rem; }
.site-footer p { margin: 0; text-align: center; }
.site-footer p:last-child { color: #9da49a; text-align: right; }
.site-footer__link { display: inline-block; margin-top: .35rem; color: var(--yellow); font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.brand--footer { color: var(--white); }

.legal-page { min-height: 100vh; background: var(--paper); }
.legal-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 86px; padding: 0 5vw; border-bottom: 1px solid var(--line); }
.legal-back { color: var(--green); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.legal-content { width: min(100% - 2.5rem, 820px); margin: 0 auto; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.legal-content h1 { max-width: 700px; font-size: clamp(3rem, 7vw, 5.5rem); }
.legal-lead { max-width: 650px; margin: 1.5rem 0 0; color: #525951; font-size: 1.06rem; line-height: 1.7; }
.legal-card { margin-top: 3rem; padding: clamp(1.5rem, 4vw, 3rem); background: var(--white); border: 1px solid var(--line); }
.legal-card section + section { margin-top: 2.3rem; padding-top: 2.3rem; border-top: 1px solid var(--line); }
.legal-card h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.05; }
.legal-card p { margin: .9rem 0 0; color: #525951; line-height: 1.7; }
.legal-card a { color: var(--green); font-weight: 750; text-decoration: underline; text-underline-offset: .18em; }
.legal-footer { padding: 2rem 5vw; background: var(--ink); color: #d9ded4; font-size: .72rem; }
.legal-footer p { margin: 0; }

@media (max-width: 760px) {
  .utility-bar { min-height: 32px; padding: .45rem 1.25rem; }
  .utility-bar p { display: none; }
  .utility-bar a { width: 100%; text-align: center; }
  .site-header { min-height: 72px; padding: 0 1.25rem; }
  .brand__mark { width: 36px; height: 36px; }
  .brand strong { font-size: 1.05rem; }
  .menu-button { z-index: 2; display: grid; place-content: center; gap: 5px; width: 39px; height: 39px; padding: 0; cursor: pointer; }
  .menu-button i { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s; }
  .menu-button[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: grid; gap: 0; padding: .75rem 1.25rem 1.2rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px rgb(32 37 31 / 8%); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .2s, transform .2s; }
  .main-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .main-nav > a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .main-nav > a:not(.main-nav__phone)::after { display: none; }
  .main-nav__phone { margin-top: .7rem; border: 0 !important; text-align: center; }
  .hero { display: flex; flex-direction: column; min-height: auto; }
  .hero__content { order: 2; padding: 3.8rem 1.25rem 3rem; }
  .hero__image-wrap { order: 1; min-height: 350px; max-height: 55vh; }
  .hero__image-wrap img { object-position: center 42%; }
  h1 { font-size: clamp(3.25rem, 15.3vw, 5.3rem); }
  .hero__actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
  .hero__facts dd { font-size: .75rem; }
  .section { padding: 4.7rem 1.25rem; }
  .intro, .section-heading, .use-cases, .terrain-profile { display: block; }
  .section-tag { margin-bottom: 2.7rem; }
  h2 { font-size: clamp(2.7rem, 12.5vw, 4.5rem); }
  .terrain-profile { padding: 4.7rem 1.25rem; }
  .terrain-profile__figure { margin-top: 3rem; }
  .service-grid { grid-template-columns: 1fr; gap: .8rem; margin-top: 3rem; }
  .service-card { min-height: 380px; }
  .use-cases { margin-top: .8rem; }
  .use-cases > p { margin-bottom: 1.1rem; }
  .use-cases ul { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; font-size: 1rem; }
  .steps { grid-template-columns: 1fr; gap: 2.4rem; margin-top: 3rem; }
  .steps__icon { margin-top: 1.35rem; }
  .steps h3, .steps__icon + h3 { margin-top: 1rem; }
  .work-grid { grid-template-columns: 1fr; gap: .8rem; margin-top: 3rem; }
  .work-grid__item, .work-grid__item--large { min-height: 390px; }
  .work-grid__callout { min-height: 230px; }
  .faq__list { margin-top: 3rem; }
  .contact { display: block; min-height: 0; }
  .contact__content { padding: 4.8rem 1.25rem; }
  .contact__visual { height: 270px; }
  .site-footer { grid-template-columns: 1fr; gap: 1.2rem; padding: 2rem 1.25rem; }
  .site-footer p, .site-footer p:last-child { text-align: left; }
  .legal-header { min-height: 72px; padding: 0 1.25rem; }
  .legal-content { width: min(100% - 2.5rem, 820px); }
}

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