:root {
  --bg: #f7f4ee;
  --paper: #fffdf8;
  --ink: #111827;
  --muted: #596274;
  --line: #ded8ca;
  --soft: #eef5ec;
  --soft-2: #e8efe6;
  --green: #22c55e;
  --green-dark: #0f766e;
  --gold: #c99a3b;
  --radius: 26px;
  --shadow: 0 22px 55px rgba(15, 23, 42, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 10%, rgba(34,197,94,.10), transparent 26%),
    radial-gradient(circle at 80% 0%, rgba(201,154,59,.12), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0));
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 5vw;
  background: rgba(247,244,238,.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(222,216,202,.78);
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 230px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--green);
  font-family: "Sora", sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.brand strong { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.brand small { display: block; color: var(--muted); font-size: 12px; }

.nav { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 14px; font-weight: 700; }
.nav a:hover { color: var(--ink); }
.nav-cta { padding: 10px 14px; border-radius: 999px; background: var(--ink); color: #fff !important; }

.section {
  width: min(1180px, calc(100% - 10vw));
  margin: 0 auto;
  padding: 88px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 600;
  letter-spacing: -.035em;
}
h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(39px, 5.6vw, 70px);
  line-height: 1.04;
}
h2 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(29px, 4vw, 50px);
  line-height: 1.09;
}
h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.22;
}
p { color: var(--muted); }

.hero {
  min-height: calc(100vh - 75px);
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 54px;
  align-items: center;
  padding-top: 72px;
}

.hero-text {
  max-width: 680px;
  font-size: 20px;
  line-height: 1.62;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.primary { background: var(--ink); color: #fff; box-shadow: 0 16px 34px rgba(15,23,42,.18); }
.primary:hover { background: #0b1220; box-shadow: 0 20px 40px rgba(15,23,42,.24); }
.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.55); color: var(--ink); }

.hero-visual { position: relative; }
.hero-visual > img {
  width: 100%;
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.control-panel {
  position: relative;
  margin: -84px 26px 0;
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(17,24,39,.94);
  color: #fff;
  box-shadow: var(--shadow);
}
.control-panel h2 {
  margin-bottom: 18px;
  font-size: 24px;
  letter-spacing: -.02em;
}
.pill-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pill-grid a {
  padding: 12px 13px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.06);
  font-size: 14px;
  font-weight: 700;
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease;
}
.pill-grid a:hover {
  transform: translateY(-4px) scale(1.03);
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
  box-shadow: 0 16px 28px rgba(0,0,0,.20);
}

.ticker-section {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}
.ticker-track {
  display: flex;
  gap: 34px;
  width: max-content;
  padding: 17px 0;
  animation: tickerMove 32s linear infinite;
}
.ticker-track span {
  position: relative;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.86);
}
.ticker-track span::after {
  content: "·";
  position: absolute;
  right: -22px;
  color: var(--green);
}
@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.method-intro,
.equation-section,
.target-section,
.about-section,
.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 52px;
  align-items: start;
}
.method-copy p,
.body-copy p,
.contact-copy p {
  font-size: 18px;
  line-height: 1.7;
}

.image-band { padding-top: 24px; padding-bottom: 44px; }
.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  min-height: 280px;
  box-shadow: var(--shadow);
}
.image-card img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}
.image-overlay {
  position: absolute;
  left: 34px;
  bottom: 34px;
  display: grid;
  gap: 4px;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(17,24,39,.86);
  color: #fff;
  backdrop-filter: blur(10px);
}
.image-overlay span { color: rgba(255,255,255,.72); font-size: 14px; font-weight: 700; }
.image-overlay strong { font-family: "Sora", sans-serif; font-size: 25px; letter-spacing: -.03em; }

.blocks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.block-card,
.process-grid > div,
.target-grid > div {
  position: relative;
  overflow: hidden;
  padding: 27px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(15,23,42,.05);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background-color .24s ease;
}
.block-card::before,
.process-grid > div::before,
.target-grid > div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--x, 50%) var(--y, 50%), rgba(34,197,94,.16), transparent 42%);
  opacity: 0;
  transition: opacity .24s ease;
}
.block-card:hover,
.process-grid > div:hover,
.target-grid > div:hover {
  transform: translateY(-8px);
  border-color: rgba(34,197,94,.48);
  background: #ffffff;
  box-shadow: 0 24px 55px rgba(15,23,42,.12);
}
.block-card:hover::before,
.process-grid > div:hover::before,
.target-grid > div:hover::before {
  opacity: 1;
}
.block-card span,
.process-grid span {
  position: relative;
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}
.block-card h3,
.block-card p,
.process-grid h3,
.process-grid p,
.target-grid strong,
.target-grid p {
  position: relative;
}
.block-card p,
.process-grid p,
.target-grid p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.62;
}
.featured {
  background: var(--ink);
  color: #fff;
}
.featured p { color: rgba(255,255,255,.78); }
.featured span { color: var(--green); }
.featured:hover {
  background: #ffffff;
  color: var(--ink);
}
.featured:hover p { color: var(--muted); }

