/* Rocket — design system and homepage components */

:root {
  --brand-teal: #005f61;
  --brand-teal-dark: #004547;
  --brand-orange: #fd5900;
  --brand-orange-dark: #e04f00;
  --brand-yellow: #ffec1a;
  --brand-black: #000000;
  --brand-white: #ffffff;
  --body-text: #334155;
  --surface: #ffffff;
  --surface-muted: #f4f7f7;
  --whatsapp: #25d366;
  --shadow-sm: 0 4px 14px rgba(0, 95, 97, 0.08);
  --shadow-md: 0 12px 32px rgba(0, 95, 97, 0.12);
  --shadow-lg: 0 24px 64px rgba(0, 95, 97, 0.16);
  --radius: 0.75rem;
  --focus-ring: 0 0 0 3px rgba(253, 89, 0, 0.35);
}

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

body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--body-text);
  background-color: var(--surface-muted);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--brand-teal);
  font-weight: 700;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(253, 89, 0, 0.45);
  outline-offset: 2px;
}

.site-header {
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  z-index: 1030;
}

.site-header .navbar-brand img {
  height: auto;
  max-height: 3.25rem;
  width: auto;
  max-width: min(220px, 58vw);
}

.site-header .nav-link {
  color: var(--brand-teal);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header .nav-link.active {
  color: var(--brand-orange);
}

.site-header .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 0.5rem 0;
}

.site-header .dropdown-item {
  color: var(--brand-teal);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus {
  background-color: rgba(0, 95, 97, 0.08);
  color: var(--brand-orange);
}

@media (min-width: 992px) {

  .site-header .nav-item.dropdown:hover .dropdown-menu,
  .site-header .nav-item.dropdown:focus-within .dropdown-menu,
  .site-header .nav-item.dropdown.is-open .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--brand-teal);
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
}

.header-phone:hover,
.header-phone:focus {
  color: var(--brand-orange);
}

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  background-color: #031618;
  background-image: linear-gradient(105deg,
      rgba(0, 31, 33, 0.82) 0%,
      rgba(0, 47, 49, 0.68) 42%,
      rgba(0, 95, 97, 0.45) 100%),
    url("../img/inicio-hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  max-width: 16ch;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--brand-white);
}

.hero .lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background-color: rgba(255, 236, 26, 0.16);
  color: var(--brand-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-cta {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--brand-orange);
  --bs-btn-border-color: var(--brand-orange);
  --bs-btn-hover-bg: var(--brand-orange-dark);
  --bs-btn-hover-border-color: var(--brand-orange-dark);
  --bs-btn-focus-shadow-rgb: 253, 89, 0;
  font-weight: 700;
  padding: 0.7rem 1.85rem;
  border-radius: 2rem;
  box-shadow: 0 8px 24px rgba(253, 89, 0, 0.35);
}

