/* ═══════════════════════════════════════════════════════════════════════
   ADFAM 21 - RESPONSIVE TIER-1 (ULTRAWIDE, DESKTOP, LAPTOP, TABLET, MÓVIL)
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --cyan: #06B6D4;
  --cyan-l: #22d3ee;
  --cyan-d: #0891b2;
  --cyan-glow: rgba(6, 182, 212, 0.35);
  
  --blue: #2563eb;
  --blue-l: #60a5fa;
  
  --white: #ffffff;
  --bg: #040407;
  --bg2: #09090f;
  
  --surface: rgba(255, 255, 255, 0.018);
  --surface2: rgba(255, 255, 255, 0.04);
  --surface3: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-cyan: rgba(6, 182, 212, 0.28);
  
  --text: #F8FAFC;
  --text-secondary: #E2E8F0;
  --muted: #64748b;
  --muted2: #94a3b8;
  
  --r: 14px;
  --r2: 20px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip; /* Evita cualquier desborde horizontal sin romper fixed */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

/* ── BARRA DE PROGRESO DE LECTURA ── */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--cyan-l));
  z-index: 9999;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px var(--cyan);
}

/* ── TEXTURA DE FONDO Y LUZ AMBIENTAL ── */
.mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
}

.orb1 {
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  top: -200px;
  left: -150px;
  opacity: .08;
  animation: drift1 20s ease-in-out infinite;
}

.orb2 {
  width: min(600px, 80vw);
  height: min(600px, 80vw);
  background: radial-gradient(circle, var(--blue), transparent 70%);
  bottom: -150px;
  right: -100px;
  opacity: .06;
  animation: drift2 24s ease-in-out infinite;
}

.orb3 {
  width: min(450px, 70vw);
  height: min(450px, 70vw);
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  top: 45%;
  right: 10%;
  opacity: .04;
  animation: drift1 18s ease-in-out infinite reverse;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, 40px); }
}

@keyframes drift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, -40px); }
}

/* ── NAVBAR DINÁMICO ── */
nav {
  position: fixed;
  top: max(16px, env(safe-area-inset-top, 16px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 32px);
  max-width: 1100px;
  background: rgba(5, 5, 8, 0.82);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border-strong);
  border-radius: var(--r2);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

nav.nav-scrolled {
  background: rgba(5, 5, 8, 0.95);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-height: 44px;
}

.nav-name {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-name sup {
  color: var(--cyan);
  font-size: 0.65rem;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: var(--muted2);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover {
  color: var(--cyan);
  background: var(--surface3);
}

.btn-nav {
  background: linear-gradient(135deg, var(--blue), var(--cyan)) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.25);
  border-radius: 10px !important;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px; /* Área táctil accesible */
  height: 44px;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* ── HERO SECTION ── */
.hero {
  min-height: 100vh;
  padding: calc(120px + env(safe-area-inset-top, 0px)) 24px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 1180px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 4vw, 50px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid var(--border-cyan);
  border-radius: 30px;
  padding: 6px 16px;
  margin-bottom: clamp(16px, 3vw, 24px);
  font-size: clamp(0.68rem, 1.8vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

.live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(0.85); }
}

.hero-title {
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title .g {
  background: linear-gradient(135deg, var(--cyan-l), var(--cyan), var(--blue-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--muted2);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  min-height: 48px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.25);
  border: none;
  cursor: pointer;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  min-height: 48px;
  transition: all 0.25s ease;
}

@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(6, 182, 212, 0.4);
  }
  .btn-ghost:hover {
    border-color: var(--cyan);
    background: rgba(6, 182, 212, 0.08);
    color: var(--cyan);
    transform: translateY(-3px);
  }
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 20px);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted2);
}

.trust-val {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--cyan);
}

.trust-sep {
  width: 1px;
  height: 25px;
  background: var(--border);
}

/* ── MOCKUP ── */
.hero-right {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  perspective: 1200px;
}

.hero-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18), transparent 65%);
  pointer-events: none;
}

