:root {
  --navy-950: #041326;
  --navy-900: #071b34;
  --navy-850: #0a2443;
  --navy-800: #0d2c50;
  --navy-700: #153f6b;
  --blue-500: #3f8ed0;
  --blue-300: #8fc9f3;
  --red-600: #c91524;
  --red-500: #e21d2f;
  --red-400: #f04655;
  --white: #ffffff;
  --text: #f7fbff;
  --muted: #b8c9da;
  --muted-2: #8fa7bf;
  --line: rgba(255,255,255,.13);
  --line-strong: rgba(255,255,255,.22);
  --panel: rgba(10,36,67,.88);
  --panel-solid: #0a2443;
  --panel-light: #102f53;
  --success: #60d69a;
  --danger: #ff6d79;
  --shadow: 0 28px 80px rgba(0,0,0,.31);
  --shadow-soft: 0 16px 45px rgba(0,0,0,.18);
  --radius: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 4%, rgba(63,142,208,.20), transparent 27%),
    radial-gradient(circle at 8% 22%, rgba(226,29,47,.10), transparent 22%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 46%, #06172d);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 1000;
  padding: 12px 16px;
  color: #071b34;
  background: #fff;
  border-radius: 10px;
  font-weight: 800;
}
.skip-link:focus { top: 16px; }

