/**
 * LUX Seguros — Formulario de Cotización
 * Layout: Sidebar izquierdo + Tarjeta central
 * Fuentes: Playfair Display (headings) + DM Sans (body)
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ═══════════════════════════════════════
   VARIABLES
═══════════════════════════════════════ */
:root {
    --primary:       #0c1628;
    --primary-light: #162240;
    --accent:        #c9a227;
    --accent-light:  #dbb84d;
    --accent-dark:   #a68620;
    --accent-muted:  rgba(201,162,39,.12);

    --white:    #ffffff;
    --gray-50:  #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --success:  #10b981;
    --danger:   #ef4444;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-card: 0 8px 40px -8px rgba(0,0,0,.18), 0 2px 8px -2px rgba(0,0,0,.08);
    --shadow-sm:   0 1px 3px rgba(0,0,0,.08);

    --sidebar-w: 300px;
    --header-h:  64px;

    --transition: 200ms ease;
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }

body {
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    background: var(--gray-100);
    min-height: 100vh;
    color: var(--gray-700);
    line-height: 1.6;
}

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    z-index: 200;
}
.navbar-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }

/* ═══════════════════════════════════════
   TWO-COLUMN LAYOUT
═══════════════════════════════════════ */
.cotizador-layout {
    display: flex;
    min-height: 100vh;
    padding-top: var(--header-h);
}

/* ── SIDEBAR ── */
.ramo-sidebar {
    width: var(--sidebar-w);
    flex-shrink: 0;
    background: var(--primary);
    background-image:
        radial-gradient(ellipse 80% 60% at 20% 0%, rgba(201,162,39,.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(201,162,39,.10) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: var(--header-h);
    height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 36px 24px 28px;
}

.sidebar-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.sidebar-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 8px;
}
.sidebar-header p {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    line-height: 1.55;
    margin-bottom: 28px;
}

/* Ramo buttons */
.ramo-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ramo-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 14px 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    text-align: left;
    font-family: inherit;
    color: rgba(255,255,255,.75);
    position: relative;
    overflow: hidden;
}
.ramo-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(201,162,39,.14) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition);
}
.ramo-btn:hover { border-color: rgba(201,162,39,.35); color: var(--white); }
.ramo-btn:hover::before { opacity: 1; }
.ramo-btn.active {
    background: rgba(201,162,39,.16);
    border-color: var(--accent);
    color: var(--white);
}
.ramo-btn.active::before { opacity: 1; }

.ramo-icon-wrap {
    width: 38px; height: 38px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}
.ramo-icon-wrap.veh { background: rgba(14,165,233,.2); color: #38bdf8; }
.ramo-icon-wrap.vida { background: rgba(239,68,68,.2); color: #f87171; }
.ramo-icon-wrap.gmm { background: rgba(16,185,129,.2); color: #34d399; }
.ramo-icon-wrap.emp { background: rgba(139,92,246,.2); color: #a78bfa; }

.ramo-text { flex: 1; }
.ramo-text strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 1px; }
.ramo-text small { font-size: 12px; opacity: .6; }

.ramo-arrow {
    font-size: 14px;
    opacity: 0;
    transform: translateX(-6px);
    transition: all var(--transition);
    flex-shrink: 0;
}
.ramo-btn:hover .ramo-arrow,
.ramo-btn.active .ramo-arrow { opacity: .7; transform: translateX(0); }

/* Sidebar footer */
.sidebar-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.sidebar-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.75);
    margin-bottom: 4px;
}
.sidebar-contact i { color: var(--accent); }
.sidebar-contact a { color: rgba(255,255,255,.75); }
.sidebar-contact a:hover { color: var(--accent); }
.sidebar-footer small { font-size: 11px; color: rgba(255,255,255,.35); }

/* ── MAIN ── */
.form-main {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 48px 40px 60px;
    min-height: calc(100vh - var(--header-h));
}

/* Empty state */
.form-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 32px;
    color: var(--gray-400);
    height: 100%;
    min-height: 400px;
    width: 100%;
    max-width: 480px;
    margin: auto;
}
.empty-icon { font-size: 52px; margin-bottom: 20px; opacity: .35; }
.form-empty h3 { font-size: 20px; font-weight: 700; color: var(--gray-600); margin-bottom: 8px; }
.form-empty p { font-size: 14px; }