.mkp-card {
  position: relative;
  width: 100%;
  background: rgba(12, 12, 18, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.8);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.mkp-bar {
  height: 38px;
  background: rgba(5, 5, 7, 0.95);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 7px;
  border-bottom: 1px solid var(--border);
}

.mkp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mkp-title {
  font-family: 'DM Mono', monospace;
  font-size: clamp(0.6rem, 1.8vw, 0.68rem);
  color: var(--muted);
  margin-left: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mkp-status-tag {
  margin-left: auto;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  flex-shrink: 0;
}

.mkp-body {
  display: flex;
  height: 330px;
}

.mkp-sb {
  width: 22%;
  min-width: 50px;
  background: rgba(5, 5, 7, 0.5);
  border-right: 1px solid var(--border);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mkp-ni {
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.mkp-ni.a {
  background: rgba(6, 182, 212, 0.15);
  border-left: 2px solid var(--cyan);
}

.mkp-main {
  flex: 1;
  padding: clamp(14px, 3vw, 20px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.mkp-row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mkp-ht {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--muted2);
  letter-spacing: 0.05em;
}

.mkp-btn-s {
  width: 32px;
  height: 16px;
  border-radius: 4px;
  background: rgba(6, 182, 212, 0.2);
}

.mkp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mkp-c {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: clamp(8px, 2vw, 12px);
}

.mkp-c-ico {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.mkp-c-ico.go { background: rgba(6, 182, 212, 0.2); }
.mkp-c-ico.bl { background: rgba(37, 99, 235, 0.2); }

.mkp-c-lbl {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  width: 60%;
  margin-bottom: 6px;
}

.mkp-c-val {
  font-weight: 700;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
}

.mkp-c-trend {
  font-size: 0.72rem;
  color: var(--cyan);
  margin-top: 4px;
  font-weight: 600;
}

.mkp-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mkp-thead, .mkp-tr {
  display: grid;
  grid-template-columns: 1fr 0.8fr 30px;
  gap: 8px;
  align-items: center;
}

.mkp-th, .mkp-td {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.mkp-td.hi { background: rgba(6, 182, 212, 0.25); }
.mkp-badge-s {
  height: 16px;
  border-radius: 4px;
  background: rgba(6, 182, 212, 0.15);
}

.float-card {
  position: absolute;
  background: rgba(13, 13, 20, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-cyan);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  pointer-events: none;
  z-index: 2;
}

.fc1 { left: 10px; bottom: 15px; }
.fc2 { right: 10px; top: 25px; }
.fc-ico { font-size: 1.1rem; }
.fc-t { font-weight: 600; font-size: 0.82rem; }
.fc-s { font-size: 0.72rem; color: var(--muted2); }

/* ── SPOTLIGHT INTERACTIVO (SOLO EN DISPOSITIVOS CON CURSOR) ── */
.bento-card, .pc, .testi-card, .comment-box-card, .comment-card {
  position: relative;
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .bento-card::before, .pc::before, .testi-card::before, .comment-box-card::before, .comment-card::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, -1000px);
    left: var(--mouse-x, -1000px);
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.16), transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
  }

  .bento-card:hover::before, .pc:hover::before, .testi-card:hover::before, .comment-box-card:hover::before, .comment-card:hover::before {
    opacity: 1;
  }
}

.bento-card > *, .pc > *, .testi-card > *, .comment-box-card > *, .comment-card > * {
  position: relative;
  z-index: 1;
}

/* ── SECCIONES ── */
.section {
  padding: clamp(60px, 8vw, 100px) clamp(16px, 4vw, 24px);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid var(--border-cyan);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}

.sec-title {
  font-weight: 800;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.sec-sub {
  color: var(--muted2);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  max-width: 700px;
  margin-bottom: clamp(32px, 5vw, 50px);
}

/* ── BENTO GRID FLUIDO (3 COLUMNAS BASE) ── */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.5vw, 20px);
  width: 100%;
}

.bento-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 28px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

@media (hover: hover) {
  .bento-card:hover {
    border-color: rgba(6, 182, 212, 0.35);
    transform: translateY(-6px);
  }
}

.bc-wide {
  grid-column: span 2;
}

.bc-custom {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(37, 99, 235, 0.06));
  border-color: rgba(6, 182, 212, 0.35);
}

.custom-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(6, 182, 212, 0.2);
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.bc-custom-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.bc-custom-tags span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 8px;
  color: var(--text-secondary);
}

.bc-ico {
  font-size: clamp(2rem, 3.5vw, 2.3rem);
  margin-bottom: 16px;
  line-height: 1;
}

.bc-content-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
}

.bc-h {
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  margin-bottom: 8px;
  color: var(--text);
}

