:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eff6ff;
  --accent: #f97316;
  --accent-soft: #fff7ed;
  --ink: #0f172a;
  --text: #1f2937;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --error: #b91c1c;
  --ok: #15803d;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 25px 60px rgba(15, 23, 42, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }
[hidden] { display: none !important; }

.container { width: min(1160px, 100% - 2rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2rem); }
.center { text-align: center; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .6rem 1rem; border-radius: 8px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--primary); color: #fff !important; border: 2px solid var(--primary);
  border-radius: 12px; padding: .75rem 1.4rem; font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  cursor: pointer; text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37, 99, 235, .25); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.btn-small { padding: .5rem 1rem; font-size: .9rem; border-radius: 10px; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-ghost { background: #fff; color: var(--primary) !important; border-color: var(--border); }
.btn-ghost:hover { background: var(--primary-soft); border-color: var(--primary); box-shadow: none; }
.btn-secondary { background: #fff; color: var(--primary) !important; border: 2px solid var(--primary); }
.btn-secondary:hover { background: var(--primary-soft); }
.btn-light { background: #fff; color: var(--primary) !important; border-color: #fff; }
.btn-light:hover { background: var(--primary-soft); border-color: var(--primary-soft); }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: .7rem 0; gap: 1rem; }
.logo { display: flex; align-items: center; }
.logo img { display: block; width: 200px; height: auto; }
.site-header nav { display: flex; gap: 1.6rem; align-items: center; }
.nav-link { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-link:hover { color: var(--primary); }
.cta-short { display: none; }

/* ---------- Portada ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(37, 99, 235, .14), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(249, 115, 22, .10), transparent 40%),
    var(--bg-alt);
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pill {
  display: inline-block; margin: 0 0 1.2rem; padding: .35rem .9rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); color: var(--muted); font-size: .88rem; font-weight: 600;
}
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); margin: 0 0 1.2rem; font-weight: 800; }
.hl { color: var(--primary); position: relative; z-index: 0; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .18em; background: var(--accent); border-radius: 4px; opacity: .85; z-index: -1; }
.hero-text { font-size: 1.15rem; color: var(--muted); margin: 0 0 2rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.checks { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: .6rem 1.6rem; color: var(--text); font-weight: 600; font-size: .95rem; }
.checks li::before { content: "✓"; color: #fff; background: var(--ok); border-radius: 50%; width: 1.25rem; height: 1.25rem; display: inline-grid; place-items: center; font-size: .75rem; margin-right: .45rem; }

.hero-visual { position: relative; min-height: 420px; }
.mock { position: absolute; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.mock img { display: block; width: 100%; height: auto; }
.mock-bar { display: flex; gap: 6px; padding: 9px 12px; background: #f1f5f9; border-bottom: 1px solid var(--border); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mock-bar span:nth-child(1) { background: #f87171; }
.mock-bar span:nth-child(2) { background: #fbbf24; }
.mock-bar span:nth-child(3) { background: #34d399; }
.mock-main { width: 88%; top: 0; right: 0; transform: rotate(1.5deg); }
.mock-second { width: 58%; bottom: 0; left: 0; transform: rotate(-3deg); }
.float-badge {
  position: absolute; display: flex; align-items: center; gap: .55rem; z-index: 2;
  background: #fff; border-radius: 999px; padding: .55rem 1rem .55rem .55rem; font-weight: 700; font-size: .9rem;
  box-shadow: var(--shadow); border: 1px solid var(--border); color: var(--ink); white-space: nowrap;
}
.badge-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.badge-google { top: 38%; left: -4%; }
.badge-google .badge-ico { background: var(--primary-soft); color: var(--primary); }
.badge-wa { bottom: 8%; right: 2%; }
.badge-wa .badge-ico { background: #dcfce7; color: #16a34a; }

/* ---------- Sectores ---------- */
.sectors { border-bottom: 1px solid var(--border); background: #fff; }
.sectors-inner { display: flex; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; padding: 1.4rem 0; }
.sectors-inner > p { margin: 0; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.sectors ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.sectors li { display: flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); font-weight: 600; color: var(--ink); }
.sectors li svg { color: var(--primary); }

/* ---------- Secciones ---------- */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(2.2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); margin: .3rem 0 .8rem; font-weight: 800; }
.eyebrow { margin: 0; color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.lead { color: var(--muted); font-size: 1.08rem; margin: 0; }
.note { text-align: center; color: var(--muted); font-size: .9rem; margin: 2rem 0 0; }

/* Ventajas */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.benefit { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem 1.5rem; transition: transform .2s, box-shadow .2s; }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit h3 { margin: 1rem 0 .5rem; font-size: 1.15rem; }
.benefit p { margin: 0; color: var(--muted); }
.icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; }
.icon-blue { background: var(--primary-soft); color: var(--primary); }
.icon-green { background: #dcfce7; color: #16a34a; }
.icon-orange { background: var(--accent-soft); color: var(--accent); }
.icon-purple { background: #f3e8ff; color: #9333ea; }

/* Servicios */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 2rem 1.7rem; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.35rem; margin: 0 0 .4rem; }
.plan-desc { color: var(--muted); margin: 0 0 1.4rem; }
.plan-list { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .7rem; flex: 1; }
.plan-list li { display: flex; gap: .6rem; align-items: flex-start; }
.plan-list li::before { content: "✓"; flex: none; color: var(--primary); font-weight: 800; }
.plan-featured { border: 2px solid var(--primary); box-shadow: 0 20px 45px rgba(37, 99, 235, .15); position: relative; }
.plan-tag { position: absolute; top: -14px; left: 1.7rem; margin: 0; background: var(--primary); color: #fff; padding: .25rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 700; }

.plan-price { margin: 0 0 1.4rem; font-size: 2.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.plan-price span { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan-price small { font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }

.addons { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.addon-block { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 1.8rem 1.7rem; }
.addon-block h3 { margin: 0 0 .3rem; font-size: 1.3rem; }
.addon-intro { margin: 0 0 1.3rem; color: var(--muted); }
.maint { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.maint-card { border: 1px solid var(--border); border-radius: 14px; padding: 1.2rem; }
.maint-plus { border-color: var(--primary); background: var(--primary-soft); }
.maint-name { margin: 0; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.maint-price { margin: .2rem 0 1rem; font-size: 1.7rem; font-weight: 800; color: var(--ink); }
.maint-price small { font-size: .85rem; font-weight: 600; color: var(--muted); }
.maint .plan-list { margin: 0; gap: .5rem; font-size: .95rem; }
.extras-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.extras-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px dashed var(--border); }
.extras-list b { color: var(--ink); white-space: nowrap; }
.addon-note { margin: 0; padding: .8rem 1rem; border-radius: 12px; background: var(--accent-soft); color: #7c2d12; font-size: .93rem; }

.pay-strip { display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.5rem; padding: 1.1rem 1.4rem; border-radius: 16px; background: #fff; border: 1px solid var(--border); }
.pay-strip p { margin: 0; color: var(--text); }
.pay-ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #dcfce7; color: #16a34a; }

/* Marcadores de datos pendientes de rellenar */
.todo { background: #fef3c7; color: #92400e; border: 1px dashed #f59e0b; border-radius: 6px; padding: 0 .35rem; font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Comparativa con Wix y similares */
.compare-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: .95rem; color: var(--muted); background: var(--bg-alt); }
.compare thead .compare-us { color: #fff; background: var(--primary); }
.compare tbody th { color: var(--ink); width: 22%; }
.compare td.compare-us, .compare td:last-child { background: var(--primary-soft); font-weight: 600; color: var(--ink); }
.compare .no, .compare .yes { display: inline-grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; font-size: .75rem; margin-right: .4rem; color: #fff; font-weight: 800; }
.compare .no { background: #f87171; }
.compare .yes { background: var(--ok); }

/* Pack todo incluido */
.pack {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: center; margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--primary), #1e3a8a); color: #e0e7ff; border-radius: 20px; padding: clamp(1.6rem, 4vw, 2.4rem);
}
.pack h3 { color: #fff; font-size: 1.6rem; margin: .4rem 0 .5rem; }
.pack p { margin: 0 0 1rem; }
.pack-tag { display: inline-block; background: var(--accent); color: #fff; padding: .25rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin: 0 !important; }
.pack-list { margin: 0; gap: .55rem; }
.pack-list li::before { color: #fdba74; }
.pack-cta { text-align: center; }
.pack-price { font-size: 1.1rem; margin: 0 0 1rem !important; display: inline-block; }

/* Pagos online */
.pay-uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.pay-use { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.4rem; display: flex; flex-direction: column; }
.pay-use h3 { margin: 1rem 0 .4rem; font-size: 1.12rem; }
.pay-use p { margin: 0 0 .8rem; color: var(--muted); }
.pay-for { margin-top: auto !important; margin-bottom: 0 !important; font-size: .85rem; font-weight: 700; color: var(--primary) !important; }
.pay-info { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; margin: 1.8rem 0 2.2rem; }
.pay-methods { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 1.7rem; }
.pay-methods h3 { margin: 0 0 1rem; font-size: 1.15rem; }
.chips { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .45rem .95rem; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); font-weight: 700; color: var(--ink); font-size: .92rem; }
.pay-platforms { margin: 0 0 .6rem; }
.pay-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pay-trust li { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--ok); border-radius: 14px; padding: 1.1rem 1.2rem; display: grid; gap: .3rem; }
.pay-trust strong { color: var(--ink); }
.pay-trust span { color: var(--muted); font-size: .95rem; }

/* Testimonios */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testimonial { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.testimonial blockquote { margin: 0; font-size: 1.02rem; color: var(--text); }
.testimonial blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--primary); font-family: Georgia, serif; margin-bottom: .4rem; }
.testimonial figcaption { display: grid; gap: .3rem; margin-top: auto; font-size: .92rem; }
.testimonial figcaption span { color: var(--muted); }

/* WhatsApp */
.btn-outline-light { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .7); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; box-shadow: none; }
.btn-wa { background: #16a34a; border-color: #16a34a; }
.btn-wa:hover { background: #15803d; border-color: #15803d; box-shadow: 0 8px 20px rgba(22, 163, 74, .3); }
.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 30; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #16a34a; color: #fff; box-shadow: 0 10px 25px rgba(22, 163, 74, .35);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.contact-data { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .3rem; color: #dbeafe; }
.contact-data a { color: #fff; }
.contact-data .todo, .footer-zone { font-size: .9rem; }
.cta-actions { display: flex; flex-direction: column; gap: .7rem; }
.footer-zone { color: #cbd5e1; }

/* Ejemplos */
.examples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
.example-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.example-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.example-img { display: block; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.example-img img { display: block; width: 100%; height: auto; }
.example-body { padding: 1.3rem 1.5rem 1.6rem; }
.example-tag { display: inline-block; margin: 0; padding: .2rem .7rem; border-radius: 999px; background: var(--accent-soft); color: #c2410c; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.example-body h3 { margin: .6rem 0 .3rem; font-size: 1.3rem; }
.example-body p { margin: 0 0 .9rem; color: var(--muted); }
.example-link { color: var(--primary); font-weight: 700; text-decoration: none; }
.example-link:hover { text-decoration: underline; }

/* Proceso */
.section-dark { background: linear-gradient(135deg, #0f172a, #1e3a8a); color: #e2e8f0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #cbd5e1; }
.section-dark .eyebrow { color: #fdba74; }
.steps-list { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: none; }
.steps-list li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 1.6rem 1.4rem; }
.steps-list h3 { margin: 1rem 0 .4rem; font-size: 1.12rem; }
.steps-list p { margin: 0; color: #cbd5e1; }
.step-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 800; font-size: 1.2rem; }

/* Preguntas */
.faq { display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 0 1.3rem; }
.faq details[open] { border-color: var(--primary); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.2rem; color: var(--muted); }

/* Llamada final */
.cta-band { background: linear-gradient(135deg, var(--primary), #1e40af); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.cta-band p { margin: 0; color: #dbeafe; }
.cta-actions .btn { word-break: break-all; }

/* Pie */
.site-footer { background: var(--ink); color: #94a3b8; padding: 3.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand img { display: block; width: 200px; height: auto; }
.footer-brand p { margin: 1rem 0 0; max-width: 22rem; }
.footer-col { display: flex; flex-direction: column; gap: .5rem; }
.footer-col h3 { color: #fff; font-size: .95rem; margin: 0 0 .4rem; letter-spacing: 0; }
.footer-col a { color: #cbd5e1; text-decoration: none; word-break: break-word; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 1.3rem 0; font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* Página legal */
.legal { padding: 3rem 0; }

/* ---------- Formulario ---------- */
form { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 1.8rem; box-shadow: var(--shadow); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 1.2rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.field label { font-weight: 600; margin-bottom: .3rem; font-size: .95rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font: inherit; padding: .7rem .8rem; border: 1px solid #cbd5e1;
  border-radius: 10px; background: #fff; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.error-msg { color: var(--error); font-size: .85rem; margin-top: .25rem; }

.field.check { flex-direction: row; gap: .6rem; align-items: flex-start; }
.field.check label { font-weight: 400; margin: 0; }
.field.check input { margin-top: .35rem; width: 1.1rem; height: 1.1rem; flex: none; }

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

#form-status { margin: 1rem 0 0; font-weight: 600; }
#form-status.ok { color: var(--ok); }
#form-status.error { color: var(--error); }

.progress { margin-bottom: 1.5rem; }
.progress-text { margin: 0 0 .5rem; font-weight: 600; font-size: .95rem; }
.progress-bar { height: 8px; background: #e2e8f0; border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; width: 10%; background: linear-gradient(90deg, var(--primary), #60a5fa); transition: width .3s ease; }

.step h3 { margin: 0 0 .3rem; font-size: 1.3rem; }
.step h3:focus { outline: none; }
.step-desc, .hint { color: var(--muted); font-size: .9rem; margin: 0 0 .6rem; }

fieldset.choice-group { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.choice-group legend { font-weight: 600; font-size: .95rem; margin-bottom: .3rem; padding: 0; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .5rem; }
.choice {
  display: flex; align-items: center; gap: .6rem; font-weight: 400 !important; margin: 0 !important;
  border: 1px solid #cbd5e1; border-radius: 10px; padding: .6rem .8rem; cursor: pointer;
}
.choice:hover { border-color: var(--primary); }
.choice:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.choice input { width: 1.1rem; height: 1.1rem; flex: none; }
.other-input { margin-top: .6rem; }

input[type="date"] {
  font: inherit; padding: .7rem .8rem; border: 1px solid #cbd5e1;
  border-radius: 10px; background: #fff; width: 100%; max-width: 260px;
}
input[type="file"] {
  font: inherit; font-size: .9rem; width: 100%; padding: .6rem;
  border: 1px dashed #cbd5e1; border-radius: 10px; background: #fff;
}
.field.invalid input[type="file"], .field.invalid input[type="date"] { border-color: var(--error); }
.file-list { margin: .4rem 0 0; padding-left: 1.2rem; font-size: .9rem; color: var(--muted); }
.file-list:empty { display: none; }
.file-list li { word-break: break-all; }

.form-nav { display: flex; gap: .8rem; justify-content: space-between; margin-top: 1.5rem; flex-wrap: wrap; }
.form-nav .btn { flex: 1 1 140px; }
.form-nav #next-btn, .form-nav #submit-btn { margin-left: auto; }

.link-btn {
  background: none; border: 0; padding: 0; font: inherit; font-weight: 600;
  color: var(--primary); cursor: pointer; text-decoration: underline;
}

.draft-notice {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between;
  background: var(--primary-soft); border: 1px solid #bfdbfe; border-radius: 12px; padding: .8rem 1rem; margin-bottom: 1rem;
}
.draft-notice p { margin: 0; font-size: .95rem; }

.review { margin-bottom: 1.2rem; }
.review-section { border: 1px solid var(--border); border-radius: 12px; padding: 1rem; margin-bottom: .8rem; }
.review-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.review-head h4 { margin: 0 0 .5rem; font-size: 1rem; }
.review dl { margin: 0; }
.review dt { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.review dd { margin: 0; white-space: pre-wrap; word-break: break-word; }

form[aria-busy="true"] .step { opacity: .6; pointer-events: none; }

.estimate { margin: 1.4rem 0; padding: 1.2rem 1.3rem; border-radius: 14px; background: var(--primary-soft); border: 1px solid #bfdbfe; }
.estimate h4 { margin: 0 0 .8rem; font-size: 1.05rem; color: var(--ink); }
.estimate dl { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; margin: 0 0 .9rem; }
.estimate dt { color: var(--text); }
.estimate dd { margin: 0; font-weight: 700; text-align: right; color: var(--ink); }
.estimate .total { border-top: 1px solid #bfdbfe; padding-top: .45rem; font-weight: 800; color: var(--primary); }
.estimate ul { margin: 0 0 .6rem; padding-left: 1.1rem; font-size: .9rem; color: var(--text); }
.estimate .hint { margin: 0; }

.success-box {
  background: #f0fdf4; border: 1px solid var(--ok); border-radius: 20px; padding: 2rem 1.5rem; text-align: center;
}
.success-box h3 { color: var(--ok); margin-top: 0; }
.success-box:focus { outline: none; }

/* Que la cabecera fija no tape el título de cada sección o paso. */
section[id], #request-form, .success-box { scroll-margin-top: 5rem; }

/* ---------- Adaptación a pantallas ---------- */
@media (max-width: 1024px) {
  .benefits, .pay-uses { grid-template-columns: repeat(2, 1fr); }
  .steps-list { grid-template-columns: repeat(2, 1fr); }
  .pay-info { grid-template-columns: 1fr; }
  .nav-link { display: none; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; aspect-ratio: 16 / 12; max-width: 560px; width: 100%; margin: 1rem auto 0; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan-featured { margin-top: .6rem; }
  .addons { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
  .pay-strip { max-width: 620px; margin-left: auto; margin-right: auto; }
  .examples { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .pack { grid-template-columns: 1fr; max-width: 620px; margin-left: auto; margin-right: auto; }
  .testimonials { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .logo img { width: 150px; }
  .site-header .btn-small { padding: .55rem .9rem; font-size: .88rem; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .benefits, .steps-list, .maint, .pay-uses, .pay-trust { grid-template-columns: 1fr; }
  .wa-float { width: 52px; height: 52px; right: .9rem; bottom: .9rem; }
  .float-badge { font-size: .78rem; padding: .4rem .75rem .4rem .4rem; }
  .badge-ico { width: 26px; height: 26px; }
  .badge-google { left: 0; top: 34%; }
  .hero-actions .btn { width: 100%; }
  .checks { grid-template-columns: 1fr 1fr; gap: .6rem 1rem; font-size: .9rem; }
  .checks li { display: flex; align-items: flex-start; }
  .checks li::before { flex: none; margin-top: .1rem; }
  form { padding: 1.1rem; }
  .form-nav .btn { flex-basis: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions, .cta-actions .btn { width: 100%; }
}
