/* ==========================================================================
   REHABILITACIÓN EN TUBERIAS — MASTER STYLESHEET (2026)
   Paleta Oficial del Nuevo Logo + Tipografía Local + Estándar WCAG / Meta / Google Ads
   ========================================================================== */

:root {
  /* Paleta Oficial del Nuevo Logo (assets/brand/) */
  --rid-navy: #0D3858;
  --rid-navy-deep: #08243A;
  --rid-blue: #2378B5;
  --rid-green: #82BE30;
  --rid-green-hover: #649A1C;
  --rid-mist: #F1F6F8;
  --rid-white: #FFFFFF;

  /* Tonos neutros corporativos de alta legibilidad */
  --rid-ink: #0B1F33;
  --rid-text: #1E3348;
  --rid-muted: #4A6075;
  --rid-border: #D6E3EC;
  --rid-border-soft: #E5EEF4;
  --rid-danger-bg: #FEF2F2;
  --rid-danger-text: #991B1B;
  --rid-success-bg: #F2F9E8;
  --rid-success-text: #275307;

  /* Tipografía Local Inteligente (css/rid-typography.css) */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Fraunces', Georgia, serif;
  --font-body: 'Atkinson Hyperlegible', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radios y Sombras Corporativas */
  --radius-card: 14px;
  --radius-pill: 999px;
  --radius-sm: 10px;
  --shadow-card: 0 10px 28px rgba(8, 36, 58, 0.07), 0 2px 6px rgba(8, 36, 58, 0.04);
  --shadow-card-hover: 0 18px 38px rgba(8, 36, 58, 0.12), 0 4px 10px rgba(8, 36, 58, 0.06);
  --shadow-elevated: 0 22px 48px rgba(8, 36, 58, 0.24);
  --header-h: 76px;
}

/* ==========================================================================
   RESET UNIVERSAL Y BLOQUEO DE DEFORMACIÓN / ZOOM (MÓVIL Y PC)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}

html {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  width: 100%;
  touch-action: pan-y;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--rid-text);
  background-color: var(--rid-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Tipografía de Titulares y Acento Editorial Fraunces */
h1,
h2,
h3,
.step-heading,
.section-title,
.h-like {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--rid-navy-deep);
  margin: 0;
}

em.font-accent,
.font-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
  color: var(--rid-green);
}

.section-block .section-title em.font-accent {
  color: var(--rid-blue);
}

.section-block--navy .section-title em.font-accent,
.step-heading em.font-accent,
.yt-evidence-hub__title em.font-accent {
  color: var(--rid-green);
}

p {
  margin: 0;
}

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

/* Áreas táctiles >= 48x48px con touch-action: manipulation */
button,
.btn-primary,
.btn-secondary-light,
.btn-voice-pill,
.header-btn,
.social-icon-link,
.site-header__link,
.hero-chapter-pill,
.service-card__cta,
.sector-chip,
.xray-preset-btn,
.yt-carousel-arrow,
.yt-slide-card,
.footer-social-pill,
.mobile-bottom-bar__btn,
.exec-dm-option-pill,
.exec-dm-quick-chip,
.exec-dm-msg__cta-btn,
.exec-dm-send-btn,
.exec-dm-orb,
.faq-item__summary {
  min-height: 48px;
  min-width: 48px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  font-family: var(--font-body);
  cursor: pointer;
}

/* Inputs >= 16px para bloquear auto-zoom en iOS Safari / Instagram WebView */
input,
select,
textarea {
  font-family: var(--font-body);
  font-size: 16px !important;
  line-height: 1.4;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ==========================================================================
   BOTONES CORPORATIVOS DE ALTA CONVERSIÓN
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  background-color: var(--rid-green);
  color: var(--rid-navy-deep);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--rid-green);
  box-shadow: 0 8px 20px rgba(130, 190, 48, 0.28);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-align: center;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--rid-green-hover);
  border-color: var(--rid-green-hover);
  color: var(--rid-white);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(100, 154, 28, 0.35);
}

.btn-primary--full {
  width: 100%;
  font-size: 1.05rem;
  padding: 14px 24px;
}

.btn-primary__arrow {
  font-weight: 700;
  transition: transform 0.2s ease;
}

.btn-primary:hover .btn-primary__arrow {
  transform: translateX(3px);
}

.btn-secondary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  background-color: rgba(4, 16, 28, 0.36);
  color: var(--rid-white);
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-secondary-light:hover,
.btn-secondary-light:focus-visible {
  background-color: rgba(8, 36, 58, 0.58);
  border-color: var(--rid-white);
  transform: translateY(-1px);
}

.btn-voice-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background-color: rgba(4, 16, 28, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--rid-white);
  font-weight: 700;
  font-size: 0.94rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(130, 190, 48, 0.78);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-voice-pill:hover,
.btn-voice-pill:focus-visible {
  background-color: var(--rid-blue);
  border-color: var(--rid-white);
}

.btn-voice-pill--dark {
  background-color: var(--rid-navy);
  color: var(--rid-white);
  border-color: var(--rid-navy);
}

.btn-voice-pill--dark:hover {
  background-color: var(--rid-navy-deep);
}

/* ==========================================================================
   1. HEADER FIJO (.site-header) — CERO ENCIMADO EN NINGÚN ANCHO DE PANTALLA
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  min-height: var(--header-h);
  background-color: rgba(8, 36, 58, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 20px rgba(8, 36, 58, 0.25);
}

.site-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 18px;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}

.site-header__logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-header__brand-text {
  display: flex;
  flex-direction: column;
}

.site-header__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--rid-white);
  line-height: 1.15;
  white-space: nowrap;
}

.site-header__subtitle {
  font-size: 0.72rem;
  color: #B8D4E8;
  font-weight: 400;
  white-space: nowrap;
}

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  flex-wrap: nowrap;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 4px;
}

@media (min-width: 1520px) {
  .site-header__nav {
    justify-content: center;
  }
}

.site-header__nav::-webkit-scrollbar {
  display: none;
}

.site-header__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: auto;
  padding: 6px 9px;
  color: #E2EEF7;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid transparent;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.site-header__link:hover,
.site-header__link:focus-visible {
  background-color: rgba(35, 120, 181, 0.28);
  color: var(--rid-white);
}

.site-header__link.is-active {
  background-color: var(--rid-navy);
  color: var(--rid-white);
  border-color: var(--rid-green);
  box-shadow: 0 2px 10px rgba(130, 190, 48, 0.18);
}

.site-header__link--videos {
  color: var(--rid-green);
  border-color: rgba(130, 190, 48, 0.35);
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.header-btn--wa {
  background-color: var(--rid-green);
  color: var(--rid-navy-deep);
  border: 1px solid var(--rid-green);
}

.header-btn--wa:hover {
  background-color: var(--rid-green-hover);
  border-color: var(--rid-green-hover);
  color: var(--rid-white);
}

/* ==========================================================================
   SISTEMA DE NAVEGACIÓN POR PESTAÑAS / APARTADOS INDEPENDIENTES (CERO CHORIZO)
   ========================================================================== */
