/* ==========================================================================
   Netzum Cloud — Hoja de estilos
   Sistema de diseño propio (sin frameworks). Tema oscuro, acento rojo.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Paleta */
  --bg: #0a0a0f;
  --bg-elev: #101018;
  --surface: #15151f;
  --surface-2: #1c1c29;
  --surface-3: #232333;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f5f5f7;
  --text-muted: #a6a6b3;
  --text-dim: #6f6f7e;

  --primary: #e50914;
  --primary-600: #c10810;
  --primary-700: #9b060c;
  --primary-soft: rgba(229, 9, 20, 0.12);
  --primary-glow: rgba(229, 9, 20, 0.45);

  --accent: #7c5cff;
  --accent-soft: rgba(124, 92, 255, 0.14);
  --success: #22c55e;
  --success-soft: rgba(34, 197, 94, 0.14);
  --info: #3b82f6;
  --info-soft: rgba(59, 130, 246, 0.14);
  --warn: #fbbf24;

  /* Tipografía */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", var(--font-sans);

  /* Radios */
  --r-sm: 8px;
  --r: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-full: 999px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-primary: 0 12px 40px var(--primary-glow);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 68px;

  /* Movimiento */
  --t-fast: 0.18s ease;
  --t: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

* {
  margin: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* ---------- Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 200;
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r);
  font-weight: 600;
  transition: top var(--t);
}

.skip-link:focus {
  top: 16px;
}

.gradient-text {
  background: linear-gradient(120deg, #fff 0%, #ffd7d9 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
}

.section-head p {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
  margin-top: 0.85rem;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.85rem 1.5rem;
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: transform var(--t-fast), background var(--t-fast),
    box-shadow var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
  color: #fff;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px var(--primary-glow);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-ghost {
  color: var(--text-muted);
  padding-inline: 0.5rem;
}

.btn-ghost:hover {
  color: var(--text);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 1.05rem 1.9rem;
  font-size: 1.05rem;
}

/* ---------- Header / Nav ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 15, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t);
}

.header.scrolled {
  background: rgba(10, 10, 15, 0.9);
  border-bottom-color: var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-700) 100%);
  box-shadow: var(--shadow-primary);
}

.brand__mark svg {
  width: 20px;
  height: 20px;
}

.brand span {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav a {
  position: relative;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--t-fast), background var(--t-fast);
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 1.5rem;
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 1rem var(--gutter) 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  padding: 0.85rem 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
  border-radius: var(--r-sm);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:hover {
  color: var(--text);
}

.mobile-menu .btn {
  margin-top: 0.75rem;
}

/* ---------- Announcement bar ---------- */
.announce {
  margin-top: var(--header-h);
  background: linear-gradient(90deg, var(--primary-700), var(--primary) 50%, var(--primary-600));
  position: relative;
  overflow: hidden;
}

.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.7rem var(--gutter);
  font-size: 0.9rem;
  text-align: center;
}

.announce strong {
  color: #ffe27a;
  font-weight: 700;
}

.announce .live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #d6ffe0;
  font-size: 0.82rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(124, 92, 255, 0.18), transparent 70%),
    radial-gradient(70% 70% at 10% 10%, rgba(229, 9, 20, 0.22), transparent 65%),
    radial-gradient(50% 50% at 50% 100%, rgba(229, 9, 20, 0.1), transparent 70%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero__badge .star {
  color: var(--warn);
}

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  margin-bottom: 1.2rem;
}

.hero p.lead {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: var(--text-muted);
  max-width: 38ch;
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__trust i {
  color: var(--success);
}

/* Hero visual mock */
.hero__visual {
  position: relative;
}

.hero-card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.hero-card__bar {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.hero-card__bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--surface-3);
}

