/* ================================================
   SERVICIO.CSS — Agendar Cita de Servicio
   Suzuki Tangamanga
   ================================================ */

/* ------------------------------------------------
   VARIABLES LOCALES
   ------------------------------------------------ */
:root {
    --sv-blue:        #002366;
    --sv-blue-light:  #f0f4ff;
    --sv-orange:      #e20a17;
    --sv-orange-light:#fff7ed;
    --sv-green:       #16a34a;
    --sv-green-light: #dcfce7;
    --sv-red:         #dc2626;
    --sv-gray-50:     #f9fafb;
    --sv-gray-100:    #f3f4f6;
    --sv-gray-200:    #e5e7eb;
    --sv-gray-300:    #d1d5db;
    --sv-gray-400:    #9ca3af;
    --sv-gray-500:    #6b7280;
    --sv-gray-700:    #374151;
    --sv-gray-900:    #111827;
    --sv-radius:      12px;
    --sv-radius-sm:   8px;
    --sv-shadow:      0 4px 24px rgba(0,0,0,0.08);
    --sv-shadow-lg:   0 8px 40px rgba(0,0,0,0.14);
    --sv-transition:  0.22s ease;
}

/* ------------------------------------------------
   HERO
   ------------------------------------------------ */
.sv-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #001a4d;
}

.sv-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sv-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 50%, rgba(255,142,12,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(0,35,102,0.4) 0%, transparent 50%);
}

.sv-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.02) 0px,
            rgba(255,255,255,0.02) 1px,
            transparent 1px,
            transparent 40px
        );
}

.sv-hero .container {
    position: relative;
    z-index: 1;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.sv-hero-content {
    max-width: 640px;
}

.sv-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,142,12,0.18);
    border: 1px solid rgba(255,142,12,0.35);
    color: #e20a17;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}

.sv-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin: 0 0 1rem;
}

.sv-hero-title em {
    font-style: normal;
    color: #e20a17;
}

.sv-hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin: 0 0 1.5rem;
    max-width: 520px;
}

.sv-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sv-hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
}

.sv-hero-badges span i {
    color: #e20a17;
    font-size: 0.75rem;
}

.sv-hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
    z-index: 1;
    animation: svBounce 2s infinite;
    text-decoration: none;
}

@keyframes svBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ------------------------------------------------
   WIZARD SECTION
   ------------------------------------------------ */
.sv-wizard-section {
    padding: 3rem 0 5rem;
    background: var(--sv-gray-50);
}

/* ------------------------------------------------
   PROGRESS / STEPS HEADER
   ------------------------------------------------ */
.sv-progress-wrap {
    max-width: 680px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.sv-steps-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 1rem;
}

.sv-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.sv-step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--sv-gray-200);
    color: var(--sv-gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    position: relative;
    transition: all var(--sv-transition);
    border: 2.5px solid var(--sv-gray-200);
}

.sv-step-circle i       { display: block; }
.sv-step-circle .sv-step-num { display: none; }

.sv-step-item.active .sv-step-circle {
    background: var(--sv-blue);
    border-color: var(--sv-blue);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(0,35,102,0.12);
}

.sv-step-item.completed .sv-step-circle {
    background: var(--sv-green);
    border-color: var(--sv-green);
    color: #fff;
}

.sv-step-item.completed .sv-step-circle i          { display: none; }
.sv-step-item.completed .sv-step-circle .sv-step-num {
    display: block;
    font-size: 0;
}

.sv-step-item.completed .sv-step-circle::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.9rem;
}

.sv-step-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--sv-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    transition: color var(--sv-transition);
}

.sv-step-item.active .sv-step-label,
.sv-step-item.completed .sv-step-label {
    color: var(--sv-blue);
}

.sv-step-line {
    flex: 1;
    height: 2px;
    background: var(--sv-gray-200);
    margin: 0 8px;
    margin-bottom: 22px;
    transition: background var(--sv-transition);
    max-width: 100px;
}

.sv-step-line.done { background: var(--sv-green); }