.rid-views-stage {
  min-height: calc(100vh - 200px);
}

body[data-active-view="inicio"] [data-view-section]:not([data-view-section="inicio"]),
body[data-active-view="servicios"] [data-view-section]:not([data-view-section="servicios"]),
body[data-active-view="equipos-vox"] [data-view-section]:not([data-view-section="equipos-vox"]),
body[data-active-view="como-trabajamos"] [data-view-section]:not([data-view-section="como-trabajamos"]),
body[data-active-view="casos"] [data-view-section]:not([data-view-section="casos"]),
body[data-active-view="comparativa"] [data-view-section]:not([data-view-section="comparativa"]),
body[data-active-view="preguntas"] [data-view-section]:not([data-view-section="preguntas"]),
body[data-active-view="mapa-cobertura"] [data-view-section]:not([data-view-section="mapa-cobertura"]) {
  display: none !important;
}

body:not([data-active-view="inicio"]) .rid-views-stage {
  padding-top: var(--header-h);
}

/* ==========================================================================
   2. HERO A PANTALLA COMPLETA (100vh STICKY SCROLL · 800 FOTOGRAMAS 4K IA)
   ========================================================================== */
.scrolly-track {
  position: relative;
  width: 100%;
  background-color: var(--rid-navy-deep);
  padding-top: var(--header-h);
}

.sticky-stage {
  position: sticky;
  top: var(--header-h);
  width: 100%;
  height: calc(100vh - var(--header-h));
  min-height: 540px;
  overflow: hidden;
  background-color: var(--rid-navy-deep);
  background-image: url("../assets/frames_rid/desktop/f_0001.webp");
  background-size: cover;
  background-position: center;
}

.sticky-stage__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Degradado sutil para contraste tipográfico sin tapar jamás los fotogramas 4K */
.hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(4, 16, 28, 0.42) 0%,
    rgba(4, 16, 28, 0.22) 38%,
    rgba(4, 16, 28, 0.04) 68%,
    rgba(4, 16, 28, 0) 100%
  );
}

/* Indicador interactivo de capítulos (01 · 02 · 03 · 04) + barra de progreso verde #82BE30 */
.hero-chapters-nav {
  position: absolute;
  bottom: 20px;
  left: 24px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background-color: rgba(8, 36, 58, 0.88);
  backdrop-filter: blur(10px);
  padding: 8px 12px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.18);
  max-width: calc(100vw - 48px);
}

.hero-chapter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background-color: rgba(255, 255, 255, 0.06);
  color: #C7DFEE;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-chapter-pill__num {
  color: var(--rid-green);
  font-weight: 800;
}

.hero-chapter-pill.is-active,
.hero-chapter-pill:hover {
  background-color: var(--rid-navy);
  color: var(--rid-white);
  border-color: var(--rid-green);
}

.hero-chapters-nav__progress {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 2px;
}

.hero-chapters-nav__fill {
  width: 25%;
  height: 100%;
  background-color: var(--rid-green);
  transition: width 0.12s linear;
}

/* Tarjeta lateral sincronizada cuadro por cuadro */
.scroll-frame-callout {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 14;
  width: 320px;
  max-width: calc(100vw - 48px);
  background-color: rgba(8, 36, 58, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 4px solid var(--rid-green);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  color: var(--rid-white);
  box-shadow: var(--shadow-elevated);
}

.scroll-frame-callout__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.scroll-frame-callout__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--rid-green);
  flex-shrink: 0;
}

.scroll-frame-callout__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--rid-green);
  text-transform: uppercase;
}

.scroll-frame-callout__headline {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--rid-white);
  margin-bottom: 4px;
}

.scroll-frame-callout__subcopy {
  font-size: 0.84rem;
  color: #CBE0F0;
  margin-bottom: 8px;
}

.scroll-frame-callout__progress {
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
}

.scroll-frame-callout__progress-bar {
  width: 25%;
  height: 100%;
  background-color: var(--rid-green);
  transition: width 0.15s ease;
}

/* Contenedor de los 4 Capítulos Editoriales del Hero */
.scrolly-steps-container {
  position: relative;
  z-index: 10;
  margin-top: calc(-100vh + var(--header-h));
  pointer-events: none;
}

.step-section {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 36px 24px 110px;
  max-width: 1280px;
  margin: 0 auto;
}

.step-section__card {
  pointer-events: auto;
  width: 100%;
  max-width: 680px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 12px 6px;
  color: var(--rid-white);
  box-shadow: none;
}

/* Cintillos y etiquetas tipo anuncio + barra 01-04 + callout lateral del hero desactivados a solicitud del cliente */
.hero-chapters-nav,
#hero-chapters-nav,
.scroll-frame-callout,
#scroll-frame-callout,
.step-kicker,
.section-kicker,
.case-card__badge,
.case-card__kicker,
.step-3-card__badge,
.tpcs-specs-card__kicker,
.yt-evidence-hub__kicker,
.yt-slide-card__kicker,
.executive-preview-card__kicker,
.scroll-frame-callout__kicker {
  display: none !important;
}

.step-heading {
  font-size: clamp(2.15rem, 3.8vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 16px;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.95),
    0 8px 24px rgba(0, 0, 0, 0.85),
    0 16px 44px rgba(4, 16, 28, 0.9);
}

.step-heading em.font-accent {
  color: #98DE3B;
  font-weight: 700;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.95),
    0 8px 24px rgba(0, 0, 0, 0.88),
    0 0 28px rgba(130, 190, 48, 0.38);
}

.step-description {
  font-size: clamp(1.08rem, 1.4vw, 1.24rem);
  font-weight: 700;
  line-height: 1.5;
  color: #FFFFFF;
  margin-bottom: 22px;
  max-width: 54ch;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.95),
    0 6px 18px rgba(0, 0, 0, 0.9),
    0 12px 32px rgba(4, 16, 28, 0.85);
}

/* 3 Píldoras de confianza del Hero — ultra translúcidas con sombra para ver el fondo 4K */
.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(4, 16, 28, 0.34);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-pill);
  font-size: 0.93rem;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.38);
}

.step-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   3. BARRA DE CONFIANZA Y CLIENTES ATENDIDOS (#confianza)
   ========================================================================== */
.trust-strip-section {
  background-color: var(--rid-navy);
  color: var(--rid-white);
  padding: 36px 0;
  border-bottom: 3px solid var(--rid-green);
}

.trust-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.trust-pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background-color: rgba(8, 36, 58, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
  padding: 18px 20px;
}

.trust-pillar-card__icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.trust-pillar-card__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--rid-white);
  margin-bottom: 4px;
}

.trust-pillar-card__text {
  font-size: 0.92rem;
  color: #CFE2F0;
}

.clients-marquee-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background-color: var(--rid-navy-deep);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
  padding: 16px 22px;
}

.clients-marquee-box__label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--rid-green);
  text-transform: uppercase;
}

.clients-badges-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.client-badge-pill {
  padding: 6px 14px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--rid-white);
}

