:root {
  --ink: #17191c;
  --muted: #666b70;
  --line: #dfe2e4;
  --paper: #ffffff;
  --soft: #f5f5f2;
  --brand: #174f7f;
  --brand-dark: #103a5f;
  --dark: #111820;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

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

.section { padding: 96px 0; }
.section-muted { background: var(--soft); }
.section-dark { background: var(--dark); color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 225px; }

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
}
.desktop-nav a,
.header-call,
.footer-links a,
.contact-direct a,
.text-link {
  text-decoration: none;
}
.desktop-nav a { color: #45494d; }
.desktop-nav a:hover,
.header-call:hover,
.footer-links a:hover,
.contact-direct a:hover,
.text-link:hover { color: var(--brand); }

.header-call {
  direction: ltr;
  font-weight: 700;
  color: var(--brand);
  border-bottom: 1px solid currentColor;
}

.hero {
  padding-top: 110px;
  padding-bottom: 105px;
  min-height: 670px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: 90px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 800;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.28;
  letter-spacing: -.02em;
}
h3 { margin-bottom: 8px; font-size: 22px; }

.hero-lead {
  max-width: 720px;
  margin-bottom: 32px;
  color: #4f555a;
  font-size: 19px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-secondary { border-color: #b8bdc1; background: #fff; color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); }

.audience { margin: 22px 0 0; color: #777c81; font-size: 13px; }

.hero-spec {
  border-inline-start: 1px solid #c7cbce;
  padding-inline-start: 44px;
}
.spec-kicker { margin-bottom: 20px; color: #72777b; font-size: 13px; }
.hero-spec ol { list-style: none; padding: 0; margin: 0; }
.hero-spec li {
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: baseline;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.hero-spec li:first-child { border-top: 1px solid var(--line); }
.hero-spec li span { direction: ltr; color: #94999d; font-size: 12px; }
.hero-spec li strong { font-size: 31px; font-weight: 700; }
.spec-note { margin: 20px 0 0; color: var(--brand); font-size: 13px; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-grid span {
  padding: 20px 18px;
  text-align: center;
  border-inline-start: 1px solid var(--line);
  font-size: 13px;
  color: #4f5458;
}
.trust-grid span:last-child { border-inline-end: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head > p:not(.eyebrow) { color: var(--muted); max-width: 670px; }
.section-head.compact { margin-bottom: 0; }
.section-head.light .eyebrow { color: #8db4d4; }
.section-head.light > p:not(.eyebrow) { color: #bac3ca; }

.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.service-row p { margin: 0; max-width: 760px; color: var(--muted); }
.row-number { direction: ltr; color: #9da2a5; font-size: 13px; padding-top: 6px; }

.types-layout,
.why-layout,
.faq-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 110px;
  align-items: start;
}
.type-lines { border-top: 1px solid #cdd0d2; }
.type-line {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
  padding: 27px 0;
  border-bottom: 1px solid #cdd0d2;
}
.type-line strong { font-size: 22px; }
.type-line span { color: var(--muted); }

.brands-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: end;
}
.brand-names {
  direction: ltr;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 28px;
  color: #565b5f;
  font-weight: 700;
  letter-spacing: .08em;
  font-size: 17px;
}
.brand-names span { padding-bottom: 5px; border-bottom: 1px solid #c8cbcd; }

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.project-list { border-top: 1px solid #35414b; }
.project-list span {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid #35414b;
  color: #e8ecef;
}
.text-link { display: inline-block; margin-top: 16px; color: #fff; border-bottom: 1px solid #7d8b96; }

.why-points { border-top: 1px solid var(--line); }
.why-points p {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.why-points strong { color: var(--ink); }

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 100px;
  align-items: start;
}
.contact-copy h2 { max-width: 520px; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); }
.contact-direct { display: grid; gap: 8px; margin-top: 30px; }
.contact-direct a { width: max-content; color: var(--brand); border-bottom: 1px solid #aebdcc; }

.lead-form { border-top: 3px solid var(--brand); padding-top: 30px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 700; }
.field label span { color: #909599; font-size: 12px; font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #c9ced1;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(23,79,127,.08); }
.split-field { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; border: 0; }
.form-note { margin: 12px 0 0; color: #7f8589; font-size: 12px; }
.form-note.is-error { color: #8c2d2d; }
.form-note.is-success { color: var(--brand); }

.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  position: relative;
  padding: 21px 0 21px 38px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  left: 3px;
  top: 18px;
  color: #777;
  font-size: 22px;
  font-weight: 400;
}
details[open] summary::after { content: "−"; }
details p { margin: -5px 0 22px; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding: 42px 0 90px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }
.site-footer p { margin: 6px 0 0; color: #777c80; font-size: 13px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; }

.mobile-bar { display: none; }

.simple-page { min-height: 70vh; padding: 80px 0; }
.simple-page .content { max-width: 760px; }
.simple-page h1 { font-size: clamp(36px, 5vw, 58px); }
.simple-page h2 { margin-top: 40px; font-size: 24px; }
.simple-page p, .simple-page li { color: var(--muted); }

@media (max-width: 920px) {
  .section { padding: 72px 0; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 72px; }
  .brand img { width: 190px; }
  .desktop-nav { display: none; }
  .hero { min-height: auto; padding: 78px 0 72px; }
  .hero-grid,
  .types-layout,
  .why-layout,
  .faq-layout,
  .projects-grid,
  .brands-section,
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { order: 1; }
  .hero-spec { order: 2; border-inline-start: 0; border-top: 1px solid var(--line); padding: 26px 0 0; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid span { border-bottom: 1px solid var(--line); }
  .brand-names { justify-content: flex-start; }
  .section-head.compact { max-width: 680px; }
}

@media (max-width: 620px) {
  body { padding-bottom: 58px; }
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .site-header { position: static; }
  .header-inner { min-height: 68px; }
  .brand img { width: 164px; }
  .header-call { font-size: 13px; }
  .hero { padding: 58px 0 54px; }
  h1 { font-size: 40px; }
  h2 { font-size: 31px; }
  .hero-lead { font-size: 17px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-spec li strong { font-size: 26px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid span { border-inline: 0; }
  .service-row { grid-template-columns: 42px 1fr; gap: 14px; padding: 27px 0; }
  .type-line { grid-template-columns: 1fr; gap: 4px; }
  .brand-names { gap: 12px 20px; font-size: 15px; }
  .split-field { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { display: grid; }
  .footer-links { display: grid; gap: 8px; }
  .site-footer { padding-bottom: 40px; }
  .mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-top: 1px solid #bfc4c7;
  }
  .mobile-bar a {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
  }
  .mobile-bar a + a { background: var(--brand); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
