/* ==========================================================================
   Conectapps — Sistema de diseño
   HTML5 + CSS3 vanilla. Un único archivo, mobile-first.
   Breakpoints: 480px / 768px / 1024px / 1280px
   ========================================================================== */

/* -------------------------- Variables globales -------------------------- */
:root {
  --color-primary: #E20616;
  --color-primary-dark: #B10511;
  --color-secondary: #989898;
  --color-white: #FFFFFF;
  --color-ink: #14161A;
  --color-bg-light: #FAFAFA;
  --color-bg-dark: #14161A;
  --color-success: #1E8E5A;
  --color-border: #E5E5E5;

  --font-heading: 'Sora', 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(20, 22, 26, 0.08);
  --shadow-md: 0 4px 16px rgba(20, 22, 26, 0.10);
  --shadow-header: 0 2px 10px rgba(20, 22, 26, 0.06);

  --container-max: 1200px;
  --transition: 180ms ease;

  /* Superficie y profundidad (rediseño visual v2) */
  --color-tint-red: #FFF1F1;
  --color-ink-soft: #1F2229;
  --gradient-dark: linear-gradient(135deg, #14161A 0%, #1F2229 55%, #2A0A0D 100%);
  --gradient-red: linear-gradient(135deg, #E20616 0%, #B10511 100%);
  --gradient-mesh: radial-gradient(circle at 20% 20%, rgba(226,6,22,0.14), transparent 45%),
                    radial-gradient(circle at 80% 70%, rgba(226,6,22,0.10), transparent 40%);

  --shadow-lg: 0 20px 50px rgba(20,22,26,0.18);
  --shadow-float: 0 24px 60px -12px rgba(226,6,22,0.25);

  /* Escala tipográfica más agresiva */
  --fs-hero: clamp(2.4rem, 6vw, 4.2rem);
  --fs-section: clamp(1.9rem, 4.5vw, 3rem);
}

/* -------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; margin: 0 0 0.5em; color: var(--color-ink); }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* Focus visible accesible en toda la UI */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------- Layout -------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--light { background: var(--color-bg-light); }
.section--dark { background: var(--gradient-dark); color: var(--color-white); }
.section--dark h2, .section--dark h3 { color: var(--color-white); }

/* Superficies con más carácter (rediseño v2): romper la alternancia blanco/gris plano */
.section--tint { background: var(--color-tint-red); }
.section--mesh { background: var(--color-white); position: relative; overflow: hidden; }
.section--mesh::before {
  content: ''; position: absolute; inset: 0; background: var(--gradient-mesh); pointer-events: none;
}
.section--mesh > .container { position: relative; z-index: 1; }
.section--red { background: var(--gradient-red); color: var(--color-white); }
.section--red h2, .section--red h3, .section--red p { color: var(--color-white); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.section-title { font-size: var(--fs-section); font-weight: 800; letter-spacing: -0.01em; }
.section-subtitle { color: var(--color-secondary); font-size: 1.05rem; max-width: 640px; }
.section-head { margin-bottom: 40px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }

/* ------------------------------ Reveal on scroll -------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------- Botones -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-secondary { background: transparent; border-color: var(--color-secondary); color: var(--color-ink); }
.btn-secondary:hover { border-color: var(--color-ink); }
.btn-whatsapp { background: #FFFFFF; border-color: var(--color-border); color: var(--color-ink); }
.btn-whatsapp:hover { border-color: var(--color-success); }
.btn-block { width: 100%; }
.btn svg { flex-shrink: 0; }

/* --------------------------------- Header ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--shadow-header); border-color: var(--color-border); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.site-header__logo img { height: 36px; width: auto; }
.site-header__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-ink);
}
.site-header__logo-text span { color: var(--color-primary); }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 28px; }
.nav__link {
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--color-ink);
  padding: 8px 0;
  position: relative;
}
.nav__link:hover { color: var(--color-primary); }
.nav__item--dropdown { position: relative; }
.nav__link--dropdown { display: inline-flex; align-items: center; gap: 4px; }
.nav__submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 260px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav__item--dropdown:hover .nav__submenu,
.nav__item--dropdown:focus-within .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__submenu-link {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.92rem;
}
.nav__submenu-link:hover { background: var(--color-bg-light); color: var(--color-primary); }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.site-header__cta { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 6px;
}
.menu-toggle svg { width: 20px; height: 20px; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 65px;
  background: var(--color-white);
  z-index: 99;
  padding: 24px 20px;
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav__list { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav__link {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--color-border);
  font-weight: 500;
  font-size: 1.05rem;
}
.mobile-nav__group-label { font-size: 0.8rem; color: var(--color-secondary); text-transform: uppercase; letter-spacing: 0.04em; padding: 16px 4px 4px; }
.mobile-nav__cta { margin-top: 20px; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .site-header__cta { display: inline-flex; }
  .menu-toggle, .mobile-nav { display: none; }
}

/* ---------------------------------- Hero ----------------------------------- */
.hero { padding: 56px 0 64px; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__eyebrow { color: var(--color-primary); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.hero__title { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; }
.hero__subtitle { font-size: 1.1rem; color: var(--color-secondary); margin-bottom: 28px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__visual { display: flex; justify-content: center; }
.hero__visual svg { width: 100%; max-width: 480px; height: auto; }

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* ------------------------------- Video embed ------------------------------- */
.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-ink);
  box-shadow: var(--shadow-md);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------- Cards ------------------------------------ */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-2px); }
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; color: var(--color-primary); }
.card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card__text { color: var(--color-secondary); font-size: 0.95rem; margin: 0; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; color: var(--color-primary); font-size: 0.92rem; }

.product-card { text-align: left; display: flex; flex-direction: column; height: 100%; }
.product-card__cta { margin-top: auto; padding-top: 18px; }

/* ---------------------------- Beneficios (tarjetas contenidas) ---------------------------- */
.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.benefit-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.benefit-item__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.benefit-item__icon svg { width: 26px; height: 26px; color: var(--color-white); }
.benefit-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.benefit-item p { color: var(--color-secondary); font-size: 0.92rem; margin: 0; }

/* Variante sobre fondo oscuro (usada en secciones .section--dark) */
.benefit-item--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.benefit-item--dark h3 { color: var(--color-white); }
.benefit-item--dark p { color: #C9CBCF; }
.benefit-item--dark:hover { border-color: rgba(255,255,255,0.18); box-shadow: none; }
.benefit-item--dark .benefit-item__icon { background: rgba(226,6,22,0.18); }
.benefit-item--dark .benefit-item__icon svg { color: var(--color-primary); }

/* Bento grid — una card grande + varias chicas, rompe la simetría del grid parejo */
.bento { display: grid; gap: 20px; grid-template-columns: 1fr; grid-auto-flow: dense; }
.bento .benefit-item { display: flex; }
.bento__item--lg { grid-column: span 1; }
.bento__item--lg .benefit-item { justify-content: center; }
.bento__item--lg .benefit-item p { font-size: 0.98rem; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); }
  .bento__item--lg { grid-column: span 2; grid-row: span 2; }
}

/* Stagger de reveal por índice: las cards de un mismo grid aparecen en cascada, no todas juntas */
.bento__item:nth-child(1), .stagger > *:nth-child(1) { transition-delay: 0ms; }
.bento__item:nth-child(2), .stagger > *:nth-child(2) { transition-delay: 80ms; }
.bento__item:nth-child(3), .stagger > *:nth-child(3) { transition-delay: 160ms; }
.bento__item:nth-child(4), .stagger > *:nth-child(4) { transition-delay: 240ms; }
.bento__item:nth-child(5), .stagger > *:nth-child(5) { transition-delay: 320ms; }
.bento__item:nth-child(6), .stagger > *:nth-child(6) { transition-delay: 400ms; }
.bento__item:nth-child(7), .stagger > *:nth-child(7) { transition-delay: 480ms; }
.bento__item:nth-child(8), .stagger > *:nth-child(8) { transition-delay: 560ms; }
.bento__item:nth-child(9), .stagger > *:nth-child(9) { transition-delay: 640ms; }

/* Card flotante que "pisa" el borde entre dos secciones (profundidad real) */
.float-card {
  position: relative;
  margin-top: -48px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  padding: 48px 32px;
  color: var(--color-ink);
}
@media (min-width: 768px) {
  .float-card { margin-top: -96px; }
}
/* La card flotante es superficie blanca aunque la sección contenedora sea dark/red */
.section--dark .float-card h2, .section--dark .float-card h3,
.section--red .float-card h2, .section--red .float-card h3 { color: var(--color-ink); }
.float-card .cta-banner__text { color: var(--color-secondary); }

/* Mini-cards de confianza (Cloud Solutions LATAM / Academia / AWS / Zoho Marketplace) */
.trust-mini { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 24px; }
.trust-mini__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--color-bg-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.trust-mini__icon svg { width: 26px; height: 26px; color: var(--color-primary); }
.trust-mini strong { font-size: 0.95rem; }
.trust-mini span { color: var(--color-secondary); font-size: 0.85rem; }

/* Título con acento en gradiente sobre una palabra clave */
.text-gradient { background: var(--gradient-red); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------- Mockup de producto (ventana simulada) ------------------------------- */
.hero-mockup { position: relative; display: flex; justify-content: center; padding: 20px; }
.app-mockup {
  position: relative;
  z-index: 2;
  background: var(--color-ink-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  transform: rotate(-2deg);
  transition: transform 300ms ease;
}
.app-mockup__bar { display: flex; gap: 6px; padding: 14px 16px; background: rgba(255,255,255,0.04); }
.app-mockup__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.app-mockup__body { padding: 24px; background: var(--color-white); }
.app-mockup__source {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem;
  color: var(--color-ink); margin-bottom: 16px;
}
.app-mockup__source svg { width: 18px; height: 18px; color: var(--color-primary); }
.app-mockup__invoice {
  border: 1px solid var(--color-border); border-radius: 12px; padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.app-mockup__row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.85rem; color: var(--color-secondary); }
.app-mockup__row strong { color: var(--color-ink); font-weight: 600; }
.app-mockup__divider { border: none; border-top: 1px dashed var(--color-border); margin: 2px 0; }
.app-mockup__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.app-mockup__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-success); color: white; font-size: 0.72rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
}
.app-mockup__badge svg { width: 14px; height: 14px; }
.app-mockup__qr {
  width: 40px; height: 40px;
  border-radius: 6px;
  background-color: var(--color-ink);
  background-image:
    linear-gradient(var(--color-white) 2px, transparent 2px),
    linear-gradient(90deg, var(--color-white) 2px, transparent 2px);
  background-size: 8px 8px;
  flex-shrink: 0;
}
/* Card chica "detrás" del mockup principal, da sensación de capas */
.hero-mockup__chip {
  position: absolute;
  top: 8%;
  right: 6%;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-ink);
  transform: rotate(4deg);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-mockup__chip svg { width: 16px; height: 16px; color: var(--color-primary); }
@media (prefers-reduced-motion: reduce) {
  .app-mockup, .hero-mockup__chip { transition: none; }
}

/* --------------------------------- Pricing ----------------------------------- */
.pricing {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.pricing__badge {
  display: inline-block;
  background: var(--gradient-red);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.pricing__header {
  background: var(--gradient-dark);
  color: var(--color-white);
  padding: 32px;
}
.pricing__plan-name { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-secondary); margin-bottom: 8px; }
.pricing__price { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; }
.pricing__price small { font-size: 1rem; font-weight: 400; color: var(--color-secondary); }
.pricing__body { padding: 32px; }
.pricing__list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.pricing__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.pricing__list svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--color-success); margin-top: 2px; }
.pricing__note { font-size: 0.85rem; color: var(--color-secondary); border-top: 1px solid var(--color-border); padding-top: 18px; margin-top: 4px; }
.pricing__note + .pricing__note { border-top: none; padding-top: 0; margin-top: -8px; }