/* Protagonismo al Segundo Logo Horizontal de 3 Pasos en Inicio */
.home-brand-banner-card {
  margin-top: 28px;
  background-color: var(--rid-navy-deep);
  border: 2px solid var(--rid-green);
  border-radius: 18px;
  padding: 24px 26px;
  box-shadow: var(--shadow-elevated);
}

.home-brand-banner-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.home-brand-banner-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 800;
  color: var(--rid-white);
  margin: 0;
}

.home-brand-banner-card__figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: var(--rid-white);
}

.home-brand-banner-card__figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* Tarjetas de Acceso Rápido a los Apartados desde Inicio */
.home-quick-hub {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.home-quick-hub__head {
  text-align: center;
  margin-bottom: 20px;
}

.home-quick-hub__title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: var(--rid-white);
  margin-bottom: 4px;
}

.home-quick-hub__sub {
  font-size: 0.96rem;
  color: #CFE2F0;
}

.home-quick-hub__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.home-hub-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background-color: rgba(8, 36, 58, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  color: var(--rid-white);
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.home-hub-card:hover {
  transform: translateY(-2px);
  border-color: var(--rid-green);
  background-color: rgba(8, 36, 58, 1);
}

.home-hub-card--cta {
  border-color: var(--rid-green);
  background-color: rgba(130, 190, 48, 0.16);
}

.home-hub-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.home-hub-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.home-hub-card__body strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--rid-white);
}

.home-hub-card__body span {
  font-size: 0.84rem;
  color: #CFE2F0;
}

.home-hub-card__arrow {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--rid-green);
}

.infografia-3pasos-showcase--hero {
  margin-top: 0;
  margin-bottom: 36px;
}

.site-footer__logos-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.site-footer__3pasos-link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--rid-green);
  box-shadow: var(--shadow-card);
  max-width: 300px;
}

.site-footer__3pasos-logo {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   ESTRUCTURA GENERAL DE SECCIONES (.section-block)
   ========================================================================== */
.section-block {
  padding: 72px 0;
  background-color: var(--rid-white);
}

.section-block--mist {
  background-color: var(--rid-mist);
}

.section-block--navy {
  background-color: var(--rid-navy-deep);
  color: var(--rid-white);
}

.section-header {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--rid-blue);
  background-color: rgba(35, 120, 181, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section-kicker--light {
  color: var(--rid-green);
  background-color: rgba(130, 190, 48, 0.15);
}

.section-title {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  color: var(--rid-navy-deep);
  margin-bottom: 14px;
}

.section-title--light {
  color: var(--rid-white);
}

.section-lead {
  font-size: 1.06rem;
  color: var(--rid-muted);
}

.section-lead--light {
  color: #CFE2F0;
}

/* ==========================================================================
   4. PROBLEMA → SOLUCIÓN (#problema-solucion)
   ========================================================================== */
.problem-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.problem-card {
  background-color: var(--rid-white);
  border: 1px solid var(--rid-border);
  border-radius: var(--radius-card);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.problem-card--solution {
  border: 2px solid var(--rid-green);
  background-color: var(--rid-success-bg);
}

.problem-card__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background-color: var(--rid-mist);
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-card--solution .problem-card__icon-wrap {
  background-color: var(--rid-white);
}

.problem-card__title {
  font-size: 1.18rem;
  color: var(--rid-navy-deep);
}

.problem-card__desc {
  font-size: 0.96rem;
  color: var(--rid-text);
}

/* Franja de problemas críticos que resolvemos sin excavar */
.critical-problems-strip {
  margin-top: 28px;
  background-color: var(--rid-white);
  border: 1px solid var(--rid-border);
  border-left: 5px solid var(--rid-green);
  border-radius: var(--radius-card);
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.critical-problems-strip__title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: var(--rid-navy-deep);
}

.critical-problems-strip__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.critical-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: var(--rid-mist);
  border: 1px solid var(--rid-border);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--rid-navy);
}

.critical-tag::before {
  content: "✓";
  color: var(--rid-green-hover);
  font-weight: 800;
}

/* ==========================================================================
   5. APARTADO DE EQUIPOS CON AUDIOS VOX (#equipos-vox)
   ========================================================================== */
.vox-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}

.vox-header-row__titles {
  max-width: 660px;
}

.voiceover-studio-bar {
  background-color: var(--rid-navy);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-card);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.voiceover-studio-bar__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.voiceover-main-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background-color: var(--rid-green);
  color: var(--rid-navy-deep);
  font-weight: 700;
  font-size: 0.94rem;
  border: none;
  border-radius: var(--radius-pill);
}

.voiceover-main-btn.is-speaking {
  background-color: #F59E0B;
  color: var(--rid-navy-deep);
}

.voiceover-wave {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
}

.voiceover-wave span {
  display: block;
  width: 3px;
  height: 8px;
  background-color: var(--rid-green);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.voiceover-wave.is-active span {
  animation: ridWaveBounce 0.7s infinite ease-in-out alternate;
}

.voiceover-wave.is-active span:nth-child(2) { animation-delay: 0.12s; }
.voiceover-wave.is-active span:nth-child(3) { animation-delay: 0.24s; }
.voiceover-wave.is-active span:nth-child(4) { animation-delay: 0.36s; }
.voiceover-wave.is-active span:nth-child(5) { animation-delay: 0.48s; }

@keyframes ridWaveBounce {
  0% { height: 6px; }
  100% { height: 22px; }
}

.equip-vox-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.equip-vox-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}

/* Ficha Técnica Compacta TPCS (ASTM F 1216-2019) */
.tpcs-specs-card {
  margin-top: 32px;
  background-color: var(--rid-navy);
  border: 1px solid rgba(130, 190, 48, 0.45);
  border-radius: var(--radius-card);
  padding: 24px 26px;
  box-shadow: var(--shadow-elevated);
}

.tpcs-specs-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.tpcs-specs-card__kicker {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--rid-green);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tpcs-specs-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.12rem, 1.8vw, 1.38rem);
  color: var(--rid-white);
}

.tpcs-specs-card__pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background-color: rgba(130, 190, 48, 0.18);
  border: 1px solid var(--rid-green);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--rid-white);
}

.tpcs-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tpcs-spec-item {
  background-color: rgba(8, 36, 58, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tpcs-spec-item__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #B9D4E8;
}

.tpcs-spec-item__value {
  font-family: var(--font-heading);
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--rid-green);
}

.tpcs-spec-item__note {
  font-size: 0.84rem;
  color: #E2EEF7;
}

.equip-vox-card {
  background-color: var(--rid-navy);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.equip-vox-card--featured {
  border: 2px solid var(--rid-green);
}

.equip-vox-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--rid-navy-deep);
}

.equip-vox-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equip-vox-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-color: rgba(8, 36, 58, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.equip-vox-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.equip-vox-card__step {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--rid-green);
  text-transform: uppercase;
}

.equip-vox-card__title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--rid-white);
  line-height: 1.25;
}

.equip-vox-card__desc {
  font-size: 0.92rem;
  color: #D4E4F1;
  flex: 1;
}

.equip-3d-card__audio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--rid-white);
  border: 1px solid rgba(130, 190, 48, 0.55);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

