* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Varta', sans-serif;
    overflow-x: hidden;
    background: #fff;
    color: #8f9194;
}

/* Navegación */
nav {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    z-index: 1001;
}

.logo img {
    height: 40px;
    width: auto;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -4px);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Mitr', sans-serif;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff3600;
}

/* Sección FAQ */
.faq-section {
    min-height: 100vh;
    padding: 50px;
    background: #f5f5f5;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-container h2 {
    font-size: 56px;
    font-weight: 900;
    font-family: 'Mitr', sans-serif;
    text-align: center;
    margin-bottom: 60px;
    color: #ff3600;
}

.faq-item {
    background: #fff;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0;
    flex: 1;
}

.faq-icon {
    font-size: 32px;
    font-weight: 300;
    color: #ff4500;
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 0 30px 25px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-answer li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.faq-answer li::before {
    content: '•';
    position: absolute;
    left: 8px;
    top: -5px;
    color: #ff4500;
    font-size: 20px;
}

/* Footer */
footer {
    padding: 32px;
    text-align: center;
    font-family: 'Mitr', sans-serif;
    color: #fff;
    background: url('./images/djam_background_footer_escritorio.jpg') center/cover;
}

.footer-download {
    margin-bottom: 50px;
}

.footer-download h3 {
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: bold;
}

.app-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.app-btn {
    transition: transform 0.3s, box-shadow 0.3s;
}

.app-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 183, 0, 0.5)
}

.app-btn-orange:hover {
    box-shadow: 0 10px 30px #ff360080 !important;
}

.app-btn img {
    height: 55px;
    display: block;
}

.social-links {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin: 50px 0;
}

.social-icon {
    width: 55px;
    height: 55px;
    border: 2px solid #ff3600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff3600;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #ff3600;
    color: #fff;
    transform: scale(1.1);
}

.footer-text {
    margin-top: 40px;
    color: #fff;
    font-size: 16px;
}

.footer-links {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 30px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff3600;
}

/* Botón scroll to top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff4500, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 69, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.4s ease, visibility 0.4s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    text-decoration: none;
    transform: translateY(100px) scale(0.8);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: slideInUp 0.5s ease forwards;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.6);
}

.scroll-to-top::before {
    content: '↑';
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    animation: bounceArrow 1.5s ease-in-out infinite;
}

/* Animaciones */
@keyframes slideInUp {
    from {
        transform: translateY(100px) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 50px;
    }

    .faq-container h2 {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 18px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}

/* Responsive - Tablets */
@media (max-width: 768px) {
    nav {
        padding: 15px 30px;
    }

    .logo img {
        height: 35px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: rgba(0,0,0,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 30px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 18px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* Responsive - Móviles pequeños (320px - 480px) */
@media (max-width: 480px) {
    nav {
        padding: 15px 20px;
    }

    .logo img {
        height: 30px;
    }

    .menu-toggle span {
        width: 22px;
        height: 2.5px;
    }

    .nav-links {
        width: 100%;
        right: -100%;
        padding: 80px 30px 30px;
    }

    .nav-links a {
        font-size: 16px;
    }
}

/* Extra pequeño (320px) */
@media (max-width: 320px) {
    nav {
        padding: 12px 15px;
    }

    .logo img {
        height: 28px;
    }

    .nav-links {
        padding: 70px 20px 20px;
    }

    .nav-links a {
        font-size: 15px;
    }
}