/* ============================================================
   Faros Mérida — Estilos para páginas internas de servicio
   ============================================================
   Este archivo extiende styles.css (que se carga también en las
   páginas internas) con los estilos necesarios para:
   - Hero de página de servicio (con eyebrow + título + subtítulo)
   - Tabs de servicios (3 niveles)
   - Tabs de protección (Cera/Sellador/Nano) — solo detallado-de-carroceria
   - Grid de precios por tipo de vehículo
   - Sección "PROCESO INCLUIDO" con pasos numerados
   - Botón AGENDAR AHORA
   - Breadcrumb de regreso a home
   ============================================================ */

/* ---------------------------------------------------------
   Reset específico de páginas internas
   --------------------------------------------------------- */
body.page-servicio {
    background: var(--bg-color, #0a0a0f);
    color: var(--text-color, #f0ece0);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* ---------------------------------------------------------
   Breadcrumb
   --------------------------------------------------------- */
.breadcrumb {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.85rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(240, 236, 224, 0.6);
}

.breadcrumb a {
    color: var(--accent-color, #00d4ff);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb-separator {
    opacity: 0.4;
}

.breadcrumb-current {
    color: var(--text-color, #f0ece0);
    font-weight: 500;
}

/* ---------------------------------------------------------
   Hero de página de servicio
   --------------------------------------------------------- */
.service-hero {
    position: relative;
    padding: 4rem 2rem 3rem;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.service-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-color, #00d4ff);
    margin-bottom: 1rem;
}

.service-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-color, #00d4ff) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.service-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.6;
    color: rgba(240, 236, 224, 0.75);
    max-width: 720px;
    margin: 0 auto;
}

/* ---------------------------------------------------------
   Trust badges row (íconos + texto)
   --------------------------------------------------------- */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    max-width: 1100px;
    margin: 2.5rem auto 0;
    padding: 0 2rem;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.trust-badge:hover {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.05);
}

.trust-badge-title {
    display: block;
    color: var(--accent-color, #00d4ff);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.trust-badge-desc {
    display: block;
    font-size: 0.8rem;
    color: rgba(240, 236, 224, 0.6);
}

/* ---------------------------------------------------------
   Sección "PROCESO INCLUIDO" — pasos numerados
   --------------------------------------------------------- */
.section-process {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.section-title-eyebrow {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-color, #00d4ff);
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: rgba(240, 236, 224, 0.6);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.process-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.process-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1.2rem;
    align-items: start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.3rem;
    transition: border-color 0.2s ease;
}

.process-step:hover {
    border-color: rgba(0, 212, 255, 0.25);
}

.process-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-color) 100%);
    color: #0a0a0f;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.process-step-body strong {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.process-step-body span {
    color: rgba(240, 236, 224, 0.7);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* ---------------------------------------------------------
   Bloque "¿Qué diferencia a este servicio?"
   --------------------------------------------------------- */
.service-diff {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.service-diff-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-color, #00d4ff);
    margin-bottom: 0.75rem;
    text-align: center;
}

.service-diff p {
    text-align: center;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(240, 236, 224, 0.78);
    max-width: 720px;
    margin: 0 auto;
}

.service-diff p strong {
    color: #ffffff;
}

/* ---------------------------------------------------------
   Metadatos (TIEMPO ESTIMADO, RECEPCIÓN, etc.)
   --------------------------------------------------------- */
.service-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.service-meta-item {
    text-align: center;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.service-meta-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-color, #00d4ff);
    margin-bottom: 0.4rem;
}

.service-meta-value {
    display: block;
    font-size: 0.95rem;
    color: rgba(240, 236, 224, 0.85);
    font-weight: 500;
}

/* ---------------------------------------------------------
   Tabs de servicios (3 niveles)
   --------------------------------------------------------- */
.tabs-container {
    max-width: 1100px;
    margin: 3rem auto 1.5rem;
    padding: 0 2rem;
}

.tabs-buttons {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    color: rgba(240, 236, 224, 0.7);
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    border-color: rgba(0, 212, 255, 0.4);
    color: #ffffff;
}

.tab-btn.active {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-color) 100%);
    border-color: transparent;
    color: #0a0a0f;
}

.tab-btn .tab-popular {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.tab-btn.active .tab-popular {
    background: rgba(10, 10, 15, 0.2);
    color: #0a0a0f;
}

/* Cada panel de tab — solo uno visible a la vez */
.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

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

/* ---------------------------------------------------------
   Tabs de protección (Cera / Sellador / Nano)
   Solo se usa en detallado-de-carroceria
   --------------------------------------------------------- */
.protection-tabs {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.protection-tab {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(240, 236, 224, 0.7);
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center;
}

.protection-tab:hover {
    border-color: rgba(0, 212, 255, 0.4);
    color: #ffffff;
}

.protection-tab.active {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-color, #00d4ff);
    color: var(--accent-color, #00d4ff);
}

.protection-tab-name {
    display: block;
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.protection-tab-duration {
    display: block;
    font-size: 0.7rem;
    opacity: 0.7;
    letter-spacing: 0.05em;
}

/* ---------------------------------------------------------
   Grid de precios por tipo de vehículo
   --------------------------------------------------------- */
.pricing-section {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.pricing-section h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.pricing-section h4 {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-color, #00d4ff);
    margin-bottom: 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.price-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1.6rem;
    text-align: center;
    transition: all 0.25s ease;
    position: relative;
}

.price-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.04);
    transform: translateY(-2px);
}

.price-card-category {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-color, #00d4ff);
    margin-bottom: 0.6rem;
    min-height: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-card-examples {
    font-size: 0.82rem;
    color: rgba(240, 236, 224, 0.55);
    margin-bottom: 1.2rem;
    min-height: 2.4em;
    line-height: 1.4;
}

.price-card-amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0.5rem 0;
}

.price-card-amount .currency {
    font-size: 1.2rem;
    vertical-align: top;
    color: rgba(240, 236, 224, 0.6);
    margin-right: 0.15rem;
}

.price-card-amount .currency-code {
    font-size: 0.9rem;
    color: rgba(240, 236, 224, 0.5);
    margin-left: 0.4rem;
    font-weight: 500;
}

/* ---------------------------------------------------------
   Botón AGENDAR AHORA (CTA principal)
   --------------------------------------------------------- */
.agendar-cta {
    text-align: center;
    margin: 2.5rem 0 1.5rem;
}

.agendar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
    animation: pulse-green 2s infinite;
}

.agendar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
}

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

.agendar-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.service-hours {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(240, 236, 224, 0.5);
    margin-bottom: 3rem;
    padding: 0 2rem;
}

/* ---------------------------------------------------------
   Bloque "¿SOLO NECESITAS RESTAURAR UNO?"
   --------------------------------------------------------- */
.callout-box {
    max-width: 800px;
    margin: 2.5rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(250, 209, 73, 0.05) 100%);
    border: 1px solid rgba(250, 209, 73, 0.15);
    border-radius: 14px;
    text-align: center;
}

.callout-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--accent-color, #00d4ff);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.callout-box p {
    color: rgba(240, 236, 224, 0.75);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ---------------------------------------------------------
   Sección "¿Qué protege exactamente?" (PPF)
   --------------------------------------------------------- */
.protection-list {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
    list-style: none;
}

.protection-list li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.protection-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.protection-list strong {
    color: #ffffff;
    display: block;
    margin-bottom: 0.25rem;
}

.protection-list span {
    color: rgba(240, 236, 224, 0.65);
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ---------------------------------------------------------
   Selector de marca/modelo (para restauracion-de-faros y ppf-xpel)
   --------------------------------------------------------- */
.vehicle-selector {
    max-width: 700px;
    margin: 3rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.vehicle-selector h3 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.vehicle-selector p {
    text-align: center;
    font-size: 0.88rem;
    color: rgba(240, 236, 224, 0.6);
    margin-bottom: 1.5rem;
}

.vehicle-selector-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.vehicle-selector label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-color, #00d4ff);
    margin-bottom: 0.4rem;
}

.vehicle-selector select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.vehicle-selector select:focus {
    outline: none;
    border-color: var(--accent-color, #00d4ff);
}

.vehicle-selector-hint {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(240, 236, 224, 0.55);
    padding: 0.75rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1.2rem;
}

.vehicle-selector-result {
    text-align: center;
    padding: 1rem;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 10px;
    margin-bottom: 1.2rem;
    display: none;
}

.vehicle-selector-result.show {
    display: block;
}

.vehicle-selector-result-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(240, 236, 224, 0.6);
    margin-bottom: 0.3rem;
}

.vehicle-selector-result-price {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #25D366;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 768px) {
    .service-hero {
        padding: 2.5rem 1.2rem 2rem;
    }

    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1.2rem;
    }

    .section-process,
    .service-diff,
    .service-meta,
    .pricing-section,
    .protection-list,
    .vehicle-selector,
    .tabs-container {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .process-step {
        grid-template-columns: 40px 1fr;
        gap: 0.9rem;
        padding: 1rem;
    }

    .process-step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .vehicle-selector-grid {
        grid-template-columns: 1fr;
    }

    .tabs-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .agendar-btn,
    .callout-btn {
        width: 100%;
        justify-content: center;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ---------------------------------------------------------
   Reduced motion
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .tab-panel,
    .price-card,
    .agendar-btn,
    .process-step {
        animation: none !important;
        transition: none !important;
    }
}

/* ============================================================
   VIDEO TRANSFORMACIÓN (añadido) — sección de video real del
   proceso en la página de Restauración de Faros.
   ============================================================ */
.video-transformacion {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
}

.video-transformacion-frame {
    max-width: 400px;
    margin: 2rem auto 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 20px 50px rgba(0,0,0,.5);
    background: #000;
    aspect-ratio: 478 / 850;
}

.video-transformacion-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
