﻿/* ============================================================
   MANPRO AUTOMOTRIZ — SITIO PRINCIPAL
   Tema: Light | Brand Orange #ff5603 | Anton + Poppins
   Brand Board: 60% Negro/Blanco · 25% Azul · 10% Naranja · 5% Verde
   ============================================================ */

:root {
    --orange:       #ff5603;
    --orange-dark:  #e64a00;
    --orange-light: #fff3ee;
    --navy:         #023047;
    --navy-dark:    #011f30;
    --dark:         #1b1b1b;
    --dark-2:       #111111;
    --white:        #ffffff;
    --gray-bg:      #f8f8f8;
    --gray-light:   #f2f2f2;
    --border:       #e5e7eb;
    --text:         #1b1b1b;
    --text-muted:   #6b7280;
    --wa-green:     #25d366;
    --wa-hover:     #1da851;
    --success:      #16a34a;
    --warning:      #f59e0b;
    --danger:       #dc2626;
    --radius:       12px;
    --radius-lg:    20px;
    --radius-full:  9999px;
    --shadow-sm:    0 1px 4px rgba(0,0,0,.08);
    --shadow:       0 2px 16px rgba(0,0,0,.10);
    --shadow-md:    0 4px 24px rgba(0,0,0,.14);
    --shadow-orange:0 4px 20px rgba(255,86,3,.22);
    --touch-min:    48px;
    --section-pad:  96px 24px;
    --section-pad-sm: 60px 20px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4 {
    font-family: 'Anton', 'Poppins', sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.15;
}

p { line-height: 1.7; }

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; }

button, input, select, textarea {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    color: var(--dark);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
}

.section-header--light h2 { color: var(--white); }
.section-header--light p  { color: rgba(255,255,255,.7); }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    min-height: var(--touch-min);
    transition: background .2s, transform .2s, box-shadow .2s;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

.btn-primary:active { transform: translateY(0); }

.btn-outline-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.4);
    border-radius: var(--radius-full);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    min-height: var(--touch-min);
    transition: all .2s;
    text-decoration: none;
}

.btn-outline-hero:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.08);
}

.btn-outline-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.5);
    border-radius: var(--radius-full);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    min-height: var(--touch-min);
    transition: all .2s;
    text-decoration: none;
}

.btn-outline-cta:hover {
    border-color: var(--white);
    background: rgba(255,255,255,.1);
}

.btn-wa-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    background: var(--wa-green);
    color: var(--white);
    border-radius: var(--radius-full);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    min-height: var(--touch-min);
    transition: background .2s, transform .2s;
    text-decoration: none;
}

.btn-wa-large:hover {
    background: var(--wa-hover);
    transform: translateY(-2px);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    margin-bottom: 28px;
    padding: 6px 0;
    transition: color .2s;
    min-height: var(--touch-min);
}

.btn-back:hover { color: var(--orange); }

/* ── Draft restore banner ── */
.draft-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: .875rem;
    color: #92400e;
    flex-wrap: wrap;
}
.draft-banner.hidden { display: none; }
.draft-banner > i { color: #f59e0b; font-size: 1.1rem; flex-shrink: 0; }
.draft-banner > span { flex: 1; }
.draft-banner-actions { display: flex; gap: 8px; }
.btn-draft-continuar {
    padding: 6px 14px;
    background: #f97316;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: .85rem;
}
.btn-draft-continuar:hover { background: #ea6c0a; }
.btn-draft-nueva {
    padding: 6px 14px;
    background: transparent;
    border: 1px solid #fbbf24;
    color: #92400e;
    border-radius: 6px;
    cursor: pointer;
    font-size: .85rem;
}
.btn-draft-nueva:hover { background: #fef3c7; }

/* ── Inline field validation ── */
.input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}
.field-error-msg {
    color: #ef4444;
    font-size: .76rem;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── Badge cliente recurrente ── */
.cliente-recurrente-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 5px 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 20px;
    font-size: .78rem;
    color: #c2410c;
    font-weight: 600;
}
.cliente-recurrente-badge.hidden { display: none; }
.cliente-recurrente-badge i { color: #f97316; }

/* ── Offline banner ── */
.offline-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #1e293b;
    color: #fbbf24;
    font-size: .85rem;
    text-align: center;
    padding: 10px 16px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.offline-banner.hidden { display: none; }


.btn-secondary-calc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    min-height: var(--touch-min);
    transition: all .2s;
}

.btn-secondary-calc:hover {
    border-color: var(--orange);
    color: var(--orange);
}

/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.navbar-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}

.navbar-brand { display: flex; align-items: center; flex-shrink: 0; }

.navbar-logo   { height: 36px; width: auto; }

.navbar-logo-fallback {
    font-family: 'Anton', sans-serif;
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: 0.06em;
}

.navbar-logo-fallback span { color: var(--orange); }

.navbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.navbar-links a {
    display: block;
    padding: 8px 14px;
    color: rgba(255,255,255,.75);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    transition: color .2s, background .2s;
    white-space: nowrap;
}

.navbar-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,.07);
}