.equation-section {
  width: min(1180px, calc(100% - 10vw));
  padding: 42px;
  border-radius: 34px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.equation-copy p { font-size: 18px; line-height: 1.7; }
.formula {
  display: inline-block;
  margin-top: 10px;
  padding: 15px 17px;
  border-radius: 16px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 900;
}
.chart-card img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 16px 34px rgba(15,23,42,.08);
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.target-grid strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Sora", sans-serif;
  font-size: 18px;
  letter-spacing: -.02em;
}

.before-after { padding-top: 54px; }
.before-after-head { margin-bottom: 28px; }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.compare-card {
  padding: 30px;
  border-radius: 30px;
  border: 1px solid var(--line);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.compare-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(15,23,42,.12);
  border-color: rgba(34,197,94,.48);
}
.before-card { background: var(--paper); }
.after-card { background: var(--ink); color: #fff; }
.after-card li { color: rgba(255,255,255,.78); }
.compare-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.after-card .compare-label {
  background: rgba(34,197,94,.14);
  color: var(--green);
}
.compare-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.about-photo img {
  width: 100%;
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.about-copy .body-copy p {
  font-size: 18px;
  line-height: 1.72;
}

.contact-copy p { max-width: 620px; }
.form {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
label {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}
input, textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
textarea { resize: vertical; }
.hidden { display: none; }
.full { width: 100%; }

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15,23,42,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.social-link:hover {
  transform: translateY(-3px);
  border-color: rgba(34,197,94,.45);
  box-shadow: 0 18px 34px rgba(15,23,42,.11);
}
.social-icon,
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  letter-spacing: -.02em;
}
.social-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 12px;
}
.social-wa { background: #25D366; }
.social-in { background: #0A66C2; }
.social-ig { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4); }

.footer {
  padding: 32px 5vw 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer p,
.footer-socials {
  max-width: 1180px;
  margin-inline: auto;
}
.footer p {
  margin-top: 0;
  margin-bottom: 8px;
}
.footer-socials {
  margin-top: 14px;
  display: flex;
  gap: 12px;
}
.footer-social {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 14px;
  transition: transform .2s ease, opacity .2s ease;
}
.footer-social:hover { transform: translateY(-3px); opacity: .92; }

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 20px 42px rgba(15,23,42,.24);
  transition: transform .2s ease, box-shadow .2s ease;
}
.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 24px 48px rgba(15,23,42,.30);
}
.floating-whatsapp span { font-size: 20px; font-weight: 900; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1020px) {
  .nav { display: none; }
  .hero,
  .method-intro,
  .equation-section,
  .target-section,
  .about-section,
  .contact {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding-top: 58px;
  }
  .blocks-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .compare-grid,
  .target-grid {
    grid-template-columns: 1fr;
  }
  .about-photo {
    max-width: 430px;
  }
}

@media (max-width: 640px) {
  .site-header { padding: 14px 18px; }
  .brand { min-width: 0; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 11px; }
  .section,
  .equation-section {
    width: calc(100% - 36px);
    padding: 62px 0;
  }
  .equation-section {
    padding: 28px 18px;
  }
  h1 { font-size: 39px; }
  h2 { font-size: 30px; }
  .hero-text,
  .method-copy p,
  .body-copy p,
  .contact-copy p,
  .equation-copy p {
    font-size: 16.5px;
  }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .control-panel {
    margin: 16px 0 0;
    padding: 23px;
  }
  .pill-grid,
  .blocks-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .image-overlay {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
  .image-overlay strong { font-size: 20px; }
  .block-card,
  .process-grid > div,
  .target-grid > div,
  .compare-card,
  .form {
    border-radius: 22px;
    padding: 24px;
  }
  .social-links { flex-direction: column; }
  .social-link { width: 100%; }
  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}


/* v12: logos reales y campos de calificación */
.social-icon {
  background: transparent !important;
}

.social-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.footer-social {
  background: transparent !important;
  padding: 0;
  box-shadow: none;
}

.footer-social img {
  width: 42px;
  height: 42px;
  display: block;
}

.floating-whatsapp {
  background: transparent;
  box-shadow: 0 20px 42px rgba(15,23,42,.24);
}

.floating-whatsapp img {
  width: 58px;
  height: 58px;
  display: block;
}

.form input[name="telefono"],
.form input[name="facturacion_ultimo_mes"] {
  border-color: #cfd8cc;
}
