/* Refinamiento de la home. Las páginas de soporte conservan su composición. */
.landing-home {
  --muted: rgba(249, 249, 248, 0.74);
  --section-space: clamp(64px, 7vw, 112px);
  --content-width: 1200px;
}
.landing-home .container { max-width: var(--content-width); }
.landing-home section { padding-block: var(--section-space); scroll-margin-top: 88px; }
.landing-home h1, .landing-home h2 { text-wrap: balance; }
.landing-home p { overflow-wrap: break-word; }
.landing-home a, .landing-home summary { -webkit-tap-highlight-color: rgba(167, 139, 250, 0.25); }
.landing-home :focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.landing-home .btn, .landing-home .btn-ghost { white-space: normal; text-align: center; }
.landing-home .btn { background: linear-gradient(115deg, #C71564, #6524C7 60%, #176DBC); }
.landing-home .skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 110;
  padding: 14px 20px; border-radius: 12px; color: var(--night);
  background: var(--white); font-weight: 800;
  transform: translateY(-160%);
}
.landing-home .skip-link:focus { transform: translateY(0); }
.landing-home nav { padding-inline: max(24px, calc((100vw - var(--content-width)) / 2)); }
.nav-sections { display: flex; gap: 28px; align-items: center; }
.nav-sections a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--muted); font-size: 13px; font-weight: 800; text-decoration: none;
  transition: color 180ms ease;
}
.nav-sections a:hover { color: var(--white); }

/* La protección envuelve el producto. El texto ocupa un plano independiente. */
.landing-home #hero {
  padding: 48px 0 72px; isolation: isolate;
  background: radial-gradient(ellipse at 80% 35%, #25124D 0%, transparent 56%);
}
.landing-home .hero-grid {
  grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 0;
}
.hero-grid > * { min-width: 0; }
.hero-copy { position: relative; z-index: 2; }
.landing-home #hero h1 {
  font-size: clamp(2.2rem, 4.15vw, 3.65rem); line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 24px;
}
.hero-promise { color: #C5B4F9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.hero-assurances {
  display: flex; flex-wrap: wrap; gap: 12px 20px;
  padding-top: 20px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 12px; line-height: 1.5; font-weight: 800;
}
.landing-home .hero-visual {
  position: relative; display: block; width: 100%; max-width: 570px;
  aspect-ratio: 1 / 1.05; justify-self: center; isolation: isolate;
}
.hero-shield { position: absolute; width: 90%; height: 100%; left: 5%; top: -2%; z-index: -1; }
.shield-surface { fill: rgba(167, 139, 250, 0.04); stroke: rgba(167, 139, 250, 0.14); stroke-width: 1; }
.shield-outline { stroke: var(--violet-soft); stroke-width: 1.5; opacity: 0.65; }
.landing-home .hero-visual .phone {
  position: absolute; left: 9%; top: 7%; width: 45%;
  padding: 8px; border-radius: 32px; transform: rotate(-6deg);
  box-shadow: 0 24px 64px rgba(5, 2, 18, 0.7);
}
.landing-home .hero-visual .phone img { border-radius: 24px; aspect-ratio: 720 / 1460; }
.landing-home .hero-visual .hero-mascot {
  position: absolute; width: 65%; height: auto; right: -1%; bottom: 0;
  margin: 0; filter: drop-shadow(0 18px 24px rgba(9, 4, 28, 0.55));
}
@media (min-width: 900px) {
  .landing-home #hero { padding-top: 64px; }
  .landing-home .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
}

/* Les damos espacio distinto a demostración, pasos, panel y decisión. */
.landing-home #demo { border-block: 1px solid var(--border); }
.landing-home #demo > .container { max-width: 1000px !important; }
.landing-home #demo > .container > p { max-width: 660px; margin-inline: auto; }
.landing-home #demo .browser { margin-top: 40px; }
.landing-home #como .tile-grid { gap: 40px; }
.landing-home #como .tile-cap { text-align: left; font-size: 16px; color: var(--white); margin-top: 24px; }
.landing-home #como .tile-num { width: 30px; height: 30px; margin-right: 10px; }
.landing-home #guardian-ia { border-block: 1px solid var(--border); }
.landing-home #panel .panel-split { gap: 48px !important; margin-top: 36px; }
.landing-home #creador { max-width: 900px; margin-inline: auto; }
.landing-home #precio { background: radial-gradient(ellipse at 85% 55%, #20113D, transparent 65%); }
.landing-home .price-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.price-grid > *, .panel-split > *, .tile-grid > * { min-width: 0; }
.landing-home .price-card { background: #1D103D; padding: clamp(24px, 4vw, 44px); }
.landing-home .price-card li { line-height: 1.55; }
.landing-home details { background: transparent; border-width: 0 0 1px; border-radius: 0; padding: 20px 0; margin: 0; }
.landing-home details summary { min-height: 44px; font-size: 16px; }
.landing-home details[open] summary { color: #C5B4F9; }
.landing-home details p { padding-bottom: 8px; max-width: 65ch; }
.landing-home .process-line-fill { height: 100%; transform-origin: top; }
@media (min-width: 900px) {
  .landing-home .price-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; }
}
@media (max-width: 1050px) { .nav-sections { display: none; } }
@media (max-width: 600px) {
  .landing-home nav { padding-inline: 16px; min-height: 72px; gap: 12px; }
  .landing-home .nav-brand { gap: 8px; flex-shrink: 0; }
  .landing-home .nav-brand img { width: 32px; height: 32px; }
  .landing-home .nav-brand strong { font-size: 16px; }
  .landing-home nav > .btn { max-width: 174px; min-height: 44px; padding: 10px 14px !important; font-size: 11px !important; }
  .landing-home #hero { padding-top: 32px; padding-bottom: 44px; }
  .landing-home .hero-grid { gap: 24px; }
  .landing-home #hero h1 { font-size: clamp(2rem, 8.9vw, 2.75rem); line-height: 1.1; }
  .landing-home .hero-copy > p:first-of-type { font-size: 15px !important; }
  .landing-home .hero-actions { gap: 10px; }
  .landing-home .hero-actions a { padding: 14px 18px; font-size: 14px; }
  .landing-home .hero-assurances { font-size: 11px; gap: 10px; }
  .landing-home .hero-assurances span { flex: 1 1 130px; }
  .landing-home .hero-visual { width: 94%; max-width: 390px; }
  .landing-home .hero-visual .phone { padding: 5px; border-radius: 22px; }
  .landing-home .hero-visual .phone img { border-radius: 17px; }
  .landing-home #demo .browser { margin-top: 28px; }
  .landing-home .browser-bar span { min-width: 0; overflow-wrap: anywhere; }
  .landing-home #como .tile-grid { gap: 36px; }
  .landing-home #cierre { padding-bottom: 48px; }
  .landing-home footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .landing-home *, .landing-home *::before, .landing-home *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
  .landing-home .shield-outline { stroke-dashoffset: 0; }
}