.navbar-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--wa-green);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 40px;
    transition: background .2s, transform .2s;
}

.navbar-wa:hover {
    background: var(--wa-hover);
    transform: translateY(-1px);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
}

.navbar-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all .25s ease;
}

.navbar-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle.active span:nth-child(2) { opacity: 0; }
.navbar-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/hero-bg.jpg') center/cover no-repeat;
    opacity: .08;
    z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
.hero-trust { position: relative; z-index: 1; }

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content { position: relative; z-index: 2; }

.hero-label {
    display: inline-block;
    color: var(--orange);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    color: rgba(255,255,255,.65);
    font-size: 1rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.hero-benefit i {
    color: var(--orange);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.hero-benefit strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
}

.hero-benefit span {
    font-size: 0.8rem;
    color: rgba(255,255,255,.55);
}

.hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    background: #2a2a2a;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image.no-img {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    background: #2a2a2a;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.9s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
}

.hero-carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.hero-dot.active {
    background: var(--brand-blue, #3b82f6);
    border-color: var(--brand-blue, #3b82f6);
    transform: scale(1.25);
}

.hero-trust {
    background: rgba(255,255,255,.04);
    border-top: 1px solid rgba(255,255,255,.07);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 18px 24px;
    flex-wrap: wrap;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,.6);
}

.hero-trust span i { color: var(--orange); }

/* ============================================================
   PLANS SECTION
   ============================================================ */

.plans-section {
    background: var(--white);
    padding: var(--section-pad);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: center;
}

.plan-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
    position: relative;
}

.plan-card:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow-orange);
    transform: translateY(-4px);
}

.plan-card--featured {
    background: var(--dark-2);
    border-color: var(--dark-2);
    box-shadow: 0 16px 48px rgba(0,0,0,.35);
    transform: scale(1.06);
    padding: 40px 32px;
    z-index: 2;
}

.plan-card--featured .plan-name {
    color: var(--white);
}

.plan-card--featured .plan-desc {
    color: rgba(255,255,255,.65);
}

.plan-card--featured .plan-features li {
    color: rgba(255,255,255,.85);
}

.plan-card--featured .plan-features li i {
    color: var(--orange);
}

.plan-card--featured .plan-icon {
    color: var(--orange);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.plan-icon {
    font-size: 1.6rem;
    color: var(--orange);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-name {
    font-size: 1.6rem;
    color: var(--dark);
}

.plan-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.plan-features li {
    font-size: 0.875rem;
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.plan-features li i {
    color: var(--success);
    font-size: 0.8rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.feature-note {
    display: block;
    font-size: 0.72rem;
    font-style: italic;
    opacity: .55;
    line-height: 1.4;
    margin-top: 2px;
}

.btn-plan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    min-height: var(--touch-min);
    transition: all .2s;
    width: 100%;
    margin-top: auto;
}

.btn-plan:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.btn-plan--featured {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.btn-plan--featured:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    color: var(--white);
}

.plans-footnote {
    text-align: center;
    margin-top: 32px;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.plans-footnote i { color: var(--orange); }

/* ── Escaneo Callout ── */
.escaneo-callout {
    margin-top: 32px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 32px;
    background: var(--dark-2);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.escaneo-callout::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,86,3,.10) 0%, transparent 55%);
    pointer-events: none;
}

.escaneo-callout-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--orange);
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: 0 10px 24px rgba(255,86,3,.30);
}

.escaneo-callout-body {
    flex: 1;
    min-width: 0;
}

.escaneo-callout-title {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    color: var(--white);
    margin: 0 0 4px;
    line-height: 1.1;
}

.escaneo-callout-desc {
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: 0.9rem;
    line-height: 1.5;
}

.escaneo-callout-action {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.escaneo-callout-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: var(--radius-full);
    padding: 5px 14px;
    white-space: nowrap;
}

.escaneo-callout-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    background: var(--orange);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: var(--shadow-orange);
    transition: transform .18s ease, background .18s ease;
}

.escaneo-callout-btn:hover {
    transform: translateY(-2px);
    background: var(--orange-dark);
}