.equip-3d-card__audio-btn:hover {
  background-color: var(--rid-green);
  color: var(--rid-navy-deep);
}

/* ==========================================================================
   6. CATÁLOGO DE 8 SERVICIOS (#servicios)
   ========================================================================== */
.services-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background-color: var(--rid-white);
  border: 1px solid var(--rid-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.service-card--featured {
  border: 2px solid var(--rid-green);
}

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background-color: var(--rid-navy-deep);
  overflow: hidden;
}

.service-card__media > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 52px;
  height: 52px;
  padding: 6px;
  background-color: rgba(8, 36, 58, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  object-fit: contain;
}

.service-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.service-card__title {
  font-size: 1.12rem;
  color: var(--rid-navy-deep);
}

.service-card__desc {
  font-size: 0.94rem;
  color: var(--rid-text);
}

.service-card__benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.service-card__benefits li {
  position: relative;
  padding-left: 22px;
  font-size: 0.88rem;
  color: var(--rid-muted);
  font-weight: 700;
}

.service-card__benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--rid-green-hover);
  font-weight: 800;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background-color: var(--rid-navy);
  color: var(--rid-white);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

.service-card__cta:hover {
  background-color: var(--rid-green);
  color: var(--rid-navy-deep);
}

/* ==========================================================================
   7. CÓMO TRABAJAMOS EN 3 PASOS (#como-trabajamos)
   ========================================================================== */
.steps-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.step-3-card {
  background-color: var(--rid-white);
  border: 1px solid var(--rid-border);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-3-card--highlight {
  border: 2px solid var(--rid-green);
}

.step-3-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-3-card__badge {
  padding: 5px 12px;
  background-color: rgba(13, 56, 88, 0.08);
  color: var(--rid-navy);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
}

.step-3-card__badge--green {
  background-color: rgba(130, 190, 48, 0.18);
  color: var(--rid-success-text);
}

.step-3-card__title {
  font-size: 1.24rem;
  color: var(--rid-navy-deep);
}

.step-3-card__desc {
  font-size: 0.98rem;
  color: var(--rid-text);
}

.infografia-3pasos-showcase {
  background-color: var(--rid-white);
  border: 1px solid var(--rid-border);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.infografia-3pasos-figure {
  margin: 0 0 20px;
}

.infografia-3pasos-figure img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  border-radius: 10px;
  background-color: var(--rid-navy-deep);
}

.infografia-3pasos-caption {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--rid-text);
  text-align: center;
}

.infografia-3pasos-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   8. COMPARATIVA VISUAL + COMPARADOR ANTES/DESPUÉS + TABLA (#comparativa)
   ========================================================================== */
.comparison-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.comparison-photo-card,
.xray-comparator-box {
  margin: 0;
  background-color: var(--rid-white);
  border: 1px solid var(--rid-border);
  border-radius: var(--radius-card);
  padding: 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison-photo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
}

.comparison-photo-card__caption,
.xray-comparator-note {
  font-size: 0.9rem;
  color: var(--rid-muted);
  text-align: center;
}

.xray-Preset-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.xray-preset-btn {
  flex: 1;
  padding: 8px 12px;
  background-color: var(--rid-mist);
  color: var(--rid-navy-deep);
  border: 1px solid var(--rid-border);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
}

.xray-preset-btn.is-active {
  background-color: var(--rid-navy);
  color: var(--rid-white);
  border-color: var(--rid-navy);
}

.xray-comparator {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--rid-navy-deep);
  --split-pct: 50%;
}

.xray-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.xray-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.xray-layer--before {
  clip-path: inset(0 calc(100% - var(--split-pct)) 0 0);
}

.xray-hud-badge {
  position: absolute;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background-color: rgba(8, 36, 58, 0.88);
  color: var(--rid-white);
  font-size: 0.78rem;
  max-width: 46%;
}

.xray-hud-badge--before {
  left: 12px;
  border-left: 3px solid #F59E0B;
}

.xray-hud-badge--after {
  right: 12px;
  border-left: 3px solid var(--rid-green);
}

.xray-hud-badge__kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--rid-green);
}

.xray-hud-badge__title {
  font-size: 0.8rem;
}

.xray-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split-pct);
  width: 3px;
  background-color: var(--rid-green);
  transform: translateX(-50%);
  pointer-events: none;
}

.xray-divider__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--rid-green);
  color: var(--rid-navy-deep);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.xray-slider-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}

/* Tabla comparativa */
.comparison-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--rid-border);
  box-shadow: var(--shadow-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--rid-white);
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--rid-border-soft);
  font-size: 0.96rem;
}

.comparison-table thead th {
  background-color: var(--rid-navy-deep);
  color: var(--rid-white);
  font-family: var(--font-heading);
  font-weight: 700;
}

.comparison-table thead th.comparison-table__good {
  background-color: var(--rid-navy);
  border-bottom: 3px solid var(--rid-green);
}

.comparison-table__bad-cell {
  color: var(--rid-danger-text);
  background-color: var(--rid-danger-bg);
}

.comparison-table__good-cell {
  color: var(--rid-success-text);
  background-color: var(--rid-success-bg);
}

/* ==========================================================================
   9. CASOS REALES EN GUADALAJARA (#casos) + CARRUSEL DE VIDEOS YOUTUBE
   ========================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}

.case-card {
  background-color: var(--rid-white);
  border: 1px solid var(--rid-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.case-card--authority {
  border: 2px solid var(--rid-blue);
}

.case-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--rid-navy-deep);
  overflow: hidden;
}

.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  background-color: var(--rid-green);
  color: var(--rid-navy-deep);
  font-size: 0.76rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
}

.case-card__badge--navy {
  background-color: var(--rid-navy);
  color: var(--rid-white);
}

.case-card__body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-card__kicker {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--rid-blue);
  text-transform: uppercase;
}

.case-card__title {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--rid-navy-deep);
}

.case-card__desc {
  font-size: 0.96rem;
  color: var(--rid-text);
}

/* Carrusel de Evidencias en Video de YouTube */
.yt-evidence-hub {
  background-color: var(--rid-navy-deep);
  color: var(--rid-white);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-elevated);
}

.yt-evidence-hub__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.yt-evidence-hub__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rid-green);
  letter-spacing: 0.05em;
}

.yt-evidence-hub__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--rid-green);
}

.yt-evidence-hub__title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--rid-white);
}

.yt-evidence-hub__nav-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.yt-carousel-arrow {
  padding: 10px 16px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--rid-white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  font-weight: 700;
}

.yt-carousel-arrow:hover {
  background-color: var(--rid-blue);
}

.yt-evidence-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
}

.yt-hud-frame {
  background-color: var(--rid-navy);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.yt-hud-topbar {
  padding: 12px 16px;
  background-color: rgba(8, 36, 58, 0.75);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.yt-hud-topbar__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yt-hud-topbar__meta {
  display: flex;
  flex-direction: column;
}

.yt-hud-topbar__tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--rid-green);
}

