/* Variables */
:root {
    --primary: #ff6b00;
    --primary-dark: #e05d00;
    --white: #ffffff;
    --white-90: rgba(255, 255, 255, 0.9);
    --black: #212529;
    --gray: #6c757d;
    --light: #f8f9fa;
    --dark: #1a1a1a;
}

/* ESTO QUITA LOS MARGENES DE LA PAGINA*/
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: -0.1rem;
}


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

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

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('../images/hero/curvas1.jpg') no-repeat center center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.text-light {
    color: var(--white-90);
    font-weight: 400;
    display: block;
}

.text-accent {
    color: var(--primary);
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.servicios {
    text-align: center;
}

/* Añade esto a tu archivo CSS */

/* Contenedor de la tarjeta de suscripción */
.process-card.featured {
    display: flex;
    flex-direction: column;
    height: 100%; /* Asegura que todas las tarjetas tengan la misma altura */
}

/* Lista de beneficios */
.process-card.featured ul {
    flex-grow: 1; /* Hace que la lista ocupe todo el espacio disponible */
    margin-bottom: 25px; /* Espacio antes del botón */
}

/* Botón de suscripción */
.process-card.featured .btn-primary {
    margin-top: auto; /* Empuja el botón hacia abajo */
    align-self: center; /* Centra el botón horizontalmente */
    width: 80%; /* Ancho consistente */
    max-width: 250px; /* Ancho máximo */
    margin-bottom: 15px; /* Espacio inferior */
    padding: 12px 25px; /* Padding adecuado */
    font-size: 1.1rem; /* Tamaño de fuente */
    border-radius: 30px; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(255, 107, 0, 0.3); /* Sombra naranja */
    transition: all 0.3s ease;
}

/* Efecto hover */
.process-card.featured .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 107, 0, 0.4);
}

/* Precios */
.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.pricing-card.featured {
    border: 3px solid var(--primary);
    transform: scale(1.05);
}

.price {
    font-size: 2rem;
    margin: 20px 0;
    color: var(--primary);
}

.price span {
    font-size: 1rem;
    color: var(--gray);
}

.pricing-card ul {
    flex-grow: 1; /* Hace que la lista ocupe todo el espacio disponible */
    margin-bottom: 20px; /* Espacio antes del botón */
}

.pricing-card ul li {
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
}

.pricing-card ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Botones de precios */
.pricing-card .btn {
    margin-top: auto; /* Empuja el botón hacia abajo */
    align-self: center; /* Centra el botón horizontalmente */
    width: 80%; /* Ancho consistente para todos los botones */
    margin-bottom: 15px; /* Espacio inferior */
}

/* Para el botón destacado */
.pricing-card.featured .btn {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray);
    color: var(--gray);
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero-content {
        padding: 20px 0;
    }

    .pricing-card.featured {
        transform: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links, .social-icons {
        justify-content: center;
    }
}

/* Sección Cómo Funciona */
.process {
    background-color: var(--light);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.2rem;
    color: var(--gray);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .process-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.process-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.process-card.featured {
    border: 3px solid var(--primary);
    position: relative;
}

.process-card:hover {
    transform: translateY(-10px);
}

.process-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.process-header i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 15px;
}

.process-header h3 {
    margin: 0;
    color: var(--dark);
}

.process-option {
    margin: 25px 0;
    padding: 20px;
    background: rgba(255, 107, 0, 0.05);
    border-radius: 8px;
}

.process-option h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.process-note {
    font-size: 0.9rem;
    color: var(--gray);
    font-style: italic;
    margin-top: 20px;
}

.price-tag {
    font-weight: bold;
    color: var(--primary);
    margin: 15px 0;
    font-size: 1.1rem;
}

.fa-crown {
    color: var(--primary);
    font-size: 2rem;
}
/*Fin seccion Como Funciona*/


/* Testimonios */
.testimonials {
    background-color: #f9f9f9;
    padding: 80px 0;
    height: 30%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary);
}

.author-info h4 {
    margin: 0;
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
}

.author-detail {
    font-size: 0.9rem;
    color: var(--primary);
    margin: 5px 0;
    font-weight: 600;
}

.author-stats {
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0;
}

.rating {
    color: var(--primary);
    margin: 10px 0 15px;
    font-size: 1.1rem;
}

.testimonial-content {
    flex-grow: 1;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.6;
    position: relative;
    padding: 0 10px;
    margin: 0;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
}

.testimonial-text::before {
    top: -10px;
    left: -5px;
}

