:root {
  --blue: #1d7afb;
  --blue-dark: #075ecf;
  --red: #d40311;
  --ink: #0b2035;
  --muted: #5f7183;
  --line: #dce5ed;
  --mist: #f3f7fa;
  --white: #fff;
  --navy: #06192b;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
.wrap, .hero-grid { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 999; padding: 10px 16px; background: #fff; }
.skip:focus { top: 16px; }

.topline { background: var(--navy); color: #dce9f4; font-size: 13px; }
.topline .wrap { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topline a { color: #fff; text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav { min-height: 84px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; }
.brand img { width: 56px; height: 58px; object-fit: contain; }
.brand b { display: block; font-size: 15px; line-height: 1.18; letter-spacing: -.01em; }
.brand small { display: block; margin-top: 5px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.links { display: flex; align-items: center; gap: 26px; }
.links a { position: relative; padding: 30px 0; text-decoration: none; font-size: 14px; font-weight: 750; }
.links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--blue); transition: right .2s ease; }
.links a:hover::after, .links a[aria-current="page"]::after { right: 0; }
.links a[aria-current="page"] { color: var(--blue); }
.nav-toggle { display: none; min-width: 48px; min-height: 48px; border: 1px solid var(--line); background: #fff; color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 20px; border: 2px solid transparent; text-decoration: none; font-weight: 850; line-height: 1.15; transition: transform .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-red { color: #fff; background: var(--red); }
.btn-red:hover { background: #b9000c; }
.btn-blue { color: #fff; background: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); }
.btn-outline { color: var(--blue); background: transparent; border-color: var(--blue); }
.btn-outline:hover { color: #fff; background: var(--blue); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }

.hero { position: relative; overflow: hidden; background: linear-gradient(105deg, #fff 0 58%, #edf5fc 58%); border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; inset: 0 0 0 58%; pointer-events: none; opacity: .7; background-image: linear-gradient(rgba(29,122,251,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(29,122,251,.13) 1px, transparent 1px); background-size: 150px 150px; }
.hero-grid { position: relative; z-index: 1; min-height: 650px; display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); gap: 58px; align-items: center; }
.hero-copy { padding: 72px 0; }
.eyebrow, .kicker { margin: 0 0 14px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.hero h1, .page-hero h1 { max-width: 840px; margin: 0 0 24px; font-size: clamp(44px, 5vw, 60px); line-height: 1.02; letter-spacing: -.055em; }
.hero h1 span { color: var(--blue); }
.lede { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(17px, 1.8vw, 20px); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-visual { position: relative; height: 520px; }
.hero-visual img { height: 100%; object-fit: cover; clip-path: polygon(8% 0,100% 0,100% 92%,0 100%,0 9%); }
.hero-tag { position: absolute; left: -18px; bottom: 30px; padding: 17px 22px; background: #fff; border-left: 5px solid var(--red); box-shadow: 0 20px 50px rgba(11,32,53,.15); font-weight: 850; }

.section { padding: 96px 0; }
.section-soft { background: var(--mist); }
.section-dark { color: #fff; background: var(--navy); }
.section h2, .cta h2 { max-width: 760px; margin: 0 0 22px; font-size: clamp(31px, 3.5vw, 40px); line-height: 1.1; letter-spacing: -.04em; }
.section h3 { line-height: 1.28; }
.section p, .section li { max-width: 72ch; }
.section p { color: var(--muted); }
.section-dark p { color: #c6d5e2; }
.intro-grid, .split, .contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: start; }
.bigline { margin-top: 0; color: var(--ink) !important; font-size: clamp(23px, 2.5vw, 31px); line-height: 1.4; letter-spacing: -.02em; }

.service-lines { border-top: 1px solid var(--line); }
.service-line { display: grid; grid-template-columns: 42px minmax(0,1fr); column-gap: 24px; row-gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.service-line b { color: var(--blue); font-size: 13px; letter-spacing: .08em; }
.service-line h3 { margin: 0; font-size: 20px; }
.service-line p { grid-column: 2; max-width: 760px; margin: 0; }

.editorial { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-height: 600px; }
.editorial > img { height: 100%; object-fit: cover; }
.editorial-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(44px, 6vw, 76px); color: #fff; background: var(--navy); }
.editorial-copy .kicker { color: #76b0ff; }
.editorial-copy p { color: #c6d5e2; }
.editorial-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 20px; }
.editorial-list div { padding-top: 13px; border-top: 1px solid #3a5369; }
.editorial-list small { color: #b9cad8; }

.problem-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.problem { min-height: 180px; padding: 26px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.problem h3 { margin: 0 0 10px; font-size: 19px; }
.problem p { margin: 0; }
.showcase { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 290px 290px; gap: 16px; }
.showcase img { height: 100%; object-fit: cover; }
.showcase .tall { grid-row: span 2; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3,1fr); margin-top: 38px; border-top: 1px solid #385167; }
.step { counter-increment: step; padding: 28px 30px 0 0; border-right: 1px solid #385167; }
.step::before { content: "0" counter(step); color: #76b0ff; font-weight: 900; }
.step h3 { margin: 12px 0 8px; font-size: 21px; }
.areas { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0; }
.areas span { padding: 9px 13px; background: #fff; border: 1px solid var(--line); }
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 20px 48px 20px 0; cursor: pointer; list-style: none; font-weight: 850; }
.faq summary::after { content: "+"; position: absolute; right: 8px; color: var(--blue); font-size: 25px; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 46px 20px 0; }

.page-hero { padding: 82px 0 72px; background: linear-gradient(120deg, #f4f8fb 0 72%, #e6f1fb 72%); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 20px; }
.breadcrumbs { margin-bottom: 36px; color: var(--muted); font-size: 13px; }
.content { max-width: 820px; }
.contact-panel { padding: 44px; color: #fff; background: var(--navy); }
.contact-panel h2 { max-width: 430px; }
.contact-panel a { display: block; margin: 6px 0 20px; color: #fff; font-size: clamp(20px, 3vw, 30px); font-weight: 900; overflow-wrap: anywhere; }
.contact-panel p { color: #c6d5e2; }
.map { width: 100%; min-height: 500px; border: 0; }
.notice { padding: 17px 20px; background: #e8f3ff; border-left: 4px solid var(--blue); }

.cta { padding: 58px 0; color: #fff; background: var(--blue); }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { margin: 3px 0 0; }
.cta .btn { color: var(--ink); background: #fff; }
footer { padding: 70px 0 90px; color: #c4d4e1; background: #03111f; }
.foot { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 60px; }
.foot h2, .foot h3 { margin-top: 0; color: #fff; }
.foot a { color: #fff; }
.foot-nav { display: grid; gap: 8px; }
.fine { margin-top: 42px; padding-top: 18px; border-top: 1px solid #293d50; color: #8fa4b5; font-size: 13px; }
.mobile-call { display: none; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 40px; text-align: center; }
.error-page strong { display: block; color: #d9e7f3; font-size: clamp(90px, 18vw, 180px); line-height: .8; }

@media (max-width: 1040px) {
  .links { gap: 17px; }
  .nav { gap: 18px; }
  .nav > .btn { padding-inline: 14px; }
  .hero-grid { gap: 34px; }
}

@media (max-width: 900px) {
  .wrap, .hero-grid, .editorial { width: min(calc(100% - 32px), var(--max)); }
  .topline span { display: none; }
  .nav { min-height: 72px; }
  .brand img { width: 48px; height: 50px; }
  .nav-toggle { display: block; }
  .nav > .btn { display: none; }
  .links { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 12px 16px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 35px rgba(11,32,53,.12); }
  .links.open { display: grid; gap: 0; }
  .links a { padding: 13px 4px; }
  .links a::after { display: none; }
  .hero { background: #fff; }
  .hero::after { display: none; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 58px 0 38px; }
  .hero-visual { height: 460px; margin-bottom: 28px; }
  .intro-grid, .split, .contact-grid, .editorial { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 72px 0; }
  .editorial { min-height: 0; }
  .editorial > img { max-height: 500px; }
  .editorial-copy { padding: 44px; }
  .service-line { grid-template-columns: 38px minmax(0,1fr); column-gap: 18px; row-gap: 8px; }
  .service-line p { grid-column: 2; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 23px 0; border-right: 0; border-bottom: 1px solid #385167; }
  .foot { gap: 36px; }
  .mobile-call { display: flex; position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 12px; min-height: 54px; align-items: center; justify-content: center; color: #fff; background: var(--red); box-shadow: 0 14px 30px rgba(0,0,0,.25); text-decoration: none; font-weight: 900; }
  footer { padding-bottom: 100px; }
}

@media (max-width: 650px) {
  body { line-height: 1.65; }
  .hero h1, .page-hero h1 { font-size: 42px; }
  .hero-visual { height: 340px; }
  .hero-tag { left: 0; bottom: 18px; padding: 13px 16px; }
  .section { padding: 58px 0; }
  .page-hero { padding: 52px 0 48px; }
  .breadcrumbs { margin-bottom: 28px; }
  .intro-grid, .split, .contact-grid, .editorial { gap: 28px; }
  .service-line { grid-template-columns: 32px minmax(0,1fr); gap: 14px; }
  .service-line p { grid-column: 2; }
  .problem-grid, .editorial-list { grid-template-columns: 1fr; }
  .problem { min-height: 0; padding: 22px; }
  .showcase { display: block; }
  .showcase img { height: 280px; margin-bottom: 12px; }
  .editorial-copy, .contact-panel { padding: 30px 24px; }
  .cta .wrap { display: grid; }
  .cta .btn { width: 100%; }
  .foot { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
}

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