.yt-hud-topbar__name {
  font-size: 0.98rem;
  color: var(--rid-white);
}

.yt-hud-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
  overflow: hidden;
}

.yt-iframe-container,
.yt-iframe-container iframe,
.yt-backup-video {
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-hud-poster-facade {
  position: absolute;
  inset: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-hud-poster-facade.is-playing {
  display: none;
}

.yt-hud-poster-facade__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-hud-poster-facade__scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 36, 58, 0.35);
}

.yt-hud-poster-facade__center {
  position: relative;
  z-index: 2;
}

.yt-hud-bottombar {
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #D4E4F1;
}

.yt-carousel-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.yt-carousel-sidebar__head {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: #B8D4E8;
}

.yt-carousel-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yt-slide-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background-color: var(--rid-navy);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: var(--rid-white);
  text-align: left;
}

.yt-slide-card.is-active {
  border: 2px solid var(--rid-green);
}

.yt-slide-card__thumb {
  position: relative;
  width: 108px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.yt-slide-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-slide-card__play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 36, 58, 0.45);
  color: var(--rid-white);
  font-size: 1rem;
}

.yt-slide-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.yt-slide-card__kicker {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--rid-green);
}

.yt-slide-card__title {
  font-size: 0.95rem;
}

.yt-slide-card__meta {
  font-size: 0.8rem;
  color: #B8D4E8;
}

.yt-carousel-dots {
  display: flex;
  gap: 8px;
}

.yt-carousel-dot {
  width: 12px;
  height: 12px;
  min-width: 12px;
  min-height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.25);
  border: none;
  padding: 0;
}

.yt-carousel-dot.is-active {
  background-color: var(--rid-green);
}

.yt-sidebar-portfolio-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: var(--rid-white);
  font-weight: 700;
  font-size: 0.9rem;
}

.yt-sidebar-portfolio-link:hover {
  background-color: var(--rid-blue);
}

/* ==========================================================================
   10. SECTORES QUE ATENDEMOS (#sectores)
   ========================================================================== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sector-card {
  background-color: var(--rid-white);
  border: 1px solid var(--rid-border);
  border-radius: var(--radius-card);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.sector-card__icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.sector-card__title {
  font-size: 1.22rem;
  color: var(--rid-navy-deep);
}

.sector-card__desc {
  font-size: 0.95rem;
  color: var(--rid-text);
}

/* ==========================================================================
   11. PREGUNTAS FRECUENTES (#preguntas)
   ========================================================================== */
.faq-accordion-list {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: var(--rid-white);
  border: 1px solid var(--rid-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--rid-blue);
}

.faq-item__summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.faq-item__question {
  font-size: 1.06rem;
  color: var(--rid-navy-deep);
  flex: 1;
}

.faq-item__chevron {
  font-size: 1.2rem;
  color: var(--rid-blue);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 22px 20px 64px;
  font-size: 0.98rem;
  color: var(--rid-text);
}

/* ==========================================================================
   12. COBERTURA ZMG + FORMULARIO DE COTIZACIÓN A WHATSAPP (#cotizacion)
   ========================================================================== */
.zmg-coverage-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background-color: var(--rid-navy);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 5px solid var(--rid-green);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  margin-bottom: 24px;
}

.zmg-coverage-banner__icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.zmg-coverage-banner__content {
  flex: 1;
}

.zmg-coverage-banner__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.14rem;
  color: var(--rid-white);
  margin-bottom: 6px;
}

.zmg-coverage-banner__desc {
  font-size: 0.95rem;
  color: #D6E6F2;
}

.billing-trust-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.billing-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-card);
  padding: 14px 18px;
}

.billing-trust-item strong {
  display: block;
  color: var(--rid-white);
  font-size: 0.96rem;
}

.billing-trust-item span {
  font-size: 0.85rem;
  color: #C7DFEE;
}

.executive-form-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
  align-items: start;
}

.executive-form-card {
  background-color: var(--rid-white);
  color: var(--rid-text);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-elevated);
}

.executive-form-card__header {
  margin-bottom: 20px;
}

.executive-form-card__title {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--rid-navy-deep);
  margin-bottom: 6px;
}

.executive-form-card__note {
  font-size: 0.9rem;
  color: var(--rid-muted);
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--rid-navy-deep);
}

.sector-selector-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sector-chip {
  padding: 8px 14px;
  background-color: var(--rid-mist);
  color: var(--rid-navy-deep);
  border: 1.5px solid var(--rid-border);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
}

.sector-chip.is-active {
  background-color: var(--rid-navy);
  color: var(--rid-white);
  border-color: var(--rid-navy);
}

.form-row-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-input,
.form-select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--rid-border);
  border-radius: 10px;
  background-color: var(--rid-white);
  color: var(--rid-ink);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--rid-blue);
  box-shadow: 0 0 0 3px rgba(35, 120, 181, 0.18);
}

.form-validation-feedback {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--rid-blue);
  margin-bottom: 12px;
}

.executive-preview-card {
  background-color: var(--rid-navy);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-card);
  padding: 22px;
  color: var(--rid-white);
}

.executive-preview-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.executive-preview-card__kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--rid-green);
}

.executive-preview-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--rid-white);
}

.whatsapp-preview-box {
  background-color: var(--rid-navy-deep);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #E2EEF7;
  white-space: pre-line;
  line-height: 1.5;
}

/* ==========================================================================
   13. FOOTER CORPORATIVO (#cobertura) Y BARRA FIJA MÓVIL
   ========================================================================== */
.site-footer {
  background-color: var(--rid-navy-deep);
  color: var(--rid-white);
  padding: 48px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__logos-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr);
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  padding: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, #F1F6F8 100%);
  border: 2px solid rgba(130, 190, 48, 0.65);
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(4, 18, 30, 0.38);
}

.site-footer__logo-card {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer__big-square-logo {
  width: 100%;
  max-width: 780px;
  height: auto;
  border-radius: 14px;
  object-fit: contain;
}

.site-footer__big-round-logo {
  width: 100%;
  max-width: 340px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(13, 56, 88, 0.22));
}

@media (max-width: 900px) {
  .site-footer__logos-hero {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 18px;
  }

  .site-footer__big-round-logo {
    max-width: 280px;
  }
}

.site-footer__top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.site-footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 880px;
}

.site-footer__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-footer__title {
  font-size: 1.28rem;
  color: var(--rid-white);
  margin-bottom: 4px;
}

.site-footer__tagline {
  font-size: 0.95rem;
  color: var(--rid-green);
  font-weight: 700;
  margin-bottom: 8px;
}

.site-footer__meta {
  font-size: 0.9rem;
  color: #C7DFEE;
}

.site-footer__meta .h-like {
  color: var(--rid-white);
  font-size: 0.92rem;
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  color: var(--rid-white);
  font-weight: 700;
  font-size: 0.88rem;
}

.footer-social-pill--wa {
  background-color: var(--rid-green);
  color: var(--rid-navy-deep);
  border-color: var(--rid-green);
}