.section-block {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-block--light {
  background-color: var(--surface);
}

.section-block--muted {
  background-color: var(--surface-muted);
}

.section-historia {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.section-historia::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(244, 244, 244, 0.86), rgba(244, 244, 244, 0.86)),
    url("../img/space.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-title {
  margin-bottom: 0.75rem;
  text-align: center;
}

.section-sub {
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-location-contact .section-title--panel,
.section-location-contact .section-sub--panel {
  text-align: left;
}

.section-location-contact .section-sub--panel {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

.location-panel,
.contact-panel {
  display: flex;
  flex-direction: column;
}

.location-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.25rem;
  background-color: var(--surface);
  box-shadow: 0 16px 40px rgba(0, 95, 97, 0.12);
}

.location-card .map-embed {
  display: block;
  flex: 1 1 auto;
  min-height: 320px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.location-card__info {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem 1.35rem;
  background-color: var(--brand-teal);
  color: var(--brand-white);
}

.location-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-yellow);
}

.location-card__icon .bi {
  font-size: 1.35rem;
  line-height: 1;
}

.location-card .location-address {
  color: var(--brand-white);
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (min-width: 992px) {
  .section-location-contact .location-card .map-embed {
    min-height: 420px;
  }
}

.section-about-title {
  color: var(--brand-orange);
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-headline {
  color: var(--brand-black);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  max-width: 14ch;
}

.about-headline-accent {
  color: var(--brand-orange);
}

@media (min-width: 992px) {
  .about-headline {
    font-size: clamp(1.5rem, 2.25vw, 1.875rem);
  }
}

.about-lead {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  color: var(--body-text);
}

.about-lead strong {
  color: var(--brand-teal);
  font-weight: 700;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--brand-black);
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 600;
}

.about-feature .bi {
  flex-shrink: 0;
  color: var(--brand-orange);
  font-size: 1.15rem;
  line-height: 1.2;
  margin-top: 0.1rem;
}

.about-card,
.history-card,
.value-card {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  height: 100%;
}

.about-card .card-body,
.history-card .card-body,
.value-card .card-body {
  padding: 1.75rem;
}

.about-icon,
.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background-color: rgba(0, 95, 97, 0.1);
  color: var(--brand-teal);
  margin-bottom: 1rem;
}

.about-icon .bi,
.value-icon .bi {
  font-size: 1.5rem;
  line-height: 1;
}

.value-card .card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value-card .card-text {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.value-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background-color: rgba(253, 89, 0, 0.1);
  color: var(--brand-orange);
  font-size: 0.85rem;
  font-weight: 700;
}

.map-embed {
  border: 0;
  width: 100%;
  min-height: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.contact-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  box-shadow: 0 16px 40px rgba(0, 95, 97, 0.08);
  background: var(--surface);
}

.contact-card .card-body {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.contact-card .form-label {
  font-weight: 700;
  color: var(--brand-teal);
  margin-bottom: 0.45rem;
}

.contact-card .form-label:has(+ .form-control[required])::after,
.contact-card .form-label:has(+ .form-select[required])::after,
.contact-card .form-label:has(+ textarea[required])::after {
  content: " *";
  color: var(--brand-orange);
  font-weight: 700;
}

.contact-card .form-control,
.contact-card .form-select {
  border-radius: 0.65rem;
  border-color: rgba(15, 23, 42, 0.12);
  padding: 0.8rem 0.95rem;
  color: var(--brand-black);
}

.contact-card .form-control::placeholder {
  color: rgba(15, 23, 42, 0.45);
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
  border-color: rgba(0, 95, 97, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(0, 95, 97, 0.12);
}

.contact-card .contact-privacy-note {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.65);
}

.contact-card .contact-privacy-note a {
  color: var(--brand-teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-card .contact-privacy-note a:hover,
.contact-card .contact-privacy-note a:focus {
  color: var(--brand-teal-dark);
}

.contact-card .btn-submit {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--brand-orange);
  --bs-btn-border-color: var(--brand-orange);
  --bs-btn-hover-bg: var(--brand-orange-dark);
  --bs-btn-hover-border-color: var(--brand-orange-dark);
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(253, 89, 0, 0.28);
}

.btn-submit {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--brand-teal);
  --bs-btn-border-color: var(--brand-teal);
  --bs-btn-hover-bg: var(--brand-teal-dark);
  --bs-btn-hover-border-color: var(--brand-teal-dark);
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 2rem;
}

.whatsapp-fab {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background-color: var(--whatsapp);
  color: var(--brand-white);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  animation: whatsapp-pulse 2.4s ease-in-out infinite;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus {
  color: var(--brand-white);
  background-color: #1ebe5d;
}

.whatsapp-fab .bi {
  font-size: 1.35rem;
  line-height: 1;
}

@keyframes whatsapp-pulse {

  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  }

  50% {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
  }
}

.site-footer {
  background-color: var(--brand-teal);
  color: var(--brand-white);
  padding: clamp(2.5rem, 5vw, 3.25rem) 0 1.75rem;
}

.site-footer a {
  color: var(--brand-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--brand-yellow);
}

.site-footer .footer-col-title {
  color: var(--brand-white);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  line-height: 1.3;
}

.footer-brand-block {
  max-width: 16rem;
}

.footer-brand-logo {
  width: auto;
  max-width: 9rem;
  height: auto;
}

.footer-tagline {
  margin-top: 0.85rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.footer-top>[class*="col-"],
.footer-top-columns>[class*="col-"] {
  min-width: 0;
}

.footer-icon-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.footer-icon-row>a,
.footer-icon-row>span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-icon-row+.footer-icon-row {
  margin-top: 0.5rem;
}

.footer-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-white);
}

.footer-icon .bi {
  font-size: 17px;
  line-height: 1;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-weight: 600;
  max-width: 100%;
}

.footer-social-link span {
  min-width: 0;
  overflow-wrap: anywhere;
}

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

.footer-legal-list li+li {
  margin-top: 0.45rem;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  margin: 1.75rem 0 1rem;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .about-headline {
    max-width: none;
    text-align: center;
  }

  .header-phone-wrap {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 95, 97, 0.12);
  }

  .whatsapp-fab span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .whatsapp-fab {
    width: 3.5rem;
    height: 3.5rem;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab {
    animation: none;
  }
}

/* Service pages: hero compact, plan carousel, legal notices, enterprise grid */

.hero.hero--service {
  min-height: min(72vh, 36rem);
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.hero.hero--service h1 {
  max-width: 22ch;
}

.hero.hero--service.hero--service-residencial {
  background-image: linear-gradient(105deg,
      rgba(0, 31, 33, 0.82) 0%,
      rgba(0, 47, 49, 0.68) 42%,
      rgba(0, 95, 97, 0.45) 100%),
    url("../img/residencial-hero.jpg");
}

.hero.hero--service.hero--service-negocios {
  background-image: linear-gradient(105deg,
      rgba(0, 31, 33, 0.82) 0%,
      rgba(0, 47, 49, 0.68) 42%,
      rgba(0, 95, 97, 0.45) 100%),
    url("../img/negocios-hero.jpg");
}

.hero.hero--service.hero--service-empresarial {
  background-image: linear-gradient(105deg,
      rgba(0, 31, 33, 0.82) 0%,
      rgba(0, 47, 49, 0.68) 42%,
      rgba(0, 95, 97, 0.45) 100%),
    url("../img/empresarial-hero.jpg");
}

.hero.hero--service.hero--service-cobertura {
  /* La imagen ya trae fondo oscuro: el degradado solo protege el texto
     y deja el mapa (lado derecho) con sus colores completos. */
  background-color: #021c1e;
  background-image: linear-gradient(90deg,
      rgba(2, 28, 30, 0.75) 0%,
      rgba(2, 28, 30, 0.35) 38%,
      rgba(2, 28, 30, 0) 58%),
    url("../img/hero-cobertura.jpg");
  background-size: cover;
  background-position: 80% center;
}

@media (max-width: 767.98px) {
  /* En pantallas angostas el texto ocupa todo el ancho: se oscurece más
     y se recorre la imagen para que Chocamán quede a la vista. */
  .hero.hero--service.hero--service-cobertura {
    background-image: linear-gradient(180deg,
        rgba(2, 28, 30, 0.55) 0%,
        rgba(2, 28, 30, 0.8) 100%),
      url("../img/hero-cobertura-movil.jpg");
    background-position: 74% center;
  }
}

.hero.hero--service.hero--service-soporte {
  background-image: linear-gradient(105deg,
      rgba(0, 31, 33, 0.82) 0%,
      rgba(0, 47, 49, 0.68) 42%,
      rgba(0, 95, 97, 0.45) 100%),
    url("../img/soporte-hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero.hero--service.hero--service-pagos {
  background-image: linear-gradient(105deg,
      rgba(0, 31, 33, 0.82) 0%,
      rgba(0, 47, 49, 0.68) 42%,
      rgba(0, 95, 97, 0.45) 100%),
    url("../img/pagos-hero.jpg");
  background-size: cover;
  background-position: center;
}

/* Pagos (/pagos): tarjetas por método y CTA de facturación */

.payment-methods-intro {
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  line-height: 1.65;
  color: var(--body-text);
  max-width: 65ch;
}

.payment-method-card {
  border: 1px solid rgba(0, 31, 33, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 0.35rem 1.25rem rgba(0, 31, 33, 0.06);
  border-top: 4px solid var(--brand-teal);
  background-color: #fff;
}

.payment-method-card--bank {
  border-top-color: #004481;
}

.payment-method-card--store {
  border-top-color: #e31d1a;
}

.payment-method-card--spei {
  border-top-color: var(--brand-teal);
}

.payment-method-card__type {
  font-size: clamp(0.75rem, 1.1vw, 0.8125rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--body-text);
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.payment-method-card__type i {
  font-size: 1.1rem;
  color: var(--brand-teal);
}

.payment-method-card__title {
  font-weight: 700;
  color: var(--brand-teal-dark);
  margin-bottom: 0.5rem;
}

.payment-method-card__title--brand {
  display: flex;
  align-items: center;
  min-height: 2.25rem;
  margin-bottom: 1rem;
}

.payment-method-card__brand-logo {
  display: block;
  height: 2.25rem;
  width: auto;
  max-width: min(100%, 11rem);
  object-fit: contain;
  object-position: left center;
}

/* OXXO asset incluye más margen visual; subimos altura y ancho máximo para alinearlo con BBVA y SPEI */
.payment-method-card__brand-logo--oxxo {
  height: 3.125rem;
  max-width: min(100%, 15rem);
}

.payment-method-card__desc {
  font-size: clamp(0.9rem, 1.2vw, 0.98rem);
  line-height: 1.6;
  color: var(--body-text);
  margin-bottom: 1;
}

.payment-method-card__account {
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  background-color: rgba(0, 68, 129, 0.06);
  border: 1px dashed rgba(0, 68, 129, 0.35);
  font-size: clamp(0.85rem, 1.1vw, 0.9rem);
  line-height: 1.5;
}

.payment-method-card__account-label {
  display: block;
  font-weight: 600;
  color: var(--brand-teal-dark);
  margin-bottom: 0.25rem;
}

.payment-method-card__account-number {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #004481;
}

.payment-method-card__steps-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-teal);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.payment-method-card__steps {
  margin: 0;
  padding-left: 1.15rem;
  font-size: clamp(0.88rem, 1.15vw, 0.95rem);
  line-height: 1.65;
  color: var(--body-text);
}

.payment-method-card__steps li+li {
  margin-top: 0.45rem;
}

.payment-billing-cta__lead {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.65;
  color: var(--body-text);
  max-width: 48ch;
}

/* Soporte (/soporte): FAQ, guías y espejo de datos del pie de página */

.support-intro {
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  line-height: 1.65;
  color: var(--body-text);
}

.support-sync-note {
  font-size: clamp(0.8rem, 1.1vw, 0.875rem);
  color: var(--body-text);
  opacity: 0.88;
  margin-bottom: 1rem;
  max-width: 55ch;
}

.support-faq-accordion .accordion-button {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--brand-teal);
}

.support-faq-accordion .accordion-button:not(.collapsed) {
  color: var(--brand-teal-dark);
  background-color: rgba(0, 95, 97, 0.06);
}

.support-faq-accordion .accordion-body {
  font-size: clamp(0.9rem, 1.25vw, 0.98rem);
  line-height: 1.65;
  color: var(--body-text);
}

.support-quick-guides {
  max-width: 52rem;
  margin-inline: auto;
}

.support-quick-guides li+li {
  margin-top: 0.5rem;
}

.support-quick-guides__link {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.35vw, 1rem);
  color: var(--brand-teal);
  background-color: var(--surface);
  border: 1px solid rgba(0, 95, 97, 0.12);
  box-shadow: var(--shadow-sm);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.support-quick-guides__link:hover,
.support-quick-guides__link:focus {
  color: var(--brand-orange);
  border-color: rgba(253, 89, 0, 0.35);
  background-color: rgba(253, 89, 0, 0.05);
}

.support-quick-guides__icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--brand-orange);
}

.support-quick-guides__icon .bi {
  font-size: 1.15rem;
  line-height: 1;
}

.support-mirror--panel {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background-color: var(--surface);
  border: 1px solid rgba(0, 95, 97, 0.1);
  box-shadow: var(--shadow-sm);
}

.support-mirror .footer-icon {
  color: var(--brand-teal);
}

.support-mirror a {
  color: var(--brand-teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-mirror a:hover,
.support-mirror a:focus {
  color: var(--brand-orange);
}

.support-mirror--address {
  font-style: normal;
}

.support-mirror-fallback {
  font-size: clamp(0.9rem, 1.2vw, 0.95rem);
  color: var(--body-text);
}

.section-block.coverage-nav-strip {
  padding-top: clamp(0.85rem, 2.2vw, 1.25rem);
  padding-bottom: clamp(0.85rem, 2.2vw, 1.25rem);
}

.coverage-city-nav-link {
  display: inline-block;
  font-weight: 700;
  font-size: clamp(0.875rem, 1.6vw, 0.95rem);
  color: var(--brand-teal);
  text-decoration: none;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 2px solid rgba(0, 95, 97, 0.15);
  background-color: var(--surface);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.coverage-city-nav-link:hover {
  color: var(--brand-orange);
  border-color: rgba(253, 89, 0, 0.35);
  background-color: rgba(253, 89, 0, 0.06);
}

.coverage-map-figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--surface);
}

.coverage-map-img {
  width: 100%;
  height: auto;
  display: block;
}

.coverage-map-caption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--body-text);
}

