/* =============================================
   NEVOLTA — Landing Asesorías
   Tema: Dark + Teal
   ============================================= */

/* ── Tokens ─────────────────────────────────── */
:root {
  --container: 1120px;
  --headerH: 72px;
  --radius: 18px;
  --radiusLg: 26px;

  /* Brand teal */
  --teal:      #00C5D8;
  --teal-mid:  #00949E;
  --teal-dark: #005F66;
  --teal-glow: rgba(0,197,216,.18);

  /* Backgrounds */
  --bg:  #07070d;
  --bg2: #0a0a14;
  --surface: #0f0f1c;
  --surface2: #141425;

  /* Glass */
  --glass:       rgba(255,255,255,.06);
  --glass2:      rgba(255,255,255,.10);
  --glassBorder: rgba(0,197,216,.22);

  /* Text */
  --text:   rgba(255,255,255,.92);
  --muted:  rgba(255,255,255,.62);
  --muted2: rgba(255,255,255,.42);

  /* Shadows */
  --shadow:     0 24px 64px rgba(0,0,0,.55);
  --shadowSoft: 0 10px 28px rgba(0,0,0,.18);
  --focus:      0 0 0 3px rgba(0,197,216,.35);
}

/* ── Reset ───────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(800px 500px at 10%  8%,  rgba(0,197,216,.14), transparent 60%),
    radial-gradient(800px 500px at 85% 18%,  rgba(0,149,158,.12), transparent 55%),
    radial-gradient(600px 400px at 50% 92%,  rgba(0,197,216,.08), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x: hidden;
}
img { max-width:100%; height:auto; display:block; }
a   { color:inherit; text-decoration:none; }
:focus-visible { outline:none; box-shadow:var(--focus); border-radius:10px; }

/* Noise overlay */
body::before {
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 3px 3px;
  opacity:.05;
}

/* ── Layout ──────────────────────────────────── */
.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

/* ── Header ──────────────────────────────────── */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--headerH);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
}
.header .container { width:98%; max-width:none; }
.header-inner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 12px 20px;
  width: min(1480px, calc(100vw - 40px));
  border-radius: 22px;
  background: var(--glass);
  border: 1px solid var(--glassBorder);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadowSoft);
}
.header.is-scrolled .header-inner {
  background: rgba(7,7,13,.7);
  border-color: rgba(0,197,216,.3);
}
.logo-img { height:38px; width:auto; }

