/* ==========================================================================\n   Alarmas Aerocomercial · Landing unificada v1.3.4-R2\n   Frontend rediseñado. Backend de cotizaciones, folios, Sheets, correo y GTM\n   permanece desacoplado y reutiliza el formulario existente.\n   ========================================================================== */

body.landing-alarmas-v2 {
  --brand: #004fb1;
  --brand-700: #003f91;
  --brand-800: #073c7a;
  --brand-light: #5fcaf4;
  --brand-100: #e6f1ff;
  --brand-50: #f3f8ff;
  --brand-border: #a9c9ef;
  --brand-border-strong: #79aee7;
  --ink: #073d85;
  --body: #174f92;
  --muted: #6b86a6;
  --line: #d7e6f5;
  --line-strong: #bdd4eb;
  --soft: #eef6ff;
  --deep: #073b78;
  --deep-900: #153e72;
  --shadow-brand: 0 10px 24px rgba(0, 79, 177, .20);
  --container: 1480px;
  color: #0b3f80;
  background: #fff;
}

body.landing-alarmas-v2 main { overflow: hidden; }
body.landing-alarmas-v2 img { width: 100%; }

/* Header */
body.landing-alarmas-v2 .landing-header {
  height: 92px;
  border: 0;
  box-shadow: 0 1px 0 rgba(0, 79, 177, .08);
  background: rgba(255, 255, 255, .98);
}
body.landing-alarmas-v2 .landing-header__shell {
  height: 92px;
  gap: 28px;
}
body.landing-alarmas-v2 .landing-brand img {
  width: 340px;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.wa-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  color: #073d85;
  background: #ffd92f;
  border: 1px solid #ffd92f;
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  box-shadow: 0 8px 20px rgba(255, 208, 0, .18);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.wa-cta:hover {
  transform: translateY(-1px);
  background: #ffe24f;
  box-shadow: 0 10px 24px rgba(255, 208, 0, .26);
}
.wa-badge {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  padding: 5px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 2px 6px rgba(19, 126, 66, .18);
}
body.landing-alarmas-v2 .wa-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wa-badge--small { width: 30px; height: 30px; flex-basis: 30px; padding: 4px; }

/* Hero */
.landing-hero { padding: 22px 0 8px; background: #fff; }
.landing-hero__link {
  display: block;
  overflow: hidden;
  border-radius: 0;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(7, 61, 133, .06);
}
.landing-hero__link img {
  display: block;
  aspect-ratio: 8 / 3;
  object-fit: cover;
}

/* Títulos */
.landing-heading {
  text-align: center;
  margin: 0 auto 26px;
}
.landing-heading h1,
.landing-heading h2 {
  margin: 0;
  color: #0054bd;
  font-size: clamp(34px, 3.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 900;
}
.landing-heading p {
  margin: 8px 0 0;
  color: #0054bd;
  font-size: clamp(20px, 1.75vw, 31px);
  line-height: 1.15;
  font-weight: 900;
}

/* Hogar / negocio */
.space-section { padding: 22px 0 24px; }
.space-shell { max-width: 1180px; }
.protection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
}
.protection-card {
  display: block;
  overflow: hidden;
  border-radius: 19px;
  background: #f3f8ff;
  box-shadow: 0 4px 14px rgba(0, 79, 177, .08);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.protection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 79, 177, .15);
}
.protection-card img { aspect-ratio: 3 / 2; object-fit: cover; }

/* Todo bajo control */
.control-section { padding: 18px 0 44px; }
.control-shell { max-width: 1120px; }
.landing-heading--control { margin-bottom: 24px; }
.landing-heading--control h2 { font-size: clamp(32px, 3vw, 48px); }
.control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.control-item {
  min-height: 245px;
  padding: 8px 24px 18px;
  text-align: center;
  border-right: 1px solid #a8c8eb;
}
.control-item:last-child { border-right: 0; }
.control-icon {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border: 2px solid #0b57b7;
  border-radius: 50%;
  color: #0054bd;
  background: #fff;
}
.control-icon .ui-icon { width: 59px; height: 59px; stroke-width: 1.55; }
.control-item h3 {
  margin: 0 0 7px;
  color: #0054bd;
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.control-item p {
  max-width: 230px;
  margin: 0 auto;
  color: #0752ad;
  font-size: 17px;
  line-height: 1.27;
  font-weight: 800;
}
.control-cta { display: flex; justify-content: center; margin-top: 20px; }
.wa-cta--section { min-height: 50px; padding-inline: 23px; font-size: 17px; }

/* Imagen previa al formulario */
.preform-section { padding: 8px 0 20px; }
.preform-shell { max-width: 1460px; }
.preform-shell img {
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 19 / 4;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 79, 177, .08);
}

/* Formulario único */
.quote-section { padding: 0 0 26px; scroll-margin-top: 105px; }
.quote-panel {
  width: min(calc(100% - 32px), 1000px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .85fr);
  gap: 38px;
  padding: 32px 36px;
  border-radius: 18px;
  background: #eef5ff;
  box-shadow: 0 7px 24px rgba(0, 79, 177, .07);
}
.quote-panel__form { min-width: 0; }
.quote-panel__heading { margin-bottom: 18px; }
.quote-panel__heading h2 {
  margin: 0 0 8px;
  color: #0054bd;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.quote-panel__heading p {
  margin: 0;
  color: #0752ad;
  font-size: 16px;
  font-weight: 800;
}
.quote-panel .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}
.quote-panel .field { gap: 4px; }
.quote-panel .field > span,
.quote-panel .protect-type legend {
  color: #3171bb;
  font-size: 12px;
}
.quote-panel .field input {
  height: 45px;
  border: 1px solid #fff;
  border-radius: 0;
  color: #073d85;
  background: #fff;
  font-size: 14px;
}
.quote-panel .field input:focus { border-color: #8db8e8; box-shadow: 0 0 0 3px rgba(0, 79, 177, .09); }
.quote-panel .protect-type { margin-top: 12px; }
.quote-panel .property-option span {
  height: 43px;
  border-radius: 8px;
  color: #0752ad;
  border-color: #c3d9f0;
  background: #fff;
}
.quote-panel .property-option input:checked + span {
  color: #004fb1;
  border-color: #004fb1;
  background: #f8fbff;
}
.quote-panel .consent-row { margin-top: 13px; color: #356392; font-size: 11.5px; }
.quote-panel .consent-row a { color: #004fb1; }
.quote-panel .lead-form .btn-primary {
  min-height: 43px;
  margin-top: 12px;
  border-radius: 999px;
  color: #fff;
  background: #0057c7;
  box-shadow: none;
  font-size: 14px;
}
.quote-panel .lead-form .btn-primary:hover { background: #0049a8; }
.quote-panel .lead-form .btn-primary:disabled { background: #7da8d8; opacity: .72; }
.quote-panel .form-notes { margin-top: 9px; }
.quote-panel .form-note { color: #7188a4; font-size: 9.5px; }
.quote-panel .form-status { border-radius: 8px; }

.quote-panel__aside {
  position: relative;
  min-height: 310px;
  padding: 30px 24px 24px 38px;
  border-left: 1px solid #9bbde4;
  color: #0752ad;
}
.quote-panel__types { display: flex; gap: 10px; margin-bottom: 18px; }
.quote-panel__types span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #1970c8;
}
.quote-panel__types .ui-icon { width: 29px; height: 29px; }
.quote-panel__aside h3 {
  margin: 0 0 16px;
  color: #0054bd;
  font-size: 23px;
  line-height: 1.1;
}
.quote-panel__aside > p {
  max-width: 270px;
  margin: 0;
  color: #0752ad;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
}
.quote-panel__signature {
  position: absolute;
  right: 18px;
  bottom: 20px;
  color: #1c71c9;
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: 24px;
  line-height: 1.25;
  text-align: center;
  transform: rotate(-7deg);
}

/* Footer compacto · mismo lenguaje visual de Hogar / Negocio */
body.landing-alarmas-v2 .landing-footer {
  padding: 24px 0;
  color: #fff;
  background: #1d477c;
}
body.landing-alarmas-v2 .landing-footer__shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
}
body.landing-alarmas-v2 .landing-footer__brand {
  display: inline-flex;
  width: auto;
  flex: 0 1 auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
body.landing-alarmas-v2 .landing-footer__brand img {
  display: block;
  width: 340px;
  max-width: min(52vw, 340px);
  height: auto;
  object-fit: contain;
}
body.landing-alarmas-v2 .landing-footer__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex: 0 0 auto;
}
body.landing-alarmas-v2 .landing-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}
body.landing-alarmas-v2 .landing-footer__links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.landing-alarmas-v2 .facebook-link span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1d477c;
  background: #fff;
  font-size: 23px;
  line-height: 1;
  font-family: Arial, sans-serif;
  font-weight: 900;
  text-decoration: none;
}

/* Back to top adapts to ADT blue */
body.landing-alarmas-v2 .back-to-top { border-color: #0054bd; background: #0054bd; }
body.landing-alarmas-v2 .back-to-top:hover { border-color: #003f91; background: #003f91; }
body.landing-alarmas-v2 .back-to-top__icon { color: #0054bd; }

@media (max-width: 1100px) {
  body.landing-alarmas-v2 .landing-brand img { width: 300px; }
  .protection-grid { gap: 26px; }
  .control-item { padding-inline: 14px; }
  .control-item h3 { font-size: 20px; }
  .control-item p { font-size: 15px; }
  .quote-panel { grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); }
}

@media (max-width: 860px) {
  body.landing-alarmas-v2 .landing-header,
  body.landing-alarmas-v2 .landing-header__shell { height: 76px; }
  body.landing-alarmas-v2 .landing-brand img { width: 230px; }
  .wa-cta--header { min-height: 46px; padding-inline: 16px; font-size: 14px; }
  .wa-cta--header .wa-badge { width: 29px; height: 29px; flex-basis: 29px; }
  .wa-cta--header .wa-badge img { width: 100%; height: 100%; }
  .landing-hero { padding-top: 14px; }
  .protection-grid { gap: 18px; }
  .control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .control-item:nth-child(2) { border-right: 0; }
  .control-item:nth-child(3), .control-item:nth-child(4) { border-top: 1px solid #a8c8eb; padding-top: 24px; }
  .quote-panel { grid-template-columns: 1fr; gap: 24px; }
  .quote-panel__aside {
    min-height: 230px;
    padding: 24px 20px 28px;
    border-left: 0;
    border-top: 1px solid #9bbde4;
  }
  .quote-panel__signature { right: 28px; bottom: 28px; }
  body.landing-alarmas-v2 .landing-footer__brand img { width: 300px; max-width: 48vw; }
}

@media (max-width: 620px) {
  body.landing-alarmas-v2 .container { width: min(calc(100% - 20px), var(--container)); }
  body.landing-alarmas-v2 .landing-header,
  body.landing-alarmas-v2 .landing-header__shell { height: 68px; }
  body.landing-alarmas-v2 .landing-header__shell { gap: 10px; }
  body.landing-alarmas-v2 .landing-brand { flex: 1 1 auto; min-width: 0; }
  body.landing-alarmas-v2 .landing-brand img { width: 178px; }
  .wa-cta--header { min-height: 40px; padding: 0 12px; font-size: 12px; gap: 7px; }
  .wa-cta--header .wa-badge { width: 25px; height: 25px; flex-basis: 25px; }
  .wa-cta--header .wa-badge img { width: 100%; height: 100%; }
  .landing-hero { padding: 10px 0 5px; }
  .landing-hero__link { border-radius: 0; }
  .landing-hero__link img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 29% center;
  }
  .space-section { padding-top: 20px; }
  .landing-heading { margin-bottom: 18px; }
  .landing-heading h1,
  .landing-heading h2 { font-size: 31px; }
  .landing-heading p { font-size: 19px; }
  .protection-grid { grid-template-columns: 1fr; gap: 18px; }
  .protection-card { border-radius: 15px; }
  .control-section { padding-top: 10px; }
  .control-grid { grid-template-columns: 1fr; }
  .control-item,
  .control-item:nth-child(2),
  .control-item:nth-child(3),
  .control-item:nth-child(4) {
    min-height: auto;
    padding: 18px 10px 22px;
    border-right: 0;
    border-top: 1px solid #c4daf1;
  }
  .control-item:first-child { border-top: 0; }
  .control-icon { width: 86px; height: 86px; margin-bottom: 10px; }
  .control-icon .ui-icon { width: 49px; height: 49px; }
  .control-item h3 { font-size: 21px; }
  .control-item p { font-size: 15px; }
  .wa-cta--section { min-height: 46px; padding-inline: 17px; font-size: 14px; }
  .preform-section { padding-top: 2px; }
  .preform-shell img {
    aspect-ratio: 16 / 7;
    object-position: center;
    border-radius: 13px;
  }
  .quote-section { scroll-margin-top: 78px; }
  .quote-panel {
    width: min(calc(100% - 20px), 1000px);
    padding: 24px 18px;
    border-radius: 14px;
  }
  .quote-panel__heading h2 { font-size: 27px; }
  .quote-panel__heading p { font-size: 14px; }
  .quote-panel .form-grid { grid-template-columns: 1fr; }
  .quote-panel__aside { min-height: 255px; }
  .quote-panel__signature { font-size: 21px; right: 18px; bottom: 24px; }
  body.landing-alarmas-v2 .landing-footer { padding: 20px 0; }
  body.landing-alarmas-v2 .landing-footer__shell { gap: 18px; }
  body.landing-alarmas-v2 .landing-footer__brand img { width: 240px; max-width: 55vw; }
  body.landing-alarmas-v2 .landing-footer__links { gap: 14px; }
  body.landing-alarmas-v2 .landing-footer__links a { font-size: 12px; }
  body.landing-alarmas-v2 .facebook-link span { width: 30px; height: 30px; font-size: 20px; }
}

@media (max-width: 480px) {
  body.landing-alarmas-v2 .landing-footer__shell {
    gap: 12px;
  }
  body.landing-alarmas-v2 .landing-footer__brand img {
    width: 205px;
    max-width: 58vw;
  }
  body.landing-alarmas-v2 .landing-footer__links {
    gap: 10px;
  }
  body.landing-alarmas-v2 .landing-footer__links a {
    font-size: 11px;
  }
  body.landing-alarmas-v2 .facebook-link span {
    width: 28px;
    height: 28px;
    font-size: 19px;
  }
}

@media (max-width: 390px) {
  body.landing-alarmas-v2 .landing-footer__shell {
    flex-direction: column;
    align-items: flex-start;
  }
  body.landing-alarmas-v2 .landing-footer__brand img {
    width: 220px;
    max-width: 100%;
  }
  body.landing-alarmas-v2 .landing-footer__links {
    width: 100%;
    justify-content: flex-start;
  }
  body.landing-alarmas-v2 .landing-brand img { width: 152px; }
  .wa-cta--header { padding-inline: 9px; font-size: 11px; }
  .wa-cta--header .wa-badge { display: none; }
  .landing-hero__link img { object-position: 26% center; }
  .quote-panel__aside { min-height: 275px; }
}



/* ==========================================================================\n   Responsive reforzado · v1.3.4-R2\n   Conserva completas las piezas gráficas que ya contienen texto y CTA.\n   ========================================================================== */
body.landing-alarmas-v2 {
  overflow-x: clip;
}
body.landing-alarmas-v2 img {
  max-width: 100%;
  height: auto;
}
body.landing-alarmas-v2 .landing-header__shell > *,
body.landing-alarmas-v2 .landing-footer__shell > *,
.quote-panel > * {
  min-width: 0;
}
.wa-cta {
  max-width: 100%;
}
.wa-cta--header > span:last-child {
  min-width: 0;
  white-space: nowrap;
}
.landing-heading h1,
.landing-heading h2,
.landing-heading p {
  text-wrap: balance;
  overflow-wrap: anywhere;
}

/* Tablet horizontal / laptops compactas */
@media (max-width: 1180px) {
  body.landing-alarmas-v2 .landing-header__shell,
  body.landing-alarmas-v2 .landing-hero__shell,
  body.landing-alarmas-v2 .preform-shell,
  body.landing-alarmas-v2 .landing-footer__shell {
    width: min(calc(100% - 32px), var(--container));
  }
  .landing-heading h1,
  .landing-heading h2 {
    letter-spacing: -.032em;
  }
}

/* Tablet vertical */
@media (max-width: 860px) {
  body.landing-alarmas-v2 .landing-header,
  body.landing-alarmas-v2 .landing-header__shell {
    height: auto;
    min-height: 76px;
  }
  body.landing-alarmas-v2 .landing-header__shell {
    padding-block: 8px;
  }
  body.landing-alarmas-v2 .landing-brand img {
    width: clamp(205px, 31vw, 250px);
    max-height: 58px;
  }
  .wa-cta--header {
    flex: 0 1 auto;
    max-width: 245px;
  }
  .landing-hero__link img {
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 3;
    object-fit: contain;
    object-position: center;
  }
  .protection-grid {
    gap: 20px;
  }
  .quote-panel {
    width: min(calc(100% - 32px), 920px);
  }
}

/* Tarjetas en una sola columna cuando ya no conservan una lectura cómoda */
@media (max-width: 700px) {
  .protection-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
  .protection-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
  }
}

/* Móviles */
@media (max-width: 620px) {
  body.landing-alarmas-v2 .container,
  body.landing-alarmas-v2 .landing-header__shell,
  body.landing-alarmas-v2 .landing-hero__shell,
  body.landing-alarmas-v2 .preform-shell,
  body.landing-alarmas-v2 .landing-footer__shell {
    width: min(calc(100% - 20px), var(--container));
  }

  body.landing-alarmas-v2 .landing-header,
  body.landing-alarmas-v2 .landing-header__shell {
    height: auto;
    min-height: 66px;
  }
  body.landing-alarmas-v2 .landing-header__shell {
    gap: 8px;
    padding-block: 7px;
  }
  body.landing-alarmas-v2 .landing-brand {
    flex: 1 1 48%;
  }
  body.landing-alarmas-v2 .landing-brand img {
    width: clamp(145px, 42vw, 190px);
    max-height: 50px;
  }
  .wa-cta--header {
    flex: 0 1 auto;
    min-height: 40px;
    max-width: 205px;
    padding-inline: clamp(9px, 2.8vw, 13px);
    gap: 7px;
    font-size: clamp(11px, 3vw, 13px);
    line-height: 1.05;
  }
  .wa-cta--header .wa-badge {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
    padding: 4px;
  }

  .landing-hero {
    padding: 10px 0 4px;
  }
  .landing-hero__link {
    box-shadow: 0 3px 12px rgba(7, 61, 133, .06);
  }
  .landing-hero__link img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
  }

  .space-section {
    padding: 20px 0 18px;
  }
  .landing-heading {
    max-width: 100%;
    margin-bottom: 16px;
    padding-inline: 4px;
  }
  .landing-heading h1,
  .landing-heading h2 {
    font-size: clamp(27px, 7.6vw, 32px);
    line-height: 1.06;
    letter-spacing: -.028em;
  }
  .landing-heading p {
    margin-top: 6px;
    font-size: clamp(16px, 4.8vw, 20px);
    line-height: 1.18;
  }

  .protection-grid {
    gap: 16px;
  }
  .protection-card {
    border-radius: 14px;
  }

  .control-section {
    padding: 12px 0 32px;
  }
  .control-grid {
    row-gap: 0;
  }
  .control-item,
  .control-item:nth-child(2),
  .control-item:nth-child(3),
  .control-item:nth-child(4) {
    padding-inline: 8px;
  }
  .control-cta {
    margin-top: 16px;
    padding-inline: 4px;
  }
  .wa-cta--section {
    width: auto;
    max-width: min(100%, 360px);
    min-height: 46px;
    padding: 8px 16px;
    white-space: normal;
    text-align: center;
    line-height: 1.12;
  }

  .preform-section {
    padding: 2px 0 16px;
  }
  .preform-shell img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
  }

  .quote-section {
    padding-bottom: 22px;
  }
  .quote-panel {
    width: min(calc(100% - 20px), 1000px);
    gap: 18px;
    padding: 22px 16px;
  }
  .quote-panel__heading h2 {
    font-size: clamp(24px, 7vw, 28px);
  }
  .quote-panel .field input {
    min-width: 0;
    font-size: 16px; /* Evita zoom automático de Safari/iOS al enfocar */
  }
  .quote-panel__aside {
    min-height: 0;
    padding: 22px 8px 8px;
  }
  .quote-panel__types {
    justify-content: center;
  }
  .quote-panel__aside h3,
  .quote-panel__aside > p {
    max-width: 100%;
    text-align: center;
  }
  .quote-panel__signature {
    position: static;
    margin: 24px auto 4px;
    font-size: 20px;
    transform: rotate(-4deg);
  }

  body.landing-alarmas-v2 .landing-footer {
    padding: 18px 0;
  }
  body.landing-alarmas-v2 .landing-footer__shell {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }
  body.landing-alarmas-v2 .landing-footer__brand img {
    width: min(280px, 82vw);
    max-width: 100%;
  }
  body.landing-alarmas-v2 .landing-footer__links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 16px;
  }
  body.landing-alarmas-v2 .landing-footer__links a {
    font-size: 12px;
  }

  body.landing-alarmas-v2 .back-to-top {
    right: 14px;
    bottom: 14px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 50%;
  }
  body.landing-alarmas-v2 .back-to-top > span:last-child {
    display: none;
  }
  body.landing-alarmas-v2 .back-to-top__icon {
    width: 26px;
    height: 26px;
  }
}

