:root {
  --navy: #0d1b2a;
  --navy-2: #152236;
  --navy-3: #1e3a52;
  --green: #00e676;
  --green-deep: #00733a;
  --bg: #f0f4f8;
  --surface: #ffffff;
  --border: #c8d8e8;
  --text: #0d1b2a;
  --muted: #4a6a88;
  --on-dark: #ffffff;
  --on-dark-muted: #b9c9d9;
  --focus: #0d1b2a;
  --radius: 6px;
  --font-title: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
[id] { scroll-margin-top: 88px; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--green-deep); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.site-header, .hero, .section-dark, .site-footer, .skip-link { --focus: var(--green); }

h1, h2 { font-family: var(--font-title); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-family: var(--font-body); font-size: 1.15rem; font-weight: 600; line-height: 1.3; margin: 0 0 .4em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.wrap-narrow { max-width: 760px; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--green); color: var(--navy); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 8px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: var(--radius); border: 2px solid transparent; font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--green); color: var(--navy); }
.btn-primary:hover { background: #33ff99; color: var(--navy); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--on-dark); }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 1.05rem; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--on-dark); border-bottom: 1px solid var(--navy-3); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none; font-family: var(--font-title); font-weight: 700; font-size: 1.5rem; letter-spacing: .01em; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav-toggle { display: none; min-height: 44px; padding: 8px 14px; background: transparent; color: var(--on-dark); border: 2px solid var(--navy-3); border-radius: var(--radius); font: 600 .95rem var(--font-body); cursor: pointer; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav ul { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--on-dark-muted); text-decoration: none; font-weight: 500; font-size: .98rem; }
.site-nav a:not(.btn):hover { color: var(--on-dark); }
.lang-switch { border: 1px solid var(--navy-3); border-radius: 999px; padding: 4px 12px; font-size: .85rem !important; letter-spacing: .06em; }

/* Portada */
.hero { background: var(--navy); color: var(--on-dark); padding-block: clamp(48px, 8vw, 96px) clamp(64px, 9vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 5vw, 64px); }
.hero .lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--on-dark-muted); max-width: 34em; }
.hero-actions { margin: 28px 0 20px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.store { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--navy-3); border-radius: var(--radius); color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: .95rem; }
.store:hover { border-color: var(--green); color: var(--green); }
.hero-shots { display: flex; justify-content: center; align-items: flex-start; }
.phone { margin: 0; width: 100%; max-width: 250px; border: 7px solid #0a1220; border-radius: 34px; overflow: hidden; background: #0a1220; box-shadow: 0 28px 60px -22px rgba(0, 0, 0, .6); }
.phone img { display: block; width: 100%; height: auto; }
.phone-front { position: relative; z-index: 1; transform: rotate(-3deg); }
.phone-back { margin-left: -64px; margin-top: 40px; transform: rotate(4deg); opacity: .96; }

/* Secciones */
.section { padding-block: clamp(56px, 9vw, 104px); background: var(--surface); }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-intro { color: var(--muted); font-size: 1.15rem; max-width: 40em; margin-bottom: 2em; }
.section-dark .section-intro { color: var(--on-dark-muted); }

.problem-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 48px); list-style: none; margin: 32px 0 0; padding: 0; }
.problem-list li { border-top: 3px solid var(--navy); padding-top: 18px; }
.problem-list p { color: var(--muted); }
.problem-list .fix { color: var(--text); font-weight: 600; }
.problem-list .fix::before { content: ""; display: inline-block; width: .6em; height: .6em; margin-right: .55em; background: var(--green); }