.testimonial-text::after {
    bottom: -15px;
    right: -5px;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 20px;
    }
}
/* Fin Sección de Testimonios */

/* Dificultad - Versión Simplificada */
/* Difficulty Section */
.difficulty {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
}

.difficulty .section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
}

/* Difficulty Cards con imágenes de fondo */
.difficulty-card {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.difficulty-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Imágenes de fondo específicas para cada nivel */
.difficulty-card.novice {
    background: url('../images/difficulty/piloto_nuevo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.difficulty-card.intermediate {
    background: url('../images/difficulty/domando_curvas.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.difficulty-card.advanced {
    background: url('../images/difficulty/maestro_asfalto.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay muy sutil solo en los extremos */
.difficulty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.1) 20%, 
        rgba(0, 0, 0, 0.1) 80%, 
        rgba(0, 0, 0, 0.7) 100%);
    transition: all 0.3s ease;
}

.difficulty-card:hover::before {
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.05) 20%, 
        rgba(0, 0, 0, 0.05) 80%, 
        rgba(0, 0, 0, 0.5) 100%);
}

/* Badge en la esquina superior derecha */
.difficulty-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    color: #2c3e50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 3;
    transition: all 0.3s ease;
}

/* Colores específicos por nivel de dificultad */
.difficulty-card.novice .difficulty-badge {
    border: 3px solid #2ecc71;
    color: #2ecc71;
}

.difficulty-card.intermediate .difficulty-badge {
    border: 3px solid #f1c40f;
    color: #f39c12;
}

.difficulty-card.advanced .difficulty-badge {
    border: 3px solid #e74c3c;
    color: #e74c3c;
}

.difficulty-card:hover .difficulty-badge {
    transform: scale(1.1);
    background: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Icono en la parte superior */
.difficulty-top {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px 0 20px;
    z-index: 2;
    position: relative;
}

.difficulty-icon {
    font-size: 4rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.difficulty-card:hover .difficulty-icon {
    transform: scale(1.1);
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
}

/* Centro vacío para apreciar la imagen */
.difficulty-center {
    flex: 1;
    /* Espacio vacío para mostrar la imagen */
}

/* Título en la parte inferior */
.difficulty-bottom {
    padding: 0 20px 30px 20px;
    text-align: center;
    z-index: 2;
    position: relative;
}

.difficulty-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin: 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.difficulty-card:hover h3 {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .difficulty-card {
        height: 300px;
    }
    
    .difficulty-top {
        padding: 25px 15px 0 15px;
    }
    
    .difficulty-icon {
        font-size: 3rem;
    }
    
    .difficulty-bottom {
        padding: 0 15px 25px 15px;
    }
    
    .difficulty-card h3 {
        font-size: 1.5rem;
        padding: 12px 16px;
    }
    
    .difficulty-badge {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .difficulty-card {
        height: 280px;
    }
    
    .difficulty-top {
        padding: 20px 10px 0 10px;
    }
    
    .difficulty-icon {
        font-size: 2.5rem;
    }
    
    .difficulty-bottom {
        padding: 0 10px 20px 10px;
    }
    
    .difficulty-card h3 {
        font-size: 1.3rem;
        padding: 10px 14px;
    }
}
/* Fin Sección de Dificultad */

/* Formulario de Contacto */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ff4444;
    background: #fff6f6;
}

.error-msg {
    color: #ff4444;
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
}

.alert {
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.alert.error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}
/* Fin Formulario de Contacto */

/* SECCION NUESTRA EXPERIENCIA */
/* Sección Experiencia del Equipo */
.team-experience {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 4rem 0 0 0; /* Más espacio en la parte inferior: en el 3 */
}

.experience-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b1b 50%, #800000 100%);
    z-index: 1;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(128, 0, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(128, 0, 0, 0.2) 100%);
}

.experience-container {
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Primera fila: Texto + Imagen */
.top-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 15;
}

.content-left {
    padding: 2rem 0;
    position: relative;
    z-index: 20;
}

.experience-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.highlight {
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #ffd93d; /* Fallback para navegadores que no soporten background-clip */
}

.main-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.stats-row {
    display: flex;
    gap: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.content-right {
    position: relative;
    z-index: 20;
}

.team-image {
    background: 
        /* Overlay semitransparente para legibilidad del texto */
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        /* Imagen de fondo */
        url('../images/hero/NuestraExperiencia.png');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    height: 400px;
    width: 100%;
}

.team-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
}

.image-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.image-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.image-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Segunda fila: Compromiso centrado */
.middle-section {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 15;
}

.guarantee-box-center {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    max-width: 800px;
    text-align: center;
}

.guarantee-box-center .guarantee-content h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.guarantee-box-center .guarantee-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Tercera fila: Tarjetas horizontales */
.bottom-section {
    position: relative;
    z-index: 15;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 4rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.service-card i {
    font-size: 3rem;
    color: #800000;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h4 {
    color: #333;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .team-experience {
        min-height: auto;
        padding: 4rem 0 0 0; /* Más espacio en móvil también */
    }
    
    .top-section {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 3rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .stats-row {
        justify-content: space-around;
        gap: 1rem;
    }
    
    .team-image {
        height: 300px;
    }
    
    .guarantee-box-center {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .guarantee-box-center .guarantee-content h4 {
        font-size: 1.3rem;
    }
    
    .guarantee-box-center .guarantee-content p {
        font-size: 1rem;
    }
    
    .services-grid-horizontal {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .service-card h4 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .main-description {
        font-size: 1.1rem;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .team-image {
        height: 250px;
    }
    
    .image-text h3 {
        font-size: 1.5rem;
    }
    
    .image-text p {
        font-size: 1rem;
    }
    
    .guarantee-box-center {
        padding: 1.2rem;
    }
    
    .guarantee-box-center .guarantee-content h4 {
        font-size: 1.2rem;
    }
    
    .guarantee-box-center .guarantee-content p {
        font-size: 0.95rem;
    }
    
    .service-card {
        padding: 1.2rem;
    }
    
    .service-card i {
        font-size: 2.2rem;
    }
    
    .service-card h4 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
    }
}

/* Fin Sección Experiencia del Equipo */

/* ¿Por qué Candeivid? Section */
.section.why-candeivid {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #fff8f3 0%, #fef4e8 50%, #fcf1e4 100%);
    overflow: hidden;
}

.candeivid-container {
    position: relative;
}

.why-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('images/road-bg.jpg') center/cover; */
    opacity: 0.03;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.04), rgba(255, 165, 0, 0.03));
}

.quality-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-candeivid .main-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 25px;
    line-height: 1.3;
}

