:root {
  --ink: #111318;
  --muted: #5d6574;
  --line: #dfe4ee;
  --surface: #ffffff;
  --soft: #f4f7fc;
  --blue: #003e9d;
  --blue-dark: #002b73;
  --yellow: #ff1228;
  --red: #ff1228;
  --red-dark: #c90017;
  --green: #25d366;
  --shadow: 0 18px 46px rgba(0, 34, 84, 0.14);
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 202px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  background: var(--surface);
}

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

button,
input,
select {
  font: inherit;
}

img,
svg {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue-dark);
  border-radius: 8px;
  transform: translateY(-140%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 64px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 34px rgba(0, 34, 84, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  font-weight: 800;
}

.brand-logo,
.footer-logo {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  padding: 4px;
  box-shadow: 0 10px 24px rgba(0, 34, 84, 0.16);
}

.footer-logo {
  width: 210px;
  height: 210px;
}

.brand-logo {
  width: 160px;
  height: 160px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: currentColor;
  font-size: 12px;
  opacity: 0.8;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  opacity: 0.9;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

.nav-cta {
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--red);
}

.menu-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #071225;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 14, 34, 0.94) 0%, rgba(0, 43, 115, 0.8) 48%, rgba(255, 18, 40, 0.2) 100%),
    url("../assets/hero-comparendos-grupo-vial.webp") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 86%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  min-height: 620px;
  margin: 0 auto;
  padding: 212px 0 112px;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section .eyebrow,
.discount-band .eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 13px;
  border: 1px solid rgba(255, 18, 40, 0.22);
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 8px 20px rgba(201, 0, 23, 0.2);
}

.discount-band .eyebrow::before {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
  content: "";
}

.hero h1,
.section-title h2,
.discount-band h2,
.cta-strip h2 {
  margin: 12px 0 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(36px, 5.3vw, 64px);
}

.hero p {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.1;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 14px 30px rgba(255, 18, 40, 0.22);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-secondary {
  color: var(--blue-dark);
  background: var(--soft);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-full {
  width: 100%;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-row span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.quote-panel,
.calc-card,
.info-card,
.benefit-card,
.deadline-card,
.scope-grid article,
.location-card,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.quote-panel {
  color: var(--ink);
  padding: 22px;
}

.lead-section {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 64px 0 82px;
  background: linear-gradient(180deg, #f7f9fd 0%, #fff 100%);
}

.quote-panel-wide {
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
  padding: 20px;
  border-color: rgba(0, 62, 157, 0.2);
  box-shadow: 0 20px 50px rgba(0, 34, 84, 0.16);
}

.form-intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 12px;
}

.form-intro p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.panel-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.panel-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 0 6px rgba(255, 210, 26, 0.18);
}

.quote-panel h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 22px;
  line-height: 1.15;
}

.lead-form,
.form-field {
  display: grid;
  gap: 5px;
}

.lead-form {
  gap: 8px;
}

.form-progress {
  display: grid;
  grid-template-columns: auto minmax(24px, 1fr) auto minmax(24px, 1fr) auto;
  align-items: center;
  max-width: 720px;
  margin: 2px auto 10px;
}

.form-progress-item {
  display: grid;
  gap: 5px;
  justify-items: center;
  color: var(--muted);
  text-align: center;
}

.form-progress-item span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.form-progress-item strong {
  font-size: 10px;
}

.form-progress-item.is-active,
.form-progress-item.is-complete {
  color: var(--blue-dark);
}

.form-progress-item.is-active span {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(255, 18, 40, 0.12);
  transform: scale(1.08);
}

.form-progress-item.is-complete span {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.form-progress-line {
  height: 2px;
  margin: 0 8px 16px;
  background: var(--line);
}

.form-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 10px;
  margin: 0;
  padding: 10px 12px 12px;
  border: 1px solid rgba(0, 62, 157, 0.16);
  border-top: 2px solid var(--blue);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff 0%, #f5f8fd 100%);
  box-shadow: 0 5px 14px rgba(0, 34, 84, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.form-section[hidden] {
  display: none;
}

.form-section.is-active {
  animation: form-step-enter 240ms ease both;
}

@keyframes form-step-enter {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-step-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.lead-form:not([data-current-step="2"]) .form-footer {
  display: none;
}

.form-section:focus-within {
  border-color: rgba(0, 62, 157, 0.5);
  box-shadow: 0 12px 28px rgba(0, 43, 115, 0.11);
  transform: translateY(-2px);
}

.form-section legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
}

.form-section legend span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
}

.span-2 {
  grid-column: 1 / -1;
}

.span-3 {
  grid-column: 1 / -1;
}

.form-section-contact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-submit {
  display: flex;
  justify-content: flex-end;
}

.form-submit .btn {
  width: min(100%, 360px);
}

.form-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  gap: 16px;
  align-items: center;
}

.form-footer-action {
  display: grid;
  gap: 4px;
}

label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.required-mark {
  color: var(--yellow);
}

.form-field.has-value label {
  color: var(--blue);
}

.form-field.has-value input,
.form-field.has-value select {
  border-color: rgba(0, 62, 157, 0.45);
  background: #fafdff;
}

.booking-section {
  background:
    radial-gradient(circle at 95% 0%, rgba(0, 62, 157, 0.08), transparent 28%),
    linear-gradient(145deg, #fff 0%, #f5f8fd 100%);
}

.booking-preview {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px dashed rgba(0, 62, 157, 0.28);
  border-radius: 8px;
  background: rgba(0, 62, 157, 0.05);
}

.booking-preview-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.booking-preview strong,
.booking-preview p {
  display: block;
  margin: 0;
}

.booking-preview strong {
  color: var(--blue-dark);
  font-size: 13px;
}

.booking-preview p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.booking-preview.is-complete {
  border-style: solid;
  border-color: rgba(0, 62, 157, 0.42);
  background: rgba(0, 62, 157, 0.09);
}

.booking-preview.is-complete .booking-preview-icon {
  background: var(--red);
}

input,
select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

input:hover,
select:hover {
  border-color: #b5bfd1;
}

input:focus,
select:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 62, 157, 0.1);
}