/* Ramo forms container */
.ramo-form {
    width: 100%;
    max-width: 580px;
    animation: slideInRight .3s ease;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ── FORM CARD ── */
.form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-200);
}
.form-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: -.3px;
}
.step-subtitle {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 28px;
    line-height: 1.55;
}

/* ═══════════════════════════════════════
   PROGRESS BAR
═══════════════════════════════════════ */
.step-counter {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    margin-bottom: 10px;
    letter-spacing: .02em;
}
.step-counter span { color: var(--accent); }

.progress-wrapper {
    display: flex;
    gap: 5px;
    margin-bottom: 36px;
}
.progress-segment {
    flex: 1;
    height: 5px;
    border-radius: 99px;
    background: var(--gray-200);
    transition: background .35s ease;
}
.progress-segment.active { background: var(--accent); }
.progress-segment.done   { background: var(--accent-dark); }

/* ═══════════════════════════════════════
   SECTION DIVIDER
═══════════════════════════════════════ */
.section-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 0 0 24px;
}

/* ═══════════════════════════════════════
   FORM FIELDS
═══════════════════════════════════════ */
.field-group { margin-bottom: 20px; }
.row-fields { display: flex; gap: 16px; }
.row-fields > .field-group { flex: 1; }

.form-label-custom {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 7px;
    letter-spacing: .01em;
}
.form-label-custom .required { color: var(--accent); margin-left: 2px; }

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--gray-800);
    font-size: 14px;
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    outline: none;
}
.form-input::placeholder { color: var(--gray-400); }
.form-input:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(201,162,39,.12);
}
.form-input.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}
select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 44px;
    cursor: pointer;
}
textarea.form-input { resize: vertical; min-height: 80px; }

.error-msg {
    color: var(--danger);
    font-size: 12px;
    margin-top: 5px;
    display: none;
    font-weight: 500;
}
.error-msg.show { display: block; }

/* ═══════════════════════════════════════
   OPTION CARDS
═══════════════════════════════════════ */
.option-cards {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.option-card {
    flex: 1;
    min-width: 100px;
    padding: 16px 12px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: center;
    transition: all var(--transition);
    user-select: none;
    position: relative;
}
.option-card:hover { border-color: var(--gray-300); background: var(--gray-100); }
.option-card.selected {
    border-color: var(--accent);
    background: var(--accent-muted);
    box-shadow: 0 0 0 3px rgba(201,162,39,.1);
}
.option-card i {
    font-size: 24px;
    display: block;
    margin-bottom: 6px;
    color: var(--gray-400);
    transition: color var(--transition);
}
.option-card.selected i { color: var(--accent); }
.option-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    display: block;
}
.option-card.selected .option-label { color: var(--accent-dark); }
.option-desc {
    font-size: 11px;
    color: var(--gray-400);
    display: block;
    margin-top: 2px;
}
.option-card input[type="radio"] { display: none; }

/* ═══════════════════════════════════════
   FORM STEPS
═══════════════════════════════════════ */
.form-step { display: none; animation: fadeIn .3s ease; }
.form-step.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    gap: 12px;
}
.btn-prev {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 24px;
    border-radius: 99px;
    border: 1.5px solid var(--gray-300);
    background: transparent;
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}
.btn-prev:hover { border-color: var(--gray-400); background: var(--gray-50); color: var(--gray-800); }

.btn-next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 99px;
    border: none;
    background: var(--accent);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    margin-left: auto;
    font-family: inherit;
    letter-spacing: .01em;
}
.btn-next:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,162,39,.35);
}
.btn-next:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ═══════════════════════════════════════
   VEHICLE MINI-FORMS
═══════════════════════════════════════ */
#vehDatosWrapper { margin-top: 20px; }

