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

:root {
  --bg-base: #07070b;
  --bg-elevated: rgba(255, 255, 255, 0.05);
  --bg-glass: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.13);
  --border-strong: rgba(255, 255, 255, 0.28);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  --text-muted: rgba(255, 255, 255, 0.54);
  --container-max: 1180px;
  --gutter: clamp(24px, 3.2vw, 44px);
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-base);
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  width: 100%;
  max-width: calc(var(--container-max) + var(--gutter) * 2);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.serif-accent {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}

/* =========================================================
   SECCIÓN 1 · HERO PRINCIPAL
   ========================================================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  background-color: var(--bg-base);
  overflow-x: clip;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: opacity;
}

.hero__video--a {
  z-index: 1;
  opacity: 1;
}

.hero__video--b {
  z-index: 2;
  opacity: 0;
}

/* Overlay morado sutil en los extremos superior e inferior, manteniendo luminoso el centro */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    to bottom,
    rgba(36, 15, 76, 0.72) 0%,
    rgba(48, 20, 98, 0.36) 14%,
    rgba(42, 18, 86, 0.1) 26%,
    rgba(42, 18, 86, 0) 42%,
    rgba(42, 18, 86, 0) 64%,
    rgba(46, 18, 92, 0.22) 78%,
    rgba(30, 12, 64, 0.68) 91%,
    var(--bg-base) 100%
  );
}

.hero__asset-notice,
.scroll-cinema__notice {
  position: absolute;
  right: var(--gutter);
  bottom: 16px;
  z-index: 4;
  margin: 0;
  padding: 6px 12px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  line-height: 1.4;
}

.hero__asset-notice[hidden],
.scroll-cinema__notice[hidden] {
  display: none;
}

.hero__asset-notice code,
.scroll-cinema__notice code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95em;
  color: #ffffff;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  padding: var(--gutter);
}

.hero__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero__brand {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 2px;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  flex-shrink: 1;
  min-width: 0;
  border-radius: 6px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero__brand-role {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
}

.hero__nav {
  display: none;
}

.hero__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero__nav-link {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  border-radius: 6px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  transition: color 0.2s ease;
}

.hero__nav-link:hover {
  color: #ffffff;
}

.hero__header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  background-color: #ffffff;
  color: #0a0a0a;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 11px 18px;
  border-radius: 9999px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero__cta:hover {
  background-color: rgba(255, 255, 255, 0.92);
}

.hero__cta:active {
  transform: scale(0.98);
}

.hero__content {
  flex: 1 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: clamp(48px, 8vh, 84px);
  padding-bottom: clamp(36px, 6vh, 68px);
}

.hero__pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  max-width: 100%;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(12, 12, 20, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.hero__title {
  margin: 0 0 26px;
  max-width: 100%;
  color: #ffffff;
  font-size: 48px;
  line-height: 0.92;
  letter-spacing: -2px;
  font-weight: 500;
  text-wrap: balance;
  overflow-wrap: break-word;
  padding: 0 0.04em 0.08em;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.42),
    0 10px 36px rgba(0, 0, 0, 0.48);
}

.hero__title-sans {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 500;
  font-style: normal;
}

.hero__title-serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  display: inline-block;
  padding-right: 0.06em;
}

.hero__description {
  position: relative;
  isolation: isolate;
  margin: 0 0 36px;
  width: 100%;
  max-width: 496px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.97);
  text-shadow:
    0 1px 3px rgba(10, 6, 24, 0.92),
    0 3px 14px rgba(14, 8, 34, 0.88),
    0 8px 28px rgba(10, 6, 24, 0.72);
}

.hero__description::before {
  content: '';
  position: absolute;
  inset: -18px -28px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 64% 68% at 50% 50%,
    rgba(16, 8, 38, 0.56) 0%,
    rgba(16, 8, 38, 0.26) 48%,
    transparent 76%
  );
  filter: blur(8px);
}

.hero__actions,
.cta-panel__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.cta-panel__actions {
  margin-top: 32px;
}

.whatsapp-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 100%;
  min-height: 60px;
  padding: 4px 10px 4px 4px;
  border-radius: 20px;
  background: transparent;
  border: 0;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
}

