@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wght@100..900&family=Poppins:ital,wght@0,400;0,600;0,800;1,700&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
    text-decoration: none;
    list-style: none;
}

body{
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #e1e2e6 0%, #f5f6fa 100%);
}

/*Encabezado de la pagina */

#toggle, 
.header label{
    display: none;
    cursor: pointer;
}

.menu{
    width: 45px;
    height: 35px;
}

/* FAQ Content */
.faq-body {
    margin-top: 120px;
    flex: 1;
    padding: 3rem 2rem;
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.faq-content {
    flex: 2;
}

.faq-title {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-title h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff4e00, #ff7733);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-title p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.pregunta {
    background: linear-gradient(135deg, #ff4e00, #ff7733);
    color: white;
    padding: 1.5rem 2rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.pregunta:hover {
    background: linear-gradient(135deg, #e63d00, #ff4e00);
}

.pregunta::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.pregunta.activa::after {
    content: '−';
    transform: rotate(180deg);
}

.respuesta {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: white;
}

.respuesta.activa {
    padding: 2rem;
    max-height: 500px;
}

.respuesta p {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

.faq-image {
    flex: 0 0 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-body img{
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.faq-body img:hover {
    transform: scale(1.05);
}

a.active {
    background-color: #0099e5;
    color: #fff;
    border-radius: 20px;
}



/* Media Queries */
@media(max-width:950px){
    .header label{
      display: initial;
    }

    .header{
        padding: 20px 10%;
    }

    .header .navigation{
        position: absolute;
        top:100%;
        left: 0;
        right: 0;
        background-color: rgba(1, 1, 1, 0.9);
        backdrop-filter: blur(10px);
        display: none;
    }

    .header .navigation ul li{
        width: 100%;
    }

    .header .navigation ul li a{
        padding: 8px 30px 8px 10%;
    }

    .header .navigation ul li ul{
        position: relative;
        width: 100%;
        left: 0;
    }

    .header .navigation ul li ul li{
         background-color: rgba(1, 1, 1, 0.7);
    }

    .header .navigation ul li ul li ul{
        position: relative;
        width: 100%;
        left: 0;
    }

    #toggle:checked ~ .navigation {
        display: block;
    }
}

@media(max-width: 768px) {
    .faq-body {
        flex-direction: column;
        padding: 2rem 1rem;
        margin-top: 100px;
        gap: 2rem;
    }
    
    .faq-image {
        flex: none;
    }
    
    .faq-body img {
        max-width: 300px;
    }
    
    .faq-title h1 {
        font-size: 2.5rem;
    }
    
    .pregunta {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
    
    .respuesta.activa {
        padding: 1.5rem;
    }
    
    .faq-footer h3 {
        font-size: 1.3rem;
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media(max-width: 480px) {
    .faq-body {
        margin-top: 80px;
        padding: 1rem 0.5rem;
    }
    
    .faq-body img {
        display: none;
    }
    
    .faq-title h1 {
        font-size: 2rem;
    }
    
    .faq-title p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .pregunta {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .respuesta.activa {
        padding: 1rem;
    }
    
    .faq-footer {
        padding: 2rem 0;
    }
    
    .faq-footer h3 {
        font-size: 1.2rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media(max-width: 320px) {
    .faq-title h1 {
        font-size: 1.8rem;
    }
    
    .pregunta {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
    
    .respuesta.activa {
        padding: 0.8rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}