@media (max-width: 768px) {
    .escaneo-callout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
        padding: 24px 20px;
    }
    .escaneo-callout-action {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .escaneo-callout-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   CALCULADORA
   ============================================================ */

.calc-section {
    background: var(--gray-bg);
    padding: var(--section-pad);
}

.calc-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

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

.csi-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
}

.csi-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color .3s;
}

.calc-step-indicator.active .csi-num {
    background: var(--orange);
    color: var(--white);
    box-shadow: var(--shadow-orange);
}

.calc-step-indicator.active .csi-label { color: var(--orange); font-weight: 600; }

.calc-step-indicator.done .csi-num {
    background: var(--success);
    color: var(--white);
}

.calc-step-indicator.done .csi-label { color: var(--success); }

.calc-step-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    margin: 0 12px;
    margin-bottom: 22px;
    min-width: 40px;
}

.calc-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: var(--shadow);
    max-width: 860px;
    margin: 0 auto;
}

.step       { display: none; }
.step.active{ display: block; animation: fadeIn .3s ease; }

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

.step-intro {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.step-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.maintenance-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-maintenance {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .2s;
}

.card-maintenance:hover {
    border-color: var(--orange);
    box-shadow: 0 2px 12px rgba(255,86,3,.12);
}

.card-maintenance.selected {
    border-color: var(--orange);
    background: var(--orange-light);
    box-shadow: 0 2px 12px rgba(255,86,3,.15);
}

.card-maintenance-icon {
    font-size: 1.5rem;
    color: var(--orange);
    width: 44px;
    flex-shrink: 0;
    text-align: center;
    padding-top: 2px;
}

.card-maintenance-body {
    flex: 1;
}

.card-maintenance-body h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 3px;
}

.card-maintenance-body p {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.card-price {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--orange);
    margin-top: 5px;
}

.card-price-free {
    color: #16A34A;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

/* Tarjeta Escaneo: separada visualmente de los mantenimientos */
.card-escaneo {
    border-style: dashed;
    border-color: #CBD5E1;
}
.card-escaneo .card-maintenance-body h3 {
    font-size: 1rem;
    color: #166534;
}
.card-escaneo .card-maintenance-body p {
    font-size: 0.78rem;
    line-height: 1.45;
}
.card-escaneo:hover {
    border-color: #16A34A;
}
.card-escaneo.selected {
    border-color: #16A34A;
    background: #F0FDF4;
}
.card-escaneo .card-maintenance-icon {
    color: #16A34A;
}
.card-escaneo.selected .card-radio {
    border-color: #16A34A;
}
.card-escaneo.selected .card-radio span {
    background: #16A34A;
}

.card-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s;
}

.card-radio span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    transition: background .2s;
}

.card-maintenance.selected .card-radio {
    border-color: var(--orange);
}

.card-maintenance.selected .card-radio span {
    background: var(--orange);
}

.form-grid-calc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.form-group--full { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; }

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 8px;
}

.form-group select,
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="date"] {
    width: 100%;
    padding: 13px 16px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .2s;
    min-height: var(--touch-min);
}

.form-group select:focus,
.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="date"]:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,86,3,.1);
}

.form-group select:disabled {
    opacity: .35;
    cursor: not-allowed;
    background: var(--gray-light);
}

.form-group select option { background: var(--white); }

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: .5;
}

.calc-privacy {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.calc-privacy i { color: var(--success); }

.result-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 22px;
    border-left: 4px solid var(--orange);
}

/* Badge de tipo de mantenimiento */
.result-type-pill {
    display: inline-block;
    background: var(--orange-light);
    color: var(--orange-dark);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.result-type-pill--escaneo {
    font-size: 1rem;
    padding: 7px 18px;
    margin-bottom: 14px;
}

/* Precio + MXN en una línea */
.result-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.result-price {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.6rem, 7vw, 3.4rem);
    color: var(--orange);
    line-height: 1;
}

.result-price--free {
    color: #16a34a;
    font-size: clamp(2rem, 5vw, 2.6rem);
    text-shadow: 0 0 24px rgba(22,163,74,.20);
}

.result-currency {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Vehículo debajo del precio */
.result-vehicle-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.4;
}

/* CTA principal */
.result-btn-cta {
    width: 100%;
    justify-content: center;
}

/* Sección incluye */
.result-includes {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.result-includes h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.result-includes ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 0;
}