.sv-progress-bar-wrap {
    height: 4px;
    background: var(--sv-gray-200);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.sv-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--sv-blue), var(--sv-orange));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.sv-step-indicator {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--sv-orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

/* ------------------------------------------------
   WIZARD CARD
   ------------------------------------------------ */
.sv-wizard-card {
    max-width: 780px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--sv-radius);
    box-shadow: var(--sv-shadow-lg);
    overflow: hidden;
    min-height: 520px;
}

/* ------------------------------------------------
   STEP CONTENT
   ------------------------------------------------ */
.sv-step-content {
    display: none;
    padding: 2.5rem 2.5rem 2rem;
    animation: svFadeIn 0.3s ease;
}

.sv-step-content.active { display: block; }

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

.sv-step-intro {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1.5px solid var(--sv-gray-100);
}

.sv-step-intro h2 {
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--sv-blue);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 0.4rem;
}

.sv-step-intro p {
    font-size: 0.9rem;
    color: var(--sv-gray-500);
    margin: 0;
    line-height: 1.6;
}

/* ------------------------------------------------
   CAMPOS
   ------------------------------------------------ */
.sv-field { margin-bottom: 1.75rem; }

.sv-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sv-gray-700);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 10px;
}

.sv-required { color: var(--sv-orange); margin-left: 3px; }
.sv-optional {
    color: var(--sv-gray-400);
    font-weight: 400;
    text-transform: none;
    font-size: 0.75rem;
    letter-spacing: 0;
    margin-left: 4px;
}

.sv-input,
.sv-select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--sv-gray-200);
    border-radius: var(--sv-radius-sm);
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--sv-gray-900);
    background: var(--sv-gray-50);
    outline: none;
    transition: border-color var(--sv-transition), box-shadow var(--sv-transition);
    appearance: none;
    -webkit-appearance: none;
}

.sv-input:focus,
.sv-select:focus {
    border-color: var(--sv-blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,35,102,0.08);
}

.sv-input.error,
.sv-select.error {
    border-color: var(--sv-red);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.08);
}

.sv-input.valid,
.sv-select.valid {
    border-color: var(--sv-green);
    box-shadow: 0 0 0 3px rgba(22,163,74,0.08);
}

.sv-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23002366' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}

.sv-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--sv-gray-200);
    border-radius: var(--sv-radius-sm);
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--sv-gray-900);
    background: var(--sv-gray-50);
    outline: none;
    resize: vertical;
    min-height: 90px;
    transition: border-color var(--sv-transition), box-shadow var(--sv-transition);
}

.sv-textarea:focus {
    border-color: var(--sv-blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,35,102,0.08);
}

.sv-char-count {
    display: block;
    text-align: right;
    font-size: 0.72rem;
    color: var(--sv-gray-400);
    margin-top: 4px;
}

.sv-field-error {
    display: none;
    font-size: 0.75rem;
    color: var(--sv-red);
    font-weight: 500;
    margin-top: 6px;
}

.sv-field-error.visible { display: block; }

.sv-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ------------------------------------------------
   MODELO GRID (paso 1)
   ------------------------------------------------ */
.sv-modelo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.sv-modelo-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px 10px;
    border: 2px solid var(--sv-gray-200);
    border-radius: var(--sv-radius-sm);
    background: var(--sv-gray-50);
    cursor: pointer;
    transition: all var(--sv-transition);
    text-align: center;
    font-family: inherit;
}

.sv-modelo-btn:hover {
    border-color: var(--sv-blue);
    background: var(--sv-blue-light);
}

.sv-modelo-btn.selected {
    border-color: var(--sv-blue);
    background: var(--sv-blue);
    color: #fff;
}

.sv-modelo-img {
    width: 100%;
    height: 54px;
    object-fit: contain;
    object-position: center;
    transition: filter var(--sv-transition);
}

.sv-modelo-btn.selected .sv-modelo-img {
    filter: brightness(0) invert(1);
}

.sv-modelo-name {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sv-blue);
    line-height: 1.2;
    transition: color var(--sv-transition);
}

.sv-modelo-btn.selected .sv-modelo-name { 
    color: #fff; 
}

