/* ==========================================================================
   Limpieza Express - hoja de estilos unica (mobile first)
   ========================================================================== */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('/assets/fonts/outfit-latin.woff2') format('woff2'); }
@font-face { font-family: 'Mountains of Christmas'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/mountains-of-christmas-700-latin.woff2') format('woff2'); }

:root {
  --color-primary: #026FA6;
  --color-primary-dark: #015A87;
  --color-secondary: #0F172A;
  --color-accent: #10B981;
  --color-whatsapp: #25D366;

  --color-bg: #FFFFFF;
  --color-bg-alt: #F8FAFC;
  --color-white: #FFFFFF;
  --color-text: #334155;
  --color-text-light: #5A6B80;
  --color-border: #E2E8F0;

  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: clamp(1.15rem, 1.2rem + 0.6vw, 1.5rem);
  --text-2xl: clamp(1.4rem, 1.2rem + 1.6vw, 2.25rem);
  --text-3xl: clamp(1.7rem, 1.35rem + 2.2vw, 3rem);
  --text-4xl: clamp(2rem, 1.4rem + 3.4vw, 4rem);

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --radius-full: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 66px;
}

@media (min-width: 992px) {
  :root { --header-h: 76px; }
}

/* --------------------------------------------------------- Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--color-secondary);
  text-wrap: balance;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

section { scroll-margin-top: calc(var(--header-h) + 12px); }


.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--color-secondary); color: var(--color-white);
  padding: 1rem 1.5rem; z-index: 999; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------- Utilidades */
.mt-4 { margin-top: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-sm { font-size: var(--text-sm); }
.text-muted { color: var(--color-text-light); }
.w-full { width: 100%; }

.section-title { font-size: var(--text-3xl); margin-bottom: 0.75rem; }
.section-desc {
  font-size: var(--text-lg);
  color: var(--color-text-light);
  max-width: 62ch;
  margin-inline: auto;
  text-wrap: pretty;
}

/* --------------------------------------------------------- Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  min-height: 48px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s;
  text-align: center;
}
.btn svg { flex-shrink: 0; }

.btn-primary { background: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-3px); box-shadow: 0 10px 22px rgba(2,132,199,0.28); }

.btn-whatsapp { background: var(--color-whatsapp); color: #05331a; }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(37,211,102,0.32); }

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
  border-color: rgba(255,255,255,0.45);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); transform: translateY(-3px); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 48px; padding: 0.75rem 1.25rem;
  background: transparent; color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-full);
  font-family: var(--font-display); font-weight: 600;
  transition: background-color 0.25s, color 0.25s;
}
.btn-outline:hover { background: var(--color-primary); color: var(--color-white); }

.btn-xl { font-size: var(--text-lg); padding: 1.15rem 1.75rem; min-height: 56px; }

/* --------------------------------------------------------- Header */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 1.25rem;
}

.logo {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display);
  flex-shrink: 0;
  white-space: nowrap;
}
.logo picture { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 36px; width: auto; }
.logo-text {
  display: inline-flex; align-items: baseline; gap: 0.24rem;
  font-size: 1.1rem; letter-spacing: -0.025em; line-height: 1;
  white-space: nowrap;
}
.logo-text .brand-main { color: var(--color-secondary); font-weight: 700; }
.logo-text .brand-accent { color: var(--color-primary); font-weight: 800; }

@media (min-width: 992px) {
  .logo img { height: 42px; }
  .logo-text { font-size: 1.25rem; }
}

.desktop-nav {
  display: none;
  gap: 0.25rem;
  align-items: center;
  justify-content: center;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-text);
  padding: 0.52rem 0.85rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}
.nav-link:hover {
  color: var(--color-primary);
  background: #F1F5F9;
}

.header-actions {
  display: flex; align-items: center; gap: 0.75rem;
  flex-shrink: 0;
}
.header-cta {
  display: none;
  padding: 0.58rem 1.2rem;
  min-height: 40px;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  border-radius: var(--radius-full);
}

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  color: var(--color-secondary);
  border-radius: 12px;
  transition: background-color 0.25s;
}
.menu-btn:hover { background: var(--color-bg-alt); }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

@media (min-width: 992px) {
  .desktop-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
}

/* --------------------------------------------------------- Menu movil */

.dropdown-item--catalog {
  margin-top: 0.25rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  padding-top: 0.8rem;
  background: rgba(2, 132, 199, 0.03);
}
.dropdown-item--catalog:hover {
  background: #F0F9FF;
}

.mobile-menu {
  position: fixed; inset: 0;
  top: var(--header-h);
  height: calc(100dvh - var(--header-h));
  background: rgba(255,255,255,0.985);
  backdrop-filter: blur(16px);
  z-index: 99;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-link {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--color-secondary);
  padding: 0.5rem 1rem;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), color 0.25s;
}
.mobile-menu.is-open .mobile-link { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open .mobile-link:nth-child(2) { transition-delay: 0.10s; }
.mobile-menu.is-open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-link:nth-child(4) { transition-delay: 0.20s; }
.mobile-menu.is-open .mobile-link:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.is-open .mobile-link:nth-child(6) { transition-delay: 0.30s; }
.mobile-link:hover { color: var(--color-primary); }

.mobile-menu .btn { margin-top: 0.5rem; opacity: 0; transition: opacity 0.35s var(--ease) 0.35s; }
.mobile-menu.is-open .btn { opacity: 1; }

body.menu-open { overflow: hidden; }

/* --------------------------------------------------------- Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--header-h) + 1rem) 0 1.5rem;
  text-align: center;
  color: var(--color-white);
  background-color: #16213a;
}

/* Hero con Carrusel de Fondo Dinámico (100dvh Completo sin franja blanca) */
.hero-with-carousel,
.hero-services-hub {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  overflow: hidden;
  background-color: #0b1120;
  background-image: none !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 3.5rem;
}

.hero-bg-single {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-single picture,
.hero-bg-single img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

.hero-bg-slide.active {
  opacity: 1;
}

.hero-bg-slide picture,
.hero-bg-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 36%, rgba(15, 23, 42, 0.35) 0%, rgba(11, 17, 32, 0.65) 60%, rgba(11, 17, 32, 0.86) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Efecto Granito Analógico y Película Antigua (Film Grain) */
.hero-bg-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='0.08'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.38;
  pointer-events: none;
}

.hero-content-relative {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Portadas de Servicios Individuales Centradas (Arquitectura idéntica al Home) */
.hero-service-landing {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 1.5rem) 1.25rem 3.5rem;
  background-color: #0B1120;
  background-image: none !important;
  overflow: hidden;
}

.hero-service-landing .hero-content-relative {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero {
    padding: calc(var(--header-h) + 1.25rem) 0 2rem;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .hero-with-carousel {
    background-image: none !important;
  }
}

.geo-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #F8FAFC;
  color: #0F172A;
  padding: 0.32rem 0.88rem;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.geo-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #026FA6;
  box-shadow: 0 0 6px rgba(2, 132, 199, 0.6);
  flex-shrink: 0;
}

/* Badges de precio en tarjetas de cluster (Muebles, Colchones, Tarifario) */
.cluster-card .geo-tag {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
  padding: 0.28rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: 0 1px 2px rgba(22, 101, 52, 0.05);
}

.cluster-card .geo-tag::before {
  background-color: #10B981;
  box-shadow: 0 0 5px rgba(16, 185, 129, 0.6);
}


.hero-title {
  font-size: clamp(1.95rem, 1.45rem + 2.2vw, 3.25rem);
  color: var(--color-white);
  max-width: 22ch;
  margin: 0 auto 1.4rem;
  line-height: 1.16;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.75), 0 4px 36px rgba(11, 17, 32, 0.9);
}
@media (max-width: 480px) {
  .hero-with-carousel,
  .hero-services-hub,
  .hero-service-landing {
    padding: calc(var(--header-h) + 1.25rem) 1rem 2.5rem;
    min-height: auto;
  }
  .hero-title {
    font-size: clamp(1.45rem, 1.2rem + 1.6vw, 1.95rem);
    line-height: 1.22;
    padding: 0;
  }
  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
}
@media (min-width: 768px) { .hero-title { max-width: 26ch; } }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.95);
  max-width: 62ch;
  margin: 0 auto 2.1rem;
  line-height: 1.62;
  text-wrap: pretty;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.hero-actions {
  display: flex; flex-direction: column; gap: 0.85rem;
  align-items: stretch;
  max-width: 340px; margin: 0 auto 2rem;
}
@media (min-width: 560px) {
  .hero-actions { flex-direction: row; justify-content: center; max-width: none; gap: 1.25rem; }
}
.hero-actions .btn-xl {
  padding: 0.74rem 1.45rem;
  min-height: 46px;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--radius-full);
}
.hero-actions .btn-whatsapp {
  background: #22C55E;
  color: #052e16;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 18px rgba(34, 197, 94, 0.38);
}
.hero-actions .btn-whatsapp:hover {
  transform: translateY(-2px);
  background: #16A34A;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.48);
}
.hero-actions .btn-ghost {
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.hero-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 0;
  margin: 0 auto 2.5rem;
}
.hero-badge {
  display: inline-flex; align-items: baseline; gap: 0.35rem;
  padding: 0 1rem;
  font-size: 0.84rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.hero-badge + .hero-badge { border-left: 1px solid rgba(255, 255, 255, 0.28); }
.hero-badge strong {
  font-family: var(--font-display);
  font-size: 0.9rem; font-weight: 700;
  color: #FFFFFF;
}
@media (max-width: 639px) {
  .hero-badges { flex-direction: column; align-items: center; }
  .hero-badge + .hero-badge { border-left: 0; }
}

/* --------------------------------------------------------- Servicios */
.services-section { padding: 3.5rem 0; background: var(--color-bg-alt); }
@media (min-width: 768px) { .services-section { padding: 5.5rem 0; } }


/* --------------------------------------------------------- Evidencia / Operaciones Reales */
.live-ops-section-wrapper {
  padding: 5rem 0 5.5rem;
  background: #040f1a;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

/* Velos de fundido sutil en bordes superior e inferior */
.live-ops-section-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(2, 9, 18, 0.95) 0%, rgba(2, 9, 18, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

.live-ops-section-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(0deg, rgba(2, 9, 18, 0.95) 0%, rgba(2, 9, 18, 0) 100%);
  pointer-events: none;
  z-index: 2;
}

.water-waves-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: block;
  opacity: 0.96;
}

.live-ops-container {
  position: relative;
  z-index: 3;
}
.rounded-img { border-radius: var(--radius-lg); width: 100%; box-shadow: 0 18px 38px rgba(0,0,0,0.08); }


.b2b-logos { display: flex; gap: 1rem; margin: 1.5rem 0; flex-wrap: wrap; align-items: center; }
.b2b-logo {
  background: #fff; border-radius: 10px;
  padding: 0.6rem 1.1rem; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
}
.b2b-logo picture { display: inline-flex; align-items: center; justify-content: center; }
.b2b-logo img { max-height: 34px; width: auto; }


/* --------------------------------------------------------- Proceso con Ondas Invertidas en Blanco */
.process-section {
  position: relative;
  padding: 4.5rem 0 5rem;
  background-color: #FFFFFF;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='rgba(2,132,199,0.08)' stroke-width='1.5' d='M0,96L48,112C96,128,192,160,288,181.3C384,203,480,213,576,197.3C672,181,768,139,864,133.3C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128'/%3E%3Cpath fill='none' stroke='rgba(2,132,199,0.06)' stroke-width='1.5' d='M0,192L48,176C96,160,192,128,288,128C384,128,480,160,576,176C672,192,768,192,864,176C960,160,1056,128,1152,122.7C1248,117,1344,139,1392,149.3L1440,160'/%3E%3Cpath fill='none' stroke='rgba(2,132,199,0.05)' stroke-width='1.5' d='M0,64L48,80C96,96,192,128,288,149.3C384,171,480,181,576,165.3C672,149,768,107,864,101.3C960,96,1056,128,1152,133.3C1248,139,1344,117,1392,106.7L1440,96'/%3E%3C/svg%3E");
  background-size: cover, cover, 100% 320px;
  overflow: hidden;
}
@media (min-width: 768px) { .process-section { padding: 6rem 0 6.5rem; } }

.process-grid {
  display: grid; gap: 1.35rem; margin-top: 2.75rem;
  grid-template-columns: 1fr;
  counter-reset: step;
  position: relative;
  z-index: 2;
}
@media (min-width: 640px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }

.process-step {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 1.85rem 1.6rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 16px 35px rgba(2, 132, 199, 0.08);
}
.process-step::before {
  display: none !important;
}

/* Cápsula contenedora de cada micro-animación interactiva */
.process-anim-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.08);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s, border-color 0.25s;
}