.result-includes ul li {
    font-size: 0.875rem;
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.result-includes ul li i {
    color: var(--success);
    font-size: 0.75rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Ítems extra (ocultos hasta expandir) */
.result-includes ul li.includes-extra {
    display: none;
}
.result-includes.is-expanded ul li.includes-extra {
    display: flex;
}

/* Toggle "Ver N más" */
.btn-toggle-includes {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    background: none;
    border: none;
    color: var(--orange);
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    transition: opacity 0.15s;
}
.btn-toggle-includes:hover { opacity: 0.75; }
.btn-toggle-includes i {
    transition: transform 0.2s;
}

/* Nota de lujo — compacta */
.lujo-note {
    margin-top: 12px;
    padding: 10px 14px;
    background: #fff8e6;
    border: 1px solid rgba(245,158,11,.25);
    border-radius: 8px;
    font-size: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-muted);
    line-height: 1.45;
}

.lujo-note i {
    color: var(--warning);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Voucher promo card (entre planes y calculadora) */
.voucher-promo-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    border: 2px solid var(--orange);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.vpc-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
}
.vpc-body {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.vpc-label {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--orange);
    margin: 0;
}
.vpc-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    line-height: 1.3;
}
.vpc-sub {
    font-size: .78rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}
.vpc-btn {
    flex-shrink: 0;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .15s;
}
.vpc-btn:hover { opacity: .88; }
@media (max-width: 600px) {
    .voucher-promo-card { padding: 16px 18px; gap: 14px; }
    .vpc-btn { width: 100%; text-align: center; }
}

/* Voucher online badge (paso 3, PREMIUM) */
.voucher-online-badge {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 14px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1.5px solid #f59e0b;
    border-radius: 10px;
}
.voucher-badge-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    background: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .9rem;
}
.voucher-badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.voucher-badge-text strong {
    font-size: .88rem;
    color: #92400e;
    font-weight: 700;
}
.voucher-badge-text span {
    font-size: .75rem;
    color: #b45309;
    line-height: 1.4;
}

/* Voucher en confirmación (paso 6) */
.confirmacion-voucher {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 14px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1.5px solid #f59e0b;
    border-radius: 10px;
}
.confirmacion-voucher > i {
    flex-shrink: 0;
    font-size: 1.2rem;
    color: #f59e0b;
    margin-top: 2px;
}
.confirmacion-voucher > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.confirmacion-voucher strong {
    font-size: .88rem;
    color: #92400e;
    font-weight: 700;
}
.confirmacion-voucher span {
    font-size: .75rem;
    color: #b45309;
    line-height: 1.4;
}

/* Nota de confirmación de técnico */
.result-confirm-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 10px 0 4px;
    line-height: 1.45;
}
.result-confirm-note i {
    color: var(--orange);
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 0.82rem;
}

/* Ventajas de agendar online */
.result-perks {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.result-perks li {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 7px;
}
.result-perks li i {
    color: var(--success, #22c55e);
    font-size: 0.72rem;
    flex-shrink: 0;
}

/* Footer: dudas + disclaimer en fila */
.result-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    gap: 8px;
    flex-wrap: wrap;
}

.btn-dudas {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #15803d;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    padding: 9px 18px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: background .2s, border-color .2s;
}

.btn-dudas:hover {
    background: #bbf7d0;
    border-color: #4ade80;
}

.result-disclaimer {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.result-disclaimer i { color: var(--success); }

.sucursal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.sucursal-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: all .2s;
}

.sucursal-card:hover { border-color: var(--orange); box-shadow: var(--shadow-orange); }

.sucursal-card.selected {
    border-color: var(--orange);
    background: var(--orange-light);
}

.sucursal-card h3 { font-size: 0.95rem; margin-bottom: 6px; }

.sucursal-dir { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 4px; }
.sucursal-ref { font-size: 0.78rem; color: var(--text-muted); font-style: italic; margin-bottom: 12px; }

.btn-mapa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--orange);
    padding: 6px 0;
    transition: opacity .2s;
}

.btn-mapa:hover { opacity: .7; }

.slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
    margin-bottom: 4px;
}

/* Botón confirmar cita — separación del horario */
.btn-confirmar-cita {
    margin-top: 24px;
}

/* Teléfono con bandera en calculadora pública */
.calc-tel-group {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.calc-tel-group .calc-tel-pais {
    padding: 13px 10px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    outline: none;
    cursor: pointer;
    width: auto;
    flex: 0 0 auto;
    min-height: var(--touch-min);
    transition: border-color .2s;
}
.calc-tel-group .calc-tel-pais:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,86,3,.1);
}
.calc-tel-group .calc-tel-numero {
    flex: 1;
    width: auto;
    min-width: 0;
    padding: 13px 16px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    outline: none;
    min-height: var(--touch-min);
    transition: border-color .2s;
}
.calc-tel-group .calc-tel-numero:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,86,3,.1);
}

