/* ============================================================
   OMEGA term — omega-term.com
   Shared stylesheet: design tokens, layout, components
   ============================================================ */

:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --ink: #13273d;
  --muted: #5b6b7d;
  --line: #e3e9f0;

  --navy: #0d2b45;
  --navy-2: #113a5d;
  --navy-3: #16486f;

  --blue: #1c7ed6;
  --blue-soft: #e7f1fb;
  --cool: #4dabf7;

  --heat: #ee6c2b;
  --heat-deep: #b8430f;
  --heat-soft: #fdeee4;

  --ok: #2b8a3e;

  --radius: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 1px 2px rgba(13, 43, 69, 0.06);
  --shadow-md: 0 1px 2px rgba(13, 43, 69, 0.05), 0 14px 34px -18px rgba(13, 43, 69, 0.25);
  --shadow-lg: 0 2px 4px rgba(13, 43, 69, 0.06), 0 24px 48px -20px rgba(13, 43, 69, 0.3);

  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1120px;
}

/* ---------- Reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--heat-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section { padding: 88px 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heat-deep);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 14px;
}

.section-head p { color: var(--muted); font-size: 18px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: linear-gradient(135deg, #c2470f, #a83c0c);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(194, 71, 15, 0.55);
}
.btn--primary:hover { box-shadow: 0 14px 30px -10px rgba(238, 108, 43, 0.65); color: #fff; }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn--outline {
  background: var(--surface);
  color: var(--navy);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }

.btn--whatsapp {
  background: #128c3a;
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(18, 140, 58, 0.5);
}
.btn--whatsapp:hover { color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 34, 56, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}
.logo:hover { text-decoration: none; }
.logo-img {
  display: block;
  height: 60px;
  width: auto;
  max-width: 240px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  color: #e8eef4;
  font-weight: 700;
  font-size: 15.5px;
  white-space: nowrap;
}
.main-nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; text-decoration: none; }
.main-nav a[aria-current="page"] { background: rgba(238, 108, 43, 0.22); color: #ffb787; }

.header-cta { flex: none; }
.header-cta .btn { padding: 11px 20px; font-size: 15px; }

.nav-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: #fff; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  background: linear-gradient(160deg, #0a2238 0%, var(--navy) 45%, #0f3a5e 100%);
  color: #fff;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-mark {
  position: absolute;
  right: -8%;
  bottom: -10%;
  width: min(78vw, 1200px);
  height: auto;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

.hero-inner {
  position: relative;
  padding: 120px 0 128px;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffd9c2;
  background: rgba(238, 108, 43, 0.16);
  border: 1px solid rgba(238, 108, 43, 0.35);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(34px, 5.6vw, 58px);
  margin-bottom: 22px;
}
.hero h1 .accent-heat {
  background: linear-gradient(120deg, #ffb787, var(--heat));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .accent-cool {
  background: linear-gradient(120deg, #a5d8ff, var(--cool));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(17px, 2vw, 20px);
  color: #c6d5e2;
  max-width: 600px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-stats li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 700;
  color: #dbe7f1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 9px 16px;
  border-radius: 999px;
}
.hero-stats svg { width: 16px; height: 16px; stroke: var(--cool); flex: none; }

/* ---------- Offer catalog ---------- */

.offer-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px 56px;
  align-items: end;
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.offer-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 0;
}
.offer-head > p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

.offer-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}