input:focus,
select:focus,
summary:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(255, 210, 26, 0.9);
  outline-offset: 3px;
}

input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--red);
}

.error-message {
  min-height: 0;
  color: var(--red-dark);
  font-size: 11px;
  font-weight: 700;
}

.error-message:empty {
  display: none;
}

.check-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.check-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.fine-print,
.alert-text {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.section,
.discount-band {
  padding: 82px 0;
}

.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.section-muted {
  background: linear-gradient(180deg, #f7f9fd 0%, var(--soft) 100%);
}

.discount-band {
  background: #fff;
}

.fine-visual { position: relative; min-height: 240px; margin-top: 34px; padding: 18px 42px 28px 10px; }
.fine-paper { position: relative; padding: 25px 28px 28px; border: 1px solid rgba(0, 62, 157, 0.15); border-radius: 14px; background: #fff; box-shadow: 0 24px 55px rgba(0, 43, 115, 0.14); transform: rotate(-2deg); }
.fine-paper::before { position: absolute; inset: 8px; border: 1px dashed rgba(0, 62, 157, 0.14); border-radius: 9px; content: ""; pointer-events: none; }
.fine-paper-head { position: relative; display: flex; align-items: center; justify-content: space-between; color: var(--blue-dark); font-size: 14px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.fine-paper-head i { width: 54px; height: 10px; border-radius: 999px; background: var(--red); }
.fine-paper-lines { position: relative; display: grid; gap: 8px; margin: 24px 0 30px; }
.fine-paper-lines span { height: 6px; border-radius: 999px; background: #e7edf7; }
.fine-paper-lines span:nth-child(2) { width: 82%; }
.fine-paper-lines span:nth-child(3) { width: 62%; }
.fine-route { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fine-route > span { display: grid; justify-items: center; gap: 6px; color: var(--blue-dark); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.fine-route b { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 12px; }
.fine-route i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--red) 0 8px, transparent 8px 13px); }
.saving-stamp { position: absolute; right: 0; bottom: 0; display: grid; align-content: center; justify-items: center; width: 148px; aspect-ratio: 1; border: 5px solid var(--red); border-radius: 50%; color: var(--red); text-align: center; background: #fff; box-shadow: 0 18px 36px rgba(201, 0, 23, 0.2); transform: rotate(7deg); }
.saving-stamp::before { position: absolute; inset: 6px; border: 2px dashed var(--red); border-radius: 50%; content: ""; }
.saving-stamp > * { position: relative; z-index: 1; }
.saving-stamp span { max-width: 100px; font-size: 9px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.saving-stamp strong { font-size: 48px; line-height: 0.95; }
.saving-stamp small { font-size: 21px; }

.calculator,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 36px;
  align-items: start;
}

.discount-band h2,
.section-title h2,
.cta-strip h2 {
  color: var(--blue-dark);
  font-size: clamp(30px, 4vw, 46px);
}

.discount-band p,
.section-title p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.calc-card {
  display: grid;
  gap: 15px;
  padding: 24px;
}

.calc-card > div:not(.discount-outcome) {
  display: grid;
  gap: 6px;
}

.calc-card label span,
.calc-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.calculator-benefits {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.calculator-benefits li {
  position: relative;
  padding-left: 24px;
  line-height: 1.5;
}

.calculator-benefits li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--red);
  content: "✓";
  font-weight: 900;
}

.discount-outcome {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(0, 62, 157, 0.2);
  border-radius: 8px;
  background: var(--soft);
}

.discount-outcome[hidden],
.calc-result[hidden] {
  display: none;
}

.discount-outcome > strong {
  color: var(--blue-dark);
  font-size: 18px;
}

.discount-outcome > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.discount-outcome .btn {
  margin-top: 4px;
  color: #fff;
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 10px 22px rgba(201, 0, 23, 0.24);
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.discount-outcome .btn:hover,
.discount-outcome .btn:focus-visible {
  color: #fff;
  background: var(--red-dark);
  box-shadow: 0 14px 28px rgba(201, 0, 23, 0.32);
  transform: translateY(-2px);
}

.calc-result {
  display: grid;
  gap: 10px;
  margin: 0;
}

.calc-result div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.calc-result dt,
.calc-result dd {
  margin: 0;
}

.calc-result dt {
  color: var(--muted);
  font-weight: 700;
}

.calc-result dd {
  color: var(--blue-dark);
  font-weight: 900;
  text-align: right;
}

.alert-text,
.notice.warning {
  color: #4b3200;
  background: #fff7d1;
  border-color: #f2d36b;
}

.section-title {
  max-width: 800px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-title.align-left {
  margin: 0;
  text-align: left;
}

.feature-grid,
.deadline-grid,
.list-grid,
.scope-grid,
.location-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.course-experience {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(244, 183, 0, 0.13), transparent 24%),
    #fff;
}

.course-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
}

.course-photo {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--blue-dark);
  box-shadow: 0 30px 70px rgba(0, 43, 115, 0.24);
}

.course-photo::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(1, 17, 46, 0.9) 100%);
  content: "";
}

.course-photo::after {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  width: 76px;
  height: 8px;
  border-radius: 999px;
  background: #f4b700;
  content: "";
}

.course-photo img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: 58% center;
  transition: transform 700ms ease;
}