.process-step:hover .process-anim-box {
  transform: translateY(-2px) scale(1.06);
  background: rgba(2, 132, 199, 0.14);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.18);
}

.anim-svg {
  display: block;
  overflow: visible;
}

/* 1. Nos escribes: mano humana ilustrada tipeando en smartphone + burbuja de chat + onda de tap */
.typing-hand {
  transform-origin: 28px 38px;
  animation: tapHumanHand 1.6s ease-in-out infinite;
}

@keyframes tapHumanHand {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  30% { transform: translate(-1.5px, -2px) rotate(-3deg); }
  55% { transform: translate(0.5px, 0.5px) rotate(1deg); }
}

.tap-ripple {
  animation: tapRipplePulse 1.6s ease-out infinite;
  transform-origin: 22px 21px;
}

@keyframes tapRipplePulse {
  0%, 20% { transform: scale(0.5); opacity: 0; }
  45% { transform: scale(1.15); opacity: 0.9; }
  75%, 100% { transform: scale(1.75); opacity: 0; }
}

/* Micro-animación de WhatsApp: burbuja y 3 puntos de tipeo */
.chat-bubble {
  transform-origin: 15px 23px;
  animation: bubbleSubtlePop 2.8s ease-in-out infinite;
}
@keyframes bubbleSubtlePop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.chat-dot {
  animation: typingDotPulse 1.4s ease-in-out infinite;
}
.chat-dot.dot-1 { animation-delay: 0s; }
.chat-dot.dot-2 { animation-delay: 0.2s; }
.chat-dot.dot-3 { animation-delay: 0.4s; }

@keyframes typingDotPulse {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-1.2px); }
}


/* 2. Cotizamos: hoja de cálculo + valor $ cerrado */
.quote-sheet {
  animation: floatSheet 3s ease-in-out infinite;
  transform-origin: center;
}
@keyframes floatSheet {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}

.calc-line {
  animation: drawCalcLine 2.2s ease-in-out infinite;
}
.calc-line.line-1 { animation-delay: 0s; }
.calc-line.line-2 { animation-delay: 0.3s; }
.calc-line.line-3 { animation-delay: 0.6s; }

@keyframes drawCalcLine {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.price-seal {
  animation: sealPulse 2.2s ease-in-out infinite;
  transform-origin: 29px 33px;
}
@keyframes sealPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* 3. Agendamos: calendario + checkmark de turno */
.cal-body {
  animation: calSlightTilt 3.6s ease-in-out infinite;
  transform-origin: 24px 10px;
}
@keyframes calSlightTilt {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-1.5deg); }
  75% { transform: rotate(1.5deg); }
}

.cal-day-circle {
  animation: checkPulse 2s ease-in-out infinite;
  transform-origin: 24px 31px;
}
@keyframes checkPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.cal-checkmark {
  stroke-dasharray: 12;
  stroke-dashoffset: 0;
  animation: checkDraw 2.4s ease-in-out infinite;
}
@keyframes checkDraw {
  0%, 20% { stroke-dashoffset: 12; opacity: 0; }
  50%, 90% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.85; }
}

/* 4. Lavamos: máquina aspiradora/extractora industrial con vaivén sobre alfombra */
.vacuum-wand {
  animation: vacSweep 2.4s ease-in-out infinite;
  transform-origin: 31px 21px;
}

@keyframes vacSweep {
  0%, 100% { transform: translateX(-3px) rotate(-3deg); }
  50% { transform: translateX(3px) rotate(2deg); }
}

.vac-hose {
  animation: hoseFlex 2.4s ease-in-out infinite;
  transform-origin: 17px 24px;
}

@keyframes hoseFlex {
  0%, 100% { transform: scaleY(0.96); }
  50% { transform: scaleY(1.04); }
}

.water-drop {
  animation: dropSpray 1.8s ease-in-out infinite;
}
.water-drop.drop-1 { animation-delay: 0.2s; }
.water-drop.drop-2 { animation-delay: 0.7s; }

@keyframes dropSpray {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50% { opacity: 0.9; transform: translateY(-1.5px); }
}

.carpet-clean {
  animation: cleanTrail 2.4s ease-in-out infinite;
}
@keyframes cleanTrail {
  0%, 100% { stroke-opacity: 0.4; }
  50% { stroke-opacity: 1; }
}

.sparkle {
  animation: sparkleTwinkle 2.2s ease-in-out infinite;
}
.sparkle.sp-1 {
  transform-origin: 38px 17px;
  animation-delay: 0.3s;
}
.sparkle.sp-2 {
  transform-origin: 27px 14px;
  animation-delay: 1.2s;
}

@keyframes sparkleTwinkle {
  0%, 100% { transform: scale(0.5) rotate(0deg); opacity: 0.15; }
  50% { transform: scale(1.15) rotate(45deg); opacity: 1; }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .typing-hand,
  .tap-ripple,
  .chat-dot,
  .chat-bubble,
  .quote-sheet,
  .calc-line,
  .price-seal,
  .cal-body,
  .cal-day-circle,
  .cal-checkmark,
  .vacuum-wand,
  .vac-hose,
  .water-drop,
  .carpet-clean,
  .sparkle {
    animation: none !important;
  }
}

.process-step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: #0F172A; font-family: var(--font-display); font-weight: 800; }
.process-step p { color: #64748B; font-size: var(--text-sm); line-height: 1.55; }

.process-cta-wrap {
  margin-top: 3.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}
.process-cta-wrap .btn {
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.32);
}
.process-cta-microcopy {
  display: block;
  max-width: 62ch;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #64748B;
  text-align: center;
  text-wrap: balance;
}
.process-cta-microcopy svg {
  display: inline-block;
  margin-right: 0.35rem;
  vertical-align: -2px;
}

/* --------------------------------------------------------- FAQ */
.faq-section { padding: 3.5rem 0; background: var(--color-white); }
@media (min-width: 768px) { .faq-section { padding: 5.5rem 0; } }
.faq-container { max-width: 820px; }

.faq-item {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.15rem 1.25rem;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-base); color: var(--color-secondary);
  min-height: 56px;
}
@media (min-width: 768px) { .faq-question { font-size: var(--text-lg); padding: 1.35rem 1.75rem; } }
.faq-question .chevron { flex-shrink: 0; transition: transform 0.3s var(--ease); color: var(--color-primary); }
.faq-question[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.32s var(--ease), visibility 0s linear 0.32s;
}
.faq-answer[aria-hidden="true"] { visibility: hidden; }
.faq-answer[aria-hidden="false"] { transition: max-height 0.32s var(--ease), visibility 0s; }
.faq-answer p {
  color: var(--color-text-light);
  padding: 0 1.25rem 1.25rem;
  text-wrap: pretty;
}
@media (min-width: 768px) { .faq-answer p { padding: 0 1.75rem 1.5rem; } }

/* Sin JS las respuestas quedan visibles */
.no-js .faq-answer { max-height: none; }

/* --------------------------------------------------------- Formulario */
.form-section { padding: 3.5rem 0 4.5rem; background: var(--color-bg-alt); }
@media (min-width: 768px) { .form-section { padding: 5.5rem 0 7rem; } }

.form-card {
  max-width: 620px; margin: 0 auto;
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 50px rgba(15,23,42,0.08);
}
@media (min-width: 560px) { .form-card { padding: 2.25rem; } }
@media (min-width: 768px) { .form-card { padding: 3rem; } }

.form-header { text-align: center; margin-bottom: 2rem; }
.form-header h2 { font-size: var(--text-3xl); margin-bottom: 0.75rem; }
.form-header p { color: var(--color-text-light); }

.lead-form { display: flex; flex-direction: column; gap: 1.15rem; }
.input-group { display: flex; flex-direction: column; gap: 0.4rem; }
.input-group label { font-weight: 600; font-size: var(--text-sm); color: var(--color-secondary); }

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  min-height: 48px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px; /* evita el zoom automatico de iOS */
  background: var(--color-bg-alt);
  color: var(--color-text);
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.input-group input::placeholder,
.input-group textarea::placeholder {
  color: #64748B;
  opacity: 1;
}
.input-group textarea { resize: vertical; min-height: 92px; }

.input-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(2,132,199,0.13);
}

.input-group input[aria-invalid="true"],
.input-group select[aria-invalid="true"] { border-color: #DC2626; }
.field-error { font-size: var(--text-sm); color: #DC2626; min-height: 0; }

.form-tip { text-align: center; font-size: var(--text-sm); color: var(--color-text-light); }

/* Componente de Captura y Adjunto de Fotos en Formulario */
.photo-upload-group {
  margin-top: 0.25rem;
}
.photo-upload-dropzone {
  position: relative;
  border: 2px dashed #CBD5E1;
  border-radius: var(--radius-md);
  background: #F8FAFC;
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
  overflow: hidden;
}
.photo-upload-dropzone:hover,
.photo-upload-dropzone.is-dragover {
  border-color: var(--color-primary);
  background: #F0F9FF;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.08);
}
.photo-upload-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
}
.photo-upload-idle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  pointer-events: none;
}
.photo-upload-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #E0F2FE;
  color: #026FA6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.photo-upload-text {
  text-align: left;
}
.photo-upload-text strong {
  display: block;
  font-size: 0.94rem;
  color: #0F172A;
  font-family: var(--font-display);
}
.photo-upload-text span {
  display: block;
  font-size: 0.78rem;
  color: #64748B;
  margin-top: 0.15rem;
}
.photo-upload-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}
.photo-upload-preview img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #CBD5E1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.photo-preview-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.photo-preview-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0F172A;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.photo-remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FECACA;
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  position: relative;
  transition: background-color 0.2s;
}
.photo-remove-btn:hover {
  background: #FCA5A5;
}

/* Galería Interactiva Multi-foto */
.photo-upload-gallery {
  text-align: left;
  z-index: 6;
  position: relative;
}
.photo-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0F172A;
}
.photo-add-more-link {
  background: #E0F2FE;
  color: #026FA6;
  border: 1px solid #BAE6FD;
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.photo-add-more-link:hover {
  background: #BAE6FD;
  color: #0369A1;
}
.photo-gallery-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.photo-thumb-card {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 8px;
  border: 1.5px solid #CBD5E1;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  background: #fff;
}
.photo-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-thumb-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  color: #FFFFFF;
  border: none;
  font-size: 13px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, transform 0.15s;
  z-index: 10;
}
.photo-thumb-remove:hover {
  background: #DC2626;
  transform: scale(1.15);
}
.photo-upload-dropzone.has-files {
  background: #F8FAFC;
  border-color: #94A3B8;
  padding: 0.85rem 0.85rem;
}
.photo-upload-dropzone.has-files .photo-upload-input {
  pointer-events: none;
}