.slot-btn {
    padding: 10px 18px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    min-height: var(--touch-min);
}

.slot-btn:hover { border-color: var(--orange); color: var(--orange); }

.slot-btn.selected {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.confirmacion-card {
    text-align: center;
    padding: 20px 0;
}

.confirmacion-icon { font-size: 3rem; margin-bottom: 16px; }

.confirmacion-card h2 { font-size: 2rem; margin-bottom: 8px; }

.confirmacion-sub {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.confirmacion-detalle {
    background: var(--gray-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    text-align: left;
    margin-bottom: 28px;
}

.confirmacion-fila {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.confirmacion-fila:last-of-type { border-bottom: none; }
.confirmacion-fila span { color: var(--text-muted); }
.confirmacion-fila strong { font-weight: 600; text-align: right; }

.confirmacion-nota {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
}

/* ============================================================
   WHY SECTION
   ============================================================ */

.why-section {
    background: var(--white);
    padding: var(--section-pad);
    border-top: 1px solid var(--border);
}

.why-title {
    font-size: clamp(1.3rem, 2.8vw, 1.9rem);
    text-align: center;
    margin-bottom: 48px;
    color: var(--dark);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.why-card {
    text-align: center;
    padding: 8px;
}

.why-icon {
    font-size: 1.8rem;
    color: var(--orange);
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--dark);
    letter-spacing: 0.04em;
}

.why-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */

.process-section {
    background: var(--navy);
    padding: var(--section-pad);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
}

.process-step {
    text-align: center;
    padding: 0 12px;
    position: relative;
}

.process-num {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.process-icon {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin: 0 auto 16px;
    margin-top: 12px;
    border: 1px solid rgba(255,255,255,.12);
}

.process-step h3 {
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.process-step p {
    font-size: 0.78rem;
    color: rgba(255,255,255,.55);
    line-height: 1.5;
}

.process-connector {
    width: 1px;
    border-top: 2px dashed rgba(255,255,255,.2);
    margin-top: 48px;
    align-self: start;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */

.services-section {
    background: var(--white);
    padding: var(--section-pad);
    border-top: 1px solid var(--border);
}

.services-title {
    text-align: center;
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    color: var(--dark);
    margin-bottom: 48px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 24px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.service-item i {
    font-size: 1.6rem;
    color: var(--orange);
}

.service-item span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.3;
}

/* ============================================================
   TRUST SECTION
   ============================================================ */

.trust-section {
    background: var(--dark);
    padding: 64px 24px;
}

.trust-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    align-items: start;
}

.trust-item {
    text-align: center;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.trust-icon {
    font-size: 1.6rem;
    color: var(--orange);
    margin-bottom: 14px;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
    line-height: 1.35;
}

.trust-item p {
    font-size: 0.78rem;
    color: rgba(255,255,255,.5);
    line-height: 1.45;
}

.trust-item--highlight .trust-icon { display: none; }

.trust-num {
    font-family: 'Anton', sans-serif;
    font-size: 3.5rem;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 8px;
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   CTA FINAL
   ============================================================ */

.cta-final {
    background: var(--dark);
    position: relative;
    padding: var(--section-pad);
    overflow: hidden;
}

.cta-final-overlay {
    position: absolute;
    inset: 0;
    background: url('../img/cta-bg.jpg') center/cover no-repeat;
    opacity: .18;
}

.cta-final-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-final-content h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 12px;
}

.cta-final-sub {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 16px;
}

.cta-final-note {
    font-size: 0.82rem;
    color: rgba(255,255,255,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
}

.cta-final-note i { color: var(--success); }

.cta-final-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================================
   SUCURSALES SECTION
   ============================================================ */

.sucursales-section {
    background: var(--gray-bg);
    padding: var(--section-pad);
}

.sucursales-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.sucursal-info-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform .3s, box-shadow .3s;
    background: var(--dark-2);
}

.sucursal-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0,0,0,.28);
}

.sic-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
}

.sucursal-info-card:hover .sic-img {
    transform: scale(1.04);
}

.sic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.88) 0%,
        rgba(0,0,0,.55) 45%,
        rgba(0,0,0,.10) 100%
    );
}

.sic-content {
    position: relative;
    z-index: 2;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sic-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 4px;
}

.sic-content h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: .02em;
    line-height: 1.1;
}

.sic-content p {
    font-size: 0.85rem;
    color: rgba(255,255,255,.75);
    line-height: 1.5;
    margin: 0;
}

.sic-ref {
    font-style: italic;
    color: rgba(255,255,255,.5) !important;
    font-size: 0.8rem !important;
    margin-bottom: 12px !important;
}