/* ------------------------------------------------
   TIPO DE SERVICIO GRID (paso 1)
   ------------------------------------------------ */
.sv-tipo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.sv-tipo-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 16px 14px;
    border: 2px solid var(--sv-gray-200);
    border-radius: var(--sv-radius-sm);
    background: var(--sv-gray-50);
    cursor: pointer;
    transition: all var(--sv-transition);
    text-align: left;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.sv-tipo-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--sv-orange);
    transform: scaleX(0);
    transition: transform var(--sv-transition);
    transform-origin: left;
}

.sv-tipo-btn:hover {
    border-color: var(--sv-blue);
    background: var(--sv-blue-light);
}

.sv-tipo-btn:hover::before,
.sv-tipo-btn.selected::before {
    transform: scaleX(1);
}

.sv-tipo-btn.selected {
    border-color: var(--sv-blue);
    background: var(--sv-blue-light);
}

.sv-tipo-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0,35,102,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--sv-blue);
    transition: all var(--sv-transition);
    flex-shrink: 0;
}

.sv-tipo-btn.selected .sv-tipo-icon {
    background: var(--sv-blue);
    color: #fff;
}

.sv-tipo-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sv-blue);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.sv-tipo-desc {
    font-size: 0.75rem;
    color: var(--sv-gray-500);
    line-height: 1.4;
    font-weight: 400;
}

/* ------------------------------------------------
   CHIPS DE FECHA (paso 2) — nuevo estilo
   ------------------------------------------------ */

/* Label de sección encima del grid */
.sv-fechas-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sv-gray-700);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 12px;
    display: block;
}

/* Grid scrolleable horizontal en mobile */
.sv-fechas-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.25rem;
}

/* Chip individual */
.sv-fecha-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 12px 10px;
    min-width: 64px;
    border: 2px solid var(--sv-gray-200);
    border-radius: var(--sv-radius-sm);
    background: var(--sv-gray-50);
    cursor: pointer;
    transition: all var(--sv-transition);
    font-family: inherit;
    flex-shrink: 0;
}

.sv-fecha-chip:hover {
    border-color: var(--sv-blue);
    background: var(--sv-blue-light);
}

.sv-fecha-chip.selected {
    border-color: var(--sv-blue);
    background: var(--sv-blue);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,35,102,0.25);
}

/* Nombre del día: LUN, MAR, etc. */
.sv-chip-dia-nombre {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sv-gray-500);
    line-height: 1;
    transition: color var(--sv-transition);
}

.sv-fecha-chip:hover .sv-chip-dia-nombre {
    color: var(--sv-blue);
}

.sv-fecha-chip.selected .sv-chip-dia-nombre {
    color: rgba(255,255,255,0.85);
}

/* Número del día: grande y bold */
.sv-chip-dia-numero {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--sv-blue);
    line-height: 1;
    transition: color var(--sv-transition);
}

.sv-fecha-chip:hover .sv-chip-dia-numero {
    color: var(--sv-blue);
}

.sv-fecha-chip.selected .sv-chip-dia-numero {
    color: #fff;
}

/* Mes abreviado: ENE, FEB, etc. */
.sv-chip-mes {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sv-gray-400);
    line-height: 1;
    transition: color var(--sv-transition);
}

.sv-fecha-chip:hover .sv-chip-mes {
    color: var(--sv-blue);
}

.sv-fecha-chip.selected .sv-chip-mes {
    color: rgba(255,255,255,0.75);
}

/* Mensaje cuando no hay fechas */
.sv-no-fechas {
    font-size: 0.88rem;
    color: var(--sv-gray-500);
    padding: 1rem 0;
}

/* ------------------------------------------------
   HORARIOS (paso 2)
   ------------------------------------------------ */
.sv-horarios-wrap {
    border-top: 1.5px solid var(--sv-gray-100);
    padding-top: 1.25rem;
    margin-top: 0.25rem;
    animation: svFadeIn 0.25s ease;
}

.sv-horarios-wrap .sv-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.sv-horarios-wrap .sv-label i { color: var(--sv-green); }

