:root {
  --esmeralda: #065F46;
  --esmeralda-900: #043D2E;
  --esmeralda-700: #0A7A5A;
  --esmeralda-50: #EEF7F2;
  --oro: #FFC20E;
  --oro-texto: #B98A00;
  --tinta: #13201B;
  --gris: #55635D;
  --linea: #DDE6E1;
  --fondo: #FFFFFF;
  --fondo-suave: #F6FAF8;
  --radio: 14px;
  --max: 1160px;
  --titulo: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --texto: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--texto); color: var(--tinta); background: var(--fondo); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titulo); line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
.contenedor { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.seccion { padding: 96px 0; }
.seccion--suave { background: var(--fondo-suave); }
.etiqueta { display: inline-block; font-family: var(--titulo); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--esmeralda); margin-bottom: 14px; }
.encabezado { max-width: 720px; margin-bottom: 48px; }
.encabezado p { color: var(--gris); margin-top: 14px; font-size: 1.08rem; }
.centro { text-align: center; margin-inline: auto; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--titulo); font-weight: 700; font-size: .98rem; text-decoration: none; padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--oro { background: var(--oro); color: var(--esmeralda-900); box-shadow: 0 6px 18px rgba(255, 194, 14, .35); }
.btn--oro:hover { background: #FFCD3A; }
.btn--linea { border-color: var(--esmeralda); color: var(--esmeralda); background: transparent; }
.btn--linea:hover { background: var(--esmeralda-50); }
.btn--blanco { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--blanco:hover { background: rgba(255,255,255,.1); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linea); }
.header__fila { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.marca { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.marca img { height: 46px; width: 46px; }
.marca__texto { font-family: var(--titulo); font-weight: 700; font-size: 1.55rem; color: var(--esmeralda); line-height: 1; display: flex; flex-direction: column; }
.marca__texto small { font-size: .62rem; font-weight: 600; letter-spacing: .5em; color: var(--oro-texto); margin-top: 5px; }
.footer .marca img { height: 40px; width: 40px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--gris); }
.nav a:hover { color: var(--esmeralda); }
.nav .btn { padding: 11px 20px; font-size: .9rem; color: var(--esmeralda-900); }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--esmeralda); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { padding: 80px 0 96px; background: linear-gradient(180deg, var(--esmeralda-50) 0%, #fff 100%); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { position: relative; z-index: 0; }
.hero h1 em { font-style: normal; color: var(--esmeralda); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; background: var(--oro); opacity: .55; z-index: -1; border-radius: 4px; }
.hero__bajada { font-size: 1.15rem; color: var(--gris); margin: 22px 0 32px; max-width: 560px; }
.hero__acciones { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__confianza { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: var(--gris); font-size: .92rem; }
.hero__confianza span::before { content: "✓"; color: var(--esmeralda); font-weight: 700; margin-right: 8px; }

.tablero { background: #fff; border: 1px solid var(--linea); border-radius: 20px; padding: 26px; box-shadow: 0 24px 60px rgba(6, 95, 70, .14); }
.tablero__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.tablero__top strong { font-family: var(--titulo); font-size: .95rem; }
.tablero__top small { color: var(--gris); font-size: .8rem; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpi { background: var(--fondo-suave); border-radius: 12px; padding: 14px 16px; }
.kpi small { color: var(--gris); font-size: .78rem; display: block; }
.kpi b { font-family: var(--titulo); font-size: 1.35rem; display: block; margin-top: 2px; }
.kpi i { font-style: normal; font-size: .78rem; font-weight: 600; color: var(--esmeralda-700); }
.barras { display: flex; align-items: flex-end; gap: 10px; height: 120px; margin-top: 18px; padding: 14px 16px 0; background: var(--fondo-suave); border-radius: 12px; }
.barras div { flex: 1; background: var(--esmeralda); border-radius: 6px 6px 0 0; opacity: .85; }
.barras div:last-child { background: var(--oro); opacity: 1; }
.tablero__pie { margin-top: 14px; font-size: .8rem; color: var(--gris); }

/* Banda cifras */
.cifras { background: var(--esmeralda); color: #fff; padding: 56px 0; }
.cifras__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cifra b { font-family: var(--titulo); font-size: clamp(1.4rem, 2.3vw, 1.85rem); white-space: nowrap; color: var(--oro); display: block; }
.cifra span { font-size: .95rem; opacity: .9; }

/* Problemas */
.problemas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problema { border: 1px solid var(--linea); border-radius: var(--radio); padding: 24px; background: #fff; }
.problema p { color: var(--gris); margin-top: 8px; font-size: .97rem; }
.problema .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--esmeralda-50); color: var(--esmeralda); display: grid; place-items: center; margin-bottom: 14px; }

/* Servicios */
.servicios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.servicio { background: #fff; border-radius: 18px; padding: 32px; border: 1px solid var(--linea); position: relative; overflow: hidden; }
.servicio::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--esmeralda); }
.servicio:nth-child(2)::before { background: var(--oro); }
.servicio h3 { font-size: 1.3rem; margin: 6px 0 12px; }
.servicio > p { color: var(--gris); }
.servicio ul { list-style: none; margin-top: 18px; display: grid; gap: 9px; }
.servicio li { padding-left: 26px; position: relative; font-size: .96rem; }
.servicio li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid var(--esmeralda); border-bottom: 2.5px solid var(--esmeralda); transform: rotate(-45deg); }
.servicio .num { font-family: var(--titulo); font-weight: 700; color: var(--oro-texto); font-size: .85rem; letter-spacing: .1em; }

/* Planes */
.selector { display: inline-flex; background: #fff; border: 1px solid var(--linea); border-radius: 999px; padding: 5px; margin-bottom: 36px; }
.selector button { border: 0; background: none; font-family: var(--titulo); font-weight: 700; font-size: .9rem; padding: 10px 20px; border-radius: 999px; cursor: pointer; color: var(--gris); }
.selector button[aria-pressed="true"] { background: var(--esmeralda); color: #fff; }
.planes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--linea); border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; position: relative; }
.plan--destacado { border: 2px solid var(--esmeralda); box-shadow: 0 18px 44px rgba(6, 95, 70, .16); }
.plan__badge { position: absolute; top: -13px; left: 24px; background: var(--oro); color: var(--esmeralda-900); font-family: var(--titulo); font-weight: 700; font-size: .75rem; padding: 5px 12px; border-radius: 999px; }
.plan__dedicacion { color: var(--gris); font-size: .88rem; margin-top: 4px; }
.plan__precio { margin: 18px 0 6px; font-family: var(--titulo); }
.plan__precio small { font-size: .8rem; color: var(--gris); font-weight: 500; display: block; }
.plan__precio b { font-size: 2rem; color: var(--esmeralda); }
.plan__precio span { font-size: .9rem; color: var(--gris); }
.plan__nota { font-size: .82rem; color: var(--gris); min-height: 2.6em; }
.plan ul { list-style: none; margin: 18px 0 24px; display: grid; gap: 8px; font-size: .93rem; flex: 1; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: "•"; position: absolute; left: 6px; color: var(--esmeralda); font-weight: 700; }
.plan .btn { justify-content: center; width: 100%; }
.planes__extra { margin-top: 26px; text-align: center; color: var(--gris); }
.planes__extra strong { color: var(--tinta); }

/* Proceso */
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: paso; }
.paso { position: relative; padding-top: 64px; }
.paso::before { counter-increment: paso; content: counter(paso); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--esmeralda); color: var(--oro); font-family: var(--titulo); font-weight: 700; font-size: 1.2rem; display: grid; place-items: center; }
.paso::after { content: ""; position: absolute; top: 23px; left: 58px; right: -12px; height: 2px; background: var(--linea); }
.paso:last-child::after { display: none; }
.paso small { font-family: var(--titulo); font-weight: 700; color: var(--oro-texto); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.paso h3 { margin: 4px 0 8px; }
.paso p { color: var(--gris); font-size: .96rem; }

/* Comparativa */
.tabla-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--linea); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--linea); font-size: .96rem; vertical-align: top; }
th { font-family: var(--titulo); font-size: .85rem; color: var(--gris); background: var(--fondo-suave); }
tr:last-child td { border-bottom: 0; }
tr.nosotros td { background: var(--esmeralda-50); font-weight: 600; }
tr.nosotros td:first-child { color: var(--esmeralda); }