.photo-upload-hint {
  font-size: 0.76rem;
  color: #64748B;
  margin-top: 0.4rem;
}

/* Feedback de Envío Exitoso y Estado de Carga */
.lead-form-success {
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  animation: fadeInSuccess 0.35s ease-out;
  margin-top: 0.5rem;
}
.lead-form-success .success-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.75rem;
  background: #22C55E;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}
.lead-form-success h3 {
  font-size: 1.25rem;
  color: #14532D;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
}
.lead-form-success p {
  font-size: 0.92rem;
  color: #166534;
  line-height: 1.5;
  margin: 0 auto 1.15rem;
  max-width: 460px;
}
.lead-form-success .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

.btn.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.85;
}
.btn.is-loading > * {
  visibility: hidden;
}
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  top: 50%;
  left: 50%;
  margin-top: -11px;
  margin-left: -11px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFF;
  border-radius: 50%;
  animation: spinBtn 0.7s linear infinite;
  visibility: visible;
}
@keyframes spinBtn {
  to { transform: rotate(360deg); }
}
@keyframes fadeInSuccess {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.lead-form-error-banner {
  background: #FEF2F2;
  border: 1.5px solid #FECACA;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: #991B1B;
  line-height: 1.5;
  animation: fadeInSuccess 0.25s ease-out;
}
.lead-form-error-banner a {
  color: #DC2626;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lead-form-error-banner a:hover {
  color: #991B1B;
}

/* --------------------------------------------------------- Reseñas / Prueba Social */
.reviews-section {
  padding: 5rem 0;
  background-color: var(--color-bg-alt);
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
figure.review-card {
  margin: 0;
}
.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
.review-stars {
  color: #F59E0B;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}
blockquote.review-text {
  margin: 0 0 1.25rem 0;
  font-style: normal;
}
.review-text {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.review-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
  padding-top: 0.85rem;
}
.review-author strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-secondary);
}
.review-author span {
  font-size: 0.8rem;
  color: var(--color-text-light);
}
.review-service-badge {
  display: inline-block;
  background: rgba(2, 132, 199, 0.08);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-top: 0.35rem;
  width: fit-content;
}

/* --------------------------------------------------------- Boton flotante */
.floating-whatsapp {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-whatsapp); color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  z-index: 90;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.floating-whatsapp:hover { transform: scale(1.08); }
.floating-whatsapp svg { width: 30px; height: 30px; }
body.menu-open .floating-whatsapp,
body.form-focused .floating-whatsapp { opacity: 0; pointer-events: none; transform: translateY(10px); }

/* --------------------------------------------------------- Footer Premium con Ondas de Agua */
.site-footer {
  position: relative;
  background-color: #040F1A;
  color: var(--color-white);
  padding: 0 0 2rem;
  overflow: hidden;
  border-top: 1px solid rgba(56, 189, 248, 0.2);
}

.footer-waves-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: block;
  opacity: 0.95;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(ellipse at 50% 35%, rgba(4, 15, 26, 0.2) 0%, rgba(4, 15, 26, 0.6) 100%);
}

.footer-content-relative {
  position: relative;
  z-index: 3;
}

/* Pre-Footer Trust Bar (4 Pilares) */
.footer-trust-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 2.75rem 0 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 3.25rem;
}
@media (min-width: 640px) {
  .footer-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .footer-trust-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.trust-strip-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: transform 0.25s, border-color 0.25s, background-color 0.25s;
}
.trust-strip-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.trust-strip-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.trust-strip-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 750;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.trust-strip-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
  margin: 0;
}

/* Grid Principal de 4 Columnas */
.footer-grid-pro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) {
  .footer-grid-pro {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .footer-grid-pro {
    grid-template-columns: 1.35fr 0.95fr 1fr 1.2fr;
    gap: 2.75rem;
  }
}

.logo-footer img { filter: brightness(0) invert(1); height: 44px; width: auto; }
.logo-footer .brand-main { color: var(--color-white); }
.logo-footer .brand-accent { color: #38BDF8; }

.footer-desc { color: rgba(255,255,255,0.72); max-width: 44ch; font-size: 0.88rem; line-height: 1.6; }

.footer-guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.18);
  color: #A7F3D0;
  font-size: 0.78rem;
  font-weight: 550;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  margin: 1rem 0 1.25rem;
  letter-spacing: 0.01em;
}
.footer-guarantee-pill::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #10B981;
  opacity: 0.85;
}

.footer-socials { display: flex; gap: 0.75rem; }
.social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.06); color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.25s, transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.social-icon:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38BDF8;
  color: #38BDF8;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(56, 189, 248, 0.25);
}
.social-icon.whatsapp:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: #25D366;
  color: #25D366;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.25);
}

.footer-heading-pro {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 750;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.footer-heading-pro::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-links-pro {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links-pro li { margin: 0; }
.footer-links-pro a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  padding: 0.2rem 0;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}
.footer-links-pro a::before {
  content: "\203A";
  color: #38BDF8;
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 700;
  opacity: 0.85;
  transition: transform 0.2s, color 0.2s;
}
.footer-links-pro a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}
.footer-links-pro a:hover::before {
  color: #7DD3FC;
  transform: translateX(2px);
}

/* Columna de Atención y Contacto */
.footer-contact-lead {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin-bottom: 1.15rem;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.45;
}
.footer-contact-list a {
  color: #38BDF8;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-list a:hover {
  color: #7DD3FC;
  text-decoration: underline;
}

.btn-whatsapp-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #25D366;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.btn-whatsapp-footer:hover {
  background: #25D366;
  border-color: #25D366;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp-footer svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Sub-Footer */
.footer-bottom-pro {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer-coverage-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}
.coverage-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-legal-text {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin: 0;
}


.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.45rem; font-size: var(--text-sm); color: rgba(255,255,255,0.75);
  margin-bottom: 1rem; list-style: none;
}
.breadcrumbs a { color: #BAE6FD; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { opacity: 0.5; }

.tsg-section { padding: 3.5rem 0; background: var(--color-white); }
.tsg-section.alt { background: var(--color-bg-alt); }
@media (min-width: 768px) { .tsg-section { padding: 5rem 0; } }

.tsg-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.25rem; align-items: center;
}
@media (min-width: 992px) { .tsg-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; } }

.tsg-prose h2 { font-size: var(--text-2xl); margin-bottom: 1rem; }
.tsg-prose h3 { font-size: var(--text-xl); margin: 1.5rem 0 0.65rem; }
.tsg-prose p { margin-bottom: 1rem; color: var(--color-text); }
.tsg-prose ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin: 1.25rem 0; }
.tsg-prose li {
  position: relative; padding-left: 1.65rem; line-height: 1.55;
}
.tsg-prose li::before {
  content: '\2713'; position: absolute; left: 0; top: 0;
  color: var(--color-accent); font-weight: 800;
}

.price-box {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1.5rem;
  box-shadow: 0 12px 32px rgba(15,23,42,0.06);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) { .price-box { padding: 2rem; } }
.price-box h3 { font-size: var(--text-xl); margin-bottom: 0.5rem; }
.price-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: var(--text-base); }
.price-table th, .price-table td {
  padding: 0.85rem 0.65rem; text-align: left; border-bottom: 1px solid var(--color-border);
}
.price-table th { font-family: var(--font-display); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-light); }
.price-table td:last-child { font-family: var(--font-display); font-weight: 700; color: var(--color-primary); text-align: center; white-space: nowrap; }
.price-table th:last-child { text-align: center; }

.comparison-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem;
}
@media (min-width: 768px) { .comparison-grid { grid-template-columns: 1fr 1fr; } }

.comp-card {
  background: var(--color-white); border: 1px solid #E2E8F0;
  border-radius: 12px; padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.comp-card.winner {
  border: 2px solid #0284C7;
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.12);
  position: relative;
}
.comp-card.loser {
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
}
.comp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  margin-bottom: 1.15rem;
  line-height: 1.2;
}
.comp-card.winner .comp-badge {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.1);
}
.comp-card.winner .comp-badge::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  flex-shrink: 0;
}
.comp-card.loser .comp-badge {
  background: #F8FAFC;
  color: #475569;
  border: 1px solid #CBD5E1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.comp-card.loser .comp-badge::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #F59E0B;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
  flex-shrink: 0;
}

.cluster-section { padding: 3.5rem 0; background: var(--color-bg-alt); border-top: 1px solid var(--color-border); }
.cluster-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem;
}
@media (min-width: 640px) { .cluster-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .cluster-grid { grid-template-columns: repeat(3, 1fr); } }

.cluster-card {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1.5rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s;
}
.cluster-card:hover {
  transform: translateY(-4px); border-color: var(--color-primary);
  box-shadow: 0 12px 28px rgba(15,23,42,0.08);
}
.cluster-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; color: var(--color-secondary); }
.cluster-card p { font-size: var(--text-sm); color: var(--color-text-light); }
.cluster-link {
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm);
  color: var(--color-primary); display: inline-flex; align-items: center; gap: 0.35rem;
}

.guide-callout {
  border-radius: 10px; padding: 1.5rem; margin: 1.75rem 0;
  border: 1px solid #BAE6FD;
  border-left: 5px solid var(--color-primary); background: #F0F9FF;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.guide-callout.warning {
  border: 1px solid #FDE68A;
  border-left: 5px solid #F59E0B;
  background: #FFFDF5;
}
.guide-callout.success {
  border: 1px solid #BBF7D0;
  border-left: 5px solid #10B981;
  background: #F0FDF4;
}
.guide-callout h2, .guide-callout h3, .guide-callout h4, .guide-callout .guide-callout-title {
  font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--color-secondary); font-family: var(--font-display); font-weight: 700;
}
.guide-callout p:last-child { margin-bottom: 0; }

.guide-cta-banner {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #1E293B 100%);
  color: var(--color-white); border-radius: var(--radius-lg);
  padding: 2rem 1.5rem; margin: 2.5rem 0;
  display: flex; flex-direction: column; gap: 1.25rem;
  box-shadow: 0 18px 40px rgba(15,23,42,0.16);
}
@media (min-width: 768px) {
  .guide-cta-banner {
    flex-direction: row; align-items: center; justify-content: space-between;
    padding: 2.25rem 2.5rem;
  }
}
.guide-cta-banner h3, .guide-cta-banner .guide-cta-title {
  color: var(--color-white); font-size: var(--text-xl); margin-bottom: 0.4rem; font-family: var(--font-display); font-weight: 700; display: block;
}
.guide-cta-banner p { color: rgba(255,255,255,0.82); font-size: var(--text-sm); margin: 0; max-width: 52ch; }
.guide-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; flex-shrink: 0; }

/* --------------------------------------------------------- Hero SILO Quick-Access Bar */
.hero-silo-bar {
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}
.hero-silo-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #BAE6FD;
  font-weight: 700;
  margin-bottom: 1.15rem;
}
.hero-silo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  max-width: 1040px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .hero-silo-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.hero-silo-card {
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 0.95rem 1.25rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s var(--ease), background-color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.hero-silo-card:hover {
  transform: translateY(-4px);
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38), 0 0 20px rgba(56, 189, 248, 0.2);
}
.hero-silo-card strong {
  font-family: var(--font-display);
  font-size: 0.94rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-silo-card span {
  font-size: 0.76rem;
  color: #BAE6FD;
  font-weight: 600;
}


/* --------------------------------------------------------- Active Nav State & Multi-page Subheaders */
.nav-link.is-active {
  color: #0369A1;
  font-weight: 700;
  background: #E0F2FE;
}
.mobile-link.is-active {
  color: var(--color-primary);
  background: #E0F2FE;
  border-radius: var(--radius-full);
}

/* Header Dropdown Menus (Servicios & Guías) */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.52rem 0.85rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}
.nav-dropdown-trigger svg {
  transition: transform 0.2s var(--ease);
  opacity: 0.75;
}
.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown.is-open .nav-dropdown-trigger svg {
  transform: rotate(180deg);
  opacity: 1;
}
.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger,
.nav-dropdown.is-open .nav-dropdown-trigger {
  color: var(--color-primary);
  background: #F1F5F9;
}
.nav-dropdown-trigger.is-active {
  color: #0369A1;
  font-weight: 700;
  background: #E0F2FE;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 360px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(15, 23, 42, 0.06);
  padding: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 200;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.65rem;
  left: 0;
  right: 0;
  height: 0.65rem;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.dropdown-item:hover, .dropdown-item.is-active {
  background: #F0F9FF;
}
.dropdown-item-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}
.dropdown-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(56, 189, 248, 0.18) 100%);
  border: 1px solid rgba(2, 132, 199, 0.16);
  color: #026FA6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.dropdown-item:hover .dropdown-icon-box,