.sv-horarios-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sv-horario-btn {
    padding: 7px 14px;
    border: 1.5px solid var(--sv-gray-200);
    border-radius: 50px;
    background: var(--sv-gray-50);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--sv-gray-700);
    cursor: pointer;
    transition: all var(--sv-transition);
    font-family: inherit;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.sv-horario-btn:hover {
    border-color: var(--sv-blue);
    background: var(--sv-blue-light);
    color: var(--sv-blue);
}

.sv-horario-btn.selected {
    border-color: var(--sv-orange);
    background: var(--sv-orange);
    color: #fff;
}

/* ------------------------------------------------
   RESUMEN FECHA SELECCIONADA
   ------------------------------------------------ */
.sv-resumen-fecha {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--sv-green-light);
    border: 1.5px solid var(--sv-green);
    border-radius: var(--sv-radius-sm);
    padding: 12px 16px;
    margin-top: 1rem;
    animation: svFadeIn 0.25s ease;
}

.sv-resumen-fecha i {
    color: var(--sv-green);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sv-resumen-fecha span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #166534;
}

/* ------------------------------------------------
   RESUMEN COMPACTO (paso 3)
   ------------------------------------------------ */
.sv-resumen-compacto {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    background: var(--sv-blue-light);
    border: 1.5px solid rgba(0,35,102,0.15);
    border-radius: var(--sv-radius-sm);
    padding: 12px 16px;
    margin-bottom: 1.75rem;
    animation: svFadeIn 0.25s ease;
}

.sv-resumen-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sv-blue);
}

.sv-resumen-item i {
    color: var(--sv-orange);
    font-size: 0.8rem;
}

.sv-resumen-sep {
    color: var(--sv-gray-300);
    font-weight: 400;
    font-size: 1rem;
}

/* ------------------------------------------------
   CHECK PRIVACIDAD
   ------------------------------------------------ */
.sv-check-field { margin-top: 0.5rem; }

/* ------------------------------------------------
   BOTONES DE NAVEGACIÓN
   ------------------------------------------------ */
.sv-step-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1.5px solid var(--sv-gray-100);
    margin-top: 1rem;
    gap: 12px;
}

.sv-btn-next,
.sv-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sv-blue);
    color: #fff;
    border: none;
    border-radius: var(--sv-radius-sm);
    padding: 13px 28px;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    cursor: pointer;
    transition: all var(--sv-transition);
    font-family: inherit;
    white-space: nowrap;
}

.sv-btn-next:hover,
.sv-btn-submit:hover {
    background: var(--sv-orange);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(226,10,23,0.3);
}

.sv-btn-next:active,
.sv-btn-submit:active { transform: translateY(0); }

.sv-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sv-gray-100);
    color: var(--sv-gray-700);
    border: none;
    border-radius: var(--sv-radius-sm);
    padding: 13px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    cursor: pointer;
    transition: all var(--sv-transition);
    font-family: inherit;
    white-space: nowrap;
}

.sv-btn-back:hover { background: var(--sv-gray-200); }

.sv-btn-submit {
    background: linear-gradient(135deg, var(--sv-blue), #003d99);
    flex: 1;
    justify-content: center;
    padding: 14px;
}

.sv-btn-submit:hover { background: var(--sv-orange); }

/* ------------------------------------------------
   ÉXITO (paso final)
   ------------------------------------------------ */
.sv-success-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
    gap: 1rem;
}

.sv-success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--sv-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--sv-green);
    animation: svPopIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes svPopIn {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.sv-success-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--sv-blue);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
}

.sv-success-sub {
    font-size: 0.92rem;
    color: var(--sv-gray-500);
    line-height: 1.65;
    max-width: 420px;
    margin: 0;
}

.sv-success-detalle {
    background: var(--sv-blue-light);
    border: 1.5px solid rgba(0,35,102,0.15);
    border-radius: var(--sv-radius-sm);
    padding: 1.25rem 1.75rem;
    width: 100%;
    max-width: 420px;
    text-align: left;
}

.sv-success-detalle-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(0,35,102,0.08);
}