/* Móviles compactos */
@media (max-width: 390px) {
  body.landing-alarmas-v2 .landing-header__shell {
    gap: 6px;
  }
  body.landing-alarmas-v2 .landing-brand img {
    width: clamp(128px, 41vw, 150px);
  }
  .wa-cta--header {
    min-height: 38px;
    padding-inline: 8px;
    gap: 6px;
    font-size: 10.75px;
  }
  .wa-cta--header .wa-badge {
    display: grid;
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }
  .landing-heading h1,
  .landing-heading h2 {
    font-size: clamp(25px, 7.8vw, 29px);
  }
  .landing-heading p {
    font-size: clamp(15px, 4.8vw, 18px);
  }
  .wa-cta--header > span:last-child {
    white-space: normal;
    text-align: center;
  }
  .quote-panel {
    padding-inline: 14px;
  }
}

/* 320–340 px: prioriza que el header nunca provoque scroll horizontal */
@media (max-width: 340px) {
  body.landing-alarmas-v2 .landing-brand img {
    width: 125px;
  }
  .wa-cta--header {
    max-width: 145px;
    font-size: 10.5px;
  }
  .wa-cta--header .wa-badge {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
  .wa-cta--header .wa-badge {
    display: none;
  }
  .wa-cta--header > span:last-child {
    white-space: normal;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-cta, .protection-card { transition: none; }
}