.dropdown-item.is-active .dropdown-icon-box {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  border-color: #026FA6;
  color: #FFFFFF;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.32);
}
.dropdown-item-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 0.12rem;
  white-space: nowrap;
  transition: color 0.18s;
}
.dropdown-item:hover .dropdown-item-info strong,
.dropdown-item.is-active .dropdown-item-info strong {
  color: var(--color-primary);
}
.dropdown-item-info span {
  display: block;
  font-size: 0.77rem;
  color: var(--color-text-light);
  line-height: 1.3;
}
.dropdown-badge {
  background: #E0F2FE;
  color: #026FA6;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.24rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(2, 132, 199, 0.14);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.dropdown-item:hover .dropdown-badge {
  background: #BAE6FD;
  color: #0369A1;
}

.mobile-menu {
  overflow-y: auto;
  justify-content: flex-start;
  padding-top: 1.5rem;
  gap: 0.75rem;
}
.mobile-section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  font-weight: 700;
  margin-top: 0.5rem;
}
.mobile-menu .mobile-link {
  font-size: 1.15rem;
  padding: 0.35rem 0.85rem;
}


/* Dedicated Editorial Header & 2-Column Layout for /guias/ KIT Pages */
.guide-hero {
  padding: calc(var(--header-h) + 2.5rem) 0 2.75rem;
  background: #F8FAFC;
  border-bottom: 1px solid var(--color-border);
}
.guide-hero .breadcrumbs {
  justify-content: flex-start; color: var(--color-text-light);
}
.guide-hero .breadcrumbs a { color: var(--color-primary); font-weight: 600; }
.guide-hero .breadcrumbs .sep { color: #94A3B8; }
.guide-hero .breadcrumbs li[aria-current="page"] { color: var(--color-secondary); font-weight: 600; }
.guide-meta-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem;
  margin-bottom: 1rem; font-size: var(--text-sm); color: var(--color-text-light);
}

.guide-hero-title {
  font-size: clamp(1.75rem, 1.3rem + 2.2vw, 2.75rem);
  color: var(--color-secondary); max-width: 28ch; margin-bottom: 1rem;
}
.guide-hero-desc {
  font-size: var(--text-lg); color: var(--color-text-light); max-width: 68ch;
}
.guide-layout {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start;
}
@media (min-width: 992px) {
  .guide-layout { grid-template-columns: 1fr 340px; gap: 3.5rem; }
}
.guide-sidebar {
  display: flex; flex-direction: column; gap: 1.5rem;
}
@media (min-width: 992px) {
  .guide-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.sidebar-card {
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1.5rem;
}
.sidebar-card h3, .sidebar-card .sidebar-heading {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--color-secondary); margin: 0 0 0.5rem; display: block;
}
.sidebar-card.dark {
  background: var(--color-secondary); color: var(--color-white); border-color: #1E293B;
}
.sidebar-card.dark h3, .sidebar-card.dark .sidebar-heading { color: var(--color-white); }
.sidebar-card.dark p { color: rgba(255,255,255,0.8); font-size: var(--text-sm); margin: 0.5rem 0 1.25rem; }
.sidebar-nav-list {
  list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin-top: 0.85rem;
}
.sidebar-nav-list a {
  display: block; padding: 0.6rem 0.85rem; border-radius: 10px;
  background: var(--color-white); border: 1px solid var(--color-border);
  font-size: var(--text-sm); font-weight: 600; color: var(--color-secondary);
  transition: border-color 0.25s, color 0.25s;
}
.sidebar-nav-list a:hover, .sidebar-nav-list a.is-current {
  border-color: var(--color-primary); color: var(--color-primary); background: #F0F9FF;
}


/* ==========================================================================
   Nuevos Componentes de Rediseño: Operación Real & Campaña Navideña 2026
   ========================================================================== */

.hero-checklist-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Sección de Operación Real (Showcase Split con Gradiente Difuminado) */
.real-op-section {
  padding: 4.5rem 0 3.5rem;
  background: #FFFFFF;
}
.real-op-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}
.real-op-showcase {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.real-op-split-card {
  display: grid;
  grid-template-columns: 1fr;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.real-op-split-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: #CBD5E1;
}
@media (min-width: 920px) {
  .real-op-split-card.img-left {
    grid-template-columns: 1.28fr 1fr;
  }
  .real-op-split-card.img-right {
    grid-template-columns: 1fr 1.28fr;
  }
}
.real-op-split-visual {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: #F1F5F9;
}
.real-op-split-visual picture {
  width: 100%;
  height: 100%;
  display: block;
}
.real-op-split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.real-op-split-card:hover .real-op-split-visual img {
  transform: scale(1.03);
}

.real-op-split-content {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #0F172A;
  background: #FFFFFF;
}
@media (min-width: 920px) {
  .real-op-split-content {
    padding: 3rem 2.75rem;
  }
}
.real-op-meta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.4rem;
  color: #0F172A;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 0.28rem 0.75rem;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.real-op-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.4rem;
  color: #166534;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  padding: 0.28rem 0.75rem;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
  box-shadow: 0 1px 2px rgba(22, 101, 52, 0.04);
}
.real-op-title {
  font-size: clamp(1.4rem, 1.25rem + 1vw, 2rem);
  font-family: var(--font-display);
  color: #0F172A;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}
.real-op-lead {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.35rem;
  font-weight: 500;
}
.real-op-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}
.real-op-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: var(--text-sm);
  color: #334155;
  line-height: 1.5;
}
.real-op-points li svg {
  color: #026FA6;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.real-op-points li strong {
  color: #0F172A;
}


/* Pricing Cards Modernas */
.pricing-section-wrap {
  padding: 4.5rem 0;
  background: var(--color-bg-alt);
}
.pricing-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) {
  .pricing-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .pricing-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.pricing-card-modern {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
}
.pricing-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  border-color: #BAE6FD;
}
.pricing-card-modern.is-popular {
  border: 2px solid var(--color-primary);
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.12);
}
.pricing-card-tag {
  position: absolute;
  top: -12px;
  right: 1.25rem;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.85rem;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}
.pricing-card-header {
  margin-bottom: 1.25rem;
}
.pricing-card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}
.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin: 0.75rem 0;
}
.pricing-card-price .currency {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-secondary);
}
.pricing-card-price .amount {
  font-size: 2.15rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--color-secondary);
  line-height: 1;
}
.pricing-card-price .period {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  font-weight: 500;
}
.pricing-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.pricing-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  border-top: 1px dashed var(--color-border);
  padding-top: 1.15rem;
  flex: 1;
}
.pricing-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.pricing-card-features li svg {
  color: #10B981;
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-card-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: #F1F5F9;
  color: var(--color-secondary);
  font-weight: 700;
  font-size: var(--text-sm);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.25s var(--ease);
}
.pricing-card-btn:hover {
  background: var(--color-primary);
  color: #FFFFFF;
}
.pricing-card-modern.is-popular .pricing-card-btn {
  background: var(--color-primary);
  color: #FFFFFF;
}
.pricing-card-modern.is-popular .pricing-card-btn:hover {
  background: var(--color-primary-dark);
}

/* Tarjeta Combo Navideño de Alto Valor (Estilo Festivo Verde + Filo Dorado + Nieve) */
@keyframes snowfall-combo {
  0% { transform: translateY(-15px) translateX(0) rotate(0deg); opacity: 0; }
  15% { opacity: 0.8; }
  85% { opacity: 0.8; }
  100% { transform: translateY(420px) translateX(18px) rotate(360deg); opacity: 0; }
}

.holiday-combo-card {
  margin-top: 2.75rem;
  scroll-margin-top: 100px;
  background: 
    radial-gradient(850px circle at 85% 15%, rgba(217, 119, 6, 0.28), transparent 55%),
    radial-gradient(650px circle at 15% 90%, rgba(16, 185, 129, 0.2), transparent 50%),
    radial-gradient(500px circle at 50% 50%, rgba(6, 78, 59, 0.35), transparent 70%),
    linear-gradient(145deg, #021a10 0%, #062b1b 35%, #0a3824 70%, #02150c 100%);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  color: #FFFFFF;
  box-shadow: 
    0 25px 60px -15px rgba(2, 26, 16, 0.65),
    0 0 35px rgba(245, 158, 11, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 0 30px rgba(5, 46, 22, 0.5);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.holiday-combo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(253, 230, 138, 0.9), rgba(245, 158, 11, 0.95), rgba(253, 230, 138, 0.9), transparent);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.85);
  z-index: 2;
}
@media (min-width: 860px) {
  .holiday-combo-card {
    grid-template-columns: 1.35fr 1fr;
    padding: 3.25rem 2.85rem;
  }
}

/* Nieve cayendo sobre toda la tarjeta del combo */
.holiday-combo-card .snowflake {
  position: absolute;
  color: #FFFFFF;
  pointer-events: none;
  animation: snowfall-combo 6.5s linear infinite;
  z-index: 1;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}
.holiday-combo-card .s1 { top: 0; left: 8%; animation-delay: 0s; font-size: 0.95rem; }
.holiday-combo-card .s2 { top: 0; left: 28%; animation-delay: 2.2s; font-size: 1.25rem; }
.holiday-combo-card .s3 { top: 0; left: 52%; animation-delay: 4.1s; font-size: 0.8rem; }
.holiday-combo-card .s4 { top: 0; left: 74%; animation-delay: 1.4s; font-size: 1.1rem; }
.holiday-combo-card .s5 { top: 0; left: 92%; animation-delay: 3.3s; font-size: 0.9rem; }

.holiday-combo-content {
  position: relative;
  z-index: 2;
}

