/* ===== Variables ===== */
:root {
  --black: #0d0f0c;
  --bg: #0f120e;
  --surface: #181c16;
  --surface-2: #1f241c;
  --line: #2a2f26;
  --lime: #c5f82a;
  --lime-dark: #aee014;
  --lime-soft: #d7ff5a;
  --text: #f3f5ef;
  --muted: #9aa295;
  --muted-2: #6e766a;
  --wa: #25d366;
  --wa-dark: #1ebe57;

  /* Light theme */
  --cream: #f4f5ec;
  --cream-card: #ffffff;
  --cream-line: #e2e4d6;
  --ink: #15180f;
  --ink-muted: #5c6353;
  --accent-ink: #56741a;

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1160px;

  --font-display: "Anton", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

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

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 17px 36px;
  font-size: 1.05rem;
}

.btn-accent {
  background: var(--lime);
  color: #15210a;
  box-shadow: 0 14px 30px -12px rgba(197, 248, 42, 0.6);
}

.btn-accent:hover {
  background: var(--lime-soft);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

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

.wa-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 18, 14, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--lime);
  color: #15210a;
  font-family: var(--font-display);
  font-size: 1rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 32px;
  font-size: 0.93rem;
  font-weight: 600;
}

.nav a {
  color: var(--muted);
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--lime);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      100deg,
      var(--black) 18%,
      rgba(13, 15, 12, 0.85) 40%,
      rgba(13, 15, 12, 0.25) 70%,
      rgba(13, 15, 12, 0.55) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-content {
  max-width: 600px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e7eadd;
  font-weight: 700;
  margin-bottom: 22px;
}

.eyebrow .accent {
  color: var(--lime);
}

.hero h1 {
  font-size: clamp(3.2rem, 8.5vw, 6.5rem);
  margin-bottom: 24px;
}

.accent {
  color: var(--lime);
}

.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--muted-2);
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  padding: 18px 22px;
  min-width: 168px;
  background: linear-gradient(160deg, rgba(31, 36, 28, 0.92), rgba(15, 18, 14, 0.92));
  border: 1px solid rgba(197, 248, 42, 0.35);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 34px -20px rgba(0, 0, 0, 0.8);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: var(--lime);
}

.stat-badge:hover {
  transform: translateX(-4px);
  border-color: var(--lime);
}

.stat-num {
  display: block;
  width: 100%;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--lime);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-label {
  display: block;
  width: 100%;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 6px;
}


/* ===== Feature strip ===== */
.feature-strip {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-line);
}

.feature-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 40px;
  padding-bottom: 40px;
}

.fs-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 30px;
  border-left: 1px solid var(--cream-line);
}

.fs-item:first-child {
  border-left: none;
  padding-left: 0;
}

.fs-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #15180f;
}

.fs-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fs-text h4 {
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.fs-text p {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

/* ===== Sections ===== */
.section {
  padding: 96px 0;
}

.section-dark {
  background: var(--surface);
}

.section-head {
  max-width: 620px;
  margin-bottom: 52px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 700;
  margin-bottom: 14px;
}

.section h2 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  margin-bottom: 18px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.08rem;
}

/* ===== Pillars ===== */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.pillar:hover {
  transform: translateY(-5px);
  border-color: var(--lime);
}

.pillar-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--lime);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.pillar h3 {
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  padding-bottom: 14px;
  position: relative;
}

.pillar h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: var(--lime);
}

.pillar p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* ===== Features ===== */
.section-dark .pillar,
.section-dark .feature {
  background: var(--surface-2);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 22px;
}

.feature {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

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

.feature-tag {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--lime);
  letter-spacing: 0.05em;
}

.feature h3 {
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  margin: 10px 0 12px;
}

.feature p {
  color: var(--muted);
  margin-bottom: 16px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.96rem;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(-45deg);
}

/* ===== Limit banner ===== */
.limit-banner {
  position: relative;
  background:
    linear-gradient(90deg, var(--black) 0%, rgba(13, 15, 12, 0.4) 100%),
    var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 0;
}

.limit-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.limit-text h2 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 14px 0 18px;
}

.limit-text p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 28px;
  max-width: 460px;
}

.limit-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.limit-stat {
  background: rgba(15, 18, 14, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.ls-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.3rem;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 8px;
  white-space: nowrap;
}

.ls-label {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ===== Info ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: center;
  text-align: center;
}

.info-emoji {
  font-size: 1.9rem;
}

.info-title {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.info-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.info-card--price {
  background: var(--lime);
  border-color: var(--lime);
}

.info-card--price .info-title {
  color: #2c3a12;
}

.info-card--price .info-text {
  color: #15210a;
  font-size: 2rem;
}

.info-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--lime);
  border-radius: var(--radius-sm);
  padding: 26px 30px;
  color: var(--muted);
  font-size: 1.02rem;
}

.info-note strong {
  color: var(--text);
}

/* ===== Commitment ===== */
.commitment {
  background: var(--surface);
  text-align: center;
}

