:root {
  --forest: #10352a;
  --forest-deep: #09271f;
  --forest-dark: #071f19;
  --leaf: #cce79a;
  --leaf-bright: #dff3af;
  --sage: #88a38d;
  --paper: #fafaf6;
  --paper-deep: #f0f2eb;
  --ink: #18362e;
  --muted: #637168;
  --line: #dce2d6;
  --body-font: "DM Sans", Arial, sans-serif;
  --display-font: "Manrope", Arial, sans-serif;
}

/* Logomarca horizontal oficial, preservada integralmente. */
.footer-logo { display: flex; align-items: center; gap: 15px; }
.footer-logo img { object-fit: contain; }
.service-card-wide.service-card-photo { background-size: cover; background-repeat: no-repeat; }
html:not(.js) .reveal { opacity: 1; transform: none; }
html:not(.js) .tab-panel[hidden] { display: block; }
html:not(.js) .tab-list { display: none; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body-font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--leaf); color: var(--forest-deep); }
:focus-visible { outline: 3px solid #8ecf52; outline-offset: 4px; }
.container { width: min(1360px, calc(100% - 104px)); margin-inline: auto; }
.section-pad { padding-block: 120px; }
.skip-link { position: fixed; left: 15px; top: -80px; z-index: 200; padding: 13px 18px; background: var(--leaf); color: var(--forest); font-weight: 700; border-radius: 5px; }
.skip-link:focus { top: 12px; }
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in-view { opacity: 1; transform: translateY(0); }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 80; height: 88px; background: #fff; box-shadow: 0 1px 0 rgba(13,54,42,.10); }
.site-header.is-scrolled { box-shadow: 0 10px 38px rgba(9,39,31,.09); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 35px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 169px; height: 68px; object-fit: contain; }
.main-nav { display: flex; gap: clamp(17px, 2.2vw, 38px); align-items: center; margin-left: auto; }
.main-nav > a:not(.mobile-nav-cta) { position: relative; padding: 12px 0; font-size: 13px; font-weight: 700; color: #294239; white-space: nowrap; transition: color .2s ease; }
.main-nav > a:not(.mobile-nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 2px; background: #6b963c; transition: right .25s ease; }
.main-nav > a:hover, .main-nav > a.is-current { color: #467a38; }
.main-nav > a:hover::after, .main-nav > a.is-current::after { right: 0; }
.header-cta { flex: 0 0 auto; display: inline-flex; justify-content: space-between; align-items: center; gap: 25px; padding: 17px 21px; background: var(--forest); color: #fff; border-radius: 5px; font-size: 13px; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.header-cta:hover { background: #275f45; transform: translateY(-1px); }
.header-cta span { font-size: 18px; font-weight: 400; }
.mobile-nav-cta, .menu-toggle { display: none; }

/* Hero */
.hero { position: relative; isolation: isolate; min-height: min(790px, calc(100svh - 88px)); background: var(--forest-deep); color: white; overflow: hidden; }
.hero-image { position: absolute; inset: 0; z-index: -2; background: url("assets/cerrado-hero.webp") center 56% / cover no-repeat; transform: scale(1.025); animation: hero-arrive 2.5s ease-out both; }
.hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(5,28,22,.90) 0%,rgba(6,36,27,.81) 33%,rgba(9,39,30,.50) 59%,rgba(9,39,30,.08) 100%),linear-gradient(0deg,rgba(4,27,19,.63) 0%,transparent 32%); }
.hero-layout { position: relative; min-height: inherit; display: flex; flex-direction: column; justify-content: center; padding-top: 90px; padding-bottom: 90px; }
.hero-copy { max-width: 810px; position: relative; z-index: 1; animation: content-arrive 1s .12s both; }
.eyebrow, .section-kicker { font-family: var(--display-font); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; display: flex; align-items: center; gap: 13px; }
.eyebrow-light { color: var(--leaf-bright); }
.eyebrow-line, .kicker-line { display: inline-block; flex: 0 0 auto; height: 1px; width: 34px; background: currentColor; }
.hero h1 { font-family: var(--display-font); font-size: clamp(4.1rem, 7vw, 7.4rem); font-weight: 700; letter-spacing: -.076em; line-height: .99; margin: 29px 0 12px; }
.hero h1 span { color: var(--leaf-bright); }
.hero-topic { font-family: var(--display-font); font-size: clamp(20px, 2.3vw, 30px); letter-spacing: -.036em; font-weight: 600; margin: 21px 0 20px; }
.hero-description { max-width: 630px; font-size: 17px; line-height: 1.76; font-weight: 400; color: rgba(255,255,255,.87); margin: 0 0 30px; }
.hero-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; padding: 18px 24px; border: 0; border-radius: 5px; font-size: 13px; line-height: 1.3; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button span, .text-link span { font-size: 18px; line-height: 1; font-weight: 400; }
.button-lime { background: var(--leaf); color: var(--forest-deep); }
.button-lime:hover { background: #edffc5; }
.button-forest { background: var(--forest); color: white; }
.button-forest:hover { background: #2c634b; }
.text-link { display: inline-flex; align-items: center; gap: 15px; font-size: 13px; font-weight: 800; border-bottom: 1px solid currentColor; padding-bottom: 8px; transition: gap .2s ease; }
.text-link:hover { gap: 23px; }
.light-link { color: #fff; }
.dark-link { color: var(--forest); }
.hero-info { position: absolute; right: 0; bottom: 114px; display: flex; align-items: flex-start; gap: 16px; width: 320px; padding: 24px; background: rgba(15,47,36,.53); border: 1px solid rgba(238,255,235,.24); backdrop-filter: blur(19px); border-radius: 8px; }
.hero-info-icon { color: var(--leaf); font-size: 27px; line-height: 1; }
.hero-info strong { display: block; font-family: var(--display-font); font-size: 14px; margin-bottom: 6px; }
.hero-info span:last-child { display: block; font-size: 12px; line-height: 1.65; color: rgba(255,255,255,.78); }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 36px; display: flex; align-items: center; justify-content: space-between; font-family: var(--display-font); font-weight: 700; font-size: 10px; letter-spacing: .15em; color: rgba(255,255,255,.85); }
.hero-bottom > span { display: flex; align-items: center; gap: 11px; }
.small-dot { background: var(--leaf); width: 6px; height: 6px; border-radius: 50%; }
.hero-bottom a { display: flex; align-items: center; gap: 17px; }
.hero-bottom a span { font-size: 17px; }
.expertise-strip { color: #16392d; background: var(--leaf); overflow: hidden; }
.expertise-inner { min-height: 67px; display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.expertise-inner span { font-family: var(--display-font); font-size: 12px; letter-spacing: .09em; font-weight: 800; white-space: nowrap; }
.expertise-inner b { font-size: 17px; font-weight: 500; color: #507d3c; }
@keyframes hero-arrive { from { transform: scale(1.08); filter: saturate(.7); } to { transform: scale(1.025); filter: saturate(1); } }
@keyframes content-arrive { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Editorial headings */
.environmental { background: var(--paper); }
.section-head { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,.55fr); align-items: end; gap: 60px; margin-bottom: 59px; }
.section-kicker { color: #698959; margin: 0 0 23px; }
.section-head h2, .institutional-copy h2, .contact-copy h2 { font-family: var(--display-font); font-size: clamp(3rem, 4.6vw, 5rem); font-weight: 700; letter-spacing: -.068em; line-height: 1.13; margin: 0; }
.section-head h2 span, .institutional-copy h2 span, .contact-copy h2 span { color: #788e6d; }
.section-head > p { color: var(--muted); font-size: 16px; line-height: 1.85; margin: 0 0 8px; }

/* Service tabs */
.solutions-explorer { display: grid; grid-template-columns: minmax(310px,.38fr) minmax(0,.62fr); border: 1px solid #d9e1d4; border-radius: 13px; overflow: hidden; min-height: 610px; box-shadow: 0 22px 60px rgba(34,61,37,.045); }
.tab-list { display: flex; flex-direction: column; padding: 27px 0 26px; background: #f2f4ed; }
.tab-button { width: 100%; position: relative; display: grid; grid-template-columns: 36px 1fr 30px; gap: 17px; align-items: center; text-align: left; padding: 27px 31px; border: 0; border-left: 4px solid transparent; border-bottom: 1px solid #e1e6db; background: transparent; color: #344b40; font-family: var(--display-font); font-weight: 700; font-size: 15px; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.tab-button:hover { background: #eaf0e2; }
.tab-button.is-active { background: #e2ecd8; border-left-color: #91b55e; color: #103e2f; }
.tab-number { font-family: var(--body-font); font-size: 11px; font-weight: 700; color: #85a27a; }
.tab-arrow { font-size: 20px; font-weight: 400; justify-self: end; opacity: .35; transition: opacity .2s, transform .2s; }
.tab-button.is-active .tab-arrow { opacity: 1; transform: rotate(45deg); }
.tab-footnote { padding-inline: 34px; margin: auto 0 0; font-size: 12px; line-height: 1.7; color: #859386; }
.tab-panels { position: relative; background: radial-gradient(ellipse at 100% 0%,#285b43 0%,#12392d 43%,#102f26 100%); color: white; overflow: hidden; }
.contour-art { position: absolute; width: 83%; height: 105%; right: -17%; top: -5%; opacity: .18; pointer-events: none; }
.contour-art path { fill: none; stroke: #c2e6a2; stroke-width: 1.2; }
.tab-panel { position: relative; z-index: 1; padding: 58px clamp(35px,5.4vw,79px) 56px; }
.tab-panel[hidden] { display: none; }
.panel-category { display: block; color: #b6dc91; font-family: var(--display-font); font-size: 11px; font-weight: 800; letter-spacing: .16em; margin-bottom: 19px; }
.tab-panel h3 { font-family: var(--display-font); font-size: clamp(36px,3vw,49px); line-height: 1.13; letter-spacing: -.054em; font-weight: 650; margin: 0 0 19px; }
.tab-panel > p { max-width: 600px; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.76); margin: 0 0 26px; }
.panel-services { list-style: none; margin: 0 0 31px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 15px 27px; }
.panel-services li { position: relative; padding-left: 18px; color: rgba(255,255,255,.92); font-size: 13px; line-height: 1.5; }
.panel-services li::before { content: ""; position: absolute; top: .55em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--leaf); }
.panel-cta { border-top: 1px solid rgba(255,255,255,.21); padding-top: 19px; display: flex; align-items: center; justify-content: space-between; max-width: 580px; font-size: 13px; font-weight: 700; color: var(--leaf-bright); }
.panel-cta span { font-size: 21px; }

/* How we work */
.method { background: var(--forest-deep); color: white; display: grid; grid-template-columns: 48.5% 51.5%; }
.method-image { position: relative; min-height: 740px; overflow: hidden; }
.method-image::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(0deg,rgba(4,20,15,.62),transparent); }
.method-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 54% center; }
.image-caption { position: absolute; z-index: 1; left: clamp(34px,6vw,98px); bottom: 41px; color: white; font-family: var(--display-font); font-size: 10px; letter-spacing: .17em; font-weight: 700; }
.method-copy { padding: 88px clamp(45px,7.3vw,125px) 78px clamp(45px,6.4vw,104px); }
.light-kicker { color: var(--leaf); }
.method h2 { font-family: var(--display-font); font-size: clamp(2.7rem,3.6vw,4.6rem); line-height: 1.15; letter-spacing: -.063em; margin: 0 0 20px; }
.method-lead { font-size: 15px; line-height: 1.85; color: rgba(255,255,255,.72); margin: 0 0 35px; }
.method-steps { list-style: none; margin: 0; padding: 0; }
.method-steps li { display: grid; grid-template-columns: 31px 1fr; gap: 25px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.14); }
.method-steps li > span { color: var(--leaf); font-size: 12px; font-weight: 700; }
.method-steps h3 { margin: 0 0 7px; font-family: var(--display-font); font-size: 17px; letter-spacing: -.018em; font-weight: 700; }
.method-steps p { margin: 0; font-size: 13px; color: rgba(255,255,255,.68); line-height: 1.65; }
.method-note { margin: 30px 0 0; color: rgba(255,255,255,.53); line-height: 1.6; font-size: 11px; }

/* Other services */
.all-services { background: #fcfcf8; }
.services-head { margin-bottom: 54px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
.service-card { min-height: 362px; display: flex; flex-direction: column; position: relative; overflow: hidden; padding: 32px; background: #f0f3e9; border: 1px solid #e4e9de; border-radius: 11px; transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(25,62,38,.11); }
.service-index { font-family: var(--display-font); font-size: 10px; letter-spacing: .15em; font-weight: 800; color: #61845e; position: relative; z-index: 1; }
.service-card h3 { position: relative; z-index: 1; font-family: var(--display-font); font-size: clamp(26px,2.25vw,34px); letter-spacing: -.052em; line-height: 1.2; margin: auto 0 15px; font-weight: 700; }
.service-card p { position: relative; z-index: 1; margin: 0 0 22px; max-width: 295px; color: #657468; font-size: 13px; line-height: 1.7; }
.card-action { display: flex; align-items: center; justify-content: space-between; gap: 15px; position: relative; z-index: 1; padding: 17px 0 0; border: 0; border-top: 1px solid #cfd9c8; color: var(--forest); background: transparent; text-align: left; font-weight: 800; font-size: 12px; transition: color .2s; }
.card-action:hover { color: #6b9542; }
.card-action span { font-size: 19px; line-height: 1; font-weight: 400; }
.service-card-photo { border-color: transparent; color: white; background-size: cover; background-position: center; }
.service-card-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(5,29,22,.94) 0%,rgba(5,29,22,.69) 42%,rgba(5,29,22,.2) 100%); transition: background .25s; }
.service-card-photo .service-index, .service-card-photo p { color: rgba(255,255,255,.84); }
.service-card-photo h3 { color: #fff; }
.service-card-photo .card-action { color: white; border-color: rgba(255,255,255,.35); }
.service-card-photo .card-action:hover { color: var(--leaf); }
.service-card-biologia { background-image: url("assets/biologia-fauna-flora.webp"); background-position: 39% center; }
.service-card-civil { background-image: url("assets/engenharia-civil.webp"); background-position: 52% center; }
.service-card-topo { background-image: url("assets/engenharia-campo.webp"); background-position: 48% 50%; }
.service-card-eletrica { background-image: url("assets/engenharia-eletrica.webp"); background-position: 56% center; }
.service-card-rural { background-image: url("assets/regularizacao-rural.webp"); background-position: 61% center; }
.service-card-despachante { background-image: url("assets/despachante-ambiental.webp"); background-position: 53% center; }
.service-card-mudas { background-image: url("assets/mudas-nativas.webp"); background-position: 50% 44%; }
.service-card-wide { grid-column: span 2; background: var(--forest); border-color: transparent; color: white; }
.service-card-juridico { background-image: url("assets/parcerias-juridicas.webp"); background-position: 50% 48%; }
.service-card-wide .service-index, .service-card-wide p { color: rgba(255,255,255,.71); }
.service-card-wide h3 { margin-top: auto; max-width: 460px; }
.service-card-wide p { max-width: 600px; }
.service-card-wide .card-action { color: var(--leaf-bright); border-color: rgba(255,255,255,.25); }
.sector-band { margin-top: 89px; display: grid; grid-template-columns: minmax(280px,.43fr) minmax(0,.57fr); gap: 58px; border-top: 1px solid #d9e3d5; padding-top: 42px; }
.sector-band .section-kicker { margin-bottom: 16px; }
.sector-band h3 { font-family: var(--display-font); font-size: clamp(23px,2.4vw,34px); letter-spacing: -.052em; line-height: 1.25; margin: 0; max-width: 350px; }
.sector-tags { display: flex; align-items: flex-start; align-content: flex-start; flex-wrap: wrap; gap: 9px; }
.sector-tags span { border: 1px solid #cbd9c7; color: #54705c; background: #fff; padding: 12px 16px; border-radius: 40px; font-size: 12px; font-weight: 700; }

/* About, mission, vision and values */
.institutional { background: #f3f5ed; }
.institutional-intro { display: grid; grid-template-columns: .94fr 1.06fr; gap: clamp(40px,6vw,96px); align-items: center; }
.institutional-art { position: relative; min-height: 550px; background: radial-gradient(ellipse at 75% 16%,#355b3c 0%,#193e2e 43%,#0b2b22 90%); border-radius: 12px; overflow: hidden; }
.institutional-orbit { position: absolute; width: 550px; height: 550px; border: 1px solid rgba(202,233,153,.18); border-radius: 47% 53% 62% 38%; transform: rotate(31deg); right: -255px; top: -195px; }
.orbit-two { width: 660px; height: 660px; right: -315px; top: -248px; transform: rotate(45deg); }
.orbit-three { width: 780px; height: 780px; right: -366px; top: -298px; transform: rotate(60deg); }
.institutional-art::after { content: "✳"; position: absolute; right: 49px; top: 42px; color: var(--leaf); font-size: 40px; }
.institutional-art-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 53px; color: white; }
.institutional-art-content > span { font-family: var(--display-font); font-size: 10px; letter-spacing: .15em; font-weight: 800; color: var(--leaf); }
.institutional-art-content strong { font-family: var(--display-font); font-size: clamp(26px,2.8vw,43px); line-height: 1.23; letter-spacing: -.06em; margin: 17px 0 52px; font-weight: 650; }
.institutional-art-content .institutional-art-foot { border-top: 1px solid rgba(255,255,255,.24); color: rgba(255,255,255,.65); padding-top: 20px; }
.institutional-copy h2 { font-size: clamp(2.9rem,4.1vw,4.3rem); margin-bottom: 28px; }
.institutional-copy > p:not(.section-kicker) { color: #627469; font-size: 15px; line-height: 1.85; margin: 0 0 18px; }
.institutional-copy strong { color: var(--forest); }
.institutional-copy .text-link { margin-top: 14px; }
.belief-grid { margin-top: 66px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.belief-card { background: #fff; padding: 37px 35px 42px; border: 1px solid #e3e9df; border-radius: 10px; min-height: 390px; }
.belief-number { font-family: var(--display-font); letter-spacing: .16em; font-size: 10px; color: #729665; font-weight: 800; }
.belief-card h3 { font-family: var(--display-font); font-size: clamp(25px,2.4vw,35px); line-height: 1.23; letter-spacing: -.055em; margin: 38px 0 18px; }
.belief-card p { color: #637469; font-size: 14px; line-height: 1.85; margin: 0; }
.belief-values { background: #dfead4; border-color: #d7e5c9; }
.belief-values h3 { margin-bottom: 18px; }
.belief-values ul { padding-left: 17px; margin: 0; color: #465e49; font-size: 12px; line-height: 1.7; }
.belief-values li + li { margin-top: 4px; }

/* Differentiators */
.difference { padding: 104px 0; background: radial-gradient(ellipse at 4% 10%,#285844 0%,#0e3228 52%,#08261e 100%); color: white; }
.difference-inner { display: grid; grid-template-columns: .98fr 1.02fr; gap: 80px; align-items: start; }
.difference h2 { font-family: var(--display-font); font-size: clamp(35px,3.7vw,57px); line-height: 1.16; letter-spacing: -.062em; margin: 0; }
.difference-items { display: grid; gap: 0; }
.difference-items > div { display: grid; grid-template-columns: 43px 1fr; gap: 8px 13px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.23); }
.difference-items > div > span { grid-row: span 2; font-size: 12px; color: var(--leaf); }
.difference-items h3 { font-family: var(--display-font); font-size: 17px; margin: 0; }
.difference-items p { color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.7; margin: 0; }

/* Conversion */
.contact { background: #eaf0e2; }
.contact-grid { display: grid; grid-template-columns: .98fr 1.02fr; align-items: center; gap: clamp(60px,8vw,130px); }
.contact-copy h2 { margin-bottom: 25px; }
.contact-copy > p:not(.section-kicker) { color: #5a705e; font-size: 16px; line-height: 1.85; max-width: 520px; }
.contact-direct { border-top: 1px solid #ccd9c5; margin-top: 48px; }
.contact-direct a { border-bottom: 1px solid #ccd9c5; padding: 21px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 16px; transition: color .2s ease; }
.contact-direct a:hover { color: #6f983f; }
.contact-direct a > span { color: #75916e; letter-spacing: .12em; font-family: var(--display-font); font-size: 10px; font-weight: 800; width: 85px; flex: 0 0 auto; }
.contact-direct a strong { font-weight: 700; font-size: 15px; word-break: break-all; }
.contact-form-wrap { padding: clamp(28px,4vw,60px); background: #fff; box-shadow: 0 22px 70px rgba(15,55,29,.08); border-radius: 12px; }
.contact-form-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--display-font); font-weight: 800; font-size: 10px; letter-spacing: .15em; color: #719366; }
.contact-form-icon { font-size: 31px; color: #7da44f; }
.contact-form-wrap h3 { font-family: var(--display-font); font-size: clamp(28px,2.9vw,42px); line-height: 1.15; letter-spacing: -.06em; margin: 27px 0 13px; }
.contact-form-wrap > p:not(.form-note) { font-size: 14px; line-height: 1.7; color: #687b6e; margin: 0 0 30px; }
#contact-form { display: grid; }
#contact-form label { font-size: 12px; color: #334b3b; font-weight: 800; margin: 0 0 11px; }
#contact-form label span { font-weight: 400; color: #849284; }
#contact-form select, #contact-form input { width: 100%; border: 1px solid #ccd9cb; padding: 18px 16px; background: #f7f9f4; color: #2a4535; border-radius: 5px; font-size: 14px; margin-bottom: 24px; outline-color: #87a85c; }
#contact-form input::placeholder { color: #8a9d8b; }
.contact-submit { width: 100%; margin-top: 2px; text-align: left; }
.form-note { color: #859386; font-size: 11px; line-height: 1.6; margin: 14px 0 0; }

/* Footer & floating action */
.site-footer { background: #081f19; color: white; padding: 75px 0 26px; }
.footer-main { display: flex; justify-content: space-between; gap: 70px; padding-bottom: 78px; }
.footer-brand img { width: 192px; background: white; padding: 5px 8px; border-radius: 3px; }
.footer-brand p { max-width: 260px; margin: 24px 0 0; color: rgba(255,255,255,.58); line-height: 1.7; font-size: 13px; }
.footer-links { display: flex; gap: clamp(60px,8vw,150px); }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.footer-links span { color: var(--leaf); font-size: 10px; font-family: var(--display-font); font-weight: 800; letter-spacing: .16em; margin-bottom: 8px; }
.footer-links a, .footer-links p { color: rgba(255,255,255,.72); font-size: 13px; margin: 0; line-height: 1.4; }
.footer-links a:hover { color: var(--leaf); }
.footer-bottom { display: flex; justify-content: space-between; gap: 40px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.49); font-size: 10px; line-height: 1.6; }
.footer-bottom span:last-child { max-width: 450px; text-align: right; }
.float-whatsapp { position: fixed; z-index: 70; right: 26px; bottom: 25px; background: #1fa55c; color: white; display: flex; align-items: center; gap: 11px; border-radius: 50px; padding: 14px 17px; box-shadow: 0 12px 35px rgba(9,58,30,.28); font-size: 12px; font-weight: 800; transition: background .2s, transform .2s; }
.float-whatsapp:hover { transform: translateY(-3px); background: #168547; }
.float-whatsapp svg { width: 23px; height: 23px; }

/* Service detail modal */
.service-dialog { width: min(960px,calc(100% - 38px)); max-width: 960px; max-height: min(780px,calc(100dvh - 48px)); overflow: auto; padding: 0; border: 0; border-radius: 15px; background: #fff; color: var(--ink); box-shadow: 0 30px 100px rgba(2,21,12,.28); }
.service-dialog::backdrop { background: rgba(3,28,18,.71); backdrop-filter: blur(4px); }
.dialog-layout { min-height: 590px; display: grid; grid-template-columns: 34% 66%; }
.dialog-side { background: radial-gradient(ellipse at 75% 10%,#3f6b4c,#133d2d 45%,#09271f); color: white; padding: 42px; display: flex; flex-direction: column; justify-content: space-between; }
.dialog-eyebrow { font-family: var(--display-font); font-size: 11px; letter-spacing: .15em; color: var(--leaf); font-weight: 800; }
.dialog-brand { font-family: var(--display-font); font-size: clamp(62px,6vw,82px); font-weight: 800; letter-spacing: -.11em; line-height: 1; }
.dialog-brand span { color: var(--leaf); }
.dialog-side > p { max-width: 220px; font-size: 13px; line-height: 1.75; color: rgba(255,255,255,.75); }
.dialog-body { position: relative; padding: 60px clamp(28px,4.5vw,68px) 46px; }
.dialog-close { position: absolute; right: 29px; top: 22px; width: 38px; height: 38px; border: 1px solid #d1dbd0; background: #f5f8f0; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 300; line-height: 1; }
.dialog-body h2 { font-family: var(--display-font); font-size: clamp(31px,3.3vw,48px); line-height: 1.15; letter-spacing: -.06em; margin: 0 0 17px; max-width: 520px; }
.dialog-description { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0 0 30px; }
.dialog-body h3 { font-family: var(--display-font); font-size: 13px; margin: 0 0 16px; text-transform: uppercase; letter-spacing: .12em; }
#dialog-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 11px 20px; }
#dialog-list li { position: relative; padding-left: 15px; font-size: 13px; line-height: 1.55; color: #4b6757; }
#dialog-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; background: #80a65b; border-radius: 50%; }
.dialog-note { color: #89958a; font-size: 11px; line-height: 1.6; margin: 16px 0 0; }

@media (max-width: 1150px) {
  .container { width: min(100% - 72px, 1360px); }
  .header-inner { gap: 21px; }
  .brand img { width: 150px; height: auto; }
  .main-nav { gap: 18px; }
  .header-cta { gap: 12px; padding: 15px; }
  .hero h1 { font-size: clamp(4.4rem,8vw,6.8rem); }
  .hero-info { right: 0; bottom: 94px; width: 280px; }
  .tab-button { padding: 26px 21px; gap: 8px; }
  .method-copy { padding-inline: 55px; }
  .contact-grid { gap: 45px; }
}

@media (max-width: 960px) {
  .section-pad { padding-block: 90px; }
  html { scroll-padding-top: 78px; }
  .site-header { height: 78px; }
  .brand img { width: 150px; }
  .main-nav { position: absolute; top: 78px; left: 0; right: 0; display: none; margin: 0; padding: 18px max(36px,calc((100vw - 720px)/2)) 30px; background: white; border-top: 1px solid #e9ede5; box-shadow: 0 16px 30px rgba(10,40,25,.12); flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.mobile-nav-cta) { font-size: 17px; border-bottom: 1px solid #edf1e8; padding: 17px 0; }
  .main-nav > a::after { display: none; }
  .mobile-nav-cta { display: block; margin-top: 20px; padding: 16px; text-align: center; background: var(--forest); color: #fff; font-weight: 700; font-size: 14px; border-radius: 5px; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 42px; height: 42px; background: #edf3e9; border: 0; border-radius: 5px; }
  .menu-toggle span { width: 20px; height: 2px; background: var(--forest); transition: transform .2s,opacity .2s; }
  .menu-toggle.is-active span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-active span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-active span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 740px; }
  .hero-layout { padding-block: 115px 100px; }
  .hero-info { display: none; }
  .expertise-inner { justify-content: flex-start; width: max-content; gap: 28px; padding-inline: 35px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .section-head > p { max-width: 680px; }
  .solutions-explorer { grid-template-columns: 1fr; min-height: 0; }
  .tab-list { flex-direction: row; overflow-x: auto; padding: 0; scroll-snap-type: x mandatory; }
  .tab-button { flex: 0 0 230px; grid-template-columns: 26px 1fr; gap: 10px; border-left: 0; border-bottom: 3px solid transparent; min-height: 94px; padding: 20px; font-size: 13px; scroll-snap-align: start; }
  .tab-button.is-active { border-bottom-color: #91b55e; }
  .tab-arrow { display: none; }
  .tab-footnote { display: none; }
  .tab-panel { padding: 49px 45px; min-height: 430px; }
  .method { grid-template-columns: 1fr; }
  .method-image { min-height: 400px; }
  .method-copy { padding: 75px 8%; }
  .method h2 { font-size: clamp(40px,5vw,62px); }
  .method-steps { display: grid; grid-template-columns: 1fr 1fr; column-gap: 35px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card-wide { grid-column: span 1; }
  .sector-band { grid-template-columns: 1fr; gap: 24px; }
  .institutional-intro { grid-template-columns: 1fr; }
  .institutional-art { min-height: 440px; }
  .institutional-copy { max-width: 700px; }
  .belief-grid { grid-template-columns: 1fr 1fr; }
  .belief-values { grid-column: span 2; }
  .belief-card { min-height: 320px; }
  .belief-values ul { columns: 2; column-gap: 35px; }
  .belief-values li { break-inside: avoid; }
  .difference-inner { grid-template-columns: 1fr; gap: 37px; }
  .difference h2 { max-width: 700px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { max-width: 700px; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 42px); }
  .section-pad { padding-block: 74px; }
  .site-header { height: 72px; }
  .header-inner { gap: 10px; }
  .brand img { width: 128px; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .main-nav { top: 72px; padding-inline: 23px; }
  .hero { min-height: 690px; min-height: calc(100svh - 72px); }
  .hero-image { background-position: 59% center; }
  .hero-shade { background: linear-gradient(90deg,rgba(3,26,20,.88),rgba(4,28,20,.53)),linear-gradient(0deg,rgba(4,27,19,.66),transparent 35%); }
  .hero-layout { justify-content: center; padding-top: 75px; padding-bottom: 110px; }
  .hero h1 { font-size: clamp(3.4rem,13.2vw,5.6rem); margin-top: 24px; }
  .hero-topic { margin-top: 20px; font-size: 21px; }
  .hero-description { font-size: 14px; line-height: 1.7; max-width: 450px; }
  .hero-actions { gap: 22px; }
  .hero-actions .button { padding: 16px 18px; }
  .hero-bottom { bottom: 25px; font-size: 9px; }
  .hero-bottom a { display: none; }
  .expertise-inner { min-height: 53px; gap: 19px; }
  .expertise-inner span { font-size: 10px; }
  .section-head { gap: 20px; margin-bottom: 38px; }
  .section-head h2, .institutional-copy h2, .contact-copy h2 { font-size: clamp(2.5rem,10.5vw,4rem); }
  .section-head > p { font-size: 14px; }
  .section-kicker { font-size: 10px; letter-spacing: .14em; }
  .tab-button { flex-basis: 205px; min-height: 86px; }
  .tab-panel { padding: 37px 25px 38px; }
  .tab-panel h3 { font-size: 35px; }
  .tab-panel > p { font-size: 13px; }
  .panel-services { grid-template-columns: 1fr; gap: 13px; }
  .panel-services li { font-size: 12px; }
  .method-image { min-height: 305px; }
  .method-copy { padding: 62px 23px 72px; }
  .method h2 { font-size: 38px; }
  .method-steps { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: 335px; padding: 27px; }
  .service-card h3 { font-size: clamp(24px,7vw,31px); overflow-wrap: anywhere; }
  .sector-band { margin-top: 60px; }
  .sector-tags span { padding: 10px 13px; font-size: 11px; }
  .institutional-art { min-height: 400px; }
  .institutional-art-content { padding: 31px; }
  .institutional-art-content strong { font-size: 28px; }
  .institutional-intro { gap: 44px; }
  .belief-grid { margin-top: 47px; grid-template-columns: 1fr; gap: 12px; }
  .belief-card, .belief-values { grid-column: span 1; min-height: 0; padding: 30px; }
  .belief-card h3 { margin-top: 28px; }
  .belief-values ul { columns: 1; }
  .difference { padding-block: 73px; }
  .difference h2 { font-size: 38px; }
  .contact-direct a { flex-wrap: wrap; justify-content: flex-start; }
  .contact-direct a strong { font-size: 13px; }
  .contact-form-wrap { padding: 27px 22px; }
  .site-footer { padding-top: 55px; }
  .footer-main { flex-direction: column; gap: 43px; padding-bottom: 55px; }
  .footer-links { gap: 28px; flex-wrap: wrap; }
  .footer-links > div { min-width: 130px; }
  .footer-bottom { flex-direction: column; gap: 13px; }
  .footer-bottom span:last-child { text-align: left; }
  .float-whatsapp { padding: 13px; right: 15px; bottom: 15px; }
  .float-whatsapp span { display: none; }
  .float-whatsapp svg { width: 26px; height: 26px; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-side { min-height: 132px; padding: 28px 29px; flex-direction: row; align-items: center; }
  .dialog-brand { font-size: 61px; }
  .dialog-side > p { display: none; }
  .dialog-body { padding: 52px 26px 32px; }
  #dialog-list { grid-template-columns: 1fr; }
  .dialog-close { right: 20px; top: 15px; }
}

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