.course-photo:hover img {
  transform: scale(1.025);
}

.course-photo figcaption {
  position: absolute;
  z-index: 3;
  right: 34px;
  bottom: 32px;
  left: 34px;
  display: grid;
  gap: 6px;
  color: #fff;
}

.course-photo figcaption strong {
  max-width: 520px;
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.12;
}

.course-photo figcaption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.course-content .section-title {
  margin-bottom: 28px;
}

.course-topics {
  display: grid;
  gap: 2px;
  margin-bottom: 28px;
}

.course-topics article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.course-topics article > span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.course-topics h3 {
  margin: 0 0 4px;
  color: var(--blue-dark);
  font-size: 18px;
}

.course-topics p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.feature-grid.compact,
.list-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid.compact .benefit-card:nth-last-child(2) {
  grid-column: 2;
}

.deadline-grid,
.scope-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.deadline-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.deadline-grid-four .deadline-card {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: 270px;
  text-align: center;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease,
    transform 180ms ease;
}

.deadline-grid-four .deadline-card:hover,
.deadline-grid-four .deadline-card:focus-visible {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 22px 44px rgba(0, 43, 115, 0.24);
  outline: none;
  transform: translateY(-6px);
}

.deadline-grid-four .deadline-card:hover h3,
.deadline-grid-four .deadline-card:hover .discount-number,
.deadline-grid-four .deadline-card:hover .discount-label,
.deadline-grid-four .deadline-card:hover p,
.deadline-grid-four .deadline-card:focus-visible h3,
.deadline-grid-four .deadline-card:focus-visible .discount-number,
.deadline-grid-four .deadline-card:focus-visible .discount-label,
.deadline-grid-four .deadline-card:focus-visible p {
  color: #fff;
}

.deadline-grid-four .deadline-card h3 {
  margin: 0 0 18px;
}