/* ----------------------------------- FAQ -------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid #DEDEDE;
  border-radius: var(--radius-lg);
  padding: 4px 20px;
  background: var(--color-white);
  transition: border-color var(--transition), background var(--transition);
}
.faq-item:hover { border-color: var(--color-secondary); }
.faq-item[open] { background: var(--color-bg-light); border-color: var(--color-secondary); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 32px 20px 4px;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 1.4rem;
  color: var(--color-primary);
  line-height: 1;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 18px; color: var(--color-secondary); margin: 0; }

/* -------------------------------- Segmentación --------------------------------- */
.segment-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--color-border);
}
.segment-card h3 { font-size: 1.05rem; }
.segment-card p { color: var(--color-secondary); font-size: 0.93rem; margin-bottom: 16px; }

/* -------------------------------- Cross-sell banner ----------------------------- */
.cross-sell {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  background: linear-gradient(135deg, #14161A 0%, #26292F 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.cross-sell h3 { color: var(--color-white); font-size: 1.3rem; }
.cross-sell p { color: #C9CBCF; }
@media (min-width: 768px) {
  .cross-sell { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
  .cross-sell__text { flex: 1; }
}

/* ------------------------------- Lead magnet banner ------------------------------- */
.lead-magnet {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 32px;
  background: #FFF5F5;
}
.lead-magnet__badge {
  display: inline-flex;
  align-self: flex-start;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
}
@media (min-width: 768px) {
  .lead-magnet { flex-direction: row; align-items: center; justify-content: space-between; }
}
/* Sobre fondo rojo (.section--red), la card pasa a superficie blanca para generar contraste real */
.section--red .lead-magnet {
  background: var(--color-white);
  border: none;
  box-shadow: var(--shadow-lg);
}
.section--red .lead-magnet p { color: var(--color-secondary); }

/* ------------------------------- CTA final banda ---------------------------------- */
.cta-banner { text-align: center; }
.cta-banner__title { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 12px; }
.cta-banner__text { color: var(--color-secondary); max-width: 560px; margin-inline: auto; margin-bottom: 28px; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ----------------------------------- Trust strip ----------------------------------- */
.trust-strip { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: center; }
.trust-strip__item { display: flex; align-items: center; gap: 10px; color: var(--color-secondary); font-size: 0.92rem; font-weight: 500; }
.trust-strip__item svg { width: 22px; height: 22px; color: var(--color-primary); }

/* -------------------------------------- Form -------------------------------------- */
.form-embed {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-light);
  box-shadow: var(--shadow-sm);
}
.form-embed iframe { width: 100%; border: none; display: block; min-height: 800px; }

/* ------------------------------------- Breadcrumbs --------------------------------- */
.breadcrumbs { padding: 16px 0 0; font-size: 0.85rem; color: var(--color-secondary); }
.breadcrumbs a { color: var(--color-secondary); }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs span[aria-current] { color: var(--color-ink); font-weight: 500; }

/* --------------------------------------- Footer -------------------------------------- */
.site-footer { background: var(--color-bg-dark); color: #B9BBC0; padding: 56px 0 28px; }
.site-footer__grid { display: grid; gap: 32px; margin-bottom: 40px; }
.site-footer__brand img { height: 34px; margin-bottom: 14px; }
.site-footer__brand p { font-size: 0.9rem; max-width: 320px; }
.site-footer__heading { color: var(--color-white); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 16px; }
.site-footer__list { display: flex; flex-direction: column; gap: 10px; }
.site-footer__list a { font-size: 0.92rem; }
.site-footer__list a:hover { color: var(--color-white); }
.site-footer__social { display: flex; gap: 12px; margin-top: 8px; }
.site-footer__social a {
  width: 36px; height: 36px;
  border: 1px solid #33363D;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.site-footer__social a:hover { border-color: var(--color-primary); }
.site-footer__social svg { width: 16px; height: 16px; }
.site-footer__bottom {
  border-top: 1px solid #24262C;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .site-footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* -------------------------------------- WhatsApp float -------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float svg { width: 28px; height: 28px; color: var(--color-white); }

/* -------------------------------------- Barra CTA sticky (mobile, landings de producto) -------------------------------------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -6px 20px rgba(20, 22, 26, 0.10);
  padding: 12px 16px;
  transform: translateY(100%);
  transition: transform 220ms ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { padding: 13px 20px; }
@media (min-width: 768px) {
  .sticky-cta { display: none; }
}
/* El botón flotante de WhatsApp sube para no tapar la barra sticky cuando ambos conviven en mobile */
@media (max-width: 767px) {
  body:has(.sticky-cta) .whatsapp-float { bottom: 84px; }
}

/* -------------------------------------- Badge de urgencia/plazo (honesto, solo con dato confirmado) -------------------------------------- */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-tint-red);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.urgency-badge svg { width: 16px; height: 16px; }

/* -------------------------------------- Utilidades -------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; top: 0; }

/* ---------------------------------- Responsive text tweaks ------------------------------- */
@media (min-width: 480px) {
  .hero__actions { flex-wrap: nowrap; }
}
