/* ==========================================================
   Grabado de Autopartes — style.css (reconstruido)
   Compatible con inicio.html nuevo y script.js nuevo
   ========================================================== */

/* ===== VARIABLES ===== */
:root {
    --primary: #f2b705;
    --primary-dark: #c99700;
    --primary-light: #fff4cc;
    --primary-text: #7a5a00;
    --on-primary: #1a1a1a;
    --success: #1e7e34;
    --success-light: #d4edda;
    --error: #c41e3a;
    --error-light: #f8d7da;
    --warning: #6b6b6b;
    --warning-dark: #3a3a3a;
    --warning-light: #ececE6;
    --text-main: #1a1a1a;
    --text-muted: #4a4a4a;
    --text-light: #6e6e6e;
    --bg-body: #ebebe6;
    --bg-card: #fafaf7;
    --border-color: #cfcfc8;
    --border-light: #e0e0da;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 4px rgba(15, 23, 42, .05), 0 20px 50px rgba(0, 0, 0, .16);
    --touch-size: 56px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary: #f2b705;
        --primary-dark: #ffd23f;
        --primary-light: #3a3220;
        --primary-text: #f2b705;
        --on-primary: #1a1a1a;
        --success: #4ade80;
        --success-light: #1e3a1f;
        --error: #ff6b7a;
        --error-light: #3a1a1f;
        --warning: #9ca3af;
        --warning-dark: #d1d5db;
        --warning-light: #2a2a2a;
        --text-main: #f2f2f2;
        --text-muted: #4a4a4a;
        --text-light: #9a9a9a;
        --bg-body: #121212;
        --bg-card: #1e1e1e;
        --border-color: #3a3a3a;
        --border-light: #2e2e2e;
    }
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 14px; scroll-behavior: smooth; }
body {
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
img, iframe { max-width: 100%; display: flex; }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* ===== HEADER ===== */
header {
    background: var(--bg-card);
    box-shadow: var(--shadow);
    position: sticky; top: 0; z-index: 100;
}
.nav-container {
    max-width: 1200px; margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
}
.logo {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 1.2rem; font-weight: 700; color: var(--primary);
    text-decoration: none;
}
.nav-links { display: flex; gap: 1rem; }
.nav-links a {
    text-decoration: none; color: var(--text-main); font-weight: 500;
    padding: 0.5rem; border-radius: 8px;
    display: flex; align-items: center; gap: 0.4rem;
}
.nav-links a:hover { background: var(--primary-light); color: var(--primary); }

/* Hamburguesa */
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.hamburger span {
    width: 24px; height: 2.5px; background: var(--text-main); border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Sidebar móvil */
.nav-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); z-index: 99;
}
.nav-overlay.active { display: block; }
.nav-sidebar {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px;
    height: 100vh; background: var(--bg-card); z-index: 100;
    transition: right 0.3s; padding-top: 5rem; overflow-y: auto;
}
.nav-sidebar.active { right: 0; }
.close-menu {
    position: absolute; top: 1rem; right: 1rem;
    background: none; border: none; font-size: 1.5rem; cursor: pointer;
}
.nav-sidebar .nav-links { display: flex; flex-direction: column; }
.nav-sidebar .nav-links a {
    display: block; padding: 1rem; border-bottom: 1px solid var(--border-light);
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links { display: none; }
}

/* ===== MAIN ===== */
.main-container {
    max-width: 750px; margin: 0 auto; padding: 1.5rem 1rem; flex: 1;
    position: relative;
}

/* ===== HERO ===== */
.hero-welcome {
    color: #fff; text-align: center; margin-bottom: 2rem;
    position: relative; padding-bottom: 1rem;
}
.hero-welcome::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 0 0 30px 30px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 1rem; border-radius: 999px;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}
.hero-welcome h1 {
    font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem;
}
.hero-welcome p { opacity: 0.9; font-size: 1.1rem; }
.trust-bar {
    list-style: none; display: grid; gap: 0.75rem;
    margin-top: 1.5rem; max-width: 600px; margin-inline: auto;
}
.trust-bar li {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem; border-radius: 12px;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2);
    font-weight: 600;
}
.trust-bar li i {
    width: 36px; height: 36px; display: grid; place-items: center;
    background: #fff; color: var(--primary); border-radius: 50%; font-size: 1rem;
}

