/* Variables */
:root {
    --primary-color: #ff0000;
    --primary-dark: #cc0000;
    --primary-light: #ff3333;
    --secondary-color: #000000;
    --secondary-light: #333333;
    --accent-color: #ff9900;
    --light-color: #f5f5f5;
    --dark-color: #111111;
    --text-color: #333333;
    --text-light: #777777;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    --shadow-strong: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --transition-fast: all 0.2s ease;
    --border-radius: 8px;
    --border-radius-lg: 15px;
    --border-radius-xl: 30px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.oil-drop {
    fill: var(--secondary-color); /* Negro */
    stroke: var(--white); /* Borde blanco */
    stroke-width: 6px; /* Grosor del borde */
    animation: drip 2s infinite;
}

@keyframes drip {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(10px) scale(0.9);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.loading-text {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.loading-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    animation: loading 2s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Sección Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Google reCAPTCHA */
.g-recaptcha {
    margin: 10px 0;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;

    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    padding: 0;
    background: none;
    position: relative;
}

.btn-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.btn-link:hover i {
    transform: translateX(5px);
}

.btn-submit {
    position: relative;
    overflow: hidden;
}

.btn-submit .btn-text {
    transition: var(--transition);
}

.btn-submit .btn-icon {
    position: absolute;
    right: 20px;
    opacity: 0;
    transition: var(--transition);
}

.btn-submit:hover .btn-icon {
    opacity: 1;
    transform: translateX(5px);
}

.btn-submit.loading {
    pointer-events: none;
    background-color: var(--primary-dark);
}

.btn-submit.loading .btn-text {
    opacity: 0;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.btn-submit.success {
    background-color: #28a745;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header y Navegación */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.95);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    margin-bottom: 0;
    position: relative;
}

.logo-text {
    color: var(--white);
    font-weight: 800;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

.btn-contacto {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: var(--border-radius-xl);
}

.btn-contacto:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-contacto::after {
    display: none;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: var(--white);
    border-radius: 3px;
    transition: var(--transition-fast);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('/images/fondo.jpg') no-repeat center center/cover;
    padding: 0;
    color: var(--white);
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(80, 0, 0, 0.2) 100%);


    z-index: 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-text {
    margin-top: 80px;
}

.hero-text h2 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--white);
}

/* CORREGIDO: Slogan container para evitar cortes */
.slogan-container {
    height: auto;
    min-height: 80px;
    margin-bottom: 40px;
    position: relative;
    overflow: visible;
}

.slogan-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    height: auto;
}

.slogan-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* CORREGIDO: Mejorar fuente del slogan */
.slogan-item p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.4;
    margin: 0;
    padding: 0 15px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}


/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 6px;
    height: 6px;
    background-color: var(--white);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel 1.5s infinite;
}

@keyframes wheel {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

.arrow {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--white);
    border-right: 2px solid var(--white);
    transform: rotate(45deg);
    margin: -5px 0;
    animation: arrow 1.5s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

/* Ventajas */
.ventajas {
    background-color: var(--secondary-color);
    padding: 60px 0;
}

.ventajas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ventaja-item {
    text-align: center;
    color: var(--white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.ventaja-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
    transform: translateY(100%);
}

.ventaja-item:hover::before {
    opacity: 0.1;
    transform: translateY(0);
}

.ventaja-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.ventaja-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transform: scale(1.2);
    transition: var(--transition);
}

.ventaja-item:hover .ventaja-icon {
    transform: translateY(-5px);
}

.ventaja-item:hover .ventaja-icon::after {
    opacity: 0.5;
    transform: scale(1);
}

.ventaja-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--white);
}

.ventaja-item p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* Servicios */
.servicios {
    background-color: var(--white);
}

.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    position: relative;
}

.tabs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #eee;
}

.tab {
    padding: 15px 30px;
    cursor: pointer;
    text-align: center;
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
}

.tab i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-light);
    transition: var(--transition);
}

.tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
    z-index: 1;
}

.tab.active {
    color: var(--primary-color);
}

.tab.active i {
    color: var(--primary-color);
}

.tab.active::after {
    transform: scaleX(1);
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

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

.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tab-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.tab-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: var(--transition);
}

.tab-image:hover::before {
    opacity: 1;
}

.tab-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}

.tab-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.feature-list {
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}

.tiempo-servicio {
    display: flex;
    align-items: center;
    background-color: var(--light-color);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.tiempo-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.tiempo-info span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

.tiempo-info strong {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.servicios-rapidos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.servicio-rapido {
    text-align: center;
}

.servicio-rapido-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    transition: var(--transition);
}

.servicio-rapido:hover .servicio-rapido-icon {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.servicio-rapido h4 {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Flotas */
.flotas {
    background-color: var(--secondary-color);
    color: var(--white);
    position: relative;
}

.flotas .section-header h2 {
    color: var(--white);
}

.flotas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.flotas-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

/* CORREGIDO: Mejoras a los iconos de Flotas */
.flotas-beneficios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 30px 0 40px;
}

.beneficio-item {
    display: flex;
    align-items: flex-start;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.beneficio-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.beneficio-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    transition: var(--transition);
}

.beneficio-item:hover .beneficio-icon {
    transform: rotate(10deg);
}

.beneficio-info h4 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.beneficio-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.flotas-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    position: relative;
}

.flotas-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: var(--transition);
}

.flotas-image:hover::before {
    opacity: 1;
}

.flotas-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 0, 0, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.3;
}

