/* ================================================= */
/* RESET CSS */
/* ================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html,
body {
  overflow-x: hidden;
}

/* ================================================= */
/* VARIABLES DEL SITIO */
/* ================================================= */

:root {

  /* colores principales */

  --color-primario: #0b5ed7;
  --color-primario-hover: #084298;

  --color-texto: #333;
  --color-fondo: #ffffff;

  --color-borde: #eaeaea;

  /* layout */

  --max-width: 1200px;

}


/* ================================================= */
/* ESTILOS BASE */
/* ================================================= */

body {

  font-family: Arial, Helvetica, sans-serif;

  color: var(--color-texto);

  background: var(--color-fondo);

  line-height: 1.6;

}

/* ================================================= */
/* LAYOUT */
/* ================================================= */

main {
  padding-top: 80px;
}

.page-reveal-item {
  opacity: 0;
  visibility: hidden;
  transform: translateY(28px);
  transition:
    opacity 0.42s ease var(--page-reveal-delay, 0ms),
    transform 0.52s ease var(--page-reveal-delay, 0ms),
    visibility 0s linear calc(var(--page-reveal-delay, 0ms) + 0.52s);
  will-change: opacity, transform;
}

.page-reveal-item.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.42s ease var(--page-reveal-delay, 0ms),
    transform 0.52s ease var(--page-reveal-delay, 0ms),
    visibility 0s linear 0s;
}

.js-enhanced body.page-shell-loading #footer,
.js-enhanced body.page-shell-loading #whatsapp-float {
  opacity: 0;
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .page-reveal-item,
  .page-reveal-item.is-visible,
  .js-enhanced body.page-shell-loading #footer,
  .js-enhanced body.page-shell-loading #whatsapp-float {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
}

/* ================================================= */
/* CONTAINER DEL SITIO */
/* ================================================= */

.container {

  max-width: var(--max-width);

}


/* ================================================= */
/* HEADER */
/* ================================================= */

.site-header {
  background: white;
  border-bottom: 1px solid var(--color-borde);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgb(0, 0, 0);

}

/* altura fija del navbar */

.navbar {
  min-height: 80px;
  padding-top: 0;
  padding-bottom: 0;
}


/* centra logo y hamburguesa verticalmente */

.navbar-brand,
.navbar-toggler {

  height: 80px;

  display: flex;

  align-items: center;

}

/* ================================================= */
/* HEADER LAYOUT */
/* ================================================= */

.header-inner {
  display: flex;
  align-items: center;
}

.navbar-brand {
  flex: 0 0 auto;
  margin-right: 0;
}

#menuPrincipal {
  flex: 1 1 auto;
}

.menu-principal {
  width: 100%;
  display: flex;
  justify-content: center;
}

.header-spacer {
  flex: 0 0 auto;
  width: 140px;
  /* ajustar según el ancho visual del logo */
}

@media (max-width: 991.98px) {
  .header-spacer {
    display: none;
  }
}

/* ================================================= */
/* LOGO */
/* ================================================= */

.logo {

  height: 40px;

}


/* MENU PRINCIPAL */

.navbar .menu-principal .nav-link {

  color: var(--color-primario);
  font-weight: 500;
  padding: 18px 16px;
  position: relative;
  transition: all 0.25s ease;

}


/* ================================================= */
/* EFECTO BARRA SUPERIOR DEL MENU */
/* ================================================= */

.menu-principal .nav-link::before {

  content: "";

  position: absolute;

  top: 0;

  left: 0;

  width: 0;

  height: 3px;

  background: var(--color-primario);

  transition: width 0.25s ease;

}


.menu-principal .nav-link:hover::before {

  width: 100%;

}

/* Asegurar que la línea también aparezca en foco/activo y cuando
   el item está abierto por JS (.is-open) — útil en touch devices */
.menu-principal .nav-link:focus-visible::before,
.menu-principal .nav-link:active::before,
.menu-principal .nav-item.is-open > .nav-link::before,
.como-dropdown.is-open > .nav-link::before {
  width: 100%;
}


.menu-principal .nav-link:hover {

  color: var(--color-primario-hover);

}

.menu-principal .nav-link.active {
  color: var(--color-primario-hover);
  font-weight: 700;
}

.menu-principal .nav-link.active::before {
  width: 100%;
}

.menu-principal .nav-link-external::after {
  display: inline-block;
  content: "";
  margin-left: 0.35rem;
  width: 0.9em;
  height: 0.9em;
  vertical-align: -0.08em;
  background-color: currentColor;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 2.75h3.75V6.5'/%3E%3Cpath d='M13.25 2.75L7.5 8.5'/%3E%3Cpath d='M6.25 3.75h-1.5a1 1 0 0 0-1 1v6.5a1 1 0 0 0 1 1h6.5a1 1 0 0 0 1-1v-1.5'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.5 2.75h3.75V6.5'/%3E%3Cpath d='M13.25 2.75L7.5 8.5'/%3E%3Cpath d='M6.25 3.75h-1.5a1 1 0 0 0-1 1v6.5a1 1 0 0 0 1 1h6.5a1 1 0 0 0 1-1v-1.5'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.menu-principal .nav-link:focus-visible,
.menu-principal .dropdown-item:focus-visible {
  outline: 2px solid var(--color-primario);
  outline-offset: 2px;
}


/* ================================================= */
/* BOTON HAMBURGUESA */
/* ================================================= */

.navbar-toggler {

  border: none;

}

.navbar-toggler:focus {

  box-shadow: none;

}

.mobile-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--color-primario);
  cursor: pointer;
  touch-action: manipulation;
  position: relative;
  z-index: 1003;
}

.site-header.is-mobile-menu-open .mobile-menu-button {
  background: transparent;
}

.site-header.is-mobile-menu-open {
  z-index: 10000;
}

.site-header.is-mobile-menu-open #menuPrincipal {
  display: block !important;
  position: absolute !important;
  top: 72px;
  left: 0;
  right: 0;
  flex-basis: 100%;
  width: 100%;
  height: auto !important;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  padding: 10px 16px 14px;
  background: #ffffff;
  border-top: 1px solid var(--color-borde);
  box-shadow: none;
  z-index: 2147483000;
  animation: mobileMenuReveal 340ms ease both;
}

#menuPrincipal.is-mobile-open {
  display: block !important;
  position: absolute !important;
  top: 64px;
  left: 0;
  right: 0;
  width: 100%;
  height: auto !important;
  max-height: calc(100vh - 64px) !important;
  overflow-y: auto !important;
  padding: 10px 16px 14px;
  background: #ffffff;
  border-top: 1px solid var(--color-borde);
  box-shadow: none;
  z-index: 2147483000;
  animation: mobileMenuReveal 340ms ease both;
}

.site-header.is-mobile-menu-open .menu-principal {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: nowrap;
  width: 100%;
  gap: 0;
}

.site-header.is-mobile-menu-open .menu-principal,
#menuPrincipal.is-mobile-open .menu-principal {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: nowrap;
  width: 100%;
  gap: 0;
}

.site-header.is-mobile-menu-open .menu-principal .nav-item {
  width: 100%;
}

.site-header.is-mobile-menu-open .menu-principal .nav-item,
#menuPrincipal.is-mobile-open .menu-principal .nav-item {
  width: 100%;
}

.site-header.is-mobile-menu-open .menu-principal .nav-link {
  display: block;
  width: 100%;
  padding: 13px 0;
  color: var(--color-primario);
  white-space: normal;
}

.site-header.is-mobile-menu-open .menu-principal .nav-link,
#menuPrincipal.is-mobile-open .menu-principal .nav-link {
  display: block;
  width: 100%;
  padding: 13px 0;
  color: var(--color-primario) !important;
  white-space: normal;
}

#menuPrincipal.is-mobile-open .dropdown-item {
  color: var(--color-primario) !important;
}

@keyframes mobileMenuReveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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


/* ================================================= */
/* RESPONSIVE */
/* ================================================= */

@media (max-width: 992px) {


  .menu-principal .nav-link {

    padding: 10px 0;

  }


  .logo {

    height: 34px;

  }

}

/* ================================================= */
/* DROPDOWN COMO FUNCIONA */
/* ================================================= */

.menu-como {
  position: relative;
}


/* FLECHA */

.flecha {

  display: inline-block;

  margin-left: 6px;

  width: 6px;

  height: 6px;

  border-right: 2px solid var(--color-primario);

  border-bottom: 2px solid var(--color-primario);

  transform: rotate(45deg);

  transition: transform 0.2s ease;

}


/* MENU DESPLEGABLE */

.menu-como .dropdown-menu {

  border: none;

  border-radius: 0;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);

  margin-top: 0;

}


/* ITEMS DEL MENU */

.menu-como .dropdown-item {

  color: var(--color-primario);

  padding: 10px 20px;

  font-weight: 500;

}


/* HOVER ITEM */

.menu-como .dropdown-item:hover {

  background: #f5f8ff;

  color: var(--color-primario-hover);

}


/* DESPLEGAR AL PASAR EL MOUSE */

@media (min-width: 992px) {

  .menu-como:hover .dropdown-menu {
    display: block;
  }

  .menu-como:hover .flecha {
    transform: rotate(-135deg);
  }

}

/* =============================== */
/* DROPDOWN "COMO FUNCIONA" */
/* =============================== */

.como-dropdown {
  position: relative;
}

/* FLECHA */

.arrow {
  display: inline-block;
  margin-left: 8px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #0b5ed7;
  border-bottom: 2px solid #0b5ed7;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

/* OCULTAR MENU */

.como-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  border: none;
  border-radius: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
}

@media (min-width: 992px) {
  .como-menu {
    border-radius: 0 0 18px 18px;
    overflow: hidden;
  }
}

/* ITEMS */

.como-menu .dropdown-item {
  color: #0b5ed7;
  padding: 10px 20px;
  font-weight: 500;
}

.como-menu .dropdown-item:hover {
  background: #f4f7ff;
  color: #084298;
}

.como-menu .dropdown-item.active {
  background: #f4f7ff;
  color: #084298;
  font-weight: 700;
}

/* MOSTRAR MENU (solo en dispositivos con hover real) */
@media (hover: hover) and (pointer: fine) {
  .como-dropdown:hover .como-menu {
    display: block !important;
  }

  .como-dropdown:hover .arrow {
    transform: rotate(-135deg);
  }
}

/* Mostrar y rotar también cuando se agrega la clase `.is-open`
   (usada por la lógica táctil para toggle por touch/click) */
.como-dropdown.is-open .como-menu {
  display: block !important;
}

.como-dropdown.is-open .arrow {
  transform: rotate(-135deg);
}

/* =========================
FOOTER
========================= */

.site-footer {
  background-color: #0b3b8f;
  color: #ffffff;
  padding-top: 40px;
}

.footer-disclaimer {
  margin-top: 22px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  box-shadow: 0 14px 32px rgba(4, 23, 57, 0.16);
}

.footer-disclaimer-text {
  margin: 0;
  max-width: 1080px;
  font-size: 13px;
  line-height: 1.55;
  color: #dfe8ff;
  text-align: center;
}

.footer-container {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) repeat(3, minmax(140px, 0.75fr)) minmax(340px, 1.9fr);
  gap: 24px;
  align-items: start;
}

/* Enlace del logo: mantiene area clickeable limpia */
.footer-logo-link {
  display: inline-block;
}

.footer-col h4 {
  font-size: 17px;
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #d6e1ff;
  text-decoration: none;
  transition: color .2s;
}

/* Estado de foco visible para navegacion con teclado */
.site-footer a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
  border-radius: 4px;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-brand img {
  max-width: 160px;
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.footer-brand p {
  color: #d6e1ff;
  font-size: 13px;
  margin: 0;
}

/* Nombre explicito para facilitar futuras ediciones */
.footer-description {
  max-width: 280px;
}

/* CTA discreto, alineado con un footer simple y profesional */
.footer-cta {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background-color .2s, border-color .2s;
}

.footer-cta:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.65);
}

/* Contacto con labels visuales sutiles */
.footer-contact li {
  color: #d6e1ff;
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.footer-col-contact {
  min-width: 0;
}

.footer-contact-label {
  color: #ffffff;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 40px;
  padding: 20px 0;
  font-size: 14px;
  color: #d6e1ff;
}

/* Subfooter en dos zonas: copy + enlaces legales */
.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-copy {
  margin: 0;
}

.footer-legal {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
}

.footer-legal a {
  color: #d6e1ff;
  text-decoration: none;
  transition: color .2s;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* TABLET */
@media (max-width: 1199.98px) {
  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 991.98px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

/* MOBILE */
@media (max-width: 767.98px) {
  .site-footer {
    padding-top: 28px;
  }

  .footer-disclaimer {
    margin-top: 18px;
    margin-bottom: 16px;
    padding: 9px 12px;
    border-radius: 10px;
  }

  .footer-disclaimer-text {
    font-size: 12px;
    line-height: 1.5;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col {
    text-align: left;
  }

  .footer-col h4 {
    margin-bottom: 12px;
    font-size: 17px;
  }

  .footer-description {
    max-width: none;
  }

  /* En mobile apilamos para mantener lectura clara */
  .footer-bottom-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .footer-bottom {
    margin-top: 28px;
    padding: 16px 0;
    font-size: 13px;
  }
}

/* =========================================================
   QUIENES SOMOS PAGE
   - Estilos encapsulados con prefijo .about-
   - No afecta otras paginas del sitio
========================================================= */

.about-page {
  background: #f4f7ff;
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
  background-image: linear-gradient(120deg, rgba(7, 39, 99, 0.84), rgba(11, 59, 143, 0.72)),
    url("../img/pages/quienes-somos/hero-quienes-somos.webp");
  background-size: cover;
  background-position: center;
}

.about-hero-content {
  max-width: 700px;
  color: #ffffff;
}

.about-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.about-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.about-section {
  padding: 72px 0;
}

.about-section-alt {
  background: linear-gradient(180deg, #edf3ff 0%, #f7f9ff 100%);
}

.about-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b3b8f;
}

.about-title {
  margin-bottom: 16px;
  color: #0d2a63;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.2;
}

.about-section p {
  color: #2d3f66;
}

.about-rounded-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(13, 42, 99, 0.14);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-stat-card {
  padding: 24px 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 143, 0.1);
  text-align: center;
}

.about-stat-number {
  margin: 0 0 6px;
  color: #0b3b8f;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
}

.about-stat-label {
  margin: 0;
  color: #41567f;
}

.about-pillar-card {
  height: 100%;
  padding: 22px 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 143, 0.1);
  box-shadow: 0 10px 22px rgba(13, 42, 99, 0.07);
}

.about-pillar-card i {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  background: #e9f0ff;
  color: #0b3b8f;
  font-size: 1.25rem;
}

.about-pillar-card h3 {
  margin-bottom: 10px;
  color: #0d2a63;
  font-size: 1.2rem;
}

.about-pillar-card p {
  margin: 0;
  color: #41567f;
}

.about-cta-band {
  background: #eaf1ff;
}

.about-cta-text {
  margin-bottom: 22px;
}

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

@media (max-width: 991.98px) {
  .about-hero {
    padding: 90px 0 70px;
  }

  .about-section {
    padding: 58px 0;
  }

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

@media (max-width: 767.98px) {
  .about-hero {
    padding: 78px 0 60px;
  }

  .about-kicker {
    margin-bottom: 10px;
  }

  .about-section {
    padding: 46px 0;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .about-pillar-card {
    padding: 18px;
  }
}

/* =========================================================
   PAGINA CONTACTO
   - Estilos encapsulados en .contact-
   - Usa el mismo lenguaje visual del hero form
========================================================= */

.contact-page {
  background: #f4f7ff;
}

.contact-hero {
  padding: 92px 0 56px;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
}

.contact-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e8f0ff;
  color: #0b3b8f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-hero-copy h1 {
  margin-bottom: 14px;
  color: #0d2a63;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.15;
}

.contact-hero-copy p {
  margin: 0;
  color: #2d3f66;
}

.contact-hero-highlights {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.contact-hero-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2d3f66;
}

.contact-hero-highlights i {
  color: #0b3b8f;
  font-size: 0.95rem;
}

.contact-hero-media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(13, 42, 99, 0.14);
}

.contact-form-section {
  padding: 0 0 76px;
}

.contact-form-card {
  max-width: none;
}

.contact-form-top {
  margin-bottom: 2px;
}

#contact-lead-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

#contact-lead-form input,
#contact-lead-form select,
#contact-lead-form textarea {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #b9bcc3;
  border-radius: 12px;
  background: #ffffff;
  color: #1d1d1f;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#contact-lead-form textarea {
  min-height: 110px;
  padding: 10px 12px;
  resize: vertical;
}

#contact-lead-form input[type="file"] {
  border-radius: 12px;
  padding: 8px 10px;
  min-height: 44px;
}

#contact-lead-form input::placeholder,
#contact-lead-form textarea::placeholder {
  color: #8c9198;
}

#contact-lead-form input:focus,
#contact-lead-form select:focus,
#contact-lead-form textarea:focus {
  border-color: #005eb8;
  box-shadow: 0 0 0 3px rgba(0, 94, 184, 0.12);
}

#contact-lead-form .is-invalid {
  border-color: #c62828;
}

.contact-side-card {
  padding: 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 143, 0.1);
  box-shadow: 0 12px 28px rgba(13, 42, 99, 0.08);
}

.contact-side-card img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 14px;
}

.contact-side-card h3 {
  margin-bottom: 10px;
  color: #0d2a63;
  font-size: 1.25rem;
}

.contact-side-card ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.contact-side-card li,
.contact-side-card p {
  color: #2d3f66;
}

.contact-side-card a {
  color: #0b3b8f;
  text-decoration: none;
}

.contact-side-card a:hover {
  text-decoration: underline;
}

@media (max-width: 991.98px) {
  .contact-hero {
    padding: 76px 0 42px;
  }

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

  .contact-form-section {
    padding-bottom: 60px;
  }
}

@media (max-width: 767.98px) {
  .contact-hero {
    padding: 62px 0 36px;
  }

  .contact-form-section {
    padding-bottom: 44px;
  }

  .contact-side-card {
    padding: 14px;
    border-radius: 16px;
  }
}

/* =========================================================
   PAGINA CERCOS ELECTRICOS
   - Estilos encapsulados con prefijo .fence-
   - No afecta otras paginas
========================================================= */

.fence-page {
  background: #f4f7ff;
}

.fence-hero {
  padding: 92px 0 68px;
}

.fence-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: center;
}

