﻿/* ---------- local fonts ---------- */
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/public-sans-variable.woff2") format("woff2");
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pt-serif-400.woff2") format("woff2");
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/pt-serif-700.woff2") format("woff2");
}
:root {
  --navy: #001a70;
  --navy-deep: #001250;
  --red: #ff1721;
  --paper: #ffffff;
  --grey-bg: #f4f5f8;
  --ink: #0b1330;
  --ink-soft: #5a6079;
  --line: rgba(11, 19, 48, 0.12);
  --warn: #c2410c;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
.serif {
  font-family: "PT Serif", serif;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ---------- utility bar ---------- */
.utilbar {
  background: var(--grey-bg);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  padding: 8px 0;
}
.utilbar .wrap {
  display: flex;
  gap: 26px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.utilbar span {
  font-weight: 600;
}

/* ---------- main nav ---------- */
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.navbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-mark {
  position: relative;
  width: 52px;
  height: 38px;
  background: var(--navy);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-mark::after {
  content: "";
  position: absolute;
  left: -10px;
  top: 58%;
  width: 80px;
  height: 11px;
  background: var(--red);
  transform: rotate(-18deg);
}
.logo-mark span {
  position: relative;
  z-index: 2;
  color: #fff;
  font-family: "Public Sans", sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 26px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.btn-navy {
  background: var(--navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 12px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .navbar .btn-navy {
    display: none;
  }

  .site-header .wrap {
    gap: 12px !important;
  }
}
.phone {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 64px 0 130px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-media picture {
  display: contents;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    125deg,
    rgba(0, 26, 112, 0.88) 0%,
    rgba(0, 59, 175, 0.75) 55%,
    rgba(0, 100, 200, 0.55) 100%
  );
}
.hero > .wrap,
.hero svg.waves {
  position: relative;
  z-index: 2;
}
.hero svg.waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  opacity: 0.35;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #bfd3ff;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 22px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.hero-stat b {
  font-family: "PT Serif", serif;
  font-size: 22px;
  font-weight: 700;
  display: inline;
}
.hero-stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  margin-left: 6px;
}
.hero-cta {
  margin-top: 30px;
}
.hero-cta .btn-navy {
  background: var(--red);
  padding: 15px 28px;
  font-size: 13.5px;
  border-radius: 4px;
}

/* ---------- calculator card ---------- */
.calc-shell {
  margin: -84px auto 0;
  position: relative;
  z-index: 5;
}
.calc-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 30px 60px -26px rgba(0, 26, 112, 0.35);
  padding: 34px 34px 30px;
}
.calc-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 22px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.field select,
.field input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 12px 12px;
  font-size: 14px;
  font-family: "Public Sans", sans-serif;
  color: var(--ink);
  background: #fff;
}
.field select:focus,
.field input:focus {
  outline: none;
  border-color: var(--navy);
}
.field select.is-invalid,
.field input.is-invalid {
  border-color: #d0021b;
}
.field select.is-invalid:focus,
.field input.is-invalid:focus {
  border-color: #d0021b;
}
.field-error {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #d0021b;
}

/* date field with icon */
.date-field {
  position: relative;
}
.date-field .cal-ico {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--ink-soft);
  pointer-events: none;
}
.date-field input {
  padding-left: 36px;
  cursor: pointer;
  background: #fff;
  color: var(--ink);
}
.date-field input::placeholder {
  color: #9aa0b4;
}

/* asegurados popup */
.aseg-field {
  position: relative;
}
.aseg-btn {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 12px 12px;
  font-size: 14px;
  font-family: "Public Sans", sans-serif;
  color: var(--ink);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}
.aseg-btn .chev {
  font-size: 11px;
  color: var(--ink-soft);
  transition: 0.2s;
}
.aseg-btn.open .chev {
  transform: rotate(180deg);
}
.aseg-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 20px 44px -14px rgba(0, 26, 112, 0.4);
  z-index: 20;
  display: none;
  overflow: hidden;
}
.aseg-panel.open {
  display: block;
}
.aseg-panel-head {
  background: var(--navy);
  color: #fff;
  padding: 18px;
  text-align: center;
}
.aseg-panel-head svg {
  width: 26px;
  height: 26px;
  margin-bottom: 6px;
}
.aseg-panel-head .label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.aseg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.aseg-row.no-border {
  border-bottom: 0;
}
.aseg-row .aseg-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.aseg-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
}
.aseg-stepper button {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  line-height: 1;
}
.aseg-stepper button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.aseg-stepper .aseg-num {
  width: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}
