@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/inter-latin.woff2") format("woff2");
}

:root {
  --bg: #09090b;
  --surface: #111114;
  --surface-2: #17171b;
  --paper: #f3f1eb;
  --text: #f7f5ef;
  --muted: #a6a3ad;
  --line: rgba(255, 255, 255, 0.13);
  --violet: #a86cff;
  --violet-deep: #7440db;
  --lime: #c9ff4f;
  --max: 1440px;
  --pad: clamp(1.25rem, 4vw, 4.75rem);
  --header: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 18px); }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: Inter, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 1000; top: -5rem; left: 1rem; padding: .8rem 1rem; background: var(--paper); color: var(--bg); }
.skip-link:focus { top: 1rem; }
.container { width: min(var(--max), calc(100% - (2 * var(--pad)))); margin-inline: auto; }
.narrow { width: min(920px, calc(100% - (2 * var(--pad)))); margin-inline: auto; }
.section { padding: clamp(5rem, 10vw, 9rem) 0; border-top: 1px solid var(--line); }
.section-paper { background: var(--paper); color: #111114; }
.section-paper .section-kicker { color: var(--violet-deep); }
.section-violet { background: var(--violet-deep); }
.muted { color: var(--muted); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--header); display: flex; align-items: center; border-bottom: 1px solid var(--line); background: rgba(9,9,11,.84); backdrop-filter: blur(18px); }
.header-inner { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); }
.brand { display: inline-flex; align-items: center; gap: .6rem; flex: 0 0 auto; font-size: 1.25rem; font-weight: 800; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.25rem); margin-left: auto; }
.desktop-nav a { color: var(--muted); font-size: .82rem; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: .65rem; }
.lang-switch { display: flex; height: 36px; padding: 3px; border: 1px solid var(--line); }
.lang-switch button { width: 34px; border: 0; background: transparent; color: var(--muted); font-size: .7rem; font-weight: 800; }
.lang-switch button[aria-pressed="true"] { background: var(--paper); color: var(--bg); }
.header-cta { display: inline-flex; align-items: center; min-height: 38px; padding: 0 1rem; border: 1px solid var(--line); font-size: .76rem; font-weight: 700; }
.header-cta:hover { background: var(--paper); color: var(--bg); }
.menu-button { display: none; width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); background: transparent; }
.menu-button span { display: block; width: 100%; height: 1px; background: currentColor; }
.menu-button span + span { margin-top: 7px; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 95; inset: var(--header) 0 0; padding: 1.5rem var(--pad) 3rem; overflow: auto; background: rgba(9,9,11,.98); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 2rem; font-weight: 700; }