.coverage-map-legend {
  width: 1.1rem;
  height: 0.8rem;
  border: 2px solid #ffffff;
  border-radius: 0.2rem;
  background-color: #4fa83d;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.coverage-table-wrap {
  border-radius: var(--radius);
  background-color: var(--surface);
  max-height: min(70vh, 36rem);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.coverage-table {
  font-size: clamp(0.875rem, 1.8vw, 0.95rem);
  --bs-table-striped-bg: rgba(0, 95, 97, 0.045);
  --bs-table-hover-bg: rgba(0, 95, 97, 0.09);
  color: var(--body-text);
  margin-bottom: 0;
}

.coverage-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: var(--brand-teal);
  color: var(--brand-white);
  font-weight: 700;
  border: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}

.coverage-table tbody td {
  vertical-align: middle;
}

.coverage-table tbody td:first-child {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.coverage-table> :not(caption)>*>* {
  padding: 0.65rem 0.85rem;
}

.coverage-table-caption {
  color: var(--body-text);
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.45;
}

.plan-carousel-shell {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(0.35rem, 2vw, 1.25rem);
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
}

.plan-carousel-shell .plan-carousel {
  flex: 1 1 auto;
  min-width: 0;
  margin-inline: 0;
  max-width: none;
}

.plan-carousel {
  max-width: 72rem;
  margin-inline: auto;
}

.plan-carousel .carousel-inner {
  padding-bottom: 0.5rem;
}

.plan-carousel .carousel-indicators {
  margin-bottom: 0;
}

.plan-carousel .carousel-indicators [type="button"] {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background-color: var(--brand-teal);
  opacity: 0.35;
}

.plan-carousel .carousel-indicators [type="button"].active {
  opacity: 1;
}

.plan-carousel__control {
  width: clamp(2.75rem, 8vw, 3.5rem);
  height: clamp(2.75rem, 8vw, 3.5rem);
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  border-radius: 50%;
  background-color: rgba(0, 95, 97, 0.92);
  opacity: 1;
}

.plan-carousel__control:hover,
.plan-carousel__control:focus {
  background-color: var(--brand-teal-dark);
}

.plan-carousel__control.plan-carousel__control--outside {
  position: relative;
  z-index: 2;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  flex: 0 0 auto;
  align-self: center;
  transform: none;
  width: clamp(2.75rem, 8vw, 3.5rem);
  height: clamp(2.75rem, 8vw, 3.5rem);
  padding: 0;
}

.plan-carousel__control .carousel-control-prev-icon,
.plan-carousel__control .carousel-control-next-icon {
  filter: brightness(0) invert(1);
  width: 1.35rem;
  height: 1.35rem;
}

.plan-card {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

.plan-card .card-body {
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.plan-card__title {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  margin-bottom: 0.5rem;
  color: var(--brand-teal);
}

.plan-card__speed {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 0.35rem;
}

.plan-card__price {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--body-text);
  margin-bottom: 1.25rem;
}

.plan-card__amount {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  color: var(--brand-orange);
}

.plan-card__period {
  font-weight: 600;
  color: var(--body-text);
}

.legal-section .section-title {
  margin-bottom: 1.25rem;
}

.legal-notices {
  max-width: 48rem;
}

.legal-notices p {
  font-size: clamp(0.8rem, 1.6vw, 0.9rem);
  line-height: 1.65;
  color: var(--body-text);
  margin-bottom: 1rem;
}

.legal-notices p:last-child {
  margin-bottom: 0;
}

.legal-notices a {
  color: var(--brand-teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  word-break: break-word;
}

.legal-notices a:hover,
.legal-notices a:focus {
  color: var(--brand-teal-dark);
}

.section-cta-coverage .section-sub {
  margin-bottom: 1.75rem;
}

.enterprise-services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .enterprise-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enterprise-service-card--span-center {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 26rem);
  }
}

@media (min-width: 992px) {
  .enterprise-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .enterprise-service-card--span-center {
    grid-column: 2;
    width: auto;
    justify-self: stretch;
  }
}

.enterprise-service-card {
  /* border: none; */
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: background-color 0.2s ease;
}

.enterprise-service-card:hover {
  background-color: var(--brand-teal);
}

.enterprise-service-card:hover .enterprise-service-card__title,
.enterprise-service-card:hover .enterprise-service-card__icon {
  color: var(--brand-white);
}

.enterprise-service-card__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.1rem, 2.5vw, 1.35rem) 1rem 0;
  /* background: linear-gradient(180deg, rgba(0, 95, 97, 0.08) 0%, transparent 100%); */
}