.container { width: min(calc(100% - 34px), var(--container)); margin-inline: auto; }
.section { padding: 90px 0; }
.section-sm { padding: 58px 0; }
.section-head { max-width: 790px; margin-bottom: 36px; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #ff7180;
  font-size: .79rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.section-kicker::before { content: ""; width: 30px; height: 3px; border-radius: 3px; background: var(--red-500); }

h1, h2, h3, h4 { margin: 0 0 .55em; line-height: 1.1; letter-spacing: -.026em; }
h1 { font-size: clamp(2.65rem, 5.8vw, 5.55rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
h3 { font-size: clamp(1.16rem, 2vw, 1.48rem); }
p { margin: 0 0 1rem; }
.lead { color: #c9d8e7; font-size: clamp(1.04rem, 1.7vw, 1.26rem); }
.muted { color: var(--muted); }
.mt-28 { margin-top: 28px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #e2edf7;
  background: rgba(255,255,255,.05);
  font-size: .84rem;
  font-weight: 800;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 0 6px rgba(226,29,47,.16); }

/* Header */
.topbar {
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: #031021;
  color: #cad8e6;
  font-size: .80rem;
}
.topbar-inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-links { display: flex; align-items: center; gap: 14px; }
.topbar a { transition: color .18s ease, background .18s ease; }
.topbar a:hover { color: #fff; }
.social-link, .language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 4px 8px;
  border-radius: 8px;
}
.social-link:hover, .language-switch:hover { background: rgba(255,255,255,.08); }
.social-link span {
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  border-radius: 5px;
  color: #fff;
  background: var(--red-600);
  font-size: .69rem;
  font-weight: 900;
}
.language-switch { border: 1px solid rgba(255,255,255,.14); font-weight: 800; }
.language-switch span { font-size: 1.05rem; line-height: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(4,19,38,.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 36px rgba(0,0,0,.10);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 21px; }
.logo { display: inline-flex; align-items: center; }
.logo-wordmark { min-width: 205px; }
.logo-wordmark img { width: 205px; height: auto; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 3px; }
.main-nav > a, .nav-dropdown > button {
  appearance: none;
  border: 0;
  color: #dce8f4;
  background: transparent;
  padding: 12px 10px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 800;
  white-space: nowrap;
}
.main-nav > a:hover, .main-nav > a[aria-current="page"], .nav-dropdown > button:hover,
.nav-dropdown > button[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 318px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #09213e;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: .19s ease;
}
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: block; padding: 11px 12px; border-radius: 10px; color: #d5e2ef; }
.dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-toggle, .mobile-language { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--red-600), var(--red-400)); box-shadow: 0 14px 34px rgba(201,21,36,.24); }
.btn-primary:hover { box-shadow: 0 18px 44px rgba(201,21,36,.34); }
.btn-secondary { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.055); }
.btn-secondary:hover { background: rgba(255,255,255,.10); }
.btn-ghost { color: #d9e7f3; border-color: transparent; background: transparent; }
.btn-sm { min-height: 42px; padding: 9px 15px; font-size: .86rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { position: relative; min-height: 720px; overflow: hidden; display: grid; align-items: center; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(226,29,47,.08) 1px, transparent 1px),
    linear-gradient(rgba(63,142,208,.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 83%);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 170px; background: linear-gradient(transparent, var(--navy-900)); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; padding: 88px 0 126px; }
.hero-copy { max-width: 710px; }
.hero h1 span { color: #ff5262; }
.hero-copy .lead { max-width: 670px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 34px; color: #c0cede; font-size: .89rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: "✓"; color: var(--success); font-weight: 900; }
.hero-visual { position: relative; min-height: 520px; }
.hero-photo {
  position: absolute;
  inset: 14px 0 58px 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  background: #0b2748;
  box-shadow: var(--shadow);
}
.hero-photo > img { width: 100%; height: 42%; object-fit: cover; border-bottom: 1px solid rgba(255,255,255,.11); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; height: 58%; padding: 7px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.hero-card {
  position: absolute;
  right: -12px;
  bottom: 26px;
  width: min(338px, 83%);
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.17);
  border-left: 4px solid var(--red-500);
  border-radius: 20px;
  background: rgba(5,22,43,.94);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.hero-card strong { display: block; margin: 3px 0; font-size: 1.16rem; }
.hero-card small { color: var(--muted); }

.stat-strip { position: relative; z-index: 4; margin-top: -68px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(9,34,64,.97); box-shadow: var(--shadow); }
.stat { padding: 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 1.72rem; }
.stat strong::after { content: ""; display: block; width: 30px; height: 3px; margin-top: 9px; border-radius: 3px; background: var(--red-500); }
.stat span { color: var(--muted); font-size: .9rem; }

/* Grids and cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.022)); box-shadow: var(--shadow-soft); }
.card:hover { border-color: var(--line-strong); }
.card-pad { padding: 29px; }
.product-card { position: relative; min-height: 300px; overflow: hidden; padding: 28px; display: flex; flex-direction: column; }
.product-card::before { content: ""; position: absolute; right: -50px; top: -51px; width: 158px; height: 158px; border: 28px solid rgba(63,142,208,.12); border-radius: 50%; }
.product-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--red-600), transparent 72%); }
.product-card .tag { align-self: flex-start; }
.product-card h3 { position: relative; margin-top: 28px; }
.product-card p { position: relative; color: var(--muted); }
.product-card a { position: relative; margin-top: auto; color: #fff; font-weight: 900; }
.tag { display: inline-flex; padding: 6px 10px; border: 1px solid rgba(255,92,106,.22); border-radius: 8px; color: #ff8792; background: rgba(226,29,47,.12); font-size: .73rem; font-weight: 900; }
.service-card { padding: 27px; }
a.service-link { display: block; transition: transform .2s ease, border-color .2s ease; }
a.service-link:hover { transform: translateY(-4px); border-color: rgba(255,82,98,.42); }
a.service-link > span { color: #fff; font-weight: 900; }
.icon-box { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--navy-700), var(--red-600)); font-size: 1.24rem; box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.service-card p { color: var(--muted); }

.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.visual-panel, .photo-panel { min-height: 470px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #09203b; box-shadow: var(--shadow-soft); }
.visual-panel img, .photo-panel img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; display: grid; gap: 14px; margin: 25px 0 0; padding: 0; }
.check-list li { display: flex; gap: 12px; color: #d8e5f0; }
.check-list li::before { content: "✓"; flex: 0 0 25px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--red-600); font-weight: 900; }

.cta { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 28px; background: linear-gradient(115deg, #0d3158, #0a2341 60%, #3b0c18); box-shadow: var(--shadow); }
.cta::after { content: ""; position: absolute; right: -100px; top: -125px; width: 300px; height: 300px; border: 55px solid rgba(226,29,47,.18); border-radius: 50%; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px; }

/* Certificate and gallery */
.certificate-section { align-items: center; }
.certificate-card { overflow: hidden; padding: 14px; border: 1px solid var(--line); border-radius: 25px; background: #fff; box-shadow: var(--shadow); }
.certificate-card img { width: 100%; max-height: 430px; object-fit: contain; border-radius: 14px; background: #fff; }
.certificate-actions { display: flex; justify-content: center; padding: 14px 0 2px; }
.certificate-card > .btn { margin: 14px auto 2px; }
.note { padding: 16px 18px; border: 1px solid rgba(255,255,255,.13); border-left: 4px solid var(--red-500); border-radius: 12px; color: #c6d5e3; background: rgba(255,255,255,.045); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.gallery-item { position: relative; overflow: hidden; min-height: 280px; border: 1px solid var(--line); border-radius: 20px; background: #08203b; box-shadow: var(--shadow-soft); }
.gallery-item img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; transition: transform .35s ease; }
.gallery-item span { position: absolute; inset: auto 12px 12px; padding: 10px 12px; border-left: 3px solid var(--red-500); border-radius: 10px; color: #fff; background: rgba(3,16,33,.86); font-size: .84rem; font-weight: 900; backdrop-filter: blur(8px); }
.gallery-item:hover img { transform: scale(1.045); }

/* Service page */
.service-hero { position: relative; overflow: hidden; }
.service-hero::after { content: ""; position: absolute; top: 0; right: -12%; width: 48%; height: 100%; background: linear-gradient(135deg, transparent, rgba(226,29,47,.12)); pointer-events: none; }
.saw-card { min-height: 420px; display: grid; place-items: center; padding: 36px; }
.saw-card img { width: min(100%, 470px); max-height: 330px; object-fit: contain; filter: drop-shadow(0 28px 42px rgba(0,0,0,.28)); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; counter-reset: process; }
.process-grid .card { position: relative; padding: 25px; }
.process-grid .card::before { counter-increment: process; content: "0" counter(process); display: block; margin-bottom: 18px; color: #ff6674; font-weight: 900; letter-spacing: .1em; }
.rule { height: 1px; margin: 28px 0; background: var(--line); }

/* Page content */
.page-hero { position: relative; overflow: hidden; padding: 78px 0 70px; border-bottom: 1px solid rgba(255,255,255,.08); background: linear-gradient(135deg, rgba(15,51,89,.76), rgba(4,19,38,.25)); }
.page-hero::after { content: ""; position: absolute; right: -100px; top: -170px; width: 370px; height: 370px; border: 70px solid rgba(226,29,47,.11); border-radius: 50%; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 980px; font-size: clamp(2.45rem, 5vw, 4.75rem); }
.page-hero .lead { max-width: 820px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: #aebfd0; font-size: .83rem; }
.breadcrumb span:not(:last-child)::after { content: "/"; margin-left: 8px; color: #617a92; }
.breadcrumb a:hover { color: #fff; }
.content { max-width: 900px; }
.content h2 { margin-top: 1.15em; font-size: clamp(1.55rem, 3vw, 2.35rem); }
.content h2:first-child { margin-top: 0; }
.content a { color: #9fd4fb; text-decoration: underline; text-underline-offset: 3px; }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.035); }
.faq summary { padding: 18px 20px; cursor: pointer; font-weight: 900; }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* Forms */
.field { display: grid; gap: 8px; }
.field label { color: #dbe7f2; font-size: .84rem; font-weight: 900; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 11px;
  outline: 0;
  color: #fff;
  background: rgba(3,17,34,.74);
  padding: 12px 13px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #6bb1e7; box-shadow: 0 0 0 4px rgba(63,142,208,.16); background: rgba(5,25,49,.92); }
.field select option { color: #fff; background: #0a2443; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px; }
.field-grid .full { grid-column: 1 / -1; }
.form-card { padding: 32px; }
.form-note { margin-top: 16px; color: var(--muted); font-size: .84rem; }
.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 28px; align-items: start; }
.contact-stack { display: grid; gap: 16px; }
.contact-card { padding: 23px; color: var(--muted); }
.contact-card strong { display: block; margin-bottom: 8px; color: #fff; }
.contact-card a { color: #d7e9f8; }
.contact-card a:hover { color: #fff; }

/* Calculator */
.calc-shell { display: grid; gap: 26px; }
.calc-panel, .result-panel { padding: 29px; }
.calc-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.calc-heading h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
.calc-selector-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 17px; margin-bottom: 18px; }
.measure-row { display: grid; grid-template-columns: repeat(4, minmax(150px,1fr)); gap: 15px; align-items: end; }
.calc-warning { margin: 20px 0; padding: 17px 19px; border: 1px solid rgba(255,105,118,.27); border-left: 5px solid var(--red-500); border-radius: 13px; background: rgba(226,29,47,.09); }
.calc-warning strong { display: block; margin-bottom: 4px; color: #fff; }
.calc-warning p { margin: 0; color: #d7e3ee; }
.calc-bottom-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end; }
.calc-result { min-height: 108px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(3,17,34,.62); }
.calc-result-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.calc-result-grid > div { padding: 11px 13px; border-radius: 11px; background: rgba(255,255,255,.05); }
.calc-result-grid span { display: block; color: var(--muted); font-size: .78rem; }
.calc-result-grid strong { display: block; margin-top: 2px; font-size: 1.18rem; }
.calc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.result-panel .section-head { margin-bottom: 20px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.result-table { width: 100%; min-width: 850px; border-collapse: collapse; }
.result-table th, .result-table td { padding: 14px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.result-table th { color: #b9cce0; background: rgba(255,255,255,.045); font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; }
.result-table tbody tr:last-child td { border-bottom: 0; }
.result-table tbody tr:hover { background: rgba(255,255,255,.025); }
.empty-state { padding: 22px; color: var(--muted); text-align: center; }
.icon-btn { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; color: #fff; background: rgba(226,29,47,.16); }
.total-box { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 18px 0; }
.total-item { padding: 17px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.04); }
.total-item span { display: block; color: var(--muted); font-size: .82rem; }
.total-item strong { display: block; margin-top: 3px; font-size: 1.48rem; }

/* Footer */
.site-footer { margin-top: 56px; padding: 68px 0 100px; border-top: 1px solid var(--line); background: #031021; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr .85fr 1.05fr; gap: 38px; }
.footer-brand p { max-width: 430px; margin-top: 20px; color: var(--muted); }
.footer-title { margin-bottom: 15px; color: #fff; font-weight: 900; }
.footer-links { display: grid; gap: 9px; color: #adbed0; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { padding: 7px 11px; border: 1px solid var(--line); border-radius: 9px; color: #fff; background: rgba(255,255,255,.04); }
.footer-social a:hover { border-color: rgba(255,85,101,.40); background: rgba(226,29,47,.10); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line); color: #8198af; font-size: .82rem; }
.mobile-cta { display: none; }

/* Motion */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .58s ease, transform .58s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .main-nav > a, .nav-dropdown > button { padding-inline: 7px; font-size: .82rem; }
  .nav-cta { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .measure-row { grid-template-columns: repeat(3, minmax(145px,1fr)); }
}

@media (max-width: 900px) {
  body { padding-bottom: 72px; }
  .topbar { display: none; }
  .nav-wrap { min-height: 74px; gap: 12px; }
  .logo-wordmark { min-width: 176px; }
  .logo-wordmark img { width: 176px; }
  .nav-toggle { display: grid; place-items: center; order: 3; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 11px; color: #fff; background: rgba(255,255,255,.055); font-size: 1.25rem; }
  .mobile-language { display: grid; place-items: center; order: 2; width: 43px; height: 43px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.05); font-size: 1.2rem; }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    padding: 15px 17px 22px;
    border-bottom: 1px solid var(--line);
    background: #061b34;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: grid; }
  .main-nav > a, .nav-dropdown > button { width: 100%; padding: 13px 12px; text-align: left; font-size: .95rem; }
  .dropdown-menu { position: static; display: none; width: 100%; margin-top: 5px; opacity: 1; visibility: visible; transform: none; box-shadow: none; }
  .nav-dropdown.is-open .dropdown-menu { display: block; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding: 68px 0 120px; }
  .hero-visual { min-height: 520px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .measure-row { grid-template-columns: repeat(2, minmax(145px,1fr)); }
  .mobile-cta { position: fixed; z-index: 120; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3,1fr); min-height: 67px; border-top: 1px solid rgba(255,255,255,.14); background: rgba(3,16,33,.96); backdrop-filter: blur(15px); }
  .mobile-cta a { display: grid; place-items: center; align-content: center; gap: 2px; color: #fff; font-size: .72rem; font-weight: 800; }
  .mobile-cta a:nth-child(2) { background: var(--red-600); }
  .mobile-cta a span:first-child { font-size: 1.08rem; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .section { padding: 66px 0; }
  .section-sm { padding: 44px 0; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.7rem); }
  h2 { font-size: clamp(1.8rem, 8.8vw, 2.65rem); }
  .logo-wordmark { min-width: 151px; }
  .logo-wordmark img { width: 151px; }
  .hero-grid { padding-top: 50px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 430px; }
  .hero-photo { inset: 0 0 48px; border-radius: 22px; }
  .hero-photo > img { height: 37%; }
  .photo-grid { height: 63%; grid-template-columns: repeat(3, minmax(0,1fr)); }
  .photo-grid img { border-radius: 10px; }
  .hero-card { right: 7px; bottom: 12px; width: calc(100% - 32px); }
  .stat-strip { margin-top: -50px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .grid-2, .grid-3, .grid-4, .gallery-grid, .process-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item img { min-height: 330px; }
  .cta-inner { align-items: flex-start; flex-direction: column; padding: 30px 24px; }
  .cta-inner .btn { width: 100%; }
  .visual-panel, .photo-panel { min-height: 320px; }
  .page-hero { padding: 60px 0 55px; }
  .calc-panel, .result-panel, .form-card { padding: 21px; }
  .calc-selector-row, .measure-row, .field-grid, .total-box, .calc-result-grid { grid-template-columns: 1fr; }
  .calc-bottom-row { grid-template-columns: 1fr; }
  .calc-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

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

@media print {
  :root { color-scheme: light; }
  body { padding: 0; color: #111; background: #fff; }
  .topbar, .site-header, .page-hero, .calc-panel, .site-footer, .mobile-cta, .result-panel .section-head, .result-panel > .calc-actions { display: none !important; }
  .section { padding: 0; }
  .result-panel { padding: 0; border: 0; box-shadow: none; background: #fff; }
  .table-wrap { overflow: visible; border-color: #bbb; }
  .result-table { min-width: 0; color: #111; }
  .result-table th, .result-table td { border-color: #ccc; }
  .result-table th { color: #111; background: #eee; }
  .result-table th:last-child, .result-table td:last-child { display: none; }
  .total-item { color: #111; border-color: #bbb; background: #fff; }
  .muted { color: #555; }
}