.deadline-grid-four .deadline-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.deadline-card-featured {
  z-index: 1;
  min-height: 288px;
  border: 2px solid var(--red);
  box-shadow: 0 20px 42px rgba(0, 43, 115, 0.18);
  transform: scale(1.04);
}

.deadline-grid-four .deadline-card-featured:hover,
.deadline-grid-four .deadline-card-featured:focus-visible {
  border-color: var(--red);
  background: var(--red);
  transform: scale(1.04) translateY(-6px);
}

.discount-number {
  color: var(--blue-dark);
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1;
}

.discount-label {
  margin-top: 8px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.deadline-notes {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 28px auto 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.deadline-notes li::before {
  margin-right: 8px;
  color: var(--red);
  content: "—";
  font-weight: 900;
}

.info-card,
.benefit-card,
.deadline-card,
.scope-grid article,
.location-card {
  padding: 24px;
}

.info-card svg {
  width: 42px;
  height: 42px;
  fill: var(--red);
}

.info-card h3,
.benefit-card h3,
.deadline-card h3,
.scope-grid h3,
.location-card h3,
.timeline h3 {
  margin: 14px 0 8px;
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1.25;
}

.info-card p,
.benefit-card p,
.timeline p,
.faq-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.notice,
.inline-cta {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(0, 62, 157, 0.18);
  border-radius: 8px;
  color: var(--blue-dark);
  background: #eef5ff;
  font-weight: 800;
  line-height: 1.55;
}

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
}

.inline-cta.full {
  grid-column: 1 / -1;
}

.deadline-head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.deadline-head h3 {
  margin: 0;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 8px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.deadline-head strong {
  color: var(--blue-dark);
  font-size: 21px;
  line-height: 1.25;
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li,
.list-grid span {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.timeline span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--red);
  font-weight: 900;
}

.list-grid span {
  min-height: 98px;
  color: var(--blue-dark);
  font-weight: 800;
  line-height: 1.45;
}

.list-grid span::before {
  content: "";
  display: block;
  width: 30px;
  height: 4px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--red);
}

.benefit-card {
  border-top: 5px solid var(--red);
}

.visual-gallery { color: #fff; background: radial-gradient(circle at 90% 5%, rgba(255, 18, 40, 0.22), transparent 25%), #061a3d; }
.gallery-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); align-items: end; gap: 40px; margin-bottom: 32px; }
.gallery-heading h2 { max-width: 720px; margin: 12px 0 0; color: #fff; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.06; }
.gallery-heading p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 17px; line-height: 1.65; }
.gallery-mosaic { display: grid; grid-template-columns: 1.25fr 0.75fr 0.75fr; grid-template-rows: repeat(2, 230px); gap: 14px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: var(--blue-dark); }
.gallery-item-main { grid-row: 1 / 3; }
.gallery-item:nth-child(4) { grid-column: 2 / 4; }
.gallery-item::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(2, 16, 42, 0.9) 100%); content: ""; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; z-index: 1; right: 20px; bottom: 18px; left: 20px; color: #fff; font-size: 15px; font-weight: 900; line-height: 1.3; }
.gallery-disclaimer { margin: 14px 0 0; color: rgba(255, 255, 255, 0.55); font-size: 11px; text-align: right; }

.scope-grid article:first-child {
  border-top: 5px solid var(--blue);
}

.scope-grid article:last-child {
  border-top: 5px solid var(--red);
}

.is-hidden {
  display: none;
}

.location-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.location-card {
  width: 100%;
  max-width: none;
}

.location-card:not(.location-card-upcoming) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  grid-template-areas:
    "title title"
    "details map"
    "actions map";
  gap: 0 18px;
  align-items: start;
}

.location-card:not(.location-card-upcoming) > h3 {
  grid-area: title;
}

.location-card:not(.location-card-upcoming) > dl {
  grid-area: details;
}

.location-card:not(.location-card-upcoming) > .card-actions {
  grid-area: actions;
}

.location-map {
  grid-area: map;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.location-card-upcoming {
  position: relative;
  display: grid;
  overflow: hidden;
  align-content: center;
  justify-items: center;
  min-height: 100%;
  border: 2px dashed rgba(0, 62, 157, 0.3);
  text-align: center;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 18, 40, 0.12), transparent 26%),
    linear-gradient(145deg, #f7faff 0%, #fff 70%);
}