.enterprise-service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(2.75rem, 6vw, 3.5rem);
  height: clamp(2.75rem, 6vw, 3.5rem);
  font-size: clamp(2.75rem, 6vw, 3.5rem);
  line-height: 1;
  color: var(--brand-teal);
  transition: color 0.2s ease;
}

.enterprise-service-card .card-body {
  padding: clamp(1rem, 2.5vw, 1.35rem) clamp(1.1rem, 2.5vw, 1.35rem) clamp(1.25rem, 3vw, 1.5rem);
}

.enterprise-service-card__title {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.45;
  margin: 0;
  color: var(--brand-teal);
  transition: color 0.2s ease;
}

.enterprise-contact-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

.enterprise-contact-card .card-body {
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.enterprise-contact-card__title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 0.75rem;
  color: var(--brand-teal);
  text-align: center;
}

.enterprise-contact-card__lead {
  text-align: center;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  margin-bottom: 1.75rem;
  color: var(--body-text);
}

.enterprise-contact-list__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.enterprise-contact-list__item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.enterprise-contact-list__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-teal);
}

.enterprise-contact-list__value {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--brand-orange);
  text-decoration: none;
}

.enterprise-contact-list__value:hover,
.enterprise-contact-list__value:focus {
  color: var(--brand-orange-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-docs-intro {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
  color: var(--body-text);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
}

.legal-docs-list {
  max-width: 52rem;
  margin-inline: auto;
}

.legal-docs-list li+li {
  margin-top: 0.5rem;
}

.legal-docs-list__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.35vw, 1rem);
  color: var(--brand-teal);
  background-color: var(--surface);
  border: 1px solid rgba(0, 95, 97, 0.12);
  box-shadow: var(--shadow-sm);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.legal-docs-list__link:hover,
.legal-docs-list__link:focus {
  color: var(--brand-orange);
  border-color: rgba(253, 89, 0, 0.35);
  background-color: rgba(253, 89, 0, 0.05);
}

.legal-docs-list__icon {
  flex-shrink: 0;
  color: var(--brand-orange);
}

.legal-docs-list__icon .bi {
  font-size: 1.25rem;
  line-height: 1;
}

.legal-docs-list__title {
  flex: 1 1 auto;
  min-width: 0;
}

.legal-docs-list__action {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-teal-dark);
}

