:root {
  color-scheme: light;
  --ink: #102234;
  --muted: #4c6075;
  --navy: #0c1c28;
  --accent: #135db5;
  --line: #dce4ed;
  --white: #fff;
  --panel: #eff4fa;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0 }
a { color: var(--accent); text-underline-offset: .2em }
button, input, select { font: inherit }
button { cursor: pointer }
img { display: block; max-width: 100% }
[hidden] { display: none !important }
:focus-visible { outline: 2px solid #1d79d3; outline-offset: 3px }
.wrap { width: min(100% - 40px, 1200px); margin-inline: auto }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.skip:focus { position: absolute; z-index: 10; top: 8px; left: 8px; padding: 8px; color: var(--ink); background: var(--white) }

.site-header { border-bottom: 1px solid var(--line); background: var(--white) }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px 28px }
.brand { color: var(--ink); font-size: clamp(.94rem, 2.2vw, 1.2rem); font-weight: 850; letter-spacing: -.04em; text-decoration: none; white-space: nowrap }
.brand span { color: var(--accent) }
.header-inner nav { display: flex; align-items: center; gap: 24px }
.header-inner nav a { font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap }
.header-inner nav a:hover, .footer-inner a:hover { text-decoration: underline }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: var(--accent);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.2;
}
.button:hover { background: #0a4b97 }
.button:disabled { cursor: default; opacity: .6 }
.header-button { min-height: 40px; padding-inline: 14px; font-size: .85rem }
.button-secondary { color: var(--accent); border-color: #c5d6ea; background: var(--white) }
.button-secondary:hover { color: #0a4b97; background: var(--panel) }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 5.5vw, 82px);
  padding-block: clamp(36px, 6.5vw, 86px);
}
.hero-copy { padding-block: 10px }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: .85rem; font-weight: 750 }
h1, h2, h3 { margin: 0; line-height: 1.12 }
h1 { font-size: clamp(2.55rem, 5.4vw, 4.8rem); letter-spacing: -.058em }
h1 span { color: var(--accent) }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -.04em }
h3 { font-size: 1.16rem; letter-spacing: -.015em }
.hero-lead { max-width: 36ch; margin: 22px 0 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.16rem) }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 26px }
.text-link { font-weight: 700 }
.hero-note { margin: 28px 0 0; color: var(--muted); font-size: .95rem }
.hero-note strong { color: var(--ink); font-weight: 800 }
.hero-visual { min-width: 0; margin: 0; aspect-ratio: 1.3; border-radius: 23px; overflow: hidden; background: #1d3447 }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50% }

.section { padding-block: clamp(44px, 6vw, 80px); scroll-margin-top: 10px }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px }
.section-intro > p { max-width: 38ch; margin: 0; color: var(--muted) }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px }
.service-card { display: flex; flex-direction: column; padding: clamp(17px, 2vw, 25px); border: 1px solid var(--line); border-radius: 17px; background: var(--white) }
.service-card p { margin: 12px 0 18px; color: var(--muted) }
.service-card a { align-self: start; margin-top: auto; font-weight: 700 }

.price-section { background: var(--navy); color: var(--white) }
.price-section .eyebrow { color: #a3d2ff }
.price-section .section-intro > p { color: #c0d3e3 }
.price-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: start; gap: 20px }
.rates { padding: clamp(19px, 3vw, 31px); border: 1px solid #31495e; border-radius: 20px; color: var(--white); background: #122938 }
.rates table { width: 100%; border-collapse: collapse; margin-top: 14px; text-align: start }
.rates td, .rates th { padding: 11px 0; border-bottom: 1px solid #395264; text-align: left }
.rates th { font-weight: 600 }
.rates thead th { color: #c0d3e3; font-size: .87rem }
.rates td strong, .rates td span { display: block }
.rates td strong { font-size: clamp(1rem, 1.7vw, 1.2rem) }
.rates td span, .price-note { color: #c0d3e3; font-size: .88rem }
.rates tbody tr.current th { color: #a3d2ff }
.price-note { margin: 15px 0 0 }

.calculator-card { padding: clamp(18px, 3vw, 31px); border-radius: 20px; color: var(--ink); background: var(--white) }
.calculator-card label { display: block; margin-bottom: 5px; font-size: .9rem; font-weight: 700 }
.calculator-card select, .calculator-card input {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid #bfcddd;
  border-radius: 9px;
  color: var(--ink);
  background: var(--white);
}
.calculator-card select {
  appearance: none;
  padding-inline-end: 31px;
  background-image: linear-gradient(45deg, transparent 50%, #53697d 50%), linear-gradient(135deg, #53697d 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% + 2px), calc(100% - 11px) calc(50% + 2px);
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
#volume-fields { margin-top: 16px }
.presets { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px }
.presets button { min-height: 38px; padding: 5px 11px; border: 1px solid #d1dce8; border-radius: 8px; color: var(--ink); background: #f4f7fb; font-size: .87rem; font-weight: 650 }
.presets button[aria-pressed=true] { border-color: #99bde5; color: #084984; background: #e8f2ff }
.estimate-result { display: grid; gap: 3px; margin-top: 19px; padding: 13px 16px; border-radius: 12px; background: var(--panel) }
.estimate-result span { color: var(--muted); font-size: .88rem }
.estimate-result output { color: var(--ink); font-size: clamp(1.4rem, 3vw, 2.15rem); font-weight: 800; line-height: 1.22; letter-spacing: -.035em; overflow-wrap: anywhere }
.calculator-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px }
.action-status { margin: 10px 0 0; color: var(--muted); font-size: .9rem }

.process-grid { counter-reset: stage; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 0; list-style: none }
.process-grid li { counter-increment: stage; border-top: 1px solid var(--line); padding-top: 14px }
.process-grid li::before { content: counter(stage); display: grid; place-items: center; width: 29px; height: 29px; margin-bottom: 13px; border-radius: 50%; background: var(--panel); color: var(--accent); font-size: .88rem; font-weight: 750 }
.process-grid p { margin: 9px 0 0; color: var(--muted) }
.faq-section { border-top: 1px solid var(--line) }
.faq-list { max-width: 760px; margin-top: 22px }
.faq-list details { border-bottom: 1px solid var(--line); padding-block: 13px }
.faq-list summary { cursor: pointer; font-weight: 700 }
.faq-list details p { margin: 9px 0 0; color: var(--muted) }
.site-footer { padding-block: 22px; border-top: 1px solid var(--line); background: #f4f7fb }
.footer-inner { display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: space-between; align-items: center }
.footer-inner p { margin: 6px 0 0; color: var(--muted); font-size: .92rem }

@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .header-inner nav { gap: 12px }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 28px) }
  .header-inner { min-height: 58px }
  .header-inner nav { display: none }
  .header-button { min-height: 38px; padding-inline: 9px; font-size: .78rem }
  .hero, .price-grid { grid-template-columns: minmax(0, 1fr) }
  .hero-visual { aspect-ratio: 1.5 }
  .section-intro { display: grid; gap: 8px }
  .service-grid, .process-grid { grid-template-columns: minmax(0, 1fr) }
}
@media (max-width: 380px) {
  .brand { font-size: .9rem }
  .calculator-actions .button { width: 100% }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
}
