body {
    background-color: #2c7a7b;
    margin: 0;
    font-family: Arial, sans-serif;
}

/* FOOTER */
footer {
    background: #bdc4c4;
    color: rgb(0, 0, 0);
    text-align: center;

    

    display: flex;
    justify-content: center;
    align-items: center;
}
/* HEADER */
header {
    background: #95a8a8;
    color: white;
    padding: 10px 20px;
    position: relative;
}

/* CONTENEDOR */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* TITULO */
h1 {
    font-size: 1.4rem;
    margin: 0;
}

/* NAV DESKTOP */
nav {
    display: flex;
    gap: 15px;
}

/* LINKS */
nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

/* HAMBURGUESA */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    background: white;
    height: 3px;
    width: 25px;
    margin: 4px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
    }

    nav {
        display: none !important;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #95a8a8;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        z-index: 999;
    }

    nav.active {
        display: flex !important;
    }
}
section {
    padding: 40px;
    text-align: center;
}

#inicio {
    /* 👉 SOLO CAMBIA ESTA URL */
    background: url("img1.jpeg") no-repeat center center/cover;

    height: 90vh; /* ocupa casi toda la pantalla */
    
    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;

    position: relative;
}

/* CAPA OSCURA PARA MEJORAR LEGIBILIDAD */
#inicio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* CONTENIDO */
.contenido-inicio {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.contenido-inicio h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contenido-inicio p {
    font-size: 1.2rem;
}

#nosotros {
    background: #f0fff4;
}

#ubicacion {
    background: #edf2f7;
}

#contacto {
    background: #f7fafc;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: auto;
}

input, textarea {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
}

button {
    padding: 10px;
    background: #2c7a7b;
    color: rgb(17, 17, 17);
    border: none;
    cursor: pointer;
}

button:hover {
    background: #285e61;
}

/* Botón WhatsApp flotante */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    font-size: 24px;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
}

#equipo {
    padding: 60px 20px;
    background: linear-gradient(180deg, #f7fafc, #eef2f7);
    text-align: center;
}

#equipo h2 {
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #2c3e50;
}

/* CONTENEDOR */
.equipo-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* TARJETAS */
.card {
    background: white;
    width: 280px;
    border-radius: 16px;
    overflow: hidden;

    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    text-align: center;
}

/* HOVER MODERNO */
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* IMAGEN */
.card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* TEXTO */
.card h3 {
    margin-top: 15px;
    font-size: 1.2rem;
    color: #2c3e50;
}

.card p {
    margin: 5px 0;
    color: #666;
}

.descripcion {
    font-size: 0.9rem;
    color: #777;
    padding: 0 15px 20px;
    line-height: 1.4;
}

/* 📱 RESPONSIVE REAL */
@media (max-width: 768px) {

    .equipo-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .card {
        width: 90%;
        max-width: 350px;
    }
}
#faq {
    padding: 60px 20px;
    background: #f7fafc;
    text-align: center;
}

#faq h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

/* CONTENEDOR */
.faq-container {
    max-width: 800px;
    margin: auto;
    text-align: left;
}

/* ITEM */
.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;

    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* PREGUNTA */
.faq-question {
    width: 100%;
    padding: 15px;
    background: none;
    border: none;
    outline: none;

    text-align: left;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ICONO + */
.faq-question::after {
    content: "+";
    font-size: 1.2rem;
}

/* RESPUESTA */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 15px;
}

.faq-answer p {
    margin: 10px 0 15px;
    color: #555;
}

/* ACTIVO */
.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question::after {
    content: "-";
}