
:root {
  --ink: #111b18;
  --muted: #5f6f69;
  --line: #cddbd6;
  --panel: #fffefa;
  --paper: #fff7e8;
  --soft: #e5f3ee;
  --accent: #0e786b;
  --accent-dark: #064b42;
  --signal: #e35238;
  --sun: #f1b94a;
  --shadow: 0 20px 56px rgba(15, 32, 28, .1);
  --radius: 16px;
  --font-body: "Trebuchet MS", "Segoe UI", sans-serif;
  --font-display: "Arial Narrow", "Trebuchet MS", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(244, 184, 74, .18), transparent 28%),
    linear-gradient(90deg, rgba(15,127,110,.055) 1px, transparent 1px),
    linear-gradient(180deg, #fffaf0 0%, #f8fcf9 42%, #ffffff 100%);
  background-size: auto, 34px 34px, auto;
}
a { color: inherit; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(227, 82, 56, .78);
  outline-offset: 3px;
}
.skipLink {
  position: absolute; left: 12px; top: 12px; z-index: 100;
  transform: translateY(-140%); background: var(--ink); color: white;
  padding: 10px 12px; border-radius: 8px; font-weight: 900;
}
.skipLink:focus { transform: translateY(0); }
.srOnly {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.topbar { border-bottom: 1px solid var(--line); background: rgba(255,253,247,.92); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); }
.nav { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--font-display); font-weight: 900; text-decoration: none; font-size: 20px; letter-spacing: -.03em; }
.brand:before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: linear-gradient(135deg, var(--signal), var(--sun)); box-shadow: 0 0 0 5px rgba(227,82,56,.1); }
.navlinks { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.navlinks a { color: var(--muted); text-decoration: none; font-weight: 800; font-size: 14px; }
.hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 42px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 12%, rgba(244,184,74,.42), transparent 26%),
    radial-gradient(circle at 90% 85%, rgba(15,127,110,.26), transparent 32%),
    linear-gradient(135deg, rgba(255,247,232,.96) 0%, rgba(229,243,238,.9) 48%, rgba(255,255,255,.96) 100%);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(17,27,24,.055) 0 1px, transparent 1px 15px),
    linear-gradient(90deg, rgba(15,127,110,.05) 1px, transparent 1px);
  background-size: 18px 18px, 92px 92px;
  pointer-events: none;
}
.heroInner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .72fr); gap: 28px; align-items: center; }
.heroCopy { min-height: 452px; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { display: inline-flex; width: fit-content; align-items: center; gap: 8px; color: var(--accent-dark); background: rgba(255,255,255,.74); border: 1px solid var(--line); border-radius: 999px; padding: 8px 11px; font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.eyebrow:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(227,82,56,.12); }
h1 { font-family: var(--font-display); font-size: clamp(38px, 5.4vw, 72px); line-height: .94; letter-spacing: -.055em; margin: 14px 0 18px; max-width: 920px; overflow-wrap: anywhere; }
h2 { font-family: var(--font-display); font-size: clamp(27px, 3vw, 34px); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 18px; }
h3 { font-size: 18px; margin: 0 0 8px; }
p { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 780px; }
.hero p { color: #34413e; font-weight: 700; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 19px; border-radius: 12px;
  background: var(--accent); color: white; text-decoration: none; font-weight: 900; border: 0;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.14), 0 10px 22px rgba(15,32,28,.12);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn.secondary { background: #ffffff; color: var(--ink); border: 1px solid var(--line); }
.btn.signal { background: var(--signal); }
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 -2px 0 rgba(0,0,0,.15), 0 14px 28px rgba(15,32,28,.16); }
.statusRail {
  width: min(760px, 100%);
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  box-shadow: 0 14px 34px rgba(15,32,28,.08);
}
.statusRail span { padding: 14px 13px; border-right: 1px solid var(--line); color: #273a35; font-weight: 900; line-height: 1.18; }
.statusRail span:last-child { border-right: 0; }
.statusRail b { display: block; margin-bottom: 5px; color: var(--signal); font-size: 11px; letter-spacing: .16em; }
.section { padding: 40px 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 19px; min-height: 100%; box-shadow: var(--shadow); }
.card:before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--accent), var(--sun)); }
.cardIcon { width: 42px; height: 42px; display: block; margin-bottom: 12px; }
.metric { font-size: 35px; font-weight: 900; color: var(--signal); }
.label { color: var(--muted); font-size: 14px; margin-top: 4px; }
.form { position: relative; overflow: hidden; background: linear-gradient(160deg, #122722 0%, #0d1816 100%); color: white; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 22px; box-shadow: 0 24px 70px rgba(19,35,31,.24); }
.form:before { content: "ЗАЯВКА / 2 МИН"; position: absolute; right: 18px; top: 16px; color: rgba(255,255,255,.18); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.form h2 { padding-right: 118px; }
.form p { color: #d7e6e2; font-size: 15px; }
.field { width: 100%; min-height: 46px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); padding: 0 12px; margin-bottom: 10px; font: inherit; color: var(--ink); background: rgba(255,255,255,.96); }
.field.text { min-height: 92px; padding-top: 12px; resize: vertical; }
.fine { font-size: 12px; color: #b7cbc5; margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 8px 10px; border-radius: 999px; background: var(--soft); color: #214f47; border: 1px solid rgba(15,127,110,.13); font-weight: 800; font-size: 14px; line-height: 1.15; }
.models { max-height: 210px; overflow: auto; padding-right: 4px; }
.priceTable, .table { width: 100%; table-layout: fixed; border-collapse: collapse; background: white; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.priceTable th, .priceTable td, .table th, .table td { text-align: left; padding: 13px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th, .table td { overflow-wrap: anywhere; }
.priceTable th, .table th { background: #10231f; color: white; font-size: 14px; }
.cityGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cityCard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 19px; box-shadow: var(--shadow); }
.cityCard h3 { font-size: 22px; }
.serviceTags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.serviceTags .chip { background: #fff7e2; color: #6f4b00; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 17px; box-shadow: var(--shadow); }
.step:before { counter-increment: step; content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--sun); font-weight: 900; margin-bottom: 12px; }
.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.link { padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: white; font-weight: 800; box-shadow: 0 10px 24px rgba(15,32,28,.06); }
.faq details { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; box-shadow: 0 10px 24px rgba(15,32,28,.06); }
.faq summary { cursor: pointer; font-weight: 900; }
.faq p { font-size: 16px; margin-bottom: 0; }
.prose { max-width: 860px; }
.prose h1 { max-width: 900px; }
.prose h2 { margin-top: 34px; }
.prose p { max-width: 860px; }
.proseList { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.proseList li { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.articleHero { background: linear-gradient(135deg, rgba(15,127,110,.12), rgba(244,184,74,.18)); border-bottom: 1px solid var(--line); padding: 42px 0; }
.articleLinks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.articleLink { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-decoration: none; min-height: 100%; box-shadow: 0 10px 24px rgba(15,32,28,.06); }
.articleLink strong { display: block; margin-bottom: 8px; font-size: 17px; }
.articleLink span { color: var(--muted); line-height: 1.4; }
.answerBox { background: linear-gradient(135deg, #fff7e2, #fffdf6); border: 1px solid #efdb9a; border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.answerBox h2 { margin-bottom: 10px; }
.byline { color: var(--muted); font-size: 14px; font-weight: 800; margin: 10px 0 0; }
.footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); background: white; }
.mobileCta { display: none; }
.floatActions {
  position: fixed; right: 18px; bottom: 18px; z-index: 35;
  display: grid; gap: 10px;
}
.floatBtn {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none; border: 0;
  color: white; font-size: 25px; font-weight: 900; cursor: pointer;
  box-shadow: 0 14px 34px rgba(19,35,31,.2);
  transition: transform .18s ease, box-shadow .18s ease;
}
.floatBtn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 18px 42px rgba(19,35,31,.24); }
.floatBtn svg { width: 29px; height: 29px; display: block; fill: currentColor; }
.floatBtn.telegram { background: #229ed9; }
.floatBtn.request { background: var(--signal); }
.modalOverlay {
  position: fixed; inset: 0; z-index: 60;
  display: none; align-items: center; justify-content: center;
  padding: 18px; background: rgba(10,18,16,.72);
}
.modalOverlay.isOpen { display: flex; }
.modal { 
  width: min(760px, 100%); max-height: min(90vh, 760px); overflow: auto;
  background: white; border-radius: 20px; box-shadow: 0 30px 90px rgba(0,0,0,.3);
}
.modalHead {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.modalHead h2 { margin: 0; }
.modalClose {
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--soft); color: var(--ink); font-size: 26px; cursor: pointer;
}
.modalBody { display: grid; grid-template-columns: 1fr .9fr; gap: 20px; padding: 20px; }
.modalBody .form { box-shadow: none; }
.callBox { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fbfdfb; }
.callBox .phoneBig { display: inline-flex; margin: 10px 0; font-size: 24px; font-weight: 900; text-decoration: none; }
@media (max-width: 1180px) {
  .floatActions { display: none; }
}
@media (max-width: 860px) {
  body { padding-bottom: 0; }
  .wrap { width: min(100% - 22px, 1120px); }
  .topbar { position: static; }
  .nav { align-items: stretch; flex-direction: column; padding: 12px 0; gap: 10px; }
  .brand { font-size: 20px; }
  .navlinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .navlinks a { display: flex; align-items: center; justify-content: center; min-height: 44px; text-align: center; background: white; border: 1px solid var(--line); border-radius: 10px; padding: 10px 8px; }
  .navlinks .btn { grid-column: 1 / -1; }
  .hero { padding: 28px 0 24px; background-position: 58% center; }
  .heroInner, .grid, .grid.two, .steps, .links, .cityGrid, .articleLinks { grid-template-columns: 1fr; }
  .heroCopy { min-height: auto; }
  h1 { font-size: clamp(34px, 11vw, 46px); line-height: 1; }
  h2 { font-size: 25px; }
  p { font-size: 16px; }
  .section { padding: 28px 0; }
  .actions { flex-direction: column; }
  .btn { width: 100%; min-height: 52px; }
  .statusRail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statusRail span { border-top: 1px solid var(--line); }
  .statusRail span:nth-child(-n+2) { border-top: 0; }
  .statusRail span:nth-child(even) { border-right: 0; }
  .form { padding: 16px; border-radius: 12px; }
  .form:before { display: none; }
  .form h2 { padding-right: 0; }
  .metric { font-size: 28px; overflow-wrap: anywhere; }
  .card, .cityCard, .step { border-radius: 12px; padding: 16px; }
  .chips { gap: 7px; }
  .chip { max-width: 100%; white-space: normal; }
  .models { max-height: 168px; }
  .priceTable { display: block; overflow-x: auto; white-space: nowrap; }
  .table th, .table td { padding: 10px; font-size: 14px; }
  .footer { padding-bottom: 22px; }
  .floatBtn { width: 52px; height: 52px; font-size: 22px; }
  .modalBody { grid-template-columns: 1fr; padding: 14px; }
  .modalHead { padding: 14px; }
  .mobileCta { display: none; }
  .mobileCta .btn { min-height: 48px; padding: 0 10px; font-size: 14px; }
}
@media (max-width: 420px) {
  .navlinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .navlinks .btn { grid-column: 1 / -1; }
  h1 { font-size: 34px; }
  .hero p { font-size: 15px; }
  .mobileCta { grid-template-columns: 1fr; }
  .floatActions { bottom: 142px; }
}
@media (prefers-reduced-motion: no-preference) {
  .heroCopy, .hero .form, .statusRail {
    animation: riseIn .62s cubic-bezier(.2,.8,.2,1) both;
  }
  .hero .form { animation-delay: .07s; }
  .statusRail { animation-delay: .13s; }
  @keyframes riseIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