.offer-list { display: grid; }
.offer-list li {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.offer-list li:last-child { border-bottom: 1px solid var(--line); }

.offer-list h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  margin-bottom: 6px;
}
.offer-list h3 svg { width: 20px; height: 20px; flex: none; }
.offer-col--heat h3 svg { stroke: var(--heat-deep); }
.offer-col--cool h3 svg { stroke: var(--blue); }
.offer-list p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- Featured brand cards ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}
.feature-card--viessmann::before { background: linear-gradient(90deg, #e30613, #ff5a4e); }
.feature-card--advansor::before { background: linear-gradient(90deg, #1c7ed6, #4dabf7); }

.feature-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.feature-card--viessmann .feature-tag { background: #fdeaea; color: #c00511; }
.feature-card--advansor .feature-tag { background: var(--blue-soft); color: #1668b0; }

.feature-card h3 { font-size: 26px; margin-bottom: 10px; }
.feature-card > p { color: var(--muted); margin-bottom: 22px; }

.feature-list { margin-bottom: 28px; display: grid; gap: 10px; }
.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink);
}
.feature-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; stroke: var(--ok); }

.feature-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Partner logo carousel ---------- */

.partner-marquee {
  overflow: hidden;
  margin-top: 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.partner-track {
  display: flex;
  width: max-content;
  animation: partner-scroll 42s linear infinite;
}
.partner-marquee:hover .partner-track { animation-play-state: paused; }

.partner-set {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 16px;
}

.partner-logo {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 80px;
  padding: 8px 16px;
}
.partner-logo img {
  max-height: 56px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes partner-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- About / why ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-copy h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 18px; }
.about-copy p { color: var(--muted); font-size: 17px; }

.why-list { display: grid; gap: 16px; }
.why-item {
  display: flex;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.why-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon svg { width: 24px; height: 24px; stroke: var(--blue); }
.why-item h3 { font-size: 17px; margin-bottom: 4px; }
.why-item p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Locations ---------- */

.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.loc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.loc-map { position: relative; aspect-ratio: 16 / 8.5; background: var(--blue-soft); }
.loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.loc-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.loc-body h3 { font-size: 22px; margin-bottom: 2px; }
.loc-body address { font-style: normal; color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.loc-body .btn { align-self: flex-start; margin-top: auto; }

.hours-note {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 26px;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
}
.hours-note svg { width: 20px; height: 20px; stroke: var(--heat-deep); flex: none; }
.hours-note strong { color: var(--navy); }

/* ---------- Contact band ---------- */

.contact-band {
  background: linear-gradient(150deg, #0a2238, var(--navy-2));
  border-radius: 24px;
  color: #fff;
  padding: 56px 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.contact-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 108, 43, 0.35), transparent 70%);
  pointer-events: none;
}

.contact-band h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 10px; }
.contact-band p { color: #c6d5e2; margin: 0; }

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}
.contact-actions .btn { justify-content: center; }

.contact-mail {
  text-align: center;
  color: #a5c0d6;
  font-size: 15px;
}
.contact-mail a { color: #fff; font-weight: 700; }

/* ---------- Footer ---------- */

.site-footer {
  background: #0a1f33;
  color: #b7c8d8;
  padding: 64px 0 0;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo {
  display: inline-block;
  text-decoration: none;
}
.footer-logo:hover { text-decoration: none; }
.footer-logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 220px;
}
.footer-brand p { margin-top: 16px; max-width: 300px; color: #8fa8bd; }

.site-footer h3 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #b7c8d8; }
.footer-links a:hover { color: #fff; }

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.footer-contact svg { width: 18px; height: 18px; stroke: var(--cool); flex: none; margin-top: 3px; }
.footer-contact a { color: #b7c8d8; }
.footer-contact a:hover { color: #fff; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); }
.footer-social svg { width: 20px; height: 20px; fill: #dbe7f1; }
.footer-social svg [fill="none"] { fill: none; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 14px;
  color: #7d97ad;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Subpage hero ---------- */

.page-hero {
  position: relative;
  background: linear-gradient(160deg, #0a2238 0%, var(--navy) 55%, #0f3a5e 100%);
  color: #fff;
  overflow: hidden;
}
.page-hero .hero-art { opacity: 0.75; }
.page-hero .hero-mark { opacity: 0.055; width: min(70vw, 820px); bottom: -22%; }

.page-hero-inner {
  position: relative;
  padding: 88px 0 92px;
  max-width: 760px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #9db5c9;
  margin-bottom: 26px;
}
.breadcrumb a { color: #c6d5e2; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: #5f7f9b; }

.page-hero h1 { font-size: clamp(32px, 5vw, 50px); margin-bottom: 18px; }
.page-hero .hero-lead { margin-bottom: 34px; }

.brand-badge {
  display: inline-block;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.brand-badge--viessmann { background: #e30613; color: #fff; }
.brand-badge--advansor { background: #1971c2; color: #fff; }

/* ---------- Product blocks (Viessmann) ---------- */

.product-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.product-block:last-of-type { border-bottom: 0; }
.product-block--flip .product-visual { order: 2; }

.product-visual {
  background: linear-gradient(150deg, var(--blue-soft), #f2f7fc);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-visual svg { width: 100%; max-width: 320px; height: auto; }

.product-copy .product-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c00511;
  background: #fdeaea;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.product-copy h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.product-copy > p { color: var(--muted); margin-bottom: 20px; }

.spec-list { display: grid; gap: 11px; }
.spec-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15.5px;
}
.spec-list svg { width: 19px; height: 19px; flex: none; margin-top: 3px; stroke: var(--ok); }

.footnote {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Product cards (Advansor) ---------- */

.product-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.product-card .pc-tag {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1668b0;
  background: var(--blue-soft);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.product-card h3 { font-size: 20px; margin-bottom: 8px; }
.product-card p { font-size: 15px; color: var(--muted); margin: 0; }

.product-card--wide { grid-column: span 3; flex-direction: row; gap: 32px; align-items: center; }
.product-card--wide .pc-body { flex: 1; }
.product-card--wide > svg { flex: none; width: 150px; height: auto; }

/* ---------- Info strip ---------- */

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.info-strip .why-item { flex-direction: column; gap: 14px; }

/* ---------- Reveal animation ----------
   Hidden state applies only when the html.js marker is present
   (set by an inline script in <head>), so content stays visible
   without JavaScript. */

html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
  .partner-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .partner-set[aria-hidden="true"] { display: none; }
  .partner-marquee {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: visible;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .product-card-grid, .info-strip { grid-template-columns: repeat(2, 1fr); }
  .offer-head { grid-template-columns: 1fr; gap: 16px; }
  .product-card--wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Nav collapses to the hamburger well before the desktop row can no
   longer fit (logo + 6 links + CTA need ~1010px). The phone CTA stays
   visible beside the hamburger down to 560px. */
@media (max-width: 1080px) {
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #0a2238;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    display: none;
    padding: 12px 24px 20px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { display: block; padding: 13px 16px; font-size: 17px; border-radius: 12px; }
  .nav-toggle { display: flex; }
}

@media (max-width: 860px) {
  .feature-grid, .loc-grid { grid-template-columns: 1fr; }
  .product-block { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .product-block--flip .product-visual { order: 0; }
  .contact-band { grid-template-columns: 1fr; padding: 40px 32px; }
  .hero-inner { padding: 88px 0 96px; }
  .hero-mark { width: min(96vw, 720px); right: -18%; bottom: -14%; opacity: 0.06; }
  .offer-board { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 36px); }
  .section { padding: 64px 0; }
  .header-cta { display: none; }
  .product-card-grid, .info-strip { grid-template-columns: 1fr; }
  .logo-img { height: 55px; }
  .product-card--wide { grid-column: span 1; flex-direction: column; align-items: stretch; }
  .product-card--wide > svg { width: 120px; align-self: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}