/* Sobre mí */
.sobre { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.foto { aspect-ratio: 4 / 5; border-radius: 22px; background: var(--esmeralda); position: relative; overflow: hidden; display: grid; place-items: center; }
.foto img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.foto__iniciales { font-family: var(--titulo); font-weight: 700; font-size: 5rem; color: var(--oro); }
.foto__sello { position: absolute; left: 18px; bottom: 18px; background: #fff; border-radius: 14px; padding: 12px 16px; font-size: .85rem; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.foto__sello b { font-family: var(--titulo); color: var(--esmeralda); font-size: 1.3rem; display: block; }
.sobre p { color: var(--gris); margin-top: 16px; }
.credenciales { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.credencial { border-left: 3px solid var(--oro); padding: 4px 0 4px 14px; font-size: .92rem; }
.credencial b { display: block; font-family: var(--titulo); font-size: .92rem; }
.herramientas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.herramientas span { background: var(--esmeralda-50); color: var(--esmeralda); font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }

/* Logros */
.logros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.logro { background: #fff; border: 1px solid var(--linea); border-radius: 18px; padding: 28px; }
.logro__cifra { font-family: var(--titulo); font-weight: 700; font-size: 1.9rem; color: var(--esmeralda); }
.logro__antes { font-size: .88rem; color: var(--gris); margin-bottom: 12px; }
.logro__antes s { color: #A33; }
.logro p { color: var(--gris); font-size: .96rem; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
details { background: #fff; border: 1px solid var(--linea); border-radius: 14px; padding: 4px 24px; }
summary { list-style: none; cursor: pointer; font-family: var(--titulo); font-weight: 700; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--esmeralda); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--gris); padding-bottom: 20px; }

/* CTA final */
.cta { background: var(--esmeralda); color: #fff; border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(255, 194, 14, .12); }
.cta p { opacity: .9; margin-top: 14px; font-size: 1.08rem; }
.cta__acciones { display: grid; gap: 12px; position: relative; z-index: 1; }
.cta__acciones .btn { justify-content: center; }
.cta__dato { font-size: .9rem; opacity: .85; text-align: center; }
.cta__dato a { color: var(--oro); }

/* Footer */
.footer { padding: 48px 0 32px; color: var(--gris); font-size: .9rem; }
.footer__fila { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--esmeralda); }
.footer__legal { border-top: 1px solid var(--linea); margin-top: 28px; padding-top: 20px; font-size: .82rem; }

.whatsapp { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.2); z-index: 60; }

/* Responsive */
@media (max-width: 1000px) {
  .planes { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .cifras__grid { grid-template-columns: repeat(2, 1fr); }
  .pasos { grid-template-columns: repeat(2, 1fr); }
  .paso::after { display: none; }
}
@media (max-width: 860px) {
  .seccion { padding: 72px 0; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 20px; gap: 16px; border-bottom: 1px solid var(--linea); }
  .nav.abierto { display: flex; }
  .menu-btn { display: block; }
  .hero__grid, .sobre, .cta { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .problemas, .servicios, .logros { grid-template-columns: 1fr; }
  .foto { max-width: 380px; }
  .cta { padding: 40px 28px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .planes, .pasos, .credenciales, .cifras__grid { grid-template-columns: 1fr; }
  .cifras__grid { gap: 20px; }
  .marca img { height: 38px; width: 38px; }
  .marca__texto { font-size: 1.3rem; }
  .kpi b { font-size: 1.1rem; }
}