/* Etiqueta Navideña: Cristal dorado con reflejos */
.holiday-combo-badge-wrap {
  margin-bottom: 1.4rem;
  display: block;
}
.holiday-combo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(254, 243, 199, 0.12);
  color: #FEF3C7;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid rgba(251, 191, 36, 0.65);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.holiday-combo-content h3 {
  font-size: clamp(1.45rem, 1.25rem + 1vw, 2.15rem);
  color: #FFFFFF;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  line-height: 1.22;
}
.holiday-combo-content h3 span {
  background: linear-gradient(135deg, #FFFFFF 15%, #FDE68A 60%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(245, 158, 11, 0.35));
}
.holiday-combo-content p {
  color: #E2E8F0;
  font-size: var(--text-base);
  line-height: 1.6;
  margin-bottom: 1.35rem;
}
.holiday-combo-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
}
.holiday-combo-perks li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--text-sm);
  color: #F1F5F9;
  line-height: 1.45;
}
.holiday-combo-perks li svg {
  color: #FDE047;
  filter: drop-shadow(0 0 6px rgba(253, 224, 71, 0.45));
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.holiday-combo-perks li strong {
  color: #FFFFFF;
}

.holiday-combo-action-box {
  background: linear-gradient(180deg, rgba(3, 33, 21, 0.78) 0%, rgba(2, 20, 13, 0.9) 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.45);
  border-radius: 20px;
  padding: 2.2rem 1.85rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 
    0 16px 36px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 25px rgba(245, 158, 11, 0.18);
  position: relative;
  z-index: 2;
}
.holiday-combo-price-old {
  font-size: var(--text-sm);
  color: #94A3B8;
  text-decoration: line-through;
}
.holiday-combo-price-new {
  font-size: 2.85rem;
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1;
  background: linear-gradient(135deg, #FFFFFF 0%, #FEF08A 45%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(250, 204, 21, 0.4));
}
.holiday-combo-price-sub {
  font-size: 0.8rem;
  color: #CBD5E1;
}
.btn-holiday-cta {
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: var(--text-base);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-holiday-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(22, 163, 74, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

/* Geo Trust Matrix */
.geo-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.geo-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-secondary);
}
.geo-trust-pill svg {
  color: var(--color-primary);
}


/* ==========================================================================
   Banner Navideño: Blur Translúcido, Destello de Letras, Nieve Aumentada & Gorrito
   ========================================================================== */

@keyframes snowfall {
  0% { transform: translateY(-12px) translateX(0); opacity: 0; }
  15% { opacity: 0.95; }
  85% { opacity: 0.9; }
  100% { transform: translateY(60px) translateX(18px); opacity: 0; }
}

@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.4), 0 0 16px rgba(255, 255, 255, 0.25);
  }
  50% {
    text-shadow: 0 0 16px rgba(251, 191, 36, 0.85), 0 0 26px rgba(255, 255, 255, 0.6), 0 0 6px #FFFFFF;
  }
}


.holiday-alert-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 980px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.75rem 1.45rem;
  margin: 0 auto 2.25rem;
}

.holiday-alert-bar::before {
  content: '';
  position: absolute;
  inset: -12px -30px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.58) 0%, rgba(15, 23, 42, 0.25) 55%, rgba(15, 23, 42, 0) 85%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  -webkit-mask-image: radial-gradient(ellipse at center, black 45%, transparent 92%);
  mask-image: radial-gradient(ellipse at center, black 45%, transparent 92%);
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 640px) {
  .holiday-alert-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.85rem 1rem;
    gap: 0.75rem;
    max-width: 100%;
    box-sizing: border-box;
  }
  .holiday-alert-bar::before {
    inset: 0;
    border-radius: var(--radius-md);
  }
}

.holiday-alert-left {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  z-index: 2;
  position: relative;
}

@media (max-width: 640px) {
  .holiday-alert-left {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.holiday-alert-bar .snowflake {
  position: absolute;
  color: #FFFFFF;
  pointer-events: none;
  animation: snowfall 3.5s linear infinite;
  z-index: 1;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.holiday-alert-bar .s1  { top: 2px; left: 5%;  font-size: 0.85rem; animation-delay: 0s;   animation-duration: 3.2s; }
.holiday-alert-bar .s2  { top: 4px; left: 15%; font-size: 0.65rem; animation-delay: 1.4s; animation-duration: 4.0s; }
.holiday-alert-bar .s3  { top: 1px; left: 26%; font-size: 0.9rem;  animation-delay: 2.1s; animation-duration: 3.4s; }
.holiday-alert-bar .s4  { top: 5px; left: 37%; font-size: 0.7rem;  animation-delay: 0.6s; animation-duration: 3.8s; }
.holiday-alert-bar .s5  { top: 3px; left: 49%; font-size: 0.8rem;  animation-delay: 2.7s; animation-duration: 3.1s; }
.holiday-alert-bar .s6  { top: 2px; left: 59%; font-size: 0.6rem;  animation-delay: 1.1s; animation-duration: 4.2s; }
.holiday-alert-bar .s7  { top: 4px; left: 71%; font-size: 0.85rem; animation-delay: 1.9s; animation-duration: 3.6s; }
.holiday-alert-bar .s8  { top: 1px; left: 81%; font-size: 0.7rem;  animation-delay: 0.3s; animation-duration: 3.3s; }
.holiday-alert-bar .s9  { top: 3px; left: 91%; font-size: 0.95rem; animation-delay: 2.4s; animation-duration: 3.7s; }
.holiday-alert-bar .s10 { top: 2px; left: 97%; font-size: 0.65rem; animation-delay: 1.7s; animation-duration: 3.9s; }

/* Titular Navideño Flotante: Sin bordes, solo texto con fuente festiva y gorro en el 6 */
.holiday-alert-brand {
  font-family: 'Mountains of Christmas', cursive;
  font-size: 1.65rem;
  font-weight: 700;
  color: #FDE68A;
  letter-spacing: 0.03em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  z-index: 2;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.75), 0 0 24px rgba(245, 158, 11, 0.4), 0 2px 4px rgba(0, 0, 0, 0.6);
  user-select: none;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}


.holiday-six-wrap {
  position: relative;
  display: inline-block;
}

.santa-hat-icon-six {
  position: absolute;
  top: -12px;
  right: -5px;
  width: 20px;
  height: 20px;
  pointer-events: none;
  transform-origin: 25% 85%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  animation: santaHatSixSway 2.8s ease-in-out infinite;
  z-index: 3;
}

@keyframes santaHatSixSway {
  0%, 100% {
    transform: rotate(5deg) scale(1);
  }
  50% {
    transform: rotate(-10deg) scale(1.06) translateY(-1px);
  }
}


.holiday-alert-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.88rem;
  line-height: 1.4;
  z-index: 2;
  position: relative;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.holiday-alert-text strong {
  color: #FDE68A;
  font-weight: 700;
  animation: textGlow 3.2s ease-in-out infinite;
}

.holiday-btn-subtle {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  color: #0F172A;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.5rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
  border: none;
}

.holiday-btn-subtle:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
  color: #0F172A;
}


/* ==========================================================================
   MÓDULO B2B EDITORIAL SUTIL (FONDO BLANCO, FOTOS RECTAS SIN BORDES)
   ========================================================================== */
.b2b-editorial-section {
  position: relative;
  width: 100%;
  background: #FFFFFF;
  color: #0F172A;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.b2b-editorial-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media (min-width: 960px) {
  .b2b-editorial-wrap {
    flex-direction: row;
    align-items: stretch;
    min-height: 520px;
  }
}

/* Columna de contenido sutil y compacto */
.b2b-editorial-content {
  flex: 1 1 52%;
  padding: 3.5rem 2rem 3.5rem max(1.5rem, calc((100vw - 1200px) / 2 + 1.25rem));
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
@media (min-width: 960px) {
  .b2b-editorial-content {
    padding-right: 3.5rem;
  }
}

.b2b-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #026FA6;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 0.6rem;
}

.b2b-tagline--on-dark { color: #38BDF8; }
.b2b-tagline::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #026FA6;
}

.b2b-editorial-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.25rem + 0.95vw, 1.95rem);
  font-weight: 800;
  line-height: 1.22;
  color: #0F172A;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.b2b-editorial-title span {
  color: #026FA6;
}

.b2b-editorial-lead {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
  max-width: 56ch;
}
.b2b-editorial-lead strong {
  color: #0F172A;
}

/* Botones B2B Sutiles con Efecto Blur (Glassmorphism) */
.b2b-btn-blur {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.55rem;
  border-radius: 999px !important;
  -webkit-border-radius: 999px !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

/* Botón WhatsApp: blur verde suave sobre blanco */
.b2b-btn-blur-green {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #15803D !important;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.10);
  border-radius: 999px !important;
}
.b2b-btn-blur-green:hover {
  background: rgba(34, 197, 94, 0.22);
  border-color: rgba(34, 197, 94, 0.55);
  color: #166534 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.18);
}
.b2b-btn-blur-green svg {
  fill: currentColor;
}

/* Botón Corporativo: blur transparente medio grisáceo */
.b2b-btn-blur-gray {
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.14);
  color: #1E293B !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  border-radius: 999px !important;
}
.b2b-btn-blur-gray:hover {
  background: rgba(15, 23, 42, 0.10);
  border-color: rgba(15, 23, 42, 0.25);
  color: #0F172A !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

/* Fila de cobertura integrada en el módulo B2B fondo claro */
.b2b-coverage-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  margin-top: 0.5rem;
  border-top: 1px solid #E2E8F0;
}
.b2b-coverage-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
}
.b2b-coverage-label svg {
  stroke: #0284C7;
}
.b2b-coverage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.b2b-cov-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-full);
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1E293B;
  white-space: nowrap;
}
.b2b-cov-pill.is-resort {
  background: #E0F2FE;
  border-color: #BAE6FD;
  color: #0369A1;
}
.b2b-cov-pill svg {
  color: #026FA6;
  flex-shrink: 0;
}

/* Columna de carrusel B2B cambiante automático a borde completo recto con efecto desvanecedor */
.b2b-editorial-visual {
  flex: 1 1 48%;
  position: relative;
  min-height: 400px;
  overflow: hidden;
}

/* División llana y limpia entre la foto y el espacio blanco */
.b2b-editorial-visual::after {
  display: none !important;
}

@media (min-width: 960px) {
  .b2b-editorial-visual {
    min-height: 100%;
    display: flex;
  }
  .b2b-editorial-visual .crossfade-carousel.b2b-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
    border-radius: 0 !important;
    box-shadow: none;
    border: none;
    background: #FFFFFF;
  }
  .b2b-editorial-visual .crossfade-slide picture,
  .b2b-editorial-visual .crossfade-slide img {
    border-radius: 0 !important;
  }
}

.b2b-editorial-visual .crossfade-slide picture,
.b2b-editorial-visual .crossfade-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0 !important;
}

/* Optimización para Mobile de la sección B2B con desvanecimiento sutil superior e inferior */
@media (max-width: 959px) {
  .b2b-editorial-visual {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }
  .b2b-editorial-visual::after {
    display: none !important;
  }
  .b2b-editorial-visual .crossfade-carousel.b2b-carousel {
    position: relative;
    width: 100%;
    height: 380px;
    min-height: 380px;
    aspect-ratio: auto;
    border-radius: 0 !important;
    box-shadow: none;
    border: none;
    overflow: hidden;
    background: #FFFFFF;
  }
  .b2b-editorial-visual .crossfade-slide picture,
  .b2b-editorial-visual .crossfade-slide img {
    border-radius: 0 !important;
  }
}

