@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.hidemapbar {
  position: relative;
  border: inherit;
}
 



:root {
    --primary-red: #d30505;
    /* --primary-red: #C50909;  */
    --dark-blue: #1d3557;
    --light-blue: #457b9d;
    --off-white: #f1faee;
    --dark-gray: #333333;
}

body {
    font-family: 'Orbitron', sans-serif;
    scroll-behavior: smooth;
}

.text-primary {
    color: var(--primary-red);
}

.bg-primary {
    background-color: var(--primary-red);
}

.header-link {
    position: relative;
    transition: all 0.3s ease;
}

.header-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.header-link:hover:after {
    width: 100%;
}

.header-link.active {
    color: var(--primary-red);
    font-weight: 600;
}

.header-link.active:after {
    width: 100%;
}


.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600' viewBox='0 0 800 600'%3E%3Crect width='800' height='600' fill='%23333'/%3E%3Cpath d='M300,300 L500,200 L600,400 L400,500 Z' fill='%23555'/%3E%3Ccircle cx='400' cy='300' r='150' fill='none' stroke='%23777' stroke-width='20'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    height: 90vh;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.flip-indicator {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 24px;
            height: 24px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: pulse-hint 2s infinite;
            z-index: 10;
            opacity: 0.7;
            transition: opacity 0.3s ease;
}

.pulse-spin {
            animation: pulseSpin 2s ease-in-out infinite;
        }

        @keyframes pulseSpin {
            0%, 100% { transform: rotate(0deg) scale(1); }
            25% { transform: rotate(90deg) scale(1.1); }
            50% { transform: rotate(180deg) scale(1); }
            75% { transform: rotate(270deg) scale(1.1); }
        }

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonialsSwiper .swiper-wrapper {
    align-items: stretch;
}

.testimonialsSwiper .swiper-slide {
    height: auto;
    display: flex;
    padding: 25px;
}

.testimonial-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary-red);
}


.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 100;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.social-icon {
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

.vehicle-selector-container {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.header h2 {
    color: #c00000;
    margin: 0;
    font-size: 1.5em;
}

.vehicle-types {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.vehicle-type-btn {
    border: 1px solid #ccc;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5em;
    color: #555;
    border-radius: 5px;
    transition: background-color 0.3s, border-color 0.3s;
}

.vehicle-type-btn:hover {
    background-color: #e0e0e0;
}

.vehicle-type-btn.active {
    background-color: #ddd;
    border-color: #999;
    color: #000;
}

.vehicle-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 150px;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #333;
}

.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    background-color: white;
}

.jet-animated-box {
    perspective: 1000px;
}

.jet-animated-box__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.jet-animated-box:hover .jet-animated-box__inner {
    transform: rotateY(180deg);
}

.jet-animated-box__front,
.jet-animated-box__back {
    position: absolute;
    width: 100%;
    backface-visibility: hidden;
    border-radius: 1rem;
    padding: 2rem;
}

.jet-animated-box__front {
    background: white;
}

.jet-animated-box__back {
    background: var(--dark-gray);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
}


.jet-animated-box__back-header {
    text-align: center;
    margin-bottom: 1.5rem; 
}

.jet-animated-box__back-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


.jet-animated-box__back-content--short {
    justify-content: flex-start;
    padding-top: 0; 
}

.jet-animated-box__back-description {
    text-align: justify;
    line-height: 1.5;
    text-align-last: left; 
    hyphens: auto; 
    word-spacing: -0.05em; 
}


.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    color: #ff1f1f !important;
}

.slide-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    pointer-events: none;
}

.swiper-slide-active .slide-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


/* NUEVOS ESTILOS  */
:root {
    --primary: #ff1f1f;
    --dark: #1a1a1a;
    --light: #ffffff;
    --gray: #f5f5f5;
}

.custom-container {
    padding: 2rem;
}

.custom-header {
    text-align: center;
    margin-bottom: 3rem;
}

.custom-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.custom-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
    color: var(--light);
}

.custom-step {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.custom-step.active {
    background: var(--primary);
}

.custom-step.clickable {
    cursor: pointer;
    opacity: 1;
}

.custom-step:not(.clickable) {
    cursor: default;
}

.custom-search-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.custom-search-input {
    padding: 0.8rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    width: 100%;
    max-width: 400px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.custom-search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 31, 31, 0.2);
}

.custom-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.no-results {
    text-align: center;
    grid-column: 1 / -1;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--light);
}

@media (min-width: 640px) {
    .options-container {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 180px;
}

.option-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.option-card.selected {
    background: rgba(255, 31, 31, 0.1);
    border-color: var(--primary);
}

.option-card img {
    max-width: 80px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.option-card img.brand-logo {
    width: 80px;
    height: auto;
    display: block;
    margin: 0 auto 1rem;
    max-height: 64px;
    object-fit: contain;
}

.option-card h3 {
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .option-card h3 {
        font-size: 1.2rem;
    }
}

.custom-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.custom-summary {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    color: var(--light);
}

.custom-summary h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.custom-summary p {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .custom-container {
        padding: 1rem;
    }

    .custom-options-container {
        grid-template-columns: 1fr;
    }
}

.brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

/* --- FIN NUEVOS ESTILOS --- */

.advantages-section {
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    color: white;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(45deg, #ff0000, #ffffff, #ff4444);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    margin-bottom: 1rem;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}


.advantage-card {
    background: var(--primary-red);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.1), transparent);
    transition: left 0.5s;
}

.advantage-card:hover::before {
    left: 100%;
}

.advantage-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.3);
    border-color: rgba(255, 0, 0, 0.4);
    background: var(--dark-gray)
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem; /* espacio entre ícono y título */
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 1.8rem;
    background: var(--dark-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    transition: all 0.3s ease;
    color: var(--light);
}

.advantage-card:hover .card-icon {
    transform: rotate(360deg) scale(1.1);
    background: var(--primary-red);
    color: var(--dark);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1rem;
    text-align: justify;
    hyphens: auto;
    word-break: break-word;
}


@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .advantage-card {
        padding: 2rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .card-header {
        flex-direction: row;
        align-items: center;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.5rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-description {
        font-size: 0.95rem;
    }
}

.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-circle:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-circle:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-circle:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

#modernChartContainer {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

#modernHpChart {
    background: transparent;
}

.vehicle-image-container {
    position: relative;
    max-width: 100%;
    width: fit-content;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    padding: 8px;
    backdrop-filter: blur(10px);
}

.vehicle-image-container img {
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
}

.vehicle-image-container img:hover {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.2);
}

@media (max-width: 768px) {
    .vehicle-image-container {
        padding: 10px;
    }

    .vehicle-image-container img {
        max-height: 200px !important;
    }
}


.custom-summary {
    border-radius: 1rem;
}


@media (max-width: 1024px) {
    #summaryContent {
        text-align: center;
    }
}

.separador-gradient {
    background: linear-gradient(90deg, transparent, #C50909, transparent);
    height: 1.2px;
    width: 100%;
    margin: 2.5rem 0;
}

[id="reprogramacion"] {
    scroll-margin-top: 100px;
}

@media (max-width: 768px) {

    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }
}
  .justify-hyphen {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    text-align: justify;
  }
  


