:root {
  --navy: #153b5e;
  --navy-strong: #0c2f4d;
  --blue: #4ea7d8;
  --blue-soft: #edf7fc;
  --orange: #f18a3d;
  --orange-strong: #dd7023;
  --text: #182430;
  --muted: #647485;
  --line: #dbe5ec;
  --surface: #ffffff;
  --surface-subtle: #f5f9fc;
  --success: #1f8f52;
  --danger: #b42318;
  --shadow-sm: 0 8px 24px rgba(20, 59, 94, 0.08);
  --shadow-lg: 0 24px 70px rgba(20, 59, 94, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--surface);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(78, 167, 216, 0.46);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 9999;
  padding: 10px 14px;
  color: white;
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--surface-subtle);
}

.section-heading {
  max-width: 720px;
  margin: 0 0 40px;
}

.section-heading h2,
.page-heading h1 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-heading p,
.page-heading p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

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

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--navy);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--navy);
  border-radius: 9px;
}

.brand-text {
  max-width: 132px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 42px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  color: #3c4b59;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 650;
  transition: color 0.18s ease, background 0.18s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy);
  background: var(--blue-soft);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  margin-left: auto;
  display: none;
  place-items: center;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.button {
  min-height: 48px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.2;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: var(--orange);
  border-color: var(--orange);
}

.button-primary:hover {
  background: var(--orange-strong);
  border-color: var(--orange-strong);
}

.button-secondary {
  color: var(--navy);
  background: white;
  border-color: var(--blue);
}

.button-secondary:hover {
  background: var(--blue-soft);
}

.button-blue {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}

.button-blue:hover {
  background: var(--navy-strong);
  border-color: var(--navy-strong);
}

.button-small {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 14px;
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: stretch;
}

.hero-copy {
  padding: 90px 64px 88px 0;
  align-self: center;
}

.hero-copy h1 {
  max-width: 620px;
  margin: 0 0 22px;
  color: #101d29;
  font-size: clamp(44px, 5.2vw, 68px);
  line-height: 0.99;
  letter-spacing: -0.048em;
}