.mini-form-ctx {
    margin: 4px 0 20px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 20px 20px 6px;
    background: var(--gray-50);
    animation: miniFormIn .2s ease;
}
@keyframes miniFormIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mini-form-header {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-dark);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mini-form-header i { font-size: 15px; color: var(--accent); }
.mini-q-group { margin-bottom: 16px; }
.mini-q-group .form-label-custom {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 8px;
}
.mini-toggle-opts { display: flex; flex-wrap: wrap; gap: 7px; }
.mini-tog {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    border: 1.5px solid var(--gray-200);
    border-radius: 99px;
    cursor: pointer;
    background: var(--white);
    color: var(--gray-600);
    transition: all var(--transition);
    user-select: none;
    font-family: inherit;
}
.mini-tog:hover { border-color: var(--gray-300); color: var(--gray-800); background: var(--gray-100); }
.mini-tog.selected {
    border-color: var(--accent);
    background: var(--accent-muted);
    color: var(--accent-dark);
    font-weight: 600;
}

/* ═══════════════════════════════════════
   CALENDAR
═══════════════════════════════════════ */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.calendar-header h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
}
.calendar-nav {
    width: 34px; height: 34px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--gray-200);
    background: transparent;
    color: var(--gray-500);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition);
    font-size: 14px;
}
.calendar-nav:hover { border-color: var(--accent); color: var(--accent); }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.day-name {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-400);
    padding: 6px 0;
    text-transform: uppercase;
}
.day-cell {
    text-align: center;
    padding: 9px 4px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    color: var(--gray-700);
    transition: all var(--transition);
    border: 1.5px solid transparent;
}
.day-cell:hover:not(.disabled):not(.empty) {
    background: var(--accent-muted);
    border-color: rgba(201,162,39,.3);
}
.day-cell.selected {
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    border-color: var(--accent);
}
.day-cell.today { border-color: var(--accent); }
.day-cell.disabled { color: var(--gray-300); cursor: not-allowed; }
.day-cell.empty { cursor: default; }

/* ═══════════════════════════════════════
   TIME SLOTS
═══════════════════════════════════════ */
.time-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 14px;
}
.time-slot {
    padding: 10px 8px;
    text-align: center;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all var(--transition);
    background: var(--gray-50);
    font-family: inherit;
}
.time-slot:hover:not(.disabled) {
    border-color: var(--accent);
    background: var(--accent-muted);
}
.time-slot.selected {
    background: var(--accent-muted);
    border-color: var(--accent);
    color: var(--accent-dark);
}
.time-slot.disabled {
    opacity: .4;
    cursor: not-allowed;
    text-decoration: line-through;
    background: var(--gray-100) !important;
    color: var(--gray-400) !important;
    border-color: var(--gray-200) !important;
}