.why-candeivid .highlight {
    color: #4ecdc4;
    font-weight: 700;
}

.why-candeivid .main-description {
    font-size: 1.2rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 90%;
}

/* Guarantee Points */
.guarantee-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(78, 205, 196, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(78, 205, 196, 0.3);
    transition: all 0.3s ease;
}

.point-item:hover {
    background: rgba(78, 205, 196, 0.15);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.2);
}

.point-item i {
    font-size: 1.5rem;
    color: #4ecdc4;
    min-width: 30px;
}

.point-content h4 {
    color: #2c3e50;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.point-content p {
    color: #666666;
    margin: 0;
    font-size: 0.95rem;
}

/* Ready Section */
.ready-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    border: 1px solid rgba(78, 205, 196, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.ready-container {
    text-align: center;
}

.ready-section h3 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.ready-description {
    color: #555555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ready-description strong {
    color: #4ecdc4;
    font-weight: 600;
}

.ready-highlight {
    background: linear-gradient(45deg, rgba(78, 205, 196, 0.15), rgba(255, 107, 107, 0.15));
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(78, 205, 196, 0.4);
    margin-top: 30px;
}

.ready-highlight i {
    color: #4ecdc4;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* Process Simple */
.process-simple {
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(78, 205, 196, 0.2);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.process-simple h3 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 600;
}

.steps-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.step-item {
    text-align: center;
    color: #2c3e50;
    font-weight: 500;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 10px auto;
    color: white;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.step-arrow {
    color: #4ecdc4;
    font-size: 1.5rem;
    font-weight: bold;
}

.process-note {
    color: #666666;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-main {
        text-align: center;
    }
    
    .content-side {
        text-align: center;
    }
    
    .services-grid-horizontal {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .ready-section {
        padding: 25px;
        margin: 30px 0;
    }
    
    .ready-section h3 {
        font-size: 1.6rem;
    }
    
    .ready-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .steps-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 15px;
    }
    
    .service-card i {
        font-size: 2rem;
    }
    
    .ready-section {
        padding: 20px;
    }
    
    .ready-section h3 {
        font-size: 1.4rem;
    }
    
    .service-card h4 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
}

/* Layout Grid */
.why-candeivid .top-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.why-candeivid .middle-section {
    margin-bottom: 50px;
}

.why-candeivid .bottom-section {
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .why-candeivid .top-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .why-candeivid .main-title {
        font-size: 2rem;
    }
    
    .why-candeivid .main-description {
        max-width: 100%;
    }
    
    .steps-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-box {
        padding: 20px;
    }
}

/* SECCION COMO FUNCIONA */
.process {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #800000;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.process-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.process-card.featured {
    border-color: #800000;
    transform: scale(1.02);
}

.process-card.premium {
    border-color: #ffd700;
    background: linear-gradient(135deg, #fff 0%, #fffbf0 100%);
}

.process-card.premium::before {
    content: "RECOMENDADO";
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ffd700;
    color: #800000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.process-header {
    text-align: center;
    margin-bottom: 25px;
}

.process-header i {
    font-size: 3rem;
    color: #800000;
    margin-bottom: 15px;
    display: block;
}

.process-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.process-card p {
    color: #6c757d;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.6;
}

.process-option h4 {
    color: #800000;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.process-option ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.process-option li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.process-option li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
}

.price-tag {
    background: linear-gradient(45deg, #800000, #a00000);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.price-tag.free {
    background: linear-gradient(45deg, #28a745, #34ce57);
}

.process-note {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid #800000;
}

.process-note p {
    margin-bottom: 15px;
    color: #555;
    font-style: italic;
}

.process-note i {
    color: #800000;
    margin-right: 8px;
}

.btn {
    background: #800000;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn:hover {
    background: #a00000;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.process-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #800000;
}

.info-card h4 {
    color: #800000;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.info-card i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.info-card p {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .process {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-card {
        padding: 25px;
    }
    
    .process-card.featured {
        transform: none;
    }
    
    .process-header i {
        font-size: 2.5rem;
    }
    
    .process-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .process-card {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }
}

/* Fin Sección Cómo Funciona */

/*SLIDESHOW*/
.simple-slideshow {
    max-width: 100%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.slideshow-wrapper {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: grab;
    touch-action: pan-y;
}

.slideshow-wrapper:active {
    cursor: grabbing;
}

.slides-container {
    transition: none !important; /* Sin animaciones */
}

.slide {
    height: 100%;
}

.slide-image {
    pointer-events: none;
}

.slide-btn {
    opacity: 0.8;
}

.slide-btn:hover {
    opacity: 1;
    background: #800000 !important;
}

.indicator-dot {
    pointer-events: none;
    border: 1px solid rgba(0,0,0,0.2);
}

/* Estilos para pantalla completa */
.fullscreen-btn {
    transition: opacity 0.3s;
}

.fullscreen-btn:active {
    transform: scale(0.95);
}

.fs-control-btn {
    transition: all 0.3s;
}

.fs-control-btn:active {
    transform: scale(0.9);
}

/* Modo pantalla completa */
.simple-slideshow:fullscreen,
.simple-slideshow:-webkit-full-screen,
.simple-slideshow:-moz-full-screen {
    background: #000;
}

.simple-slideshow:fullscreen .slideshow-wrapper,
.simple-slideshow:-webkit-full-screen .slideshow-wrapper,
.simple-slideshow:-moz-full-screen .slideshow-wrapper {
    height: 100vh !important;
    max-height: none !important;
    border-radius: 0 !important;
}

.simple-slideshow:fullscreen .slide,
.simple-slideshow:-webkit-full-screen .slide,
.simple-slideshow:-moz-full-screen .slide {
    background: #000 !important;
}

.simple-slideshow:fullscreen .fullscreen-btn,
.simple-slideshow:-webkit-full-screen .fullscreen-btn,
.simple-slideshow:-moz-full-screen .fullscreen-btn {
    display: none !important;
}

.simple-slideshow:fullscreen .fullscreen-controls,
.simple-slideshow:-webkit-full-screen .fullscreen-controls,
.simple-slideshow:-moz-full-screen .fullscreen-controls {
    display: flex !important;
}

.simple-slideshow:fullscreen .slide-caption,
.simple-slideshow:-webkit-full-screen .slide-caption,
.simple-slideshow:-moz-full-screen .slide-caption {
    bottom: 100px !important;
}

.simple-slideshow:fullscreen .slide-indicators,
.simple-slideshow:-webkit-full-screen .slide-indicators,
.simple-slideshow:-moz-full-screen .slide-indicators {
    bottom: 20px !important;
}

.simple-slideshow:fullscreen .indicator-dot,
.simple-slideshow:-webkit-full-screen .indicator-dot,
.simple-slideshow:-moz-full-screen .indicator-dot {
    width: 12px !important;
    height: 12px !important;
    margin: 0 6px !important;
    box-shadow: 0 0 8px rgba(0,0,0,0.8) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .slideshow-wrapper {
        height: 50vh !important;
        min-height: 250px !important;
        max-height: 400px !important;
    }
    
    .slide-caption {
        bottom: 30px !important;
        font-size: 13px !important;
    }
    
    .indicator-dot {
        width: 10px !important;
        height: 10px !important;
        margin: 0 5px !important;
    }
    
    .fullscreen-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .slideshow-wrapper {
        height: 40vh !important;
        min-height: 200px !important;
        max-height: 300px !important;
    }
    
    .slide-caption {
        bottom: 35px !important;
        font-size: 12px !important;
        padding: 8px !important;
    }
    
    .slide-indicators {
        bottom: 15px !important;
    }
    
    .indicator-dot {
        width: 10px !important;
        height: 10px !important;
        margin: 0 4px !important;
    }
    
    .fullscreen-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 13px !important;
        top: 10px !important;
        right: 10px !important;
    }
}

/*ESTILOS PARA LAS OFERTAS Y LOS BADGES*/
/* Estilos generales basados en la paleta granate */
:root {
    --granate-base: #800000;
    --granate-hover: #990000;
    --granate-alert-text: #B30000;
    --granate-alert-bg: #FFE5E5;
    --granate-alert-border: #FF9999;
    --granate-dark: #660000;
    --granate-light: #FFCCCC;
}

.card-header.bg-primary {
    background-color: var(--granate-base) !important;
    border-bottom: 3px solid var(--granate-dark);
}

.btn-primary {
    background-color: var(--granate-base);
    border-color: var(--granate-dark);
}

.btn-primary:hover {
    background-color: var(--granate-hover);
    border-color: var(--granate-dark);
}

/* Mejoras específicas para la tarjeta lateral */
.card.sticky-top {
    border: 1px solid var(--granate-alert-border);
    box-shadow: 0 6px 12px rgba(128, 0, 0, 0.15) !important;
}

/* Estilos para los badges */
.badge.bg-info {
    background-color: #0d6efd !important;
}
.badge.bg-warning {
    background-color: #ffc107 !important;
}
.badge.bg-danger {
    background-color: var(--granate-base) !important;
}
.badge.bg-success {
    background-color: #198754 !important;
}
.badge.bg-secondary {
    background-color: #6c757d !important;
}

/* Mejoras para las alertas */
.alert {
    border-left: 4px solid;
}
.alert-danger {
    background-color: var(--granate-alert-bg);
    border-color: var(--granate-alert-text);
    color: var(--granate-alert-text);
}
.alert-warning {
    background-color: #FFF3CD;
    border-color: #FFC107;
    color: #856404;
}

/* Estilo para los puntos destacados */
.card.h-100 {
    transition: all 0.3s ease;
    border: 1px solid var(--granate-alert-border);
}
.card.h-100:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(128, 0, 0, 0.2);
}

/* Mejoras en los checkboxes */
.form-check-input:checked {
    background-color: var(--granate-base);
    border-color: var(--granate-dark);
}

.form-check-input:disabled {
    opacity: 0.5;
}

/* Estilo para el precio total */
h3.text-primary {
    color: var(--granate-base) !important;
    font-weight: 700;
    font-size: 1.8rem;
}

/* Efecto hover para botones */
.btn-lg {
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(128, 0, 0, 0.3);
}

/* Mejoras en la imagen principal */
.card-img-top {
    border-bottom: 3px solid var(--granate-base);
}

/* Estilo para la información de ruta gratuita */
.free-route-info {
    background-color: rgba(25, 135, 84, 0.1);
    border-left: 4px solid #198754;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.free-route-info h5 {
    color: #198754;
    font-weight: 600;
    margin-bottom: 15px;
}

.download-btn-container {
    text-align: center;
    margin-top: 15px;
}

/* ✅ NUEVOS ESTILOS PARA OFERTAS */
.precio-oferta-container {
    background: linear-gradient(135deg, #fff3cd 0%, #fff8e1 100%);
    border: 2px solid #ffeaa7;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(255, 193, 7, 0.1);
}

.precio-original {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.precio-con-descuento {
    color: #dc3545;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 10px;
}

.badge-descuento {
    background: linear-gradient(45deg, #dc3545, #ff6b6b);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    animation: pulse 2s infinite;
    display: inline-block;
    margin-bottom: 10px;
}

.ahorro-info {
    color: #198754;
    font-weight: 600;
    font-size: 1rem;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}