.fence-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e8f0ff;
  color: #0b3b8f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fence-hero-copy h1 {
  margin-bottom: 14px;
  color: #0d2a63;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  line-height: 1.15;
}

.fence-hero-copy p {
  margin: 0;
  color: #2d3f66;
}

.fence-hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fence-hero-media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(13, 42, 99, 0.14);
}

.fence-section {
  padding: 64px 0;
}

.fence-section-alt {
  background: linear-gradient(180deg, #edf3ff 0%, #f7f9ff 100%);
}

.fence-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b3b8f;
}

.fence-title {
  margin-bottom: 20px;
  color: #0d2a63;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  line-height: 1.2;
}

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

.fence-benefit-card {
  padding: 22px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 143, 0.1);
  box-shadow: 0 10px 22px rgba(13, 42, 99, 0.07);
}

.fence-benefit-card i {
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #e9f0ff;
  color: #0b3b8f;
  font-size: 1.2rem;
}

.fence-benefit-card h3 {
  margin-bottom: 8px;
  color: #0d2a63;
  font-size: 1.12rem;
}

.fence-benefit-card p {
  margin: 0;
  color: #3b4f77;
}

.fence-rounded-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(13, 42, 99, 0.14);
}

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

.fence-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #3b4f77;
}

.fence-feature-list i {
  color: #0b3b8f;
  margin-top: 2px;
}

.fence-process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fence-process-step {
  padding: 20px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 143, 0.1);
}

.fence-process-step span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e9f0ff;
  color: #0b3b8f;
  font-weight: 700;
}

.fence-process-step h3 {
  margin-bottom: 8px;
  color: #0d2a63;
  font-size: 1.08rem;
}

.fence-process-step p {
  margin: 0;
  color: #3b4f77;
}

.fence-cta-band {
  padding: 10px 0 74px;
}

.fence-cta-box {
  padding: 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0b3b8f, #0b5ed7);
  box-shadow: 0 14px 30px rgba(13, 42, 99, 0.2);
  text-align: center;
}

.fence-cta-box h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.fence-cta-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.fence-cta-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.fence-cta-actions .btn-outline-primary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
}

.fence-cta-actions .btn-outline-primary:hover {
  color: #0b3b8f;
  background: #ffffff;
  border-color: #ffffff;
}

@media (max-width: 991.98px) {
  .fence-hero {
    padding: 78px 0 54px;
  }

  .fence-hero-grid,
  .fence-benefits-grid,
  .fence-process-grid {
    grid-template-columns: 1fr;
  }

  .fence-section {
    padding: 52px 0;
  }
}

@media (max-width: 767.98px) {
  .fence-hero {
    padding: 64px 0 44px;
  }

  .fence-section {
    padding: 44px 0;
  }

  .fence-benefit-card,
  .fence-process-step,
  .fence-cta-box {
    padding: 18px;
  }

  .fence-cta-band {
    padding: 6px 0 46px;
  }
}

/* =========================================================
   PAGINA SISTEMAS DE CAMARAS
   - Estilos encapsulados con prefijo .camera-
   - No afecta otras paginas
========================================================= */

.camera-page {
  background: #f4f7ff;
}

.camera-hero {
  padding: 92px 0 68px;
}

.camera-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: center;
}

.camera-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e8f0ff;
  color: #0b3b8f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.camera-hero-copy h1 {
  margin-bottom: 14px;
  color: #0d2a63;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  line-height: 1.12;
}

.camera-hero-copy p {
  margin: 0;
  color: #2d3f66;
}

.camera-hero-highlights {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.camera-hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 143, 0.1);
  color: #23406f;
  font-size: 0.95rem;
}

.camera-hero-highlights i {
  color: #0b5ed7;
}

.camera-hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.camera-hero-media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(13, 42, 99, 0.14);
}

.camera-section {
  padding: 64px 0;
}

.camera-section-alt {
  background: linear-gradient(180deg, #edf3ff 0%, #f7f9ff 100%);
}

.camera-section-soft {
  background: #eef4ff;
}

.camera-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b3b8f;
}

.camera-title {
  margin-bottom: 20px;
  color: #0d2a63;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  line-height: 1.2;
}

.camera-benefits-grid,
.camera-cases-grid,
.camera-process-grid {
  display: grid;
  gap: 16px;
}

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

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

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

.camera-benefit-card,
.camera-case-card,
.camera-process-step {
  height: 100%;
  padding: 22px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 143, 0.1);
  box-shadow: 0 10px 22px rgba(13, 42, 99, 0.07);
}

.camera-benefit-card i {
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #e9f0ff;
  color: #0b3b8f;
  font-size: 1.2rem;
}

.camera-benefit-card h3,
.camera-case-card h3,
.camera-process-step h3 {
  margin-bottom: 8px;
  color: #0d2a63;
  font-size: 1.12rem;
}

.camera-benefit-card p,
.camera-case-card p,
.camera-process-step p {
  margin: 0;
  color: #41567f;
}

.camera-rounded-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(13, 42, 99, 0.14);
}

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

.camera-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #2d3f66;
}

.camera-feature-list i {
  margin-top: 2px;
  color: #0b5ed7;
}

.camera-process-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8f0ff;
  color: #0b3b8f;
  font-size: 1rem;
  font-weight: 700;
}

.camera-cta-band {
  padding: 0 0 76px;
}

.camera-cta-box {
  padding: 34px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0b3b8f 0%, #0b5ed7 100%);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(13, 42, 99, 0.16);
}

.camera-cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.2;
}

.camera-cta-box p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
}

.camera-cta-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.camera-cta-box .btn-outline-primary {
  border-color: rgba(255, 255, 255, 0.75);
  color: #ffffff;
}

.camera-cta-box .btn-outline-primary:hover {
  background: #ffffff;
  color: #0b3b8f;
  border-color: #ffffff;
}

@media (max-width: 991.98px) {
  .camera-hero {
    padding: 76px 0 52px;
  }

  .camera-hero-grid,
  .camera-cases-grid,
  .camera-process-grid {
    grid-template-columns: 1fr;
  }

  .camera-section {
    padding: 56px 0;
  }

  .camera-cta-band {
    padding-bottom: 60px;
  }
}

@media (max-width: 767.98px) {
  .camera-hero {
    padding: 62px 0 40px;
  }

  .camera-section {
    padding: 46px 0;
  }

  .camera-benefits-grid {
    grid-template-columns: 1fr;
  }

  .camera-benefit-card,
  .camera-case-card,
  .camera-process-step {
    padding: 18px;
  }

  .camera-hero-highlights span {
    width: 100%;
    justify-content: flex-start;
  }

  .camera-cta-box {
    padding: 28px 20px;
  }
}

/* =========================================================
   PAGINA DOMOTICA
   - Estilos encapsulados con prefijo .domotics-
   - No afecta otras paginas
========================================================= */

.domotics-page {
  background: #f4f7ff;
}

.domotics-hero {
  padding: 92px 0 68px;
}

.domotics-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: center;
}

.domotics-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e8f0ff;
  color: #0b3b8f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.domotics-hero-copy h1 {
  margin-bottom: 14px;
  color: #0d2a63;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  line-height: 1.12;
}

.domotics-hero-copy p {
  margin: 0;
  color: #2d3f66;
}

.domotics-hero-highlights {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.domotics-hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 143, 0.1);
  color: #23406f;
  font-size: 0.95rem;
}

.domotics-hero-highlights i {
  color: #0b5ed7;
}

.domotics-hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.domotics-hero-media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(13, 42, 99, 0.14);
}

.domotics-section {
  padding: 64px 0;
}

.domotics-section-alt {
  background: linear-gradient(180deg, #edf3ff 0%, #f7f9ff 100%);
}

.domotics-section-soft {
  background: #eef4ff;
}

.domotics-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b3b8f;
}

.domotics-title {
  margin-bottom: 20px;
  color: #0d2a63;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  line-height: 1.2;
}

.domotics-benefits-grid,
.domotics-cases-grid,
.domotics-process-grid {
  display: grid;
  gap: 16px;
}

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

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

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

.domotics-benefit-card,
.domotics-case-card,
.domotics-process-step,
.domotics-download-card {
  height: 100%;
  padding: 22px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 143, 0.1);
  box-shadow: 0 10px 22px rgba(13, 42, 99, 0.07);
}

.domotics-benefit-card i {
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #e9f0ff;
  color: #0b3b8f;
  font-size: 1.2rem;
}

.domotics-benefit-card h3,
.domotics-case-card h3,
.domotics-process-step h3 {
  margin-bottom: 8px;
  color: #0d2a63;
  font-size: 1.12rem;
}

.domotics-benefit-card p,
.domotics-case-card p,
.domotics-process-step p,
.domotics-download-card p {
  margin: 0;
  color: #41567f;
}

.domotics-rounded-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(13, 42, 99, 0.14);
}

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

.domotics-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #2d3f66;
}

.domotics-feature-list i {
  margin-top: 2px;
  color: #0b5ed7;
}

.domotics-process-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8f0ff;
  color: #0b3b8f;
  font-size: 1rem;
  font-weight: 700;
}

.domotics-download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.domotics-download-copy {
  max-width: 720px;
}

.domotics-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.domotics-cta-band {
  padding: 0 0 76px;
}

.domotics-cta-box {
  padding: 34px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0b3b8f 0%, #0b5ed7 100%);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(13, 42, 99, 0.16);
}

.domotics-cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.2;
}

.domotics-cta-box p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
}

.domotics-cta-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.domotics-cta-box .btn-outline-primary {
  border-color: rgba(255, 255, 255, 0.75);
  color: #ffffff;
}

.domotics-cta-box .btn-outline-primary:hover {
  background: #ffffff;
  color: #0b3b8f;
  border-color: #ffffff;
}

@media (max-width: 991.98px) {
  .domotics-hero {
    padding: 76px 0 52px;
  }

  .domotics-hero-grid,
  .domotics-cases-grid,
  .domotics-process-grid,
  .domotics-download-card {
    grid-template-columns: 1fr;
  }

  .domotics-download-card {
    display: grid;
  }

  .domotics-section {
    padding: 56px 0;
  }

  .domotics-cta-band {
    padding-bottom: 60px;
  }
}

@media (max-width: 767.98px) {
  .domotics-hero {
    padding: 62px 0 40px;
  }

  .domotics-section {
    padding: 46px 0;
  }

  .domotics-benefits-grid {
    grid-template-columns: 1fr;
  }

  .domotics-benefit-card,
  .domotics-case-card,
  .domotics-process-step,
  .domotics-download-card {
    padding: 18px;
  }

  .domotics-hero-highlights span {
    width: 100%;
    justify-content: flex-start;
  }

  .domotics-cta-box {
    padding: 28px 20px;
  }
}

/* =========================================================
   PAGINA SEGURIDAD COMUNITARIA
   - Estilos encapsulados con prefijo .community-
   - No afecta otras paginas
========================================================= */

.community-page {
  background: #f4f7ff;
}

.community-hero {
  padding: 92px 0 68px;
}

.community-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: center;
}

.community-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e8f0ff;
  color: #0b3b8f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.community-hero-copy h1 {
  margin-bottom: 14px;
  color: #0d2a63;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  line-height: 1.12;
}

.community-hero-copy p {
  margin: 0;
  color: #2d3f66;
}

.community-hero-highlights {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.community-hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 143, 0.1);
  color: #23406f;
  font-size: 0.95rem;
}

.community-hero-highlights i {
  color: #0b5ed7;
}

.community-hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.community-hero-media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(13, 42, 99, 0.14);
}

.community-section {
  padding: 64px 0;
}

.community-section-alt {
  background: linear-gradient(180deg, #edf3ff 0%, #f7f9ff 100%);
}

.community-section-soft {
  background: #eef4ff;
}

.community-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b3b8f;
}

.community-title {
  margin-bottom: 20px;
  color: #0d2a63;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  line-height: 1.2;
}

.community-benefits-grid,
.community-cases-grid,
.community-process-grid {
  display: grid;
  gap: 16px;
}

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

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

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

.community-benefit-card,
.community-case-card,
.community-process-step,
.community-model-card {
  height: 100%;
  padding: 22px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 143, 0.1);
  box-shadow: 0 10px 22px rgba(13, 42, 99, 0.07);
}

.community-benefit-card i {
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #e9f0ff;
  color: #0b3b8f;
  font-size: 1.2rem;
}

.community-benefit-card h3,
.community-case-card h3,
.community-process-step h3 {
  margin-bottom: 8px;
  color: #0d2a63;
  font-size: 1.12rem;
}

.community-benefit-card p,
.community-case-card p,
.community-process-step p,
.community-model-card p {
  margin: 0;
  color: #41567f;
}

.community-model-card p + p {
  margin-top: 12px;
}

.community-rounded-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(13, 42, 99, 0.14);
}

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

.community-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #2d3f66;
}

.community-feature-list i {
  margin-top: 2px;
  color: #0b5ed7;
}

.community-process-step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e8f0ff;
  color: #0b3b8f;
  font-size: 1rem;
  font-weight: 700;
}

.community-cta-band {
  padding: 0 0 76px;
}

.community-cta-box {
  padding: 34px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0b3b8f 0%, #0b5ed7 100%);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(13, 42, 99, 0.16);
}

.community-cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.2;
}

.community-cta-box p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
}

.community-cta-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.community-cta-box .btn-outline-primary {
  border-color: rgba(255, 255, 255, 0.75);
  color: #ffffff;
}

.community-cta-box .btn-outline-primary:hover {
  background: #ffffff;
  color: #0b3b8f;
  border-color: #ffffff;
}

@media (max-width: 991.98px) {
  .community-hero {
    padding: 76px 0 52px;
  }

  .community-hero-grid,
  .community-cases-grid,
  .community-process-grid {
    grid-template-columns: 1fr;
  }

  .community-section {
    padding: 56px 0;
  }

  .community-cta-band {
    padding-bottom: 60px;
  }
}

@media (max-width: 767.98px) {
  .community-hero {
    padding: 62px 0 40px;
  }

  .community-section {
    padding: 46px 0;
  }

  .community-benefits-grid {
    grid-template-columns: 1fr;
  }

  .community-benefit-card,
  .community-case-card,
  .community-process-step,
  .community-model-card {
    padding: 18px;
  }

  .community-hero-highlights span {
    width: 100%;
    justify-content: flex-start;
  }

  .community-cta-box {
    padding: 28px 20px;
  }
}

/* =========================================================
   HERO PRINCIPAL
   - Estructura global reutilizable
   - Imagen de fondo con recorte automático
   - Texto a la izquierda
   - Caja a la derecha
========================================================= */

.hero-page {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Overlay oscuro para mejorar lectura del texto */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.45) 35%,
      rgba(0, 0, 0, 0.30) 60%,
      rgba(0, 0, 0, 0.35) 100%);
  z-index: 1;
}

/* Contenedor interno del hero */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 40px;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Bloque de texto izquierdo */
.hero-text {
  color: #ffffff;
  max-width: 640px;
}

.hero-label {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-text h1 {
  margin: 0 0 20px;
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  color: #ffffff;
}

.hero-text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

/* Caja derecha que contiene el formulario del hero */
.hero-form-box {
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);

  width: clamp(320px, 30vw, 460px);
  margin-left: auto;

  min-height: 560px;
  overflow: hidden;
}


/* =========================================================
   HERO RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {
  .hero-page {
    min-height: 620px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 40px;
  }

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

  .hero-form-box {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 991.98px) {
  .hero-page {
    background-position: 50% center;
    animation: hero-mobile-pan 36s ease-in-out infinite;
    will-change: background-position;
  }

}

@media (max-width: 767.98px) {

  .hero-form-box {
    width: calc(100% - 32px);
    max-width: 300px;
    padding: 24px;
    border-radius: 16px;
    margin: 0 auto;
  }
}

@keyframes hero-mobile-pan {
  0%,
  100% {
    background-position: 50% center;
  }

  50% {
    background-position: 26% center;
  }
}

.hero-inner {
  padding-top: 56px;
  padding-bottom: 56px;
  gap: 22px;
}

/* =========================================================
   PAGINA COMO FUNCIONA
   - Estilos encapsulados en .how-
   - Conserva el lenguaje visual del sitio
========================================================= */
.how-page {
  background: #f4f7ff;
}
.how-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 84px;
  background-image: linear-gradient(120deg, rgba(7, 39, 99, 0.88), rgba(11, 59, 143, 0.74)),
    url("../img/pages/quienes-somos/hero-quienes-somos.webp");
  background-size: cover;
  background-position: center;
}
.how-hero-content {
  max-width: 760px;
  color: #ffffff;
}
.how-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.how-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.12;
}
.how-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.04rem;
}
.how-section {
  padding: 70px 0;
}
.how-section-alt {
  background: linear-gradient(180deg, #edf3ff 0%, #f7f9ff 100%);
}
.how-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #0b3b8f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.how-title {
  margin-bottom: 22px;
  color: #0d2a63;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.2;
}
.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.how-step-card {
  padding: 22px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 143, 0.1);
  box-shadow: 0 10px 22px rgba(13, 42, 99, 0.07);
}
.how-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.how-step-number {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: #e9f0ff;
  color: #0b3b8f;
  font-weight: 700;
}
.how-step-card i {
  color: #0b3b8f;
  font-size: 1.2rem;
}
.how-step-card h3 {
  margin-bottom: 8px;
  color: #0d2a63;
  font-size: 1.12rem;
}
.how-step-card p {
  margin: 0;
  color: #3b4f77;
}
.how-panel-card {
  height: 100%;
  padding: 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 143, 0.1);
  box-shadow: 0 12px 26px rgba(13, 42, 99, 0.08);
}
.how-panel-card-emphasis {
  background: #0b3b8f;
  border-color: rgba(11, 59, 143, 0.5);
}
.how-panel-title {
  margin-bottom: 12px;
  color: #0d2a63;
  font-size: 1.4rem;
}
.how-panel-card p {
  color: #3b4f77;
}
.how-panel-card-emphasis .how-panel-title,
.how-panel-card-emphasis p {
  color: #eaf1ff;
}
.how-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.how-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #3b4f77;
}
.how-list i {
  color: #0b3b8f;
  margin-top: 2px;
}
.how-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.how-faq-item {
  padding: 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 143, 0.1);
}
.how-faq-item h3 {
  margin-bottom: 8px;
  color: #0d2a63;
  font-size: 1.06rem;
}
.how-faq-item p {
  margin: 0;
  color: #3b4f77;
}
.how-cta-band {
  padding: 28px 0 72px;
}
.how-cta-content {
  padding: 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0b3b8f, #0b5ed7);
  box-shadow: 0 14px 32px rgba(13, 42, 99, 0.2);
  text-align: center;
}
.how-cta-content h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}
.how-cta-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}
.how-cta-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.how-cta-actions .btn-outline-primary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
}
.how-cta-actions .btn-outline-primary:hover {
  color: #0b3b8f;
  background: #ffffff;
  border-color: #ffffff;
}
@media (max-width: 991.98px) {
  .how-hero {
    padding: 86px 0 68px;
  }
  .how-section {
    padding: 56px 0;
  }
  .how-steps-grid,
  .how-faq-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767.98px) {
  .how-hero {
    padding: 74px 0 56px;
  }
  .how-section {
    padding: 46px 0;
  }
  .how-step-card,
  .how-panel-card,
  .how-cta-content {
    padding: 18px;
  }
  .how-cta-band {
    padding: 18px 0 48px;
  }
}
.how-monitoring {
  background: linear-gradient(180deg, #f0f5ff 0%, #f9fbff 100%);
}
.how-monitoring-intro {
  max-width: 720px;
  margin-bottom: 28px;
  color: #3b4f77;
  font-size: 1.06rem;
  line-height: 1.65;
}
.how-monitoring-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 991.98px) {
  .how-monitoring-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .how-monitoring-grid {
    grid-template-columns: 1fr;
  }
}