.hero-copy p {
  max-width: 590px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  min-height: 610px;
  position: relative;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.benefits {
  background: var(--blue-soft);
  border-bottom: 1px solid var(--line);
}

.benefit-grid {
  min-height: 132px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.benefit {
  padding: 26px 32px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 15px;
  border-right: 1px solid var(--line);
}

.benefit:first-child {
  border-left: 1px solid var(--line);
}

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: white;
  border: 1px solid #cde0ec;
  border-radius: 12px;
}

.benefit h3 {
  margin: 0 0 3px;
  font-size: 16px;
  line-height: 1.25;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.solution-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: #b7d2e3;
  box-shadow: var(--shadow-sm);
}

.solution-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.solution-card-content {
  padding: 22px;
}

.solution-card h3 {
  margin: 0 0 8px;
  font-size: 23px;
  letter-spacing: -0.025em;
}

.solution-card p {
  min-height: 50px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 760;
}

.text-link svg {
  transition: transform 0.18s ease;
}

.text-link:hover svg {
  transform: translateX(3px);
}

.cta-band {
  padding: 36px 0;
  color: white;
  background: var(--navy);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  margin: 0 0 5px;
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.page-hero {
  padding: 82px 0 48px;
  background: var(--surface);
}

.page-heading {
  max-width: 790px;
}

.product-list {
  display: grid;
  gap: 80px;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 68px;
}

.product-row:nth-child(even) .product-media {
  order: 2;
}

.product-media {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.product-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.product-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.2vw, 43px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.product-copy > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
}

.feature-list {
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 27px;
  color: #344654;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 15px;
  height: 8px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 70px;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 14px;
}

.contact-item {
  min-height: 62px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 13px;
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--blue-soft);
  border-radius: 10px;
}

.contact-item strong {
  display: block;
  margin-bottom: 1px;
  font-size: 13px;
  color: var(--muted);
}

.contact-item span,
.contact-item a {
  font-weight: 700;
  color: var(--text);
}

.lead-panel {
  padding: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.lead-panel h2 {
  margin: 0 0 7px;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.lead-panel > p {
  margin: 0 0 25px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  color: #304352;
  font-size: 13px;
  font-weight: 720;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--text);
  background: white;
  border: 1px solid #cddae3;
  border-radius: 9px;
  font-size: 15px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field textarea {
  min-height: 104px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #9fbdcf;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(78, 167, 216, 0.13);
  outline: none;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.consent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.consent input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--navy);
}

.form-submit {
  grid-column: 1 / -1;
  width: 100%;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: -4px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--danger);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.faq-item summary {
  min-height: 58px;
  padding: 15px 48px 15px 18px;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  font-size: 16px;
  font-weight: 740;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  color: var(--navy);
  font-size: 24px;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.privacy-note {
  padding: 28px;
  color: var(--muted);
  background: var(--blue-soft);
  border-radius: var(--radius-md);
}

.privacy-note h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 22px;
}

.privacy-note p {
  margin: 0;
}

.site-footer {
  padding: 42px 0 24px;
  color: #d9e6ef;
  background: #0d2d47;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr;
  gap: 36px;
  align-items: start;
}

.site-footer .brand {
  color: white;
}

.footer-description {
  max-width: 310px;
  margin: 15px 0 0;
  color: #a9bdcc;
  font-size: 14px;
}

.footer-column h2 {
  margin: 0 0 12px;
  color: white;
  font-size: 14px;
}

.footer-column a,
.footer-column span {
  display: block;
  margin: 7px 0;
  color: #b8cad7;
  font-size: 13px;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #8da5b6;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 12px;
}

.lead-dialog {
  width: min(560px, calc(100% - 28px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: auto;
  color: var(--text);
  background: white;
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.lead-dialog::backdrop {
  background: rgba(8, 29, 45, 0.62);
  backdrop-filter: blur(3px);
}

.dialog-inner {
  padding: 32px;
  position: relative;
}

.dialog-inner h2 {
  margin: 0 42px 6px 0;
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.dialog-inner > p {
  margin: 0 0 24px;
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--blue-soft);
  border: 0;
  border-radius: 10px;
}

@media (max-width: 1040px) {
  .header-inner {
    gap: 18px;
  }

  .header-phone {
    display: none;
  }

  .hero-grid {
    min-height: 540px;
  }

  .hero-copy {
    padding-right: 40px;
  }

  .hero-media {
    min-height: 540px;
  }

  .benefit {
    padding-inline: 20px;
  }

  .product-row {
    gap: 42px;
  }

  .contact-grid {
    gap: 42px;
  }

  .footer-main {
    grid-template-columns: 1.3fr repeat(2, 0.7fr);
  }

  .footer-column:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    padding: 10px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    min-height: 46px;
  }

  .header-cta {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 62px 0 38px;
  }

  .hero-copy h1 {
    font-size: clamp(39px, 10vw, 58px);
  }

  .hero-media {
    min-height: 360px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
    padding: 14px 0;
  }

  .benefit,
  .benefit:first-child {
    min-height: 92px;
    padding: 18px 10px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefit:last-child {
    border-bottom: 0;
  }

  .solution-cards {
    grid-template-columns: 1fr;
  }

  .solution-card p {
    min-height: 0;
  }

  .product-list {
    gap: 58px;
  }

  .product-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-row:nth-child(even) .product-media {
    order: initial;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .section {
    padding: 52px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .brand-text {
    max-width: 116px;
    font-size: 13px;
  }

  .hero-copy {
    padding-top: 48px;
  }

  .hero-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(38px, 12vw, 50px);
  }

  .hero-copy p {
    font-size: 17px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-media {
    min-height: 290px;
  }

  .cta-band-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-band .button {
    width: 100%;
  }

  .page-hero {
    padding: 56px 0 30px;
  }

  .product-copy h2 {
    font-size: 32px;
  }

  .lead-panel,
  .dialog-inner {
    padding: 24px 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full,
  .consent,
  .form-submit,
  .form-status {
    grid-column: auto;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-column:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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