/* ============================================================================
 * De Marketing · Método Sísmico — landing  (sismico.demarketing.mx)
 * Marca: navy #051C2C + lime #a3e635 (igual que los correos de producción).
 * ==========================================================================*/
:root {
  --navy: #051C2C;
  --navy-2: #0a2c44;
  --navy-soft: #0e3a57;
  --lime: #a3e635;
  --lime-dk: #84cc16;
  --ink: #0b1620;
  --slate: #4a5a68;
  --mist: #f4f7f9;
  --line: #e2e8ee;
  --white: #ffffff;
  --radius: 14px;
  --maxw: 1120px;
  --shadow: 0 10px 40px -12px rgba(5, 28, 44, .25);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--white); line-height: 1.6; font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--navy); font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--navy); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #cfe0ec; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--lime-dk); margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--lime); }
.lead { font-size: 1.2rem; color: var(--slate); max-width: 56ch; }
.section--navy .lead { color: #aac3d6; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: var(--font); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 17px 30px; border-radius: 10px; border: 2px solid transparent;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--lime); color: var(--navy); box-shadow: 0 8px 24px -8px rgba(163,230,53,.6); }
.btn--primary:hover { background: var(--lime-dk); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.section--navy .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { border-color: var(--navy); }
.section--navy .btn--ghost:hover { border-color: var(--lime); }
.btn--lg { padding: 19px 38px; font-size: 1.06rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- nav --- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(5,28,44,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__brand { color: #fff; font-weight: 800; font-size: 1.25rem; letter-spacing: -.5px; text-decoration: none; }
.nav__brand b { color: var(--lime); }
.nav__tag { color: var(--lime); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-left: 10px; }
.nav__cta { display: inline-flex; }
.nav__links { display: flex; gap: 26px; align-items: center; }
.nav__links a { color: #bcd0e0; text-decoration: none; font-size: .94rem; font-weight: 600; }
.nav__links a:hover { color: #fff; }
@media (max-width: 820px) { .nav__links a:not(.btn) { display: none; } }

/* --- hero --- */
.hero {
  background: radial-gradient(1200px 600px at 80% -10%, #0e3a57 0%, var(--navy) 55%);
  color: #fff; padding: 110px 0 100px; position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(90deg, rgba(163,230,53,.07) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero__sub { font-size: 1.28rem; color: #b9cfe0; max-width: 60ch; margin: 22px 0 34px; }
.hero__sub b { color: #fff; }
.hero__reassure { margin-top: 26px; color: #8fb0c6; font-size: .92rem; }
.hero__reassure span { color: var(--lime); }

/* --- problem --- */
.quote-block {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 600; line-height: 1.4;
  color: var(--navy); max-width: 26ch; border-left: 5px solid var(--lime); padding-left: 28px;
}
.quote-block strong { background: linear-gradient(transparent 60%, rgba(163,230,53,.5) 0); }

/* --- mechanism / phases --- */
.mechanism__intro { max-width: 58ch; font-size: 1.18rem; color: var(--slate); margin-bottom: 48px; }
.section--navy .mechanism__intro { color: #aac3d6; }
.mechanism__intro b { color: var(--navy); }
.section--navy .mechanism__intro b { color: #fff; }
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: ph; }
@media (max-width: 900px) { .phases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .phases { grid-template-columns: 1fr; } }
.phase {
  background: rgba(255,255,255,.04); border: 1px solid rgba(163,230,53,.18);
  border-radius: var(--radius); padding: 28px 22px; position: relative;
}
.phase::before {
  counter-increment: ph; content: '0' counter(ph);
  font-size: .82rem; font-weight: 800; color: var(--lime); letter-spacing: .1em;
}
.phase h3 { margin: 10px 0 8px; }
.phase p { color: #9fb9cc; font-size: .96rem; margin: 0; }

/* --- pillars --- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); }
.pillar__n { width: 42px; height: 42px; border-radius: 10px; background: var(--navy); color: var(--lime); display: grid; place-items: center; font-weight: 800; margin-bottom: 16px; }
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: var(--slate); font-size: .98rem; margin: 0; }
.pillar .proof { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--lime-dk); font-weight: 600; }

/* --- proof / numbers --- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
@media (max-width: 880px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 26px 16px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.stat__num { font-size: 2.4rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.stat__lbl { font-size: .9rem; color: var(--slate); margin-top: 6px; }
.case-card { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--lime); border-radius: var(--radius); padding: 28px; margin-top: 22px; }
.is-placeholder { outline: 2px dashed var(--lime-dk); outline-offset: 4px; background: rgba(163,230,53,.06); }
.is-placeholder::after { content: ' PENDIENTE: prueba real (Miguel)'; font-size: .72rem; color: var(--lime-dk); font-weight: 700; }

/* --- two ways --- */
.tiers { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
@media (max-width: 820px) { .tiers { grid-template-columns: 1fr; } }
.tier { border-radius: var(--radius); padding: 36px 32px; }
.tier--lead { background: var(--navy); color: #cfe0ec; border: 2px solid var(--lime); box-shadow: var(--shadow); }
.tier--lead h3 { color: #fff; }
.tier--entry { background: var(--white); color: var(--slate); border: 1px solid var(--line); }
.tier__badge { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.tier--lead .tier__badge { background: var(--lime); color: var(--navy); }
.tier--entry .tier__badge { background: var(--mist); color: var(--slate); }
.tier ul { list-style: none; padding: 0; margin: 18px 0 0; }
.tier li { padding: 9px 0 9px 28px; position: relative; font-size: .98rem; }
.tier li::before { content: '▸'; position: absolute; left: 0; color: var(--lime-dk); font-weight: 800; }
.tier--lead li::before { color: var(--lime); }
.tiers__note { text-align: center; margin-top: 28px; color: var(--slate); font-size: 1.05rem; }
.tiers__note b { color: var(--navy); }

/* --- calculator teaser --- */
.teaser { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%); color: #fff; border-radius: 20px; padding: 56px 48px; text-align: center; box-shadow: var(--shadow); }
.teaser h2 { color: #fff; }
.teaser p { color: #b9cfe0; max-width: 52ch; margin: 0 auto 28px; font-size: 1.12rem; }

/* --- form --- */
.form-card { background: var(--white); border-radius: 20px; padding: 44px; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 620px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 1rem; padding: 13px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime-dk); }
.field textarea { resize: vertical; min-height: 96px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dm-form-msg { min-height: 22px; font-size: .94rem; font-weight: 600; margin-top: 4px; }
.dm-form-msg.is-success { color: var(--lime-dk); }
.dm-form-msg.is-error { color: #d9534f; }
.dm-form-msg.is-sending { color: var(--slate); }
.form-reassure { text-align: center; color: var(--slate); font-size: .88rem; margin-top: 18px; }
.form-reassure span { color: var(--lime-dk); font-weight: 700; }

/* --- footer --- */
.footer { background: var(--navy); color: #7f9cb2; padding: 48px 0; font-size: .9rem; }
.footer a { color: #bcd0e0; text-decoration: none; }
.footer__brand { color: #fff; font-weight: 800; font-size: 1.1rem; }
.footer__brand b { color: var(--lime); }

/* --- calculadora --- */
.calc-wrap { max-width: 720px; margin: 0 auto; }
.calc-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 40px; }
.calc-progress { height: 6px; background: var(--mist); border-radius: 999px; overflow: hidden; margin-bottom: 30px; }
.calc-progress__bar { height: 100%; width: 0; background: var(--lime); transition: width .3s ease; }
.calc-step { display: none; }
.calc-step.is-active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.calc-q { font-size: 1.35rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.calc-hint { color: var(--slate); font-size: .96rem; margin-bottom: 22px; }
.calc-options { display: grid; gap: 12px; }
.calc-opt {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1.5px solid var(--line);
  border-radius: 12px; cursor: pointer; transition: border-color .15s ease, background .15s ease; font-size: 1rem;
}
.calc-opt:hover { border-color: var(--lime-dk); background: rgba(163,230,53,.05); }
.calc-opt.is-sel { border-color: var(--lime-dk); background: rgba(163,230,53,.12); font-weight: 600; }
.calc-opt input { accent-color: var(--lime-dk); width: 18px; height: 18px; }
.calc-nav { display: flex; justify-content: space-between; margin-top: 28px; gap: 12px; }
.calc-back { background: none; border: none; color: var(--slate); font-weight: 600; cursor: pointer; font-family: var(--font); font-size: .95rem; }
.calc-back:disabled { opacity: 0; pointer-events: none; }

/* reading / result */
.reading__gauge { text-align: center; margin: 0 auto 24px; }
.reading__score { font-size: 3.4rem; font-weight: 800; letter-spacing: -.03em; }
.reading__band { font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.band-alto { color: #d9534f; } .band-medio { color: var(--lime-dk); } .band-bajo { color: #2f9e44; }
.reading__bars { display: grid; gap: 14px; margin: 26px 0; }
.reading__bar-lbl { display: flex; justify-content: space-between; font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.reading__track { height: 12px; background: var(--mist); border-radius: 999px; overflow: hidden; }
.reading__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--lime), var(--lime-dk)); transition: width .6s ease; }
.reading__list { list-style: none; padding: 0; margin: 22px 0; }
.reading__list li { padding: 12px 0 12px 30px; position: relative; border-top: 1px solid var(--line); color: var(--slate); }
.reading__list li::before { content: '◢'; position: absolute; left: 0; top: 13px; color: var(--lime-dk); }
.reading__cta { background: var(--mist); border-radius: 14px; padding: 26px; text-align: center; margin-top: 24px; }
.hidden { display: none !important; }