.hero-label {
  font-size: 12px;
  margin-bottom: 12px;
}

.hero-text h1 {
  font-size: 50px;
}

.hero-text p {
  font-size: 20px;
  line-height: 1.5;
}

.hero-form-box {
  padding: 24px;
  border-radius: 16px;
  min-height: 220px;
}


/* =========================================================
   UTILIDADES DE TEXTO
========================================================= */

.text-brand {
  color: #ebc700;
}

.text-light-blue {
  color: #7fd8ff;
}

.text-white {
  color: #ffffff;
}

.text-accent {
  color: #ffd166;
}



/* =========================================================
   HERO FORM GLOBAL
   Formulario vertical tipo tarjeta para el hero
========================================================= */

.hero-form-card {
  width: 100%;
  margin: 0;
  background: #f3f3f3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.hero-form-top {
  background: #005eb8;
  color: #ffffff;
  text-align: center;
  padding: 14px 14px 16px;
  position: relative;
  border-radius: 18px 18px 0 0;
}

/* Hacer que la cabecera azul se extienda hasta los bordes del contenedor
   y mantenga el alineamiento del contenido usando padding interno. */
.hero-form-top {
  /* horizontal padding coincide con el padding interno de .hero-form-card */
  padding-top: 18px;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 12px;
  /* extenderse hacia los bordes del contenedor (compensa el padding del card) */
  margin-left: -24px;
  margin-right: -24px;
  /* mantener el radio superior para quedar redondeado con el contenedor */
  border-radius: 18px 18px 0 0;
}

@media (max-width: 991.98px) {
  .hero-form-top {
    padding-top: 15px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 9px;
    margin-left: -20px;
    margin-right: -20px;
  }
}

@media (max-width: 575.98px) {
  .hero-form-top {
    padding-left: 16px;
    padding-right: 16px;
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 16px 16px 0 0;
  }
}

/* Ajustes para que el formulario (azul + blanco) rellene todo el
   rectángulo del contenedor y no deje el área "transparente" visible. */
.hero-form-box {
  /* movemos el espaciado adentro de la tarjeta: */
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
}

.hero-form-box .hero-form-card {
  height: 100%;
  min-height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  /* espacio interior: mover padding superior a .hero-form-top para que la banda azul llegue arriba */
  padding: 0 24px 24px;
  border-radius: 18px;
}

.hero-form-top {
  flex: 0 0 auto;
  border-radius: 12px 12px 0 0;
}

.hero-form-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

@media (max-width: 991.98px) {
  .hero-form-box .hero-form-card {
    padding: 0 20px 20px;
  }
}

@media (max-width: 575.98px) {
  .hero-form-box .hero-form-card {
    padding: 0 16px 16px;
    border-radius: 16px;
  }
  .hero-form-top {
    border-radius: 16px 16px 0 0;
  }
}

.hero-form-top::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #005eb8;
}

.hero-form-kicker {
  margin: 0 0 2px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.hero-form-top h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.05;
}

.hero-form-top h3 span {
  display: block;
  font-size: 3.96rem;
  font-weight: 800;
  line-height: 0.95;
}

.hero-form-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 14px;
  background: #4fb6df;
  color: #ffffff;
  font-size: 0.99rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-form-body {
  padding: 22px 14px 16px;
}

.hero-form-body h4 {
  margin: 0 0 14px;
  color: #005eb8;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
}

#hero-lead-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  margin: 0;
  color: #1d1d1f;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 8px;
  align-items: start;
}

#hero-lead-form input,
#hero-lead-form select {
  width: 100%;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #b9bcc3;
  border-radius: 999px;
  background: #ffffff;
  color: #1d1d1f;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#hero-lead-form select {
  border-radius: 12px;
}

#hero-lead-form input::placeholder {
  color: #8c9198;
}

#hero-lead-form input:focus,
#hero-lead-form select:focus {
  border-color: #005eb8;
  box-shadow: 0 0 0 3px rgba(0, 94, 184, 0.12);
}

.form-group small {
  margin-top: 1px;
  color: #7b7f86;
  font-size: 0.68rem;
  line-height: 1.2;
}

.form-group .field-error {
  display: none;
  margin-top: 2px;
  color: #c62828;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
}

.form-group .field-error.is-visible {
  display: block;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 2px;
}

.form-check input[type="checkbox"] {
  width: 12px;
  min-width: 12px;
  height: 12px;
  min-height: 12px;
  margin-top: 2px;
  padding: 0;
  border-radius: 2px;
  box-shadow: none;
}

.form-check label {
  margin: 0;
  color: #1d1d1f;
  font-size: 0.72rem;
  line-height: 1.35;
}

.form-check a,
.form-terms {
  color: #005eb8;
  text-decoration: underline;
}

.form-legal {
  margin: 0;
  color: #1d1d1f;
  font-size: 0.66rem;
  font-weight: 500;
  line-height: 1.3;
}

.hero-form-submit {
  width: 100%;
  min-height: 38px;
  margin-top: 2px;
  border: 0;
  border-radius: 999px;
  background: #1e2128;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-form-submit:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.form-terms {
  display: inline-block;
  margin-top: -1px;
  font-size: 0.68rem;
  line-height: 1.2;
}

.form-required {
  margin: -2px 0 0;
  color: #555b63;
  font-size: 0.64rem;
  line-height: 1.2;
}

.form-message {
  margin-top: 10px;
  font-size: 0.8rem;
  line-height: 1.35;
}

/* Centrar y ampliar el mensaje de éxito dentro de la tarjeta del hero
   para que quede alineado con el botón del formulario. */
.hero-form-body .form-message.is-success {
  display: block;
  width: 100%;
  text-align: center;
  margin: 12px auto 0;
  color: #1b5e20; /* igual que la clase is-success */
  font-weight: 600;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-message.is-error {
  color: #c62828;
}

.form-message.is-success {
  color: #1b5e20;
}

.hero-lead-form .is-invalid {
  border-color: #c62828;
}

/* =========================================================
   CONTENEDOR DEL FORM EN EL HERO
========================================================= */

#hero-form-container {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

  .hero-form-card,
  #hero-form-container {
    max-width: 340px;
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {

  .hero-form-card,
  #hero-form-container {
    max-width: 100%;
  }

  .hero-form-body {
    padding: 20px 14px 16px;
  }

  .hero-form-top h3 span {
    font-size: 3.52rem;
  }

  .hero-form-body h4 {
    font-size: 1.1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }
}

.site-header {
  width: 100%;
}

.site-header .navbar {
  padding-left: 0;
  padding-right: 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  margin-right: 0;
  padding-right: 0;
  max-width: calc(100% - 60px);
}

.navbar-brand img {
  display: block;
  max-width: 180px;
  width: 100%;
  height: auto;
}

.navbar-toggler {
  flex-shrink: 0;
  margin-left: 12px;
}

@media (max-width: 991.98px) {
  .site-header .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .navbar-brand img {
    max-width: 170px;
  }
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand img {
  max-width: 170px;
  height: auto;
}

.navbar-toggler {
  flex-shrink: 0;
}

.site-header {
  width: 100%;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.navbar-brand {
  margin-right: 0;
  max-width: calc(100% - 60px);
}

.logo {
  display: block;
  max-width: 180px;
  width: auto;
  height: auto;
}

.navbar-toggler {
  flex-shrink: 0;
  margin-left: 12px;
}

@media (max-width: 991.98px) {
  .header-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo {
    max-width: 165px;
  }
}

.site-header {
  background: white;
  border-bottom: 1px solid var(--color-borde);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.logo {
  height: 40px;
  width: auto;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar .menu-principal .nav-link {
  color: var(--color-primario);
  font-weight: 500;
  padding: 20px 16px 14px;
  position: relative;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-size: 0.96rem;
}

@media (max-width: 991.98px) {
  .logo {
    height: 34px;
  }

  .navbar .menu-principal .nav-link {
    padding: 14px 0 10px;
  }

  .navbar-collapse {
    background: #ffffff;
    padding: 12px 0;
  }

  .menu-principal {
    width: 100%;
  }
}

.site-header .navbar {
  padding-top: 0;
  padding-bottom: 0;
}

.header-bar {
  min-height: 72px;
  display: flex;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.logo {
  height: 40px;
  width: auto;
  display: block;
}

.navbar-toggler {
  margin: 0;
  padding: 0.25rem 0.5rem;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .header-bar {
    min-height: 64px;
  }

  .logo {
    height: 34px;
  }

  .navbar-collapse {
    width: 100%;
    padding-top: 8px;
    padding-bottom: 12px;
  }

  .menu-principal {
    padding-top: 4px;
  }
}

/* NAVBAR MOBILE CORRECTO */
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

#menuPrincipal {
  flex: 1 1 auto;
}

.menu-principal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
}

.menu-principal .nav-item {
  flex: 0 0 auto;
}

.como-menu .dropdown-item {
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .header-bar {
    flex-wrap: wrap;
  }

  .navbar-brand {
    margin: 0;
    padding: 0;
  }

  .navbar-toggler {
    margin: 0;
    padding: 0.25rem 0.5rem;
    position: relative;
    z-index: 1002;
    pointer-events: auto;
    touch-action: manipulation;
  }

  .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
    margin-top: 10px;
    background: #fff;
  }

  .menu-principal {
    width: 100%;
    flex-wrap: wrap;
  }

  .menu-principal .nav-item {
    width: 100%;
  }

  .menu-principal .nav-link {
    display: block;
    width: 100%;
    padding: 14px 0 10px;
    white-space: normal;
    font-size: 1rem;
  }

  /* En mobile, feedback uniforme: links activos (madre e hija) en negrita */
  .menu-principal .nav-link.active,
  .menu-principal .como-link.active,
  .menu-principal .como-menu .dropdown-item.active {
    font-weight: 700;
  }

  /* En mobile no mostrar línea azul fija de feedback activo */
  .menu-principal .nav-link.active::before,
  .menu-principal .nav-item.is-open > .nav-link::before,
  .como-dropdown.is-open > .nav-link::before {
    width: 0;
  }

  .menu-principal .nav-link.active:hover::before,
  .menu-principal .nav-link.active:focus-visible::before {
    width: 100%;
  }
}

/* =========================================================
   HOME - SECCION POR QUE SMARTHOME
========================================================= */

.why-smarthome-section {
  padding: 80px 0;
}

.why-smarthome-wrap {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.why-smarthome-section .section-heading {
  margin-bottom: 46px;
}

.why-smarthome-section .section-heading h2 {
  margin-bottom: 12px;
}

.why-smarthome-section .section-heading p {
  max-width: 720px;
  margin: 0 auto;
}

.why-smarthome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.why-card {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  padding: 64px 28px 32px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(1, 2, 41, 0.267);
  height: 100%;
}

.why-card-icon {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(180deg, #0d6efd 0%, #0a58ca 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(4, 42, 99, 0.28);
}

.why-card-icon i {
  font-size: 1.45rem;
  line-height: 1;
}

.why-card h3 {
  margin: 0 0 16px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.why-card p {
  margin: 0;
  line-height: 1.7;
  font-size: 0.98rem;
}

/* Tablet grande / notebook chica */
@media (max-width: 1199.98px) {
  .why-smarthome-wrap {
    width: min(100%, 100%);
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  .why-smarthome-section {
    padding: 68px 0;
  }

  .why-smarthome-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .why-card {
    padding: 60px 24px 28px;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .why-smarthome-section {
    padding: 56px 0;
  }

  .why-smarthome-section .section-heading {
    margin-bottom: 38px;
  }

  .why-card {
    border-radius: 18px;
    padding: 58px 20px 24px;
  }

  .why-card-icon {
    width: 58px;
    height: 58px;
    top: -22px;
  }

  .why-card-icon i {
    font-size: 1.3rem;
  }

  .why-card h3 {
    font-size: 1.08rem;
  }

  .why-card p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .why-smarthome-grid {
    gap: 44px;
  }
}


/* DESKTOP: igual a una grilla de 3 bloques */

/* =========================================================
   SECCION PLANES HOME - SOLO INDEX
========================================================= */

.plans-home-section {
  position: relative;
  padding: 0 0 90px;
  background: #f5f7fb;
}

.plans-home-band {
  background: var(--color-primary, #0d63b5);
  min-height: 210px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 42px;
}

.plans-home-heading {
  text-align: center;
}

.plans-home-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  font-weight: 700;
}

.plans-home-content {
  margin-top: -92px;
  position: relative;
  z-index: 2;
}

.plans-home-slider {
  overflow: visible;
}

.plan-home-card {
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(13, 24, 45, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(10, 32, 68, 0.08);
  display: flex;
  flex-direction: column;
}

.plan-home-card__image-wrap {
  position: relative;
}

.plan-home-card__image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.plan-home-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3c316;
  color: #111111;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  padding: 9px 14px;
  border-radius: 8px;
  user-select: none;
  -webkit-user-select: none;
}

.plan-home-card__body {
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.plan-home-card__text {
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.5;
  color: #202733;
  min-height: 54px;
}

.plan-home-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 100%;
  max-width: 210px;
  min-height: 48px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: #1f2430;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.plan-home-card__button:hover {
  background: #0d63b5;
  color: #ffffff;
  transform: translateY(-1px);
}

.plan-home-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-home-card__features li {
  position: relative;
  padding: 0 0 16px 28px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(13, 24, 45, 0.12);
  font-size: 0.95rem;
  line-height: 1.5;
  color: #263142;
}

.plan-home-card__features li:last-child {
  margin-bottom: 0;
}

.plan-home-card__features li::before {
  content: "\f26e";
  font-family: "bootstrap-icons";
  position: absolute;
  top: 1px;
  left: 0;
  color: #39c2a0;
  font-size: 1rem;
  font-weight: 700;
}

/* DESKTOP */
@media (min-width: 992px) {
  /* Use a flex-wrap layout so rows with fewer than 3 items are centered */
  .plans-home-slider .swiper-wrapper {
    display: flex !important;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    transform: none !important;
  }

  /* Each slide takes approx one third of the available width minus gaps */
  .plans-home-slider .swiper-slide {
    flex: 0 0 calc((100% - 56px) / 3);
    max-width: calc((100% - 56px) / 3);
    margin: 0 !important;
    height: auto;
  }

  /* If the container is narrower than three columns, allow slides to shrink
     to keep layout stable while still centering rows. */
  .plans-home-slider .swiper-slide {
    box-sizing: border-box;
  }
}

/* MOBILE / TABLET */
@media (max-width: 991.98px) {
  .plans-home-section {
    padding-bottom: 70px;
  }

  .plans-home-band {
    min-height: 180px;
    padding-top: 34px;
  }

  .plans-home-content {
    margin-top: -72px;
  }

  .plans-home-slider {
    overflow: visible;
    padding: 0 18px 8px;
    cursor: grab;
  }

  .plans-home-slider:active {
    cursor: grabbing;
  }

  .plans-home-slider .swiper-wrapper {
    align-items: flex-start;
  }

  .plans-home-slider .swiper-slide {
    /* Dejar que Swiper tenga control total del ancho */
    flex-shrink: 0;
    max-width: none;
    height: auto;
  }

  .plans-home-slider .swiper-slide .plan-home-card {
    height: 100%;
    opacity: 0.85;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
  }

  .plans-home-slider .swiper-slide .plan-home-card:active {
    cursor: grabbing;
  }

  .plans-home-slider .swiper-slide.swiper-slide-active .plan-home-card {
    opacity: 1;
    box-shadow: 0 22px 55px rgba(10, 32, 68, 0.14);
  }

  .plan-home-card__image {
    height: 220px;
  }
}

@media (max-width: 575.98px) {
  .plans-home-heading h2 {
    font-size: 1.35rem;
  }

  .plans-home-slider {
    padding: 0 14px 8px;
  }

  .plan-home-card__body {
    padding: 20px 18px 20px;
  }

  .plan-home-card__text {
    font-size: 0.96rem;
    min-height: auto;
  }

  .plan-home-card__features li {
    font-size: 0.9rem;
  }

  .plan-home-card__image {
    height: 200px;
  }
}

/* =========================================================
   SECCIÓN: COTIZAR HOME
========================================================= */

.cotizar-home-section {
  padding: 40px 0 90px;
}

.cotizar-home-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  background: #eef1f4;
  border-radius: 36px;
  overflow: visible;

  min-height: 360px;
  padding: 56px 60px;
}

.cotizar-home-content {
  flex: 1 1 48%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  z-index: 2;
}

.cotizar-home-title {
  margin: 0 0 28px;
  font-size: clamp(1.8rem, 2.2vw, 2.9rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-primary, #0056b3);
  max-width: 470px;
}

.cotizar-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.cotizar-home-image-wrap {
  flex: 1 1 52%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 260px;
}

.cotizar-home-image {
  width: min(100%, 420px);
  height: auto;
  display: block;
  object-fit: contain;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {
  .cotizar-home-box {
    padding: 48px 36px 120px;
    gap: 24px;
    min-height: auto;
  }

  .cotizar-home-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    max-width: 100%;
  }

  .cotizar-home-image {
    width: min(100%, 340px);
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {
  .cotizar-home-section {
    padding: 24px 0 120px;
  }

  .cotizar-home-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 34px 22px 145px;
    gap: 0;
    border-radius: 24px;
    overflow: visible;
    min-height: auto;
  }

  .cotizar-home-content {
    max-width: 100%;
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .cotizar-home-title {
    margin: 0 0 28px;
    font-size: clamp(1.25rem, 6vw, 1.8rem);
    line-height: 1.2;
    max-width: 100%;
  }

  .cotizar-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 0;
  }

  .cotizar-home-image-wrap {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    min-height: 0;
    display: flex;
    justify-content: center;
    transform: translate(-50%, 50%);
    margin: 0;
    pointer-events: none;
  }

  .cotizar-home-image {
    width: min(92%, 290px);
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

/* =========================================================
   SECCION EQUIPAMIENTO HOME
========================================================= */

.equipamiento-home {
  padding: 90px 0;
  background-color: #f5f5f5;
  /* cambialo o quitálo si no querés fondo gris */
}

.equipamiento-home__intro {
  text-align: center;
  margin-bottom: 36px;
}

.equipamiento-home__intro h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.2vw, 2.8rem);
  line-height: 1.2;
  font-weight: 700;
  color: #1f1f1f;
}

.equipamiento-home__visual {
  position: relative;
  margin-bottom: 90px;
  /* deja espacio para que la imagen chica sobresalga */
}

.equipamiento-home__img-back {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
  object-fit: cover;
}

.equipamiento-home__img-front {
  position: absolute;
  left: 24px;
  bottom: -88px;
  width: clamp(182px, 28.6vw, 338px);
  height: auto;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.25))
          drop-shadow(0 20px 34px rgba(0, 0, 0, 0.22));
  z-index: 2;
}

.equipamiento-home__features {
  text-align: center;
}

.equipamiento-home__features h3 {
  margin: 0 0 38px;
  font-size: clamp(1.3rem, 1.8vw, 2rem);
  line-height: 1.3;
  font-weight: 600;
  color: #0077ff;
  /* ajustalo a tu azul */
}

.equipamiento-home__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
}

.equipamiento-home__item {
  padding: 22px 26px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.equipamiento-home__item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #222;
}

/* MOBILE */
@media (max-width: 767.98px) {
  .equipamiento-home {
    padding: 70px 0;
  }

  .equipamiento-home__intro {
    margin-bottom: 26px;
  }

  .equipamiento-home__visual {
    margin-bottom: 80px;
  }

  .equipamiento-home__img-back {
    border-radius: 24px;
    min-height: 240px;
    object-fit: cover;
  }

  .equipamiento-home__img-front {
    left: 14px;
    bottom: -62px;
    width: clamp(143px, 44.2vw, 221px);
  }

  .equipamiento-home__features h3 {
    margin-bottom: 24px;
  }

  .equipamiento-home__grid {
    grid-template-columns: 1fr;
  }

  .equipamiento-home__item {
    padding: 18px 10px;
  }
}

/* =========================================================
   SECCION FUNCIONALIDADES HOME
========================================================= */

.funcionalidades-home {
  padding: 90px 0;
  background: #ffffff;
  overflow: hidden;
}

.funcionalidades-home__intro {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.funcionalidades-home__intro h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 2.2vw, 2.8rem);
  line-height: 1.2;
  font-weight: 700;
  color: #1f1f1f;
}

.funcionalidades-home__intro p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
}

.funcionalidades-home__slider-wrap {
  position: relative;
  padding: 0 62px;
}

.funcionalidades-home__slider {
  overflow: visible;
}

.funcionalidades-home__slider .swiper-wrapper {
  align-items: stretch;
}

.funcionalidades-home__slider .swiper-slide {
  height: auto;
}

.funcionalidades-home__card {
  position: relative;
  min-height: 420px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(10, 32, 68, 0.14);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.funcionalidades-home__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.funcionalidades-home__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 18, 45, 0.10) 0%,
    rgba(7, 18, 45, 0.58) 100%
  );
  z-index: 1;
  transition: opacity 0.35s ease;
}

.funcionalidades-home__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  z-index: 2;
  transition: opacity 0.35s ease;
}