.aseg-confirm {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.aseg-confirm:hover {
  background: var(--navy-deep);
}

/* date popup (reuses aseg-panel look) */
.date-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 260px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 20px 44px -14px rgba(0, 26, 112, 0.4);
  z-index: 20;
  display: none;
  padding: 18px;
}
.date-panel.open {
  display: block;
}
.date-panel label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  margin: 0 0 6px;
}
.date-panel input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 9px 10px;
  font-size: 13px;
  margin-bottom: 14px;
}

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.chip {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 11px 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  text-align: center;
  flex: 1;
  min-width: 140px;
  font-family: inherit;
  transition: 0.15s;
}
.chip.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.promo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}
.promo-row .plus {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.calc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary {
  flex: 1;
  min-width: 160px;
  background: var(--navy);
  border: none;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 15px 20px;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary:hover {
  background: var(--navy-deep);
}
.btn-primary.loading {
  opacity: 0.75;
  pointer-events: none;
}

.calc-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 14px;
  text-align: center;
}

/* spinner */
.spinner {
  width: 15px;
  height: 15px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn-primary.loading .spinner {
  display: inline-block;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- risk comparison ---------- */
.risk {
  padding: 76px 0 20px;
}
.risk h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin: 0 0 10px;
}
.risk > .wrap > p {
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.6;
}
.risk-toggle {
  display: inline-flex;
  background: var(--grey-bg);
  border-radius: 4px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 22px;
}
.risk-toggle button {
  border: none;
  background: transparent;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 3px;
  color: var(--ink-soft);
  cursor: pointer;
}
.risk-toggle button.active {
  background: var(--navy);
  color: #fff;
}
.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.risk-card {
  background: var(--grey-bg);
  border-radius: 6px;
  padding: 16px;
}
.risk-card .label {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.risk-card .val {
  font-family: "PT Serif", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--warn);
}

/* ---------- coverage (icon row) ---------- */
.cover {
  padding: 60px 0 20px;
}
.cover h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 700;
  margin: 0 0 36px;
  text-align: center;
}
.cover-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cover-card {
  text-align: center;
  padding: 0 10px;
}
.cover-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  color: var(--navy);
}
.cover-card .icon svg {
  width: 100%;
  height: 100%;
}
.cover-card .n {
  font-family: "Public Sans", sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.cover-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- why AXA / video ---------- */
.why {
  padding: 50px 0 70px;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.why h2 {
  font-size: clamp(21px, 2.8vw, 27px);
  font-weight: 700;
  margin: 0 0 22px;
}
.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px -22px rgba(0, 26, 112, 0.35);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #111;
  cursor: pointer;
}
.video-facade img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.video-facade:hover img {
  transform: scale(1.015);
}
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  border-radius: 10px;
  background: #ff0033;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%);
}
.video-play::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 13px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid #fff;
}
.video-frame noscript a {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}
.why-reasons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why-reason {
  background: var(--grey-bg);
  border-radius: 8px;
  padding: 20px 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why-reason .num {
  font-family: "PT Serif", serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.why-reason h3 {
  font-size: 14.5px;
  font-weight: 800;
  margin: 0 0 6px;
}
.why-reason p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- trust strip ---------- */
.trust {
  background: var(--navy);
  color: #fff;
  padding: 44px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-item b {
  display: block;
  font-family: "PT Serif", serif;
  font-size: 26px;
  font-weight: 700;
}
.trust-item span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- faq ---------- */
.faq {
  padding: 60px 0 70px;
}
.faq h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 22px;
}
details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
details:last-child {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14.5px;
}
summary::-webkit-details-marker {
  display: none;
}
summary .plus2 {
  font-size: 19px;
  color: var(--navy);
  transition: 0.2s;
  font-weight: 400;
}
details[open] summary .plus2 {
  transform: rotate(45deg);
}
details p {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 620px;
}

footer {
  background: var(--grey-bg);
  color: var(--ink-soft);
  padding: 26px 0;
  font-size: 11.5px;
  line-height: 1.7;
}

@supports (content-visibility: auto) {
  .risk,
  .cover,
  .why,
  .trust,
  .faq,
  footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 650px;
  }
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 12px;
  font-weight: 600;
}
.footer-links a:hover {
  color: var(--navy-deep);
}
.footer-operator {
  font-size: 11px;
  color: var(--ink-soft);
  margin: 0;
}
.footer-disclaimer {
  margin: 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 24px rgba(11, 19, 48, 0.08);
  padding: 16px 0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.cookie-banner.is-visible {
  transform: translateY(0);
}
.cookie-banner .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner p {
  margin: 0;
  font-size: 13px;
  color: var(--ink);
  flex: 1;
  min-width: 240px;
  line-height: 1.5;
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}
.cookie-btn-reject {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.cookie-btn-accept {
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--navy);
}

@media (max-width: 820px) {
  .field-row {
    grid-template-columns: 1fr;
  }
  .risk-grid,
  .cover-grid,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-bottom: 170px;
  }
  .calc-shell {
    margin-top: -120px;
  }
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
  .cookie-banner .wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
  }
}

