:root {
  --blue-950: #06156f;
  --blue-900: #071b88;
  --blue-700: #074fd5;
  --blue-600: #0672ec;
  --blue-500: #078ff4;
  --blue-100: #dff1ff;
  --blue-50: #f2f9ff;
  --ink: #0c2362;
  --muted: #49648e;
  --line: #d6e8f8;
  --white: #fff;
  --shadow: 0 16px 44px rgba(16, 75, 143, .12);
  --radius: 18px;
  --container: 1500px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(var(--container), 82vw); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-150%); padding: 10px 14px; border-radius: 8px; color: #fff; background: var(--blue-900); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(205, 226, 245, .92);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: clamp(18px, 2vw, 36px); }
.brand { display: block; flex: 0 1 280px; width: min(280px, 24vw); text-decoration: none; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 2.4vw, 46px); margin-left: auto; }
.main-nav a { color: #153785; font-size: 15px; text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.main-nav a:hover { color: var(--blue-600); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.phone-block { display: grid; justify-items: end; line-height: 1.15; }
.phone-hours { margin-top: 4px; color: #5c7198; font-size: 12px; }
.phone-link, .footer-phone { display: inline-flex; align-items: center; gap: 12px; color: var(--blue-700); font-size: 20px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.phone-link svg, .footer-phone svg { width: 27px; height: 27px; fill: currentColor; stroke: none; }
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  border-radius: 10px;
  padding: 14px 28px;
  color: #fff;
  background: linear-gradient(135deg, #0797f8, #064bd6 76%);
  box-shadow: 0 12px 24px rgba(5, 92, 221, .24);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.button:hover { transform: translateY(-2px); filter: saturate(1.08); box-shadow: 0 16px 30px rgba(5, 92, 221, .3); }
.button:focus-visible, .text-button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #ffce3a; outline-offset: 3px; }
.button-small { min-height: 48px; padding: 11px 22px; font-size: 14px; }
.button-wide { width: 100%; }

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(105deg, #effaff 0%, #f8fcff 48%, #e1effb 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(47, 147, 225, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 147, 225, .09) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.75) 43%, transparent 66%); pointer-events: none; }
.hero-glow { position: absolute; top: -120px; left: -180px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(65, 172, 255, .18), transparent 66%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 52% 48%; align-items: center; min-height: clamp(620px, 42vw, 800px); }
.hero-content { position: relative; z-index: 3; max-width: 750px; padding: 82px 36px 80px 0; }
.eyebrow, .section-kicker, .form-kicker { margin: 0 0 12px; color: var(--blue-700); font-size: 14px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.hero h1 { margin: 0; color: var(--blue-950); font-size: clamp(54px, 4.3vw, 80px); line-height: .98; letter-spacing: -.04em; }
.hero h1 span { color: var(--blue-700); }
.hero-lead { max-width: 620px; margin: 22px 0 24px; color: #10247a; font-size: clamp(20px, 2vw, 28px); line-height: 1.2; }
.hero-points { display: flex; flex-wrap: wrap; gap: 14px 24px; margin: 0 0 32px; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.hero-points li, .check-list li, .form-benefits li { display: flex; align-items: center; gap: 9px; }
.check { display: inline-grid; flex: 0 0 auto; width: 23px; height: 23px; place-items: center; border-radius: 50%; color: #fff; background: var(--blue-600); font-size: 14px; font-weight: 900; }
.hero-cta { display: flex; align-items: center; gap: 24px; }
.hero-cta p { margin: 0; color: var(--muted); font-size: 14px; }
.hero-visual { align-self: stretch; position: relative; z-index: 2; min-width: 0; }
.hero-image-wrap { position: absolute; inset: 0 calc((100vw - min(var(--container), 82vw)) / -2) 0 -90px; overflow: hidden; }
.hero-image-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #effaff 0%, rgba(239,250,255,.9) 10%, rgba(239,250,255,.42) 25%, transparent 45%), linear-gradient(0deg, rgba(5, 45, 120, .1), transparent 36%); }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; }
.hero-proof { position: absolute; right: calc((100vw - min(var(--container), 82vw)) / -2 + 24px); bottom: 0; z-index: 3; width: min(350px, 76%); border: 1px solid rgba(211, 226, 240, .9); border-radius: 22px 22px 0 0; padding: 18px 24px; background: rgba(255,255,255,.96); box-shadow: 0 -10px 36px rgba(14, 67, 132, .16); backdrop-filter: blur(10px); }
.hero-proof p { display: flex; align-items: center; gap: 11px; margin: 8px 0; color: var(--blue-950); font-size: 15px; font-weight: 700; }
.hero-proof .check { width: 22px; height: 22px; }

#support, #process, #trust { scroll-margin-top: 104px; }

.section { padding: 78px 0; }
.section-heading { margin-bottom: 32px; }
.section-heading h2, .check-copy h2, .consultation h2 { margin: 0; color: var(--blue-950); font-size: clamp(32px, 4vw, 48px); line-height: 1.06; letter-spacing: -.025em; }
.section-heading > p:last-child { max-width: 780px; margin: 10px 0 0; color: var(--muted); }
.heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.heading-row > p { max-width: 520px; margin: 0 0 4px; text-align: right; }
.card-grid { display: grid; gap: 18px; }
.support { background: #fff; }
.support-grid { grid-template-columns: repeat(4, 1fr); }
.info-card, .trust-card { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.info-card { padding: 26px; transition: transform .2s ease, border-color .2s ease; }
.info-card:hover { transform: translateY(-4px); border-color: #93cbf5; }
.icon-bubble { display: grid; width: 68px; height: 68px; place-items: center; border-radius: 50%; color: var(--blue-600); background: linear-gradient(145deg, #edf8ff, #ccecff); }
.icon-bubble svg { width: 42px; height: 42px; stroke-width: 2.2; }
.info-card h3, .trust-card h3, .step h3 { margin: 18px 0 3px; color: var(--blue-900); font-size: 19px; line-height: 1.22; }
.info-card p, .trust-card p, .step p { margin: 0; color: var(--muted); }

.process { position: relative; overflow: hidden; background: linear-gradient(105deg, #f5fbff, #fff 54%, #eaf7ff); }
.blueprint { position: absolute; right: -110px; bottom: -150px; width: 640px; height: 520px; opacity: .36; background-image: linear-gradient(30deg, transparent 49.5%, #60b8fb 49.7%, #60b8fb 50.2%, transparent 50.4%), linear-gradient(90deg, transparent 49.5%, #a1d8ff 49.7%, #a1d8ff 50.2%, transparent 50.4%); background-size: 90px 90px, 65px 65px; transform: skewY(-10deg); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 52px; width: calc(100% + 28px); height: 2px; background: linear-gradient(90deg, #80c8fc, var(--blue-600)); }
.step:not(:last-child)::before { content: ""; position: absolute; top: 18px; right: -34px; z-index: 1; width: 8px; height: 8px; border-top: 2px solid var(--blue-600); border-right: 2px solid var(--blue-600); transform: rotate(45deg); }
.step-number { position: relative; z-index: 2; display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #0799f6, #0648d2); box-shadow: 0 8px 20px rgba(4, 89, 220, .25); font-size: 20px; font-weight: 800; }
.step-icon { display: grid; width: 68px; height: 68px; margin: 12px 0 0 2px; place-items: center; border-radius: 50%; color: var(--blue-600); background: #dff2ff; }
.step-icon svg { width: 38px; height: 38px; }
.step h3 { margin-top: 10px; }

.check-section { position: relative; overflow: hidden; background: linear-gradient(115deg, #eaf7ff 0%, #fff 58%, #e7f5ff 100%); }
.check-grid { display: grid; grid-template-columns: 230px 1fr 1.12fr; min-height: 300px; align-items: center; gap: 40px; padding-block: 40px; }
.building-visual { align-self: stretch; position: relative; }
.building-visual img { position: absolute; right: -40px; bottom: -40px; width: 320px; max-width: none; height: 248px; object-fit: cover; object-position: left center; mask-image: linear-gradient(90deg, #000 60%, transparent); }
.check-copy h2 { font-size: clamp(28px, 3vw, 40px); }
.check-copy p { margin: 4px 0 0; color: #173691; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; }
.check-list { display: grid; gap: 9px; margin: 0 0 18px; padding: 0; list-style: none; color: #294d93; }

.trust { position: relative; background: linear-gradient(#fff, #f5fbff); }
.trust-grid { grid-template-columns: repeat(3, 1fr); }
.trust-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px; }
.trust-card .icon-bubble { width: 62px; height: 62px; }
.trust-card .icon-bubble svg { width: 38px; height: 38px; }
.trust-card h3 { margin-top: 4px; }

.consultation { scroll-margin-top: 84px; padding: 46px 0; color: #fff; background: radial-gradient(circle at 18% 20%, rgba(36,169,255,.35), transparent 33%), linear-gradient(110deg, #064dcf, #027cec 60%, #0445c6); }
.consultation-grid { display: grid; grid-template-columns: 1fr 1.05fr .9fr; align-items: center; gap: 38px; }
.form-kicker { color: #bfe4ff; }
.consultation h2 { color: #fff; font-size: clamp(32px, 3.7vw, 48px); }
.consultation-copy > p:last-child { max-width: 430px; margin: 12px 0 0; color: #d6edff; }
.lead-form { padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 18px 48px rgba(0, 24, 95, .24); }
.field { margin-bottom: 10px; }
.field > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.input-wrap { position: relative; }
.input-wrap svg { position: absolute; top: 50%; left: 14px; width: 21px; height: 21px; color: var(--blue-700); transform: translateY(-50%); }
.input-wrap input { width: 100%; height: 50px; border: 1px solid #c8ddf2; border-radius: 8px; padding: 0 14px 0 45px; color: var(--ink); background: #fbfdff; outline: 0; transition: border-color .2s, box-shadow .2s; }
.input-wrap input:focus { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(7, 114, 236, .12); }
.input-wrap input[aria-invalid="true"] { border-color: #cf2940; }
.field-error { display: block; min-height: 0; color: #b71e35; font-size: 12px; }
.field-error:not(:empty) { padding-top: 4px; }
.form-submit { width: 100%; min-height: 52px; }
.consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; color: #536785; font-size: 11px; line-height: 1.35; }
.consent input { flex: 0 0 auto; margin-top: 2px; accent-color: var(--blue-600); }
.text-button { border: 0; padding: 0; color: inherit; background: none; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.form-status { display: none; margin-top: 10px; border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.form-status.is-visible { display: block; }
.form-status.success { color: #075c36; background: #e3f8ed; }
.form-status.info { color: #244d80; background: #eaf5ff; }
.form-status.error { color: #971b2f; background: #ffedf0; }
.form-benefits { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.check-outline { border: 2px solid #fff; background: transparent; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.site-footer { background: #fff; }
.footer-main { display: flex; min-height: 150px; align-items: center; justify-content: space-between; gap: 34px; }
.brand-footer { width: min(320px, 31vw); }
.footer-phone { font-size: 23px; }
.hours { display: flex; align-items: center; gap: 14px; border-left: 1px solid var(--line); padding-left: 34px; }
.hours svg { width: 40px; height: 40px; color: var(--blue-900); }
.hours p { margin: 0; color: #38528a; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-block: 18px; color: #6a7c9d; font-size: 12px; }
.footer-bottom p { margin: 0; }

.policy-dialog { width: min(680px, calc(100% - 30px)); max-height: min(700px, calc(100vh - 40px)); border: 0; border-radius: 18px; padding: 0; color: var(--ink); box-shadow: 0 30px 90px rgba(0, 27, 83, .35); }
.policy-dialog::backdrop { background: rgba(2, 19, 62, .66); backdrop-filter: blur(4px); }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 26px 28px 18px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { margin: 0; font-size: 25px; line-height: 1.2; }
.dialog-close { display: grid; width: 36px; height: 36px; place-items: center; flex: 0 0 auto; border: 0; border-radius: 50%; color: var(--ink); background: var(--blue-50); font-size: 26px; cursor: pointer; }
.dialog-content { overflow: auto; padding: 8px 28px; color: #3c5684; }
.dialog-action { margin: 12px 28px 28px; }

@media (max-width: 1200px) {
  .container { width: min(var(--container), calc(100% - 40px)); }
  .main-nav { display: none; }
  .hero-image-wrap { right: -20px; left: -70px; }
  .hero-proof { right: 0; }
}

@media (max-width: 1050px) {
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .consultation-grid { grid-template-columns: 1fr 1.1fr; }
  .form-benefits { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .check-grid { grid-template-columns: 160px 1fr 1.1fr; gap: 24px; }
  .header-actions { gap: 16px; }
}

@media (max-width: 820px) {
  .header-inner { min-height: 72px; }
  .brand { width: 240px; }
  .phone-link span, .phone-hours { display: none; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 54px 0 52px; }
  .hero-content::after { content: ""; position: absolute; inset: 0 -20px; z-index: -1; background: linear-gradient(90deg, rgba(248,252,255,.98), rgba(248,252,255,.82), rgba(248,252,255,.12)); }
  .hero-visual { position: absolute; inset: 0 0 0 36%; aspect-ratio: auto; opacity: .44; }
  .hero-image-wrap { inset: 0 -20px 0 0; border: 0; border-radius: 0; box-shadow: none; }
  .hero-proof { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step:nth-child(2)::after, .step:nth-child(2)::before { display: none; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .building-visual { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-main { display: grid; grid-template-columns: 1fr 1fr; padding-block: 28px; }
  .brand-footer { width: 290px; grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 30px, var(--container)); }
  .header-inner { gap: 10px; }
  .site-header .button-small { display: none; }
  .brand { width: 225px; max-width: calc(100vw - 100px); }
  .header-actions { margin-left: auto; }
  .phone-link { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--blue-50); }
  .hero-content { padding: 45px 0 42px; }
  .hero-content::after { display: none; }
  .hero-visual { position: relative; inset: auto; left: auto; aspect-ratio: 3 / 2; margin: -10px 0 30px; opacity: 1; }
  .hero-image-wrap { inset: 0; border: 1px solid rgba(166, 207, 239, .75); border-radius: 18px; box-shadow: 0 18px 42px rgba(15, 73, 137, .16); }
  .hero-image-wrap::after { background: linear-gradient(0deg, rgba(5, 45, 120, .1), transparent 40%); }
  .eyebrow { max-width: 280px; }
  .hero h1 { font-size: clamp(42px, 13vw, 60px); }
  .hero-lead { font-size: 20px; }
  .hero-points { display: grid; gap: 9px; }
  .hero-cta { align-items: flex-start; flex-direction: column; gap: 12px; }
  .button { width: 100%; }
  .dialog-action { width: calc(100% - 56px); }
  .section { padding: 56px 0; }
  .heading-row { display: block; }
  .heading-row > p { margin-top: 8px; text-align: left; }
  .support-grid, .steps, .check-grid, .consultation-grid { grid-template-columns: 1fr; }
  .support-grid { gap: 12px; }
  .info-card { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; padding: 18px; }
  .info-card .icon-bubble { grid-row: 1 / 3; width: 58px; height: 58px; }
  .info-card .icon-bubble svg { width: 34px; height: 34px; }
  .info-card h3 { margin: 4px 0 2px; }
  .step { display: grid; grid-template-columns: 46px 58px 1fr; gap: 0 12px; align-items: center; }
  .step::after, .step::before { display: none !important; }
  .step-icon { width: 58px; height: 58px; margin: 0; }
  .step h3 { margin: 0; }
  .step p { grid-column: 3; }
  .check-grid { padding-block: 52px; }
  .check-list-wrap { margin-top: 10px; }
  .trust-card { grid-template-columns: 56px 1fr; padding: 18px; }
  .trust-card .icon-bubble { width: 56px; height: 56px; }
  .consultation { padding: 52px 0; }
  .consultation-grid { gap: 26px; }
  .lead-form { padding: 13px; }
  .form-benefits { grid-column: auto; grid-template-columns: 1fr; gap: 12px; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .brand-footer { grid-column: auto; width: 280px; max-width: 100%; }
  .footer-phone { font-size: 21px; }
  .hours { border-left: 0; padding-left: 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (max-width: 360px) {
  .container { width: min(100% - 24px, var(--container)); }
  .brand { max-width: calc(100vw - 92px); }
  .hero h1 { font-size: 40px; }
  .hero-lead { font-size: 18px; }
  .hero-content { padding-block: 38px; }
  .section-heading h2, .check-copy h2, .consultation h2 { font-size: 30px; }
  .info-card { grid-template-columns: 52px 1fr; gap: 0 12px; }
  .info-card .icon-bubble { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