.whatsapp-btn:active {
  transform: translateY(0) scale(0.985);
}

.whatsapp-btn__icon-img {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  filter:
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 22px rgba(37, 211, 102, 0.48));
  animation: fab-float 5.2s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

.whatsapp-btn:hover .whatsapp-btn__icon-img {
  transform: scale(1.09) rotate(-3deg);
  filter:
    brightness(1.1)
    drop-shadow(0 14px 26px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 32px rgba(52, 211, 153, 0.72));
}

.whatsapp-btn__label {
  position: relative;
  white-space: nowrap;
  color: #ffffff;
  text-shadow:
    0 1px 4px rgba(8, 6, 22, 0.94),
    0 3px 16px rgba(10, 6, 28, 0.88),
    0 8px 28px rgba(8, 6, 22, 0.74);
}

.whatsapp-btn__label::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1.5px;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(110, 231, 183, 0.85), rgba(255, 255, 255, 0.9));
  transform: scaleX(0.32);
  transform-origin: left center;
  opacity: 0.72;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.whatsapp-btn:hover .whatsapp-btn__label::after {
  transform: scaleX(1);
  opacity: 1;
}

.whatsapp-btn__chevron {
  width: 19px;
  height: 19px;
  color: rgba(255, 255, 255, 0.92);
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(8, 6, 22, 0.85));
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}

.whatsapp-btn:hover .whatsapp-btn__chevron {
  transform: translateX(4px);
  color: #ffffff;
}

/* Botón flotante de cristal verde de WhatsApp (aparece al salir el botón del hero) */
.whatsapp-fab {
  position: fixed;
  right: clamp(16px, 2.4vw, 28px);
  bottom: clamp(16px, 2.4vw, 28px);
  z-index: 40;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(0.86);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 18px rgba(37, 211, 102, 0.34));
  transition:
    opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.36s ease,
    filter 0.28s ease;
}

.whatsapp-fab.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.whatsapp-fab img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: fab-float 5.5s ease-in-out infinite;
}

.whatsapp-fab.is-visible:hover {
  transform: translateY(-4px) scale(1.07);
  filter:
    brightness(1.08)
    drop-shadow(0 16px 30px rgba(0, 0, 0, 0.62))
    drop-shadow(0 0 28px rgba(52, 211, 153, 0.58));
}

.whatsapp-fab.is-visible:active {
  transform: scale(0.96);
}

.whatsapp-fab:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

@keyframes fab-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.hero__tagline {
  margin: 22px 0 0;
  max-width: 500px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.86);
  text-shadow:
    0 1px 6px rgba(0, 0, 0, 0.55),
    0 4px 18px rgba(0, 0, 0, 0.45);
}

.hero__tagline-serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.2em;
  color: #ffffff;
  letter-spacing: 0.005em;
}

/* =========================================================
   SECCIONES EDITORIALES COMUNES (más aire y luminosidad)
   ========================================================= */
.section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(104px, 13vw, 172px);
  background-color: var(--bg-base);
  overflow-x: clip;
}

.section > .container {
  position: relative;
  z-index: 2;
}

/* =========================================================
   ASSETS CRISTALINOS FLOTANTES SIN FONDO + PARALLAX
   ========================================================= */
.floating-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.floating-crystal {
  position: absolute;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}

.floating-crystal__img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  animation: crystal-float-a 8.5s ease-in-out infinite;
  will-change: transform;
}

.floating-crystal__img--cyan {
  filter: drop-shadow(0 16px 34px rgba(56, 178, 255, 0.34));
  animation-name: crystal-float-b;
  animation-duration: 9.2s;
}

.floating-crystal__img--violet {
  filter: drop-shadow(0 18px 38px rgba(158, 92, 255, 0.34));
  animation-name: crystal-float-c;
  animation-duration: 10.4s;
}

.floating-crystal__img--gold {
  filter: drop-shadow(0 18px 36px rgba(255, 176, 76, 0.32));
  animation-name: crystal-float-a;
  animation-duration: 9.8s;
}

