@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@300;400;500&display=swap');

:root {
    --bs-body-font-family: 'Space Grotesk', sans-serif;
    --bs-heading-font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    font-family: var(--bs-body-font-family);
    color: #000;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--bs-heading-font-family);
    font-weight: 600;
}

/* Navbar */
.navbar {
    background-color: transparent;
    transition: all 0.3s ease;
    padding-top: 30px;
    transform: translateY(0);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.logo {
    font-family: var(--bs-heading-font-family);
    font-weight: 700;
    font-size: 1.5rem;
    color: #000;
}

.menu-icon {
    width: 24px;
    height: 16px;
    position: relative;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000;
    position: absolute;
    transition: all 0.3s ease;
}

.menu-icon span:first-child {
    top: 0;
}

.menu-icon span:last-child {
    bottom: 0;
}

/* Modal de menú */
.modal-fullscreen {
    background-color: #fff;
}

.modal-content {
    background-color: transparent;
    border: none;
    border-radius: 0;
}

.modal-header {
    border-bottom: none;
    padding: 2rem;
}

.modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

.menu-items {
    list-style: none;
    padding: 0;
    text-align: center;
}

.menu-items li {
    margin-bottom: 1.5rem;
}

.menu-items a {
    font-family: var(--bs-heading-font-family);
    font-size: 2.5rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu-items a:hover {
    color: #666;
}

.btn-close {
    font-size: 1.5rem;
    opacity: 1;
}

/* Botón flotante WhatsApp - CORREGIDO */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #000;
    text-decoration: none;
}

.floating-btn:hover {
    background-color: #333;
    transform: scale(1.1);
    color: #fff;
    border: 2px solid #333;
}

/* Hero Section - MODIFICADA */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 2rem 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 3rem;
}

.hero-video {
    flex-shrink: 0;
    max-width: 315px;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
}

.hero-video iframe {
    width: 100%;
    height: 530px;
    display: block;
    border-radius: 20px;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
}

/* BOTONES CORREGIDOS */
.btn-pill {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--bs-body-font-family);
}

/* Botón negro - CORREGIDO */
.btn-black {
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
}

.btn-black:hover {
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
}

/* Botón blanco - CORREGIDO */
.btn-white {
    background-color: #fff;
    color: #000;
    border: 2px solid #fff;
}

.btn-white:hover {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

/* Botón outline negro - CORREGIDO */
.btn-outline-black {
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
}

.btn-outline-black:hover {
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
}

/* Botón outline blanco - CORREGIDO */
.btn-outline-white {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline-white:hover {
    background-color: #fff;
    color: #000;
    border: 2px solid #fff;
}

/* Asegurar que los enlaces con clase btn-pill tengan estilo consistente */
a.btn-pill {
    text-decoration: none;
}

a.btn-pill:hover {
    text-decoration: none;
}

.section {
    padding: 5rem 0;
}

.section-dark {
    background-color: #000;
    color: #fff;
}

/* Responsive para Hero Section */
@media (max-width: 991px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-video {
        margin-top: 30vh!important;
        max-width: 280px;
    }

    .hero-video iframe {
        height: 500px;
    }
}

/* Video Section */
.video-section {
    height: 92vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #fff!important;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-content {
    text-align: left;
    color: #fff;
    max-width: 600px;
    padding: 0 2rem;
    margin-left: 5%;
}

.video-content h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Para dispositivos móviles */
@media (max-width: 768px) {
    .video-section {
        margin-top: 200px!important;
        height: 29vh;
    }

    .video-content {
        text-align: center;
        margin-left: 0;
        padding: 0 1rem;
    }

    .video-content h2 {
        font-size: 1.8rem;
    }

    .video-content p {
        font-size: 0.9rem;
    }
}

/* Para tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .video-content {
        margin-left: 3%;
    }

    .video-content h2 {
        font-size: 2.5rem;
    }
}

/* Cómo funciona Section */
.how-section {
    padding: 5rem 0;
}

.map-section {
    padding: 0 0 ;
}

.how-title {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.step-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.step-number {
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Galería Carrusel */
.gallery-section {
    height: 80vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-carousel {
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicator.active {
    background-color: #fff;
}

/* Descarga Dossier Section */
.dossier-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000;
    color: #fff;
}

.dossier-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Contact Form Section */
.contact-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.contact-title {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.form-control {
    border-radius: 0;
    border: 1px solid #000;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: #000;
    outline: none;
}

footer {
    background-color: #000;
    color: #fff;
    padding: 3rem 0;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .menu-items a {
        font-size: 1.8rem;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.5rem;
    }

    .step-number {
        font-size: 4rem;
    }

    .gallery-section {
        height: 40vh;
    }

    .dossier-title {
        font-size: 2.5rem;
    }

    /* Botones responsive */
    .btn-pill {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Features Toggle Styles - CORREGIDO */
.features-toggle {
    position: relative;
    margin: 2rem 0;
    display: inline-block;
}

.features-toggle-btn {
    background: none;
    border: 2px solid #000;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--bs-body-font-family);
    font-size: 1rem;
    z-index: 10;
    position: relative;
    color: #000;
}

.features-toggle-btn:hover {
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
}

.dots {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
}

.toggle-text {
    font-weight: 500;
}

/* Features Dropdown con posición absoluta */
.features-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 400px;
    margin-top: 0.5rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.features-dropdown.active {
    display: block;
}

.feature-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.feature-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.feature-content h4 {
    font-family: var(--bs-heading-font-family);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000;
}

.feature-content p {
    margin-bottom: 0;
    color: #333;
    line-height: 1.5;
}

/* Animación */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Para móviles */
@media (max-width: 768px) {
    .features-toggle {
        display: block;
        width: 100%;
    }

    .features-toggle-btn {
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .features-dropdown {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 350px;
        margin-top: 0;
    }

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

/* Para tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .features-dropdown {
        width: 350px;
    }
}

/* Features Dropdown - Versión Simple para Móvil */
.features-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 400px;
    margin-top: 0.5rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.features-dropdown.active {
    display: block;
}

/* Para móviles - VERSIÓN SIMPLE */
@media (max-width: 768px) {
    .features-toggle {
        display: block;
        width: 100%;
        position: relative;
    }

    .features-toggle-btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 0;
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .features-dropdown {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: none;
        margin-top: 1rem;
        margin-bottom: 1rem;
        transform: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .feature-item {
        text-align: left;
        padding: 1rem 0;
        margin-bottom: 1rem;
    }

    .feature-item:last-child {
        margin-bottom: 0;
    }

    .feature-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .feature-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Para tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .features-dropdown {
        width: 350px;
    }
}

/* Toast Simple Personalizado */
.simple-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%) scale(0.9);
    background: #000;
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 2px solid #000;
    min-width: 300px;
    text-align: center;
}

.simple-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.simple-toast .toast-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.simple-toast .bi-check-circle-fill {
    font-size: 2rem;
    color: #28a745;
}

.simple-toast .toast-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.simple-toast strong {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.simple-toast span {
    font-size: 0.9rem;
    opacity: 0.9;
}