/* CORREGIDO: Sección de Reseñas */
.reseñas {
    background-color: var(--white);
    padding: 80px 0;
    position: relative;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Mantiene proporción 16:9 */
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.play-button i {
    color: var(--white);
    font-size: 2.5rem;
}

.video-thumbnail:hover .play-button {
    background-color: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Mantiene proporción 16:9 */
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Google Reviews */
.google-reviews {
    background-color: var(--secondary-color);
    padding: 80px 0;
    color: var(--white);
}

.google-reviews .section-header h2 {
    color: var(--white);
}

.google-reviews .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.reviews-widget {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: var(--white);
}

/* CORREGIDO: FAQ */
.faq {
    background-color: var(--light-color);
    position: relative;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
    border-left-color: var(--primary-color);
}

.faq-question {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    background-color: var(--white);
}

.faq-question h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--secondary-color);
    flex: 1;
    line-height: 1.4;
    letter-spacing: 0.2px;
}

.faq-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 0, 0, 0.1);
    border-radius: 50%;
    margin-left: 15px;
}

.faq-icon .fa-minus {
    display: none;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.faq-item.active .faq-question {
    background-color: var(--primary-color);
}

.faq-item.active .faq-question h3 {
    color: var(--white);
}

.faq-item.active .faq-icon {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.2);
}

.faq-item.active .faq-icon .fa-plus {
    display: none;
}

.faq-item.active .faq-icon .fa-minus {
    display: block;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-answer p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.faq-answer ul {
    list-style: disc;
    padding-left: 20px;
    margin: 10px 0 15px;
}

.faq-answer ul li {
    margin-bottom: 8px;
    font-size: 1rem;
    position: relative;
    padding-left: 5px;
}

.faq-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.05) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    opacity: 0.5;
}

/* Contacto */
.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

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

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.info-header h3 {
    margin-bottom: 0;
    font-size: 1.3rem;
}

.info-body p {
    margin-bottom: 10px;
}

.info-body .note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.payment-methods span {
    display: inline-flex;
    align-items: center;
    background-color: var(--light-color);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
}

.payment-methods span i {
    margin-right: 8px;
    color: var(--primary-color);
}

.redes-sociales {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.contacto-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--light-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

/* Mapa */
.mapa {
    height: 450px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo .website {
    color: var(--primary-color);
    font-weight: 500;
}

.footer-links h4,
.footer-servicios h4,
.footer-contacto h4 {
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    font-size: 1.2rem;
}

.footer-links ul li,
.footer-servicios ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-servicios ul li {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contacto p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contacto i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
}

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

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: var(--primary-color);
}

/* CORREGIDO: WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 99;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #20BA5C;
    transform: scale(1.1);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25D366;
    opacity: 0.5;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Animaciones */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].animate {
    opacity: 1;
    transform: translateY(0);
}

/* Efectos de animación adicionales */
[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-down"] {
    transform: translateY(-50px);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="flip-up"] {
    transform: perspective(500px) rotateX(10deg);
    opacity: 0;
}

[data-aos="flip-up"].animate {
    transform: perspective(500px) rotateX(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-text h2 {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }

    .hero-text h2 {
        font-size: 3.5rem;
    }

    .slogan-item p {
        font-size: 1.3rem;
    }

    .tab-grid,
    .flotas-content,
    .contacto-content {
        grid-template-columns: 1fr;
    }

    .tab-image,
    .flotas-image {
        margin-bottom: 30px;
    }

    .flotas-content {
        gap: 30px;
    }

    .flotas-image {
        order: -1;
    }
    
    .ventajas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 20px;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    .hero-text h2 {
        font-size: 3rem;
    }

    .slogan-container {
        min-height: 80px;
    }

    .slogan-item p {
        font-size: 1.3rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button i {
        font-size: 2rem;
    }

    .beneficio-item {
        padding: 15px;
    }

    .beneficio-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
        bottom: 20px;
        right: 20px;
    }
    
    .ventajas-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-text h2 {
        font-size: 2.5rem;
    }

    .slogan-container {
        min-height: 100px;
    }

    .slogan-item p {
        font-size: 1.2rem;
    }

    .play-button {
        width: 50px;
        height: 50px;
    }

    .play-button i {
        font-size: 1.7rem;
    }

    .beneficio-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .beneficio-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .contacto-form {
        padding: 25px;
    }

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

    .legal-links {
        justify-content: center;
    }
}
/* Estilos para la página de agradecimiento */
.gracias-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    position: relative;
    padding: 120px 0;
}

.gracias-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--white);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.gracias-icon {
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3rem;
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
    position: relative;
}

.gracias-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.gracias-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.gracias-content p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gracias-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.gracias-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 0, 0, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .gracias-content {
        padding: 30px;
    }
    
    .gracias-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .gracias-content h2 {
        font-size: 2rem;
    }
    
    .gracias-buttons {
        flex-direction: column;
    }
}
/* Estilos para la gota en el hero */
.hero-logo {
    margin-bottom: 0px;
}

.hero-oil-drop {
    fill: rgba(0, 0, 0, 0.7
	);
    stroke: var(--white);
    stroke-width: 5px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
	animation: drip 4s infinite;
}
.logo-icon {
    display: inline-block;
    vertical-align: middle;
   
}

.nav-oil-drop {
	fill: var(--secondary-color);
    stroke: var(--white);
    stroke-width: 10px;
    width: 35px;
    height: 35px;    
    transition: transform 0.3s ease;
	
	margin-bottom: -8px;
}

.logo:hover .nav-oil-drop {
    transform: scale(1.2);
}


