/* SaniBox — one-page site. Palette sampled from the official logo. */
:root {
  --green: #06401a;
  --green-deep: #032611;
  --green-mid: #0b5a24;
  --lime: #8ab62c;
  --lime-dark: #6f9520;
  --lime-soft: #e8f2c8;
  --cream: #f5f3e8;
  --cream-2: #ece8d8;
  --white: #ffffff;
  --text: #1b1e18;
  --muted: #5a6054;
  --line: #dddaca;
  --shadow: 0 18px 50px rgba(3, 38, 17, .10);
  --shadow-sm: 0 8px 24px rgba(3, 38, 17, .08);
  --radius: 22px;
  --radius-sm: 14px;
  --header: 92px;
  --container: 1220px;
  --font-head: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--lime-dark); }
button, input, textarea { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.03em; margin: 0 0 .6em; color: var(--green); font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--green); color: #fff; padding: .6rem 1rem; z-index: 10000;
}
.skip:focus { left: 1rem; top: 1rem; }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  letter-spacing: .01em; line-height: 1; border: 0; cursor: pointer;
  border-radius: 999px; padding: 1.05rem 1.7rem; transition: .3s var(--ease);
  text-decoration: none !important; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn-lime { background: var(--lime); color: var(--green-deep) !important; }
.btn-lime:hover { background: #9cc53a; color: var(--green-deep) !important; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(138,182,44,.35); }
.btn-green { background: var(--green); color: #fff !important; }
.btn-green:hover { background: var(--green-mid); color: #fff !important; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--green) !important; border: 1.5px solid var(--green); }
.btn-outline:hover { background: var(--green); color: #fff !important; }
.btn-white { background: #fff; color: var(--green) !important; }
.btn-white:hover { background: var(--cream); color: var(--green) !important; }

/* Preloader */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--cream); display: grid; place-items: center;
  transition: opacity .5s var(--ease), visibility .5s;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader img { width: 220px; height: auto; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.96); opacity: .75; } }

/* Top bar */
.topbar {
  background: var(--green-deep); color: #dce8c8; font-size: .82rem;
  padding: .45rem 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--lime); }
.topbar-left, .topbar-right { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.topbar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: .3rem; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 800;
  background: rgba(255,255,255,.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.scrolled { box-shadow: 0 8px 28px rgba(3,38,17,.08); border-bottom-color: var(--line); }
.header-inner {
  height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  color: var(--text); padding: .55rem .8rem; border-radius: 8px; transition: .2s;
}
.nav a:hover, .nav a.active { color: var(--green); background: var(--lime-soft); }
.header-cta { display: flex; align-items: center; gap: .75rem; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 10px;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--green); position: relative; transition: .25s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
body.nav-open .menu-toggle span { background: transparent; }
body.nav-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
  padding: 4.5rem 0 5.5rem;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--lime-dark);
  margin-bottom: 1.1rem;
}
.eyebrow .dot { width: 10px; height: 10px; background: var(--lime); border-radius: 2px; }
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.35rem);
  font-weight: 800; color: var(--green); margin: 0 0 1.2rem; max-width: 16ch;
}
.hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 38em; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero-facts { display: flex; gap: 1.8rem; flex-wrap: wrap; padding-top: .4rem; border-top: 1px solid var(--line); }
.hero-facts div strong { display: block; font-family: var(--font-head); font-size: 1.55rem; color: var(--green); letter-spacing: -.03em; }
.hero-facts div span { font-size: .82rem; color: var(--muted); }
.hero-visual { position: relative; min-height: 520px; }
.hero-blob {
  position: absolute; right: -8%; top: 6%; width: 92%; aspect-ratio: 1;
  background: radial-gradient(circle at 40% 40%, #d8e99a 0%, var(--lime-soft) 45%, transparent 70%);
  border-radius: 50%; z-index: 0;
}
.hero-ring {
  position: absolute; right: 2%; top: 12%; width: 78%; aspect-ratio: 1;
  border: 18px solid rgba(138,182,44,.22); border-radius: 50%; z-index: 0;
}
.hero-photo {
  position: absolute; left: 0; bottom: 8%; width: 48%;
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); z-index: 2;
  aspect-ratio: 3/4; object-fit: cover; height: auto;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-kit {
  position: relative; z-index: 3; margin-left: 28%; width: 72%;
  filter: drop-shadow(0 28px 40px rgba(3,38,17,.18));
}
.hero-badge {
  position: absolute; right: 4%; top: 8%; z-index: 4;
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--green); color: #fff; display: grid; place-items: center; text-align: center;
  box-shadow: var(--shadow); animation: spin-slow 18s linear infinite;
}
.hero-badge inner, .hero-badge span { font-family: var(--font-head); font-weight: 700; font-size: .78rem; line-height: 1.25; letter-spacing: .02em; padding: .6rem; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.hero-badge span { animation: spin-slow 18s linear infinite reverse; display: block; }

/* Section helpers */
.section { padding: 6rem 0; }
.section-cream { background: var(--cream); }
.section-green { background: var(--green); color: #e8f0da; }
.section-green h2, .section-green h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 3.05rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-green .section-head p { color: #c9d6b0; }
.section-green .eyebrow { color: var(--lime); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* About */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 4rem; align-items: center; }
.about-photos { position: relative; min-height: 540px; }
.about-photos .p1 { width: 72%; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.about-photos .p1 img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-photos .p2 {
  position: absolute; right: 0; bottom: 0; width: 52%;
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
  border: 6px solid #fff;
}
.about-photos .p2 img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-photos .floating-card {
  position: absolute; left: -16px; bottom: 18%;
  background: #fff; border-radius: 18px; padding: 1rem 1.15rem;
  box-shadow: var(--shadow); display: flex; gap: .8rem; align-items: center;
  max-width: 230px; z-index: 2;
}
.about-photos .floating-card strong { display: block; font-family: var(--font-head); color: var(--green); font-size: 1.05rem; }
.about-photos .floating-card span { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.ico-bubble {
  width: 44px; height: 44px; border-radius: 50%; background: var(--lime-soft); color: var(--green);
  display: grid; place-items: center; flex: 0 0 auto;
}
.ico-bubble svg { width: 22px; height: 22px; }

.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 2rem; }
.diff-item {
  background: var(--cream); border-radius: var(--radius-sm); padding: 1.15rem 1.2rem;
  display: flex; gap: .85rem; align-items: flex-start;
}
.diff-item strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--green); margin-bottom: .15rem; }
.diff-item p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* Counters */
.counters { padding: 4.5rem 0; }
.counters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.counter-card { text-align: center; padding: .5rem; }
.counter-card .num {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--lime); letter-spacing: -.04em; line-height: 1;
}
.counter-card .num small { font-size: .45em; font-weight: 700; }
.counter-card h3 { color: #fff; font-size: 1.05rem; margin: .7rem 0 .35rem; }
.counter-card p { margin: 0; font-size: .88rem; color: #c5d3aa; }
.counters-note { text-align: center; margin-top: 2rem; font-size: .85rem; color: #a9b992; }

/* Usages */
.usages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.usage-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: .35s var(--ease); display: flex; flex-direction: column;
}
.usage-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.usage-card .thumb { aspect-ratio: 16/11; overflow: hidden; }
.usage-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s var(--ease); }
.usage-card:hover .thumb img { transform: scale(1.06); }
.usage-card .body { padding: 1.4rem 1.4rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.usage-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.usage-card p { color: var(--muted); font-size: .92rem; margin-bottom: .8rem; flex: 1; }
.usage-card ul { list-style: none; }
.usage-card li {
  position: relative; padding-left: 1.05rem; font-size: .86rem; color: var(--text);
  margin-bottom: .28rem; line-height: 1.45;
}
.usage-card li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; background: var(--lime); border-radius: 1px; }
.usages-grid .usage-card:nth-child(4),
.usages-grid .usage-card:nth-child(5) { /* 2 on last row centered-ish via auto */ }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; counter-reset: step; }
.step {
  background: #fff; border-radius: var(--radius); padding: 1.6rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm); position: relative; text-align: left;
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 800; font-size: 2rem;
  color: var(--lime); display: block; margin-bottom: .6rem; letter-spacing: -.04em;
}
.step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { margin: 0; font-size: .88rem; color: var(--muted); }

/* Kit + specs */
.kit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: start; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.gallery figure { margin: 0; border-radius: 18px; overflow: hidden; background: var(--cream); }
.gallery img { width: 100%; height: 100%; object-fit: contain; aspect-ratio: 1; background: #fff; }
.gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 4/3; }
.gallery figure:first-child img { object-fit: cover; aspect-ratio: 4/3; }
.gallery figcaption { font-size: .75rem; color: var(--muted); padding: .4rem .7rem .6rem; background: #fff; }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.spec {
  background: var(--cream); border-radius: var(--radius-sm); padding: 1.05rem 1.15rem;
}
.spec dt { font-family: var(--font-head); font-weight: 600; color: var(--green); font-size: .95rem; margin-bottom: .25rem; }
.spec dd { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.5; }

.not-list { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.6rem; }
.not-item {
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem;
  font-size: .9rem; color: var(--muted);
}
.not-item strong { display: block; color: var(--green); font-family: var(--font-head); margin-bottom: .25rem; }

/* Languages */
.lang-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.lang-card {
  background: #fff; border-radius: var(--radius-sm); padding: 1.3rem 1.2rem;
  box-shadow: var(--shadow-sm); transition: .3s;
}
.lang-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lang-card h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.lang-card .zone { font-size: .8rem; color: var(--lime-dark); font-weight: 600; margin-bottom: .4rem; }
.lang-card p { margin: 0; font-size: .85rem; color: var(--muted); }

/* Publics */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.panel { background: #fff; border-radius: var(--radius); padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); }
.panel h3 { font-size: 1.35rem; }
.chip-list { display: flex; flex-direction: column; gap: .7rem; margin-top: 1rem; }
.chip {
  display: flex; gap: .85rem; align-items: flex-start;
  background: var(--cream); border-radius: 12px; padding: .85rem 1rem;
}
.chip strong { display: block; font-size: .95rem; color: var(--green); font-family: var(--font-head); }
.chip span { font-size: .82rem; color: var(--muted); line-height: 1.45; }

.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2.5rem; }
.model {
  background: var(--green); color: #e8f0da; border-radius: var(--radius); padding: 1.6rem 1.3rem;
  min-height: 100%;
}
.model .tag { font-family: var(--font-head); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin-bottom: .6rem; }
.model h3 { color: #fff; font-size: 1.1rem; }
.model p { margin: 0; font-size: .88rem; color: #c9d6b0; }

/* Comparison */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: .85rem 1rem; text-align: center; font-size: .88rem; border-bottom: 1px solid var(--line); }
th { font-family: var(--font-head); background: var(--cream); color: var(--green); font-weight: 600; }
th:first-child, td:first-child { text-align: left; font-weight: 600; }
td.yes { color: var(--green); font-weight: 700; }
td.no { color: #9aa193; }
th.hl, td.hl { background: var(--lime-soft); }

/* Partners / ODD */
.odd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.odd {
  background: #fff; border-radius: var(--radius-sm); padding: 1.2rem 1.15rem; box-shadow: var(--shadow-sm);
}
.odd .n { font-family: var(--font-head); color: var(--lime-dark); font-weight: 800; font-size: .9rem; margin-bottom: .3rem; }
.odd h3 { font-size: 1rem; margin-bottom: .4rem; }
.odd p { margin: 0; font-size: .84rem; color: var(--muted); }

.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.offer { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.offer h3 { font-size: 1.3rem; }
.offer ul { list-style: none; margin-top: 1rem; }
.offer li { position: relative; padding: 0 0 .7rem 1.4rem; color: var(--muted); font-size: .95rem; }
.offer li::before { content: "▸"; position: absolute; left: 0; color: var(--lime-dark); font-weight: 700; }

.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.phase { border-radius: var(--radius); padding: 1.7rem 1.5rem; background: var(--cream); }
.phase .when { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--lime-dark); font-weight: 700; font-family: var(--font-head); }
.phase h3 { font-size: 1.15rem; margin: .4rem 0 .6rem; }
.phase p { margin: 0; font-size: .9rem; color: var(--muted); }
.phases-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; font-style: italic; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.accordion { display: flex; flex-direction: column; gap: .7rem; }
.acc {
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden;
  border: 1px solid var(--line);
}
.acc button {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.15rem 3.2rem 1.15rem 1.3rem; font-family: var(--font-head); font-weight: 600;
  font-size: 1.02rem; color: var(--green); position: relative;
}
.acc button::after {
  content: ""; position: absolute; right: 1.3rem; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: translateY(-70%) rotate(45deg); transition: .25s;
}
.acc.open button::after { transform: translateY(-30%) rotate(225deg); }
.acc .panel-body { display: none; padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: .95rem; }
.acc.open .panel-body { display: block; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.contact-card {
  background: var(--green); color: #e8f0da; border-radius: var(--radius); padding: 2.4rem 2.2rem;
}
.contact-card h2 { color: #fff; font-size: 2rem; }
.contact-card p { color: #c9d6b0; }
.contact-list { list-style: none; margin: 1.6rem 0 1.8rem; }
.contact-list li { margin-bottom: 1rem; display: flex; gap: .9rem; align-items: flex-start; }
.contact-list a { color: #fff; font-weight: 600; }
.contact-list a:hover { color: var(--lime); }
.contact-list span { display: block; font-size: .8rem; color: #b7c6a0; font-weight: 400; }
.steps-mini { list-style: none; counter-reset: st; }
.steps-mini li { counter-increment: st; position: relative; padding: 0 0 1.1rem 2.6rem; color: var(--muted); font-size: .92rem; }
.steps-mini li::before {
  content: counter(st); position: absolute; left: 0; top: 0;
  width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--lime-soft); color: var(--green);
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  display: grid; place-items: center;
}

/* Footer */
.footer { background: var(--green-deep); color: #c5d3aa; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer .logo img { height: 48px; width: auto; filter: none; background: #fff; padding: .35rem .6rem; border-radius: 8px; }
.footer p { font-size: .9rem; color: #a9b992; }
.footer h3 { color: #fff; font-size: 1rem; margin: .2rem 0 1rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: .45rem; }
.footer a { color: #dce8c8; }
.footer a:hover { color: var(--lime); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.2rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: #8fa07a;
}

/* Credits page */
.credits-page { padding: 8rem 0 4rem; }
.credits-page table { min-width: 0; }
.credits-page th, .credits-page td { text-align: left; font-size: .9rem; }

@media (max-width: 1100px) {
  .hero-grid, .about-grid, .kit-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; max-width: 560px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .models, .lang-grid, .odd-grid, .footer-grid, .counters-grid { grid-template-columns: 1fr 1fr; }
  .phases { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .topbar { display: none; }
  .nav, .header-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  body.nav-open .nav {
    display: flex; flex-direction: column; position: fixed; inset: var(--header) 0 0 0;
    background: #fff; padding: 1.5rem; align-items: stretch; z-index: 700;
    overflow: auto;
  }
  body.nav-open .nav a { padding: 1rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  body.nav-open { overflow: hidden; }
  .usages-grid, .split, .offer-grid, .not-list, .diff-grid, .specs { grid-template-columns: 1fr; }
  .logo img { height: 42px; }
  :root { --header: 74px; }
  .section { padding: 4rem 0; }
}
@media (max-width: 640px) {
  .hero { padding: 2.5rem 0 3rem; }
  .hero-facts { gap: 1rem; }
  .steps, .models, .lang-grid, .odd-grid, .footer-grid, .counters-grid { grid-template-columns: 1fr; }
  .about-photos { min-height: 420px; }
  .gallery { grid-template-columns: 1fr; }
  .container, .container-wide { width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  body.nav-open .header-cta {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 710;
    padding: 1rem 1.5rem 1.4rem;
    background: #fff;
    box-shadow: 0 -8px 24px rgba(3,38,17,.08);
  }
  body.nav-open .header-cta .btn { width: 100%; justify-content: center; }
  body.nav-open .nav { padding-bottom: 6rem; }
}
.hero-kit { background: transparent; }

.hero-kit {
  border-radius: 24px;
  overflow: hidden;
}
.gallery figure:first-child img { object-fit: contain; background: #eef6d8; }
.offer { height: 100%; }
.lang-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.lang-card { width: calc(25% - .75rem); }
@media (max-width: 1100px) {
  .lang-card { width: calc(50% - .75rem); }
}
@media (max-width: 640px) {
  .lang-card { width: 100%; }
  .hero-visual { min-height: 360px; }
  .hero-kit { margin-left: 18%; width: 82%; }
  .hero-photo { width: 44%; bottom: 4%; }
  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem 0.4rem;
    text-align: center;
  }
  .hero-facts div strong { font-size: 1.25rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .about-photos { min-height: 340px; }
}
@media (max-width: 1100px) {
  .hero-visual { min-height: 400px; }
}
.footer-mougani img {
  background: #fff !important;
  padding: .4rem .65rem !important;
  border-radius: 8px !important;
  height: 42px !important;
  width: auto !important;
}

/* Visual polish */
.hero-kit {
  border-radius: 24px;
  overflow: hidden;
  object-fit: cover;
}
.hero-visual { isolation: isolate; }
.offer { height: 100%; }
.lang-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.lang-card { width: calc(25% - 0.75rem); flex: 0 0 calc(25% - 0.75rem); }
.gallery figure:first-child { aspect-ratio: auto; }
.gallery figure:first-child img { aspect-ratio: 16 / 11; object-fit: cover; object-position: center 35%; }
@media (max-width: 1100px) {
  .lang-card { flex: 0 0 calc(50% - 0.5rem); width: calc(50% - 0.5rem); }
}
@media (max-width: 640px) {
  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
    text-align: center;
  }
  .hero-facts div strong { font-size: 1.25rem; }
  .hero-facts div span { font-size: .72rem; }
  .lang-card { flex: 0 0 100%; width: 100%; }
  .hero-visual { min-height: 420px; margin-top: 1rem; }
  .hero-kit { margin-left: 22%; width: 78%; }
  .hero-photo { width: 46%; bottom: 4%; }
  .hero-badge { width: 96px; height: 96px; font-size: .68rem; }
  .footer .logo img { margin-bottom: .8rem; }
}