.shots { display: grid; gap: clamp(40px, 7vw, 80px); margin-bottom: clamp(48px, 7vw, 88px); }
.shot { display: grid; grid-template-columns: minmax(200px, 250px) 1fr; align-items: center; gap: clamp(24px, 6vw, 72px); }
.shot .phone { justify-self: center; }
.shot-rev { grid-template-columns: 1fr minmax(200px, 250px); }
.shot-rev .phone { order: 2; }
.shot h3 { font-family: var(--font-title); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; }
.shot p { color: var(--muted); font-size: 1.1rem; max-width: 30em; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.cards li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.cards p { color: var(--muted); font-size: .98rem; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 48px); list-style: none; counter-reset: step; margin: 32px 0 0; padding: 0; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font: 700 3.6rem/1 var(--font-title); color: var(--green-deep); margin-bottom: 10px; }
.steps p { color: var(--muted); }
.steps-note { margin-top: 32px; font-weight: 600; }

/* Precio */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0 0 24px; padding: 0; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.plan h3 { color: var(--muted); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; }
.price { margin: 0 0 18px; }
.amount { font: 700 clamp(2.4rem, 4vw, 3.2rem)/1 var(--font-title); }
.unit { color: var(--muted); font-size: .95rem; }
.plan .btn { margin-top: auto; }
.plan-featured { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.plan-featured h3, .plan-featured .unit { color: var(--on-dark-muted); }
.plan-featured .amount { color: var(--green); }
.user-def { color: var(--muted); max-width: 46em; }
.included-title { margin-top: 36px; font-family: var(--font-title); font-size: 1.5rem; font-weight: 600; }
.included { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 32px; list-style: none; margin: 0; padding: 0; }
.included li { position: relative; padding-left: 1.4em; }
.included li::before { content: ""; position: absolute; left: 0; top: .55em; width: .6em; height: .6em; background: var(--green); }

/* Preguntas */
details { border-bottom: 1px solid var(--border); }
details:first-of-type { border-top: 1px solid var(--border); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 1.6rem/1 var(--font-body); color: var(--green-deep); }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); margin: 0 0 18px; max-width: 42em; }

/* Formulario */
form { display: grid; gap: 16px; margin-top: 8px; }
label { display: grid; gap: 6px; font-weight: 500; }
input[type="text"], textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--navy-2); color: var(--on-dark); border: 1px solid var(--navy-3); border-radius: var(--radius); font: inherit; }
input[type="text"]:focus, textarea:focus { border-color: var(--green); }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--on-dark-muted); }
.check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--green); flex: none; }
.check a, .form-note a { color: var(--green); }
.form-note { color: var(--on-dark-muted); font-size: .92rem; margin: 0; }
.hp { position: absolute; left: -9999px; }
form .btn { justify-self: start; }

/* Páginas interiores */
.page-head { padding-block: clamp(40px, 7vw, 80px) clamp(56px, 8vw, 96px); }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.page-head .lead { color: var(--muted); font-size: 1.2rem; }
.page-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 1.6em; }
.contact-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; margin: 28px 0; }
.contact-box h2 { margin-top: 0; }
.contact-box p { margin: 0 0 10px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.updated, .app-id { color: var(--muted); font-size: .92rem; }

/* Pie */
.site-footer { background: var(--navy); color: var(--on-dark-muted); padding-block: 40px; font-size: .95rem; }
.footer-row { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: start; }
.footer-brand { font: 700 1.4rem/1 var(--font-title); color: var(--on-dark); margin: 0; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; grid-row: 1; grid-column: 2; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--green); }
.footer-rights { grid-column: 1 / -1; margin: 0; font-size: .85rem; }

/* Móvil y tableta */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-shots { margin-top: 12px; }
  .phone { max-width: 200px; }
  .phone-back { margin-left: -44px; }
  .problem-list, .steps, .plans { grid-template-columns: 1fr; }
  .included { grid-template-columns: 1fr; }
  .shot, .shot-rev { grid-template-columns: 1fr; }
  .shot-rev .phone { order: 0; }
  .footer-row { grid-template-columns: 1fr; }
  .site-footer ul { grid-column: 1; grid-row: auto; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 20px clamp(16px, 4vw, 32px) 24px; background: var(--navy); border-bottom: 1px solid var(--navy-3); }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-nav .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
.steps-download { margin-top: 20px; }
