/* AlejoPavaDigital — Premium light theme */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --surface-alt: #F1F5F9;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --text: #0F172A;
  --muted: #64748B;
  --muted-light: #94A3B8;
  --accent: #E8420A;
  --accent-hover: #D63B0A;
  --accent-soft: #FFF4F0;
  --accent-border: rgba(232, 66, 10, 0.22);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ok: #16A34A;
  --ok-soft: #F0FDF4;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.4px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 14px rgba(232, 66, 10, 0.25);
}
.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(232, 66, 10, 0.3);
}

/* ── HERO ── */
#hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 130px 48px 80px;
  position: relative;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero-noise, .hero-glow, .hero-glow2, .hero-grid { display: none; }
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text);
}
.hero-h1 .ghost {
  color: var(--muted-light);
  -webkit-text-stroke: none;
}
.hero-h1 .acc { color: var(--accent); }
.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 520px;
  margin-top: 20px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 6px 20px rgba(232, 66, 10, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
}
.btn-ghost {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-ghost:hover { color: var(--text); }
.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: var(--surface-alt);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
}
.stat-num em { color: var(--accent); font-style: normal; }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ── SECTIONS ── */
.section { padding: 96px 48px; }
.container { max-width: 1100px; margin: 0 auto; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}
.tag::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
}
.h2 .acc { color: var(--accent); }
.h2 .ghost {
  color: var(--muted-light);
  -webkit-text-stroke: none;
}

/* ── PAIN ── */
#pain { background: var(--surface); }
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.pain-item {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.25s, border-color 0.25s;
}
.pain-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.pain-ico {
  width: 44px; height: 44px;
  margin-bottom: 18px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pain-ico svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; }
.pain-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.pain-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }
.pain-full {
  grid-column: 1 / -1;
  padding: 32px 36px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.pain-full-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}
.pain-full-text em { color: var(--accent); font-style: normal; }

/* ── PROCESO ── */
.proceso-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.proceso-card {
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.proceso-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.pnum {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.04);
  position: absolute;
  top: 12px; right: 16px;
  line-height: 1;
}
.pico {
  width: 44px; height: 44px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pico svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; }
.ptitle {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.pdesc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── SERVICIOS ── */
#servicios { background: var(--surface-alt); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
}
.scard {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.scard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
}
.stag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.t-auto { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-border); }
.t-web { background: #EFF6FF; color: #2563EB; border: 1px solid #BFDBFE; }
.t-crec { background: #F5F3FF; color: #7C3AED; border: 1px solid #DDD6FE; }
.t-eco { background: #FFFBEB; color: #B45309; border: 1px solid #FDE68A; }
.sico { width: 36px; height: 36px; margin-bottom: 14px; }
.sico svg { width: 36px; height: 36px; stroke: var(--accent); fill: none; stroke-width: 1.75; }
.stitle {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.sdesc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── PRECIO ── */
.price-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.price-from { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.price-amount {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -4px;
}
.price-amount sup { font-size: 22px; color: var(--accent); vertical-align: super; }
.price-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.price-feats { display: flex; flex-direction: column; gap: 12px; }
.pfeat { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.pfeat-ck {
  width: 22px; height: 22px;
  flex-shrink: 0;
  background: var(--ok-soft);
  border: 1px solid #BBF7D0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pfeat-ck svg { width: 12px; height: 12px; stroke: var(--ok); fill: none; stroke-width: 3; }
.price-info { display: flex; flex-direction: column; gap: 14px; }
.pinfo-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pinfo-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.pinfo-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── SOBRE ── */
#sobre { background: var(--surface); }
.sobre-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-top: 48px;
}
.sobre-imgbox {
  aspect-ratio: 4/5;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.sobre-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.sobre-quote .acc { color: var(--accent); }
.sobre-body { font-size: 15px; color: var(--muted); line-height: 1.75; }
.sobre-body strong { color: var(--text); font-weight: 600; }
.sobre-body p + p { margin-top: 14px; }
.sobre-body blockquote {
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
}
.sobre-creds {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.cred-n {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}
.cred-l { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── AGENDA ── */
#agenda {
  padding: 96px 48px;
  background: var(--bg);
}
.agenda-inner { max-width: 1100px; margin: 0 auto; }
.agenda-hd { text-align: center; margin-bottom: 40px; }
.agenda-sub {
  font-size: 17px;
  color: var(--muted);
  margin-top: 16px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.tipo-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tipo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
}
.tipo.on {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  color: var(--text);
}
.tipo-dot { width: 7px; height: 7px; border-radius: 50%; }
.d-red { background: var(--accent); }
.cal-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 520px;
  box-shadow: var(--shadow-md);
}

/* ── CTA ── */
#cta-final {
  padding: 96px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
#cta-final::before { display: none; }
.cta-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.cta-h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.cta-h2 .acc { color: var(--accent); }
.cta-sub { font-size: 17px; color: var(--muted); margin-bottom: 32px; }
.cta-sub strong { color: var(--text); }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.btn-big {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(232, 66, 10, 0.3);
  transition: transform 0.2s, background 0.2s;
}
.btn-big:hover { transform: translateY(-2px); background: var(--accent-hover); }
.guarantee {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.guarantee svg { width: 14px; height: 14px; stroke: var(--muted); fill: none; stroke-width: 2; }

/* ── FOOTER ── */
footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}
.flogo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 10px;
}
.flogo em { color: var(--accent); font-style: normal; }
.fdesc { font-size: 13px; color: var(--muted); max-width: 280px; line-height: 1.6; }
.fcol h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 12px;
}
.flinks { display: flex; flex-direction: column; gap: 8px; }
.flinks a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}
.flinks a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1100px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--muted-light);
}

/* ── WA FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 200;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 300;
  padding: 16px 20px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.08);
  display: none;
}
.cookie-banner.on { display: block; }
.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-inner p { font-size: 13px; color: var(--muted); max-width: 640px; }
.cookie-inner a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.cookie-btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.on { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .section, #hero, #agenda, #cta-final { padding: 72px 20px; }
  footer { padding: 40px 20px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-height: 360px; aspect-ratio: 16/10; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .pain-grid, .proceso-grid, .services-grid { grid-template-columns: 1fr; }
  .price-wrap, .sobre-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pain-full { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary { justify-content: center; }
}
