:root {
  --brand: #1f5e4a; --brand-dk: #184c3c; --soft: #dcebe3; --accent: #e8735a;
  --cream: #f6f3ec; --ink: #17201c; --muted: #55605a; --line: #e4dfd3;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; font-size: 16px; line-height: 1.6; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; max-width: 22ch; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--brand); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.small { font-size: .88rem; color: var(--muted); }
section { padding: 88px 0; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .7rem 1.25rem; border-radius: 12px;
  background: var(--brand); color: #fff; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: background .15s, transform .1s; }
.btn:hover { background: var(--brand-dk); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .92rem; }
.btn-lg { min-height: 52px; padding: .85rem 1.5rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-ghost { background: var(--soft); color: var(--brand); }
.btn-ghost:hover { background: #cde2d6; }
.btn-light { background: var(--cream); color: var(--brand); }
.btn-light:hover { background: #fff; }
.btn-outline { background: transparent; color: var(--cream); border-color: rgba(246,243,236,.5); }
.btn-outline:hover { background: rgba(246,243,236,.1); }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--brand); text-decoration: none; font-weight: 800; font-size: 1.4rem; letter-spacing: -.03em; }
.brand span { text-transform: lowercase; }
.nav-links { display: flex; gap: 1.5rem; margin-left: auto; }
.nav-links a, .link-in { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .link-in:hover { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }

/* Hero */
.hero { background: var(--cream); padding: 72px 0 88px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; max-width: 15ch; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 1.25rem 0 2rem; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }

.hero-visual { position: relative; min-height: 440px; }
.mock-card { background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 2px 4px rgba(23,32,28,.04), 0 24px 48px rgba(23,32,28,.10); width: 67%; }
.mock-head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.pill { margin-left: auto; background: var(--soft); color: var(--brand); font-weight: 700; font-size: .8rem; padding: .2rem .6rem; border-radius: 999px; }
.mock-macros { display: grid; gap: .5rem; margin-bottom: 1rem; }
.mock-macros div { display: grid; grid-template-columns: 80px 40px 1fr; align-items: center; gap: .5rem; font-size: .85rem; }
.mock-macros span { color: var(--muted); }
.mock-macros i { display: block; height: 8px; border-radius: 4px; background: var(--brand); opacity: .85; }
.mock-macros div:nth-child(2) i { background: var(--accent); }
.mock-macros div:nth-child(3) i { background: #8fb9a5; }
.mock-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.mock-table th { text-align: left; color: var(--muted); font-weight: 600; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.mock-table td { padding: .4rem 0; border-bottom: 1px solid #f0ede5; }
.mock-table th:not(:first-child), .mock-table td:not(:first-child) { text-align: center; width: 48px; }
.mock-phone { position: absolute; right: 0; top: 70px; width: 178px; background: var(--ink); border-radius: 32px; padding: 10px; box-shadow: 0 24px 48px rgba(23,32,28,.25); }
.mock-screen { background: var(--cream); border-radius: 24px; padding: 18px 14px; min-height: 360px; }
.ms-hi { font-weight: 800; font-size: 1.1rem; }
.ms-sub { color: var(--muted); font-size: .8rem; margin-bottom: .75rem; }
.ms-item { background: #fff; border-radius: 12px; padding: .55rem .7rem; margin-bottom: .5rem; font-size: .76rem; display: grid; }
.ms-item b { font-size: .82rem; }
.ms-item span { color: var(--muted); }
.ms-next { margin-top: .75rem; background: var(--brand); color: #fff; border-radius: 12px; padding: .6rem .7rem; font-size: .78rem; font-weight: 700; }

/* Antes / después */
.pains h2 { margin-bottom: 2.5rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pain { border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: .4rem; align-content: start; }
.pain strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pain .now { color: var(--brand); margin-top: .9rem; }
.pain p { color: var(--ink); }

/* Funciones */
.features { background: var(--cream); }
.features h2 { margin-bottom: 2.5rem; }
.feat { background: #fff; border-radius: 18px; padding: 24px; display: grid; gap: .6rem; align-content: start; }
.feat svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--soft); fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat p { color: var(--muted); font-size: .94rem; }

/* Pasos */
.steps h2 { margin-bottom: 2.5rem; }
.steps ol { list-style: none; padding: 0; margin: 0; }
.steps li { display: grid; gap: .5rem; align-content: start; }
.steps li span { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 800; display: grid; place-items: center; margin-bottom: .4rem; }
.steps li p { color: var(--muted); }

/* Precios */
.pricing { background: var(--cream); }
.sub { color: var(--muted); margin: .75rem 0 2.5rem; }
.prices { align-items: stretch; }
.price { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 1rem; }
.price.top { border: 2px solid var(--brand); }
.ribbon { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; padding: .2rem .7rem; border-radius: 999px; }
.amount { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; }
.amount small { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 0 0 .5rem; display: grid; gap: .5rem; flex: 1; align-content: start; }
.price li { padding-left: 1.6rem; position: relative; }
.price li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }

.prices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 780px; }
.cupo { margin-top: -.4rem; display: inline-block; justify-self: start; background: #fdebe6; color: #8a3320; font-size: .88rem; padding: .25rem .7rem; border-radius: 999px; }
.price { align-items: stretch; }
.price .cupo { align-self: flex-start; }

/* Preguntas */
.faq h2 { margin-bottom: 2rem; }
details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--brand); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { color: var(--muted); margin-top: .6rem; }

/* Cierre y pie */
.final { background: var(--brand); color: var(--cream); }
.final-in { display: grid; gap: 1.75rem; justify-items: start; }
.final h2 { max-width: 20ch; }
.foot { padding: 32px 0; border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.foot p { color: var(--muted); font-size: .9rem; }
.foot nav { display: flex; gap: 1.25rem; margin-left: auto; }
.foot nav a { color: var(--muted); font-size: .9rem; }

/* Responsivo */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { min-height: 0; padding-bottom: 40px; }
  .mock-card { width: 100%; }
  .mock-phone { display: none; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3, .prices.two { grid-template-columns: minmax(0, 1fr); }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 560px) {
  section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }
  .grid4 { grid-template-columns: minmax(0, 1fr); }
  .link-in { display: none; }
  .hero-cta .btn { width: 100%; }
  .foot nav { margin-left: 0; }
}