@media (max-width: 480px) {
  .b2b-editorial-content {
    padding: 2.25rem 1.25rem 1.75rem;
  }
  .b2b-btn-blur {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Forzar EXCLUSIVAMENTE a las fotos y carrusel B2B bordes completamente rectos sin redondez */
.b2b-editorial-visual,
.b2b-editorial-visual .crossfade-carousel,
.b2b-editorial-visual .crossfade-carousel.b2b-carousel,
.b2b-editorial-visual .crossfade-slides,
.b2b-editorial-visual .crossfade-slide,
.b2b-editorial-visual .crossfade-slide picture,
.b2b-editorial-visual .crossfade-slide img {
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
}


/* ==========================================================================
   GALERÍA 1X1 DE PERSONAL DE CONFIANZA Y CUADRILLAS EN ACCIÓN
   ========================================================================== */
.live-ops-section {
  position: relative;
  margin-top: 2rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.live-ops-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.live-ops-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.85rem);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0.75rem 0 0.5rem;
}

.live-ops-desc {
  color: #94A3B8;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.live-ops-gallery {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.live-ops-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  min-height: 420px;
  max-height: 520px;
  border-radius: 20px;
  overflow: hidden;
  background: #0B1120;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.live-ops-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.02);
  z-index: 1;
}

.live-ops-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.live-ops-slide picture,
.live-ops-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Reencuadres quirúrgicos: corta cielo/techo irrelevante para enfocar personal y muebles */
.live-ops-slide[data-index="0"] img { object-position: center 84%; }
.live-ops-slide[data-index="1"] img { object-position: center 70%; }
.live-ops-slide[data-index="2"] img { object-position: center 65%; }
.live-ops-slide[data-index="3"] img { object-position: center 55%; }
.live-ops-slide[data-index="4"] img { object-position: center 28%; }
.live-ops-slide[data-index="5"] img { object-position: center 48%; }
.live-ops-slide[data-index="6"] img { object-position: center 55%; }
.live-ops-slide[data-index="7"] img { object-position: center 50%; }
.live-ops-slide[data-index="8"] img { object-position: center 60%; }

/* Capa inferior con difuminado fotográfico natural en degradé suave (sin bordes rígidos ni blur pesado que tape detalles) */
.live-ops-frosted-card {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: linear-gradient(to top, 
    rgba(11, 17, 32, 0.94) 0%, 
    rgba(11, 17, 32, 0.72) 45%, 
    rgba(11, 17, 32, 0.22) 80%, 
    transparent 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0 0 20px 20px;
  padding: 2.5rem 1.35rem 0.85rem;
  color: #FFFFFF;
  box-shadow: none;
  z-index: 5;
  text-align: left;
  pointer-events: none;
}

/* Etiqueta sutil con emoji nativo sobre fondo translúcido nítido */
.live-ops-meta-subtle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.live-ops-slide-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0 0 0.15rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.live-ops-slide-desc {
  font-size: 0.8rem;
  color: #CBD5E1;
  line-height: 1.35;
  margin: 0;
  max-width: 68ch;
}

/* Flechas de navegación de la galería */
.gallery-nav-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  transition: background-color 0.2s, transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.gallery-nav-btn.prev {
  left: 1rem;
}

.gallery-nav-btn.next {
  right: 1rem;
}

.gallery-nav-btn:hover {
  background: rgba(2, 132, 199, 0.85);
  border-color: #38BDF8;
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.4);
}

/* Puntos de navegación (Dots) */
.live-ops-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 1.25rem;
}

.live-ops-dot::after { content: ""; position: absolute; inset: -8px; }
.live-ops-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s, border-color 0.3s;
  padding: 0;
}

.live-ops-dot.is-active {
  width: 28px;
  background: #38BDF8;
  border-color: #38BDF8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.6);
}

@media (max-width: 680px) {
  .live-ops-stage {
    aspect-ratio: auto;
    min-height: 400px;
  }
  .live-ops-frosted-card {
    padding: 1.25rem 1.15rem 1rem;
  }
  .gallery-nav-btn {
    width: 36px;
    height: 36px;
    top: 40%;
  }
  .gallery-nav-btn.prev {
    left: 0.5rem;
  }
  .gallery-nav-btn.next {
    right: 0.5rem;
  }
}

/* ==========================================================================
   B2B ENTERPRISE STYLES (DIVISIÓN CORPORATIVA & HOTELES)
   ========================================================================== */
.b2b-page {
  background-color: #0B1120;
  color: #F8FAFC;
}

.b2b-hero-panoramic {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 1.5rem) 1.25rem 3.5rem;
  background-color: #0B1120;
  overflow: hidden;
}

.b2b-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.b2b-hero-bg picture,
.b2b-hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.b2b-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

.b2b-hero-title {
  font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.18;
  text-wrap: balance;
  color: #FFFFFF;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 4px 36px rgba(11, 17, 32, 0.95);
}

.b2b-hero-desc {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.12rem);
  color: rgba(241, 245, 249, 0.92);
  line-height: 1.55;
  max-width: 62ch;
  margin: 0 auto 1.5rem;
  text-wrap: pretty;
}

.b2b-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
  max-width: 640px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.b2b-hero-stat-card { text-align: center; }

.b2b-hero-stat-num {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
}

.b2b-hero-stat-label {
  display: block;
  font-size: 0.78rem;
  line-height: 1.25;
  color: #CBD5E1;
}

/* Marcas Corporativas Integradas Naturalmente sobre la Portada */
.b2b-hero-trust {
  margin-top: 2rem;
  padding-top: 1.5rem;
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.b2b-hero-trust-title {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(226, 232, 240, 0.6);
  text-align: center;
  margin-bottom: 1rem;
}

.b2b-hero-trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem 3rem;
  flex-wrap: wrap;
}

.b2b-hero-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.b2b-hero-trust-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.b2b-hero-trust-item img {
  max-height: 32px;
  width: auto;
  object-fit: contain;
}

/* 4 Verticales Comerciales B2B */
.b2b-verticals-section {
  padding: 5.5rem 0;
  background: #0F172A;
}

.b2b-verticals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .b2b-verticals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.b2b-vertical-card {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.b2b-vertical-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.b2b-vertical-card.v-office { border-top: 4px solid #38BDF8; }
.b2b-vertical-card.v-hotel { border-top: 4px solid #34D399; }
.b2b-vertical-card.v-clinic { border-top: 4px solid #A78BFA; }
.b2b-vertical-card.v-resto { border-top: 4px solid #F59E0B; }

.b2b-vertical-card.v-office:hover { border-color: rgba(56, 189, 248, 0.5); }
.b2b-vertical-card.v-hotel:hover { border-color: rgba(52, 211, 153, 0.5); }
.b2b-vertical-card.v-clinic:hover { border-color: rgba(167, 139, 250, 0.5); }
.b2b-vertical-card.v-resto:hover { border-color: rgba(245, 158, 11, 0.5); }

.b2b-v-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.b2b-v-icon.v-office { background: rgba(56, 189, 248, 0.15); color: #38BDF8; }
.b2b-v-icon.v-hotel { background: rgba(52, 211, 153, 0.15); color: #34D399; }
.b2b-v-icon.v-clinic { background: rgba(167, 139, 250, 0.15); color: #A78BFA; }
.b2b-v-icon.v-resto { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }

.b2b-v-title {
  font-size: 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.b2b-v-lead {
  font-size: 0.95rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.b2b-v-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  color: #CBD5E1;
  font-size: 0.92rem;
  line-height: 1.7;
}

.b2b-v-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}

.b2b-v-list li::before {
  content: '\2022';
  position: absolute;
  left: 0.25rem;
  color: #38BDF8;
  font-weight: 900;
  font-size: 1.2rem;
}

.b2b-vertical-card.v-hotel .b2b-v-list li::before { color: #34D399; }
.b2b-vertical-card.v-clinic .b2b-v-list li::before { color: #A78BFA; }
.b2b-vertical-card.v-resto .b2b-v-list li::before { color: #F59E0B; }

/* Matriz Comparativa B2B */
.b2b-compare-section {
  padding: 5.5rem 0;
  background: #0F172A;
}

.b2b-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 3rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.b2b-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: left;
  background: #1E293B;
  color: #E2E8F0;
}

.b2b-table th,
.b2b-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.b2b-table thead th {
  background: #0F172A;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.b2b-table thead th.col-highlight {
  background: #026FA6;
  color: #FFFFFF;
  font-size: 1.05rem;
}

.b2b-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.b2b-table tbody td.col-highlight {
  background: rgba(2, 132, 199, 0.08);
  font-weight: 600;
  color: #38BDF8;
}

.b2b-table tbody tr:last-child td {
  border-bottom: none;
}

/* Paquete de Cumplimiento para Compras y RRHH */
.b2b-compliance-section {
  padding: 5rem 0;
  background: #080D1A;
}

.b2b-compliance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 640px) {
  .b2b-compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .b2b-compliance-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.b2b-compliance-card {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.b2b-compliance-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.b2b-compliance-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.b2b-compliance-desc {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.5;
  margin: 0;
}

/* Protocolo de Contratación en 4 Pasos */
.b2b-steps-section {
  padding: 5.5rem 0;
  background: #0F172A;
}

.b2b-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .b2b-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .b2b-steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.b2b-step-card {
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  position: relative;
}

.b2b-step-num {
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--font-display);
  color: #38BDF8;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.b2b-step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.b2b-step-desc {
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.55;
  margin: 0;
}

/* Cobertura GEO B2B */
.b2b-coverage-section {
  padding: 5rem 0;
  background: #0B1120;
}

.b2b-coverage-wrapper {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border: 2px solid #0284C7;
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 16px 40px rgba(2, 132, 199, 0.15);
}

.b2b-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin: 2rem 0;
}

.b2b-pill {
  background: #0F172A;
  border: 1px solid #334155;
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #F8FAFC;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.b2b-pill.coast {
  border-color: #F59E0B;
  color: #FDE68A;
}

/* Formulario B2B */
.b2b-form-section {
  padding: 5.5rem 0;
  background: #080D1A;
}

.b2b-form-card {
  max-width: 720px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 3rem 2.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}
@media (max-width: 640px) {
  .b2b-form-card {
    padding: 2rem 1.25rem;
  }
}

.b2b-form-card label {
  color: #0F172A;
  font-weight: 650;
  font-size: 0.9rem;
}

.b2b-form-card input,
.b2b-form-card select,
.b2b-form-card textarea {
  background: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  font-size: 16px;
  border-radius: 8px;
}

.b2b-form-card input::placeholder,
.b2b-form-card textarea::placeholder {
  color: #64748B !important;
  opacity: 1;
}

.b2b-form-card input:focus,
.b2b-form-card select:focus,
.b2b-form-card textarea:focus {
  background: #FFFFFF !important;
  border-color: #026FA6 !important;
  color: #0F172A !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

.b2b-form-card select option {
  background-color: #FFFFFF !important;
  color: #0F172A !important;
}

.b2b-form-card input:-webkit-autofill,
.b2b-form-card input:-webkit-autofill:hover, 
.b2b-form-card input:-webkit-autofill:focus {
  -webkit-text-fill-color: #0F172A !important;
  -webkit-box-shadow: 0 0 0px 1000px #F8FAFC inset !important;
  box-shadow: 0 0 0px 1000px #F8FAFC inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* ==========================================================================
   CARRUSEL CON EFECTO DESVANECEDOR (CROSSFADE CAROUSEL LIMPIO & AMPLIADO)
   ========================================================================== */
.crossfade-carousel-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .tsg-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

.crossfade-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  background: #0F172A;
  box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.08);
  user-select: none;
  -webkit-user-select: none;
}

@media (min-width: 992px) {
  .crossfade-carousel {
    min-height: 520px;
    height: 520px;
    border-radius: 28px;
  }
}

.crossfade-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.crossfade-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

.crossfade-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.crossfade-slide picture,
.crossfade-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* ==========================================================================
   Sección Servicios: Tarjetas Editoriales Full-Bleed 3 Columnas
   ========================================================================== */

.services-editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2.75rem;
}

@media (min-width: 640px) {
  .services-editorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-editorial-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.service-editorial-card {
  position: relative;
  height: 560px;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.service-editorial-card:hover {
  transform: translateY(-8px);
  border: none;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.22);
}

.service-editorial-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.service-editorial-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(11, 17, 32, 0) 0%, 
    rgba(11, 17, 32, 0.03) 25%, 
    rgba(11, 17, 32, 0.48) 50%, 
    rgba(11, 17, 32, 0.88) 100%);
  pointer-events: none;
  z-index: 1;
}

.service-editorial-bg picture,
.service-editorial-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-editorial-card:hover .service-editorial-bg img {
  transform: scale(1.05);
}

.service-editorial-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, 
    rgba(11, 17, 32, 0) 0%, 
    rgba(11, 17, 32, 0.35) 30%, 
    rgba(11, 17, 32, 0.72) 70%, 
    rgba(11, 17, 32, 0.92) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
  z-index: 2;
}

.service-editorial-body {
  position: relative;
  z-index: 3;
  padding: 2.25rem 1.85rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-editorial-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.72rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.service-editorial-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.24;
  margin: 0 0 0.65rem;
  text-shadow: none;
}

.service-editorial-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  margin: 0 0 1.25rem;
  text-shadow: none;
}

/* Nivelación: con 2 o 3 columnas, título y descripción reservan el mismo alto en todas las tarjetas */
@media (min-width: 640px) {
  .service-editorial-title { min-height: calc(2 * 1.24em); }
  .service-editorial-desc { min-height: calc(4 * 1.5em); }
}

.service-editorial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  flex-wrap: wrap;
}

.service-editorial-price {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #38BDF8;
}

.service-editorial-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.service-editorial-card:hover .service-editorial-btn {
  background: #026FA6;
  border-color: #38BDF8;
  color: #FFFFFF;
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

@media (max-width: 640px) {
  .service-editorial-card {
    height: 480px;
  }
  .service-editorial-body {
    padding: 1.5rem 1.35rem 1.35rem;
  }
  .service-editorial-title {
    font-size: 1.35rem;
  }
}

/* =========================================================
   Micro-Cotizador Web Instantáneo Interactivo (Sleek & Mobile First)
   ========================================================= */
.calculator-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 1.25rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
}
@media (min-width: 640px) {
  .calculator-card {
    padding: 1.85rem 2rem;
    border-radius: 20px;
  }
}

.calculator-header {
  text-align: center;
  margin-bottom: 1.35rem;
}
.calculator-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-secondary);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}
.calc-title-highlight {
  color: #026FA6;
}
@media (min-width: 640px) {
  .calculator-header h2 {
    font-size: 1.65rem;
  }
}
.calculator-header p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.4;
}

/* Tabs estilo Segmented Control (iOS / Linear UI) */
.calculator-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  background: #F1F5F9;
  padding: 0.35rem;
  border-radius: 12px;
  margin-bottom: 1.35rem;
  border: 1px solid #E2E8F0;
}
@media (min-width: 640px) {
  .calculator-tabs {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
  }
}

