:root {
  --orange: #FF6A1A;
  --orange-dark: #E8380D;
  --orange-light: #FF9552;
  --orange-tint: rgba(255,106,26,0.14);
  --bg: #0A0807;
  --bg-alt: #141110;
  --bg-elevated: #1B1715;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #F6F1EC;
  --text-muted: #A69C93;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0,0,0,0.45);
  --shadow-orange: 0 10px 30px rgba(255,106,26,0.3);
  --font-head: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 700;
}
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); text-align: center; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 12px; color: var(--text-muted); }
ul { margin: 0; padding-left: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
.accent { color: var(--orange); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 0.85rem;
  border-radius: 999px;
  padding: 15px 30px;
  cursor: pointer;
  border: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #14100D;
  box-shadow: var(--shadow-orange);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255,106,26,0.45); }
.btn--lg { padding: 19px 38px; font-size: 0.95rem; }
.btn--block { width: 100%; justify-content: center; }
.btn--nav { padding: 11px 22px; font-size: 0.78rem; }
.btn__arrow { transition: transform .18s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10,8,7,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo-img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }
.nav__logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: 0.3px;
}
.nav__logo-text span { color: var(--orange); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  opacity: 0.8;
}
.nav__links a:not(.btn):hover { opacity: 1; color: var(--orange-light); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--text); display: block; }

/* Icons */
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Hero */
.hero {
  position: relative;
  padding: 130px 0 100px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255,106,26,0.18), transparent 60%), var(--bg);
  overflow: hidden;
}
.hero__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}
.hero__glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,106,26,0.2), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.badge {
  display: inline-block;
  border: 1px solid var(--orange);
  color: var(--orange-light);
  background: var(--orange-tint);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.6px;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 700;
}
.hero__accent { color: var(--orange); }
.hero__sub { font-size: 1.1rem; max-width: 520px; margin-bottom: 28px; }
.hero__note { color: var(--text-muted); font-size: 0.85rem; margin-top: 14px; }
.hero__badges {
  margin: 34px 0 0;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.hero__badges li { position: relative; padding-left: 18px; }
.hero__badges li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

/* Phone mockup */
.hero__col--visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 290px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 32px;
  padding: 14px;
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateY(-8deg) rotateX(3deg);
}
.phone__notch { width: 60px; height: 5px; background: var(--border-strong); border-radius: 3px; margin: 0 auto 12px; }
.phone__header { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; border-bottom: 1px solid var(--border); }
.phone__avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #fff; }
.phone__name { font-size: 0.85rem; font-weight: 600; color: var(--text); margin: 0; }
.phone__status { font-size: 0.7rem; color: var(--text-muted); margin: 0; display: flex; align-items: center; gap: 5px; }
.phone__status .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; display: inline-block; }
.phone__chat { padding: 16px 6px 6px; display: flex; flex-direction: column; gap: 10px; min-height: 260px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 0.8rem; line-height: 1.4; }
.bubble--in { align-self: flex-start; background: var(--bg-alt); color: var(--text); border-bottom-left-radius: 4px; }
.bubble--out { align-self: flex-end; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: #14100D; border-bottom-right-radius: 4px; font-weight: 500; }
.bubble .tick { display: block; text-align: right; font-size: 0.65rem; opacity: 0.7; margin-top: 2px; }
.bubble.typing { display: flex; gap: 4px; padding: 12px 16px; align-items: center; }
.bubble.typing span { width: 5px; height: 5px; border-radius: 50%; background: #14100D; opacity: 0.5; animation: typing 1.2s infinite ease-in-out; }
.bubble.typing span:nth-child(2) { animation-delay: 0.2s; }
.bubble.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }

.stat-chip {
  position: absolute;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.stat-chip__num { font-family: var(--font-head); font-weight: 700; color: var(--orange); font-size: 1.1rem; }
.stat-chip__label { font-size: 0.68rem; color: var(--text-muted); }
.stat-chip--top { top: 0; right: -10px; }
.stat-chip--bottom { bottom: 30px; left: -20px; }

/* Pain */
.pain { padding: 90px 0; position: relative; }
.pain__aurora {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 20% 20%, rgba(255,106,26,0.08), transparent 60%);
  pointer-events: none;
}
.pain h2 { margin-bottom: 44px; }
.pain__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  margin-bottom: 44px;
}
.pain__grid blockquote {
  margin: 0;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  font-style: italic;
  color: var(--text);
  font-size: 0.95rem;
}
.quote-icon { width: 22px; height: 22px; fill: var(--orange); display: block; margin-bottom: 10px; opacity: 0.85; }
.pain__lead {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 500;
}