.nav { display:none; gap:4px; }
.nav-link {
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color:#fff; background: var(--glass2); }

.nav-toggle {
  display: flex;
  width:42px; height:42px;
  border-radius:12px;
  background: var(--glass);
  border: 1px solid var(--glassBorder);
  color: var(--text);
  align-items:center; justify-content:center;
  cursor:pointer; flex-direction:column; gap:5px;
}
.nav-toggle-bar {
  display:block; width:20px; height:2px;
  background:currentColor; border-radius:2px;
  box-shadow: 0 6px 0 currentColor, 0 -6px 0 currentColor;
}

.mobile-nav {
  position:fixed;
  top: calc(var(--headerH) + 12px);
  left:20px; right:20px;
  background: rgba(10,10,20,.92);
  border:1px solid var(--glassBorder);
  backdrop-filter:blur(16px);
  border-radius: var(--radius);
  padding:16px;
  display:flex; flex-direction:column; gap:8px;
  z-index:9998;
}
.mobile-nav[hidden] { display:none; }
.mobile-nav-link {
  padding:12px 16px;
  border-radius:12px;
  font-weight:600;
  color:var(--text);
  transition: background .2s;
}
.mobile-nav-link:hover { background: var(--glass2); }

/* ── Hero ────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--headerH) + 60px) 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,197,216,.35);
  background: rgba(0,197,216,.08);
  margin-bottom: 22px;
}
.eyebrow-dot { width:6px; height:6px; border-radius:50%; background:var(--teal); }
.hero-title {
  font-size: clamp(32px, 6vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 20px;
  letter-spacing: -.02em;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--teal), #4DE8F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2.5vw, 19px);
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 36px;
  max-width: 540px;
}
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; }
.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-photo {
  width: min(320px, 85vw);
  height: min(320px, 85vw);
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid rgba(0,197,216,.35);
  box-shadow: 0 0 60px rgba(0,197,216,.2);
}
.hero-badge {
  position: absolute;
  bottom: 16px; right: calc(50% - 160px);
  background: rgba(0,197,216,.12);
  border: 1px solid rgba(0,197,216,.3);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  white-space: nowrap;
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, opacity .18s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-mid));
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,197,216,.35);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(0,197,216,.5); }
.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid rgba(0,197,216,.4);
}
.btn-outline:hover { background: rgba(0,197,216,.08); }
.btn-lg { font-size:18px; padding:17px 36px; border-radius:16px; }
.btn-cta-final { font-size:17px; padding:16px 32px; }

/* ── Section base ────────────────────────────── */
.section { padding: 96px 0; }
.section-alt { background: rgba(0,197,216,.03); }
.section-header { text-align:center; margin-bottom:60px; }
.section-eyebrow {
  font-size:12px; font-weight:700; letter-spacing:.1em;
  text-transform:uppercase; color:var(--teal);
  margin-bottom:12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -.02em;
}
.section-title .accent-teal {
  background: linear-gradient(135deg, var(--teal), #4DE8F6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size:17px; color:var(--muted);
  max-width:560px; margin:0 auto;
  line-height:1.7;
}
.title-strong { font-weight:800; color:#fff; }

/* ── Pain section ────────────────────────────── */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.pain-card {
  background: var(--glass);
  border: 1px solid rgba(255,60,60,.18);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pain-icon { font-size:22px; flex-shrink:0; margin-top:2px; }
.pain-text { font-size:15px; color:var(--muted); line-height:1.6; }

/* ── Modules grid ────────────────────────────── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.module-card {
  background: var(--surface);
  border: 1px solid var(--glassBorder);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: transform .2s, border-color .2s;
}
.module-card:hover { transform:translateY(-4px); border-color:rgba(0,197,216,.45); }
.module-num {
  font-size:11px; font-weight:700; letter-spacing:.08em;
  color:var(--teal); margin-bottom:10px; text-transform:uppercase;
}
.module-icon { font-size:26px; margin-bottom:10px; }
.module-title { font-size:16px; font-weight:700; margin:0 0 8px; }
.module-desc  { font-size:13px; color:var(--muted); line-height:1.6; }

/* ── About ───────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.about-photo-wrap { display:flex; justify-content:center; }
.about-photo {
  width: min(280px, 80vw);
  height: min(280px, 80vw);
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid rgba(0,197,216,.4);
  box-shadow: 0 0 60px rgba(0,197,216,.2);
}
.about-name { color:var(--teal); }
.about-lead {
  font-size:17px; color:var(--muted);
  line-height:1.75; margin:16px 0 24px;
}
.creds-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:28px;
}
.cred-item {
  background:var(--surface);
  border:1px solid var(--glassBorder);
  border-radius:14px;
  padding:16px;
  text-align:center;
}
.cred-n { font-size:26px; font-weight:800; color:var(--teal); }
.cred-l { font-size:12px; color:var(--muted); margin-top:4px; }

/* ── Bonus card ──────────────────────────────── */
.bonus-banner {
  background: linear-gradient(135deg, rgba(0,197,216,.12), rgba(0,149,158,.08));
  border: 1px solid rgba(0,197,216,.35);
  border-radius: var(--radiusLg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}
.bonus-icon { font-size:40px; flex-shrink:0; }
.bonus-text h4 { font-size:17px; font-weight:700; margin:0 0 6px; color:var(--teal); }
.bonus-text p  { font-size:14px; color:var(--muted); margin:0; line-height:1.6; }

/* ── Testimonials rail ───────────────────────── */
.gallery-section {
  padding: 80px 0;
  overflow: hidden;
}
.workRail {
  display:flex; gap:20px;
  overflow-x:auto;
  scroll-snap-type: x mandatory;
  scrollbar-width:none;
  padding: 16px 20px 20px;
  cursor:grab;
}
.workRail::-webkit-scrollbar { display:none; }
.workRail.is-dragging { cursor:grabbing; user-select:none; }
.workCard {
  flex-shrink:0;
  width: min(320px, 85vw);
  height: 220px;
  border-radius:20px;
  overflow:hidden;
  scroll-snap-align:start;
  border:1px solid var(--glassBorder);
  box-shadow: var(--shadowSoft);
  transform: rotate(var(--rot, 0deg));
  transition: transform .3s;
}
.workCard:hover { transform: rotate(0deg) scale(1.02); }
.workCard__bg {
  width:100%; height:100%;
  background-size:cover;
  background-position:top center;
  background-repeat:no-repeat;
}

/* ── Pricing ─────────────────────────────────── */
.pricing-wrap {
  max-width:520px; margin:0 auto;
}
.pricing-card {
  background: var(--surface);
  border: 1.5px solid rgba(0,197,216,.4);
  border-radius: var(--radiusLg);
  padding: 40px 36px;
  box-shadow: 0 0 60px rgba(0,197,216,.1);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content:"";
  position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-mid));
}
.pricing-badge {
  display:inline-block;
  font-size:11px; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:#fff;
  background:linear-gradient(135deg,var(--teal),var(--teal-mid));
  border-radius:999px; padding:5px 14px;
  margin-bottom:20px;
}
.pricing-name { font-size:24px; font-weight:800; margin:0 0 8px; }
.pricing-sub  { font-size:14px; color:var(--muted); margin:0 0 28px; }
.pricing-price {
  font-size:52px; font-weight:800;
  color:var(--teal);
  line-height:1; margin-bottom:6px;
}
.pricing-period { font-size:14px; color:var(--muted); margin-bottom:32px; }
.pricing-list {
  list-style:none; padding:0; margin:0 0 32px;
  display:flex; flex-direction:column; gap:12px;
}
.pricing-list li {
  display:flex; align-items:flex-start; gap:10px;
  font-size:15px; color:var(--muted); line-height:1.5;
}
.pricing-list li::before { content:"✓"; color:var(--teal); font-weight:800; flex-shrink:0; }
.pricing-list li strong { color:#fff; }
.pricing-cta { width:100%; justify-content:center; font-size:17px; padding:16px; border-radius:14px; }

/* ── FAQ ─────────────────────────────────────── */
.faq-list { max-width:680px; margin:0 auto; display:flex; flex-direction:column; gap:14px; }
.faq-item {
  background:var(--surface);
  border:1px solid var(--glassBorder);
  border-radius:16px; overflow:hidden;
}
.faq-q {
  width:100%; text-align:left;
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:20px 24px;
  font-family:inherit; font-size:16px; font-weight:600; color:#fff;
  background:none; border:none; cursor:pointer;
}
.faq-q:hover { background:var(--glass); }
.faq-chevron { font-size:18px; color:var(--teal); transition:transform .25s; flex-shrink:0; }
.faq-item.open .faq-chevron { transform:rotate(45deg); }
.faq-a { padding:0 24px; max-height:0; overflow:hidden; transition:max-height .35s, padding .25s; }
.faq-item.open .faq-a { max-height:200px; padding-bottom:20px; }
.faq-a p { margin:0; font-size:15px; color:var(--muted); line-height:1.7; }

/* ── CTA Final ───────────────────────────────── */
.section-cta {
  text-align:center;
  padding:100px 0;
}
.cta-inner h2 { font-size:clamp(28px,5vw,48px); font-weight:800; margin:0 0 16px; }
.cta-inner p  { font-size:18px; color:var(--muted); margin:0 0 40px; }

/* ── Reveal ──────────────────────────────────── */
.reveal-on-scroll { opacity:0; transform:translateY(30px); transition:opacity .55s, transform .55s; }
.reveal-on-scroll.is-visible { opacity:1; transform:none; }

/* ── Footer ──────────────────────────────────── */
.footer {
  border-top:1px solid var(--glassBorder);
  padding:32px 0;
}
.footer-inner {
  display:flex; align-items:center;
  justify-content:space-between; flex-wrap:wrap; gap:16px;
}
.footer-small { font-size:13px; color:var(--muted2); margin:4px 0 0; }

/* ── Responsive ──────────────────────────────── */
@media(min-width:720px){
  .nav { display:flex; }
  .nav-toggle { display:none; }
  .hero-grid { grid-template-columns:1fr 1fr; }
  .hero-title { font-size:clamp(36px,5vw,62px); }
  .about-grid { grid-template-columns:280px 1fr; }
  .hero-photo { width:360px; height:360px; }
  .about-photo { width:280px; height:280px; }
}

@media(min-width:1024px){
  .modules-grid { grid-template-columns:repeat(4,1fr); }
  .creds-grid   { grid-template-columns:repeat(4,1fr); }
}
