/* ===========================
   Variables y Reset
   =========================== */
:root {
    --primary-purple: #482752;
    --secondary-black: #1A1A1A;
    --white: #FFFFFF;
    --light-gray: #F4F4F4;
    --accent-gold: #FFD700;
    --accent-gold-alt: #F2C94C;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--secondary-black);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

/* ===========================
   Navegación
   =========================== */
.navbar {
    background-color: var(--primary-purple);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    background-color: var(--white); /* Fondo blanco para el logo sin fondo */
    padding: 5px 10px;
    border-radius: 7px;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--white);
    letter-spacing: 1px;
}

.brand-subtitle {
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-size: 0.7rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: -5px;
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-gold) !important;
}

.btn-cta {

    background-color: #25D366;
    color: var(--white);
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-cta:hover {
    background-color: #25D366;
    color: var(--white);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-black) 100%);
    background-image: url('images/hero-mechanic.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}
@media (max-width: 768px) { /* Por ejemplo, para pantallas de hasta 768px */
    .hero-section {
        background-attachment: scroll; /* O "unset" o "local" para móviles */
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(72, 39, 82, 0.95) 0%, rgba(26, 26, 26, 0.9) 100%);
}

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

.hero-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.btn-hero {
    background-color: var(--accent-gold);
    color: var(--secondary-black);
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-hero:hover {
    background-color: var(--accent-gold-alt);
    color: var(--secondary-black);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.hero-support-text {
    color: var(--accent-gold);
    font-size: 1rem;
    font-weight: 500;
}

/* ===========================
   Secciones Generales
   =========================== */
.section-title {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-gold);
    margin: 1rem auto 0;
}

/* ===========================
   La Diferencia Mr.Fix
   =========================== */
.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(72, 39, 82, 0.15);
    border-color: var(--accent-gold);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-black) 100%);
    color: var(--accent-gold);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.feature-text {
    color: #666;
    font-size: 1rem;
}

/* ===========================
   Paquetes de Servicio
   =========================== */
.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(72, 39, 82, 0.2);
}

.service-card.featured {
    border: 3px solid var(--accent-gold);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-gold);
    color: var(--secondary-black);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 10;
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-body {
    padding: 2rem;
}

.service-title {
    font-size: 1.75rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.service-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.service-price span {
    font-size: 1.2rem;
    font-weight: 500;
    color: #666;
}

.service-description {
    color: #666;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #555;
}

.service-features i {
    color: var(--accent-gold);
    margin-right: 0.5rem;
}

.btn-service {
    background-color: var(--primary-purple);
    color: var(--white);
    font-weight: 700;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-service:hover {
    background-color: var(--secondary-black);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 39, 82, 0.3);
}

/* ===========================
   Proceso
   =========================== */
.process-timeline {
    position: relative;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 70px;
    width: 2px;
    height: calc(100% + 30px);
    background-color: var(--accent-gold);
}

.process-step:last-child::before {
    display: none;
}

.process-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-black) 100%);
    color: var(--accent-gold);
    font-size: 2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 2rem;
    border: 4px solid var(--accent-gold);
}

.process-content h4 {
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.process-content p {
    color: #666;
    font-size: 1.05rem;
}

/* ===========================
   Sucursales
   =========================== */
.location-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(72, 39, 82, 0.15);
}

.location-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-purple);
    border-style: solid;
    border: 4px solid var(--primary-purple);
    color: var(--primary-purple);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.location-name {
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.location-address {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.location-hours {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.btn-outline-primary {
    color: var(--primary-purple);
    border-color: var(--primary-purple);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    color: var(--white);
}

/* ===========================
   Lead Magnet
   =========================== */
.lead-magnet-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-black) 100%);
}

.lead-magnet-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.lead-magnet-box h4 {
    color: var(--primary-purple);
    font-size: 1.5rem;
}

.lead-magnet-box p {
    color: #666;
}

.form-control-lg {
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    border: 2px solid #ddd;
    transition: border-color 0.3s ease;
}

.form-control-lg:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background-color: var(--primary-purple);
}

.footer img {
    background-color: var(--white); /* Fondo blanco para el logo sin fondo */
    padding: 5px 10px;
    border-radius: 7px;
    color: var(--white);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--accent-gold);
    color: var(--primary-purple);
    transform: translateY(-3px);
}

/* ===========================
   WhatsApp Floating Button
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    color: var(--white);
}

.whatsapp-text {
    position: absolute;
    right: 70px;
    background-color: var(--secondary-black);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-right: 1rem;
    }
    
    .process-step::before {
        left: 25px;
        top: 50px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn-hero {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;        
    }
    
    .whatsapp-text {
        display: none;
    }
}