.site-footer__bottom-legal {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.site-footer__copyright {
  font-size: 0.94rem;
  color: #96AABF;
  margin: 0;
}

.site-footer__toltech-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 9px 18px;
  background-color: rgba(14, 31, 48, 0.92);
  border: 1px solid rgba(0, 212, 232, 0.28);
  border-radius: 999px;
  color: #C7D7E6;
  font-size: 0.9rem;
  line-height: 1.35;
}

.site-footer__toltech-brand {
  color: #16E0F5;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.03em;
}

/* Barra Fija Inferior en Celular (.mobile-bottom-bar, visible en <= 768px) */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background-color: rgba(8, 36, 58, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 10px 12px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  box-shadow: 0 -6px 24px rgba(8, 36, 58, 0.35);
}

.mobile-bottom-bar__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.94rem;
  text-align: center;
}

.mobile-bottom-bar__btn--call {
  background-color: var(--rid-navy);
  color: var(--rid-white);
  border: 1.5px solid rgba(255, 255, 255, 0.32);
}

.mobile-bottom-bar__btn--wa {
  background-color: var(--rid-green);
  color: var(--rid-navy-deep);
  border: 1.5px solid var(--rid-green);
}

/* ==========================================================================
   14. CHATBOT ASESOR INTELIGENTE (#exec-dm-assistant)
   ========================================================================== */
.exec-dm-assistant {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1020;
  max-width: calc(100vw - 24px);
}

.exec-dm-assistant[data-dock-side="left"] {
  right: auto;
  left: 22px;
}

.exec-dm-assistant.is-closed-session {
  display: none !important;
}

.exec-dm-launcher {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.exec-dm-assistant[data-state="open"] .exec-dm-launcher {
  display: none;
}

.exec-dm-toast {
  max-width: 280px;
  background-color: var(--rid-navy-deep);
  color: var(--rid-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-card);
  padding: 10px 12px;
  box-shadow: var(--shadow-elevated);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.exec-dm-toast.is-hidden-toast {
  display: none;
}

.exec-dm-toast__body {
  background: none;
  border: none;
  color: inherit;
  text-align: left;
  padding: 0;
  min-height: auto;
  min-width: 0;
}

.exec-dm-toast__kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--rid-green);
  margin-bottom: 3px;
}

.exec-dm-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--rid-green);
}

.exec-dm-toast__text {
  display: block;
  font-size: 0.82rem;
  color: #E2EEF7;
}

.exec-dm-toast__actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.exec-dm-toast__btn {
  min-width: 28px;
  min-height: 28px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--rid-white);
  font-size: 0.75rem;
}

/* Pila vertical en esquina inferior derecha: Botón redondo de llamada ENCIMA del botón del Agente */
.exec-dm-orb-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.floating-call-orb {
  position: relative;
  width: 62px;
  height: 62px;
  min-width: 62px;
  min-height: 62px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--rid-green) 0%, var(--rid-green-hover) 100%);
  border: 2.5px solid var(--rid-white);
  box-shadow: 0 10px 26px rgba(8, 36, 58, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rid-navy-deep);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-call-orb:hover,
.floating-call-orb:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 14px 32px rgba(130, 190, 48, 0.52);
}

.floating-call-orb__icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.floating-call-orb__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--rid-green);
  opacity: 0.75;
  animation: ridCallOrbPulse 2.1s infinite ease-out;
  pointer-events: none;
}

@keyframes ridCallOrbPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.28);
    opacity: 0;
  }
}

.floating-call-orb__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--rid-navy-deep);
  color: var(--rid-white);
  border: 1px solid var(--rid-green);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.floating-call-orb:hover .floating-call-orb__tooltip,
.floating-call-orb:focus-visible .floating-call-orb__tooltip {
  opacity: 1;
}

.exec-dm-orb-wrap {
  position: relative;
}

.exec-dm-orb {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: var(--rid-navy-deep);
  border: 2.5px solid var(--rid-green);
  box-shadow: var(--shadow-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}

.exec-dm-orb__img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.exec-dm-orb__status {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: var(--rid-green);
  border: 2px solid var(--rid-navy-deep);
}

.exec-dm-orb__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--rid-green);
  color: var(--rid-navy-deep);
  font-size: 0.76rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exec-dm-orb-dismiss {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 50%;
  background-color: var(--rid-navy);
  color: var(--rid-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
}

.exec-dm-window {
  width: 370px;
  max-width: calc(100vw - 24px);
  max-height: 78vh;
  background-color: var(--rid-white);
  border: 1px solid var(--rid-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.exec-dm-window[hidden] {
  display: none !important;
}

.exec-dm-header {
  background-color: var(--rid-navy-deep);
  color: var(--rid-white);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.exec-dm-header__advisor {
  display: flex;
  align-items: center;
  gap: 10px;
}

.exec-dm-header__avatar-wrap {
  position: relative;
}

.exec-dm-header__avatar {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.exec-dm-header__meta {
  display: flex;
  flex-direction: column;
}

.exec-dm-header__name {
  font-size: 0.92rem;
}

.exec-dm-header__role {
  font-size: 0.74rem;
  color: var(--rid-green);
}

.exec-dm-header__controls {
  display: flex;
  gap: 6px;
}

.exec-dm-ctrl-btn {
  min-width: 34px;
  min-height: 34px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--rid-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.exec-dm-scroll-toolbar {
  background-color: var(--rid-mist);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  border-bottom: 1px solid var(--rid-border);
}

.exec-dm-scroll-toolbar__btns {
  display: flex;
  gap: 6px;
}

.exec-dm-scroll-btn {
  min-height: 30px;
  min-width: 48px;
  padding: 2px 8px;
  font-size: 0.74rem;
  border-radius: 6px;
  border: 1px solid var(--rid-border);
  background-color: var(--rid-white);
}

.exec-dm-body {
  padding: 14px;
  overflow-y: auto;
  max-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #F8FAFC;
}

.exec-dm-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exec-dm-msg {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 90%;
}

.exec-dm-msg--advisor {
  background-color: var(--rid-white);
  color: var(--rid-text);
  border: 1px solid var(--rid-border);
  align-self: flex-start;
}

.exec-dm-msg--user {
  background-color: var(--rid-navy);
  color: var(--rid-white);
  align-self: flex-end;
}

.exec-dm-msg__meta {
  display: block;
  font-size: 0.7rem;
  opacity: 0.75;
  margin-top: 4px;
}

.exec-dm-msg__cta-btn {
  margin-top: 10px;
  width: 100%;
  padding: 10px 12px;
  background-color: var(--rid-green);
  color: var(--rid-navy-deep);
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  border-radius: 8px;
}

.exec-dm-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.exec-dm-quick-chip {
  padding: 6px 10px;
  background-color: var(--rid-mist);
  color: var(--rid-navy-deep);
  border: 1px solid var(--rid-border);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

.exec-dm-options-box {
  border-top: 1px solid var(--rid-border);
  background-color: var(--rid-mist);
}

.exec-dm-options-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
}

.exec-dm-options-toggle,
.exec-dm-options-close-btn {
  min-height: 36px;
  background: none;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rid-navy-deep);
}

.exec-dm-options-box[data-options-open="false"] .exec-dm-options-panel {
  display: none;
}

.exec-dm-options-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 10px 10px;
  max-height: 150px;
  overflow-y: auto;
}

.exec-dm-option-pill {
  min-height: 38px;
  padding: 6px 10px;
  text-align: left;
  background-color: var(--rid-white);
  border: 1px solid var(--rid-border);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--rid-navy-deep);
  font-weight: 700;
}

.exec-dm-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--rid-border);
  background-color: var(--rid-white);
}

.exec-dm-input-wrap {
  flex: 1;
  position: relative;
}

.exec-dm-input {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--rid-border);
  border-radius: 8px;
}