.sv-success-detalle-row:last-child { border-bottom: none; }

.sv-success-detalle-row i {
    color: var(--sv-orange);
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.sv-success-detalle-row span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sv-blue);
}

.sv-btn-nueva {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid var(--sv-blue);
    color: var(--sv-blue);
    border-radius: var(--sv-radius-sm);
    padding: 11px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    cursor: pointer;
    transition: all var(--sv-transition);
    font-family: inherit;
    margin-top: 0.5rem;
}

.sv-btn-nueva:hover {
    background: var(--sv-blue);
    color: #fff;
}

/* ------------------------------------------------
   INFO SECTION
   ------------------------------------------------ */
.sv-info-section {
    padding: 4rem 0;
    background: #fff;
}

.sv-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.sv-info-card {
    padding: 2rem;
    border: 1.5px solid var(--sv-gray-100);
    border-radius: var(--sv-radius);
    text-align: center;
    transition: all var(--sv-transition);
}

.sv-info-card:hover {
    border-color: rgba(0,35,102,0.2);
    box-shadow: var(--sv-shadow);
    transform: translateY(-3px);
}

.sv-info-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--sv-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--sv-blue);
    margin: 0 auto 1rem;
}

.sv-info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sv-blue);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 0.75rem;
}

.sv-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sv-info-card ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--sv-gray-100);
    font-size: 0.85rem;
}

.sv-info-card ul li:last-child { border-bottom: none; }
.sv-info-card ul li span      { color: var(--sv-gray-500); }
.sv-info-card ul li strong    { color: var(--sv-blue); font-weight: 700; }
.sv-info-card ul li.cerrado strong { color: var(--sv-red); }

.sv-info-card p {
    font-size: 0.88rem;
    color: var(--sv-gray-500);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.sv-info-tel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sv-blue);
    text-decoration: none;
    transition: color var(--sv-transition);
}

.sv-info-tel:hover { color: var(--sv-orange); }

.sv-info-mapa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sv-blue);
    text-decoration: none;
    background: var(--sv-blue-light);
    padding: 8px 16px;
    border-radius: 50px;
    transition: all var(--sv-transition);
}

.sv-info-mapa:hover {
    background: var(--sv-blue);
    color: #fff;
}
/* ------------------------------------------------
   RESPONSIVE — TABLET (max 1024px)
   ------------------------------------------------ */
@media (max-width: 1024px) {
    .sv-modelo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sv-info-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .sv-wizard-card {
        max-width: 100%;
    }
}

/* ------------------------------------------------
   RESPONSIVE — TABLET PORTRAIT (max 768px)
   ------------------------------------------------ */