/* Compare (reutilizado dentro de .pain) */
.compare__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.compare__card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}
.compare__card h3 { color: var(--orange); }
.compare__goal { margin-bottom: 22px; }
.compare__row { border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.compare__row p { margin: 0; color: var(--text); }
.compare__row--before { background: rgba(255,255,255,0.04); }
.compare__row--after { background: var(--orange-tint); }
.compare__tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.compare__tag--after { color: var(--orange-light); }

/* Services */
.services { padding: 90px 0; }
.service-block { margin-bottom: 60px; }
.service-block__title { text-align: center; color: var(--orange-light); }
.service-block__intro { text-align: center; max-width: 560px; margin: 0 auto 34px; }
.service-block__price-note {
  text-align: center;
  max-width: 560px;
  margin: -22px auto 34px;
  font-size: 0.82rem;
  color: var(--orange-light);
  font-weight: 600;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}
.service-grid--single { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
.service-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.service-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--orange-tint);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card__icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card__goal { font-size: 0.88rem; font-style: italic; }
.service-card ul { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.service-card li { position: relative; padding-left: 24px; font-size: 0.9rem; color: var(--text); }
.service-card li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
}
.service-card__price {
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--orange-light);
  font-size: 1rem;
}
.service-card__notice {
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange-light);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.service-card__steps { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; counter-reset: step; }
.service-card__steps > li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  counter-increment: step;
}
.service-card__steps > li::before {
  content: counter(step) ".";
  position: absolute; left: 0; top: 0;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
}
.service-card__steps > li > ul { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.service-card__steps > li > ul > li {
  font-weight: 400;
  padding-left: 20px;
  font-size: 0.86rem;
}
.service-card__steps > li > ul > li::before {
  content: "✓";
  font-size: 0.78rem;
}
.services > .container > .btn { display: flex; width: fit-content; margin: 46px auto 0; }

/* Casos de uso */
.cases { padding: 90px 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cases__eyebrow {
  display: block;
  text-align: center;
  color: var(--orange-light);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.cases h2 { margin-bottom: 12px; }
.cases__intro { text-align: center; max-width: 620px; margin: 0 auto 44px; font-size: 0.95rem; }
.cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.case-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.case-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.case-card__tag {
  display: inline-block;
  background: var(--orange-tint);
  color: var(--orange-light);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.case-card p { font-size: 0.88rem; margin-bottom: 12px; }
.case-card__before strong, .case-card__after strong, .case-card__result strong { color: var(--text); }
.case-card__before { color: var(--text-muted); }
.case-card__after { color: var(--text); }
.case-card .case-card__result {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--orange-light);
  font-size: 0.85rem;
}
.cases__note {
  text-align: center;
  max-width: 640px;
  margin: 40px auto 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

/* Urgency */
.urgency { padding: 100px 0; text-align: center; background: linear-gradient(135deg, var(--orange-dark), var(--orange)); color: #14100D; }
.urgency h2 { color: #14100D; }
.urgency p { color: rgba(20,16,13,0.75); max-width: 560px; margin: 0 auto 32px; font-size: 1.1rem; }
.urgency .btn--primary { background: #14100D; color: var(--orange-light); box-shadow: none; }
.urgency .btn--primary:hover { background: #221b16; }
.urgency .hero__note { color: rgba(20,16,13,0.6); }

/* Propuesta / form */
.propuesta { padding: 100px 0; }
.propuesta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.propuesta__copy h2 { text-align: left; }
.propuesta__form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  display: grid;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.form-row input, .form-row select, .form-row textarea {
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
}
.form-row textarea { resize: vertical; }
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-muted); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--orange); }
.checkbox-group { display: flex; flex-direction: column; gap: 10px; }
.form-row .checkbox-option {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
}
.form-row .checkbox-option:has(input:checked) { border-color: var(--orange); }
.checkbox-option input { width: 18px; height: 18px; accent-color: var(--orange); flex-shrink: 0; }
.form-row__error { display: none; font-size: 0.8rem; color: var(--orange); margin: 0; }
.form-row__error.is-visible { display: block; }
.form-error {
  margin: 4px 0 0;
  padding: 12px 14px;
  background: rgba(232,56,13,0.14);
  border: 1px solid var(--orange-dark);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.85rem;
  text-align: center;
}
.form-error a { color: var(--orange-light); text-decoration: underline; }
.propuesta__confirm {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  text-align: center;
}
.propuesta__confirm h3 { color: var(--orange-light); }

/* Footer */
.founders { padding: 60px 0 10px; text-align: center; }
.founders__title { margin-bottom: 26px; }
.founders__grid { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.founders__card { display: flex; flex-direction: column; gap: 4px; }
.founders__name { font-family: var(--font-head); font-weight: 700; color: var(--text); font-size: 1.05rem; }
.founders__role { color: var(--orange-light); font-size: 0.85rem; }

.footer { background: var(--bg-alt); border-top: 1px solid var(--border); color: var(--text-muted); padding: 34px 0; font-size: 0.85rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--text); }
.footer__logo-img { width: 26px; height: 26px; object-fit: contain; border-radius: 6px; }
.footer__tag { color: var(--text-muted); }

/* Floating buttons */
.fab {
  position: fixed;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.fab:hover { transform: translateY(-3px); }
.fab--services {
  left: 24px; bottom: 24px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #14100D;
  padding: 13px 20px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.fab--whatsapp {
  right: 24px; bottom: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  justify-content: center;
  color: #fff;
}
.icon--wsp { width: 28px; height: 28px; fill: currentColor; stroke: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__col--visual { margin-top: 40px; }
  .propuesta__inner { grid-template-columns: 1fr; }
  .propuesta__copy h2 { text-align: center; }
}
@media (max-width: 720px) {
  .nav__links {
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__toggle { display: flex; }
  .hero { padding: 100px 0 70px; }
  .fab--services span { display: none; }
  .fab--services { padding: 14px; border-radius: 50%; }
  .stat-chip { display: none; }
}