.bc-p {
  color: var(--muted2);
  font-size: 0.92rem;
  line-height: 1.65;
}

.bc-stats {
  text-align: right;
  flex-shrink: 0;
}

.bc-big {
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--cyan);
}

.bc-tag {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 5px;
}

/* ── PLANES Y SERVICIOS ── */
.price-bg {
  padding: clamp(60px, 8vw, 90px) 0;
}

.price-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}

.pc {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(24px, 3vw, 34px) clamp(20px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

@media (hover: hover) {
  .pc:hover {
    border-color: rgba(6, 182, 212, 0.35);
    transform: translateY(-6px);
  }
}

.pc.pop {
  border-color: rgba(6, 182, 212, 0.35);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.08), rgba(37, 99, 235, 0.04));
}

.pop-tag {
  display: inline-block;
  background: rgba(6, 182, 212, 0.2);
  color: var(--cyan);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  margin-bottom: 12px;
  width: fit-content;
}

.pc-name {
  font-weight: 800;
  font-size: clamp(1.25rem, 2.5vw, 1.4rem);
  margin-bottom: 8px;
}

.pc-desc {
  color: var(--muted2);
  font-size: 0.88rem;
  margin-bottom: 20px;
  line-height: 1.6;
  min-height: 48px;
}

.plan-badge-status {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 24px;
  width: fit-content;
}

.plan-badge-highlight {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.3);
  color: var(--blue-l);
}

.pc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex: 1;
}

.pc-list li {
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.pc-list li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: bold;
}

.btn-pc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  min-height: 48px;
  text-align: center;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-pc-cyan {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.2);
}

.btn-pc-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
}

@media (hover: hover) {
  .btn-pc-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
  }
  .btn-pc-ghost:hover {
    border-color: var(--cyan);
    background: var(--surface2);
  }
}

/* ── CASOS DE ÉXITO ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 20px);
}

.testi-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease;
}

@media (hover: hover) {
  .testi-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.3);
  }
}

.testi-stars {
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.testi-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.testi-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.testi-role {
  color: var(--muted2);
  font-size: 0.78rem;
}

/* ── SECCIÓN DE COMENTARIOS ── */
.comments-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(20px, 3.5vw, 30px);
  align-items: start;
}

.comment-box-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 30px);
}

.comment-lock {
  text-align: center;
  padding: 10px 0;
}

.lock-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.comment-lock h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.comment-lock p {
  color: var(--muted2);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-form.hidden, .comment-lock.hidden {
  display: none !important;
}

.user-active-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted2);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid var(--border-cyan);
  padding: 8px 12px;
  border-radius: 10px;
}

.user-active-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  background: rgba(5, 5, 8, 0.7);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem; /* 16px visual para prevenir zoom automático en Safari iOS */
  padding: 12px 14px;
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(16px, 2.5vw, 22px);
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .comment-card:hover {
    transform: translateY(-3px);
    border-color: rgba(6, 182, 212, 0.25);
  }
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.comment-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  flex-shrink: 0;
}

.comment-author-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.comment-date {
  font-size: 0.75rem;
  color: var(--muted);
}

.comment-stars {
  color: #fbbf24;
  font-size: 0.82rem;
  letter-spacing: 1px;
}

.comment-body {
  color: var(--muted2);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── CTA ── */
.cta-section {
  padding: clamp(70px, 9vw, 100px) clamp(16px, 4vw, 24px) clamp(90px, 11vw, 120px);
  text-align: center;
  position: relative;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(550px, 90vw);
  height: 280px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18), transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-weight: 800;
  font-size: clamp(1.85rem, 4.5vw, 2.8rem);
  margin-bottom: 14px;
}

.cta-sub {
  color: var(--muted2);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  margin-bottom: 30px;
}

/* ── FOOTER & REDES SOCIALES ── */
footer {
  border-top: 1px solid var(--border);
  padding: clamp(50px, 7vw, 70px) clamp(16px, 4vw, 24px) 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1.6fr;
  gap: clamp(24px, 4vw, 30px);
  max-width: 1100px;
  margin: 0 auto clamp(30px, 5vw, 40px);
}

.brand-col { max-width: 320px; }
.ft-brand { font-weight: 800; font-size: 1.6rem; color: var(--text); }
.ft-brand sup { color: var(--cyan); }
.ft-desc { color: var(--muted); font-size: 0.85rem; margin-top: 8px; }
.ft-title { color: var(--text); font-weight: 600; margin-bottom: 12px; font-size: 0.95rem; }