.legal-docs-list__link:hover .legal-docs-list__action,
.legal-docs-list__link:focus .legal-docs-list__action {
  color: var(--brand-orange);
}

@media (max-width: 575.98px) {
  .legal-docs-list__action {
    display: none;
  }
}
.plan-card__extra {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-teal);
}

.plan-card__description {
  font-size: 0.95rem;
  color: var(--body-text);
  margin-bottom: 1.25rem;
}

.location-card--full {
  border-radius: 0;
  box-shadow: none;
}

.location-card--full .map-embed {
  width: 100%;
  min-height: 420px;
}

.location-card--full .location-card__info {
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 992px) {
  .section-location-contact .location-card--full .map-embed {
    min-height: 480px;
  }
}

/* Chaty Rocket: guías rápidas en formato de chat */
.chaty {
  max-width: 40rem;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.chaty__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  color: var(--brand-white);
  background: var(--brand-teal);
}

.chaty__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.3rem;
  color: var(--brand-white);
  background: var(--brand-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.chaty__name {
  margin: 0;
  font-weight: 800;
  line-height: 1.2;
}

.chaty__status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.9;
}

.chaty__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--whatsapp);
}

.chaty__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem;
  background: var(--surface-muted);
}

.chaty__bubble {
  max-width: 85%;
  margin: 0;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
  border-radius: 1rem;
}

