:root {
  --navy: #053f57;
  --ink: #243038;
  --text: #3a454c;
  --muted: #5c6970;
  --line: #d9e2e8;
  --paper: #f3f6f8;
  --white: #ffffff;
  --blue: #0e4f7a;
  --blue-bright: #3795f3;
  --footer: #252e3e;
  --footer-text: #c5d4e0;
  --focus: #3795f3;
  --shadow: 0 16px 40px rgba(5, 63, 87, 0.12);
  --radius: 14px;
  --wrap: 1120px;
  --header: 78px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

body.has-dock { padding-bottom: 0; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-underline-offset: 0.16em; }

a:hover { color: var(--navy); }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3.15rem); letter-spacing: -0.03em; }

h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.02em; }

h3 { font-size: 1.15rem; }

p { margin-bottom: 0.9rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--white);
  color: var(--navy);
  padding: 0.5rem 0.8rem;
  z-index: 100;
  border-radius: 8px;
}

.skip:focus { top: 0.75rem; }

.brand-line {
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--blue-bright));
}

.topbar {
  background: var(--navy);
  color: #d5e7f2;
  font-size: 0.92rem;
}

.topbar-inner,
.header-inner,
.footer-base {
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
}

.topbar a { color: #fff; text-decoration: none; font-weight: 650; }

.topbar a:hover { color: #b9e2fb; }

.topbar-place { margin-left: auto; color: #b7cdd9; font-weight: 500; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header);
  position: relative;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; text-decoration: none; }

.logo img { width: 196px; height: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.98rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue);
  background: #e8f3fb;
}

.nav-shop {
  background: var(--blue) !important;
  color: #fff !important;
  margin-left: 0.35rem;
}

.nav-shop:hover { background: var(--navy) !important; color: #fff !important; }

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.nav-burger .close { display: none; }

.nav-toggle:checked + .nav-burger .open { display: none; }
.nav-toggle:checked + .nav-burger .close { display: inline; }
.nav-toggle:focus-visible + .nav-burger,
.nav-burger:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) 1.15fr;
  min-height: 560px;
  background: var(--navy);
}

