body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f7f9fc;
    color: #333;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 960px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.section-title {
    color: #007bff;
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

/* --- Top Navigation --- */
header {
    width: 100%;
}

.top-nav {
    background-color: #1a1a1a;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 0.9em;
    position: relative;
    z-index: 20;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 60px;
}

.top-nav a {
    color: white;
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.3s ease;
}

.top-nav a:hover {
    color: #007bff;
}

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

/* --- Hero Header --- */
.hero-header {
    width: 100%;
    height: 450px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    background-image: url('../img/autopista.webp');
    background-size: cover;
    background-position: center 15%;
    animation: fadeIn 1s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 20px;
}

.hero-header h1 {
    font-size: 3.5em;
    margin: 0 0 15px 0;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2em;
    font-weight: 400;
    margin: 0 0 30px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.price-info {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.price-info del {
    color: #ddd;
    margin-right: 10px;
}

.cta-button {
    background-color: #007bff;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.hero-meta {
    margin-top: 20px;
    font-size: 0.9em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    display: inline-block;
    background-color: rgba(51, 51, 51, 0.8);
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #ffffff;
}

.hero-meta p {
    margin: 5px 0;
}

.hero-meta .fas {
    margin-right: 5px;
    color: #ffc107;
}

/* --- Info Section (Carousel) --- */
.info-section {
    padding: 40px 0;
    text-align: center;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    margin-top: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-button {
    background: none;
    border: none;
    color: #007bff;
    font-size: 2.5em;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: color 0.3s ease;
    opacity: 0.8;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-button:hover {
    color: #0056b3;
    opacity: 1;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: calc(100% + 15px);
    gap: 15px;
    justify-content: flex-start;
}

.info-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    width: calc(25% - 15px);
}

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

.info-icon {
    color: #007bff;
    font-size: 2.5em;
    margin-bottom: 15px;
}

.info-card h3 {
    color: #333;
    font-size: 1.2em;
    margin: 0 0 10px 0;
}

.info-card p {
    color: #666;
    font-size: 0.9em;
    line-height: 1.6;
}

/* --- Steps Section --- */
.steps-section {
    padding: 40px 0;
    text-align: center;
}

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

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.step-number {
    background-color: #007bff;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.step-card h3 {
    color: #333;
    font-size: 1.3em;
    margin: 0 0 10px 0;
}

.step-card p {
    color: #666;
    font-size: 0.95em;
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 40px 0;
    text-align: center;
}

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

.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.testimonial-card .stars {
    color: #ffc107;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: bold;
    color: #333;
}

/* --- Form Section --- */
.form-section {
    background-color: #2c3e50;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.form-section h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 25px;
}

.form-section form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-section label {
    font-weight: bold;
    color: #ffffff;
}

.form-section select,
.form-section input {
    padding: 12px;
    border: 1px solid #555;
    border-radius: 6px;
    font-size: 1em;
    background-color: #444;
    color: #ffffff;
    width: 100%;
}

.form-section select {
    cursor: pointer;
}

.form-section select:focus,
.form-section input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.form-section button#pay-button {
    background-color: #1abc9c;
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    font-weight: 600;
    width: 100%;
}

.form-section button#pay-button:hover {
    background-color: #16a085;
}

/* --- Nuevos estilos para los medios de pago --- */
.payment-methods {
    text-align: center;
    margin-top: 25px;
}

.payment-methods h4 {
    color: #ffffff;
    font-size: 1em;
    margin-bottom: 15px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 2.5em;
    color: #ffffff;
}

.payment-icons i {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-icons i:hover {
    opacity: 1;
}

/* --- Sección de Contacto Rápido --- */
.contact-section {
    text-align: center;
}

.contact-section h2 {
    font-size: 2em;
    color: #007bff;
}

.contact-section p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-button .fab, .contact-button .fas {
    margin-right: 10px;
    font-size: 1.5em;
}

.contact-button.whatsapp {
    background-color: #25d366;
}

.contact-button.whatsapp:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-button.email {
    background-color: #007bff;
}

.contact-button.email:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --- Footer Section --- */
.footer-section {
    width: 100%;
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 10px;
}

.footer-text {
    font-size: 0.9em;
    margin: 0;
}

/* --- WhatsApp Button --- */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

/* --- Responsive Design --- */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
}

@media (max-width: 768px) {
    .top-nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: #222;
        position: absolute;
        top: 50px;
        left: 0;
        z-index: 100;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 15px 0;
        border-bottom: 1px solid #444;
    }

    .menu-toggle {
        display: block;
    }

    .hero-header h1 {
        font-size: 1.8em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .hero-content {
        padding-top: 60px;
    }
    
    .carousel-track {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .info-card {
        width: calc(100% - 20px);
        margin: 0 10px;
        scroll-snap-align: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .form-section {
        padding: 20px;
    }

    .form-section select,
    .form-section input,
    .form-section button {
        width: 100%;
        box-sizing: border-box;
    }

    .payment-icons {
        flex-wrap: wrap;
    }
}