.chaty__bubble--bot {
  align-self: flex-start;
  color: var(--body-text);
  background: var(--surface);
  border-bottom-left-radius: 0.3rem;
  box-shadow: var(--shadow-sm);
}

.chaty__bubble--user {
  align-self: flex-end;
  color: var(--brand-white);
  background: var(--brand-teal);
  border-bottom-right-radius: 0.3rem;
}

.chaty__questions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.chaty__question {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  color: var(--brand-teal);
  background: var(--surface);
  border: 1.5px solid rgba(0, 95, 97, 0.3);
  border-radius: 1.25rem;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.chaty__question .bi {
  flex-shrink: 0;
  color: var(--whatsapp);
  transition: color 0.15s ease;
}

.chaty__question:hover,
.chaty__question:focus-visible {
  color: var(--brand-white);
  background: var(--brand-teal);
  border-color: var(--brand-teal);
}

.chaty__question:hover .bi,
.chaty__question:focus-visible .bi {
  color: var(--brand-white);
}

.chaty__typing {
  display: none;
  order: 1;
  align-self: flex-start;
  gap: 0.3rem;
  padding: 0.8rem 1rem;
  background: var(--surface);
  border-radius: 1rem;
  border-bottom-left-radius: 0.3rem;
  box-shadow: var(--shadow-sm);
}

.chaty__typing span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--brand-teal);
  opacity: 0.4;
  animation: chaty-typing 1s infinite ease-in-out;
}

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

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