/* ═══════════════════════════════════════
   CANAL CARDS (multi-select)
═══════════════════════════════════════ */
.canal-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}
.canal-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    background: var(--gray-50);
    user-select: none;
}
.canal-card:hover { border-color: var(--gray-300); background: var(--gray-100); }
.canal-card.selected {
    border-color: var(--accent);
    background: var(--accent-muted);
}
.canal-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.canal-icon.em  { background: rgba(59,130,246,.15); color: #3b82f6; }
.canal-icon.wa  { background: rgba(37,211,102,.15); color: #25d366; }
.canal-icon.tg  { background: rgba(0,136,204,.15); color: #0088cc; }

.canal-info { flex: 1; }
.canal-name { font-size: 14px; font-weight: 600; color: var(--gray-800); margin-bottom: 2px; }
.canal-desc { font-size: 12px; color: var(--gray-500); }

.canal-check {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-300);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    color: transparent;
    transition: all var(--transition);
    flex-shrink: 0;
}
.canal-card.selected .canal-check {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

/* ═══════════════════════════════════════
   CONFIRMATION SUMMARY
═══════════════════════════════════════ */
.confirmation-summary {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}
.conf-section {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 18px;
    background: var(--gray-50);
}
.conf-section-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 7px;
}
.conf-section-title i { color: var(--accent); }
.conf-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 13px;
}
.conf-label { color: var(--gray-500); }
.conf-value { font-weight: 600; color: var(--gray-800); text-align: right; }

/* Banner canales */
.email-banner, .wa-banner, .tg-banner {
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}
.email-banner { background: rgba(59,130,246,.08); color: #1d4ed8; border: 1px solid rgba(59,130,246,.25); }
.wa-banner    { background: rgba(37,211,102,.08); color: #15803d; border: 1px solid rgba(37,211,102,.25); }
.tg-banner    { background: rgba(0,136,204,.08); color: #0369a1; border: 1px solid rgba(0,136,204,.25); }

/* Bot buttons */
.bot-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    font-family: inherit;
}
.wa-bot-btn  { background: #25d366; color: var(--white); }
.wa-bot-btn:hover  { background: #1fb855; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(37,211,102,.35); }
.tg-bot-btn  { background: #0088cc; color: var(--white); }
.tg-bot-btn:hover  { background: #0077b5; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,136,204,.35); }

/* ═══════════════════════════════════════
   EMPRESAS HERO
═══════════════════════════════════════ */
.emp-hero {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}
.emp-hero-icon {
    width: 68px; height: 68px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(139,92,246,.15), rgba(139,92,246,.05));
    border: 1px solid rgba(139,92,246,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    color: #8b5cf6;
    margin: 0 auto 16px;
}
.emp-beneficios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 4px;
}
.emp-ben-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
}
.emp-ben-item i { color: var(--accent); font-size: 15px; flex-shrink: 0; }

/* Check pills */
.check-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: 99px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--gray-50);
    transition: all var(--transition);
    user-select: none;
}
.check-pill:hover { border-color: var(--gray-300); color: var(--gray-800); }
.check-pill input[type="checkbox"] { display: none; }
.check-pill:has(input:checked) {
    border-color: var(--accent);
    background: var(--accent-muted);
    color: var(--accent-dark);
}

/* ═══════════════════════════════════════
   RESPONSIVE — Tablet
═══════════════════════════════════════ */
@media (max-width: 900px) {
    .cotizador-layout { flex-direction: column; }

    .ramo-sidebar {
        width: 100%;
        height: auto;
        position: static;
        padding: 24px 20px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        background-image: none;
        background: var(--primary);
    }
    .sidebar-header { width: 100%; margin-bottom: 0; }
    .sidebar-header h2 { font-size: 17px; margin-bottom: 0; }
    .sidebar-header p { display: none; }
    .sidebar-eyebrow { display: none; }

    .ramo-list { flex-direction: row; flex-wrap: wrap; flex: unset; width: 100%; }
    .ramo-btn { flex: 1; min-width: 140px; }
    .ramo-text small { display: none; }

    .sidebar-footer { display: none; }

    .form-main { padding: 28px 16px 48px; }
    .form-card { padding: 28px 22px; }

    .row-fields { flex-direction: column; gap: 0; }
    .time-slots { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Mobile
═══════════════════════════════════════ */
@media (max-width: 576px) {
    .ramo-btn { min-width: 120px; padding: 12px 10px; }
    .ramo-icon-wrap { width: 32px; height: 32px; font-size: 14px; }
    .ramo-text strong { font-size: 12px; }

    .form-card { padding: 24px 18px; border-radius: var(--radius-lg); }
    .form-card h2 { font-size: 21px; }

    .option-cards { flex-direction: column; }
    .option-card { min-width: auto; }

    .time-slots { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .time-slot  { padding: 9px 4px; font-size: 12px; }

    .btn-actions { flex-direction: column; }
    .btn-prev, .btn-next { width: 100%; justify-content: center; }
    .btn-next { margin-left: 0; }

    .emp-beneficios { grid-template-columns: 1fr; }
    .conf-row { flex-direction: column; gap: 2px; }
    .conf-value { text-align: left; }

    .canal-card { padding: 14px; }
}

@media (max-width: 400px) {
    .time-slots { grid-template-columns: repeat(2, 1fr); }
    .day-cell { padding: 7px 2px; font-size: 12px; }
    .day-name  { font-size: 9px; }
}