.hero-copy {
  color: #e7f2f8;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1,
.hero-copy p { color: inherit; }

.hero-copy .kicker { color: #8ecdf5; }

.kicker {
  margin: 0 0 0.8rem;
  color: #8ecdf5;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy .lead {
  font-size: 1.12rem;
  max-width: 38rem;
  color: #d5e6f0;
}

.hero-actions,
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.4rem; }

.hero-photo { position: relative; min-height: 320px; background: #16384a; }

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--blue-bright);
  color: #062033;
  font-weight: 750;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover { background: #8ec9f8; color: #062033; }

.btn-dark {
  background: var(--blue);
  color: #fff;
}

.btn-dark:hover { background: var(--navy); color: #fff; }

.btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.btn-line {
  background: #fff;
  color: var(--blue);
  box-shadow: inset 0 0 0 1.5px var(--blue);
}

.btn-line:hover { background: #e8f3fb; color: var(--navy); }

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.trust article {
  padding: 1.15rem 1.2rem;
  border-right: 1px solid var(--line);
}

.trust article:last-child { border-right: 0; }

.trust strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
}

.trust span { color: var(--muted); font-size: 0.92rem; }

.section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.4rem;
}

.section-head p { margin: 0.35rem 0 0; max-width: 42rem; color: var(--muted); }

.finder {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
}

.finder label {
  grid-column: 1 / -1;
  font-weight: 750;
  color: var(--ink);
}

.finder input[type="search"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid #c5d2db;
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.85rem; }

.chips a,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
}

.chips a:hover,
.tag:hover { border-color: var(--blue-bright); color: var(--blue); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

a.card:hover { border-color: #9ec4de; box-shadow: var(--shadow); color: inherit; }

.card img { width: 100%; aspect-ratio: 390 / 285; object-fit: cover; }

.card div,
.pad { padding: 1rem 1.05rem 1.15rem; }

.card h3 { margin-bottom: 0.35rem; }

.card p { margin: 0; color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; align-items: center; }

.grid-engines,
.grid-products,
.grid-steps,
.quote-grid,
.footer-grid,
.split {
  display: grid;
  gap: 0.8rem;
}

.grid-engines { grid-template-columns: repeat(4, 1fr); }

.engine,
.product,
.step,
.quote,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.engine,
.step,
.panel { padding: 1rem 1.05rem; }

.engine {
  text-decoration: none;
  color: inherit;
  display: block;
}

.engine:hover { border-color: #9ec4de; color: inherit; }

.engine b,
.product b { display: block; color: var(--ink); }

.engine span,
.product span,
.step span { color: var(--muted); font-size: 0.94rem; }

.grid-products { grid-template-columns: repeat(3, 1fr); }

.product { overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; }

.product:hover { border-color: #9ec4de; color: inherit; }

.product .ph {
  background: #f7f8f9;
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 0.6rem;
}

.product img { width: auto; max-height: 190px; margin: 0 auto; }

.product div { padding: 0.9rem 1rem 1rem; }

.grid-steps { grid-template-columns: repeat(3, 1fr); }

.step em {
  display: block;
  font-style: normal;
  color: var(--blue-bright);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.note {
  background: #eef6fb;
  border-left: 4px solid var(--blue-bright);
  padding: 0.9rem 1rem;
  border-radius: 0 12px 12px 0;
  color: var(--ink);
}

.quote-grid { grid-template-columns: 1fr 1fr; }

.quote { padding: 1.1rem 1.15rem; margin: 0; }

.quote p { margin-bottom: 0.7rem; }

.quote footer { color: var(--muted); font-size: 0.92rem; }

.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 1.6rem 0 1.7rem; }

.crumbs { font-size: 0.92rem; margin-bottom: 0.7rem; color: var(--muted); }

.crumbs a { text-decoration: none; font-weight: 650; }

.lead { font-size: 1.12rem; max-width: 46rem; color: var(--text); }

.split { grid-template-columns: 1.15fr 0.85fr; align-items: start; }

.list { margin: 0; padding-left: 1.15rem; }

.list li { margin: 0.35rem 0; }

.list a { font-weight: 650; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 750;
  color: var(--ink);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.faq summary:hover { color: var(--blue); }

.faq details p,
.faq details ul { margin: 0.4rem 0 0.6rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.2rem;
}

.contact-card a { font-weight: 750; }

form.stack { display: grid; gap: 0.75rem; }

label span { display: block; font-weight: 700; color: var(--ink); margin-bottom: 0.25rem; }

input, textarea, select {
  width: 100%;
  border: 1px solid #c5d2db;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea { min-height: 140px; resize: vertical; }

.map {
  border: 0;
  width: 100%;
  height: 280px;
  border-radius: var(--radius);
  background: var(--paper);
}

.site-footer {
  background: var(--footer);
  color: var(--footer-text);
  padding-top: 2.4rem;
}

.site-footer h2 {
  color: #9eb6ef;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer a { color: #8fd4ea; text-decoration: none; }

.site-footer a:hover { color: #fff; }

.footer-grid { grid-template-columns: 1.3fr 0.8fr 1fr 1fr; padding-bottom: 1.5rem; }

.footer-logo {
  background: #fff;
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  width: 180px;
  margin-bottom: 0.8rem;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer li { margin: 0.28rem 0; }

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  justify-content: space-between;
  padding: 0.9rem 0 1.1rem;
  font-size: 0.92rem;
}

.dock {
  display: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .nav-burger { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.5rem;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav a { border-radius: 10px; }
  .nav-shop { margin: 0.25rem 0 0; text-align: center; }
  .hero, .trust, .cards, .grid-2, .grid-engines, .grid-products, .grid-steps, .quote-grid, .split, .contact-grid, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero { display: flex; flex-direction: column; }
  .hero-photo { order: -1; min-height: 0; position: relative; }
  .hero-photo img { position: static; width: 100%; height: 210px; object-fit: cover; object-position: center 62%; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust article:nth-child(odd) { border-right: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .topbar-place, .topbar a:nth-child(3) { display: none; }
  .topbar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.2rem 0.75rem;
    padding: 0.4rem 0;
  }
  .topbar a { white-space: nowrap; font-size: 0.84rem; }
  .hero-copy { padding: 1.2rem 1rem 1rem; }
  .hero-copy .lead { font-size: 1.02rem; }
  .hero-photo img { height: 176px; }
  .cards, .grid-2, .grid-engines, .grid-products, .grid-steps, .quote-grid, .split, .contact-grid, .footer-grid, .trust, .finder {
    grid-template-columns: 1fr;
  }
  .trust article { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-head { flex-direction: column; align-items: start; }
  .finder button { width: 100%; }
  body.has-dock { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .dock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: var(--navy);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .dock a {
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-weight: 750;
    min-height: 54px;
    display: grid;
    place-items: center;
  }
  .dock a + a { background: var(--blue-bright); color: #062033; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .topbar, .site-header, .dock, .hero-actions, .finder, .nav-burger { display: none !important; }
  .hero { display: block; background: #fff; color: #000; }
  .hero-copy { color: #000; padding: 0; }
  .hero-photo { display: none; }
  a { color: #000; }
}