@media (min-width: 700px) {
    .trust-bar { grid-template-columns: repeat(3, 1fr); }
    .trust-bar li { flex-direction: column; text-align: center; }
}

/* ===== STEPS INDICATOR ===== */
.steps-indicator {
    display: flex; justify-content: center; align-items: center;
    gap: 0.5rem; margin-bottom: 2rem;
}
.step-item {
    display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
    opacity: 0.5; transition: opacity 0.3s;
}
.step-item.active { opacity: 1; }
.step-number {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.2); color: #fff;
    display: grid; place-items: center; font-weight: 700;
    border: 2px solid rgba(255,255,255,0.4);
}
.step-item.active .step-number {
    background: #fff; color: var(--primary); border-color: #fff;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.3);
}
.step-label { font-size: 0.75rem; color: rgba(255,255,255,0.8); font-weight: 600; max-width: 70px; text-align: center; }
.step-connector { width: 30px; height: 3px; background: rgba(255,255,255,0.3); border-radius: 2px; }

@media (min-width: 600px) {
    .step-number { width: 48px; height: 48px; }
    .step-label { font-size: 0.85rem; }
    .step-connector { width: 40px; }
}

/* ===== TARJETA ===== */
.tarjeta {
    background: var(--bg-card); border-radius: 16px;
    box-shadow: var(--shadow-lg); padding: 1.5rem;
    margin-bottom: 2rem; border-top: 4px solid var(--primary);
}
.paso-header { text-align: center; margin-bottom: 1.5rem; }
.paso-icon {
    width: 50px; height: 50px; margin: 0 auto 0.75rem;
    background: var(--primary-light); color: var(--primary);
    border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem;
}
.paso-header h1, .paso-header h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.25rem; }
.sub { color: var(--text-muted); }

@media (min-width: 600px) {
    .tarjeta { padding: 2rem; }
    .paso-header h2 { font-size: 1.8rem; }
}

/* ===== FORMULARIOS ===== */
.form-section { margin-bottom: 1.5rem; }
.form-section h4 {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 1.1rem; font-weight: 700; color: var(--primary);
    margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border-light);
}
.form-section h4 i {
    width: 32px; height: 32px; display: grid; place-items: center;
    background: var(--primary-light); color: var(--primary); border-radius: 8px; font-size: 0.9rem;
}
.grupo { margin-bottom: 1rem; }
.grupo label { display: block; font-weight: 600; margin-bottom: 0.3rem; font-size: 0.95rem; }
.fila { display: grid; grid-template-columns: 1fr; gap: 1rem; }

input, select {
    width: 100%; min-height: var(--touch-size);
    padding: 0.75rem 1rem; border: 2px solid var(--border-color);
    border-radius: 10px; font-size: 1rem; background: var(--bg-card);
    transition: border-color 0.2s;
}
input:focus, select:focus { border-color: var(--primary); outline: none; }

/* Radios */
.radios { display: flex; gap: 1rem; flex-wrap: wrap; }
.radios label {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; border: 2px solid var(--border-color);
    border-radius: 10px; cursor: pointer;
}
.radios label:has(input:checked) { border-color: var(--primary); background: var(--primary-light); }

/* Error */
.error-campo { color: var(--error); font-size: 0.85rem; margin-top: 0.25rem; font-weight: 500; }
.error-campo.hidden { display: none; }

/* ===== AVISOS ===== */
.aviso {
    display: flex; gap: 0.75rem; padding: 1rem;
    background: var(--primary-light); border-left: 4px solid var(--primary);
    border-radius: 10px; margin-bottom: 1rem; font-size: 0.95rem;
}
.aviso-destacado { background: var(--warning-light); border-left-color: var(--warning-dark); }
.aviso i { color: var(--primary); font-size: 1.2rem; margin-top: 0.1rem; }
.aviso-destacado i { color: var(--warning-dark); }
.aviso ul { margin-top: 0.5rem; padding-left: 1.2rem; }

/* ===== OPCIONES (Paso 2) ===== */
.opciones { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.opcion {
    display: flex; gap: 1rem; padding: 1.25rem;
    border: 2px solid var(--border-color); border-radius: 12px;
    cursor: pointer; text-align: left; transition: all 0.2s;
}
.opcion:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.opcion-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    background: var(--primary-light); color: var(--primary);
    border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem;
}
.opcion h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.opcion p { font-size: 0.9rem; color: var(--text-muted); }