.funcionalidades-home__content {
  position: relative;
  z-index: 3;
  min-height: 420px;
  padding: 34px 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.funcionalidades-home__icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease;
}

.funcionalidades-home__icon i {
  font-size: 2.2rem;
  line-height: 1;
  transition: color 0.35s ease;
}

.funcionalidades-home__text {
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.funcionalidades-home__title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.28;
  font-weight: 700;
  transition: color 0.35s ease;
  text-shadow:
  0 0 1.5px rgba(255, 255, 255, 0.8),
  0 0 3px rgba(255, 255, 255, 0.4);
}

.funcionalidades-home__slider .swiper-slide.swiper-slide-active .funcionalidades-home__title {
  color: #ffffff;
  text-shadow: none;
}

.funcionalidades-home__description {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  transition: color 0.35s ease;
}

/* =========================================
   ESTADO DESKTOP
   Laterales en blanco
   Centro con foto visible
========================================= */

@media (min-width: 992px) {
  .funcionalidades-home__slider .swiper-slide .funcionalidades-home__card {
    transform: scale(0.92);
    box-shadow: 0 16px 34px rgba(10, 32, 68, 0.10);
  }

  .funcionalidades-home__slider .swiper-slide .funcionalidades-home__card::before {
    opacity: 0;
  }

  .funcionalidades-home__slider .swiper-slide .funcionalidades-home__card::after {
    opacity: 1;
  }

  .funcionalidades-home__slider .swiper-slide .funcionalidades-home__icon {
    background: #eef5ff;
    border: 1px solid rgba(11, 94, 215, 0.12);
  }

  .funcionalidades-home__slider .swiper-slide .funcionalidades-home__icon i {
    color: #0b5ed7;
  }

  .funcionalidades-home__slider .swiper-slide .funcionalidades-home__title {
    color: #0a2f73;
  }

  .funcionalidades-home__slider .swiper-slide .funcionalidades-home__description {
    color: #4b5563;
  }

  .funcionalidades-home__slider .swiper-slide.swiper-slide-active .funcionalidades-home__card {
    transform: scale(1);
    box-shadow: 0 26px 60px rgba(10, 32, 68, 0.18);
  }

  .funcionalidades-home__slider .swiper-slide.swiper-slide-active .funcionalidades-home__card::before {
    opacity: 1;
  }

  .funcionalidades-home__slider .swiper-slide.swiper-slide-active .funcionalidades-home__card::after {
    opacity: 0;
  }

  .funcionalidades-home__slider .swiper-slide.swiper-slide-active .funcionalidades-home__icon {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(4px);
  }

  .funcionalidades-home__slider .swiper-slide.swiper-slide-active .funcionalidades-home__icon i {
    color: #ffffff;
  }

  .funcionalidades-home__slider .swiper-slide.swiper-slide-active .funcionalidades-home__title {
    color: #ffffff;
    text-shadow: none;
  }

  .funcionalidades-home__slider .swiper-slide.swiper-slide-active .funcionalidades-home__description {
    color: rgba(255, 255, 255, 0.96);
  }
}

/* =========================================
   FLECHAS
========================================= */

.funcionalidades-home__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #0b5ed7;
  box-shadow: 0 12px 30px rgba(10, 32, 68, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.funcionalidades-home__nav:hover {
  background: #0b5ed7;
  color: #ffffff;
  transform: translateY(-50%) scale(1.04);
}

.funcionalidades-home__nav i {
  font-size: 1.2rem;
  line-height: 1;
}

.funcionalidades-home__nav--prev {
  left: 0;
}

.funcionalidades-home__nav--next {
  right: 0;
}

/* =========================================
   TABLET / MOBILE
   Solo una imagen visible, con foto completa
========================================= */

@media (max-width: 991.98px) {
  .funcionalidades-home {
    padding: 72px 0;
  }

  .funcionalidades-home__intro {
    margin-bottom: 30px;
  }

  .funcionalidades-home__slider-wrap {
    padding: 0;
  }

  .funcionalidades-home__nav {
    display: none;
  }

  .funcionalidades-home__card {
    min-height: 380px;
    border-radius: 24px;
  }

  .funcionalidades-home__content {
    min-height: 380px;
    padding: 28px 22px 24px;
  }

  .funcionalidades-home__card::before {
    opacity: 1;
  }

  .funcionalidades-home__card::after {
    opacity: 0 !important;
  }

  .funcionalidades-home__icon {
    width: 82px;
    height: 82px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(4px);
  }

  .funcionalidades-home__icon i {
    font-size: 2rem;
    color: #ffffff;
  }

  .funcionalidades-home__text {
    max-width: 270px;
    gap: 12px;
  }

  .funcionalidades-home__title {
    max-width: 260px;
    font-size: 2rem;
    color: #064086;
  }

  .funcionalidades-home__description {
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.96);
  }
}

@media (max-width: 575.98px) {
  .funcionalidades-home {
    padding: 58px 0;
  }

  .funcionalidades-home__intro h2 {
    font-size: 1.55rem;
  }

  .funcionalidades-home__intro p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .funcionalidades-home__card {
    min-height: 345px;
  }

  .funcionalidades-home__content {
    min-height: 345px;
    padding: 24px 18px 22px;
  }

  .funcionalidades-home__icon {
    width: 74px;
    height: 74px;
  }

  .funcionalidades-home__icon i {
    font-size: 1.8rem;
  }

  .funcionalidades-home__text {
    max-width: 230px;
    gap: 10px;
  }

  .funcionalidades-home__title {
    font-size: 2rem;
    max-width: 225px;
  }

  .funcionalidades-home__description {
    font-size: 0.94rem;
    line-height: 1.55;
  }
}

/* =========================================================
   SECCION CONTACTATE HOME
========================================================= */

.contactate-home {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.contactate-home__image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.contactate-home__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.contactate-home .container {
  position: relative;
  z-index: 2;
}

.contactate-home__inner {
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 56px 0;
}

.contactate-home__content {
  width: min(100%, 420px);
}

.contactate-home__title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 2.7vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
  color: #0b5db0;
}

.contactate-home__text {
  margin: 0 0 28px;
  max-width: 340px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #1f1f1f;
}

.contactate-home__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  background: #20242a;
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.contactate-home__button:hover {
  background: #11151a;
  color: #ffffff;
  transform: translateY(-2px);
}

.contactate-home__button:focus-visible {
  outline: 2px solid #0b5db0;
  outline-offset: 3px;
}

.contactate-home__arrow {
  font-size: 1.15rem;
  line-height: 1;
  transform: translateY(-1px);
}

/* =========================
   TABLET Y MOBILE
========================= */

@media (max-width: 991.98px) {
  .contactate-home {
    display: flex;
    flex-direction: column;
  }

  .contactate-home__image {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(300px, 72vw, 460px);
    order: 2;
    overflow: hidden;
  }

  .contactate-home__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }

  .contactate-home__inner {
    min-height: auto;
    justify-content: center;
    padding: 56px 0 34px;
  }

  .contactate-home__content {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
  }

  .contactate-home__text {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 575.98px) {
  .contactate-home__inner {
    padding: 42px 0 28px;
  }

  .contactate-home__title {
    margin-bottom: 14px;
  }

  .contactate-home__text {
    margin-bottom: 24px;
    font-size: 1rem;
  }

  .contactate-home__button {
    min-height: 54px;
    padding: 0 24px;
    font-size: 0.96rem;
  }

  .contactate-home__image {
    height: 305px;
  }
}

/* =========================================================
   BOTON FLOTANTE WHATSAPP
========================================================= */

#whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: auto;
  top: auto;
  z-index: 2147483647;
  pointer-events: auto;
}

.whatsapp-float {
  position: fixed !important;
  right: 20px;
  bottom: 20px;
  right: max(20px, calc(20px + env(safe-area-inset-right, 0px))) !important;
  bottom: max(20px, calc(20px + env(safe-area-inset-bottom, 0px))) !important;
  left: auto !important;
  top: auto !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
  background: #25d366;
  overflow: hidden;
  z-index: 2147483647 !important;
  text-decoration: none;
  opacity: 0;
  transform: translateY(18px) scale(0.9);
  animation: whatsappEntrance 0.6s ease forwards, whatsappBounce 3.5s ease-in-out 1.5s infinite;
  transition: transform 0.25s ease;
  visibility: visible !important;
  pointer-events: auto !important;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(3);
}

@media (min-width: 992px) {
  .whatsapp-float img {
    transform: scale(1.55);
  }
}

/* Aparición al cargar */
@keyframes whatsappEntrance {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Pequeño salto cada algunos segundos */
@keyframes whatsappBounce {
  0%, 85%, 100% {
    transform: translateY(0) scale(1);
  }
  90% {
    transform: translateY(-8px) scale(1.03);
  }
  95% {
    transform: translateY(0) scale(1);
  }
}

/* Tablet */
@media (max-width: 991.98px) {
  #whatsapp-float {
    right: 118px;
    bottom: 20px;
  }

  .whatsapp-float {
    right: 118px;
    bottom: 20px;
    right: max(118px, calc(118px + env(safe-area-inset-right, 0px))) !important;
    bottom: max(20px, calc(20px + env(safe-area-inset-bottom, 0px))) !important;
  }

  .whatsapp-float img {
    width: 50%;
    height: 50%;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  #whatsapp-float {
    right: 31px;
    bottom: 20px;
  }

  .whatsapp-float {
    right: 31px;
    bottom: 20px;
    right: max(31px, calc(31px + env(safe-area-inset-right, 0px))) !important;
    bottom: max(20px, calc(20px + env(safe-area-inset-bottom, 0px))) !important;
  }

  .whatsapp-float img {
    width: 50%;
    height: 50%;
  }
}

@media (max-width: 991.98px) and (orientation: landscape) {
  #whatsapp-float {
    right: 22px;
    bottom: 18px;
  }

  .whatsapp-float {
    right: max(22px, calc(22px + env(safe-area-inset-right, 0px))) !important;
    bottom: max(18px, calc(18px + env(safe-area-inset-bottom, 0px))) !important;
  }
}

/* =========================================================
   CHAT IA FLOTANTE
========================================================= */

.chat-ia-float {
  --chat-btn-size: 60px;
  position: fixed;
  right: 20px;
  bottom: 92px;
  width: var(--chat-btn-size);
  height: var(--chat-btn-size);
  overflow: visible;
  z-index: 9998;
  font-family: Arial, Helvetica, sans-serif;
}

.chat-ia-toggle {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(to right, #6ccad7 0%, #316aaa 100%);
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translateY(18px) scale(0.9);
  animation:
    whatsappEntrance 0.6s ease forwards,
    whatsappBounce 3.5s ease-in-out 1.5s infinite;
  transition: transform 0.25s ease;
}

.chat-ia-toggle:hover {
  transform: scale(1.08);
}

.chat-ia-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.chat-ia-toggle__gif {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.chat-ia-toggle i {
  font-size: 1.1rem;
  line-height: 1;
}

.chat-ia-toggle__text {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 0.9;
  text-transform: none;
}

.chat-ia-panel {
  width: min(360px, calc(100vw - 28px));
  height: 440px;
  margin-bottom: 0;
  border-radius: 16px;
  border: 1px solid #d7e0f5;
  background: #fff;
  box-shadow: 0 18px 34px rgba(9, 28, 60, 0.2);
  position: fixed;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.chat-ia-float.is-open .chat-ia-toggle {
  display: none;
}

.chat-ia-panel__header {
  background: linear-gradient(135deg, #0D7F6F 0%, #16A34A 55%, #15803D 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.chat-ia-panel__title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #f5f9ff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.chat-ia-panel__actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chat-ia-panel__minimize,
.chat-ia-panel__close {
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(2px);
  color: #fff;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.chat-ia-panel__minimize i,
.chat-ia-panel__close i {
  font-size: 12px;
  line-height: 1;
}

.chat-ia-panel__minimize:hover,
.chat-ia-panel__close:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.chat-ia-panel__minimize:focus-visible,
.chat-ia-panel__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.chat-ia-messages {
  padding: 12px;
  overflow-y: auto;
  background: #f5f7fb url("../../components/chat-ia-float/wallpaper-chat.webp") center center / cover no-repeat !important;
}

.chat-ia-msg {
  max-width: 88%;
  margin-bottom: 10px;
  padding: 9px 11px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.chat-ia-msg.is-user {
  margin-left: auto;
  background: #16A34A;
  color: #fff;
  border-bottom-right-radius: 5px;
  display: grid;
  gap: 4px;
}

.chat-ia-msg.is-bot {
  margin-right: auto;
  background: #eef3ff;
  color: #1f2b45;
  border-bottom-left-radius: 5px;
}

.chat-ia-product-link {
  color: #1a5ccc;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}
.chat-ia-product-link:hover {
  color: #0e3d8c;
}

.chat-ia-support {
  width: 92%;
  border: 1px solid #d2def8;
  background: #f8fbff;
}

.chat-ia-support__title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #18325f;
}

.chat-ia-support__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chat-ia-support__btn {
  border: 0;
  border-radius: 9px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chat-ia-support__btn.is-wa {
  background: #25d366;
  color: #fff;
}

.chat-ia-support__btn.is-form {
  background: #0b5ed7;
  color: #fff;
}

.chat-ia-support__btn.is-submit {
  background: #173f88;
  color: #fff;
}

.chat-ia-inline-form {
  margin-top: 10px;
  display: grid;
  gap: 7px;
}

.chat-ia-inline-form input,
.chat-ia-inline-form select {
  border: 1px solid #bfd0f5;
  border-radius: 8px;
  padding: 8px 9px;
  font-size: 12px;
  background: #fff;
  color: #22345a;
}

.chat-ia-inline-form__msg {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.3;
  color: #35548f;
}

.chat-ia-inline-form__msg.is-error {
  color: #b42318;
}

.chat-ia-inline-form__msg.is-success {
  color: #067647;
}

/* --- Formulario de lead en el chat --- */
.chat-ia-lead-form-card {
  width: 92%;
  border: 1px solid #b8d0f5;
  background: #f0f5ff;
}

.chat-ia-lead-form__title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #18325f;
}

.chat-ia-lead-form {
  display: grid;
  gap: 7px;
}

.chat-ia-lead-form input,
.chat-ia-lead-form select {
  border: 1px solid #bfd0f5;
  border-radius: 8px;
  padding: 8px 9px;
  font-size: 12px;
  background: #fff;
  color: #22345a;
}

.chat-ia-lead-form__submit {
  border: none;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  background: #173f88;
  color: #fff;
}

.chat-ia-lead-form__submit:hover {
  background: #0e2d66;
}

.chat-ia-lead-form__submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.chat-ia-lead-form__msg {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.3;
  color: #35548f;
}

.chat-ia-lead-form__msg.is-error {
  color: #b42318;
}

.chat-ia-lead-form__msg.is-success {
  color: #067647;
}

.chat-ia-msg__status {
  font-size: 14px;
  line-height: 1;
  opacity: 0.9;
  justify-self: end;
  font-weight: bold;
  margin-top: 2px;
}

/* Estados de los mensajes - estilo WhatsApp */
.chat-ia-msg__status.status-sent {
  color: #666;
}

.chat-ia-msg__status.status-delivered {
  color: #666;
}

.chat-ia-msg__status.status-read {
  color: #007bff;
}

.chat-ia-msg.is-typing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chat-ia-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.chat-ia-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6d88c7;
  animation: chatTypingDot 1s infinite ease-in-out;
}

.chat-ia-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.chat-ia-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

.chat-ia-typing__label {
  font-size: 12px;
  color: #425985;
}

@keyframes chatTypingDot {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.chat-ia-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border-top: 1px solid #e4e9f6;
  background: #fff;
  padding: 10px;
}

.chat-ia-input {
  border: 1px solid #cdd8f2;
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 13px;
}

.chat-ia-input:focus-visible {
  outline: 2px solid #7aa7ff;
  outline-offset: 1px;
}

.chat-ia-send {
  border: 0;
  border-radius: 10px;
  background: #0b5ed7;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 0 14px;
  cursor: pointer;
}

.chat-ia-form.is-loading .chat-ia-send {
  opacity: 0.75;
  cursor: not-allowed;
}

@media (max-width: 991.98px) {
  .chat-ia-float {
    --chat-btn-size: 54px;
    right: 118px;
    bottom: 36px;
  }

  .chat-ia-toggle {
    gap: 2px;
    font-size: 9px;
  }

  .chat-ia-toggle i {
    font-size: 1rem;
  }

  .chat-ia-toggle__text {
    font-size: 0.66rem;
  }
}

@media (max-width: 575.98px) {
  .chat-ia-float {
    --chat-btn-size: 58px;
    right: 31px;
    bottom: 108px;
  }

  .chat-ia-toggle {
    gap: 2px;
    font-size: 9px;
  }

  .chat-ia-toggle i {
    font-size: 0.95rem;
  }

  .chat-ia-toggle__text {
    font-size: 0.6rem;
  }

  .chat-ia-panel {
    width: min(350px, calc(100vw - 20px));
    height: 62vh;
    margin-bottom: 10px;
  }
}

@media (max-width: 991.98px) and (orientation: landscape) {
  .chat-ia-float {
    right: max(94px, calc(94px + env(safe-area-inset-right, 0px)));
    bottom: max(18px, calc(18px + env(safe-area-inset-bottom, 0px)));
  }

  .chat-ia-panel {
    height: min(360px, calc(100vh - 28px));
  }
}

/* =========================================================
   Suavizar la apertura/cierre del collapse del menú en mobile
   - Aplica solo en anchos <= 991.98px para no interferir en desktop
   - Usa transición de max-height para un cierre más fluido
========================================================= */
@media (max-width: 991.98px) {
  .mobile-menu-button {
    flex: 0 0 auto;
  }

  .navbar-collapse.collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 260ms ease;
  }

  .site-header #menuPrincipal {
    display: none !important;
    flex-basis: 100%;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 260ms ease;
  }

  .site-header.is-mobile-menu-open #menuPrincipal {
    display: block !important;
    top: 64px;
    max-height: 1200px;
    overflow: visible;
  }

  .navbar-collapse.collapse.show {
    /* valor suficientemente alto para contener el menú; no debe cortar contenido */
    max-height: 1200px;
  }
  .navbar-collapse.collapse.is-mobile-open {
    display: block;
    max-height: 1200px;
    overflow: visible;
  }

}

@media (min-width: 992px) {
  .mobile-menu-button {
    display: none;
  }

  .site-header #menuPrincipal {
    display: flex !important;
  }
}

/* =========================================================
   SECCION TU HOGAR PROTEGIDO
========================================================= */

.tu-hogar-protegido {
  padding: 80px 0;
}

.tu-hogar-protegido__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: 48px;
  margin-bottom: 40px;
}

.tu-hogar-protegido__content {
  max-width: 620px;
}

.tu-hogar-protegido__title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  color: #0b5dbb;
}