.floating-crystal__img--amber {
  filter: drop-shadow(0 18px 38px rgba(255, 166, 68, 0.34));
  animation-name: crystal-float-b;
  animation-duration: 11s;
}

/* Posiciones creativas por sección */
.floating-crystal--manifesto-1 {
  width: clamp(68px, 7.5vw, 112px);
  top: 10%;
  right: max(18px, 4.5vw);
  opacity: 0.85;
}

.floating-crystal--manifesto-2 {
  width: clamp(82px, 9vw, 138px);
  bottom: 2%;
  left: max(8px, 1.6vw);
  opacity: 0.78;
}

.floating-crystal--solutions-1 {
  width: clamp(92px, 10.5vw, 162px);
  top: 7%;
  left: max(12px, 3.5vw);
  opacity: 0.82;
}

.floating-crystal--solutions-2 {
  width: clamp(88px, 10vw, 152px);
  bottom: 10%;
  right: max(14px, 3.5vw);
  opacity: 0.84;
}

.floating-crystal--solutions-3 {
  width: clamp(54px, 5.5vw, 84px);
  top: 26%;
  right: max(20px, 7vw);
  opacity: 0.72;
}

.floating-crystal--pricing-1 {
  width: clamp(82px, 9vw, 140px);
  top: 12%;
  right: max(16px, 4.5vw);
  opacity: 0.82;
}

.floating-crystal--pricing-2 {
  width: clamp(80px, 8.8vw, 134px);
  bottom: 10%;
  left: max(14px, 3.5vw);
  opacity: 0.74;
}

.floating-crystal--cta-1 {
  width: clamp(84px, 9.2vw, 142px);
  top: 6%;
  left: max(16px, 5vw);
  opacity: 0.84;
}

.floating-crystal--cta-2 {
  width: clamp(64px, 6.8vw, 104px);
  bottom: 12%;
  right: max(18px, 5.5vw);
  opacity: 0.82;
}

@keyframes crystal-float-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-3deg);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(4deg);
  }
}

@keyframes crystal-float-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(4deg);
  }
  50% {
    transform: translate3d(6px, -14px, 0) rotate(-4deg);
  }
}

@keyframes crystal-float-c {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-5deg);
  }
  50% {
    transform: translate3d(-6px, -20px, 0) rotate(3deg);
  }
}

/* =========================================================
   REFLEJO ESPECULAR INTERACTIVO EN TARJETAS DE VIDRIO
   ========================================================= */
.glass-interactive {
  position: relative;
  overflow: hidden;
}

.glass-interactive::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    360px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.13),
    rgba(130, 174, 255, 0.05) 42%,
    transparent 70%
  );
  transition: opacity 0.35s ease;
}

.glass-interactive:hover::after {
  opacity: 1;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(56px, 7vw, 88px);
}

.section-title {
  margin: 0 0 22px;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #ffffff;
  max-width: 17ch;
  text-wrap: balance;
}

.section-title .serif-accent {
  font-size: 1.08em;
  padding-right: 0.06em;
}

.section-lead {
  margin: 0;
  max-width: 490px;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  color: var(--text-secondary);
}

.section-lead--center {
  margin-inline: auto;
}

/* =========================================================
   SECCIÓN 2 · MANIFIESTO
   ========================================================= */
.section--manifesto {
  background:
    radial-gradient(
      ellipse 72% 56% at 18% 22%,
      rgba(96, 154, 255, 0.16),
      transparent 65%
    ),
    radial-gradient(
      ellipse 64% 50% at 86% 78%,
      rgba(164, 108, 255, 0.14),
      transparent 65%
    ),
    var(--bg-base);
}

.manifesto__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 7vw, 88px);
  align-items: start;
}

.manifesto__lead .section-title {
  max-width: 13ch;
}

.manifesto__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 44px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
}