@media (min-width: 600px) { .opciones { grid-template-columns: 1fr 1fr; } }

/* ===== MAPA ===== */
#mapaWrap { display: none; margin: 1.5rem 0; }
#mapaWrap.visible { display: block; }
#mapaWrap iframe { width: 100%; height: 220px; border: 0; border-radius: 12px; }
#mapaWrap .desc-sede {
    margin-top: 0.75rem; padding: 1rem; background: var(--primary-light);
    border-radius: 10px; border-left: 4px solid var(--primary);
}

/* ===== RESUMEN PAGO ===== */
.resumen-pago {
    background: var(--primary-light); border-radius: 12px;
    padding: 1.5rem; margin: 1.5rem 0; border-left: 4px solid var(--primary);
}
.resumen-pago h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.resumen-pago ul { list-style: none; }
.resumen-pago ul li {
    display: flex; justify-content: space-between; padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,82,163,0.1); font-size: 0.95rem;
}
.resumen-pago ul li:last-child { border-bottom: none; }
.monto-final { text-align: right; font-size: 2rem; font-weight: 800; color: var(--primary); margin-top: 0.5rem; }

/* ===== MEDIOS DE PAGO ===== */
.medios-pago {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--bg-body);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    text-align: center;
}
.medios-pago__titulo {
    display: flex; align-items: center; justify-content: center; gap: 0.75rem;
    margin-bottom: 0.9rem;
    font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--text-muted);
}
/* Líneas decorativas a los costados del título */
.medios-pago__titulo::before,
.medios-pago__titulo::after {
    content: ""; flex: 1; height: 1px; background: var(--border-color);
}
.medios-pago__lista {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem; list-style: none;
}
.medios-pago__lista li {
    display: flex; align-items: center; justify-content: center;
    height: 46px; padding: 0.4rem 0.7rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.medios-pago__lista li:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.medios-pago__lista img {
    width: 100%; height: 24px; object-fit: contain;
}

@media (min-width: 600px) {
    .medios-pago__lista { grid-template-columns: repeat(6, 1fr); }
}

/* ===== BOTONES ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: var(--touch-size); padding: 0.75rem 1.25rem;
    border: none; border-radius: 10px; font-size: 1rem; font-weight: 700;
    cursor: pointer; width: 100%; transition: all 0.2s;
}
.btn-primario {
    background: var(--primary); color: #fff;
    box-shadow: 0 4px 12px rgba(0,82,163,0.3);
}
.btn-primario:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-sec { background: transparent; border: 2px solid var(--border-color); color: var(--text-main); }
.btn-sec:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: none; color: var(--text-muted); padding: 0.75rem; }
.btn-ghost:hover { background: var(--primary-light); color: var(--primary); }

.fila-nav { display: flex; flex-direction: column-reverse; gap: 0.75rem; margin-top: 1.5rem; }
.fila-nav .btn-ghost { margin-top: 0; }
@media (min-width: 600px) { .fila-nav { flex-direction: row; } }

/* ===== RESULTADOS ===== */
.resultado { text-align: center; padding: 1rem 0; }
.resultado.hidden { display: none; }
.icono {
    width: 80px; height: 80px; border-radius: 50%;
    display: grid; place-items: center; margin: 0 auto 1rem;
    font-size: 2rem; color: #fff;
}
.icono-success { background: var(--success); }
.icono-error { background: var(--error); }
.nro-turno {
    font-size: 1.5rem; font-weight: 800; color: var(--primary);
    background: var(--primary-light); padding: 0.75rem 1.5rem;
    border-radius: 10px; margin: 1rem auto; display: inline-block;
}
.resumen { list-style: none; max-width: 400px; margin: 1.5rem auto; text-align: left; }
.resumen li { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--border-light); }

/* ===== MODAL ===== */
.modal-pago {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7);
    z-index: 200; display: flex; align-items: center; justify-content: center;
}
.modal-pago__caja {
    background: var(--bg-card); border-radius: 16px;
    width: 95%; max-width: 800px; max-height: 90vh; overflow: hidden;
}
.modal-pago__barra {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem; background: var(--primary-light);
}
.modal-pago__cerrar { background: none; border: 2px solid var(--border-color); padding: 0.5rem 1rem; border-radius: 8px; cursor: pointer; }