.hero-card__bar span:first-child { background: #ff5f57; }
.hero-card__bar span:nth-child(2) { background: #febc2e; }
.hero-card__bar span:nth-child(3) { background: #28c840; }

.hero-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.hero-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.1rem;
  transition: transform var(--t), border-color var(--t);
}

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

.hero-tile i {
  font-size: 1.6rem;
  color: var(--primary);
}

.hero-tile h3 {
  font-size: 1rem;
  margin: 0.6rem 0 0.2rem;
}

.hero-tile p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.hero-tile--wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-tile--wide .meter {
  flex: 1;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--surface-3);
  overflow: hidden;
}

.hero-tile--wide .meter span {
  display: block;
  height: 100%;
  width: 68%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.hero__float {
  position: absolute;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}

.hero__float i {
  color: var(--success);
  font-size: 1.2rem;
}

.hero__float--tl { top: -18px; left: -20px; }
.hero__float--br { bottom: -18px; right: -16px; animation-delay: 1.5s; }

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

/* ---------- Tarjetas de servicio ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-elev));
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 2rem 1.75rem;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: var(--r);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.7rem;
  margin-bottom: 1.25rem;
  transition: transform var(--t);
}

.service-card:hover .service-card__icon {
  transform: scale(1.08) rotate(-4deg);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.service-card > p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-list i {
  color: var(--success);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ---------- Precios ---------- */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.3rem;
  border-radius: var(--r-full);
  margin-top: 1.5rem;
}

.billing-toggle button {
  padding: 0.55rem 1.15rem;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color var(--t-fast), background var(--t-fast);
}

.billing-toggle button.active {
  background: var(--primary);
  color: #fff;
}

.billing-toggle .save-tag {
  font-size: 0.72rem;
  background: var(--success-soft);
  color: var(--success);
  padding: 1px 7px;
  border-radius: var(--r-full);
  margin-left: 0.35rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface), var(--bg-elev));
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.75rem 1.5rem;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}

.plan:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.plan--featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-primary);
}

.plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--r-full);
  white-space: nowrap;
}

.plan__badge--primary { background: var(--primary); color: #fff; }
.plan__badge--success { background: var(--success); color: #04210f; }

.plan h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
}

.plan__price .amount {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.plan__price .per {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.plan__note {
  font-size: 0.8rem;
  color: var(--success);
  min-height: 1.1rem;
  margin-bottom: 1.25rem;
}

.plan .feature-list {
  flex: 1;
  margin-bottom: 1.5rem;
}

.plan .feature-list i {
  color: var(--primary);
}

/* Scroll snap en móvil para precios */
.scroll-snap {
  scroll-snap-type: x mandatory;
}

/* ---------- Combos ---------- */
.combos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.combo {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.75rem;
  overflow: hidden;
}

.combo::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
}

.combo--info::before { background: var(--info); }
.combo--success::before { background: var(--success); }

.combo__tag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-full);
  margin-bottom: 0.85rem;
}

.combo--info .combo__tag { background: var(--info-soft); color: #93c5fd; }
.combo--success .combo__tag { background: var(--success-soft); color: #86efac; }

.combo h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.combo p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.combo .feature-list {
  flex: 1;
  margin-bottom: 1.5rem;
}

.savings-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.1rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.savings-box .row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  padding: 0.3rem 0;
}

.savings-box .row .pos { color: var(--success); }
.savings-box .row.total {
  border-top: 1px solid var(--border);
  margin-top: 0.4rem;
  padding-top: 0.6rem;
  font-weight: 700;
}

.btn-info {
  background: var(--info);
  color: #fff;
}
.btn-info:hover { background: #2563eb; transform: translateY(-2px); }

.btn-success {
  background: var(--success);
  color: #04210f;
}
.btn-success:hover { background: #16a34a; transform: translateY(-2px); color: #fff; }

.pricing-foot {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 2.5rem;
}

.pricing-foot p + p { margin-top: 0.4rem; }

/* ---------- Testimonios ---------- */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.75rem;
  transition: transform var(--t), border-color var(--t);
}

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

.testimonial .quote-mark {
  font-size: 2.5rem;
  line-height: 0.5;
  color: var(--primary);
  font-family: var(--font-display);
  opacity: 0.5;
}

.testimonial p {
  color: var(--text-muted);
  margin: 1rem 0 1.5rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial__author h4 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

.stars {
  display: inline-flex;
  gap: 1px;
  color: var(--warn);
  font-size: 0.85rem;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--t);
}

.faq-item[aria-expanded="true"],
.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
}

.faq-q i {
  color: var(--primary);
  font-size: 1.3rem;
  transition: transform var(--t);
  flex-shrink: 0;
}

.faq-item.open .faq-q i {
  transform: rotate(180deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t);
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > div {
  overflow: hidden;
}

.faq-a p {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-muted);
}

/* ---------- CTA / Registro ---------- */
.cta {
  position: relative;
  overflow: hidden;
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-lg);
}