.stat-item__value {
  margin: 0;
  font-size: clamp(19px, 4.6vw, 32px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #ffffff;
  white-space: nowrap;
}

.stat-item__label {
  font-size: 13px;
  line-height: 1.35;
  color: var(--text-muted);
}

.manifesto__pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.pillar-card:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.pillar-card__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.pillar-card__icon svg {
  width: 20px;
  height: 20px;
}

.pillar-card__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.pillar-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* =========================================================
   SECCIÓN 3 · SOLUCIONES DIGITALES (BENTO)
   ========================================================= */
.section--solutions {
  padding-bottom: clamp(120px, 15vw, 190px);
  background:
    linear-gradient(
      to bottom,
      rgba(7, 7, 11, 0) 76%,
      var(--bg-base) 100%
    ),
    radial-gradient(
      ellipse 78% 58% at 50% 8%,
      rgba(130, 120, 255, 0.16),
      transparent 65%
    ),
    var(--bg-base);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.025) 100%
  );
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.bento-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.48);
}

.bento-card--featured {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(128, 162, 255, 0.16),
      transparent 55%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.075) 0%,
      rgba(255, 255, 255, 0.03) 100%
    );
}

.bento-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background-color: #07070c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bento-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(7, 7, 12, 0.14) 0%,
    rgba(7, 7, 12, 0) 45%,
    rgba(10, 10, 16, 0.72) 100%
  );
}

.bento-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.005);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
  will-change: transform;
}

.bento-card:hover .bento-card__img {
  transform: scale(1.06);
  filter: brightness(1.06);
}

.bento-card__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 6px 13px;
  border-radius: 9999px;
  background: rgba(10, 10, 18, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.bento-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 auto;
  padding: clamp(22px, 2.8vw, 32px);
}

.bento-card__title {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.bento-card__title .serif-accent {
  font-size: 1.12em;
}

.bento-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-secondary);
}

.chip-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-list li {
  padding: 6px 13px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
}

/* =========================================================
   SECCIÓN 4 · SECUENCIA ANIMADA CONTROLADA POR SCROLL
   Fusión cinematográfica suave al entrar y salir; centro 100% luminoso
   ========================================================= */
.scroll-cinema {
  position: relative;
  height: 400vh;
  background-color: var(--bg-base);
}

.scroll-cinema__stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--bg-base);
}

.scroll-cinema__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  will-change: opacity;
}

.scroll-cinema__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Curva suavizada (sin banda dura) en los extremos superior e inferior; centro limpio */
.scroll-cinema__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      var(--bg-base) 0%,
      rgba(7, 7, 11, 0.86) 4%,
      rgba(7, 7, 11, 0.56) 9%,
      rgba(7, 7, 11, 0.24) 15%,
      rgba(7, 7, 11, 0.06) 21%,
      rgba(7, 7, 11, 0) 27%,
      rgba(7, 7, 11, 0) 73%,
      rgba(7, 7, 11, 0.06) 79%,
      rgba(7, 7, 11, 0.24) 85%,
      rgba(7, 7, 11, 0.56) 91%,
      rgba(7, 7, 11, 0.86) 96%,
      var(--bg-base) 100%
    );
}

.scroll-cinema__overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--gutter);
}

.scroll-cinema__beats {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.cinema-beat {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-inline: 12px;
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  filter: blur(6px);
  pointer-events: none;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.cinema-beat.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.cinema-beat.is-past {
  opacity: 0;
  transform: translateY(-28px) scale(0.985);
  filter: blur(5px);
}

.cinema-beat__title {
  margin: 0 0 18px;
  font-size: clamp(38px, 6.4vw, 84px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: #ffffff;
  text-wrap: balance;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.52),
    0 12px 40px rgba(0, 0, 0, 0.58);
}

.cinema-beat__title .serif-accent {
  font-size: 1.08em;
  padding-right: 0.06em;
}

.cinema-beat__copy {
  margin: 0;
  max-width: 480px;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  text-shadow:
    0 1px 8px rgba(0, 0, 0, 0.65),
    0 4px 24px rgba(0, 0, 0, 0.6);
}

.scroll-cinema__hud {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding-bottom: 12px;
}

.scroll-cinema__track {
  width: 100%;
  height: 2px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.24);
  overflow: hidden;
}

.scroll-cinema__bar {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #7cb4ff 0%, #c89dff 52%, #ffffff 100%);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

/* =========================================================
   SECCIÓN 5 · PLANES (BÁSICO, PRO TOP VENTAS, EMPRESA)
   ========================================================= */
.section--pricing {
  padding-top: clamp(120px, 15vw, 190px);
  background:
    linear-gradient(
      to bottom,
      var(--bg-base) 0%,
      rgba(7, 7, 11, 0) 22%
    ),
    radial-gradient(
      ellipse 64% 52% at 50% 48%,
      rgba(116, 138, 255, 0.2),
      transparent 70%
    ),
    var(--bg-base);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3.4vw, 40px);
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.065) 0%,
    rgba(255, 255, 255, 0.025) 100%
  );
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.pricing-card--pro {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(134, 166, 255, 0.3),
      rgba(166, 108, 255, 0.15) 45%,
      transparent 75%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.045) 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(146, 174, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  animation: pro-halo 6.5s ease-in-out infinite;
}