/* ===== BOTÓN AYUDA ===== */
.btn-ayuda {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    z-index: 150; display: flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.25rem; background: var(--success); color: #fff;
    border: none; border-radius: 999px; font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); cursor: pointer;
}
.btn-ayuda-text { display: none; }
@media (min-width: 600px) { .btn-ayuda-text { display: inline; } }

/* ===== FOOTER ===== */
footer {
    background: #1a2332; color: #fff; padding: 2rem 1rem;
    margin-top: auto;
}
.footer-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; gap: 1.5rem;
}
.footer-col h4 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-col a { color: #fff; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom {
    max-width: 1200px; margin: 1.5rem auto 0;
    padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center; font-size: 0.85rem; opacity: 0.8;
}
.site-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }

@media (min-width: 768px) {
    .footer-container { grid-template-columns: repeat(3, 1fr); }
}

/* ===== PRINT ===== */
@media print {
    header, footer, .steps-indicator, .btn-ayuda, .btn-primario, .fila-nav, .hero-welcome { display: none !important; }
    body { background: #fff; color: #000; }
    .tarjeta { box-shadow: none; border: 1px solid #ddd; }
}

/* ===== CORRECCIONES ===== */

/* El atributo hidden siempre gana sobre cualquier display */
[hidden] { display: none !important; }

/* Los pasos solo se ven si están activos */
.paso { display: none; }
.paso.activo { display: block; }

/* Modal de pago */
.modal-pago__caja { display: flex; flex-direction: column; }
.modal-pago__caja iframe { width: 100%; height: 70vh; border: 0; background: #fff; }

/* Estilos que el HTML usa y no existían */
.msg-error {
  display: flex; gap: .75rem; padding: 1rem; margin-top: 1rem;
  background: var(--error-light); border-left: 4px solid var(--error);
  border-radius: 10px; font-size: .95rem;
}
.msg-error i { color: var(--error); font-size: 1.2rem; margin-top: .1rem; }
.botones { display: flex; flex-direction: column; gap: .75rem; }
.ayuda { color: var(--text-muted); font-size: .85rem; margin-top: .5rem; }
.precio-etiqueta { text-align: right; color: var(--text-muted); font-weight: 600; margin-top: 1rem; }
input.invalido, select.invalido { border-color: var(--error); }
input, select { color: var(--text-main); }
.btn:disabled { opacity: .7; cursor: not-allowed; }
.spinner {
  width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.4);
  border-top-color: #fff; border-radius: 50%; animation: giro .8s linear infinite;
}
@keyframes giro { to { transform: rotate(360deg); } }
@media (min-width: 600px) { .fila { grid-template-columns: 1fr 1fr; } }

/* Indicador de pasos: tenía texto blanco sobre fondo claro */
.steps-indicator {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 1rem .5rem; border-radius: 16px;
}
@media (max-width: 599px) {
  .steps-indicator { gap: .25rem; }
  .step-number { width: 30px; height: 30px; font-size: .85rem; }
  .step-connector { width: 8px; }
  .step-label { display: none; }
  .step-item.active .step-label { display: block; }
}

/* Evita el zoom automático en iPhone al tocar un campo */
input, select { font-size: 16px; }

/* ===== PALETA AMARILLO / GRIS / NEGRO ===== */

/* Textos que antes eran azules */
.logo,
.nav-links a:hover,
.form-section h4,
.form-section h4 i,
.paso-icon,
.opcion-icon,
.aviso i,
.resumen-pago h3,
.monto-final,
.nro-turno,
.btn-sec:hover,
.btn-ghost:hover,
.opcion:hover { color: var(--primary-text); }

/* Botón principal: texto negro sobre amarillo */
.btn-primario {
    color: var(--on-primary);
    box-shadow: 0 4px 12px rgba(242, 183, 5, 0.35);
}
.btn-primario:hover { background: var(--primary-dark); }

/* Hero y barra de pasos: fondo negro/gris con acentos amarillos */
.hero-welcome::before,
.steps-indicator {
    background: linear-gradient(135deg, #1a1a1a, #3a3a3a);
}
.hero-badge {
    background: rgba(242, 183, 5, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}
.trust-bar li i { background: var(--primary); color: var(--on-primary); }
.step-item.active .step-number {
    background: var(--primary); color: var(--on-primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(242, 183, 5, 0.3);
}

/* Resumen de pago */
.resumen-pago ul li { border-bottom-color: rgba(0, 0, 0, 0.1); }

/* Botón de ayuda flotante */
.btn-ayuda { background: #333333; color: var(--primary); }

/* Footer */
footer { background: #1a1a1a; }
.footer-col h4 { color: var(--primary); }

/* ===== HERO SIMPLE ===== */
.hero-welcome {
    color: var(--text-main);
    text-align: center;
    margin-bottom: 1.25rem;
    padding: 0;
}
.hero-welcome::before { display: none; }

.hero-badge {
    background: var(--primary-light);
    border: none;
    color: var(--primary-text);
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.5rem;
}

.hero-welcome h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.hero-welcome p {
    font-size: 1rem;
    color: var(--text-muted);
    opacity: 1;
}

.trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    margin-top: 0.75rem;
}
.trust-bar li {
    flex-direction: row;
    gap: 0.4rem;
    padding: 0;
    background: none;
    border: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}
.trust-bar li i {
    width: auto;
    height: auto;
    background: none;
    color: var(--primary-text);
    font-size: 0.9rem;
}

/* ==========================================================
   LANDING DE CONTENIDO (SEO) · #sedes-info
   ========================================================== */
.contenido-seo {
    --seo-suave: var(--text-muted);
    margin: 2rem 0 0;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 16px;
    border-top: 4px solid var(--primary);
    box-shadow: var(--shadow-lg);
    color: var(--text-main);
    scroll-margin-top: 80px; /* compensa el header sticky al ir a #sedes-info */
}
@media (min-width: 600px) {
    .contenido-seo { padding: 2rem; }
}
/* En tu modo oscuro --text-muted queda #4a4a4a (ilegible), uso --text-light acá */
@media (prefers-color-scheme: dark) {
    .contenido-seo { --seo-suave: var(--text-light); }
}

/* Títulos */
.contenido-seo h2,
.contenido-seo h3 {
    font-family: 'Sora', 'IBM Plex Sans', system-ui, sans-serif;
    line-height: 1.25;
}
.contenido-seo h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-text);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-light);
}
.contenido-seo h2:first-child { margin-top: 0; }
.contenido-seo h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 1.25rem 0 0.35rem;
}
.contenido-seo p {
    color: var(--seo-suave);
    margin-bottom: 1rem;
}
.contenido-seo strong {
    color: var(--text-main);
    font-weight: 600;
}
.contenido-seo a {
    color: var(--primary-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Pasos numerados */
.contenido-seo ol {
    list-style: none;
    counter-reset: paso;
    margin-bottom: 1rem;
}
.contenido-seo ol li {
    counter-increment: paso;
    position: relative;
    margin-bottom: 0.6rem;
    padding: 0.8rem 1rem 0.8rem 3.25rem;
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    color: var(--seo-suave);
}
.contenido-seo ol li::before {
    content: counter(paso);
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1.75rem;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: var(--on-primary);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50%;
}

/* Listas con viñetas (por si las sumás después) */
.contenido-seo ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
    color: var(--seo-suave);
}
.contenido-seo ul li { margin-bottom: 0.3rem; }

/* Preguntas frecuentes */
.contenido-seo details {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 0.6rem;
    background: var(--bg-card);
    overflow: hidden;
    transition: border-color 0.2s;
}
.contenido-seo details[open] { border-color: var(--primary); }
.contenido-seo summary {
    position: relative;
    padding: 0.9rem 3rem 0.9rem 1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
}
.contenido-seo summary::-webkit-details-marker { display: none; }
.contenido-seo summary::after {
    content: "+";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--primary-text);
}
.contenido-seo details[open] summary::after { content: "−"; }
.contenido-seo summary:hover { background: var(--primary-light); }
.contenido-seo summary:focus-visible { outline-offset: -3px; }
.contenido-seo details p {
    margin: 0;
    padding: 0 1rem 1rem;
}

/* Mobile */
@media (max-width: 599px) {
    .contenido-seo ol li { padding-left: 3rem; }
    .contenido-seo ol li::before {
        left: 0.6rem;
        width: 1.6rem;
        height: 1.6rem;
        font-size: 0.85rem;
    }
}

/* Menos movimiento */
@media (prefers-reduced-motion: reduce) {
    .contenido-seo details { transition: none; }
}

/* Impresión del comprobante */
@media print {
    .contenido-seo { display: none !important; }
}