.location-card-upcoming::before {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(0, 62, 157, 0.08);
  content: "";
}

.coming-soon-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.upcoming-location-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 18px;
  background: rgba(0, 62, 157, 0.1);
}

.upcoming-location-icon svg {
  width: 34px;
  fill: var(--blue);
}

.location-card-upcoming p {
  max-width: 460px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.upcoming-location-line {
  display: flex;
  gap: 6px;
  margin-top: 20px;
}

.upcoming-location-line span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.upcoming-location-line span:nth-child(2) {
  background: var(--red);
}

.location-card-upcoming .card-actions {
  justify-content: center;
}

.location-card dl,
.footer p {
  margin: 0;
}

.location-card dl {
  display: grid;
  gap: 10px;
}

.location-card dl > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
}

.location-card dt {
  color: var(--muted);
  font-weight: 800;
}

.location-card dd {
  margin: 0;
}

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

.faq-visual-column {
  position: static;
}

.faq-visual-column .section-title {
  margin-bottom: 24px;
}

.faq-support-image {
  width: min(100%, 500px);
  height: 300px;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--blue-dark);
  box-shadow: 0 20px 46px rgba(0, 43, 115, 0.17);
}

.faq-support-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transition: transform 600ms ease;
}

.faq-support-image:hover img {
  transform: scale(1.025);
}

.faq-layout > .inline-cta.full {
  margin-top: 4px;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--blue-dark);
  font-size: 17px;
  font-weight: 900;
}

summary::marker {
  color: var(--red);
}

summary::-webkit-details-marker {
  color: var(--red);
}

details p {
  padding: 0 20px 18px;
}

.footer {
  padding: 48px 0;
  color: #d7e1f5;
  background: #061226;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
}

.footer strong {
  display: block;
  margin-top: 10px;
  color: #fff;
}

.footer a {
  display: block;
  margin: 0 0 8px;
  color: #fff;
  font-weight: 700;
}

.footer p {
  margin-bottom: 8px;
  line-height: 1.55;
}

.legal-note {
  font-size: 13px;
}

.legal-page {
  min-height: 100vh;
  background: var(--soft);
}

.legal-page h1 {
  margin: 28px 0 18px;
  color: var(--blue-dark);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
}

.legal-page p {
  max-width: 840px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.whatsapp-float {
  position: fixed;
  right: auto;
  bottom: 20px;
  left: 20px;
  z-index: 25;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.35);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: #fff;
}

.vial-chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.vial-chat-panel {
  display: none;
  width: min(360px, calc(100vw - 32px));
  height: min(510px, calc(100vh - 120px));
  overflow: hidden;
  border: 1px solid rgba(0, 62, 157, 0.2);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(3, 14, 34, 0.25);
}

.vial-chat.is-open .vial-chat-panel {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
}

.vial-chat-header {
  display: grid;
  grid-template-columns: 42px 1fr 34px;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  color: #fff;
  background: var(--blue-dark);
}

.vial-chat-header img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  object-position: center 43%;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #d7e1f5;
}

.vial-chat-header strong,
.vial-chat-header span {
  display: block;
}

.vial-chat-header strong {
  font-size: 15px;
}

.vial-chat-header span {
  margin-top: 2px;
  color: #d7e1f5;
  font-size: 11px;
}

.vial-chat-header button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.vial-chat-header button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.vial-chat-body {
  display: flex;
  overflow-y: auto;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: #f4f7fc;
}

.chat-message {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-line;
}

.chat-message-assistant {
  align-self: flex-start;
  color: var(--ink);
  background: #fff;
  border-bottom-left-radius: 3px;
  box-shadow: 0 4px 12px rgba(0, 34, 84, 0.08);
}

.chat-message-user {
  align-self: flex-end;
  color: #fff;
  background: var(--blue);
  border-bottom-right-radius: 3px;
}

.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chat-options button {
  padding: 7px 10px;
  border: 1px solid rgba(0, 62, 157, 0.25);
  border-radius: 999px;
  color: var(--blue-dark);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.chat-options button:hover,
.chat-options button:focus-visible {
  color: #fff;
  background: var(--blue);
}

.vial-chat-compose {
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.vial-chat-compose input {
  min-height: 38px;
}

.vial-chat-compose button {
  width: 40px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--red);
  font-size: 20px;
  cursor: pointer;
}

.vial-chat-note {
  margin: 0;
  padding: 0 12px 10px;
  color: var(--muted);
  background: #fff;
  font-size: 9px;
  text-align: center;
}

.vial-chat-launcher {
  position: relative;
  display: grid;
  width: 68px;
  height: 68px;
  padding: 0;
  place-items: center;
  align-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-dark);
  box-shadow: 0 14px 32px rgba(0, 43, 115, 0.3);
  cursor: pointer;
}