/* ---------- site header / mobile nav ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  gap: 24px;
  /* padding: 0; */
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  left: 0;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle::before {
  content: "";
  width: 20px;
  height: 14px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px
    no-repeat;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}
.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 12px 0 18px;
}
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav a {
  display: block;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: var(--grey-bg);
}
.mobile-nav.is-open {
  display: block;
}
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* ---------- content / legal pages ---------- */
.content-page {
  min-height: 60vh;
}
.content-hero {
  background: var(--grey-bg);
  border-bottom: 1px solid var(--line);
  padding: 48px 0 40px;
}
.content-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}
.content-hero p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.6;
}
.content-main {
  padding: 48px 0 72px;
}
.prose {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}
.prose h2,
.prose h3,
.prose h4 {
  font-family: "PT Serif", serif;
  color: var(--ink);
  line-height: 1.25;
  margin: 2em 0 0.75em;
}
.prose h2 {
  font-size: 1.5rem;
}
.prose h3 {
  font-size: 1.25rem;
}
.prose h4 {
  font-size: 1.05rem;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1em;
}
.prose ul,
.prose ol {
  padding-left: 1.25em;
}
.prose a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 14px;
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.sourceCopy {
  max-width: 100%;
}
.sourceCopy > :first-child {
  margin-top: 0;
}
.leadText {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
}
.contact-form {
  margin: 24px 0 32px;
  padding: 24px;
  background: var(--grey-bg);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-field {
  display: grid;
  gap: 7px;
}
.form-field--wide {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 13px;
  font-weight: 700;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(11, 19, 48, 0.3);
  border-radius: 3px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.form-field textarea {
  resize: vertical;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
  font-size: 13px;
}
.form-consent input {
  flex: 0 0 auto;
  margin-top: 4px;
}
.form-submit {
  min-width: 130px;
}
.legal-note {
  color: var(--ink-soft);
  font-size: 13px;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--grey-bg);
  font-weight: 700;
}

/* ---------- cookie modal ---------- */
.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}
.cookie-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}
.cookie-overlay[hidden] {
  display: none !important;
}
.cookie-dialog {
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.98);
  display: flex;
  flex-direction: column;
  width: min(768px, calc(100% - 32px));
  max-height: min(714px, calc(100dvh - 32px));
  background: #fff;
  border: 0;
  border-radius: 2px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}
.cookie-dialog.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-dialog[hidden] {
  display: none !important;
}
.cookie-close {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 1px solid #e1e1e1;
  border-radius: 2px;
  background: #fff;
  color: #666;
  cursor: pointer;
  font: 700 22px/1 Arial, sans-serif;
}
.cookie-modal-header {
  flex: 0 0 84px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #e1e1e1;
}
.cookie-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  overflow: hidden;
  background: #08089f;
  color: #fff;
  font-size: 29px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -4px;
}
.cookie-logo::after {
  content: "";
  position: absolute;
  top: 15px;
  left: -8px;
  width: 110px;
  height: 3px;
  background: #ff1721;
  transform: rotate(-52deg);
}
.cookie-logo span {
  position: relative;
  z-index: 1;
}
.cookie-modal-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 8px 30px 80px;
}
.cookie-modal-intro {
  text-align: center;
}
.cookie-modal-intro h2 {
  margin: 0 0 18px;
  color: #111;
  font-family: Arial, sans-serif;
  font-size: 24px;
  line-height: 1.2;
}
.cookie-dialog p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}
.cookie-policy-link {
  display: inline-block;
  margin: 12px 0 24px;
  color: #08089f;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-btn {
  min-height: 38px;
  border-radius: 2px;
  text-transform: uppercase;
}
.cookie-accept-all {
  display: block;
  width: min(356px, 100%);
  margin: 0 auto 18px;
  background: #08089f;
  border: 2px solid #08089f;
  color: #fff;
}
.cookie-categories {
  border: 1px solid #d8d8d8;
  text-align: left;
}
.cookie-category {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 49px;
  border-bottom: 1px solid #d8d8d8;
}
.cookie-category:last-child {
  border-bottom: 0;
}
.cookie-category-button {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: #08089f;
  cursor: pointer;
  font: 700 12px/1.35 Arial, sans-serif;
  text-align: left;
  text-transform: uppercase;
}
.cookie-category-plus {
  flex: 0 0 auto;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}