.calc-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.6rem 0.5rem;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.84rem;
  color: #475569;
  transition: all 0.18s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.calc-tab-btn:hover {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.6);
}
.calc-tab-btn:active {
  transform: scale(0.98);
}
.calc-tab-btn.active {
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}
.calc-tab-btn .tab-icon {
  font-size: 1.05rem;
  line-height: 1;
}
.calc-tab-btn .tab-label {
  text-align: center;
  line-height: 1.15;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .calc-tab-btn {
    min-height: 42px;
    padding: 0.5rem 0.25rem;
    font-size: 0.78rem;
    gap: 0.25rem;
  }
  .calc-tab-btn .tab-icon {
    font-size: 0.95rem;
  }
}

/* Opciones de Selección */
.calculator-options-container {
  margin-bottom: 1.25rem;
}
.calc-options-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.65rem;
}
.calc-options-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}
@media (min-width: 560px) {
  .calc-options-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

.calc-option-card {
  display: block;
  position: relative;
  cursor: pointer;
  margin: 0;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  background: var(--color-white);
  padding: 0.85rem 0.95rem;
  transition: all 0.18s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.calc-option-card:active {
  transform: scale(0.985);
}
.calc-option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  pointer-events: none;
}
.calc-option-card:hover {
  border-color: #CBD5E1;
  background: #F8FAFC;
}
.calc-option-card.is-selected {
  border-color: var(--color-primary);
  background: #F0F9FF;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.12);
}

.option-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.2rem;
}
.option-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.popular-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  background: #DCFCE7;
  color: #166534;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  line-height: 1.2;
}
.option-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary);
}
.option-desc {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.35;
}

/* Fila de Cantidad y Agregar a Lista (Compacta & Elegante) */
.calculator-quantity-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: #F8FAFC;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  margin-bottom: 1.35rem;
}
@media (min-width: 520px) {
  .calculator-quantity-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.quantity-label {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-secondary);
}
.quantity-action-group {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
}
@media (min-width: 520px) {
  .quantity-action-group {
    width: auto;
  }
}

.quantity-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--color-white);
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  padding: 0.2rem 0.35rem;
}
.stepper-btn {
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  border: none;
  background: #F1F5F9;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.stepper-btn:hover {
  background: #E2E8F0;
  color: var(--color-primary);
}
.stepper-btn:active {
  background: #CBD5E1;
  transform: scale(0.96);
}
.quantity-stepper input[type="number"] {
  width: 36px;
  height: 38px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  border: none;
  background: transparent;
  color: var(--color-secondary);
  -moz-appearance: textfield;
  padding: 0;
}
.quantity-stepper input[type="number"]::-webkit-outer-spin-button,
.quantity-stepper input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-add-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  background: var(--color-primary);
  color: var(--color-white);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.65rem 1.15rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  flex: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 520px) {
  .btn-add-item {
    flex: initial;
  }
}
.btn-add-item:hover {
  background: #0369A1;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}
.btn-add-item:active {
  transform: scale(0.98);
}
.btn-add-item.btn-added {
  background: #10B981;
  color: var(--color-white);
}

/* ==========================================================================
   Carrito Multi-Ítem (Diseño Recibo Compacto & Moderno)
   ========================================================================== */
#calculator-cart-container,
.calculator-cart-container {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  margin-bottom: 1.35rem;
}
@media (min-width: 640px) {
  #calculator-cart-container,
  .calculator-cart-container {
    padding: 1.1rem 1.25rem;
  }
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #E2E8F0;
}
.cart-header-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cart-header-icon {
  font-size: 1.05rem;
}
.cart-header-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-secondary);
  margin: 0;
}
.cart-count-badge {
  display: inline-block;
  background: #E2E8F0;
  color: #334155;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  line-height: 1.2;
}
.cart-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: transparent;
  border: none;
  color: #64748B;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 5px;
  transition: all 0.15s ease;
}
.cart-clear-btn:hover {
  color: #EF4444;
  background: #FEE2E2;
}

#cart-empty-state,
.cart-empty-state {
  text-align: center;
  padding: 1.25rem 0.75rem;
}
.cart-empty-icon {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
  opacity: 0.7;
}
.cart-empty-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 0.2rem;
}
.cart-empty-desc {
  font-size: 0.78rem;
  color: var(--color-text-light);
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.35;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cart-item-row {
  background: var(--color-white);
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.15s ease;
}
.cart-item-row:hover {
  border-color: #CBD5E1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}

.cart-item-header-info {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
  flex: 1;
}

.cart-badge,
.cart-cat-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.cart-item-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}
.cart-item-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1.3;
  word-break: break-word;
}

.cart-item-del-btn {
  min-width: 38px;
  min-height: 38px;
  border-radius: 8px;
  border: none;
  background: #F1F5F9;
  color: #94A3B8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  font-size: 1.1rem;
  line-height: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.cart-item-del-btn:hover,
.cart-item-del-btn:active {
  background: #FEE2E2;
  color: #EF4444;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px dashed #E2E8F0;
  width: 100%;
}

.cart-item-stepper-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.cart-stepper-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: #64748B;
}

.cart-item-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 0.15rem 0.25rem;
}
.cart-btn-qty,
.cart-stepper-btn {
  min-width: 38px;
  min-height: 38px;
  border-radius: 6px;
  border: none;
  background: var(--color-white);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.12s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.cart-btn-qty:hover,
.cart-stepper-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.cart-btn-qty:active,
.cart-stepper-btn:active {
  background: #E2E8F0;
  transform: scale(0.96);
}
.cart-stepper-val {
  min-width: 24px;
  text-align: center;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--color-secondary);
}

.cart-item-subtotal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 75px;
}
.cart-subtotal-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #64748B;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.cart-subtotal-val {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-primary);
}

@keyframes cartHighlightPulse {
  0% {
    background-color: #DCFCE7;
    border-color: #10B981;
  }
  100% {
    background-color: var(--color-white);
    border-color: #E2E8F0;
  }
}
.cart-item-row.is-highlighted {
  animation: cartHighlightPulse 0.65s ease-out;
}

/* Caja de Resultado & CTA (Moderna, Compacta & Elegante) */
.calculator-result-box {
  background: #0F172A;
  color: var(--color-white);
  border-radius: 14px;
  padding: 1.15rem 1rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}
@media (min-width: 640px) {
  .calculator-result-box {
    padding: 1.35rem 1.65rem;
  }
}

.result-header {
  text-align: center;
  margin-bottom: 0.95rem;
}
.result-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.result-price {
  font-size: 1.85rem;
  font-weight: 900;
  color: #38BDF8;
  letter-spacing: -0.02em;
  display: block;
  margin: 0.15rem 0;
  line-height: 1.15;
}
@media (min-width: 640px) {
  .result-price {
    font-size: 2.15rem;
  }
}
.result-subtext {
  font-size: 0.78rem;
  color: #94A3B8;
}

.result-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.15rem;
}
.perk-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #CBD5E1;
}
.perk-icon {
  font-size: 0.95rem;
}

.calc-cta-wrapper {
  text-align: center;
}
.calc-cta-btn {
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  background: #25D366;
  color: #05331a;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.28);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  width: 100%;
  max-width: 440px;
}
.calc-cta-btn:hover {
  background: #20BD5A;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.38);
}
.calc-cta-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  filter: grayscale(0.7);
  cursor: not-allowed;
}
.calc-cta-sub {
  text-align: center;
  font-size: 0.75rem;
  color: #94A3B8;
  margin-top: 0.45rem;
  margin-bottom: 0;
}

/* Formulario Secundario Integrado (Sutil) */
.calculator-form-toggle-wrapper {
  margin-top: 1.5rem;
}
.form-toggle-divider {
  text-align: center;
  margin-bottom: 1.15rem;
  position: relative;
}
.form-toggle-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #E2E8F0;
  z-index: 1;
}
.form-toggle-divider span {
  position: relative;
  z-index: 2;
  background: var(--color-white);
  padding: 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748B;
}