@keyframes pro-halo {
  0%,
  100% {
    box-shadow:
      0 24px 70px rgba(0, 0, 0, 0.45),
      0 0 28px rgba(132, 164, 255, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.32);
  }
  50% {
    box-shadow:
      0 28px 78px rgba(0, 0, 0, 0.48),
      0 0 46px rgba(154, 130, 255, 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.45);
  }
}

.pricing-card__badge {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 6px 13px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #ffffff 0%, #ede8ff 100%);
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.22);
}

.pricing-card__badge::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 55%;
  background: linear-gradient(
    110deg,
    transparent 15%,
    rgba(255, 255, 255, 0.85) 50%,
    transparent 85%
  );
  transform: translateX(-160%);
  animation: badge-shimmer 4.2s ease-in-out infinite;
}

@keyframes badge-shimmer {
  0%,
  65% {
    transform: translateX(-160%);
  }
  100% {
    transform: translateX(260%);
  }
}

.pricing-card__badge-icon {
  width: 14px;
  height: 14px;
  color: #d97706;
  flex-shrink: 0;
}

.pricing-card__header {
  margin-bottom: 26px;
}

.pricing-card__name {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.pricing-card__name .serif-accent {
  font-size: 1.15em;
}

.pricing-card__subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.pricing-card__price-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-card__price {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
}

.pricing-card__period {
  font-size: 13px;
  color: var(--text-muted);
}

.pricing-card__features {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1 1 auto;
}

.pricing-card__features li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.pricing-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 1.8px solid rgba(255, 255, 255, 0.85);
  border-bottom: 1.8px solid rgba(255, 255, 255, 0.85);
  transform: rotate(-45deg);
}

.pricing-card--pro .pricing-card__features li::before {
  border-color: #b4d0ff;
}

.pricing-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pricing-card__cta--primary {
  background-color: #ffffff;
  color: #0a0a0a;
}

.pricing-card__cta--primary:hover {
  background-color: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.pricing-card__cta--ghost {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.pricing-card__cta--ghost:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.36);
  transform: translateY(-1px);
}

/* =========================================================
   SECCIÓN 6 · CIERRE Y CONTACTO + FOOTER
   ========================================================= */
.section--cta {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(96px, 12vw, 148px);
}

.cta-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(56px, 8vw, 104px) clamp(24px, 5vw, 64px);
  border-radius: 32px;
  background:
    radial-gradient(
      ellipse 72% 82% at 50% 0%,
      rgba(120, 168, 255, 0.24),
      rgba(166, 108, 255, 0.12) 45%,
      transparent 75%
    ),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cta-panel__title {
  margin: 0 0 18px;
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #ffffff;
  max-width: 14ch;
  text-wrap: balance;
}

.cta-panel__title .serif-accent {
  font-size: 1.08em;
}

.cta-panel__selected {
  margin: 24px 0 0;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(130, 170, 255, 0.18);
  border: 1px solid rgba(178, 206, 255, 0.4);
  color: #edf4ff;
  font-size: 13px;
  font-weight: 500;
}

.cta-panel__selected[hidden] {
  display: none;
}

.cta-panel__form {
  margin-top: 32px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 36px;
  background-color: var(--bg-base);
  overflow-x: clip;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: center;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
}

.site-footer__nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.site-footer__nav a:hover {
  color: #ffffff;
}