.cookie-category-button[aria-expanded="true"] .cookie-category-plus {
  transform: rotate(45deg);
}
.cookie-required {
  padding: 8px 12px;
  color: #08089f;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.cookie-category-panel {
  grid-column: 1 / -1;
  padding: 0 46px 12px;
}
.cookie-category-panel p {
  font-size: 12px;
}
.cookie-switch {
  position: relative;
  display: block;
  width: 42px;
  height: 22px;
  margin: 0 9px;
}
.cookie-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.cookie-switch > span:last-child {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: #858585;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cookie-switch > span:last-child::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}
.cookie-switch input:checked + span {
  background: #42895c;
}
.cookie-switch input:checked + span::after {
  transform: translateX(20px);
}
.cookie-switch input:focus-visible + span {
  outline: 2px solid #08089f;
  outline-offset: 2px;
}
.cookie-modal-footer {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  padding: 14px 38px;
  border-top: 1px solid #e1e1e1;
  background: #fff;
}
.cookie-modal-footer .cookie-btn {
  background: #08089f;
  border: 2px solid #08089f;
  color: #fff;
}
body.cookie-open {
  overflow: hidden;
}

/* ---------- form success modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 26, 112, 0.55);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}
.modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}
.modal-overlay[hidden] {
  display: none !important;
}
.success-modal {
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.97);
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 34px 32px 32px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 14px 40px rgba(0, 18, 80, 0.28);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}
.success-modal.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.success-modal[hidden] {
  display: none !important;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  font: 700 22px/1 "Public Sans", sans-serif;
}
.modal-close:hover {
  color: var(--navy);
}
.success-modal-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.success-modal-title {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.25;
}
.success-modal-text {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
.success-modal-action {
  min-width: 160px;
  padding: 13px 24px;
  font-size: 13px;
}
body.modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .site-header .phone {
    display: none;
  }
  .cookie-dialog {
    max-height: calc(100dvh - 20px);
  }
  .cookie-dialog.is-visible {
    transform: translate(-50%, -50%) scale(1);
  }
  .cookie-modal-scroll {
    padding-right: 20px;
    padding-left: 20px;
  }
  .cookie-modal-footer {
    gap: 18px;
    padding: 12px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .cookie-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
  }
  .cookie-modal-header {
    flex-basis: 64px;
  }
  .cookie-logo {
    width: 64px;
    height: 64px;
    font-size: 23px;
  }
  .cookie-modal-scroll {
    padding: 8px 14px 24px;
  }
  .cookie-modal-intro h2 {
    padding: 0 32px;
    font-size: 20px;
  }
  .cookie-dialog p {
    font-size: 13px;
  }
  .cookie-category {
    grid-template-columns: minmax(0, 1fr) 54px;
  }
  .cookie-category-button {
    gap: 9px;
    padding-left: 9px;
    font-size: 10.5px;
  }
  .cookie-required {
    padding-right: 7px;
    padding-left: 0;
    font-size: 9px;
    white-space: normal;
  }
  .cookie-category-panel {
    padding-left: 34px;
  }
  .cookie-modal-footer {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 14px;
  }
  .success-modal {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    padding: 30px 20px 24px;
  }
  .success-modal-title {
    font-size: 20px;
  }
  .success-modal-action {
    width: 100%;
  }
}

@media (max-height: 620px) {
  .cookie-modal-header {
    flex-basis: 58px;
  }
  .cookie-logo {
    width: 58px;
    height: 58px;
    font-size: 21px;
  }
  .cookie-modal-scroll {
    padding-bottom: 20px;
  }
  .cookie-modal-intro h2 {
    margin-bottom: 10px;
  }
  .cookie-policy-link {
    margin: 8px 0 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-dialog,
  .cookie-overlay,
  .success-modal,
  .modal-overlay,
  .cookie-category-plus,
  .cookie-switch > span:last-child,
  .cookie-switch > span:last-child::after {
    transition: none;
  }
}