.commitment-inner {
  max-width: 720px;
  margin: 0 auto;
}

.commitment h2 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  margin-bottom: 30px;
}

.commitment-list {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.commitment-list li {
  padding: 12px 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  color: var(--text);
}

.commitment-sign {
  color: var(--lime);
  font-weight: 500;
}

/* ===== Final CTA ===== */
.final-cta {
  background:
    radial-gradient(120% 140% at 80% 0%, rgba(197, 248, 42, 0.14), transparent 55%),
    var(--bg);
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 36px;
}

.final-cta-text h2 {
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  margin-bottom: 12px;
}

.final-cta-text p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 420px;
}

.final-cta-action {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.price-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--lime);
  line-height: 1;
}

.price-detail {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
}

/* ===== Light theme (secciones claras) ===== */
.theme-light {
  background: var(--cream);
  color: var(--ink);
}

.theme-light h2,
.theme-light h3,
.theme-light h4 {
  color: var(--ink);
}

.theme-light .section-eyebrow {
  color: var(--accent-ink);
}

.theme-light .section-lead,
.theme-light p {
  color: var(--ink-muted);
}

.theme-light .pillar,
.theme-light .feature,
.theme-light .info-card {
  background: var(--cream-card);
  border-color: var(--cream-line);
}

.theme-light .pillar:hover,
.theme-light .feature:hover {
  border-color: var(--accent-ink);
}

.theme-light .feature-tag {
  color: var(--accent-ink);
}

.theme-light .check-list li {
  color: var(--ink);
}

.theme-light .check-list li::before {
  border-color: var(--accent-ink);
}

/* Feature strip claro */
.feature-strip.theme-light {
  background: var(--cream);
  border-color: var(--cream-line);
}

.theme-light .fs-text h4 {
  color: var(--ink);
}

.theme-light .fs-text p {
  color: var(--ink-muted);
}

/* Info note claro */
.theme-light .info-note {
  background: var(--cream-card);
  border-color: var(--cream-line);
  border-left-color: var(--accent-ink);
  color: var(--ink-muted);
}

.theme-light .info-note strong {
  color: var(--ink);
}

/* Tarjeta precio se mantiene en lima */
.theme-light .info-card--price {
  background: var(--lime);
  border-color: var(--lime);
}

.theme-light .info-card--price .info-title {
  color: #2c3a12;
}

.theme-light .info-card--price .info-text {
  color: #15210a;
}

.theme-light .info-card .info-title {
  color: var(--ink-muted);
}

.theme-light .info-card .info-text {
  color: var(--ink);
}

/* CTA final claro */
.final-cta.theme-light {
  background:
    radial-gradient(120% 140% at 85% 0%, rgba(86, 116, 26, 0.12), transparent 55%),
    var(--cream);
  border-top-color: var(--cream-line);
}

.theme-light .price-tag {
  background: var(--lime);
  border-color: var(--lime);
}

.theme-light .price-amount {
  color: #15210a;
}

.theme-light .price-detail {
  color: #3a4a1d;
}

.theme-light .btn-ghost {
  background: rgba(21, 24, 15, 0.04);
  color: var(--ink);
  border: 1px solid rgba(21, 24, 15, 0.45);
}

.theme-light .btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--lime);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: 44px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand .brand-name {
  font-size: 1.4rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--muted-2);
}

/* ===== WhatsApp floating ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.7);
  transition: transform 0.2s ease;
  animation: wa-pulse 2.6s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.7), 0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  70% {
    box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.7), 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.7), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .limit-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feature-strip-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px 0;
  }

  .fs-item:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.6rem);
    overflow-wrap: anywhere;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(13, 15, 12, 0.55) 0%,
      rgba(13, 15, 12, 0.8) 60%,
      var(--black) 100%
    );
  }

  .hero-bg {
    background-position: 70% center;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    gap: 8px;
  }

  .stat-badge {
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
    text-align: center;
    padding: 12px 6px;
  }

  .stat-badge::before {
    left: 8px;
    right: 8px;
  }

  .stat-num {
    font-size: 1.7rem;
  }

  .stat-label {
    font-size: 0.6rem;
    letter-spacing: 0.04em;
    margin-top: 4px;
    overflow-wrap: anywhere;
  }

  .stat-label .sl-1,
  .stat-label .sl-2 {
    display: block;
  }

  .section {
    padding: 64px 0;
  }

  .feature-strip-inner {
    display: none;
  }

  .feature-strip {
    height: 18px;
    padding: 0;
  }

  .final-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .limit-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .limit-stat {
    padding: 18px 14px;
  }

  .ls-num {
    font-size: 1.7rem;
  }

  .ls-label {
    font-size: 0.82rem;
  }
}

@media (max-width: 360px) {
  .hero-stats {
    flex-wrap: wrap;
  }

  .stat-badge {
    flex: 1 1 100%;
    align-items: center;
    text-align: center;
  }

  .stat-label .sl-1,
  .stat-label .sl-2 {
    display: inline;
  }

  .limit-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