.site-footer__copy {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* =========================================================
   FOCO VISIBLE Y ANIMACIONES
   ========================================================= */
.hero__brand:focus-visible,
.hero__nav-link:focus-visible,
.hero__cta:focus-visible,
.whatsapp-btn:focus-visible,
.pricing-card__cta:focus-visible,
.site-footer__nav a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@supports not selector(:has(*)) {
  .hero__input:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
    border-radius: 9999px;
  }
}

@keyframes hero-reveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-reveal {
  opacity: 0;
  animation: hero-reveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--reveal-delay, 0s);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px) scale(0.975);
  filter: blur(4px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--stagger, 0s),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) var(--stagger, 0s),
    filter 0.75s cubic-bezier(0.22, 1, 0.36, 1) var(--stagger, 0s);
}

.reveal-on-scroll--right {
  transform: translate3d(28px, 14px, 0) scale(0.98);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@media (max-width: 767px) {
  .floating-crystal {
    opacity: 0.42;
  }

  .scroll-cinema {
    height: 320vh;
  }

  .pillar-card {
    padding: 22px;
    gap: 16px;
  }

  .bento-card__content {
    padding: 22px 22px 26px;
  }

  .bento-card__tag {
    top: 14px;
    left: 14px;
  }

  .pricing-card {
    padding: 28px 24px;
  }

  .cta-panel {
    padding: 48px 22px;
    border-radius: 26px;
  }

  .site-footer__nav a {
    padding: 4px 6px;
  }
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 390px) {
  .hero__header {
    gap: 8px;
  }

  .hero__brand {
    font-size: 14px;
    line-height: 1.15;
  }

  .hero__brand-role {
    font-size: 0.9em;
  }

  .hero__cta {
    padding: 9px 12px;
    font-size: 12.5px;
  }

  .whatsapp-btn {
    padding: 4px 6px;
    gap: 11px;
    font-size: 14.5px;
    min-height: 52px;
  }

  .whatsapp-btn__icon-img {
    width: 50px;
    height: 50px;
  }

  .whatsapp-fab {
    width: 54px;
    height: 54px;
  }

  .manifesto__stats {
    gap: 12px;
  }
}

@media (max-width: 340px) {
  .manifesto__stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 72px;
  }

  .hero__description {
    font-size: 18px;
  }

  .hero__pill {
    font-size: 14px;
  }

  .hero__tagline {
    font-size: 16px;
  }

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

  .site-footer__inner {
    flex-direction: row;
    text-align: left;
  }
}

@media (min-width: 860px) {
  .hero__header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .hero__brand {
    justify-self: start;
  }

  .hero__nav {
    display: block;
    justify-self: center;
  }

  .hero__header-actions {
    justify-self: end;
  }
}

@media (min-width: 960px) {
  .manifesto__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
  }

  .pricing-card--pro {
    padding-block: 44px;
    transform: translateY(-8px);
  }

  .pricing-card--pro:hover {
    transform: translateY(-12px);
  }
}

@media (min-width: 1120px) {
  .hero__title {
    font-size: 96px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-reveal,
  .reveal-on-scroll,
  .reveal-on-scroll--right {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
    transition: none;
  }

  .floating-crystal__img,
  .pricing-card--pro,
  .pricing-card__badge::after,
  .whatsapp-btn__icon-img,
  .whatsapp-fab img {
    animation: none;
  }

  .glass-interactive::after {
    display: none;
  }

  .hero__cta,
  .whatsapp-btn,
  .hero__nav-link,
  .pillar-card,
  .bento-card,
  .bento-card__img,
  .pricing-card,
  .pricing-card__cta {
    transition: none;
  }

  .scroll-cinema {
    height: auto;
  }

  .scroll-cinema__stage {
    position: relative;
    height: auto;
    min-height: 80svh;
  }

  .scroll-cinema__beats {
    display: flex;
    flex-direction: column;
    gap: 56px;
    padding-block: 72px;
  }

  .cinema-beat,
  .cinema-beat.is-past {
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
    filter: none;
    pointer-events: auto;
    transition: none;
  }

  .scroll-cinema__hud {
    display: none;
  }
}
