:root {
  --navy: #07121a;
  --navy-2: #0c1b25;
  --panel: #102938;
  --panel-2: #142f3f;
  --line: #294353;
  --soft-line: rgba(255,255,255,.1);
  --text: #eef6f4;
  --muted: #a8b9bd;
  --accent: #29d3aa;
  --accent-2: #4db4d7;
  --warning: #f0c46a;
  --light: #f3f7f6;
  --paper: #ffffff;
  --dark-text: #14252d;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--warning); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.site-header { position: fixed; z-index: 10; inset: 0 0 auto; height: 78px; display: flex; align-items: center; justify-content: space-between; max-width: var(--max); margin: auto; padding: 0 24px; background: rgba(7,18,26,.78); backdrop-filter: blur(16px); }
.site-header::before { content: ""; position: fixed; z-index: -1; inset: 0; height: 78px; background: linear-gradient(180deg, rgba(7,18,26,.95), rgba(7,18,26,.72)); border-bottom: 1px solid var(--soft-line); }
.logo { display: flex; align-items: center; gap: 12px; line-height: 1.1; }
.logo-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(41,211,170,.75); background: rgba(41,211,170,.08); color: var(--accent); font-weight: 850; letter-spacing: -.08em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.logo strong { display: block; font-size: 1.1rem; letter-spacing: .02em; }
.logo small { display: block; margin-top: 5px; color: var(--muted); font-size: .61rem; letter-spacing: .1em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: .88rem; font-weight: 700; }
.main-nav a:hover { color: var(--accent); }
.main-nav .nav-cta { padding: 9px 16px; border: 1px solid rgba(41,211,170,.45); color: var(--accent); background: rgba(41,211,170,.06); }
.language-switch { display: flex; gap: 6px; align-items: center; margin-left: 18px; font-size: .72rem; }
.language-switch a, .language-switch strong { display: grid; place-items: center; min-width: 31px; height: 31px; border: 1px solid var(--line); }
.language-switch strong { border-color: var(--accent); color: var(--accent); }
.language-switch a:hover { border-color: var(--accent); color: var(--accent); }
.menu-toggle { display: none; border: 0; background: none; }

.hero { position: relative; min-height: 760px; max-width: var(--max); margin: auto; padding: 158px 24px 86px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); align-items: center; gap: 70px; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 72% 28%, rgba(41,211,170,.12), transparent 28%), linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px); background-size: auto, 72px 72px, 72px 72px; mask-image: linear-gradient(to bottom, black 72%, transparent); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--accent); font-size: .72rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .75; }
h1, h2, h3 { margin: 0; line-height: 1.14; letter-spacing: -.035em; }
h1 { max-width: 820px; font-size: clamp(2.75rem, 5vw, 4.75rem); }
h2 { font-size: clamp(2rem, 3.25vw, 3.15rem); }
h3 { font-size: 1.18rem; }
.hero-lead { margin: 25px 0 10px; color: var(--text); font-size: 1.25rem; font-weight: 650; }
.hero-content > p:last-of-type { max-width: 720px; color: var(--muted); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 22px; border: 1px solid transparent; cursor: pointer; font-weight: 800; transition: .18s ease; }
.button.primary { background: var(--accent); color: #041818; box-shadow: 0 12px 28px rgba(41,211,170,.13); }
.button.primary:hover { background: #6ee4cd; transform: translateY(-1px); }
.button.secondary { border-color: rgba(255,255,255,.16); color: var(--text); background: rgba(255,255,255,.03); }
.button.secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; max-width: 650px; margin: 40px 0 0; padding: 1px; background: var(--line); border: 1px solid var(--line); }
.hero-stats div { padding: 18px 20px; background: rgba(12,27,37,.92); }
.hero-stats dt { color: var(--text); font-size: 1.35rem; font-weight: 850; line-height: 1; }
.hero-stats dd { margin: 8px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.35; }

.hero-visual { position: relative; min-height: 500px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(150deg, rgba(16,41,56,.88), rgba(7,18,26,.34)); overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(255,255,255,.08); }
.hero-visual::after { content: ""; position: absolute; inset: auto 0 0; height: 38%; background: linear-gradient(to top, rgba(7,18,26,.82), transparent); }
.hero-visual svg { width: 100%; height: 100%; overflow: visible; }
.hero-visual path, .hero-visual circle { fill: none; stroke: rgba(168,185,189,.45); stroke-width: 1; }
.hero-visual path { stroke-dasharray: 5 6; }
.visual-ring { position: absolute; border: 1px solid rgba(41,211,170,.18); border-radius: 50%; }
.visual-ring-a { width: 290px; height: 290px; top: 104px; left: 92px; }
.visual-ring-b { width: 420px; height: 420px; right: -150px; top: 20px; }
.metric { position: absolute; z-index: 2; width: 152px; padding: 15px; background: rgba(7,18,26,.88); border: 1px solid rgba(255,255,255,.13); box-shadow: 0 18px 44px rgba(0,0,0,.22); }
.metric strong, .metric span { display: block; }
.metric strong { color: var(--accent); letter-spacing: .08em; }
.metric span { margin-top: 5px; color: var(--muted); font-size: .68rem; }
.metric-main { top: 41%; left: 37%; border-color: rgba(41,211,170,.8); background: rgba(6,28,28,.9); }
.metric-a { top: 13%; left: 7%; }
.metric-b { top: 16%; right: 0; }
.metric-c { right: 4%; bottom: 12%; }

.section { max-width: var(--max); margin: auto; padding: 104px 24px; scroll-margin-top: 78px; }
.section-heading { max-width: 720px; margin-bottom: 52px; }
.section-heading > p:last-child { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-grid article { min-height: 285px; padding: 32px; background: var(--navy-2); transition: background .18s ease, transform .18s ease; }
.service-grid article:hover { background: var(--panel); transform: translateY(-1px); }
.service-grid .icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 60px; border: 1px solid rgba(41,211,170,.42); background: rgba(41,211,170,.06); color: var(--accent); font-size: .7rem; font-weight: 850; }
.service-grid p { color: var(--muted); font-size: .9rem; }
.service-grid.compact article { min-height: 180px; }
.service-grid.compact .icon { margin-bottom: 30px; }
.service-grid.compact h3 { font-size: 1rem; }
.help { padding-top: 40px; }
.target { border-top: 1px solid var(--line); }
.target-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.target-grid article { min-height: 235px; padding: 30px; background: var(--navy-2); }
.target-grid article:first-child { background: linear-gradient(150deg, rgba(16,41,56,.96), rgba(12,27,37,1)); }
.target-grid p { color: var(--muted); font-size: .92rem; }
.calculator-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; border-top: 1px solid var(--line); }
.calculator-page { min-height: calc(100vh - 170px); padding-top: 82px; }
.calculator-page .calculator-section { min-height: calc(100vh - 252px); }
.calculator-page .water-calculator { min-height: auto; }
.calculator-copy > p:not(.eyebrow) { color: var(--muted); }
.calculator-copy .conversion-note { color: var(--accent); font-weight: 750; }
.calculator-card { padding: 35px; background: var(--navy-2); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0,0,0,.13); }
.calculator-field + .calculator-field { margin-top: 0; }
.water-flow-field { margin-top: 20px; }
.calculator-input { display: grid; grid-template-columns: 1fr auto; margin-top: 8px; border: 1px solid var(--line); background: var(--navy); }
.calculator-input:focus-within { border-color: var(--accent); }
.calculator-input input { min-width: 0; border: 0; font-size: 1.4rem; font-weight: 750; }
.calculator-input span { display: grid; place-items: center; min-width: 70px; padding: 0 18px; border-left: 1px solid var(--line); color: var(--accent); font-weight: 800; }
.calculator-input select { min-width: 90px; padding: 0 14px; border: 0; border-left: 1px solid var(--line); outline: none; background: var(--navy); color: var(--accent); cursor: pointer; font-weight: 800; }
.calculator-input select:focus { background: var(--panel); }
.calculator-direction { margin: 15px 0; color: var(--accent); font-size: 1.5rem; font-weight: 800; line-height: 1; text-align: center; }
.calculator-help { margin: 18px 0 0; color: var(--muted); font-size: .75rem; }
.calculator-result { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-top: 25px; border-top: 1px solid var(--line); }
.calculator-result span { color: var(--muted); font-size: .75rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.calculator-result strong { color: var(--accent); font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.04em; text-align: right; }
.calculator-hub { padding-top: 155px; }
.calculator-hub .service-grid article { display: flex; flex-direction: column; }
.calculator-hub .service-grid .button { align-self: flex-start; margin-top: auto; }
.calculator-form { display: grid; gap: 20px; }
.calculator-form .calculator-field + .calculator-field { margin-top: 0; }
.calculator-form .calculator-result { padding-top: 18px; }
.calculator-form .calculator-result strong { font-size: clamp(1.35rem, 3vw, 2.2rem); }
.calculator-form label small { margin-top: 5px; color: var(--accent-2); font-size: .72rem; font-weight: 500; letter-spacing: 0; }
.calculator-results { display: grid; gap: 0; margin-top: 10px; border-top: 1px solid var(--line); }
.calculator-results .calculator-result { padding: 18px 0; }
.calculator-results .calculator-result + .calculator-result { border-top: 1px solid var(--line); }
.analysis-section { border-top: 1px solid var(--line); }
.analysis-box { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; padding: 38px; background: var(--navy-2); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0,0,0,.13); }
.analysis-box h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.analysis-box p { color: var(--muted); }
.analysis-form { display: grid; gap: 16px; }
.analysis-form .button { justify-self: start; }
.calculator-note { margin-top: 28px; color: var(--muted); font-size: .82rem; }
.calculator-result.result-note { display: grid; }
.calculator-result.result-note strong { color: var(--text); font-size: .9rem; line-height: 1.5; text-align: left; letter-spacing: 0; }
.calculator-validation { min-height: 1.5em; margin: 0; color: var(--warning); font-size: .82rem; }
.calculator-form.has-error .calculator-input { border-color: var(--warning); }
.technical-limits { border-top: 1px solid var(--line); }
.technical-limits .section-heading { margin-bottom: 35px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.limits-table { width: 100%; min-width: 880px; border-collapse: collapse; background: var(--navy-2); font-size: .84rem; }
.limits-table th, .limits-table td { padding: 17px 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.limits-table th { color: var(--accent); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.limits-table tbody tr:last-child td { border-bottom: 0; }
.limits-table td:first-child { color: var(--text); font-weight: 800; white-space: nowrap; }
.limits-table td:not(:first-child) { color: var(--muted); }
.limits-table .safety-a1 { color: var(--accent); }
.limits-table .safety-warning { color: #f2c36b; }
.limits-table .safety-danger { color: #ff9d82; }
.split-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; border-top: 1px solid var(--line); }
.prose { color: var(--muted); font-size: 1.08rem; }
.prose p:first-child { margin-top: 0; color: var(--text); }
.why { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.025)); }
.principles { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.principles li { display: flex; gap: 25px; padding: 22px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.principles span { color: var(--accent); font-size: .75rem; }
.process { border-top: 1px solid var(--line); }
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.process-list article { min-height: 270px; padding: 28px; background: var(--navy-2); }
.process-list span { display: block; margin-bottom: 42px; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .08em; }
.process-list p { color: var(--muted); font-size: .88rem; }
.offer { max-width: none; background: var(--light); color: var(--dark-text); border-block: 1px solid #dce7e6; }
.offer > * { max-width: calc(var(--max) - 48px); margin-left: auto; margin-right: auto; }
.offer .eyebrow { color: #008e83; }
.offer .section-heading > p:last-child, .offer .service-grid p { color: #536a73; }
.offer .service-grid { border-color: #d2dddc; background: #d2dddc; box-shadow: 0 24px 60px rgba(20,37,45,.08); }
.offer .service-grid article { background: var(--paper); }
.offer .service-grid article:hover { background: #f7fbfb; }
.offer .service-grid .icon { border-color: #cbd9db; color: #008e83; background: #eef8f6; }

.experience-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.experience-list article { display: grid; grid-template-columns: 150px 1fr; gap: 25px; padding: 28px 20px 28px 0; border-bottom: 1px solid var(--line); }
.experience-list article:nth-child(odd) { border-right: 1px solid var(--line); }
.experience-list article:nth-child(even) { padding-left: 28px; }
.experience-list strong { color: var(--accent); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.experience-list p { margin: 0; }
.calculator-cta { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; border-top: 1px solid var(--line); background: linear-gradient(90deg, rgba(41,211,170,.035), transparent); }
.calculator-cta .button { margin-top: 18px; }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; padding-bottom: 130px; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); }
address { display: grid; gap: 10px; margin-top: 35px; color: var(--muted); font-style: normal; }
address a { color: var(--accent); }
.contact-form { display: grid; gap: 20px; padding: 35px; background: linear-gradient(150deg, var(--navy-2), #091821); border: 1px solid var(--line); box-shadow: 0 24px 70px rgba(0,0,0,.18); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
label { display: grid; gap: 7px; color: var(--muted); font-size: .75rem; font-weight: 750; letter-spacing: .04em; }
input, textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); outline: none; background: rgba(7,18,26,.92); color: var(--text); }
input:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; }
.consent { display: flex; align-items: center; gap: 9px; font-weight: 500; letter-spacing: 0; }
.consent input { width: auto; }
.consent a { color: var(--accent); }
.contact-form .button { justify-self: start; }
.form-status { margin: 0; color: var(--accent); font-size: .85rem; }

footer { max-width: var(--max); margin: auto; padding: 45px 24px; display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 40px; align-items: end; border-top: 1px solid var(--line); }
.footer-brand strong { font-size: 1.2rem; }
.footer-brand p, .copyright { margin: 8px 0 0; color: var(--muted); font-size: .75rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .75rem; }
footer nav a:hover { color: var(--accent); }

.legal { max-width: 850px; min-height: calc(100vh - 170px); margin: auto; padding: 150px 24px 80px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.legal h2 { margin-top: 45px; font-size: 1.4rem; }
.legal p, .legal li { color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .service-grid, .target-grid, .process-list { grid-template-columns: repeat(2, 1fr); }
  .calculator-section, .split-section, .why, .contact, .analysis-box, .calculator-cta { grid-template-columns: 1fr; gap: 45px; }
  .experience-list { grid-template-columns: 1fr; }
  .experience-list article:nth-child(odd) { border-right: 0; }
  .experience-list article:nth-child(even) { padding-left: 0; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { height: 70px; padding: 0 18px; }
  .site-header::before { height: 70px; }
  .logo small { display: none; }
  .menu-toggle { display: grid; gap: 5px; padding: 10px; }
  .menu-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; background: var(--text); }
  .main-nav { position: fixed; inset: 70px 0 auto; display: none; padding: 25px; background: var(--navy); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: grid; }
  .main-nav .nav-cta { padding-left: 0; border: 0; }
  .language-switch { margin-left: auto; margin-right: 8px; }
  .hero { min-height: auto; padding: 130px 18px 75px; }
  h1 { font-size: 2.55rem; }
  .section { padding: 80px 18px; }
  .hero-stats { grid-template-columns: 1fr; }
  .service-grid, .target-grid, .process-list, .form-row { grid-template-columns: 1fr; }
  .service-grid article { min-height: 230px; }
  .experience-list article { grid-template-columns: 1fr; gap: 7px; }
  .contact-form { padding: 20px; }
  .calculator-card { padding: 20px; }
  .calculator-result { display: grid; }
  .calculator-result strong { text-align: left; }
  footer { padding: 35px 18px; }
}