.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.cta .check-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0;
  color: var(--text-muted);
}

.cta .check-list i {
  color: var(--success);
}

.form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.field input,
.field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  padding: 0.85rem 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.field input::placeholder { color: var(--text-dim); }

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23a6a6b3' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-msg {
  border-radius: var(--r);
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-msg--error { background: var(--primary-soft); color: #ff8a8a; border: 1px solid rgba(229, 9, 20, 0.3); }
.form-msg--success { background: var(--success-soft); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.3); }

.form .tiny {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
}

/* ---------- Métodos de pago ---------- */
.payments {
  text-align: center;
  padding-block: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--border);
}

.payments p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.payments__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.6rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.pay-chip i { font-size: 1.2rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  padding-block: clamp(3rem, 6vw, 4rem) 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

.footer__brand p {
  color: var(--text-muted);
  margin: 1rem 0 1.25rem;
  max-width: 32ch;
  font-size: 0.95rem;
}

.socials {
  display: flex;
  gap: 0.6rem;
}

.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}

.socials a:hover {
  color: #fff;
  background: var(--primary);
  transform: translateY(-3px);
}

.footer h4 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.footer__col li {
  margin-bottom: 0.6rem;
}

.footer__col a {
  color: var(--text-muted);
  font-size: 0.93rem;
  transition: color var(--t-fast);
}

.footer__col a:hover { color: var(--text); }

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 0.7rem;
}

.footer__contact i {
  color: var(--primary);
  margin-top: 0.15rem;
}

.footer__bottom {
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* ---------- Chatbot ---------- */
.chat-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  color: #fff;
  font-size: 1.5rem;
  box-shadow: var(--shadow-primary);
  transition: transform var(--t-fast);
}

.chat-fab:hover { transform: scale(1.08); }
.chat-fab[hidden] { display: none; }

.chatbot {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 95;
  width: min(360px, calc(100vw - 2rem));
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(16px) scale(0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}

.chatbot.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.chatbot__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  padding: 0.9rem 1.1rem;
}

.chatbot__head h3 {
  font-size: 1rem;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chatbot__head button {
  color: #fff;
  font-size: 1.3rem;
  opacity: 0.85;
}
.chatbot__head button:hover { opacity: 1; }

.chat-messages {
  height: 320px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--bg);
}

.msg {
  display: flex;
  gap: 0.55rem;
  max-width: 85%;
}

.msg__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.msg__bubble {
  background: var(--surface-2);
  padding: 0.7rem 0.9rem;
  border-radius: var(--r);
  border-top-left-radius: 4px;
  font-size: 0.92rem;
}

.msg--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg--user .msg__bubble {
  background: var(--primary);
  border-top-left-radius: var(--r);
  border-top-right-radius: 4px;
}

.chat-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.85rem;
  border-top: 1px solid var(--border);
}

.chat-form input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  padding: 0.7rem 0.9rem;
}

.chat-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.chat-form button {
  width: 44px;
  border-radius: var(--r);
  background: var(--primary);
  color: #fff;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
}

.chat-form button:hover { background: var(--primary-600); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 80;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover { background: var(--primary); border-color: var(--primary); }

/* ---------- Scroll reveal (solo si hay JS) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; }
  .hero p.lead { max-width: none; }
  .cta__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid {
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
  }
  .plan { scroll-snap-align: start; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__actions .btn-ghost { display: none; }
  .combos { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__float { display: none; }
}

/* Hide scrollbar for pricing scroller */
.pricing-grid::-webkit-scrollbar { height: 6px; }
.pricing-grid::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: var(--r-full); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