.exec-dm-send-btn {
  padding: 8px 14px;
  background-color: var(--rid-navy);
  color: var(--rid-white);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.86rem;
}

.exec-dm-wa-confirm {
  padding: 12px;
  background-color: var(--rid-success-bg);
  border-top: 1px solid var(--rid-green);
}

.exec-dm-wa-confirm__head {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--rid-success-text);
  margin-bottom: 4px;
}

.exec-dm-wa-confirm__text {
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.exec-dm-wa-confirm__actions {
  display: flex;
  gap: 8px;
}

.exec-dm-wa-confirm__yes {
  flex: 1;
  background-color: var(--rid-green);
  color: var(--rid-navy-deep);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.84rem;
}

.exec-dm-wa-confirm__no {
  background-color: var(--rid-white);
  border: 1px solid var(--rid-border);
  border-radius: 8px;
  font-size: 0.82rem;
  padding: 6px 10px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS Y MÓVILES <= 1080px y <= 768px)
   ========================================================================== */
@media (max-width: 1280px) {
  .site-header__subtitle {
    display: none;
  }
  .site-header__title {
    font-size: 0.84rem;
  }
  .site-header__link {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  .header-btn--wa {
    padding: 8px 12px;
    font-size: 0.82rem;
  }
}

@media (max-width: 1120px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    padding: 8px 14px;
  }
  .site-header__brand {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  .site-header__actions {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }
  .site-header__nav {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
    justify-content: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 6px;
    width: 100%;
  }
  :root {
    --header-h: 108px;
  }
  .problem-cards-grid,
  .equip-vox-grid,
  .equip-vox-grid--6,
  .tpcs-specs-grid,
  .home-quick-hub__grid,
  .services-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-pillars-grid,
  .steps-3-grid,
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .comparison-visual-grid,
  .yt-evidence-layout,
  .executive-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 106px;
  }

  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .site-header__nav {
    display: flex;
    gap: 6px;
  }

  .site-header__link {
    min-height: 38px;
    padding: 6px 11px;
    font-size: 0.78rem;
  }

  .site-header__subtitle {
    display: none;
  }

  .site-header__title {
    font-size: 0.82rem;
    white-space: normal;
    max-width: 190px;
  }

  .header-btn--wa {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .sticky-stage {
    background-image: url("../assets/frames_rid/mobile/f_0001.webp");
  }

  .hero__scrim {
    background: linear-gradient(
      180deg,
      rgba(4, 16, 28, 0.25) 0%,
      rgba(4, 16, 28, 0.35) 65%,
      rgba(4, 16, 28, 0.52) 100%
    );
  }

  .scroll-frame-callout {
    display: none;
  }

  .hero-chapters-nav {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: space-between;
    padding: 6px 8px;
  }

  .hero-chapter-pill {
    flex: 1;
    justify-content: center;
    padding: 6px 8px;
    font-size: 0.76rem;
  }

  .hero-chapter-pill__label {
    display: none;
  }

  .step-section {
    padding: 20px 14px 96px;
    min-height: 85vh;
  }

  .step-section__card {
    padding: 20px 18px;
  }

  .step-cta-group .btn-primary,
  .step-cta-group .btn-secondary-light,
  .step-cta-group .btn-voice-pill {
    width: 100%;
  }

  .trust-pillars-grid,
  .problem-cards-grid,
  .equip-vox-grid,
  .equip-vox-grid--6,
  .tpcs-specs-grid,
  .home-quick-hub__grid,
  .services-catalog-grid,
  .steps-3-grid,
  .cases-grid,
  .sectors-grid,
  .billing-trust-bar,
  .form-row-2col {
    grid-template-columns: 1fr;
  }

  .zmg-coverage-banner,
  .site-footer__top-row,
  .site-footer__brand,
  .site-footer__logos-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-item__answer {
    padding-left: 22px;
  }

  .mobile-bottom-bar {
    display: flex;
  }

  .exec-dm-assistant {
    bottom: calc(82px + env(safe-area-inset-bottom));
    right: 14px;
  }

  .exec-dm-assistant[data-dock-side="left"] {
    left: auto;
    right: 14px;
  }

  .floating-call-orb {
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
  }

  .floating-call-orb__tooltip {
    display: none;
  }

  .exec-dm-toast {
    display: none;
  }
}

/* ==========================================================================
   CARRUSEL HORIZONTAL DINÁMICO DE VIDEOS REALES Y DRON + VENTANA MODAL
   ========================================================================== */
.ev-video-carousel-hub {
  margin-top: 36px;
  margin-bottom: 36px;
  padding: 28px 24px;
  background: linear-gradient(155deg, #08243A 0%, #0D3858 100%);
  border: 1.5px solid rgba(130, 190, 48, 0.45);
  border-radius: 22px;
  color: #FFFFFF;
  box-shadow: 0 22px 48px rgba(8, 36, 58, 0.24);
}

.ev-video-carousel-hub__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.ev-video-carousel-hub__title {
  color: #FFFFFF;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  margin: 0 0 6px;
}

.ev-video-carousel-hub__sub {
  color: #C7DFEE;
  font-size: 0.96rem;
  margin: 0;
}

.ev-video-carousel-hub__controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ev-video-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ev-filter-btn {
  min-height: 44px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #E2EEF7;
  font-weight: 700;
  font-size: 0.86rem;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.ev-filter-btn.is-active,
.ev-filter-btn:hover {
  background: var(--rid-green);
  border-color: var(--rid-green);
  color: var(--rid-navy-deep);
}

.ev-video-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ev-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(130, 190, 48, 0.65);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s ease, transform 0.15s ease;
}

.ev-arrow-btn:hover {
  background: var(--rid-green);
  color: var(--rid-navy-deep);
  transform: scale(1.04);
}

.ev-video-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 14px;
  -webkit-overflow-scrolling: touch;
}

.ev-video-track::-webkit-scrollbar {
  height: 8px;
}

.ev-video-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.ev-video-track::-webkit-scrollbar-thumb {
  background: var(--rid-green);
  border-radius: 999px;
}

.ev-video-card {
  flex: 0 0 320px;
  max-width: 82vw;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  overflow: hidden;
  color: #FFFFFF;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ev-video-card[hidden] {
  display: none !important;
}

.ev-video-card:hover,
.ev-video-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--rid-green);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.ev-video-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #04121E;
  overflow: hidden;
}