.footer-col a {
  display: block;
  color: var(--muted2);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 8px;
  transition: color 0.2s;
  min-height: 28px;
}

.footer-col a:hover { color: var(--cyan); }

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-item {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  color: var(--muted2) !important;
  text-decoration: none;
  font-size: 0.85rem;
  min-height: 38px;
  transition: all 0.25s ease;
}

.social-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}

.social-item:hover {
  color: var(--cyan) !important;
  transform: translateX(4px);
}

.social-item:hover svg {
  color: var(--cyan);
  transform: scale(1.15);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.75rem;
}

/* ── TOAST NOTIFICATION ── */
.toast {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom, 24px));
  right: max(24px, env(safe-area-inset-right, 24px));
  background: rgba(12, 12, 18, 0.95);
  border: 1px solid var(--cyan);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ── ANIMACIONES REVEAL ── */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS RIGUROSOS
   ═══════════════════════════════════════════════════════════════════════ */

/* Laptops & Tablets Horizontales (1024px a 1280px) */
@media (max-width: 1180px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* Tablets (iPad, Android Tablets: 768px a 1024px) */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
    max-width: 650px;
  }

  .hero-btns, .hero-trust {
    justify-content: center;
  }

  .hero-right {
    max-width: 480px;
  }

  /* Bento en 2 columnas equilibradas */
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bc-wide, .bc-custom {
    grid-column: span 2;
  }

  /* Planes adaptados a 2 columnas en tablet */
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-grid > .pc:last-child {
    grid-column: span 2;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .comments-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

/* Breakpoint Móvil / Tablet Vertical (hasta 820px) */
@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: calc(70px + env(safe-area-inset-top, 0px));
    left: 16px;
    right: 16px;
    background: rgba(12, 12, 18, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1rem;
    padding: 12px 14px;
    min-height: 48px;
  }

  .btn-nav {
    text-align: center;
    justify-content: center;
    margin-top: 8px;
  }
}

/* Smartphones (hasta 640px) */
@media (max-width: 640px) {
  .hero {
    padding-top: calc(105px + env(safe-area-inset-top, 0px));
    padding-bottom: 50px;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-ghost {
    justify-content: center;
    width: 100%;
  }

  .hero-trust {
    gap: 12px;
  }
  .trust-sep {
    height: 20px;
  }

  /* Bento a 1 columna total */
  .bento {
    grid-template-columns: 1fr;
  }
  .bc-wide, .bc-custom {
    grid-column: span 1;
  }
  .bc-content-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .bc-stats {
    text-align: left;
  }

  /* Planes a 1 columna */
  .price-grid {
    grid-template-columns: 1fr;
  }
  .price-grid > .pc:last-child {
    grid-column: span 1;
  }

  /* Mockup adaptado a teléfonos pequeños */
  .hero-right {
    max-width: 100%;
  }
  .mkp-body {
    height: 280px;
  }
  .mkp-sb {
    width: 18%;
    min-width: 42px;
    padding: 12px 6px;
  }
  .mkp-ni {
    height: 22px;
  }
  .mkp-cards {
    gap: 8px;
  }
  .mkp-c-val {
    font-size: 0.95rem;
  }

  /* Tarjetas flotantes compactas */
  .float-card {
    padding: 8px 10px;
    gap: 8px;
  }
  .fc1 { left: 5px; bottom: 5px; }
  .fc2 { right: 5px; top: 10px; }
  .fc-ico { width: 26px; height: 26px; font-size: 0.85rem; }
  .fc-t { font-size: 0.75rem; }
  .fc-s { font-size: 0.65rem; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .brand-col {
    max-width: 100%;
  }

  .toast {
    left: 16px;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom, 16px));
    justify-content: center;
  }
}

/* Pantallas extra pequeñas (iPhone SE, Galaxy A series < 380px) */
@media (max-width: 380px) {
  nav {
    padding: 8px 14px;
  }
  .nav-name {
    font-size: 1.15rem;
  }
  .hero-trust {
    flex-direction: column;
    gap: 8px;
  }
  .trust-sep {
    display: none;
  }
  .pc {
    padding: 20px 16px;
  }
  .custom-pill {
    position: static;
    display: inline-block;
    margin-bottom: 12px;
  }
}