:root {
  --navy: #0E2340;
  --navy-2: #16305A;
  --gold: #B8913A;
  --gold-l: #E8D6A8;
  --card: #F5F1E8;
  --ink: #1F2530;
  --muted: #5B6372;
  --line: #E6DCC4;
  --bg: #FFFFFF;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Lato', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
svg.i { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }

h2 { font-family: var(--serif); color: var(--navy); font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; line-height: 1.15; margin-bottom: 8px; }
h2 span { color: var(--gold); }
.eyebrow { font-size: 13px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.sec { padding: 72px 24px 0; }
.wrap.sec { padding-left: 24px; padding-right: 24px; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 16px; text-decoration: none; padding: 14px 22px; border-radius: 8px; border: 2px solid transparent; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #C9A24B; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { border-color: rgba(232,214,168,.55); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-l); }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn.lg { padding: 16px 26px; font-size: 18px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, .prob:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 21px; color: var(--navy); }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand b { font-weight: 700; }
.brand span { color: var(--gold); }
.brand span b { color: var(--navy); }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a:not(.btn) { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--navy); }
.menu a:not(.btn):hover { color: var(--gold); }
.menu-btn { display: none; background: none; border: 0; color: var(--navy); width: 44px; height: 44px; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }

/* Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--gold); }
.hero::before { content: ""; position: absolute; right: -180px; top: -160px; width: 560px; height: 560px; border-radius: 50%; border: 2px solid rgba(184,145,58,.22); }
.hero-in { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 88px; position: relative; }
.hero h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 54px); line-height: 1.1; font-weight: 700; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 19px; color: #DCE3EE; margin-bottom: 30px; max-width: 580px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-note { font-size: 15px; color: #9FB0C8; font-style: italic; }
.hero-note b { color: var(--gold-l); font-style: normal; }
.hero-logo { background: #fff; border-radius: 50%; aspect-ratio: 1; max-width: 360px; justify-self: center; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(184,145,58,.18), 0 24px 60px rgba(0,0,0,.35); }
.hero-logo img { width: 92%; border-radius: 50%; }

/* Beneficios */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.benefit { display: flex; gap: 12px; align-items: center; padding: 26px 14px 26px 0; }
.benefit + .benefit { padding-left: 18px; border-left: 1px solid var(--line); }
.benefit b { display: block; color: var(--navy); font-size: 16px; line-height: 1.25; }
.benefit small { display: block; color: var(--muted); font-size: 14px; line-height: 1.3; margin-top: 2px; }
.circ { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; color: var(--gold); }
.circ svg { width: 22px; height: 22px; }

/* Autodiagnóstico */
.problems { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 22px 0 22px; }
.prob { display: flex; gap: 12px; align-items: center; background: var(--card); border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; padding: 14px 16px; font-size: 16px; line-height: 1.35; cursor: pointer; transition: background .15s; }
.prob:hover { background: #EFE8D8; }
.prob input { position: absolute; opacity: 0; pointer-events: none; }
.prob .x { flex: 0 0 24px; height: 24px; border-radius: 6px; border: 2px solid var(--navy); background: #fff; display: grid; place-items: center; }
.prob input:checked + .x { background: var(--navy); }
.prob input:checked + .x::after { content: ""; width: 6px; height: 11px; border: solid var(--gold); border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px,-1px); }
.prob:has(input:checked) { background: #EDE3CC; }
.verdict { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border: 1.5px solid var(--gold); border-radius: 12px; }
.remate { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--navy); font-size: 20px; }
.remate span { color: var(--gold); }

/* Auditoría estrella */
.star { background: var(--navy); border-radius: 18px; color: #fff; display: grid; grid-template-columns: 1fr 1.25fr; overflow: hidden; position: relative; }
.star .badge { position: absolute; top: 0; right: 32px; background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; padding: 7px 14px 8px; border-radius: 0 0 8px 8px; }
.star .l { padding: 44px 36px; border-right: 1px solid rgba(232,214,168,.25); }
.star h3 { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); line-height: 1.12; margin-bottom: 6px; }
.star .free { font-family: var(--serif); font-size: 20px; color: var(--gold-l); margin-bottom: 18px; }
.star .free b { color: var(--gold); }
.star .l > p:not(.eyebrow):not(.free) { color: #D3DCE9; margin-bottom: 14px; }
.who { list-style: none; }
.who li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; margin-bottom: 10px; }
.who li i { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font-style: normal; color: var(--navy); font-size: 14px; font-weight: 900; }
.star .r { padding: 56px 36px 36px; }
.star .r h4 { font-size: 13px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.review, .iguala ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.review li, .iguala li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.3; color: #EEF2F8; }
.review li::before, .iguala li::before { content: ""; position: absolute; left: 4px; top: 2px; width: 6px; height: 11px; border: solid var(--gold); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.star .out { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(232,214,168,.25); color: #D3DCE9; }
.star .out b { color: var(--gold-l); }

/* Pasos */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.steps li { counter-increment: s; border-top: 3px solid var(--gold); padding-top: 18px; }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.steps b { font-size: 20px; color: var(--navy); display: block; margin-bottom: 6px; }
.steps p { color: var(--muted); }

/* Servicios */
.band { background: var(--card); margin-top: 72px; padding-bottom: 72px; }
.sols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.sol { background: #fff; border-radius: 12px; padding: 24px 26px; border-top: 5px solid var(--navy); box-shadow: 0 1px 0 var(--line); }
.sol .head { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.sol h3 { font-size: 20px; font-weight: 900; color: var(--navy); line-height: 1.2; }
.sol .benefit-line { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--gold); font-size: 18px; line-height: 1.35; margin-bottom: 10px; }
.sol .inc { font-size: 15px; line-height: 1.6; color: var(--muted); }
.sol .inc b { color: var(--navy); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-right: 6px; }

/* STPS + Iguala */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.inspect { border: 2px solid var(--gold); border-radius: 16px; padding: 32px; }
.inspect h2 { font-size: 26px; }
.inspect .sub { color: var(--muted); font-style: italic; margin-bottom: 18px; }
.boxes { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.boxes li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.boxes li::before { content: ""; flex: 0 0 20px; height: 20px; border: 2px solid var(--navy); border-radius: 4px; }
.inspect .foot-note { margin-top: 20px; }
.inspect .foot-note b { color: var(--navy); }
.iguala { background: var(--navy); color: #fff; border-radius: 16px; padding: 32px; position: relative; overflow: hidden; }
.iguala::before { content: ""; position: absolute; right: -90px; top: -95px; width: 190px; height: 190px; border-radius: 50%; border: 2px solid rgba(184,145,58,.45); }
.iguala h2 { color: #fff; font-size: 28px; }
.iguala .tag { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 18px; margin-bottom: 18px; }
.iguala ul { margin-bottom: 18px; }
.iguala .price { border-top: 1px solid rgba(232,214,168,.3); padding-top: 14px; color: #D3DCE9; margin-bottom: 20px; }
.iguala .price b { color: var(--gold-l); }

/* Giros */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { border: 1.5px solid var(--gold); background: #fff; color: var(--navy); border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 700; }

/* FAQ */
.faq { padding-bottom: 80px; }
.faq h2 { margin-bottom: 20px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: 18px; color: var(--navy); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 400; color: var(--gold); }
details[open] summary::after { content: "–"; }
details p { padding: 0 40px 22px 0; color: var(--muted); max-width: 820px; }

/* CTA / contacto */
.cta { background: var(--navy); color: #fff; border-top: 6px solid var(--gold); padding: 72px 0; }
.cta-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); }
.cta .sub { font-size: 19px; color: #C6D0DF; font-style: italic; margin: 10px 0 26px; }
.cta .sub b { color: var(--gold-l); font-style: normal; }
.contact { list-style: none; display: grid; gap: 16px; }
.contact li { display: flex; gap: 14px; align-items: flex-start; font-weight: 700; }
.contact svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.contact a { text-decoration: none; }
.contact a:hover { color: var(--gold-l); text-decoration: underline; }

/* Footer */
.foot { background: #0A1A30; color: #9FB0C8; font-size: 14px; padding: 22px 0; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.foot b { color: #fff; }
.foot a { color: var(--gold-l); }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; }

/* Responsivo */
@media (max-width: 960px) {
  .menu-btn { display: grid; place-items: center; }
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(14,35,64,.08); }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 14px; justify-content: center; }
  .hero-in { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; padding-bottom: 60px; }
  .hero-logo { max-width: 220px; order: -1; justify-self: start; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(3) { padding-left: 0; border-left: 0; }
  .benefit:nth-child(n+3) { border-top: 1px solid var(--line); }
  .star, .duo, .cta-in { grid-template-columns: 1fr; }
  .star .l { border-right: 0; border-bottom: 1px solid rgba(232,214,168,.25); padding-top: 56px; }
  .star .r { padding-top: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .wrap.sec { padding-left: 16px; padding-right: 16px; }
  .sec { padding-top: 56px; }
  .hero-logo { max-width: 150px; }
  .hero .lead { font-size: 17px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .benefits { grid-template-columns: 1fr; }
  .benefit, .benefit + .benefit { padding: 16px 0; border-left: 0; }
  .benefit + .benefit { border-top: 1px solid var(--line); }
  .problems, .sols, .review, .iguala ul, .boxes, .steps { grid-template-columns: 1fr; }
  .verdict { flex-direction: column; align-items: stretch; text-align: left; }
  .verdict .btn { justify-content: center; }
  .star .l, .star .r, .inspect, .iguala, .sol { padding-left: 22px; padding-right: 22px; }
  .star .badge { right: 22px; }
  .band { margin-top: 56px; padding-bottom: 56px; }
  .cta { padding: 56px 0 90px; }
  .cta .btn { width: 100%; justify-content: center; }
  .contact li { word-break: break-word; }
}


/* ===== Ajustes para celular (logo del inicio y botón de WhatsApp) ===== */
.hero-logo { width: 100%; }
.hero-logo img { height: auto; aspect-ratio: 1 / 1; object-fit: contain; display: block; }
@media (max-width: 960px) { .hero-logo { justify-self: center; } }
@media (max-width: 640px) {
  .hero-logo { max-width: 180px; }
  .wa-float { bottom: 72px; }
}
