:root {
  color-scheme: light;
  --navy: #102a54;
  --navy-deep: #091b38;
  --blue: #075cf4;
  --blue-dark: #004bd1;
  --sky: #eaf4ff;
  --sky-light: #f4f9ff;
  --muted: #52647d;
  --line: #dbe5f0;
  --white: #fff;
  font-family: Arial, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body { margin: 0; color: var(--navy-deep); background: var(--white); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100% - 48px, 1280px); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #e7edf4;
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-size: clamp(1.4rem, 2.1vw, 2.05rem); font-weight: 800; letter-spacing: -.055em; color: var(--navy-deep); }
.brand strong { color: var(--blue); }
.brand-mark { width: 43px; height: 43px; padding: 4px; border-radius: 50%; background: var(--navy); color: white; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; flex: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); }
.site-nav > a:not(.button) { font-size: .96rem; font-weight: 700; }
.site-nav > a:not(.button):hover, .mobile-contact:hover { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: 7px; font-weight: 800; text-align: center; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 8px 20px rgba(7,92,244,.16); }
.button-primary:hover { background: var(--blue-dark); }
.button-large { min-height: 54px; min-width: 196px; }
.mobile-contact, .menu-toggle { display: none; }

.hero { overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); min-height: 490px; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; z-index: 1; padding: 46px 24px 54px 0; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: .84rem; font-weight: 800; letter-spacing: .065em; }
.hero h1 { margin: 0; color: var(--navy-deep); font-size: clamp(3.5rem, 5.2vw, 5.9rem); line-height: .99; letter-spacing: -.067em; font-weight: 900; }
.hero-lead { max-width: 420px; margin: 24px 0 27px; color: #2c405d; font-size: clamp(1.1rem, 1.5vw, 1.42rem); line-height: 1.42; }
.hero-media { position: relative; margin: 0; min-height: 490px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 59% center; }
.hero-media::before { content: ""; position: absolute; z-index: 1; inset: 0 auto 0 0; width: 18%; pointer-events: none; background: linear-gradient(90deg, white, transparent); }
.hero-media figcaption { position: absolute; right: 16px; bottom: 16px; z-index: 2; padding: 7px 11px; border-radius: 4px; background: rgba(5,25,52,.79); color: white; font-size: .74rem; line-height: 1.3; }

.benefits { border-block: 1px solid var(--line); background: var(--sky-light); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); padding-block: 22px; }
.benefit { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 8px 24px; }
.benefit:first-child { padding-left: 0; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit-icon { width: 43px; height: 43px; flex: none; fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.benefit strong { display: block; margin: 0 0 4px; font-size: 1.02rem; line-height: 1.2; }
.benefit p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.35; }

.services { padding: 48px 0 54px; background: var(--sky); }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { margin: 0 0 28px; color: var(--navy-deep); font-size: clamp(2rem, 3vw, 2.9rem); letter-spacing: -.048em; line-height: 1.1; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.service-card { min-width: 0; min-height: 228px; padding: 24px 23px; background: white; border: 1px solid rgba(21,65,118,.06); border-radius: 9px; box-shadow: 0 6px 18px rgba(11,49,98,.04); }
.service-icon { width: 48px; height: 48px; margin-bottom: 24px; fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0 0 8px; font-size: 1.18rem; line-height: 1.2; }
.service-card p { margin: 0; color: #435b78; font-size: .99rem; line-height: 1.42; }

.request-section { padding: 42px 0 48px; }
.request-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 16px; }
.price-card, .form-card { min-width: 0; border-radius: 9px; }
.price-card { padding: 32px; background: #e8f4ff; }
.price-card { align-self: start; }
.price-card .eyebrow { margin-bottom: 8px; }
.price-card h2, .form-card h2 { margin: 0 0 6px; font-size: clamp(1.45rem, 2.25vw, 2.05rem); letter-spacing: -.035em; line-height: 1.14; }
.price-intro { margin: 0 0 34px; color: #56708f; }
.price-line { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 23px 22px; border-radius: 7px; background: white; font-size: 1.13rem; font-weight: 800; }
.price-line strong { color: var(--navy-deep); white-space: nowrap; }
.price-disclaimer { margin: 23px 0 0; color: #455f7c; font-size: .91rem; line-height: 1.5; }
.form-card { padding: 31px 32px 24px; background: var(--blue); color: white; }
.form-card > p { margin: 0 0 21px; font-size: .99rem; line-height: 1.45; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.field { min-width: 0; margin-bottom: 12px; }
.field label { display: block; margin-bottom: 5px; font-size: .9rem; font-weight: 800; }
.field input, .field textarea { display: block; width: 100%; min-height: 45px; padding: 10px 12px; border: 2px solid transparent; border-radius: 4px; background: white; color: var(--navy-deep); font-size: .96rem; line-height: 1.4; }
.field textarea { min-height: 82px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #596e8c; opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-color: #ffd246; box-shadow: 0 0 0 2px rgba(255,210,70,.28); }
.button-white { width: 100%; min-height: 46px; color: var(--blue); background: white; }
.button-white:hover { background: #ecf4ff; }
.form-expectation, .form-demo { margin: 10px 0 0; text-align: center; line-height: 1.4; }
.form-expectation { font-size: .88rem; }
.form-demo { font-size: .83rem; color: #eaf4ff; }
.form-status { margin: 13px 0 0; padding: 11px 13px; border-radius: 5px; color: var(--navy-deep); background: #fff7d9; font-size: .92rem; line-height: 1.4; }
.form-status:empty { display: none; }

.site-footer { border-top: 1px solid var(--line); background: white; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3,1fr); gap: 26px; align-items: center; padding-block: 28px; }
.footer-brand .brand { font-size: 1.63rem; }
.footer-brand .brand-mark { width: 37px; height: 37px; }
.footer-brand p { margin: 8px 0 3px; color: var(--muted); font-size: .83rem; }
.footer-brand small { color: #5c7290; font-size: .78rem; }
.contact-item { display: flex; align-items: center; gap: 14px; min-width: 0; }
.contact-item svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--blue); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-item p { margin: 0; line-height: 1.37; }
.contact-item strong, .contact-item span { display: block; }
.contact-item strong { font-size: .88rem; }
.contact-item span { color: #506789; font-size: .88rem; }

:focus-visible { outline: 3px solid #edb700; outline-offset: 3px; }

@media (max-width: 1100px) {
  .service-card { padding: 20px 18px; }
  .benefit { padding-inline: 14px; }
  .footer-grid { gap: 14px; }
}

@media (max-width: 800px) {
  .wrap { width: min(100% - 36px, 720px); }
  .header-inner { min-height: 70px; }
  .brand { font-size: 1.45rem; gap: 8px; }
  .brand-mark { width: 37px; height: 37px; }
  .mobile-contact { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; font-weight: 700; }
  .menu-toggle { width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; border: 1px solid var(--line); border-radius: 7px; color: var(--navy); background: white; cursor: pointer; }
  .menu-toggle span { display: block; width: 21px; height: 2px; border-radius: 3px; background: currentColor; }
  .site-nav { position: absolute; inset: calc(100% + 1px) 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 16px; background: white; box-shadow: 0 15px 24px rgba(10,35,70,.12); }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav a:not(.button) { min-height: 48px; display: flex; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); }
  .site-nav .button { margin-top: 10px; }
  .hero-grid { display: flex; flex-direction: column; min-height: 0; }
  .hero-copy { padding: 36px 0 32px; }
  .hero h1 { font-size: clamp(3.3rem, 10vw, 5.2rem); }
  .hero-lead { max-width: 580px; margin: 19px 0 24px; }
  .hero-copy .button { width: min(100%, 420px); }
  .hero-media { min-height: 0; height: clamp(280px, 58vw, 470px); margin-inline: -18px; }
  .hero-media::before { display: none; }
  .hero-media img { object-position: 57% 42%; }
  .benefits-grid { grid-template-columns: 1fr; padding-block: 12px; }
  .benefit, .benefit:first-child { padding: 13px 0; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid var(--line); }
  .benefit strong { font-size: 1rem; }
  .benefit p { font-size: .91rem; }
  .services { padding-block: 37px 42px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card { min-height: 218px; }
  .request-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .wrap { width: min(100% - 32px, 480px); }
  .brand { font-size: 1.31rem; }
  .brand-mark { width: 34px; height: 34px; }
  .header-actions { gap: 9px; }
  .eyebrow { font-size: .76rem; }
  .hero-copy { padding-top: 30px; }
  .hero h1 { font-size: clamp(3.08rem, 13vw, 4.2rem); }
  .hero-lead { font-size: 1.05rem; }
  .hero-media { height: 260px; margin-inline: -16px; }
  .hero-media figcaption { right: 9px; bottom: 9px; font-size: .66rem; }
  .services { padding-block: 31px 38px; }
  .section-heading h2 { margin-bottom: 19px; }
  .service-grid { grid-template-columns: 1fr; gap: 8px; }
  .service-card { min-height: 0; display: grid; grid-template-columns: 45px 1fr; column-gap: 15px; padding: 16px; }
  .service-icon { width: 42px; height: 42px; grid-row: span 2; margin: 0; }
  .service-card h3 { align-self: end; margin-bottom: 3px; font-size: 1.07rem; }
  .service-card p { grid-column: 2; font-size: .91rem; }
  .request-section { padding-block: 25px 28px; }
  .price-card, .form-card { padding: 22px 18px; }
  .price-intro { margin-bottom: 22px; }
  .price-line { padding: 15px; font-size: 1rem; }
  .price-disclaimer { margin-top: 17px; font-size: .88rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .field label { font-size: .87rem; }
  .field input, .field textarea { font-size: .92rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; padding-block: 25px 29px; }
  .footer-brand { grid-column: 1; }
  .contact-item { gap: 12px; }
  .contact-item strong, .contact-item span { font-size: .94rem; }
}

@media (max-width: 360px) {
  .mobile-contact { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