.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.5rem; color: var(--lime); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { width: 7px; height: 7px; background: var(--lime); box-shadow: 0 0 0 5px rgba(201,255,79,.1); content: ""; }
.display { margin: 0; font-size: 5.6rem; font-weight: 750; line-height: .94; letter-spacing: 0; }
.display em, .section-title em { color: var(--violet); font-style: normal; }
.lede { max-width: 760px; margin: 2rem 0 0; color: #c4c1ca; font-size: 1.2rem; line-height: 1.65; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: 0 1.25rem; border: 1px solid var(--line); background: transparent; font-size: .82rem; font-weight: 800; }
.button-primary { border-color: var(--lime); background: var(--lime); color: #0c0d0c; }
.button-primary:hover { background: #ddff8e; }
.button-violet { border-color: var(--violet); background: var(--violet); color: #0b0710; }
.button-ghost:hover { background: var(--paper); color: var(--bg); }

.institutional-hero { min-height: calc(100svh - 38px); padding: calc(var(--header) + 2.5rem) 0 1.5rem; display: grid; align-items: end; }
.institutional-hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr); gap: 4rem; align-items: end; }
.institutional-copy .display { max-width: 760px; font-size: 4.75rem; }
.institutional-copy .lede { max-width: 690px; margin-top: 1.35rem; }
.institutional-copy .button-row { margin-top: 1.5rem; }
.institutional-proof { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: .8rem; align-items: center; margin-top: 1.5rem; color: var(--muted); font-size: .68rem; }
.institutional-proof span { padding: .45rem .55rem; border: 1px solid var(--line); color: var(--text); font-weight: 800; }
.institutional-proof b { justify-self: end; font-weight: 500; }
.institutional-stage { position: relative; min-height: 520px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.stage-label { position: absolute; inset: 0 0 auto; height: 48px; display: flex; justify-content: space-between; align-items: center; padding: 0 1rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .62rem; }
.stage-label b { color: var(--lime); }
.stage-core { position: absolute; z-index: 3; inset: 50% auto auto 50%; width: 188px; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(201,255,79,.55); background: var(--bg); transform: translate(-50%,-48%); }
.stage-core img { width: 58px; height: 58px; object-fit: contain; }
.stage-core strong { margin-top: .65rem; font-size: 1.4rem; }
.stage-core small { margin-top: .25rem; color: var(--muted); font-size: .58rem; text-transform: uppercase; }
.stage-services { position: absolute; inset: 70px 18px 20px; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
.stage-services span { display: flex; align-items: center; padding: 1rem; border-bottom: 1px solid var(--line); color: #d5d2da; font-size: .72rem; text-transform: uppercase; }
.stage-services span:nth-child(even) { justify-content: flex-end; border-left: 1px solid var(--line); text-align: right; }
.stage-services span:nth-last-child(-n+2) { border-bottom: 0; }
.stage-line { position: absolute; z-index: 2; background: var(--lime); opacity: .5; }
.stage-line-a { top: 50%; right: 18px; left: 18px; height: 1px; }
.stage-line-b { top: 70px; bottom: 20px; left: 50%; width: 1px; }

.mission-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 3rem; }
.mission-index { display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; padding-right: 1.5rem; border-right: 1px solid rgba(0,0,0,.16); color: #5d5962; font-size: .72rem; text-transform: uppercase; }
.mission-index span { color: var(--violet-deep); font-size: 2rem; font-weight: 800; }
.mission-copy { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; margin-top: 3rem; color: #4f4c54; line-height: 1.75; }
.mission-copy p { margin: 0; }
.values-section { padding: 2.5rem 0 0; border-top: 1px solid var(--line); }
.values-intro { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.values-intro p { margin: 0; }
.values-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border: 1px solid var(--line); border-bottom: 0; }
.value-item { min-height: 300px; display: flex; flex-direction: column; padding: 1.75rem; }
.value-item + .value-item { border-left: 1px solid var(--line); }
.value-item > span { color: var(--lime); font-size: .72rem; }
.value-item h3 { margin: auto 0 1rem; font-size: 2rem; }
.value-item p { margin: 0; color: var(--muted); line-height: 1.65; }
.expertise-section { border-top: 0; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border: 1px solid var(--line); }
.expertise-item { min-height: 260px; display: flex; flex-direction: column; padding: 1.5rem; }
.expertise-item:nth-child(3n+2), .expertise-item:nth-child(3n+3) { border-left: 1px solid var(--line); }
.expertise-item:nth-child(n+4) { border-top: 1px solid var(--line); }
.expertise-item > span { color: var(--violet); font-size: .68rem; }
.expertise-item h3 { margin: auto 0 .75rem; font-size: 1.45rem; }
.expertise-item p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.method-institutional .section-copy { color: #5f5c65; }
.institutional-steps { border-top: 1px solid rgba(0,0,0,.16); }
.institutional-steps article { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 1rem; padding: 1.8rem 0; border-bottom: 1px solid rgba(0,0,0,.16); }
.institutional-steps article > span { color: var(--violet-deep); font-weight: 800; }
.institutional-steps h3 { margin: 0 0 .6rem; font-size: 2rem; }
.institutional-steps p { max-width: 720px; margin: 0; color: #5f5c65; line-height: 1.65; }
.diagnostic-home { background: #0d0d10; }
.diagnostic-context { position: sticky; top: calc(var(--header) + 2rem); }
.diagnostic-assurances { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.diagnostic-assurances span { padding: .6rem .7rem; border: 1px solid var(--line); color: #d5d2da; font-size: .68rem; text-transform: uppercase; }
.product-paths { border-top-color: rgba(255,255,255,.18); }
.home-work .section-copy { color: #5f5c65; }

.home-hero { min-height: calc(100svh - 38px); padding: calc(var(--header) + 2rem) 0 1.5rem; display: grid; align-items: end; }
#produtos { padding-top: .5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr); gap: clamp(2rem, 5vw, 6rem); align-items: end; }
.home-hero .display { font-size: 4.15rem; }
.home-hero .eyebrow { margin-bottom: 1rem; }
.home-hero .lede { margin-top: 1.25rem; }
.home-hero .button-row { margin-top: 1.5rem; }
.hero-proofline { margin-top: 1.2rem; color: var(--muted); font-size: .78rem; }
.hero-stage { position: relative; min-height: 560px; }
.browser-shot { position: absolute; display: block; overflow: hidden; border: 1px solid rgba(255,255,255,.2); background: #151519; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.browser-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.browser-bar { height: 28px; display: flex; align-items: center; gap: 5px; padding: 0 10px; border-bottom: 1px solid rgba(0,0,0,.14); background: #e9e7e2; color: #74727a; font-size: .54rem; }
.browser-bar i { width: 6px; height: 6px; border-radius: 50%; background: #b8b5b0; }
.browser-bar b { margin-left: 5px; font-weight: 600; }
.shot-back { inset: 3% 10% 34% 2%; transform: rotate(-4deg); }
.shot-front { inset: 31% 0 0 20%; transform: rotate(2deg); }
.hero-count { position: absolute; z-index: 3; bottom: 3%; left: 4%; min-width: 135px; padding: 1rem; background: var(--lime); color: #101110; }
.hero-count strong { display: block; font-size: 2.8rem; line-height: 1; }
.hero-count span { font-size: .65rem; font-weight: 800; text-transform: uppercase; }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .5fr); gap: 2rem; align-items: end; margin-bottom: clamp(2.75rem, 6vw, 5rem); }
.section-kicker { margin: 0 0 1rem; color: var(--violet); font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.section-title { margin: 0; max-width: 1000px; font-size: 4.6rem; line-height: .98; letter-spacing: 0; }
.section-copy { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }

.products-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border: 1px solid var(--line); }
.product-panel { min-height: 470px; display: flex; flex-direction: column; padding: clamp(1.5rem, 4vw, 3.5rem); }
.product-panel[href] { position: relative; color: inherit; transition: background-color .25s ease, color .25s ease; }
.product-panel[href]:hover { background: #151519; }
.product-panel[href]:focus-visible { z-index: 1; outline: 2px solid var(--lime); outline-offset: -2px; }
.product-panel + .product-panel { border-left: 1px solid var(--line); }
.product-index { display: flex; justify-content: space-between; color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.product-mark { margin: auto 0 2.5rem; font-size: 6.5rem; font-weight: 800; line-height: .85; }
.product-panel:nth-child(2) .product-mark { color: var(--lime); }
.product-panel h2, .product-panel h3 { margin: 0 0 1rem; font-size: 2.8rem; }
.product-panel p { max-width: 560px; margin: 0 0 1.5rem; color: var(--muted); line-height: 1.65; }
.arrow-link { display: inline-flex; gap: .6rem; align-items: center; font-size: .8rem; font-weight: 800; }
.arrow-link:hover { color: var(--lime); }

.proof-band { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.proof-stat { min-height: 180px; padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.proof-stat + .proof-stat { border-left: 1px solid var(--line); }
.proof-stat strong { font-size: 4.5rem; line-height: 1; }
.proof-stat span { color: var(--muted); font-size: .75rem; text-transform: uppercase; }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.project-card { min-width: 0; background: var(--bg); }
.project-card.featured { grid-column: 1 / -1; }
.project-visual { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eee; }
.project-card.featured .project-visual { aspect-ratio: 16 / 7; }
.project-visual img { width: 100%; height: calc(100% - 28px); object-fit: cover; object-position: top; transition: transform .45s ease; }
.project-visual:hover img { transform: scale(1.025); }
.project-body { min-height: 180px; display: grid; grid-template-columns: 54px 1fr; gap: 1rem; padding: 1.5rem; }
.project-number { color: var(--lime); font-size: .75rem; }
.project-meta { margin: 0 0 .65rem; color: var(--muted); font-size: .67rem; text-transform: uppercase; }
.project-body h2, .project-body h3 { margin: 0 0 .7rem; font-size: 2.1rem; }
.project-body p:not(.project-meta) { max-width: 650px; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.project-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; font-size: .7rem; }

.portfolio-section { border-top: 0; }
.portfolio-heading { display: grid; grid-template-columns: minmax(160px,.3fr) minmax(0,1fr); gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem,5vw,4.5rem); }
.portfolio-heading > div { display: flex; align-items: center; gap: 1rem; }
.portfolio-heading > div > span { color: var(--lime); font-size: .72rem; font-weight: 800; }
.portfolio-heading .section-kicker { margin: 0; }
.portfolio-heading h2 { max-width: 900px; margin: 0; font-size: 3.8rem; line-height: .98; }
.project-grid-balanced .project-card { display: flex; flex-direction: column; }
.project-grid-balanced .project-body { flex: 1; }
.selected-work .project-grid { border-color: rgba(0,0,0,.14); background: rgba(0,0,0,.14); }
.selected-work .project-card { background: var(--paper); }
.selected-work .project-meta, .selected-work .project-body p:not(.project-meta) { color: #5f5c65; }
.selected-work .project-number { color: var(--violet-deep); }
.selected-work .browser-bar { border-bottom-color: rgba(0,0,0,.14); }
.section-paper .project-card { background: var(--paper); }
.section-paper .project-meta, .section-paper .project-body p:not(.project-meta) { color: #5f5c65; }
.section-paper .project-number { color: var(--violet-deep); }
.section-paper .browser-bar { border-bottom-color: rgba(0,0,0,.14); color: #514e56; }
.logistics-case { border-top: 1px solid var(--line); background: #111114; }
.logistics-layout { display: grid; grid-template-columns: minmax(280px,.55fr) minmax(0,1fr); gap: clamp(2.5rem,7vw,7rem); align-items: center; }
.logistics-copy h2 { max-width: 540px; margin: 0 0 1.5rem; font-size: 4.2rem; line-height: .95; }
.logistics-copy > p:not(.section-kicker) { max-width: 580px; margin: 0 0 2rem; color: var(--muted); line-height: 1.7; }
.logistics-copy > span { color: var(--lime); font-size: .68rem; text-transform: uppercase; }
.logistics-previews { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.market-preview { min-width: 0; overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.market-preview img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.market-preview > strong { display: flex; justify-content: space-between; padding: 1rem; font-size: .78rem; }
.market-preview > strong b { color: var(--lime); }

.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 80px minmax(0,.9fr) minmax(260px,.6fr); gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.step-index { color: var(--lime); font-weight: 800; }
.step h3 { margin: 0; font-size: 2.1rem; }
.step p { margin: 0; color: var(--muted); line-height: 1.65; }

.page-hero { min-height: 72svh; padding: calc(var(--header) + clamp(4rem, 8vw, 8rem)) 0 clamp(4rem, 8vw, 7rem); display: flex; align-items: end; border-bottom: 1px solid var(--line); }
.page-hero .display { max-width: 1200px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.42fr); gap: 3rem; align-items: end; }
.page-aside { padding-left: 1.5rem; border-left: 1px solid var(--line); color: var(--muted); line-height: 1.7; }
.page-aside strong { display: block; margin-bottom: .8rem; color: var(--lime); font-size: .68rem; text-transform: uppercase; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border: 1px solid var(--line); }
.feature { min-height: 290px; padding: 1.7rem; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature small { color: var(--lime); }
.feature h3 { margin: 5rem 0 1rem; font-size: 1.5rem; }
.feature p { margin: 0; color: var(--muted); line-height: 1.6; }

.review-stage { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.55fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.audio-shell { padding: 1.5rem; border: 1px solid var(--line); background: var(--surface); }
.audio-top { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 4rem; color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.audio-wave { height: 90px; display: flex; align-items: center; gap: 5px; }
.audio-wave i { width: 3px; height: var(--h); background: var(--violet); }
.audio-status { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.play-button { width: 48px; height: 48px; border: 1px solid var(--line); background: var(--paper); color: var(--bg); font-size: 1rem; }
.review-status { display: grid; grid-template-columns: minmax(0,.8fr) minmax(420px,1fr); gap: clamp(3rem,8vw,8rem); align-items: center; }
.review-status-copy h2 { max-width: 720px; margin: 0 0 1.5rem; font-size: 4.2rem; line-height: .96; }
.review-status-copy > p:not(.section-kicker) { max-width: 640px; margin: 0 0 2rem; color: var(--muted); line-height: 1.7; }

/* AutoFlux product page */
.autoflux-hero { position: relative; min-height: min(900px,100svh); display: grid; align-items: end; overflow: hidden; border-bottom: 1px solid var(--line); background: #111114; }
.autoflux-hero-image, .autoflux-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.autoflux-hero-image { object-fit: cover; object-position: center; }
.autoflux-hero-shade { background: linear-gradient(90deg,rgba(8,8,10,.98) 0%,rgba(8,8,10,.9) 40%,rgba(8,8,10,.08) 72%); }
.autoflux-hero-content { position: relative; z-index: 1; padding-top: calc(var(--header) + 5rem); padding-bottom: clamp(3rem,7vw,6rem); }
.autoflux-hero-content .display { max-width: 820px; font-size: clamp(4rem,6.6vw,7rem); }
.autoflux-hero-content .lede { max-width: 700px; }
.autoflux-proofline { display: flex; flex-wrap: wrap; gap: .7rem 2rem; margin-top: 2rem; color: #cbc7d1; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.autoflux-proofline span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .55rem; background: var(--lime); }
.autoflux-tension-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--line); }
.autoflux-tension-grid article { min-height: 260px; padding: 1.5rem; }
.autoflux-tension-grid article + article { border-left: 1px solid var(--line); }
.autoflux-tension-grid span { color: var(--lime); font-size: .7rem; }
.autoflux-tension-grid h3 { margin: 5rem 0 1rem; font-size: 1.65rem; }
.autoflux-tension-grid p { margin: 0; color: var(--muted); line-height: 1.6; }
.autoflux-system-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.42fr); gap: 3rem; align-items: end; margin-bottom: 4rem; }
.autoflux-system-head h2 { max-width: 900px; margin: 0; font-size: 4.5rem; line-height: .96; }
.autoflux-system-head > p { margin: 0; color: #5f5c65; line-height: 1.7; }
.autoflux-flow { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border: 1px solid rgba(0,0,0,.16); }
.autoflux-flow article { position: relative; min-height: 200px; display: flex; flex-direction: column; padding: 1.25rem; }
.autoflux-flow article + article { border-left: 1px solid rgba(0,0,0,.16); }
.autoflux-flow article:not(:last-child)::after { content: "→"; position: absolute; z-index: 1; top: 50%; right: -.65rem; width: 1.3rem; height: 1.3rem; display: grid; place-items: center; background: var(--paper); color: var(--violet-deep); font-weight: 800; }
.autoflux-flow span { color: var(--violet-deep); font-size: .7rem; }
.autoflux-flow strong { margin-top: auto; font-size: 1.1rem; }
.autoflux-flow small { min-height: 2.8em; margin-top: .55rem; color: #5f5c65; line-height: 1.4; }
.autoflux-delivery { display: grid; grid-template-columns: minmax(0,.8fr) minmax(360px,1fr); gap: clamp(3rem,8vw,8rem); align-items: center; margin-top: 5rem; padding-top: 5rem; border-top: 1px solid rgba(0,0,0,.16); }
.autoflux-delivery h3 { margin: 0 0 1rem; font-size: 3rem; }
.autoflux-delivery p:not(.section-kicker) { color: #5f5c65; line-height: 1.7; }
.autoflux-delivery ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(0,0,0,.16); }
.autoflux-delivery li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(0,0,0,.16); }
.autoflux-delivery li span { color: var(--violet-deep); font-size: .7rem; }
.autoflux-results-grid { display: grid; grid-template-columns: minmax(260px,.6fr) minmax(300px,.9fr) minmax(300px,.65fr); gap: clamp(2rem,5vw,5rem); align-items: center; }
.autoflux-result-number > span { color: var(--muted); text-transform: uppercase; }
.autoflux-result-number > strong { display: block; font-size: 8rem; line-height: .85; color: var(--lime); }
.autoflux-result-number sup { font-size: .35em; }
.autoflux-result-number > p:last-child { max-width: 300px; color: var(--muted); line-height: 1.6; }
.autoflux-result-copy h2 { margin: 0 0 1.5rem; font-size: 3.8rem; line-height: .96; }
.autoflux-result-copy > p:not(.section-kicker) { color: var(--muted); line-height: 1.7; }
.autoflux-result-copy small { display: block; margin-top: 2rem; padding-left: 1rem; border-left: 1px solid var(--violet); color: #96929e; line-height: 1.6; }
.autoflux-result-image { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; }
.autoflux-result-image img { width: 100%; height: 100%; object-fit: cover; }
.autoflux-plans .section-copy { color: #5f5c65; }
.autoflux-plan-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid rgba(0,0,0,.17); }
.autoflux-plan { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 2rem; }
.autoflux-plan + .autoflux-plan { border-left: 1px solid rgba(0,0,0,.17); }
.autoflux-plan.is-featured { background: #111114; color: var(--text); }
.autoflux-popular { position: absolute; top: 0; right: 0; padding: .55rem .8rem; background: var(--lime); color: #111; font-size: .6rem; font-weight: 850; text-transform: uppercase; }
.autoflux-plan-top { display: flex; justify-content: space-between; gap: 1rem; min-height: 50px; }
.autoflux-plan-top > span { font-size: 1.35rem; font-weight: 850; }
.autoflux-plan-top small { max-width: 130px; color: #6b6770; text-align: right; line-height: 1.4; }
.autoflux-plan.is-featured .autoflux-plan-top small { color: var(--muted); }
.autoflux-price { display: flex; align-items: start; margin: 2.5rem 0; }
.autoflux-price sup { margin-top: .65rem; font-weight: 800; }
.autoflux-price strong { font-size: 4.6rem; line-height: 1; }
.autoflux-price span { align-self: end; margin-bottom: .55rem; color: #6b6770; }
.autoflux-plan ul { flex: 1; margin: 0 0 2rem; padding: 0; list-style: none; border-top: 1px solid rgba(0,0,0,.13); }
.autoflux-plan.is-featured ul { border-color: var(--line); }
.autoflux-plan li { padding: .8rem 0; border-bottom: 1px solid rgba(0,0,0,.13); font-size: .8rem; }
.autoflux-plan.is-featured li { border-color: var(--line); }
.autoflux-plan li::before { content: "✓"; margin-right: .65rem; color: var(--violet-deep); font-weight: 800; }
.autoflux-plan.is-featured li::before { color: var(--lime); }
.autoflux-plan .button { width: 100%; }
.autoflux-plan-note { min-height: 2.8em; margin: 1rem 0 0; color: #6b6770; font-size: .68rem; line-height: 1.4; }
.autoflux-plan.is-featured .autoflux-plan-note { color: var(--muted); }
.autoflux-fit { border-top: 1px solid var(--line); }
.autoflux-fit-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(420px,1fr); gap: clamp(3rem,8vw,8rem); align-items: start; }
.autoflux-fit h2, .autoflux-faq h2 { max-width: 700px; margin: 0; font-size: 4rem; line-height: .96; }
.autoflux-fit-list { border-top: 1px solid var(--line); }
.autoflux-fit-list article { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.autoflux-fit-list article > span { color: var(--lime); font-size: 1.5rem; }
.autoflux-fit-list strong { font-size: 1.35rem; }
.autoflux-fit-list p { margin: .7rem 0 0; color: var(--muted); line-height: 1.65; }
.autoflux-faq { background: #111114; }
.autoflux-faq-grid { display: grid; grid-template-columns: minmax(260px,.7fr) minmax(420px,1fr); gap: clamp(3rem,8vw,8rem); }
.autoflux-faq-list { border-top: 1px solid var(--line); }
.autoflux-faq details { border-bottom: 1px solid var(--line); }
.autoflux-faq summary { display: grid; grid-template-columns: 1fr 24px; gap: 1rem; padding: 1.5rem 0; cursor: pointer; font-weight: 700; list-style: none; }
.autoflux-faq summary::-webkit-details-marker { display: none; }
.autoflux-faq summary b { color: var(--lime); font-size: 1.2rem; transition: transform .2s ease; }
.autoflux-faq details[open] summary b { transform: rotate(45deg); }
.autoflux-faq details p { max-width: 680px; margin: -.25rem 0 1.5rem; color: var(--muted); line-height: 1.65; }
.curation-ledger { border-top: 1px solid var(--line); }
.curation-ledger > div { display: grid; grid-template-columns: 46px minmax(0,1fr) auto; gap: 1rem; align-items: center; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.curation-ledger span { color: var(--lime); font-size: .7rem; }
.curation-ledger strong { font-size: 1.15rem; }
.curation-ledger small { color: var(--muted); text-align: right; }

.form-layout { display: grid; grid-template-columns: minmax(260px,.58fr) minmax(0,1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.form-panel { padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--line); background: var(--surface); }
.form-header { margin-bottom: 2rem; }
.form-header > div:first-child { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.form-header strong { color: var(--lime); }
.form-progress { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin-top: .8rem; }
.form-progress i { height: 3px; background: rgba(255,255,255,.12); }
.form-progress i.is-active { background: var(--lime); }
.form-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-step legend { width: 100%; margin: 0 0 1.5rem; padding: 0; font-size: 1.65rem; font-weight: 700; line-height: 1.15; }
.form-actions { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1.25rem; }
.form-actions [data-form-prev] { margin-right: auto; }
.consent-label { display: flex; align-items: flex-start; gap: .75rem; color: var(--muted); font-size: .76rem; line-height: 1.5; cursor: pointer; }
.consent-label input { flex: 0 0 18px; width: 18px; min-height: 18px; margin-top: .1rem; accent-color: var(--lime); }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.field { display: grid; gap: .45rem; }
.field-full { grid-column: 1 / -1; }
.field label { color: #d8d5dd; font-size: .72rem; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 0; background: #0c0c0f; }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #696771; }
.form-note { margin: 1rem 0 0; color: var(--muted); font-size: .72rem; line-height: 1.5; }
.form-success { margin-top: 1rem; padding: 1rem; border: 1px solid rgba(201,255,79,.4); color: var(--lime); }

.contact-list { border-top: 1px solid var(--line); }
.contact-row { display: grid; grid-template-columns: 170px 1fr 40px; gap: 1rem; align-items: center; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.contact-row span { color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.contact-row strong { font-size: 2.4rem; overflow-wrap: anywhere; }
.contact-row:hover strong { color: var(--lime); }

/* Contact decision page */
.contact-hero { min-height: 70svh; display: flex; align-items: end; padding: calc(var(--header) + 4rem) 0 4rem; border-bottom: 1px solid var(--line); }
.contact-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.36fr); gap: clamp(2rem,7vw,7rem); align-items: end; }
.contact-hero .display { max-width: 980px; font-size: clamp(4.5rem,7vw,7.5rem); }
.contact-hero-note { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.contact-hero-note > span { color: var(--lime); font-size: .68rem; font-weight: 800; }
.contact-hero-note p { margin: 1rem 0 0; color: var(--muted); line-height: 1.7; }
.contact-section-head { display: grid; grid-template-columns: minmax(180px,.28fr) minmax(0,1fr); gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem,6vw,5rem); }
.contact-section-head > div { display: flex; align-items: center; gap: 1rem; }
.contact-section-head > div > span { color: var(--lime); font-size: .7rem; font-weight: 800; }
.contact-section-head .section-kicker { margin: 0; }
.contact-section-head h2 { max-width: 900px; margin: 0; font-size: 4.2rem; line-height: .97; }
.contact-channel-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); grid-template-areas: "primary text" "instagram email"; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.contact-channel { min-width: 0; min-height: 360px; display: flex; flex-direction: column; padding: clamp(1.35rem,3vw,2.5rem); background: var(--surface); color: var(--text); transition: background-color .2s ease, color .2s ease; }
.contact-channel:hover { background: var(--surface-2); }
.contact-whatsapp { grid-area: primary; background: var(--lime); color: #0b0c0b; }
.contact-whatsapp:hover { background: #d5ff78; }
.contact-text { grid-area: text; }
.contact-instagram { grid-area: instagram; }
.contact-email { grid-area: email; }
.contact-channel-top, .contact-channel-action { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.contact-mark { min-width: 38px; min-height: 38px; display: grid; place-items: center; border: 1px solid currentColor; font-size: .65rem; font-weight: 850; }
.contact-badge { color: var(--muted); font-size: .64rem; font-weight: 750; text-align: right; text-transform: uppercase; }
.contact-whatsapp .contact-badge { color: #354215; }
.contact-channel-copy { margin: auto 0 3rem; }
.contact-channel-copy > p { margin: 0 0 .8rem; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.contact-channel-copy h3 { max-width: 660px; margin: 0 0 1rem; font-size: 2.45rem; line-height: 1.04; overflow-wrap: anywhere; }
.contact-channel-copy > span { display: block; max-width: 540px; color: var(--muted); line-height: 1.6; }
.contact-whatsapp .contact-channel-copy > span { color: #354215; }
.contact-channel-action { padding-top: 1.2rem; border-top: 1px solid currentColor; font-size: .7rem; }
.contact-channel-action b { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.contact-channel-action strong { flex: 0 0 auto; }
html[lang="en"] .contact-channel-grid { grid-template-areas: "primary whatsapp" "instagram email"; }
html[lang="en"] .contact-text { grid-area: primary; background: var(--lime); color: #0b0c0b; }
html[lang="en"] .contact-text:hover { background: #d5ff78; }
html[lang="en"] .contact-text .contact-badge, html[lang="en"] .contact-text .contact-channel-copy > span { color: #354215; }
html[lang="en"] .contact-whatsapp { grid-area: whatsapp; background: var(--surface); color: var(--text); }
html[lang="en"] .contact-whatsapp:hover { background: var(--surface-2); }
html[lang="en"] .contact-whatsapp .contact-badge, html[lang="en"] .contact-whatsapp .contact-channel-copy > span { color: var(--muted); }
.contact-diagnostic-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.45fr); gap: clamp(3rem,8vw,8rem); align-items: end; }
.contact-diagnostic h2 { max-width: 900px; margin: 0; font-size: 4.5rem; line-height: .96; }
.contact-diagnostic-grid > div:last-child p { margin: 0 0 2rem; color: #5f5c65; line-height: 1.7; }

/* MADG */
.madg-hero { padding: calc(var(--header) + 2rem) 0 2.5rem; border-bottom: 1px solid var(--line); }
.madg-hero-grid { display: grid; gap: 2rem; }
.madg-hero-copy .display { max-width: 980px; font-size: 2.72rem; }
.madg-hero-copy .lede { font-size: .9rem; line-height: 1.55; }
.madg-hero-aside { display: flex; flex-direction: column; min-height: 280px; padding: 1.2rem; border: 1px solid var(--line); background: var(--surface); }
.madg-aside-index { display: flex; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--line); color: var(--lime); font-size: .7rem; font-weight: 800; }
.madg-hero-aside > p { margin: auto 0 1rem; color: var(--violet); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.madg-hero-aside > strong { max-width: 500px; font-size: 1.35rem; line-height: 1.12; }
.madg-aside-markets { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .66rem; line-height: 1.7; text-transform: uppercase; }
.madg-definition-grid { display: grid; gap: 2rem; }
.madg-definition-copy { color: var(--muted); line-height: 1.75; }
.madg-definition-copy p { margin: 0; }
.madg-definition-copy p + p { margin-top: 1.25rem; }
.madg-signals { display: grid; margin-top: 3rem; border-top: 1px solid var(--line); }
.madg-signals > div { min-height: 170px; display: flex; flex-direction: column; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.madg-signals span { color: var(--lime); font-size: .7rem; font-weight: 800; }
.madg-signals strong { margin: auto 0 .45rem; font-size: 1.65rem; }
.madg-signals small { color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.madg-funnel .section-copy, .madg-cases .section-copy { color: #5f5c65; }
.madg-flow { display: grid; border-top: 1px solid rgba(0,0,0,.16); }
.madg-flow article { min-height: 220px; padding: 1.25rem 0; border-bottom: 1px solid rgba(0,0,0,.16); }
.madg-flow span { color: var(--violet-deep); font-size: .7rem; font-weight: 800; }
.madg-flow h3 { margin: 3rem 0 .75rem; font-size: 1.55rem; }
.madg-flow p { margin: 0; color: #5f5c65; font-size: .86rem; line-height: 1.6; }
.madg-benefit-list { display: grid; border-top: 1px solid var(--line); }
.madg-benefit-list article { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: .8rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.madg-benefit-list article > span { color: var(--lime); font-size: .7rem; font-weight: 800; }
.madg-benefit-list h3 { margin: 0 0 .65rem; font-size: 1.5rem; }
.madg-benefit-list p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.madg-case-grid .project-card { display: flex; flex-direction: column; }
.madg-case-grid .project-body { flex: 1; }
.madg-case-grid .project-foot { padding-top: 1rem; border-top: 1px solid rgba(0,0,0,.14); color: #514e56; }
.madg-case-grid .project-foot a { color: #111114; font-weight: 800; }
.madg-fit { padding: clamp(5rem,10vw,9rem) 0; background: var(--violet-deep); color: #fff; }
.madg-fit-grid { display: grid; gap: 3rem; }
.madg-fit .section-kicker { color: var(--lime); }
.madg-fit h2 { max-width: 760px; margin: 0; font-size: 2.75rem; line-height: .96; }
.madg-fit-list { border-top: 1px solid rgba(255,255,255,.24); }
.madg-fit-list p { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 1rem; margin: 0; padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,.24); line-height: 1.55; }
.madg-fit-list span { color: var(--lime); font-size: .7rem; font-weight: 800; }
.madg-fit-list b { font-weight: 500; }
.madg-cta > .container > p:not(.section-kicker) { max-width: 680px; margin: 1.5rem 0 0; font-size: 1rem; line-height: 1.65; }

@media (min-width: 681px) {
  .madg-hero { padding: calc(var(--header) + 3rem) 0 3.5rem; }
  .madg-hero-grid { gap: 3rem; }
  .madg-hero-copy .display { font-size: 3.7rem; }
  .madg-hero-copy .lede { font-size: 1rem; }
  .madg-hero-aside { min-height: 360px; padding: 1.4rem; }
  .madg-hero-aside > strong { font-size: 1.7rem; }
  .madg-signals { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .madg-signals > div { padding: 1.5rem; border-bottom: 0; }
  .madg-signals > div + div { border-left: 1px solid var(--line); }
  .madg-flow { grid-template-columns: repeat(5,minmax(0,1fr)); border-bottom: 1px solid rgba(0,0,0,.16); }
  .madg-flow article { padding: 1.25rem; border-bottom: 0; }
  .madg-flow article + article { border-left: 1px solid rgba(0,0,0,.16); }
  .madg-benefit-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .madg-benefit-list article { padding: 1.6rem; }
  .madg-benefit-list article:nth-child(even) { border-left: 1px solid var(--line); }
}

@media (min-width: 981px) {
  .madg-hero { min-height: calc(100svh - 24px); padding: calc(var(--header) + 2rem) 0 2rem; display: grid; align-items: end; }
  .madg-hero-grid { grid-template-columns: minmax(0,1.35fr) minmax(320px,.45fr); gap: 2rem; align-items: end; }
  .madg-hero-copy .display { font-size: 4.45rem; }
  .madg-hero-copy .lede { font-size: 1.15rem; }
  .madg-hero-aside { min-height: 410px; }
  .madg-definition-grid { grid-template-columns: minmax(0,1.1fr) minmax(340px,.55fr); gap: 6rem; align-items: end; }
  .madg-flow article { min-height: 270px; }
  .madg-flow h3 { margin-top: 5rem; }
  .madg-fit-grid { grid-template-columns: minmax(0,1fr) minmax(400px,.65fr); align-items: end; }
  .madg-fit h2 { font-size: 4.5rem; }
}

.cta-band { padding: clamp(4rem, 9vw, 8rem) 0; background: var(--lime); color: #0b0c0b; }
.cta-band .section-kicker { color: #0b0c0b; }
.cta-band h2 { max-width: 1100px; margin: 0; font-size: 5.8rem; line-height: .92; }
.cta-band .button { border-color: #0b0c0b; }
.site-footer { padding: 3rem 0 1.5rem; border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
.footer-links { display: grid; grid-template-columns: repeat(3, auto); gap: 1rem 2.5rem; font-size: .78rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .68rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .desktop-nav, .header-cta { display: none; }
  .header-actions { margin-left: auto; }
  .menu-button { display: block; }
  .hero-grid, .page-hero-grid, .section-head, .form-layout, .review-stage, .review-status { grid-template-columns: 1fr; }
  .institutional-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .institutional-hero { min-height: auto; padding-top: calc(var(--header) + 3rem); }
  .institutional-copy .display { font-size: 4.2rem; }
  .institutional-stage { min-height: 390px; }
  .mission-layout { grid-template-columns: 100px minmax(0,1fr); }
  .expertise-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .expertise-item:nth-child(3n+2), .expertise-item:nth-child(3n+3) { border-left: 0; }
  .expertise-item:nth-child(even) { border-left: 1px solid var(--line); }
  .expertise-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .diagnostic-context { position: static; }
  .home-hero { padding-top: calc(var(--header) + 2rem); }
  .display { font-size: 4.8rem; }
  .home-hero .display { font-size: 3.8rem; }
  .section-title { font-size: 3.7rem; }
  .product-mark { font-size: 5.2rem; }
  .product-panel h2, .product-panel h3 { font-size: 2.3rem; }
  .cta-band h2 { font-size: 4.5rem; }
  .hero-stage { min-height: 360px; }
  .page-aside { max-width: 620px; }
  .portfolio-heading { grid-template-columns: 1fr; }
  .logistics-layout { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
  .step { grid-template-columns: 52px 1fr; }
  .step p { grid-column: 2; }
  .autoflux-system-head, .autoflux-delivery, .autoflux-fit-grid, .autoflux-faq-grid { grid-template-columns: 1fr; }
  .autoflux-flow { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .autoflux-flow article:nth-child(4) { border-left: 0; }
  .autoflux-flow article:nth-child(n+4) { border-top: 1px solid rgba(0,0,0,.16); }
  .autoflux-results-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .autoflux-result-image { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
  .autoflux-plan-grid { grid-template-columns: 1fr; }
  .autoflux-plan + .autoflux-plan { border-top: 1px solid rgba(0,0,0,.17); border-left: 0; }
  .contact-hero-grid, .contact-diagnostic-grid { grid-template-columns: 1fr; }
  .contact-section-head { grid-template-columns: 1fr; }
  .contact-channel-grid, html[lang="en"] .contact-channel-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "primary primary" "text text" "instagram email"; }
  html[lang="en"] .contact-channel-grid { grid-template-areas: "primary primary" "whatsapp whatsapp" "instagram email"; }
}

@media (max-width: 680px) {
  :root { --header: 68px; }
  .container, .narrow { width: min(100% - 2.25rem, var(--max)); }
  .lang-switch { height: 34px; }
  .display { font-size: 3.15rem; }
  .institutional-hero { padding-top: calc(var(--header) + 1.75rem); padding-bottom: 1rem; }
  .institutional-copy .eyebrow { margin-bottom: 1rem; }
  .institutional-copy .display { font-size: 2.72rem; line-height: .96; }
  .institutional-copy .lede { margin-top: 1rem; font-size: .9rem; line-height: 1.55; }
  .institutional-copy .button-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; margin-top: 1.1rem; }
  .institutional-copy .button { min-width: 0; min-height: 52px; padding: .55rem .6rem; font-size: .68rem; line-height: 1.25; }
  .institutional-proof { grid-template-columns: repeat(3,auto); margin-top: 1rem; }
  .institutional-proof b { display: none; }
  .institutional-stage { min-height: 245px; }
  .stage-label { height: 38px; }
  .stage-core { width: 118px; }
  .stage-core img { width: 38px; height: 38px; }
  .stage-core strong { margin-top: .3rem; font-size: 1rem; }
  .stage-core small { display: none; }
  .stage-services { inset: 50px 10px 10px; }
  .stage-services span { padding: .45rem; font-size: .52rem; }
  .stage-line-a { right: 10px; left: 10px; }
  .stage-line-b { top: 50px; bottom: 10px; }
  .mission-layout { grid-template-columns: 1fr; gap: 2rem; }
  .mission-index { min-height: auto; flex-direction: row; padding: 0 0 1rem; border-right: 0; border-bottom: 1px solid rgba(0,0,0,.16); }
  .mission-copy { grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
  .values-section { padding-top: 1.5rem; }
  .values-strip { grid-template-columns: 1fr; }
  .value-item { min-height: 210px; }
  .value-item + .value-item { border-top: 1px solid var(--line); border-left: 0; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-item { min-height: 210px; border-top: 1px solid var(--line); border-left: 0 !important; }
  .expertise-item:first-child { border-top: 0; }
  .institutional-steps article { grid-template-columns: 42px minmax(0,1fr); }
  .institutional-steps h3 { font-size: 1.55rem; }
  .form-header { margin-bottom: 1.5rem; }
  .form-step legend { font-size: 1.35rem; }
  .form-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .form-actions .button { width: 100%; padding-inline: .65rem; }
  .multi-step-form[data-step="0"] .form-actions [data-form-next] { grid-column: 1 / -1; }
  .home-hero .display { font-size: 3.15rem; }
  .lede { font-size: .98rem; }
  .section-title { font-size: 2.65rem; }
  .product-mark { font-size: 4.25rem; }
  .product-panel h2, .product-panel h3 { font-size: 1.9rem; }
  .proof-stat strong { font-size: 3.25rem; }
  .project-body h2, .project-body h3 { font-size: 1.65rem; }
  .step h3 { font-size: 1.55rem; }
  .contact-row strong { font-size: 1.45rem; }
  .cta-band h2 { font-size: 3rem; }
  .home-hero { min-height: auto; padding-top: calc(var(--header) + 1.5rem); padding-bottom: 1rem; }
  .home-hero .display { font-size: 2.72rem; line-height: .96; }
  .home-hero .lede { margin-top: 1rem; font-size: .9rem; line-height: 1.55; }
  .home-hero .button-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: 1.1rem; }
  .home-hero .button { min-width: 0; min-height: 52px; padding: .55rem .6rem; font-size: .68rem; line-height: 1.25; }
  .hero-proofline { display: none; }
  .hero-stage { min-height: 200px; margin-top: 1.1rem; }
  .shot-back { inset: 0 10% 37% 0; }
  .shot-front { inset: 34% 0 0 13%; }
  .hero-count { min-width: 110px; padding: .8rem; }
  .hero-count strong { font-size: 2.2rem; }
  .products-grid, .project-grid, .proof-band { grid-template-columns: 1fr; }
  .product-panel { min-height: 390px; }
  .product-panel + .product-panel, .proof-stat + .proof-stat { border-left: 0; border-top: 1px solid var(--line); }
  .project-card.featured { grid-column: auto; }
  .project-card.featured .project-visual, .project-visual { aspect-ratio: 4 / 3; }
  .project-body { grid-template-columns: 38px 1fr; padding: 1.2rem; }
  .page-hero { min-height: auto; padding-top: calc(var(--header) + 3.5rem); padding-bottom: 3.5rem; }
  .portfolio-heading { gap: 1.5rem; }
  .portfolio-heading h2 { font-size: 2.55rem; }
  .logistics-copy h2 { font-size: 3rem; }
  .logistics-previews { grid-template-columns: 1fr; }
  .review-status-copy h2 { font-size: 2.7rem; }
  .curation-ledger > div { grid-template-columns: 36px 1fr; }
  .curation-ledger small { grid-column: 2; text-align: left; }
  .feature { min-height: 250px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .contact-row { grid-template-columns: 1fr 28px; }
  .contact-row span { grid-column: 1 / -1; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2,1fr); }
  .footer-bottom { flex-direction: column; }
  .autoflux-hero { min-height: 760px; align-items: end; }
  .autoflux-hero-image { object-position: 67% center; }
  .autoflux-hero-shade { background: linear-gradient(180deg,rgba(8,8,10,.22) 0%,rgba(8,8,10,.94) 48%,#08080a 76%); }
  .autoflux-hero-content { padding-top: calc(var(--header) + 2rem); padding-bottom: 2.5rem; }
  .autoflux-hero-content .display { font-size: 2.75rem; }
  .autoflux-hero-content .lede { font-size: .9rem; }
  .autoflux-hero-content .button-row { display: grid; grid-template-columns: 1fr; }
  .autoflux-proofline { display: grid; gap: .55rem; margin-top: 1.4rem; }
  .autoflux-tension-grid { grid-template-columns: 1fr; }
  .autoflux-tension-grid article { min-height: 210px; }
  .autoflux-tension-grid article + article { border-top: 1px solid var(--line); border-left: 0; }
  .autoflux-system-head h2 { font-size: 2.7rem; }
  .autoflux-flow { grid-template-columns: 1fr; }
  .autoflux-flow article { min-height: 150px; }
  .autoflux-flow article + article, .autoflux-flow article:nth-child(4) { border-top: 1px solid rgba(0,0,0,.16); border-left: 0; }
  .autoflux-flow article:not(:last-child)::after { top: auto; right: 1.2rem; bottom: -.65rem; transform: rotate(90deg); }
  .autoflux-delivery { margin-top: 3rem; padding-top: 3rem; }
  .autoflux-delivery h3 { font-size: 2.3rem; }
  .autoflux-results-grid { grid-template-columns: 1fr; }
  .autoflux-result-number > strong { font-size: 6rem; }
  .autoflux-result-copy h2 { font-size: 2.7rem; }
  .autoflux-result-image { grid-column: auto; aspect-ratio: 4 / 5; }
  .autoflux-plan { padding: 1.4rem; }
  .autoflux-price strong { font-size: 3.8rem; }
  .autoflux-fit h2, .autoflux-faq h2 { font-size: 2.7rem; }
  .contact-hero { min-height: auto; padding-top: calc(var(--header) + 3.5rem); padding-bottom: 3.5rem; }
  .contact-hero .display { font-size: 3.05rem; }
  .contact-hero-note { margin-top: 1rem; }
  .contact-section-head h2 { font-size: 2.65rem; }
  .contact-channel-grid, html[lang="en"] .contact-channel-grid { grid-template-columns: 1fr; grid-template-areas: "primary" "text" "instagram" "email"; }
  html[lang="en"] .contact-channel-grid { grid-template-areas: "primary" "whatsapp" "instagram" "email"; }
  .contact-channel { min-height: 330px; }
  .contact-channel-copy h3 { font-size: 2rem; }
  .contact-channel-action { align-items: end; }
  .contact-channel-action strong { max-width: 120px; text-align: right; }
  .contact-diagnostic h2 { font-size: 2.75rem; }
}

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