@media (max-width: 768px) {

    /* Hero */
    .sv-hero {
        min-height: 340px;
    }

    .sv-hero-title {
        font-size: 2rem;
    }

    .sv-hero-sub {
        font-size: 0.88rem;
    }

    .sv-hero-badges {
        gap: 8px;
    }

    .sv-hero-badges span {
        font-size: 0.72rem;
        padding: 4px 10px;
    }

    /* Wizard section */
    .sv-wizard-section {
        padding: 2rem 0 3.5rem;
    }

    /* Progress steps */
    .sv-step-circle {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }

    .sv-step-label {
        font-size: 0.65rem;
    }

    .sv-step-line {
        max-width: 60px;
        margin: 0 4px;
        margin-bottom: 22px;
    }

    /* Wizard card */
    .sv-wizard-card {
        border-radius: var(--sv-radius-sm);
        box-shadow: var(--sv-shadow);
    }

    /* Step content */
    .sv-step-content {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .sv-step-intro h2 {
        font-size: 1.15rem;
    }

    /* Modelo grid */
    .sv-modelo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .sv-modelo-img {
        height: 44px;
    }

    .sv-modelo-name {
        font-size: 0.65rem;
    }

    /* Tipo grid */
    .sv-tipo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .sv-tipo-btn {
        padding: 14px 12px 12px;
    }

    .sv-tipo-name {
        font-size: 0.8rem;
    }

    .sv-tipo-desc {
        font-size: 0.7rem;
    }

    /* Chips de fecha — scroll horizontal en tablet */
    .sv-fechas-chips-grid {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .sv-fechas-chips-grid::-webkit-scrollbar {
        display: none;
    }

    .sv-fecha-chip {
        min-width: 58px;
        padding: 10px 8px;
    }

    .sv-chip-dia-numero {
        font-size: 1.3rem;
    }

    .sv-chip-dia-nombre,
    .sv-chip-mes {
        font-size: 0.6rem;
    }

    /* Horarios */
    .sv-horario-btn {
        padding: 6px 12px;
        font-size: 0.74rem;
    }

    /* Paso 3 — dos columnas colapsan a una */
    .sv-fields-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Resumen compacto */
    .sv-resumen-compacto {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .sv-resumen-sep {
        display: none;
    }

    /* Footer botones */
    .sv-step-footer {
        padding-top: 1.25rem;
        gap: 10px;
    }

    .sv-btn-next,
    .sv-btn-back,
    .sv-btn-submit {
        padding: 12px 18px;
        font-size: 0.82rem;
    }

    /* Info section */
    .sv-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .sv-info-card {
        padding: 1.5rem;
        text-align: left;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
    }

    .sv-info-icon {
        margin: 0;
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .sv-info-card > div:last-child {
        flex: 1;
    }

    .sv-info-card h3 {
        text-align: left;
        margin-bottom: 0.5rem;
    }

    .sv-info-card ul li {
        font-size: 0.8rem;
    }

    /* Éxito */
    .sv-success-wrap {
        padding: 2rem 1rem;
    }

    .sv-success-icon {
        width: 72px;
        height: 72px;
        font-size: 2rem;
    }

    .sv-success-title {
        font-size: 1.3rem;
    }

    .sv-success-detalle {
        padding: 1rem 1.25rem;
    }
}

/* ------------------------------------------------
   RESPONSIVE — MOBILE (max 480px)
   ------------------------------------------------ */
@media (max-width: 480px) {

    /* Hero */
    .sv-hero {
        min-height: 300px;
    }

    .sv-hero .container {
        padding-top: 2rem;
        padding-bottom: 2.5rem;
    }

    .sv-hero-title {
        font-size: 1.7rem;
    }

    .sv-hero-tag {
        font-size: 0.7rem;
        padding: 5px 10px;
    }

    .sv-hero-badges {
        display: none;
    }

    /* Progress: ocultar labels */
    .sv-step-label {
        display: none;
    }

    .sv-step-circle {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .sv-step-line {
        max-width: 40px;
    }

    /* Step content */
    .sv-step-content {
        padding: 1.5rem 1rem 1.25rem;
    }

    .sv-step-intro {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .sv-step-intro h2 {
        font-size: 1rem;
    }

    .sv-step-intro p {
        font-size: 0.82rem;
    }

    /* Modelo grid: 2 columnas */
    .sv-modelo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .sv-modelo-btn {
        padding: 10px 6px 8px;
    }

    .sv-modelo-img {
        height: 40px;
    }

    .sv-modelo-name {
        font-size: 0.6rem;
    }

    /* Tipo: 1 columna */
    .sv-tipo-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .sv-tipo-btn {
        flex-direction: row;
        align-items: center;
        padding: 12px 14px;
        gap: 12px;
    }

    .sv-tipo-icon {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
        flex-shrink: 0;
    }

    .sv-tipo-desc {
        display: none;
    }

    /* Chips de fecha — scroll horizontal en mobile */
    .sv-fechas-chips-grid {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .sv-fechas-chips-grid::-webkit-scrollbar {
        display: none;
    }

    .sv-fecha-chip {
        min-width: 54px;
        padding: 10px 7px;
        border-radius: 8px;
    }

    .sv-chip-dia-numero {
        font-size: 1.2rem;
    }

    .sv-chip-dia-nombre,
    .sv-chip-mes {
        font-size: 0.58rem;
    }

    /* Horarios */
    .sv-horarios-grid {
        gap: 6px;
    }

    .sv-horario-btn {
        padding: 6px 10px;
        font-size: 0.7rem;
    }

    /* Resumen */
    .sv-resumen-fecha {
        padding: 10px 12px;
    }

    .sv-resumen-fecha span {
        font-size: 0.8rem;
    }

    .sv-resumen-compacto {
        padding: 10px 12px;
        gap: 6px;
    }

    .sv-resumen-item {
        font-size: 0.75rem;
    }

    /* Inputs */
    .sv-input,
    .sv-select,
    .sv-textarea {
        font-size: 1rem;
        padding: 11px 13px;
    }

    /* Footer botones */
    .sv-step-footer {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .sv-btn-next,
    .sv-btn-submit {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }

    .sv-btn-back {
        width: 100%;
        justify-content: center;
        padding: 11px;
        font-size: 0.8rem;
    }

    /* Éxito */
    .sv-success-wrap {
        padding: 1.75rem 0.75rem;
        gap: 0.85rem;
    }

    .sv-success-icon {
        width: 64px;
        height: 64px;
        font-size: 1.75rem;
    }

    .sv-success-title {
        font-size: 1.15rem;
    }

    .sv-success-sub {
        font-size: 0.84rem;
    }

    .sv-success-detalle {
        padding: 0.9rem 1rem;
    }

    .sv-success-detalle-row span {
        font-size: 0.8rem;
    }

    .sv-btn-nueva {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 0.82rem;
    }

    /* Info section */
    .sv-info-section {
        padding: 2.5rem 0;
    }

    .sv-info-card {
        padding: 1.25rem;
        border-radius: var(--sv-radius-sm);
    }

    .sv-info-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .sv-info-card h3 {
        font-size: 0.88rem;
    }

    .sv-info-tel {
        font-size: 1rem;
    }
}

/* ------------------------------------------------
   MOBILE LANDSCAPE
   ------------------------------------------------ */
@media (max-width: 768px) and (orientation: landscape) {
    .sv-hero {
        min-height: 260px;
    }

    .sv-hero .container {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .sv-hero-title {
        font-size: 1.6rem;
    }

    .sv-hero-sub {
        display: none;
    }
}

/* ------------------------------------------------
   TOUCH DEVICES
   ------------------------------------------------ */
@media (hover: none) and (pointer: coarse) {

    .sv-fecha-chip {
        min-height: 72px;
    }

    .sv-horario-btn {
        min-height: 38px;
        padding: 8px 14px;
    }

    .sv-modelo-btn {
        min-height: 80px;
    }

    .sv-tipo-btn {
        min-height: 70px;
    }

    .sv-btn-next,
    .sv-btn-back,
    .sv-btn-submit,
    .sv-btn-nueva {
        min-height: 48px;
    }
}

/* ------------------------------------------------
   HERO BACKGROUND
   ------------------------------------------------ */
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 10, 40, 0.88) 0%,
        rgba(0, 35, 102, 0.75) 60%,
        rgba(0, 35, 102, 0.55) 100%
    );
}

.hero-road-lines {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-end;
    opacity: 0.2;
    pointer-events: none;
}

.hero-road-lines span {
    display: block;
    width: 8px;
    height: 60px;
    background: #fff;
    border-radius: 4px;
    animation: roadLine 1.5s linear infinite;
    margin: 0 auto;
}

.hero-road-lines span:nth-child(2) { animation-delay: 0.5s; }
.hero-road-lines span:nth-child(3) { animation-delay: 1s; }

@keyframes roadLine {
    0%   { transform: translateY(-100px); opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { transform: translateY(500px); opacity: 0; }
}

/* ------------------------------------------------
   GRUPOS DE FECHAS CON ENCABEZADO
   ------------------------------------------------ */

.sv-fechas-grupo-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #002366;
    margin: 20px 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e8edf5;
}

.sv-fechas-grupo-heading:first-child {
    margin-top: 4px;
}

.sv-fechas-grupo-heading i {
    color: (var(--sv-green));
    font-size: 0.8rem;
}

/* ------------------------------------------------
   FIN servicio.css
   ------------------------------------------------ */