.vial-chat-launcher::before {
  position: absolute;
  right: 78px;
  width: max-content;
  max-width: 150px;
  padding: 9px 12px;
  border: 1px solid rgba(0, 62, 157, 0.18);
  border-radius: 10px 10px 2px 10px;
  color: var(--blue-dark);
  background: #fff;
  box-shadow: 0 8px 22px rgba(3, 14, 34, 0.16);
  content: "¿Necesitas ayuda?";
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
}

.vial-chat-launcher:hover::before,
.vial-chat-launcher:focus-visible::before {
  color: #fff;
  background: var(--blue);
}

.vial-chat-launcher img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  object-position: center 43%;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #d7e1f5;
}

.vial-chat-launcher strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.vial-chat.is-open .vial-chat-launcher {
  display: none;
}

.effects-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 560ms ease var(--reveal-delay, 0ms),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.effects-ready .reveal-on-scroll.reveal-from-left {
  transform: translateX(-28px);
}

.effects-ready .reveal-on-scroll.reveal-from-right {
  transform: translateX(28px);
}

.effects-ready .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.effects-ready .deadline-card.reveal-on-scroll {
  transition-duration: 900ms, 900ms;
}

.effects-ready .deadline-card.reveal-on-scroll.is-visible:hover,
.effects-ready .deadline-card.reveal-on-scroll.is-visible:focus-visible {
  transform: translateY(-6px);
}

.effects-ready .deadline-card-featured.reveal-on-scroll.is-visible {
  transform: scale(1.04);
}

.effects-ready .deadline-card-featured.reveal-on-scroll.is-visible:hover,
.effects-ready .deadline-card-featured.reveal-on-scroll.is-visible:focus-visible {
  transform: scale(1.04) translateY(-6px);
}

.effects-ready .timeline li.reveal-on-scroll.is-visible span {
  animation: timeline-step-pop 420ms ease calc(var(--reveal-delay, 0ms) + 180ms) both;
}

@keyframes timeline-step-pop {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 18, 40, 0);
    transform: scale(0.8);
  }

  55% {
    box-shadow: 0 0 0 8px rgba(255, 18, 40, 0.14);
    transform: scale(1.08);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 18, 40, 0);
    transform: scale(1);
  }
}

.discount-outcome:not([hidden]) {
  animation: outcome-enter 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes outcome-enter {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.effects-ready .vial-chat-launcher {
  animation: assistant-attention 900ms ease 1.2s 3;
}

@keyframes assistant-attention {
  50% {
    box-shadow:
      0 14px 32px rgba(0, 43, 115, 0.3),
      0 0 0 10px rgba(255, 18, 40, 0.12);
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .effects-ready .reveal-on-scroll,
  .effects-ready .reveal-on-scroll.reveal-from-left,
  .effects-ready .reveal-on-scroll.reveal-from-right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .effects-ready .timeline li.reveal-on-scroll.is-visible span,
  .discount-outcome:not([hidden]),
  .effects-ready .vial-chat-launcher {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .nav {
    gap: 12px;
    font-size: 13px;
  }

  .feature-grid.compact,
  .list-grid,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid.compact .benefit-card:nth-last-child(2) {
    grid-column: auto;
  }

  .deadline-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .deadline-card-featured,
  .deadline-grid-four .deadline-card-featured:hover,
  .deadline-grid-four .deadline-card-featured:focus-visible,
  .effects-ready .deadline-card-featured.reveal-on-scroll.is-visible,
  .effects-ready .deadline-card-featured.reveal-on-scroll.is-visible:hover,
  .effects-ready .deadline-card-featured.reveal-on-scroll.is-visible:focus-visible {
    transform: none;
  }

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

  .nav a {
    padding: 13px;
  }

  .nav-cta {
    text-align: center;
  }
}

@media (max-width: 920px) {
  .hero-content,
  .calculator,
  .faq-layout,
  .deadline-grid,
  .location-grid,
  .scope-grid {
    grid-template-columns: 1fr;
  }

  .form-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .span-3 {
    grid-column: 1 / -1;
  }

  .hero-content {
    min-height: auto;
    padding-top: 212px;
  }

  .quote-panel {
    max-width: 620px;
  }

  .quote-panel-wide {
    max-width: none;
  }

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

  .form-section-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-showcase {
    grid-template-columns: 1fr;
  }

  .faq-support-image {
    width: 100%;
    max-width: none;
    height: 340px;
  }

  .gallery-heading { grid-template-columns: 1fr; gap: 14px; }
  .gallery-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 360px repeat(2, 220px); }
  .gallery-item-main { grid-column: 1 / -1; grid-row: auto; }
  .gallery-item:nth-child(4) { grid-column: 1 / -1; }

  .course-photo,
  .course-photo img {
    min-height: 500px;
    height: 500px;
  }
}

.road-safety-visual {
  position: relative;
  min-height: 390px;
  margin: 30px 0 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--blue-dark);
  box-shadow: 0 24px 56px rgba(0, 43, 115, 0.2);
}

.road-safety-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 20, 50, 0.92) 0%, rgba(2, 20, 50, 0.45) 48%, transparent 78%);
  content: "";
}