.btn-mapa-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--orange);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background .2s;
    min-height: 44px;
    align-self: flex-start;
    margin-top: 8px;
}

.btn-mapa-info:hover { background: var(--orange-dark); }

/* ============================================================
   FAQ SECTION
   ============================================================ */

.faq-section {
    background: var(--white);
    padding: 80px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .2s;
}

.faq-item:hover { border-color: var(--orange); }

.faq-item.open { border-color: var(--orange); }

.faq-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
}

.faq-btn-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
    flex: 1;
}

.faq-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--orange-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .3s;
}

.faq-icon i {
    color: var(--orange);
    font-size: 0.75rem;
    transition: transform .3s;
}

.faq-item.open .faq-icon { background: var(--orange); }
.faq-item.open .faq-icon i { color: var(--white); transform: rotate(180deg); }

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0 24px;
}

.faq-item.open .faq-body {
    max-height: 400px;
    padding: 0 24px 20px;
}

.faq-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-body a {
    color: var(--orange);
    font-weight: 600;
    text-decoration: none;
}

.faq-body a:hover { text-decoration: underline; }

.faq-cta {
    max-width: 800px;
    margin: 32px auto 0;
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.faq-cta p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.faq-cta strong { color: var(--dark); }

.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wa-green);
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s;
}

.faq-cta-btn:hover { background: var(--wa-hover); }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    background: var(--dark-2);
    border-top: 1px solid rgba(255,255,255,.06);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-logo { height: 32px; width: auto; }

.footer-logo-fallback {
    font-family: 'Anton', sans-serif;
    font-size: 1.2rem;
    color: var(--white);
}

.footer-logo-fallback span { color: var(--orange); }

.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.85rem;
    color: rgba(255,255,255,.5);
    transition: color .2s;
}

.footer-nav a:hover { color: var(--white); }

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,.6);
    transition: all .2s;
}

.footer-social a:hover {
    background: var(--orange);
    color: var(--white);
}

.footer-copy {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 20px 24px;
    text-align: center;
}

.footer-copy p {
    font-size: 0.78rem;
    color: rgba(255,255,255,.3);
}

/* ============================================================
   MODAL
   ============================================================ */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.hidden { display: none !important; }
.modal.visible { display: flex; }

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-md);
}

.close-modal {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    transition: color .2s;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover { color: var(--dark); }

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.modal-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.contact-options { display: flex; flex-direction: column; gap: 10px; }

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: var(--gray-bg);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all .2s;
    min-height: var(--touch-min);
}

.contact-btn:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }

.contact-btn-wa:hover { border-color: var(--wa-green); color: var(--wa-green); background: #f0fff6; }

/* ============================================================
   TOAST
   ============================================================ */

#toast-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    background: var(--dark);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    animation: slideUp .3s ease;
    pointer-events: auto;
    white-space: nowrap;
}

.toast-error   { background: var(--danger); }
.toast-success { background: var(--success); }
.toast-warning { background: var(--dark); border-left: 3px solid var(--warning); }

.toast-hide { animation: slideDown .3s ease forwards; }