@keyframes chaty-typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* La animación solo se activa con JavaScript; sin él todo queda visible. */
.chaty.is-animated .chaty__step:not(.is-visible) {
  display: none;
}

.chaty.is-animated .chaty__step.is-visible {
  animation: chaty-in 0.35s ease both;
}

.chaty.is-typing .chaty__typing {
  display: inline-flex;
}

.chaty__bubble--user,
.chaty__bubble--reply {
  animation: chaty-in 0.35s ease both;
}

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

@media (prefers-reduced-motion: reduce) {
  .chaty__typing span,
  .chaty__bubble--user,
  .chaty__bubble--reply {
    animation: none;
  }
}

/* Cobertura: mapa interactivo */
.cov-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .cov-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
  }
}

.cov-map-card,
.cov-panel {
  margin: 0;
  background: var(--surface);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-md);
}

.cov-map-card {
  overflow: hidden;
}

.cov-map {
  position: relative;
  aspect-ratio: 1000 / 977;
  background: #dfe4e2;
}

.cov-map img,
.cov-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cov-map img {
  display: block;
  object-fit: cover;
}

.cov-dimmer {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cov-map.has-selection .cov-dimmer {
  opacity: 0.35;
}

.cov-zone-hit {
  fill: transparent;
  cursor: pointer;
  pointer-events: all;
}

.cov-highlight {
  fill: var(--brand-orange);
  fill-opacity: 0.25;
  stroke: var(--brand-orange);
  stroke-width: 5;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.cov-map.has-selection .cov-highlight {
  opacity: 1;
  animation: cov-pulse 1.8s ease-in-out infinite;
}

@keyframes cov-pulse {
  50% {
    fill-opacity: 0.08;
  }
}

.cov-label {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 800;
  fill: var(--brand-teal-dark);
  stroke: #ffffff;
  stroke-width: 5px;
  stroke-linejoin: round;
  paint-order: stroke;
  pointer-events: none;
  transition: fill 0.2s ease;
}

.cov-label.is-active {
  fill: var(--brand-orange-dark);
}

@media (max-width: 600px) {
  /* El SVG se escala con el mapa; en pantallas angostas se agranda el texto. */
  .cov-label {
    font-size: 32px;
    stroke-width: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cov-map.has-selection .cov-highlight {
    animation: none;
  }
  .cov-dimmer,
  .cov-highlight {
    transition: none;
  }
}

.cov-caption {
  padding: 0.85rem 1.1rem;
  font-size: 0.78rem;
  border-top: 1px solid rgba(0, 95, 97, 0.14);
}

.cov-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.cov-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.cov-swatch {
  width: 1.6rem;
  height: 0.8rem;
  border-radius: 0.25rem;
}

.cov-swatch--core {
  background: #2fa94a;
}

.cov-swatch--edge {
  background: linear-gradient(90deg, #2fa94a, #ffe428 45%, rgba(255, 196, 0, 0.25));
}

.cov-swatch--selected {
  width: 1.1rem;
  height: 1.1rem;
  border: 3px solid var(--brand-orange);
  border-radius: 50%;
  background: rgba(253, 89, 0, 0.2);
}

.cov-caption__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
}

.cov-panel {
  padding: 1.35rem;
}

.cov-panel__title {
  margin: 0 0 0.85rem;
  color: var(--brand-teal);
  font-size: 1.1rem;
  font-weight: 700;
}

.cov-panel .form-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-teal);
}

.cov-status {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  background: var(--surface-muted);
  border-left: 4px solid var(--brand-teal);
  border-radius: 0.5rem;
}

.cov-status strong {
  color: var(--brand-teal);
}

.cov-zones {
  margin-top: 1.5rem;
}

.cov-zone-group + .cov-zone-group {
  margin-top: 1rem;
}

.cov-zone-group h3 {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-orange-dark);
}

.cov-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cov-chip {
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-teal);
  background: var(--surface);
  border: 1px solid rgba(0, 95, 97, 0.2);
  border-radius: 2rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.cov-chip:hover {
  background: rgba(0, 95, 97, 0.08);
}

.cov-chip[aria-pressed="true"] {
  color: var(--brand-white);
  background: var(--brand-teal);
  border-color: var(--brand-teal);
}

.cov-cta {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 95, 97, 0.14);
}

.cov-cta p {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
}

.cov-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.cov-note {
  margin: 1rem 0 0 !important;
  font-size: 0.78rem !important;
  font-weight: 700;
}