.tu-hogar-protegido__text {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: #1f1f1f;
}

.tu-hogar-protegido__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tu-hogar-protegido__media img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
}

.tu-hogar-protegido__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.tu-hogar-protegido__card {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
}

.tu-hogar-protegido__card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 24px;
}

.tu-hogar-protegido__card-caption {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 420px;
  margin: 0;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(11, 59, 143, 0.90);
  color: #ffffff;
  text-align: center;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

/* =========================
   TABLET
========================= */

@media (max-width: 991.98px) {
  .tu-hogar-protegido {
    padding: 64px 0;
  }

  .tu-hogar-protegido__top {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }

  .tu-hogar-protegido__content {
    max-width: 100%;
  }

  .tu-hogar-protegido__title {
    text-align: center;
  }

  .tu-hogar-protegido__media {
    justify-content: flex-start;
  }

  .tu-hogar-protegido__media img {
    max-width: 460px;
  }

  .tu-hogar-protegido__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tu-hogar-protegido__card img {
    aspect-ratio: 16 / 7;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {
  .tu-hogar-protegido {
    padding: 48px 0;
  }

  .tu-hogar-protegido__top {
    gap: 24px;
    margin-bottom: 24px;
  }

  .tu-hogar-protegido__title {
    margin-bottom: 14px;
    font-size: 1.8rem;
    text-align: center;
  }

  .tu-hogar-protegido__text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .tu-hogar-protegido__media {
    justify-content: center;
  }

  .tu-hogar-protegido__media img {
    max-width: 100%;
  }

  .tu-hogar-protegido__cards {
    gap: 16px;
  }

  .tu-hogar-protegido__card {
    border-radius: 20px;
  }

  .tu-hogar-protegido__card img {
    aspect-ratio: 16 / 8;
    border-radius: 20px;
  }

  .tu-hogar-protegido__card-caption {
    bottom: 14px;
    width: calc(100% - 24px);
    padding: 12px 16px;
    font-size: 0.95rem;
  }
}

/* =========================================================
   SECCION TU COMERCIO PROTEGIDO
========================================================= */

.tu-comercio-protegido {
  padding: 80px 0;
}

.tu-comercio-protegido__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: 48px;
  margin-bottom: 40px;
}

.tu-comercio-protegido__content {
  max-width: 620px;
}

.tu-comercio-protegido__title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  color: #0b5dbb;
}

.tu-comercio-protegido__intro {
  margin: 0 0 18px;
  color: #1f1f1f;
  font-size: 1.08rem;
  line-height: 1.75;
}

.tu-comercio-protegido__text {
  margin: 0 0 16px;
  color: #1f1f1f;
  font-size: 1.08rem;
  line-height: 1.75;
}

.tu-comercio-protegido__text:last-child {
  margin-bottom: 0;
}

.tu-comercio-protegido__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tu-comercio-protegido__media img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
}

.tu-comercio-protegido__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.tu-comercio-protegido__card {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
}

.tu-comercio-protegido__card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 24px;
}

.tu-comercio-protegido__card-caption {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 420px;
  margin: 0;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(11, 59, 143, 0.90);
  color: #ffffff;
  text-align: center;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

@media (max-width: 991.98px) {
  .tu-comercio-protegido {
    padding: 64px 0;
  }

  .tu-comercio-protegido__top {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }

  .tu-comercio-protegido__content {
    max-width: 100%;
  }

  .tu-comercio-protegido__title {
    text-align: center;
  }

  .tu-comercio-protegido__media img {
    max-width: 460px;
  }

  .tu-comercio-protegido__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tu-comercio-protegido__card img {
    aspect-ratio: 16 / 7;
  }
}

@media (max-width: 767.98px) {
  .tu-comercio-protegido {
    padding: 48px 0;
  }

  .tu-comercio-protegido__top {
    gap: 24px;
    margin-bottom: 24px;
  }

  .tu-comercio-protegido__title {
    margin-bottom: 14px;
    font-size: 1.8rem;
    text-align: center;
  }

  .tu-comercio-protegido__intro {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 14px;
  }

  .tu-comercio-protegido__text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .tu-comercio-protegido__media {
    justify-content: center;
  }

  .tu-comercio-protegido__media img {
    max-width: 100%;
  }

  .tu-comercio-protegido__card {
    border-radius: 20px;
  }

  .tu-comercio-protegido__card img {
    aspect-ratio: 16 / 8;
    border-radius: 20px;
  }

  .tu-comercio-protegido__card-caption {
    bottom: 14px;
    width: calc(100% - 24px);
    padding: 12px 16px;
    font-size: 0.95rem;
  }
}

/* =========================================================
   SECCION SERVICIOS PARA COMERCIOS
========================================================= */

.servicios-para-comercios {
  padding: 72px 0;
  background: #f1f1f1;
}

.servicios-para-comercios__heading {
  margin: 0 0 30px;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  color: #0058a7;
}

.servicios-para-comercios__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 30px;
}

.servicios-para-comercios__media {
  margin: 0;
}

.servicios-para-comercios__media img {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  object-fit: contain;
}

.servicios-para-comercios__content {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 16px;
}

.servicios-para-comercios__arrow {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #2f72bb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.servicios-para-comercios__arrow:hover {
  color: #0058a7;
  transform: scale(1.08);
}

.servicios-para-comercios__copy {
  text-align: center;
}

.servicios-para-comercios__title {
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  color: #0058a7;
}

.servicios-para-comercios__description {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #333333;
}

@media (max-width: 991.98px) {
  .servicios-para-comercios {
    padding: 56px 0;
  }

  .servicios-para-comercios__heading {
    margin-bottom: 22px;
    text-align: center;
    font-size: 1.9rem;
  }

  .servicios-para-comercios__layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .servicios-para-comercios__media img {
    max-width: 540px;
    margin: 0 auto;
  }

  .servicios-para-comercios__content {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
  }

  .servicios-para-comercios__title {
    font-size: 1.7rem;
  }

  .servicios-para-comercios__description {
    font-size: 1.05rem;
    line-height: 1.6;
  }
}

@media (max-width: 767.98px) {
  .servicios-para-comercios {
    padding: 48px 0;
  }

  .servicios-para-comercios__heading {
    font-size: 1.55rem;
    margin-bottom: 18px;
  }

  .servicios-para-comercios__layout {
    gap: 14px;
  }

  .servicios-para-comercios__media img {
    max-width: 100%;
  }

  .servicios-para-comercios__content {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 8px;
  }

  .servicios-para-comercios__arrow {
    width: 30px;
    height: 30px;
    font-size: 1.25rem;
  }

  .servicios-para-comercios__title {
    margin-bottom: 10px;
    font-size: 1.15rem;
  }

  .servicios-para-comercios__description {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* =========================================================
   SECCION ZONAS PROTECCION HOGAR
========================================================= */

.zonas-proteccion-hogar {
  position: relative;
  padding: 90px 0 80px;
  background: linear-gradient(
    to bottom,
    #eef1f4 0%,
    #f4f5f7 10%,
    #ffffff 22%,
    #ffffff 100%
  );
  overflow: hidden;
}

.zonas-proteccion-hogar__inner {
  position: relative;
}

/* =========================
   SUBSECCION TITULO
========================= */

.zonas-proteccion-hogar__header {
  text-align: center;
  margin-bottom: 34px;
}

.zonas-proteccion-hogar__title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.28;
  font-weight: 400;
  color: #111111;
}

.zonas-proteccion-hogar__title-line {
  display: block;
  font-weight: 400 !important;
}

.zonas-proteccion-hogar__title span {
  display: block;
  font-weight: 700;
}

.zonas-proteccion-hogar__lead {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #4d5b75;
}

/* =========================
   SUBSECCION SUPERIOR / TABS
========================= */

.zonas-proteccion-hogar__tabs {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: center;
  gap: 34px;
  margin-bottom: 44px;
}

.zonas-proteccion-hogar__tab {
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0 0 12px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0b3b8f;
  cursor: pointer;
  transition: color 0.25s ease;
}

.zonas-proteccion-hogar__tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: #0b63ce;
  transform: translateX(-50%);
  transition: width 0.25s ease, height 0.25s ease;
}

.zonas-proteccion-hogar__tab:hover {
  color: #0b63ce;
}

.zonas-proteccion-hogar__tab:hover::after {
  width: 100%;
}

.zonas-proteccion-hogar__tab.is-active {
  color: #0b63ce;
}

.zonas-proteccion-hogar__tab.is-active::after {
  width: 100%;
  height: 4px;
}

/* =========================
   SUBSECCION MEDIA
========================= */

.zonas-proteccion-hogar__media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr);
  align-items: start;
  gap: 42px;
  margin-bottom: 54px;
}

/* Columna izquierda */

.zonas-proteccion-hogar__visual {
  position: relative;
  min-width: 0;
  align-self: start;
}

.zonas-proteccion-hogar__image-wrap {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.zonas-proteccion-hogar__main-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 992px) {
  .zonas-proteccion-hogar__media {
    align-items: center;
  }

  .zonas-proteccion-hogar__visual {
    align-self: center;
  }

  .zonas-proteccion-hogar__image-wrap {
    max-width: 840px;
  }
}

/* Iconos flotantes */

.zonas-proteccion-hogar__marker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #55b7e7;
  color: #0b3b8f;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow:
    0 0 0 4px rgba(85, 183, 231, 0.18),
    0 10px 26px rgba(11, 59, 143, 0.18);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  z-index: 2;
  padding: 0;
  overflow: visible;
}

/* Estilos para los iconos Bootstrap dentro de los marcadores */
.zonas-proteccion-hogar__marker i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: inherit;
  line-height: 1;
}

.zonas-proteccion-hogar__marker:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.zonas-proteccion-hogar__marker.is-active {
  background: #0b63ce;
  color: #ffffff;
  box-shadow:
    0 0 0 7px rgba(85, 183, 231, 0.22),
    0 14px 34px rgba(11, 59, 143, 0.22);
}

/* Icono activo hereda el color blanco */
.zonas-proteccion-hogar__marker.is-active i {
  color: #ffffff;
}

/* Columna derecha */

.zonas-proteccion-hogar__panel {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  padding: 28px 22px 22px;
  box-shadow: 0 26px 70px rgba(15, 33, 70, 0.12);
  min-height: 440px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: start;
  transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
}

.zonas-proteccion-hogar__panel-close {
  display: none;
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #0b63ce;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.zonas-proteccion-hogar__panel-text {
  padding-right: 10px;
  min-height: 0;
}

.zonas-proteccion-hogar__panel-kicker {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #55b7e7;
}

.zonas-proteccion-hogar__panel-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 700;
  color: #0b3b8f;
}

.zonas-proteccion-hogar__panel-description {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.58;
  color: #444444;
}

.zonas-proteccion-hogar__panel-points {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #24324b;
  font-size: 0.89rem;
  line-height: 1.5;
}

.zonas-proteccion-hogar__panel-points[hidden] {
  display: none;
}

.zonas-proteccion-hogar__panel-slider {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  align-self: end;
}

.zonas-proteccion-hogar__arrow {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #f3f7fc;
  color: #0b63ce;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.zonas-proteccion-hogar__arrow:hover {
  transform: scale(1.06);
  background: #e7f1ff;
}

.zonas-proteccion-hogar__product-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 220px;
  height: 220px;
  overflow: hidden;
  padding: 6px;
}

.zonas-proteccion-hogar__product-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: var(--zonas-product-image-width, 82%);
  height: var(--zonas-product-image-height, 82%);
  object-fit: contain;
}

.zonas-proteccion-hogar__panel-kicker,
.zonas-proteccion-hogar__panel-title,
.zonas-proteccion-hogar__panel-description,
.zonas-proteccion-hogar__panel-points,
.zonas-proteccion-hogar__product-image {
  transition:
    opacity 0.22s ease,
    transform 0.28s ease;
  will-change: opacity, transform;
}

.zonas-proteccion-hogar__panel.is-updating .zonas-proteccion-hogar__panel-kicker,
.zonas-proteccion-hogar__panel.is-updating .zonas-proteccion-hogar__panel-title,
.zonas-proteccion-hogar__panel.is-updating .zonas-proteccion-hogar__panel-description,
.zonas-proteccion-hogar__panel.is-updating .zonas-proteccion-hogar__panel-points,
.zonas-proteccion-hogar__panel.is-updating .zonas-proteccion-hogar__product-image {
  opacity: 0;
  transform: translateY(10px);
}

/* =========================
   SUBSECCION INFERIOR
========================= */

.zonas-proteccion-hogar__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 34px;
  margin-bottom: 42px;
}

.zonas-proteccion-hogar__benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.zonas-proteccion-hogar__benefit-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eef5ff;
  color: #0b63ce;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.zonas-proteccion-hogar__benefit-icon i {
  line-height: 1;
}

.zonas-proteccion-hogar__benefit p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #222222;
}

/* =========================
   CTA
========================= */

.zonas-proteccion-hogar__cta {
  display: flex;
  justify-content: center;
}

.zonas-proteccion-hogar .btn-principal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(180deg, #0b63ce 0%, #084298 100%);
  box-shadow: 0 14px 36px rgba(8, 66, 152, 0.26);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.zonas-proteccion-hogar .btn-principal:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(8, 66, 152, 0.30);
}

/* =========================
   TABLET
========================= */

