:root {
  --bg: #ffffff;
  --bg-muted: #f4f4f4;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --hero: #101010;
  --hero-text: #cfcfcf;
  --orange: #ff8c42;
  --orange-dark: #ef7628;
  --green: #1ebe5d;
  --green-dark: #14984a;
  --header-h: 76px;
  --radius: 8px;
  --max: 1160px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

img { max-width: 100%; }

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.4rem, 5vw, 3.5rem); font-weight: 700; }

h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.6rem; }

h3 { font-size: 1.2rem; margin-bottom: 0.45rem; }

p { color: var(--muted); }

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

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.eyebrow {
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.section { padding: 88px 0; }

section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.section-muted { background: var(--bg-muted); }

.section-dark {
  background: var(--hero);
  color: #fff;
}

.section-dark p { color: #c8c8c8; }

.section-dark .eyebrow { color: var(--orange); }

.section-head {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-head p:last-child { margin-bottom: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.btn svg { width: 18px; height: 18px; fill: currentColor; }

.btn:hover { transform: translateY(-1px); }

.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); }

.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }

.btn-dark { background: #161616; color: #fff; }
.btn-dark:hover { background: #000; }

.btn-ghost {
  border-color: #ddd;
  background: #fff;
  color: var(--ink);
}

.btn-ghost:hover { border-color: #bbb; }

.btn-line {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-line:hover { background: rgba(255, 255, 255, 0.08); }

.text-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 14px;
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 3px;
}

.text-link:hover { color: var(--orange-dark); }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid transparent;
}

.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

.brand-mark {
  width: 34px;
  height: 28px;
  display: grid;
  grid-template-columns: 8px 8px 10px;
  gap: 3px;
  align-items: end;
}

.brand-mark span {
  display: block;
  background: #161616;
}

.brand-mark span:nth-child(1) { height: 16px; }
.brand-mark span:nth-child(2) { height: 24px; background: var(--orange); }
.brand-mark span:nth-child(3) { height: 12px; background: #8a8a8a; }

.brand-name {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  color: #4a4a4a;
  font-size: 0.96rem;
}

.nav a:hover { color: #111; }

.header-actions {
  display: flex;
  gap: 10px;
}

.header-actions .btn { min-height: 42px; padding-inline: 14px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #111;
  position: relative;
  margin: 0 auto;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.hero {
  background:
    radial-gradient(900px 420px at 80% 20%, rgba(255, 140, 66, 0.16), transparent 60%),
    var(--hero);
  color: #fff;
  padding: 72px 0 80px;
}

.hero p { color: var(--hero-text); font-size: 1.05rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-actions, .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.carousel {
  position: relative;
  background: #fff;
  border-radius: 22px;
  min-height: 420px;
  overflow: hidden;
}

.slide { display: none; height: 420px; }
.slide.is-active { display: block; }

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
}

.carousel-nav svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  padding: 0;
  cursor: pointer;
}

.dot.is-active { background: var(--orange); }

.media {
  position: relative;
  background: #f3f3f3;
  height: 100%;
  min-height: 180px;
  display: grid;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.media-hero { height: 420px; }

.media-about { min-height: 360px; border-radius: 18px; overflow: hidden; }

.media-fallback {
  display: none;
  margin: 0;
  min-height: inherit;
  padding: 24px;
  place-items: center;
  text-align: center;
  align-content: center;
  gap: 6px;
  color: #777;
  background:
    linear-gradient(#ececec, #ececec) 50% 42% / 72px 2px no-repeat,
    linear-gradient(#ececec, #ececec) 50% 42% / 2px 72px no-repeat,
    #f7f7f7;
}

.media.is-empty img { display: none; }
.media.is-empty .media-fallback { display: grid; }

.media-fallback strong { color: #444; font-size: 0.95rem; }
.media-fallback span { font-size: 0.82rem; }

.trust {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trust-row p {
  margin: 0;
  padding: 22px 0;
  color: #333;
  font-weight: 600;
  font-size: 0.95rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.about .btn { margin-top: 8px; }

.cards, .model-grid, .advantage-grid, .diff-grid {
  display: grid;
  gap: 18px;
}

.cards, .model-grid { grid-template-columns: repeat(2, 1fr); }
.advantage-grid, .diff-grid { grid-template-columns: repeat(3, 1fr); }

.card, .advantage-grid article, .model-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.section-muted .card,
.section-muted .advantage-grid article { box-shadow: var(--shadow); }

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.section-muted .card-lead {
  background: #161616;
  color: #fff;
  border-color: #161616;
  box-shadow: none;
}

.card-lead p,
.card-lead li { color: #d5d5d5; }

.card-lead .text-link { color: #fff; }

.card-lead .text-link:hover { color: var(--orange); }

.aside-note {
  margin: 22px 0 0;
  color: #444;
}

.aside-note a {
  font-weight: 700;
  color: var(--ink);
}

.card ul, .faq-panel p { margin: 0; padding: 0; }

.card ul {
  list-style: none;
  margin-top: 8px;
}

.card li {
  position: relative;
  padding: 7px 0 7px 18px;
  color: #333;
}

.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.model-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.model-card .media { min-height: 220px; background: #fafafa; }

.model-body {
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.model-body .btn { margin-top: auto; align-self: flex-start; }

.advantage-grid article p,
.diff-grid article p { margin-bottom: 0; }

.client-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.media-logo {
  min-height: 96px;
  border: 1px dashed #ddd;
  border-radius: 12px;
  background: #fff;
}

.media-logo .media-fallback {
  background: #fafafa;
  min-height: 96px;
  padding: 12px;
}

.media-logo .media-fallback span { word-break: break-all; }

.diff-grid article {
  padding: 8px 8px 8px 0;
}

.faq-wrap { max-width: 860px; }

.faq-item + .faq-item { border-top: 1px solid var(--line); }

.faq-item button {
  scroll-margin-top: calc(var(--header-h) + 12px);
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 0;
  font-weight: 700;
  cursor: pointer;
}

.faq-item button span {
  width: 12px;
  height: 12px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg) translateY(-3px);
  flex: none;
}

.faq-item button[aria-expanded="true"] span {
  transform: rotate(225deg) translateY(-3px);
}

.faq-panel { padding: 0 0 18px; }
.faq-panel p { margin: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  align-items: start;
}

.contact-card, .quote-form {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-card { background: #161616; color: #fff; }
.contact-card p { color: #cfcfcf; }

.contact-line {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-line span {
  color: #aaa;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-line strong { font-size: 1.35rem; color: #fff; }

.hours { margin: 16px 0 0; }

.fields-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }

.field label { font-weight: 700; font-size: 0.92rem; }

.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 12px;
  background: #fff;
}

.field textarea { resize: vertical; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid rgba(255, 140, 66, 0.45);
  border-color: var(--orange);
}

.form-status { min-height: 1.2em; margin: 12px 0 0; }

.quote-form .btn-ghost { border-color: #ddd; }

.footer {
  background: #0d0d0d;
  color: #ddd;
  padding-top: 48px;
}

.footer p { color: #bdbdbd; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 28px;
  padding-bottom: 28px;
}

.footer-brand { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }

.footer nav, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer a { text-decoration: none; color: #ddd; }
.footer a:hover { color: #fff; }

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 22px;
}

.footer-base p { margin: 0; font-size: 0.9rem; }

.float-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 25;
}

.float-actions a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.float-actions svg { width: 28px; height: 28px; fill: #fff; }

.float-wa { background: var(--green); }
.float-call { background: #161616; }

.dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 26;
  grid-template-columns: 1fr 1.4fr;
  background: #fff;
  border-top: 1px solid var(--line);
}

.dock a {
  display: grid;
  place-items: center;
  min-height: 58px;
  text-decoration: none;
  font-weight: 800;
}

.dock a:first-child { color: #111; }
.dock a:last-child { background: var(--green); color: #fff; }

.config-error {
  margin: 0;
  padding: 12px 16px;
  background: #7a1d1d;
  color: #fff;
  text-align: center;
}

@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards, .advantage-grid, .diff-grid { grid-template-columns: 1fr 1fr; }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .header-actions { display: none; }
  .carousel, .slide, .media-hero { min-height: 300px; height: 300px; }
  .slide { height: 300px; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }

  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #f2f2f2; }

  .cards, .model-grid, .advantage-grid, .diff-grid, .fields-2, .trust-row {
    grid-template-columns: 1fr;
  }

  .client-grid { grid-template-columns: 1fr 1fr; }
  .float-actions { display: none; }
  .dock { display: grid; }
  body { padding-bottom: 58px; }
  .hero { padding-top: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