.ev-video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ev-video-card:hover .ev-video-card__thumb img {
  transform: scale(1.04);
}

.ev-video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(130, 190, 48, 0.95);
  color: #08243A;
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.ev-video-card__cat {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 36, 58, 0.9);
  border: 1px solid rgba(130, 190, 48, 0.65);
  color: var(--rid-green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ev-video-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ev-video-card__title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.28;
}

.ev-video-card__sub {
  font-size: 0.84rem;
  color: #C7DFEE;
  line-height: 1.4;
  margin: 0;
}

/* Ventana modal reproductora */
.ev-video-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.ev-video-modal[hidden] {
  display: none !important;
}

.ev-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 16, 28, 0.88);
  backdrop-filter: blur(10px);
}

.ev-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  background: #08243A;
  border: 2px solid var(--rid-green);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
}

.ev-video-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 20px;
  background: #0D3858;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.ev-video-modal__title {
  display: block;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
}

.ev-video-modal__sub {
  color: #C7DFEE;
  font-size: 0.86rem;
  margin: 2px 0 0;
}

.ev-video-modal__close {
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1.5px solid var(--rid-green);
  background: var(--rid-green);
  color: #08243A;
  font-weight: 800;
  font-size: 0.92rem;
}

.ev-video-modal__close:hover {
  background: var(--rid-green-hover);
  color: #FFFFFF;
}

.ev-video-modal__stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.ev-video-modal__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000000;
}

/* ==========================================================================
   LOGO REDONDO EN LA PARTE SUPERIOR DERECHA (.site-header__top-right-logo)
   ========================================================================== */
.site-header__top-right-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 2px;
  border: 2px solid var(--rid-green);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
  flex-shrink: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.site-header__top-right-logo-link:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(130, 190, 48, 0.45);
}

.site-header__top-right-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .site-header__top-right-logo-link {
    width: 58px;
    height: 58px;
  }
}

/* ==========================================================================
   PESTAÑA MAPA DE COBERTURA (#mapa-cobertura · GOOGLE MAPS 100% FUNCIONAL)
   ========================================================================== */
.cov-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}

.cov-map-stage {
  background: #FFFFFF;
  border: 1.5px solid rgba(13, 56, 88, 0.14);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(8, 36, 58, 0.1);
}

.cov-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 18px;
  background: #08243A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cov-zone-btn {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #E2EEF7;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.cov-zone-btn.is-active,
.cov-zone-btn:hover {
  background: var(--rid-green);
  border-color: var(--rid-green);
  color: #08243A;
}

.cov-zone-btn--national {
  border-color: rgba(130, 190, 48, 0.75);
  color: var(--rid-green);
}

.cov-map-frame-wrap {
  width: 100%;
  height: 490px;
  background: #E4ECF2;
}

.cov-google-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.cov-map-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  background: #F1F6F8;
  color: #08243A;
  font-size: 0.9rem;
}

.cov-map-external-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #0D3858;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
}

.cov-map-external-link:hover {
  background: var(--rid-green);
  color: #08243A;
}

.cov-info-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cov-info-card {
  padding: 22px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1.5px solid rgba(13, 56, 88, 0.12);
  box-shadow: 0 14px 32px rgba(8, 36, 58, 0.07);
}

.cov-info-card--national {
  background: linear-gradient(150deg, #08243A 0%, #0D3858 100%);
  color: #FFFFFF;
  border-color: rgba(130, 190, 48, 0.65);
}

.cov-info-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.cov-info-card__title {
  font-size: 1.15rem;
  margin: 0 0 3px;
}

.cov-info-card--national .cov-info-card__title {
  color: #FFFFFF;
}

.cov-info-card__sub {
  font-size: 0.86rem;
  color: #5B6B78;
  margin: 0;
}

.cov-info-card--national .cov-info-card__sub {
  color: var(--rid-green);
  font-weight: 700;
}

.cov-municipalities-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  color: #243746;
}

.cov-info-card--national .cov-municipalities-list {
  color: #F1F7FC;
  margin-bottom: 18px;
}

.cov-info-card--national .cov-municipalities-list li {
  color: #F1F7FC;
  line-height: 1.5;
}

.cov-info-card--national .cov-municipalities-list strong {
  color: #82BE30;
}

.cov-info-card__actions {
  margin-top: 18px;
}

.cov-info-card__text {
  font-size: 0.94rem;
  line-height: 1.55;
  color: #E2EEF7;
  margin-bottom: 18px;
}

@media (max-width: 980px) {
  .cov-map-layout {
    grid-template-columns: 1fr;
  }

  .cov-map-frame-wrap {
    height: 380px;
  }
}

/* =========================================================================
   INDICADOR DE ESCRITURA (3 PUNTITOS ANIMADOS) & MODAL PRE-CHAT WHATSAPP
   ========================================================================= */
.exec-dm-typing {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 6px 4px;
}

.exec-dm-typing[hidden] {
  display: none !important;
}

.exec-dm-typing__bubble {
  background: #FFFFFF;
  border: 1px solid rgba(13, 56, 88, 0.14);
  border-radius: 16px 16px 16px 4px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(8, 36, 58, 0.08);
}

.exec-dm-typing__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #82BE30;
  display: inline-block;
  animation: ridTypingBounce 1.35s infinite ease-in-out;
}

.exec-dm-typing__dot:nth-child(2) {
  animation-delay: 0.2s;
}

.exec-dm-typing__dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes ridTypingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.exec-dm-typing__label {
  font-size: 0.76rem;
  color: #5B6B78;
  font-style: italic;
  font-weight: 600;
}

/* Modal Pre-Chat de WhatsApp (#wa-prechat-modal) */
.wa-prechat-modal {
  position: fixed;
  inset: 0;
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.wa-prechat-modal[hidden] {
  display: none !important;
}

.wa-prechat-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 16, 28, 0.78);
  backdrop-filter: blur(8px);
}

.wa-prechat-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #ECE5DD;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.55);
  border: 2px solid #25D366;
}

.wa-prechat-modal__header {
  background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
  color: #FFFFFF;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wa-prechat-modal__agent {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-prechat-modal__avatar-wrap {
  position: relative;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.wa-prechat-modal__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  background: #FFFFFF;
  object-fit: contain;
}

.wa-prechat-modal__online {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #25D366;
  border: 2px solid #075E54;
}

.wa-prechat-modal__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wa-prechat-modal__name {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.wa-prechat-modal__role {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.wa-prechat-modal__close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.wa-prechat-modal__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.wa-prechat-modal__body {
  padding: 16px 18px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wa-prechat-modal__greeting {
  background: #FFFFFF;
  color: #1E2D3A;
  padding: 12px 15px;
  border-radius: 0 14px 14px 14px;
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #25D366;
}

.wa-prechat-modal__form {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wa-prechat-modal__captured {
  background: #E8F8EE;
  border: 1.5px solid #25D366;
  color: #075E54;
  border-radius: 12px;
  padding: 14px;
  font-size: 0.9rem;
  line-height: 1.45;
}

.wa-prechat-modal__captured[hidden] {
  display: none !important;
}