@media (max-width: 991.98px) {
  .zonas-proteccion-hogar {
    padding: 78px 0 72px;
  }

  .zonas-proteccion-hogar__title {
    font-size: 1.8rem;
  }

  .zonas-proteccion-hogar__lead {
    font-size: 0.96rem;
  }

  .zonas-proteccion-hogar__tabs {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 340px;
    margin: 0 auto 38px;
  }

  .zonas-proteccion-hogar__tab {
    text-align: center;
  }

  .zonas-proteccion-hogar__tab::after {
    left: 0;
    transform: none;
  }

  .zonas-proteccion-hogar__media {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 42px;
  }

  .zonas-proteccion-hogar__visual {
    z-index: 1;
  }

  .zonas-proteccion-hogar__panel {
    width: min(88%, 420px);
    min-height: auto;
    margin: -70px auto 0;
    padding: 28px 20px 20px;
    z-index: 3;
  }

  .zonas-proteccion-hogar__product-image-wrap {
    min-height: 200px;
    height: 200px;
  }

  .zonas-proteccion-hogar__benefits {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {
  .zonas-proteccion-hogar {
    padding: 64px 0 64px;
  }

  .zonas-proteccion-hogar__header {
    margin-bottom: 26px;
  }

  .zonas-proteccion-hogar__title {
    font-size: 1.55rem;
    line-height: 1.3;
  }

  .zonas-proteccion-hogar__lead {
    margin-top: 14px;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .zonas-proteccion-hogar__tabs {
    max-width: 280px;
    gap: 14px;
    margin-bottom: 30px;
  }

  .zonas-proteccion-hogar__tab {
    font-size: 0.92rem;
    padding-bottom: 10px;
  }

  .zonas-proteccion-hogar__tab:hover::after {
    width: 0;
  }

  .zonas-proteccion-hogar__tab.is-active::after {
    width: 100%;
  }

  .zonas-proteccion-hogar__marker {
    width: 30px;
    height: 30px;
    font-size: 0.78rem;
  }

  .zonas-proteccion-hogar__panel {
    position: relative;
    width: min(90%, 360px);
    margin: 16px auto 0;
    border-radius: 24px;
    padding: 36px 18px 18px;
    /* Transición suave cuando se abre/cierra */
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease, margin 0.35s ease;
  }

  .zonas-proteccion-hogar__product-image-wrap {
    min-height: 170px;
    height: 170px;
    padding: 4px;
  }

  .zonas-proteccion-hogar__panel-close {
    display: block;
  }

  .zonas-proteccion-hogar__panel.is-collapsed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-20px);
    margin: -20px auto 0;
  }

  /* Sección de beneficios con transición suave */
  .zonas-proteccion-hogar__benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: visible;
    padding-bottom: 0;
    /* Transición para que se mueva cuando el panel se abre/cierra */
    transition: margin-top 0.35s ease;
    margin-top: 0;
  }

  /* Cuando el panel está colapsado, los beneficios suben */
  .zonas-proteccion-hogar__benefits.benefits-collapsed {
    margin-top: -420px;
  }

  .zonas-proteccion-hogar__benefit {
    min-width: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 14px 32px rgba(15, 33, 70, 0.08);
  }

}

/* ================================================= */
/* SECCIÓN: CARACTERÍSTICAS DEL PANEL INTELIGENTE */
/* ================================================= */

.section--caracteristicas-panel {
  padding: 60px 0;
  background: #ffffff;
}

.caracteristicas-panel__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.caracteristicas-panel__title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #0f2146;
}

.caracteristicas-panel__content {
  display: flex !important;
  align-items: center !important;
  gap: 60px !important;
  min-height: 400px !important;
}

/* Columna izquierda: imagen */
.caracteristicas-panel__image-column {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.caracteristicas-panel__image-wrap {
  width: 100%;
  height: auto;
}

.caracteristicas-panel__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Columna derecha: slider */
.caracteristicas-panel__slider-column {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
}

.caracteristicas-panel__slider {
  position: relative;
  height: 240px !important;
  width: 100%;
  max-width: 400px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Slides individuales */
.caracteristicas-panel__slide {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100% !important;
  max-width: 100% !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.caracteristicas-panel__slide.is-active {
  opacity: 1;
  visibility: visible;
  position: absolute !important;
}

.caracteristicas-panel__slide-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0b5ed7;
  margin-bottom: 16px;
  line-height: 1.3;
  text-align: center;
}

.caracteristicas-panel__slide-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  text-align: center;
}

/* Contenedor del slider con flechas a los costados */
.caracteristicas-panel__slider-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  margin-bottom: 0 !important;
  width: 100% !important;
}

/* Flechas de navegación */
.caracteristicas-panel__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #0b5ed7;
  background: transparent;
  color: #0b5ed7;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.caracteristicas-panel__arrow:hover {
  background: #0b5ed7;
  color: #ffffff;
}

.caracteristicas-panel__arrow:active {
  transform: scale(0.95);
}

/* Clase para estado touch/pressed */
.caracteristicas-panel__arrow.is-pressed {
  background: #0b5ed7;
  color: #ffffff;
}

/* En dispositivos sin hover (touch), remover todos los estados visuales de foco */
@media (hover: none) and (pointer: coarse) {
  .caracteristicas-panel__arrow:focus,
  .caracteristicas-panel__arrow:active {
    background: transparent !important;
    color: #0b5ed7 !important;
    outline: none !important;
    box-shadow: none !important;
  }
}

/* En dispositivos con hover (mouse), permitir foco visual */
@media (hover: hover) and (pointer: fine) {
  .caracteristicas-panel__arrow:focus {
    outline: none;
    box-shadow: none;
  }
}

/* Indicadores */
.caracteristicas-panel__indicators-wrapper {
  display: none;
}

.caracteristicas-panel__indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #0b5ed7;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.caracteristicas-panel__indicator.is-active {
  background: #0b5ed7;
}

.caracteristicas-panel__indicator:hover {
  background: #0b5ed7;
}

/* Responsive: Tablet */
@media (max-width: 991.98px) {
  .caracteristicas-panel__title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .caracteristicas-panel__content {
    flex-direction: column !important;
    gap: 40px !important;
    min-height: auto !important;
    align-items: center !important;
  }

  .caracteristicas-panel__image-column {
    width: 100% !important;
    max-width: 100% !important;
  }

  .caracteristicas-panel__slider-column {
    width: 100% !important;
    max-width: 100% !important;
  }

  .caracteristicas-panel__slider {
    height: 240px !important;
    width: 100% !important;
    max-width: 90vw !important;
  }

  .caracteristicas-panel__slide-title {
    font-size: 1.4rem;
  }

  .caracteristicas-panel__arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* Responsive: Mobile */
@media (max-width: 575.98px) {
  .section--caracteristicas-panel {
    padding: 40px 0;
  }

  .caracteristicas-panel__title {
    font-size: 1.4rem;
    margin-bottom: 30px;
  }

  .caracteristicas-panel__content {
    flex-direction: column !important;
    gap: 30px !important;
    min-height: auto !important;
    align-items: center !important;
  }

  .caracteristicas-panel__image-column {
    width: 100% !important;
    max-width: 100% !important;
  }

  .caracteristicas-panel__slider-column {
    width: 100% !important;
    max-width: 100% !important;
  }

  .caracteristicas-panel__slider {
    height: 240px !important;
    width: 100% !important;
    max-width: 95vw !important;
  }

  .caracteristicas-panel__slide-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .caracteristicas-panel__slide-description {
    font-size: 0.95rem;
  }

  .caracteristicas-panel__slider-wrapper {
    gap: 12px !important;
    margin-bottom: 20px;
  }

  .caracteristicas-panel__arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .caracteristicas-panel__indicator {
    width: 8px;
    height: 8px;
  }
}

/* =========================================================
   COMPONENTE BENEFICIOS CONFIANZA
========================================================= */

.beneficios-confianza {
  padding: 0;
  background: #e9eaec;
}

.beneficios-confianza__slider {
  padding: 22px 0;
}

.beneficios-confianza__item {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 8px 16px;
}

.beneficios-confianza__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 10px;
  background: #f0f5ff;
  color: #0b5ed7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.beneficios-confianza__icon i {
  font-size: 1.2rem;
  line-height: 1;
}

.beneficios-confianza__text h3 {
  margin: 0;
  color: #2f2f34;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.beneficios-confianza__text p {
  margin: 2px 0 0;
  color: #6c7179;
  font-size: 0.9rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .beneficios-confianza__slider .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .beneficios-confianza__slider .swiper-slide {
    width: auto !important;
    height: auto;
  }

  .beneficios-confianza__slide {
    border-right: 1px solid #d3d3d3;
  }

  .beneficios-confianza__slide:last-child {
    border-right: 0;
  }
}

@media (max-width: 767.98px) {
  .beneficios-confianza {
    padding: 0;
  }

  .beneficios-confianza__slider {
    padding: 14px 0 18px;
    overflow: hidden;
  }

  .beneficios-confianza__slide {
    height: auto;
  }

  .beneficios-confianza__item {
    padding: 6px 14px;
    border-right: 0;
  }

  .beneficios-confianza__icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 10px;
  }

  .beneficios-confianza__icon i {
    font-size: 1.2rem;
  }

  .beneficios-confianza__text h3 {
    font-size: 1rem;
  }

  .beneficios-confianza__text p {
    font-size: 0.9rem;
    margin-top: 1px;
  }
}

/* =========================================================
   COMPONENTE CONTRATA EN 4 PASOS
========================================================= */

.contrata-pasos {
  padding: 18px 0 36px;
  background: #f2f2f2;
}

.contrata-pasos__header {
  margin-bottom: 14px;
}

.contrata-pasos__title {
  margin: 0;
  text-align: center;
  color: #111111;
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
  line-height: 1.2;
  font-weight: 700;
}

.contrata-pasos__slider {
  overflow: hidden;
}

.contrata-pasos__slide {
  height: auto;
}

.contrata-pasos__card {
  min-height: 202px;
  border: 1px solid #dddddd;
  border-radius: 10px;
  background: #f2f2f2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 14px;
}

.contrata-pasos__icon {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  color: #0b5ed7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contrata-pasos__icon i {
  font-size: 3.1rem;
  line-height: 1;
}

.contrata-pasos__text {
  margin: 0;
  text-align: center;
  color: #3d3d3d;
  font-size: 1.05rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .contrata-pasos__slider .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .contrata-pasos__slider .swiper-slide {
    width: auto !important;
    height: auto;
  }
}

@media (max-width: 767.98px) {
  .contrata-pasos {
    padding: 14px 0 30px;
  }

  .contrata-pasos__header {
    margin-bottom: 12px;
  }

  .contrata-pasos__slider {
    padding: 6px 0 4px;
  }

  .contrata-pasos__card {
    min-height: 180px;
    gap: 12px;
    padding: 14px 10px;
  }

  .contrata-pasos__icon {
    width: 78px;
    height: 78px;
  }

  .contrata-pasos__icon i {
    font-size: 2.5rem;
  }

  .contrata-pasos__text {
    font-size: 0.92rem;
  }
}

/* =========================================================
   COMPONENTE POR QUE ELEGIR
========================================================= */

.por-que-elegir {
  padding: 16px 0 44px;
  background: #f2f2f2;
}

.por-que-elegir__header {
  margin-bottom: 14px;
}

.por-que-elegir__title {
  margin: 0;
  text-align: center;
  color: #111111;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
}

.por-que-elegir__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.por-que-elegir__card {
  min-height: 116px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  background: #f2f2f2;
  display: grid;
  grid-template-columns: 116px 1fr;
  align-items: stretch;
}

.por-que-elegir__icon {
  border-right: 1px solid #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f28c28;
}

.por-que-elegir__icon i {
  font-size: 3rem;
  line-height: 1;
}

.por-que-elegir__content {
  padding: 16px 16px 14px;
}

.por-que-elegir__content h3 {
  margin: 0 0 8px;
  color: #0b5ed7;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 600;
}

.por-que-elegir__content p {
  margin: 0;
  color: #4c4c4c;
  font-size: 0.94rem;
  line-height: 1.45;
}

@media (max-width: 991.98px) {
  .por-que-elegir__card {
    grid-template-columns: 96px 1fr;
  }

  .por-que-elegir__icon i {
    font-size: 2.6rem;
  }

  .por-que-elegir__content {
    padding: 14px 14px 12px;
  }
}

@media (max-width: 767.98px) {
  .por-que-elegir {
    padding: 10px 0 32px;
  }

  .por-que-elegir__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .por-que-elegir__card {
    min-height: 108px;
    grid-template-columns: 84px 1fr;
  }

  .por-que-elegir__icon i {
    font-size: 2.2rem;
  }

  .por-que-elegir__content h3 {
    font-size: 1rem;
  }

  .por-que-elegir__content p {
    font-size: 0.9rem;
  }
}

/* =========================================================
   BLOQUE TEXTO DESTACADO - PAGINA TIENDA
========================================================= */

.tienda-mensaje-destacado {
  padding: 0 0 34px;
  background: #f2f2f2;
}

.tienda-mensaje-destacado__box {
  background: #0b78da;
  border-radius: 8px;
  padding: 34px 42px;
}

.tienda-mensaje-destacado__box p {
  margin: 0;
  color: #ffffff;
  font-size: 2rem;
  font-size: clamp(1.2rem, 1.55vw, 1.9rem);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.tienda-mensaje-destacado__box strong {
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .tienda-mensaje-destacado {
    padding: 0 0 28px;
  }

  .tienda-mensaje-destacado__box {
    padding: 28px 26px;
  }

  .tienda-mensaje-destacado__box p {
    font-size: clamp(1.05rem, 3.2vw, 1.28rem);
    line-height: 1.5;
  }
}

@media (max-width: 575.98px) {
  .tienda-mensaje-destacado__box {
    border-radius: 7px;
    padding: 22px 16px;
  }

  .tienda-mensaje-destacado__box p {
    font-size: 1rem;
    line-height: 1.48;
  }
}

/* =========================================================
   COMPONENTE KITS TIENDA
========================================================= */

.kits-tienda {
  padding: 42px 0 56px;
  background:
    radial-gradient(circle at top right, rgba(11, 94, 215, 0.08), transparent 42%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.kits-tienda__header {
  margin-bottom: 18px;
}

.kits-tienda__title {
  margin: 0;
  color: #122a53;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.25;
}

.kits-tienda__slider-wrap {
  position: relative;
  padding: 0 54px;
}

.kits-tienda__slider {
  overflow: hidden;
}

.kits-tienda__slide {
  height: auto;
}

.kits-tienda__card {
  height: 100%;
  border: 1px solid #dce7f8;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 33, 70, 0.10);
  display: flex;
  flex-direction: column;
}

.kits-tienda__card-media {
  flex: 0 0 50%;
  aspect-ratio: 1 / 1;
  background: #eaf1ff;
}

.kits-tienda__card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kits-tienda__card-body {
  flex: 1;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kits-tienda__card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.kits-tienda__card-title {
  margin: 0;
  color: #141a22;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 700;
}

.kits-tienda__info-btn {
  border: 1px solid #0b5ed7;
  background: #ffffff;
  color: #0b5ed7;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  padding: 8px 12px;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.kits-tienda__info-btn:hover {
  background: #0b5ed7;
  color: #ffffff;
}

.kits-tienda__card-description {
  margin: 0;
  color: #7b8492;
  font-size: 0.9rem;
  line-height: 1.4;
  min-height: calc(0.9rem * 1.4 * 3);
}

.kits-tienda__price-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.kits-tienda__price {
  margin: 0;
  color: #111111;
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.kits-tienda__price-note {
  margin: 5px 0 0;
  color: #6f7784;
  font-size: 0.82rem;
  line-height: 1.2;
}

.kits-tienda__installments {
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  min-height: 44px;
  width: 148px;
  border-radius: 7px;
  background: #fff3e7;
  color: #ea7a15;
  font-size: 0.72rem;
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
  flex-shrink: 0;
}

.kits-tienda__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border-radius: 6px;
  text-decoration: none;
  background: #0b5ed7;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background-color 0.22s ease;
}

.kits-tienda__cta:hover {
  background: #084298;
  color: #ffffff;
}

.kits-tienda__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 78px;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 33, 70, 0.18);
  color: #0b5ed7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  z-index: 4;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.kits-tienda__nav i {
  display: block;
  line-height: 1;
}

.kits-tienda__nav--prev {
  left: 0;
}

.kits-tienda__nav--prev i {
  animation: kitsTiendaArrowPrev 3.4s ease-in-out 1.1s infinite;
}

.kits-tienda__nav--next {
  right: 0;
}

.kits-tienda__nav--next i {
  animation: kitsTiendaArrowNext 3.4s ease-in-out 1.1s infinite;
}

.kits-tienda__nav:hover {
  background: #0b5ed7;
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(11, 94, 215, 0.24);
}

@keyframes kitsTiendaArrowPrev {
  0%, 82%, 100% {
    transform: translateX(0);
  }
  88% {
    transform: translateX(-7px) scale(1.06);
  }
  94% {
    transform: translateX(0);
  }
}

@keyframes kitsTiendaArrowNext {
  0%, 82%, 100% {
    transform: translateX(0);
  }
  88% {
    transform: translateX(7px) scale(1.06);
  }
  94% {
    transform: translateX(0);
  }
}

.kits-tienda-modal__content {
  border: 0;
  border-radius: 10px;
  overflow: hidden;
}

.kits-tienda-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
}

.kits-tienda-modal__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.kits-tienda-modal__media {
  min-height: 420px;
  background: #edf3ff;
}

.kits-tienda-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kits-tienda-modal__info {
  padding: 36px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kits-tienda-modal__title {
  margin: 0;
  color: #141a22;
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
}

.kits-tienda-modal__description {
  margin: 0;
  color: #7b8492;
  font-size: 1rem;
}

.kits-tienda-modal__price-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kits-tienda-modal__price {
  margin: 0;
  color: #111111;
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 700;
}

.kits-tienda-modal__installments {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  background: #fff3e7;
  color: #ea7a15;
  font-size: 0.82rem;
  font-weight: 700;
}

.kits-tienda-modal__installation {
  margin: -6px 0 0;
  color: #6f7784;
  font-size: 0.92rem;
}

.kits-tienda-modal__features {
  margin: 6px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #e5e9f2;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.kits-tienda-modal__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1f2732;
  font-size: 0.92rem;
}

.kits-tienda-modal__features i {
  color: #0b5ed7;
}

.kits-tienda-modal__cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 7px;
  border: 1px solid #0b5ed7;
  text-decoration: none;
  color: #0b5ed7;
  font-size: 0.95rem;
  font-weight: 700;
}

.kits-tienda-modal__cta:hover {
  background: #0b5ed7;
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .kits-tienda {
    padding: 34px 0 48px;
  }

  .kits-tienda__slider-wrap {
    padding: 0 44px;
  }

  .kits-tienda__card-title {
    font-size: 1.08rem;
  }

  .kits-tienda__price {
    font-size: 1.62rem;
  }

  .kits-tienda-modal__grid {
    grid-template-columns: 1fr;
  }

  .kits-tienda-modal__info {
    padding: 34px 20px 20px;
  }

  .kits-tienda-modal__features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .kits-tienda__slider-wrap {
    padding: 0 36px;
  }

  .kits-tienda__card-body {
    padding: 12px 12px 10px;
    gap: 8px;
  }

  .kits-tienda__card-title {
    font-size: 1rem;
  }

  .kits-tienda__info-btn {
    font-size: 0.78rem;
    padding: 7px 10px;
  }

  .kits-tienda__card-description {
    font-size: 0.84rem;
  }

  .kits-tienda__price {
    font-size: 1.45rem;
  }

  .kits-tienda__installments {
    font-size: 0.68rem;
    padding: 4px 6px;
  }

  .kits-tienda__price-note {
    font-size: 0.74rem;
  }

  .kits-tienda__cta {
    min-height: 40px;
    font-size: 0.9rem;
  }

  .kits-tienda__nav {
    width: 38px;
    height: 58px;
    font-size: 1.15rem;
    border-radius: 14px;
  }

  .kits-tienda-modal__info {
    padding: 26px 16px 16px;
    gap: 10px;
  }

  .kits-tienda-modal__title {
    font-size: 1.45rem;
  }

  .kits-tienda-modal__description {
    font-size: 0.93rem;
  }

  .kits-tienda-modal__price {
    font-size: 1.7rem;
  }

  .kits-tienda-modal__installation {
    font-size: 0.84rem;
    margin-top: -2px;
  }

  .kits-tienda-modal__features {
    padding-top: 12px;
    gap: 8px;
  }

  .kits-tienda-modal__features li {
    font-size: 0.88rem;
  }

  .kits-tienda-modal__cta {
    min-height: 42px;
    font-size: 0.9rem;
  }
}

/* =========================================================
   SECCION COMPARADOR DE PACKS HOGAR
========================================================= */

.packs-hogar-heading {
  padding: 64px 0 42px;
  background: linear-gradient(135deg, #0b3b8f 0%, #0a5bc4 100%);
}

.packs-hogar-heading__title {
  margin: 0;
  color: #ffffff;
  text-align: center;
  font-size: clamp(1.7rem, 2.3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
}

/* =========================================================
   SECCION CENTRAL DE MONITOREO HOGAR
========================================================= */

.central-monitoreo-home {
  padding: 72px 0;
  background:
    radial-gradient(circle at top left, rgba(11, 94, 215, 0.08), transparent 38%),
    linear-gradient(180deg, #f5f8fe 0%, #ffffff 100%);
}

.central-monitoreo-home__card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 48px;
  padding: 32px;
  border: 1px solid rgba(15, 33, 70, 0.08);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 33, 70, 0.08);
  overflow: hidden;
}

.central-monitoreo-home__media {
  position: relative;
}

.central-monitoreo-home__media img {
  display: block;
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.central-monitoreo-home__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.central-monitoreo-home__eyebrow {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(11, 94, 215, 0.1);
  color: #0b5ed7;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.central-monitoreo-home__title {
  margin: 0;
  color: #0f2146;
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
}

.central-monitoreo-home__subtitle {
  margin: 0;
  color: #0b5ed7;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
}

.central-monitoreo-home__description {
  margin: 0;
  color: #516078;
  font-size: 1rem;
  line-height: 1.75;
}

.central-monitoreo-home__list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 16px;
}

.central-monitoreo-home__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 20px;
  background: #f7faff;
  border: 1px solid rgba(11, 94, 215, 0.08);
}

.central-monitoreo-home__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e8f1ff 0%, #d8e8ff 100%);
  color: #0b5ed7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(11, 94, 215, 0.08);
}