.road-safety-visual img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: 60% 42%;
}

.road-safety-visual figcaption {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: clamp(24px, 5vw, 62px);
  display: grid;
  gap: 12px;
  max-width: 470px;
  color: #fff;
  transform: translateY(-50%);
}

.road-safety-visual figcaption span {
  color: #f4b700;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.road-safety-visual figcaption strong {
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.1;
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 182px;
  }

  .site-header {
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 144px;
    height: 144px;
  }

  .brand > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .hero-content {
    padding-top: 192px;
  }

  .brand small {
    display: none;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(3, 14, 34, 0.95) 0%, rgba(0, 43, 115, 0.88) 56%, rgba(3, 14, 34, 0.7) 100%),
      url("../assets/hero-comparendos-grupo-vial.webp") 66% center / cover no-repeat;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .fine-visual { min-height: 218px; padding-right: 28px; }
  .fine-paper { padding: 22px 20px 24px; }
  .saving-stamp { width: 118px; }
  .saving-stamp strong { font-size: 38px; }

  .faq-support-image {
    height: 260px;
  }

  .gallery-mosaic { grid-template-columns: 1fr; grid-template-rows: repeat(4, 250px); }
  .gallery-item-main,
  .gallery-item:nth-child(4) { grid-column: auto; }
  .gallery-disclaimer { text-align: left; }

  .course-photo,
  .course-photo img {
    min-height: 430px;
    height: 430px;
  }

  .course-photo figcaption {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }

  .road-safety-visual,
  .road-safety-visual img {
    min-height: 420px;
    height: 420px;
  }

  .road-safety-visual::after {
    background: linear-gradient(180deg, rgba(2, 20, 50, 0.08) 25%, rgba(2, 20, 50, 0.94) 86%);
  }

  .road-safety-visual figcaption {
    top: auto;
    right: 24px;
    bottom: 28px;
    left: 24px;
    transform: none;
  }

  .hero-actions,
  .trust-row,
  .form-section,
  .feature-grid,
  .feature-grid.compact,
  .list-grid,
  .timeline,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .span-2,
  .span-3 {
    grid-column: auto;
  }

  .hero-actions,
  .trust-row {
    display: grid;
  }

  .form-step-actions {
    flex-direction: column;
  }

  .form-progress-item strong {
    max-width: 76px;
    font-size: 9px;
  }

  .location-card:not(.location-card-upcoming) {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "details"
      "map"
      "actions";
    gap: 14px;
  }

  .location-map iframe {
    height: 180px;
  }

  .btn,
  .inline-cta .btn {
    width: 100%;
  }

  .quote-panel,
  .calc-card,
  .info-card,
  .benefit-card,
  .deadline-card,
  .scope-grid article,
  .location-card {
    padding: 20px;
  }

  .section,
  .discount-band {
    padding: 62px 0;
  }

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

  .location-card dl > div,
  .calc-result div {
    grid-template-columns: 1fr;
  }

  .calc-result div {
    display: grid;
  }

  .calc-result dd {
    text-align: left;
  }

  .whatsapp-float {
    right: auto;
    bottom: 16px;
    left: 16px;
  }

  .vial-chat {
    right: 16px;
    bottom: 16px;
  }

  .vial-chat-launcher::before {
    right: 74px;
    padding: 8px 10px;
    font-size: 11px;
  }
}

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