@keyframes slideUp {
    from { opacity: 0; transform: translateX(-50%) translateY(16px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes slideDown {
    from { opacity: 1; }
    to   { opacity: 0; transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   FAB WHATSAPP
   ============================================================ */

.fab-wa {
    position: fixed;
    bottom: 24px;
    bottom: max(24px, env(safe-area-inset-bottom, 24px));
    right: 20px;
    right: max(20px, env(safe-area-inset-right, 20px));
    z-index: 100;
    width: 56px;
    height: 56px;
    background: var(--wa-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    transition: all .25s ease;
}

.fab-wa:hover {
    background: var(--wa-hover);
    transform: scale(1.1);
}

/* ============================================================
   RESPONSIVE TABLET (<=1024px)
   ============================================================ */

/* ============================================================
   RESPONSIVE TABLET (<=1024px)
   ============================================================ */

@media (max-width: 1024px) {
    .plans-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .plan-card--featured { transform: none; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .process-connector { display: none; }
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE MOBILE (<=768px)
   ============================================================ */

@media (max-width: 768px) {
    :root {
        --section-pad: 56px 20px;
    }

    /* --- Navbar --- */
    .navbar-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        align-items: stretch;
        padding: 8px 0 20px;
        border-top: 1px solid rgba(255,255,255,.07);
        display: none;
        z-index: 199;
        box-shadow: 0 8px 24px rgba(0,0,0,.3);
    }
    .navbar-links.open { display: flex; }
    .navbar-links li a {
        padding: 15px 24px;
        font-size: 1rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,.05);
    }
    .navbar-toggle { display: flex; }
    .navbar-wa span { display: none; }
    .navbar-wa { padding: 10px 14px; font-size: 1.1rem; }

    /* --- Hero --- */
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 48px 20px 40px;
        gap: 32px;
    }
    .hero-image { order: -1; aspect-ratio: 16/9; border-radius: var(--radius); }
    .hero-title { font-size: clamp(1.9rem, 7.5vw, 2.6rem); }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 20px; }
    .hero-actions { flex-direction: column; gap: 10px; margin-bottom: 20px; }
    .hero-actions .btn-primary { width: 100%; justify-content: center; padding: 17px 24px; }
    .hero-actions .btn-outline-hero { width: 100%; justify-content: center; padding: 13px 24px; font-size: 0.875rem; }
    /* Hero benefits ocultos en móvil — reducen scroll sin aportar más que la sección “Por qué” */
    .hero-benefits { display: none; }
    .hero-trust { gap: 16px; padding: 14px 20px; flex-wrap: wrap; justify-content: flex-start; }
    .hero-trust span { font-size: 0.72rem; }

    /* Espacio para que el FAB no tape el footer */
    body { padding-bottom: 76px; }

    /* --- Section headers --- */
    .section-header { margin-bottom: 36px; }
    .section-header h2 { font-size: clamp(1.4rem, 5.5vw, 2rem); }

    /* --- Plans --- */
    .plans-grid { grid-template-columns: 1fr; gap: 16px; max-width: 480px; margin: 0 auto; }
    .plan-card { padding: 28px 24px; }
    .plan-card--featured { padding: 32px 24px; }

    /* --- Calculator --- */
    .calc-section { padding: 48px 16px; }
    .calc-box { padding: 28px 20px; border-radius: var(--radius); }
    .form-grid-calc { grid-template-columns: 1fr; gap: 16px; }

    /* Result card */
    .result-card { padding: 20px 18px; }
    .result-price { font-size: 2.8rem; }

    /* Sucursal cards (calculator) */
    .sucursal-cards { grid-template-columns: 1fr; }
    .slots-grid { gap: 8px; }
    .slot-btn { padding: 10px 14px; font-size: 0.82rem; }

    /* --- Why section --- */
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .why-title { font-size: clamp(1.2rem, 5vw, 1.7rem); margin-bottom: 32px; }

    /* --- Process section --- */
    .process-section { padding: 48px 20px; }
    .process-steps { gap: 24px; }
    .process-icon { width: 60px; height: 60px; font-size: 1.3rem; }

    /* --- Services --- */
    .services-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }

    /* --- Trust --- */
    .trust-section { padding: 48px 20px; }
    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: var(--radius);
        overflow: hidden;
    }
    .trust-item {
        padding: 28px 16px;
        border-right: 1px solid rgba(255,255,255,.08);
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .trust-item:nth-child(2n) { border-right: none; }
    .trust-item:nth-last-child(-n+2) { border-bottom: none; }
    .trust-num { font-size: 2.8rem; }

    /* --- CTA Final --- */
    .cta-final { padding: 56px 20px; }
    .cta-final-content h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
    .cta-final-actions { flex-direction: column; align-items: stretch; gap: 12px; }
    .cta-final-actions .btn-wa-large,
    .cta-final-actions .btn-outline-cta { width: 100%; justify-content: center; }

    /* --- Sucursales section --- */
    .sucursales-section { padding: 48px 20px; }
    .sucursales-grid { grid-template-columns: 1fr; gap: 20px; }
    .sucursal-info-card { min-height: 300px; }

    /* --- Footer --- */
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 40px 20px 28px;
    }
    .footer-nav { gap: 16px; }

    /* --- Modal --- */
    .modal-content { padding: 36px 20px; }

    /* --- Toast --- */
    .toast { white-space: normal; max-width: calc(100vw - 40px); text-align: center; }
}

/* ============================================================
   RESPONSIVE SMALL MOBILE (<=480px)
   ============================================================ */

@media (max-width: 480px) {
    :root { --section-pad: 44px 16px; }

    /* --- Navbar --- */
    .navbar-container { padding: 0 16px; height: 60px; }
    .navbar-links { top: 60px; }
    .navbar-logo { height: 30px; }

    /* --- Hero --- */
    .hero-inner { padding: 40px 16px 36px; gap: 28px; }
    .hero-label { font-size: 0.68rem; }
    .hero-title { font-size: clamp(1.7rem, 8.5vw, 2.2rem); }
    .hero-subtitle { font-size: 0.88rem; }
    .hero-benefit { flex: 1 1 120px; }
    .hero-benefit strong { font-size: 0.82rem; }
    .hero-trust { gap: 12px; padding: 12px 16px; }

    /* --- Section headers --- */
    .section-header h2 { font-size: clamp(1.3rem, 6.5vw, 1.8rem); }
    .section-header p { font-size: 0.88rem; }
    .section-header { margin-bottom: 28px; }

    /* --- Plans --- */
    .plans-grid { max-width: 100%; }
    .plan-name { font-size: 1.3rem; }
    .plan-features li { font-size: 0.82rem; }

    /* --- Calculator --- */
    .calc-section { padding: 36px 12px; }
    .calc-box { padding: 24px 16px; border-radius: var(--radius); }
    .calc-progress { gap: 0; padding: 0 4px; }
    .csi-label { display: none; }
    .csi-num { width: 30px; height: 30px; font-size: 0.78rem; }
    .calc-step-line { min-width: 20px; }

    .card-maintenance { padding: 16px 18px; gap: 12px; }
    .card-maintenance-icon { font-size: 1.3rem; width: 36px; }
    .card-maintenance-body h3 { font-size: 1rem; }

    .result-card { padding: 20px 16px; border-radius: var(--radius); }
    .result-price { font-size: 2.4rem; }
    .result-price-label { font-size: 0.65rem; }
    .result-includes ul li { font-size: 0.82rem; }

    .confirmacion-card { padding: 12px 0; }
    .confirmacion-icon { font-size: 2.4rem; }
    .confirmacion-card h2 { font-size: 1.6rem; }
    .confirmacion-detalle { padding: 16px; }
    .confirmacion-fila { font-size: 0.82rem; }

    /* --- Why --- */
    .why-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .why-card { padding: 4px; }
    .why-icon { font-size: 1.5rem; margin-bottom: 10px; }
    .why-card h3 { font-size: 0.85rem; }
    .why-card p { font-size: 0.78rem; }

    /* --- Services --- */
    .services-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .service-item i { font-size: 1.3rem; }
    .service-item span { font-size: 0.65rem; }

    /* --- Trust --- */
    .trust-num { font-size: 2.4rem; }
    .trust-item h3 { font-size: 0.82rem; }
    .trust-item p { font-size: 0.72rem; }

    /* --- CTA Final --- */
    .cta-final-sub { font-size: 0.95rem; }
    .cta-final-note { font-size: 0.78rem; }

    /* --- Sucursales --- */
    .sucursal-info-card { min-height: 260px; }
    .sic-content { padding: 20px 20px; }
    .sic-content h3 { font-size: 1.4rem; }
    .sic-content p { font-size: 0.8rem; }

    /* --- Footer --- */
    .footer-nav { gap: 12px; }
    .footer-nav a { font-size: 0.8rem; }
    .footer-copy p { font-size: 0.72rem; }

    /* --- Modal --- */
    .modal { padding: 12px; }
    .modal-content { padding: 32px 18px; border-radius: var(--radius); }

    /* --- FAB --- */
    .fab-wa { bottom: 16px; right: 16px; width: 52px; height: 52px; font-size: 1.3rem; }
}

/* ============================================================
   RESPONSIVE XS (<=360px)
   ============================================================ */

@media (max-width: 360px) {
    :root { --section-pad: 36px 14px; }

    .navbar-container { padding: 0 12px; }
    .hero-inner { padding: 36px 14px 32px; }
    .hero-title { font-size: 1.65rem; }
    .hero-benefit { flex: 1 1 100px; }
    .hero-trust span { font-size: 0.65rem; }

    .calc-box { padding: 20px 14px; }
    .result-card { padding: 18px 14px; }
    .result-price { font-size: 2.1rem; }
    .card-maintenance { padding: 14px 14px; }

    .services-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .trust-num { font-size: 2.1rem; }

    .sic-content { padding: 16px 16px; }
    .sic-content h3 { font-size: 1.25rem; }

    .btn-mapa-info { padding: 9px 16px; font-size: 0.8rem; }
}

/* ============================================================
   LANDSCAPE MOBILE (altura <= 500px)
   ============================================================ */

@media (max-height: 500px) and (orientation: landscape) {
    .navbar-links { top: 60px; max-height: calc(100vh - 60px); overflow-y: auto; }
    .hero-inner { padding: 32px 24px 28px; gap: 24px; }
    .hero-title { font-size: 1.6rem; }
    .hero-actions { flex-direction: row; }
    .hero-actions .btn-primary,
    .hero-actions .btn-outline-hero { width: auto; }
    .hero-trust { padding: 10px 24px; }
}