.central-monitoreo-home__icon i {
  font-size: 1.75rem;
  line-height: 1;
}

.central-monitoreo-home__item h4 {
  margin: 0 0 6px;
  color: #0f2146;
  font-size: 1.05rem;
  font-weight: 700;
}

.central-monitoreo-home__item p {
  margin: 0;
  color: #5f6f86;
  line-height: 1.65;
}

@media (max-width: 991.98px) {
  .central-monitoreo-home {
    padding: 56px 0;
  }

  .central-monitoreo-home__card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px;
    border-radius: 28px;
  }

  .central-monitoreo-home__media img {
    max-height: 420px;
  }
}

@media (max-width: 575.98px) {
  .central-monitoreo-home {
    padding: 44px 0;
  }

  .central-monitoreo-home__card {
    gap: 24px;
    padding: 18px;
    border-radius: 22px;
  }

  .central-monitoreo-home__subtitle {
    font-size: 1rem;
  }

  .central-monitoreo-home__description {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .central-monitoreo-home__item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .central-monitoreo-home__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .central-monitoreo-home__icon i {
    font-size: 1.5rem;
  }
}

.packs-hogar-comparador {
  padding: 34px 0 80px;
  background: linear-gradient(to bottom, #0a5bc4 0, #f4f7fc 140px, #f4f7fc 100%);
}

.packs-hogar-desktop {
  display: block;
}

.packs-hogar-mobile {
  display: none;
}

.packs-hogar-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(10, 43, 99, 0.08);
  border: 1px solid #e4ebf7;
  background: #ffffff;
}

.packs-hogar-table th,
.packs-hogar-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eef3fb;
  border-right: 1px solid #eef3fb;
  vertical-align: middle;
}

.packs-hogar-table th:last-child,
.packs-hogar-table td:last-child {
  border-right: 0;
}

.packs-hogar-table thead th {
  background: #f8fbff;
  text-align: center;
  color: #0b3b8f;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.packs-hogar-table thead th:first-child {
  width: 33%;
  text-align: left;
}

.packs-hogar-table thead th img {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto 8px;
}

.packs-hogar-table thead th span {
  display: block;
}

.packs-hogar-table thead th:not(:first-child) span {
  white-space: nowrap;
}

.packs-hogar-table thead th:nth-child(3),
.packs-hogar-table tbody td:nth-child(3),
.packs-hogar-table tfoot td:nth-child(3) {
  background: #f8fcf9;
  border-left: 2px solid #b9e3c8;
  border-right: 2px solid #b9e3c8;
}

.packs-hogar-table thead th:nth-child(6),
.packs-hogar-table tbody td:nth-child(6),
.packs-hogar-table tfoot td:nth-child(6) {
  background: #fffbf4;
  border-left: 2px solid #ffd79a;
  border-right: 2px solid #ffd79a;
}

.packs-hogar-table thead th:nth-child(3) {
  border-top: 2px solid #b9e3c8;
}

.packs-hogar-table tfoot td:nth-child(3) {
  border-bottom: 2px solid #b9e3c8;
}

.packs-hogar-table thead th:nth-child(6) {
  border-top: 2px solid #ffd79a;
}

.packs-hogar-table tfoot td:nth-child(6) {
  border-bottom: 2px solid #ffd79a;
}

.packs-hogar-table thead th:nth-child(3)::after {
  content: "MAS CONTRATADO\A EN HOGARES";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  text-align: center;
  background: #1f7a3a;
  color: #ffffff;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  box-sizing: border-box;
  white-space: pre-line;
  z-index: 2;
}

.packs-hogar-table thead th:nth-child(6)::after {
  content: "MAS CONTRATADO\A EN COMERCIOS";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  text-align: center;
  background: #c47a0b;
  color: #ffffff;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  box-sizing: border-box;
  white-space: pre-line;
  z-index: 2;
}

.packs-hogar-table tbody td:first-child {
  font-size: 0.94rem;
  line-height: 1.35;
  color: #1a1f2a;
}

.packs-hogar-table tbody td:not(:first-child),
.packs-hogar-table tfoot td:not(:first-child) {
  text-align: center;
}

.packs-hogar-table tfoot td {
  background: #ffffff;
  border-bottom: 0;
}

.packs-hogar-table .pack-card-hogar__cta {
  margin: 0 auto;
  max-width: 160px;
  white-space: nowrap;
}

.packs-hogar-table__featured-col {
  background: #fffdf4;
}

.pack-card-hogar__header {
  border-bottom: 1px solid #e6edf9;
  padding: 14px;
  text-align: center;
  background: #ffffff;
}

.pack-card-hogar__header img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin: 0 auto 10px;
}

.pack-card-hogar__header h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b3b8f;
}

.pack-card-hogar__checks li {
  justify-content: center;
}

.estado {
  min-width: 44px;
  text-align: center;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.estado--si {
  color: #0f8a45;
  background: #e9f8ef;
}

.estado--no {
  color: #b03a2e;
  background: #fbeceb;
}

.estado--adicional {
  color: #9b5f04;
  background: #fff4df;
}

.pack-card-hogar__cta {
  display: block;
  margin: 14px;
  border-radius: 999px;
  background: #f8b712;
  color: #0f2347;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 16px;
}

.pack-card-hogar__cta:hover {
  background: #e8ab10;
  color: #0f2347;
}

.pack-card-hogar--featured {
  transform: translateY(-8px);
  border-color: #f8b712;
}

/* Variante mobile/tablet: cards apiladas por plan */
.pack-mobile-hogar {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(10, 43, 99, 0.08);
  border: 1px solid #e4ebf7;
  overflow: hidden;
  position: relative;
}

.pack-mobile-hogar + .pack-mobile-hogar {
  margin-top: 18px;
}

.pack-mobile-hogar__features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pack-mobile-hogar__features li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  padding: 10px 14px;
  border-bottom: 1px solid #eef3fb;
}

.pack-mobile-hogar__features li span:first-child {
  font-size: 0.93rem;
  line-height: 1.3;
  color: #1a1f2a;
}

.pack-mobile-hogar--featured {
  border-color: #f8b712;
}

.pack-mobile-hogar--popular-home {
  border-color: #ccebd7;
  box-shadow: 0 14px 30px rgba(31, 122, 58, 0.12);
}

.pack-mobile-hogar--popular-home::before {
  content: "MAS CONTRATADO\A EN HOGARES";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  text-align: center;
  background: #1f7a3a;
  color: #ffffff;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  box-sizing: border-box;
  white-space: pre-line;
  z-index: 3;
}

.pack-mobile-hogar--popular-comercio {
  border-color: #ffe1b3;
  box-shadow: 0 14px 30px rgba(155, 95, 4, 0.12);
}

.pack-mobile-hogar--popular-comercio::before {
  content: "MAS CONTRATADO\A EN COMERCIOS";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  text-align: center;
  background: #c47a0b;
  color: #ffffff;
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  box-sizing: border-box;
  white-space: pre-line;
  z-index: 3;
}

@media (max-width: 991.98px) {
  .packs-hogar-desktop {
    display: none;
  }

  .packs-hogar-mobile {
    display: block;
  }

  .pack-card-hogar__header img {
    max-width: 280px;
  }
}