.calc-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 560px) {
  .calc-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* --------------------------------------------------------- Iconos duotono del menú */
.duo-icon .ic-fill { fill: #BAE6FD; stroke: #0F3A5C; stroke-width: 1.7; }
.duo-icon .ic-soft { fill: #E0F2FE; stroke: #0F3A5C; stroke-width: 1.7; }
.duo-icon .ic-line { stroke: #0F3A5C; stroke-width: 1.7; }
.duo-icon .ic-dot { fill: #0F3A5C; }
.duo-icon .ic-acc { fill: #10B981; }
.duo-icon .ic-accfill { fill: #10B981; stroke: #0F3A5C; stroke-width: 1.5; }
.duo-icon .ic-check { stroke: #FFFFFF; stroke-width: 1.9; }
.dropdown-item .dropdown-icon-box { transition: transform 0.2s var(--ease), background-color 0.2s; }
.dropdown-item:hover .dropdown-icon-box { transform: translateY(-1px) scale(1.04); }

/* --------------------------------------------------------- Fila de cantidad del cotizador */
.calculator-quantity-row { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.quantity-label { flex: 1 1 200px; min-width: 0; }
.quantity-action-group { flex: 1 1 auto; flex-wrap: wrap; justify-content: flex-end; width: auto; min-width: 0; max-width: 100%; }
.btn-add-item { flex: 1 1 210px; min-width: 0; max-width: 100%; white-space: normal; text-wrap: balance; line-height: 1.25; }

/* --------------------------------------------------------- Cotizador en móvil: menos cajas, más aire */
@media (max-width: 560px) {
  #calculator-card .quantity-action-group { justify-content: center; }
  #calculator-card .btn-add-item { flex-basis: 100%; }
  #calculator-card .btn-add-item svg { display: none; }

  #calculator-card #calculator-cart-container { padding: 0; background: transparent; border: none; box-shadow: none; }
  #calculator-card .cart-header { flex-wrap: wrap; gap: 0.35rem 0.75rem; padding-bottom: 0.75rem; }
  #calculator-card .cart-header-left { flex: 1 1 100%; gap: 0.45rem; }
  #calculator-card .cart-header-icon { display: none; }
  #calculator-card .cart-header-title { font-size: 1rem; white-space: nowrap; }
  #calculator-card .cart-count-badge { white-space: nowrap; margin-left: auto; }
  #calculator-card .cart-clear-btn { margin-left: auto; white-space: nowrap; padding: 0; min-height: 32px; }

  #calculator-card .cart-item-row { padding: 0.95rem 1rem; gap: 0.8rem; box-shadow: none; }
  #calculator-card .cart-item-top { align-items: flex-start; gap: 0.5rem; }
  #calculator-card .cart-item-header-info { display: block; min-width: 0; }
  #calculator-card .cart-cat-badge { display: inline-block; margin-bottom: 0.35rem; font-size: 0.68rem; padding: 0.12rem 0.45rem; }
  #calculator-card .cart-item-name { font-size: 0.95rem; line-height: 1.3; }
  #calculator-card .cart-item-del-btn { background: transparent; flex: 0 0 auto; }
  #calculator-card .cart-item-bottom { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 0; border-top: none; }
  #calculator-card .cart-stepper-label { display: none; }
  #calculator-card .cart-item-subtotal { flex: 0 0 auto; text-align: right; }
  #calculator-card .cart-subtotal-val { display: block; white-space: nowrap; font-size: 1rem; }
}

/* --------------------------------------------------------- Páginas por sector */
.zone-hero { padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem); background: linear-gradient(135deg, #0F172A 0%, #0F3A5C 100%); color: #FFFFFF; }
.zone-hero h1 { max-width: 22ch; margin: 0.9rem 0; color: #FFFFFF; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.12; }
.zone-lead { max-width: 62ch; color: #E2E8F0; font-size: 1.08rem; line-height: 1.6; }
.zone-crumbs { color: #CBD5E1; font-size: 0.85rem; }
.zone-crumbs a { color: #BAE6FD; }
.zone-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.zone-section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.zone-section--soft { background: #F8FAFC; }
.zone-section h2 { margin-bottom: 0.9rem; font-size: clamp(1.45rem, 3vw, 1.9rem); }
.zone-section h3 { margin: 1.4rem 0 0.5rem; font-size: 1.05rem; }
.zone-section p { margin-bottom: 0.9rem; color: var(--color-text); line-height: 1.65; }
.zone-section p a, .zone-note a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.zone-grid { display: grid; gap: 2rem; align-items: start; }
.zone-grid img { width: 100%; height: auto; border-radius: 14px; }
.zone-narrow { max-width: 820px; }
.zone-data { padding: 0.9rem 1rem; border-left: 4px solid #10B981; border-radius: 0.5rem; background: #F0FDF4; }
.zone-data span { color: #475569; font-size: 0.85rem; }
.zone-list { display: grid; gap: 0.4rem 1.5rem; padding-left: 1.1rem; list-style: disc; }
.zone-note { margin-top: 1.5rem; }
a.coverage-chip { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 900px) { .zone-grid { grid-template-columns: 1.1fr 0.9fr; } }

/* --------------------------------------------------------- Tarjetas de zona */
.zone-section .section-desc { margin-left: auto; margin-right: auto; }
.zone-chips { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.zone-chip { display: flex; align-items: center; gap: 0.75rem; height: 100%; padding: 0.9rem 1rem; border: 1px solid #E2E8F0; border-radius: 14px; background: #FFFFFF; color: var(--color-secondary); text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.zone-chip:hover { border-color: #7DD3FC; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07); transform: translateY(-2px); }
.zone-chip-pin { flex: 0 0 auto; box-sizing: content-box; padding: 0.5rem; border-radius: 10px; background: #E0F2FE; color: var(--color-primary); }
.zone-chip strong { display: block; font-family: var(--font-display); font-size: 1rem; line-height: 1.25; }
.zone-chip small { display: block; margin-top: 0.1rem; color: #475569; font-size: 0.8rem; line-height: 1.3; }
@media (min-width: 560px) { .zone-chips { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .zone-chips { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------- Tarifas de autos */
.auto-table th small, .auto-table td small { display: block; margin-top: 0.15rem; color: #64748B; font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.auto-table th, .auto-table td { text-align: center; vertical-align: middle; }
.auto-table th[scope="row"], .auto-table thead th:first-child { text-align: left; }
.auto-table td:last-child { font-family: inherit; font-weight: inherit; }
.auto-table td { color: var(--color-secondary); font-weight: 600; }
.auto-table td strong { color: var(--color-primary); font-size: 1.05rem; }
.auto-table .auto-best { background: #F0F9FF; }
.auto-detail { padding: 0.8rem 0; border-bottom: 1px solid #E2E8F0; }
.auto-detail summary { cursor: pointer; color: var(--color-secondary); font-family: var(--font-display); font-weight: 700; }
.auto-detail p { margin: 0.5rem 0 0; color: var(--color-text); font-size: 0.92rem; line-height: 1.6; }
@media (max-width: 760px) {
  .auto-table thead { display: none; }
  .auto-table, .auto-table tbody, .auto-table tr, .auto-table th, .auto-table td { display: block; width: 100%; }
  .auto-table tr { margin-bottom: 1rem; padding: 0.4rem 0.9rem; border: 1px solid #E2E8F0; border-radius: 12px; }
  .auto-table th[scope="row"] { padding: 0.6rem 0; border-bottom: 1px solid #E2E8F0; font-size: 1rem; }
  .auto-table td { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid #F1F5F9; text-align: right; }
  .auto-table td:last-child { border-bottom: none; }
  .auto-table td::before { content: attr(data-label); color: #475569; font-size: 0.85rem; font-weight: 500; text-align: left; }
  .auto-table td small { display: inline; margin-left: 0.35rem; }
  .auto-table .auto-best { margin: 0 -0.9rem; padding-left: 0.9rem; padding-right: 0.9rem; width: auto; }
}
.auto-pricing { max-width: 1000px; margin: 0 auto; }
.auto-price { white-space: nowrap; }
.auto-table td small { white-space: nowrap; }
@media (max-width: 760px) {
  .auto-table td small { display: block; margin: 0; text-align: right; }
  .auto-price { display: block; flex: 0 0 auto; text-align: right; }
}
@media (min-width: 761px) { .auto-table td:last-child { text-align: center; } }

/* Combos de hogar */
.combo-section { padding: 4rem 0; background: var(--color-bg-alt); }
.pricing-section-wrap .combo-wrap { margin-top: 3rem; }
.combo-head { text-align: center; margin-bottom: 2rem; }
.combo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.combo-card { position: relative; display: flex; flex-direction: column; padding: 1.5rem; background: var(--color-white); border: 1px solid #E2E8F0; border-radius: 16px; }
.combo-card.is-featured { padding: calc(1.5rem - 1px); border: 2px solid var(--color-primary); }
.combo-badge { position: absolute; top: 0; left: 1.5rem; transform: translateY(-50%); padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--color-primary); color: var(--color-white); font-size: 0.75rem; font-weight: 700; }
.combo-card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; color: var(--color-secondary); }
.combo-desc { flex: 1; margin: 0 0 1rem; font-size: var(--text-sm); color: var(--color-text); }
.combo-price { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; line-height: 1; color: var(--color-primary); }
.combo-compare { margin: 0.5rem 0 1rem; font-size: var(--text-sm); color: var(--color-text-light); }
.combo-compare strong { color: #047857; }
.combo-cta { width: 100%; min-height: 44px; justify-content: center; padding: 0.6rem 1rem; border-radius: 10px; font-size: var(--text-sm); text-align: center; box-shadow: none; }
.combo-cta.btn-primary { background: rgba(2, 111, 166, 0.1); border: 1px solid rgba(2, 111, 166, 0.25); color: var(--color-primary); }
.combo-card.is-featured .combo-cta.btn-primary { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }
.combo-note { margin: 1.25rem 0 0; text-align: center; font-size: var(--text-sm); color: var(--color-text-light); }
.calc-options-note { margin: -0.25rem 0 0.75rem; font-size: var(--text-sm); color: var(--color-text-light); }
@media (max-width: 1023px) { .combo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .combo-section { padding: 3rem 0; } .combo-grid { grid-template-columns: 1fr; } }
#calculator-card .calculator-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
#calculator-card .calc-tab-btn { min-width: 0; }
@media (max-width: 560px) {
  #calculator-card .calc-tab-btn { padding-left: 0.2rem; padding-right: 0.2rem; font-size: 0.78rem; flex-direction: column; gap: 0.15rem; }
}
#calculator-card .option-card-header { flex-wrap: wrap; column-gap: 0.75rem; row-gap: 0.15rem; }
#calculator-card .option-price { white-space: nowrap; }
.tsg-prose .price-box + h2, .tsg-prose .guide-callout + h2, .tsg-prose .guide-cta-banner + h2 { margin-top: 3rem; }

/* Efecto tornasol al pasar el cursor. El estado base de cada boton no cambia */
@keyframes le-tornasol { to { background-position: 200% 50%; } }
@media (hover: hover) {
  :is(
    .btn-primary,
    .btn-outline,
    .btn-add-item,
    .pricing-card-btn,
    .pricing-card-modern.is-popular .pricing-card-btn,
    .combo-card.is-featured .combo-cta.btn-primary
  ):not(:disabled, .btn-added):is(:hover, :focus-visible),
  .service-editorial-card:hover .service-editorial-btn {
    background: linear-gradient(110deg, #7DD3FC, #5EEAD4, #86EFAC, #5EEAD4, #7DD3FC) 0 50% / 200% 100%;
    border-color: transparent;
    color: #063B4F;
    box-shadow: 0 8px 22px rgba(56, 189, 248, 0.35);
    animation: le-tornasol 3s linear infinite;
  }
  :is(
    .btn-whatsapp,
    .hero-actions .btn-whatsapp,
    .calc-cta-btn,
    .floating-whatsapp,
    .btn-whatsapp-footer,
    .b2b-btn-blur-green,
    .social-icon.whatsapp
  ):not(:disabled):is(:hover, :focus-visible) {
    background: linear-gradient(110deg, #4ADE80, #A7F3D0, #5EEAD4, #A7F3D0, #4ADE80) 0 50% / 200% 100%;
    border-color: transparent;
    color: #05331A;
    box-shadow: 0 8px 22px rgba(74, 222, 128, 0.35);
    animation: le-tornasol 3s linear infinite;
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(.btn, .pricing-card-btn, .service-editorial-btn, .calc-cta-btn, .floating-whatsapp, .btn-whatsapp-footer, .b2b-btn-blur-green, .social-icon.whatsapp) { animation: none !important; }
}

.auto-pricing p + h3 { margin-top: 2.5rem; }

/* Navidad compacta en movil: el H1 y el boton de WhatsApp quedan mas arriba */
@media (max-width: 640px) {
  .holiday-alert-text { display: none; }
  .holiday-alert-bar { flex-direction: row; justify-content: center; gap: 0.75rem; margin-bottom: 1rem; padding: 0.4rem 0.5rem; }
  .holiday-alert-left { flex-direction: row; }
}

.zone-review { margin: 1.25rem 0; padding: 1rem 1.1rem; border: 1px solid #E2E8F0; border-radius: 0.75rem; }
.zone-review blockquote { margin: 0 0 0.6rem; font-style: italic; color: var(--color-text); }
.zone-review figcaption { font-size: 0.85rem; color: var(--color-text-light); }