@media (max-width: 767.98px) {
  .packs-hogar-heading {
    padding: 52px 0 32px;
  }

  .packs-hogar-comparador {
    padding: 26px 0 52px;
  }

  .pack-mobile-hogar__features li {
    min-height: 54px;
    padding: 10px 12px;
  }

  .pack-mobile-hogar__features li span:first-child {
    font-size: 0.9rem;
  }
}

  /* =========================================
     APP HOME SECTION
  ========================================= */

  .app-home {
    padding: 56px 0;
  }

  .app-home__card {
    position: relative;
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: center;
    gap: 26px;
    background: #0a5ea8;
    border-radius: 34px;
    padding: 28px 34px 28px 24px;
    overflow: visible;
  }

  .app-home__phone-wrap {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .app-home__phone-image {
    width: 143px;
    max-width: 100%;
    height: auto;
    display: block;
  }

  .app-home__content {
    color: #ffffff;
  }

  .app-home__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 14px;
  }

  .app-home__copy {
    max-width: 700px;
  }

  .app-home__title {
    margin: 0;
    font-size: clamp(1.55rem, 2.2vw, 2.2rem);
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
  }

  .app-home__lead {
    margin: 10px 0 2px;
    font-size: 1.32rem;
    line-height: 1.35;
    font-weight: 600;
    color: #ffffff;
  }

  .app-home__desc {
    margin: 0;
    color: #e8f4ff;
    font-size: 1.03rem;
    line-height: 1.55;
  }

  .app-home__stores {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: 2px;
  }

  .app-home__stores--mobile {
    display: none;
  }

  .app-home__store-link {
    display: inline-flex;
  }

  .app-home__badge-image {
    width: 180px;
    height: auto;
    display: block;
  }

  .app-home__features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 10px 36px;
  }

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

  .app-home__list li {
    position: relative;
    color: #ffffff;
    font-size: 1.02rem;
    line-height: 1.45;
    padding-left: 30px;
  }

  .app-home__list li i {
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-size: 1.12rem;
    color: #ffffff;
  }

  .app-home__mobile-image {
    display: none;
  }

  @media (max-width: 991px) {
    .app-home {
      padding: 46px 0;
    }

    .app-home__card {
      grid-template-columns: 1fr;
      border-radius: 26px;
      gap: 16px;
      padding: 24px 20px;
    }

    .app-home__phone-wrap {
      display: none;
    }

    .app-home__top {
      flex-direction: column;
      gap: 14px;
      margin-bottom: 12px;
    }

    .app-home__stores {
      flex-direction: row;
      flex-wrap: wrap;
    }

    .app-home__stores--desktop {
      display: none;
    }

    .app-home__stores--mobile {
      display: flex;
      margin-top: 18px;
      justify-content: center;
      width: 100%;
    }

    .app-home__mobile-image {
      display: block;
      width: 131px;
      margin: 2px auto 8px;
    }

    .app-home__features-grid {
      grid-template-columns: 1fr;
      gap: 10px;
    }
  }

  @media (max-width: 575px) {
    .app-home {
      padding: 36px 0;
    }

    .app-home__card {
      border-radius: 20px;
      padding: 20px 16px;
    }

    .app-home__lead {
      font-size: 1.1rem;
    }

    .app-home__desc,
    .app-home__list li {
      font-size: 0.95rem;
    }

    .app-home__badge-image {
      width: 156px;
    }
  }

  /* =========================================================
     COMPONENTE REUTILIZABLE: PLAN QUE ES
  ========================================================= */

  .plan-que-es {
    padding: 72px 0;
    background: #ffffff;
  }

  .plan-que-es__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 44px;
  }

  .plan-que-es__media {
    width: 100%;
  }

  .plan-que-es__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
  }

  .plan-que-es__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .plan-que-es__title {
    margin: 0;
    color: #0f2146;
    font-size: clamp(1.55rem, 2.4vw, 2.2rem);
    font-weight: 700;
    line-height: 1.25;
  }

  .plan-que-es__description {
    margin: 0;
    color: #4f5e75;
    font-size: 1rem;
    line-height: 1.75;
  }

  /* Evita que una imagen muy grande desborde en altura en los bloques "plan que es" */
  #plan-video-que-es .plan-que-es__media,
  #plan-basic-que-es .plan-que-es__media,
  #plan-plus-que-es .plan-que-es__media,
  #plan-pro-que-es .plan-que-es__media,
  #plan-comercial-que-es .plan-que-es__media {
    width: 100%;
    max-width: 322px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
    border-radius: 24px;
    overflow: hidden;
  }

  #plan-video-que-es .plan-que-es__image,
  #plan-basic-que-es .plan-que-es__image,
  #plan-plus-que-es .plan-que-es__image,
  #plan-pro-que-es .plan-que-es__image,
  #plan-comercial-que-es .plan-que-es__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
  }

  @media (max-width: 991.98px) {
    .plan-que-es {
      padding: 62px 0;
    }

    .plan-que-es__card {
      gap: 28px;
    }
  }

  @media (max-width: 767.98px) {
    .plan-que-es {
      padding: 52px 0;
    }

    #plan-video-que-es .plan-que-es__media,
    #plan-basic-que-es .plan-que-es__media,
    #plan-plus-que-es .plan-que-es__media,
    #plan-pro-que-es .plan-que-es__media,
    #plan-comercial-que-es .plan-que-es__media {
      max-width: 294px;
      aspect-ratio: 16 / 11;
    }

    .plan-que-es__card {
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .plan-que-es__content {
      text-align: left;
    }
  }

  /* =========================================================
     COMPONENTE REUTILIZABLE: PLAN INCLUYE (CARDS)
  ========================================================= */

  .plan-incluye {
    padding: 72px 0;
    background: #f3f5f8;
  }

  .plan-incluye__title {
    margin: 0 0 34px;
    text-align: center;
    color: #1d2636;
    font-size: clamp(1.45rem, 2.3vw, 2.2rem);
    line-height: 1.2;
    font-weight: 700;
  }

  .plan-incluye__slider {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 16px;
  }

  .plan-incluye__viewport {
    overflow: hidden;
  }

  .plan-incluye__track {
    display: flex;
    gap: 16px;
    transition: transform 0.45s ease;
    will-change: transform;
  }

  .plan-incluye__card {
    background: #ffffff;
    border-radius: 20px;
    min-height: 258px;
    padding: 26px 20px;
    box-shadow: 0 18px 38px rgba(12, 31, 62, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }

  .plan-incluye__icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #edf4ff;
    color: #0b5ed7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
  }

  .plan-incluye__icon i {
    font-size: 1.8rem;
    line-height: 1;
  }

  .plan-incluye__text {
    margin: 0;
    color: #2d3a4f;
    font-size: 0.97rem;
    line-height: 1.55;
  }

  .plan-incluye__arrow {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #0b5ed7;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(12, 31, 62, 0.14);
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
  }

  .plan-incluye__arrow:hover {
    transform: scale(1.05);
    background: #0b5ed7;
    color: #ffffff;
  }

  .plan-incluye__dots {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .plan-incluye__dot {
    width: 34px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: #c6cbd4;
    padding: 0;
    cursor: pointer;
  }

  .plan-incluye__dot.is-active {
    background: #2ea8df;
  }

  @media (max-width: 991.98px) {
    .plan-incluye {
      padding: 64px 0;
    }

    .plan-incluye__slider {
      grid-template-columns: 40px minmax(0, 1fr) 40px;
      gap: 12px;
    }

    .plan-incluye__card {
      min-height: 246px;
      padding: 24px 18px;
    }
  }

  @media (max-width: 767.98px) {
    .plan-incluye {
      padding: 54px 0;
    }

    .plan-incluye__title {
      margin-bottom: 22px;
      text-align: left;
    }

    .plan-incluye__slider {
      grid-template-columns: 36px minmax(0, 1fr) 36px;
      gap: 8px;
    }

    .plan-incluye__card {
      min-height: 220px;
      padding: 22px 16px;
    }

    .plan-incluye__icon {
      width: 62px;
      height: 62px;
      margin-bottom: 14px;
    }

    .plan-incluye__icon i {
      font-size: 1.55rem;
    }

    .plan-incluye__text {
      font-size: 0.95rem;
    }

    .plan-incluye__dot {
      width: 28px;
      height: 4px;
    }
  }

  /* =========================================================
     COMPONENTE REUTILIZABLE: KIT QUE INCLUYE (CARDS)
  ========================================================= */

  .kit-incluye {
    padding: 72px 0;
    background: #ffffff;
  }

  .kit-incluye__title {
    margin: 0 0 34px;
    text-align: center;
    color: #1d2636;
    font-size: clamp(1.45rem, 2.3vw, 2.2rem);
    line-height: 1.2;
    font-weight: 700;
  }

  .kit-incluye__slider {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 16px;
  }

  .kit-incluye__viewport {
    overflow: hidden;
  }

  .kit-incluye__track {
    display: flex;
    gap: 16px;
    transition: transform 0.45s ease;
    will-change: transform;
  }

  .kit-incluye__card {
    border-radius: 18px;
    min-height: 390px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: transparent;
  }

  .kit-incluye__image {
    width: 100%;
    max-width: 230px;
    height: 220px;
    object-fit: contain;
    display: block;
    margin: 0 auto 14px;
  }

  .kit-incluye__card-title {
    margin: 0 0 10px;
    color: #0f2146;
    font-size: 1.05rem;
    line-height: 1.3;
    font-weight: 700;
  }

  .kit-incluye__card-text {
    margin: 0;
    color: #2d3a4f;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .kit-incluye__arrow {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #0b5ed7;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(12, 31, 62, 0.14);
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
  }

  .kit-incluye__arrow:hover {
    transform: scale(1.05);
    background: #0b5ed7;
    color: #ffffff;
  }

  .kit-incluye__dots {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .kit-incluye__dot {
    width: 34px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: #c6cbd4;
    padding: 0;
    cursor: pointer;
  }

  .kit-incluye__dot.is-active {
    background: #2ea8df;
  }

  .kit-incluye__cta {
    margin-top: 28px;
    display: flex;
    justify-content: center;
  }

  .kit-incluye__cta-btn {
    display: inline-flex;
    align-items: center;
  }

  /* =========================================================
   COMPONENTE REUTILIZABLE: DETALLE PRODUCTO KIT
   ========================================================= */

.kit-producto {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.kit-producto__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.kit-producto__gallery-card,
.kit-producto__summary-card,
.kit-producto__plan-card,
.kit-producto__description-block {
  background: #ffffff;
  border: 1px solid #e8ebf0;
  border-radius: 6px;
}

.kit-producto__gallery-card {
  padding: 0.8rem;
}

.kit-producto__main-media {
  margin: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5fb 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.kit-producto__main-media img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.kit-producto__main-media img.kit-producto__main-image--full {
  width: 100%;
  height: 100%;
}

.kit-producto__thumbs {
  margin-top: 0.65rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
}

.kit-producto__thumb {
  border: 1px solid #dde3ee;
  background: #ffffff;
  padding: 0.2rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kit-producto__thumb img {
  width: 70%;
  height: 70%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  display: block;
}

.kit-producto__thumb:hover,
.kit-producto__thumb.is-active {
  border-color: #0b5ed7;
  box-shadow: 0 0 0 2px rgba(11, 94, 215, 0.12);
}

.kit-producto__summary-card {
  padding: 1.05rem 1rem;
}

.kit-producto__title {
  margin: 0;
  font-size: 1.95rem;
  line-height: 1.06;
  font-weight: 700;
  color: #111827;
}

.kit-producto__subtitle {
  margin: 0.25rem 0 0;
  font-size: 1.01rem;
  color: #737b87;
}

.kit-producto__price-row {
  margin-top: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.kit-producto__price {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  color: #0b111c;
}

.kit-producto__installments {
  font-size: 0.95rem;
  line-height: 1.1;
  font-weight: 700;
  color: #f0831f;
}

.kit-producto__meta-row {
  margin: 0.4rem 0 0;
  font-size: 0.91rem;
  color: #7d8592;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.kit-producto__meta-service {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.kit-producto__meta-service i {
  color: #98a0ac;
}

.kit-producto__tax {
  margin: 0.32rem 0 0;
  font-size: 0.92rem;
  color: #8f96a3;
}

.kit-producto__divider {
  margin: 0.82rem 0;
  border: 0;
  height: 1px;
  background: #e9edf4;
}

.kit-producto__features-title {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.15;
  font-weight: 700;
  color: #1c2432;
}

.kit-producto__features {
  list-style: none;
  margin: 0.62rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.62rem;
}

.kit-producto__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.48rem;
  font-size: 0.98rem;
  line-height: 1.32;
  color: #232d3d;
}

.kit-producto__features i {
  color: #b8bec8;
  margin-top: 0.1rem;
}

.kit-producto__actions {
  margin-top: 0.86rem;
}

.kit-producto__qty {
  width: 100%;
  max-width: 164px;
  border: 1px solid #dce2ec;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
}

.kit-producto__qty-btn {
  border: 0;
  background: #f3f6fb;
  color: #778090;
  font-size: 1.28rem;
  cursor: pointer;
}

.kit-producto__qty-input {
  border: 0;
  text-align: center;
  font-weight: 600;
  font-size: 0.96rem;
  color: #182132;
}

.kit-producto__qty-input:focus {
  outline: none;
}

.kit-producto__qty-input::-webkit-outer-spin-button,
.kit-producto__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.kit-producto__qty-input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.kit-producto__cta {
  margin-top: 0.55rem;
  width: 100%;
  border: 0;
  border-radius: 4px;
  min-height: 44px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.kit-producto__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.kit-producto__cta--primary {
  background: #0b5ed7;
  color: #ffffff;
}

.kit-producto__cta--secondary {
  background: #26a744;
  color: #ffffff;
}

.kit-producto__contact-note {
  margin: 0.56rem 0 0;
  font-size: 0.9rem;
  color: #858d9b;
}

.kit-producto__plan-card {
  margin-top: 0.7rem;
  padding: 1rem;
}

.kit-producto__plan-title {
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.15;
  font-weight: 700;
  color: #1c2432;
}

.kit-producto__plan-prices {
  margin-top: 0.52rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.kit-producto__plan-list {
  margin: 0;
  font-size: 1rem;
  text-decoration: line-through;
  color: #9ba3af;
}

.kit-producto__plan-sell {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 800;
  color: #e57919;
}

.kit-producto__plan-promo {
  margin: 0;
  font-size: 0.84rem;
  color: #085acb;
  background: #e5f0ff;
  border-radius: 4px;
  padding: 0.2rem 0.44rem;
  font-weight: 600;
}

.kit-producto__plan-note {
  margin: 0.64rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #4c5666;
}

.kit-producto__description-block {
  margin-top: 0.7rem;
  padding: 0.9rem 1rem;
}

.kit-producto__includes {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.96rem;
  color: #3d4655;
  display: grid;
  gap: 0.28rem;
}

.kit-producto__description-note {
  margin: 0.8rem 0 0;
  padding-top: 0.72rem;
  border-top: 1px solid #ebeff6;
  font-size: 0.92rem;
  color: #717b8a;
}

@media (max-width: 991.98px) {
  .kit-producto__grid {
    grid-template-columns: 1fr;
  }

  .kit-producto__title {
    font-size: 1.62rem;
  }

  .kit-producto__price {
    font-size: 1.78rem;
  }

  .kit-producto__features-title,
  .kit-producto__plan-title {
    font-size: 1.24rem;
  }

  .kit-producto__plan-sell {
    font-size: 1.56rem;
  }
}

@media (max-width: 767.98px) {
  .kit-producto {
    padding-top: 1rem;
    padding-bottom: 1.8rem;
  }

  .kit-producto__gallery-card {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .kit-producto__main-media {
    border-radius: 6px;
  }

  .kit-producto__thumbs {
    margin-top: 0.4rem;
    gap: 0.3rem;
  }

  .kit-producto__summary-card,
  .kit-producto__plan-card,
  .kit-producto__description-block {
    padding: 0.9rem 0.8rem;
    border-radius: 6px;
  }

  .kit-producto__title {
    font-size: 1.44rem;
  }

  .kit-producto__subtitle {
    font-size: 0.92rem;
  }

  .kit-producto__price {
    font-size: 1.56rem;
  }

  .kit-producto__installments {
    font-size: 0.84rem;
  }

  .kit-producto__meta-row,
  .kit-producto__tax,
  .kit-producto__features li,
  .kit-producto__contact-note,
  .kit-producto__description-note,
  .kit-producto__includes {
    font-size: 0.84rem;
  }

  .kit-producto__features-title,
  .kit-producto__plan-title {
    font-size: 1.13rem;
  }

  .kit-producto__qty {
    max-width: 100%;
  }

  .kit-producto__plan-sell {
    font-size: 1.32rem;
  }
}

  .kit-incluye__cta-btn {
    justify-content: center;
    min-width: 188px;
    padding: 12px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(180deg, #0b63ce 0%, #084298 100%);
    box-shadow: 0 14px 36px rgba(8, 66, 152, 0.26);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }

  .kit-incluye__cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(8, 66, 152, 0.30);
    color: #ffffff;
  }

  @media (max-width: 991.98px) {
    .kit-incluye {
      padding: 64px 0;
    }

    .kit-incluye__slider {
      grid-template-columns: 40px minmax(0, 1fr) 40px;
      gap: 12px;
    }

    .kit-incluye__card {
      min-height: 370px;
    }

    .kit-incluye__image {
      height: 205px;
    }
  }

  @media (max-width: 767.98px) {
    .kit-incluye {
      padding: 54px 0;
    }

    .kit-incluye__title {
      margin-bottom: 22px;
      text-align: left;
    }

    .kit-incluye__slider {
      grid-template-columns: 36px minmax(0, 1fr) 36px;
      gap: 8px;
    }

    .kit-incluye__card {
      min-height: 355px;
      padding: 8px 6px;
    }

    .kit-incluye__image {
      max-width: 250px;
      height: 210px;
      margin-bottom: 12px;
    }

    .kit-incluye__card-title {
      font-size: 1rem;
    }

    .kit-incluye__card-text {
      font-size: 0.93rem;
    }

    .kit-incluye__dot {
      width: 28px;
      height: 4px;
    }
  }

  /* =========================================================
     COMPONENTE REUTILIZABLE: EN CONSTRUCCION
  ========================================================= */

  .en-construccion {
    padding: 90px 0;
    background: linear-gradient(180deg, #f5f8fe 0%, #ffffff 100%);
  }

  .en-construccion__card {
    max-width: 760px;
    margin: 0 auto;
    padding: 46px 30px;
    border-radius: 28px;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(11, 94, 215, 0.12);
    box-shadow: 0 24px 60px rgba(12, 31, 62, 0.08);
  }

  .en-construccion__icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #edf4ff;
    color: #0b5ed7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .en-construccion__icon i {
    font-size: 2rem;
    line-height: 1;
  }

  .en-construccion__title {
    margin: 0 0 12px;
    color: #0f2146;
    font-size: clamp(1.55rem, 2.6vw, 2.3rem);
    font-weight: 700;
    line-height: 1.2;
  }

  .en-construccion__text {
    margin: 0 auto 24px;
    max-width: 620px;
    color: #44546d;
    font-size: 1rem;
    line-height: 1.7;
  }

  .en-construccion__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 188px;
    padding: 12px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(180deg, #0b63ce 0%, #084298 100%);
    box-shadow: 0 14px 36px rgba(8, 66, 152, 0.26);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }

  .en-construccion__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(8, 66, 152, 0.30);
    color: #ffffff;
  }

  @media (max-width: 767.98px) {
    .en-construccion {
      padding: 64px 0;
    }

    .en-construccion__card {
      padding: 36px 18px;
      border-radius: 22px;
    }

    .en-construccion__icon {
      width: 70px;
      height: 70px;
    }

    .en-construccion__icon i {
      font-size: 1.8rem;
    }
  }

/* =========================================================
   PAGINAS LEGALES
   - Estilos encapsulados en .legal-
   - Mantiene coherencia visual con el resto del sitio
========================================================= */

.legal-page {
  background: #f4f7ff;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 78px;
  background:
    radial-gradient(circle at top left, rgba(118, 180, 255, 0.22), transparent 34%),
    linear-gradient(135deg, #072763 0%, #0b3b8f 55%, #0d57c8 100%);
}

.legal-hero-content {
  max-width: 820px;
  color: #ffffff;
}

.legal-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.12;
}

.legal-hero p {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.04rem;
  line-height: 1.7;
}

.legal-section {
  padding: 64px 0;
}

.legal-section-alt {
  background: linear-gradient(180deg, #edf3ff 0%, #f7f9ff 100%);
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.legal-stack {
  display: grid;
  gap: 18px;
}

.legal-card {
  padding: 26px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 143, 0.1);
  box-shadow: 0 16px 34px rgba(13, 42, 99, 0.08);
}

.legal-card h2 {
  margin: 0 0 12px;
  color: #0d2a63;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.2;
}

.legal-card h3 {
  margin: 20px 0 10px;
  color: #0d2a63;
  font-size: 1.06rem;
}

.legal-card p {
  margin: 0 0 12px;
  color: #42557c;
  line-height: 1.72;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

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

.legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #42557c;
  line-height: 1.68;
}

.legal-list i {
  margin-top: 3px;
  color: #0b5ed7;
  font-size: 0.95rem;
}

.legal-meta-grid {
  display: grid;
  gap: 14px;
}

.legal-meta-card {
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(11, 59, 143, 0.1);
  box-shadow: 0 12px 28px rgba(13, 42, 99, 0.07);
}

.legal-meta-label {
  display: block;
  margin-bottom: 6px;
  color: #0b3b8f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-meta-card p,
.legal-meta-card a {
  margin: 0;
  color: #33476d;
  line-height: 1.6;
}

.legal-meta-card a {
  text-decoration: none;
}

.legal-meta-card a:hover {
  color: #0b5ed7;
}

.legal-toc {
  display: grid;
  gap: 10px;
}

.legal-toc a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f4f8ff;
  border: 1px solid rgba(11, 59, 143, 0.08);
  color: #0d2a63;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.legal-toc a:hover {
  transform: translateY(-1px);
  background: #edf4ff;
  border-color: rgba(11, 94, 215, 0.18);
}

.legal-note {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f4f8ff 0%, #edf4ff 100%);
  border: 1px solid rgba(11, 59, 143, 0.1);
}

.legal-note p {
  margin: 0;
  color: #33476d;
}

.legal-contact-card {
  background: linear-gradient(180deg, #0b3b8f 0%, #0a3277 100%);
  border-color: rgba(11, 59, 143, 0.48);
}

.legal-contact-card h2,
.legal-contact-card p,
.legal-contact-card a {
  color: #edf4ff;
}

.legal-contact-card a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-contact-card a:hover {
  color: #ffffff;
}

.legal-contact-card .btn-light {
  color: #0d2a63;
}

.legal-contact-card .btn-light:hover,
.legal-contact-card .btn-light:focus {
  color: #0d2a63;
}

.legal-contact-card .btn-outline-light {
  color: #ffffff;
}

.legal-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 991.98px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .legal-hero {
    padding: 82px 0 62px;
  }

  .legal-section {
    padding: 52px 0;
  }

  .legal-card {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .legal-meta-card {
    padding: 16px;
    border-radius: 14px;
  }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 10px;
  background: #0b5ed7;
  color: #ffffff;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.visually-hidden-seo {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.seo-breadcrumbs {
  padding: 18px 0 8px;
  background: #ffffff;
}

.seo-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #587197;
  font-size: 0.95rem;
}

.seo-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.seo-breadcrumbs li + li::before {
  content: "/";
  color: #8da0bb;
  margin-right: 2px;
}

.seo-breadcrumbs a {
  color: #0b5ed7;
  text-decoration: none;
}

.seo-breadcrumbs a:hover,
.seo-breadcrumbs a:focus {
  text-decoration: underline;
}

.seo-local-links {
  padding: 48px 0;
  background: linear-gradient(180deg, #f7faff 0%, #eef5ff 100%);
}

.seo-local-links__box {
  padding: 28px;
  border: 1px solid rgba(11, 94, 215, 0.14);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(17, 48, 91, 0.08);
}

.seo-local-links__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b5ed7;
}

.seo-local-links__title {
  margin: 0 0 12px;
  color: #0d2a63;
}

.seo-local-links__copy {
  margin: 0 0 20px;
  color: #486381;
}

.seo-local-links__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.seo-local-links__card {
  display: block;
  height: 100%;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(11, 94, 215, 0.12);
  background: #f8fbff;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.seo-local-links__card:hover,
.seo-local-links__card:focus {
  transform: translateY(-2px);
  border-color: rgba(11, 94, 215, 0.28);
  box-shadow: 0 14px 28px rgba(17, 48, 91, 0.1);
}

.seo-local-links__card-title {
  display: block;
  margin-bottom: 6px;
  color: #0d2a63;
  font-weight: 700;
}

.seo-local-links__card-copy {
  margin: 0;
  color: #486381;
  font-size: 0.95rem;
}

.seo-content-section {
  padding: 64px 0;
}

.seo-content-section--alt {
  background: #f8fbff;
}

.seo-content-card {
  padding: 28px;
  height: 100%;
  border-radius: 24px;
  border: 1px solid rgba(11, 94, 215, 0.1);
  background: #ffffff;
  box-shadow: 0 20px 34px rgba(17, 48, 91, 0.08);
}

.seo-content-card h2,
.seo-content-card h3,
.seo-content-section h2,
.seo-content-section h3 {
  color: #0d2a63;
}

.seo-content-section p,
.seo-content-section li {
  color: #486381;
}

.seo-check-list,
.seo-service-list,
.seo-faq-list {
  display: grid;
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.seo-check-list li,
.seo-service-list li,
.seo-faq-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: #f7faff;
  border: 1px solid rgba(11, 94, 215, 0.1);
}

.seo-faq-item h3 {
  margin-bottom: 8px;
}

.seo-cta-band {
  padding: 68px 0 78px;
}

.seo-cta-box {
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, #0b5ed7 0%, #0b3b8f 100%);
  color: #ffffff;
  box-shadow: 0 24px 50px rgba(11, 59, 143, 0.24);
}

.seo-cta-box h2,
.seo-cta-box p {
  color: #ffffff;
}

.seo-cta-actions,
.seo-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.seo-inline-links a {
  color: #0b5ed7;
  font-weight: 600;
  text-decoration: none;
}

.seo-inline-links a:hover,
.seo-inline-links a:focus {
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .seo-breadcrumbs {
    padding-top: 14px;
  }

  .seo-local-links,
  .seo-content-section,
  .seo-cta-band {
    padding: 42px 0;
  }

  .seo-local-links__box,
  .seo-content-card,
  .seo-cta-box {
    padding: 22px;
    border-radius: 20px;
  }
}




