/* === RESET BÁSICO === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === BODY === */
body {
    font-family: Arial, sans-serif;
    background-color: #f5ede8;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === HEADER === */
header {
    background-color: #2aa8a8;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 28px;
}

header img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

header h1 {
    color: white;
    font-size: 1.8rem;
}

header p {
    color: white;
    font-style: italic;
    font-size: 1rem;
}

/* === NAV === */
nav {
    background-color: white;
    border-bottom: 3px solid #2aa8a8;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #1a7a7a;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.3s;
}

nav a img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

nav a:hover,
nav a.active {
    background-color: #2aa8a8;
    color: white;
}

/* ======================================================
                CONTACTO
====================================================== */
button{
    margin: 25px;
    padding: 10px 20px;
    width: 160px;
    background-color: #2aa8a8;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover{
    background-color: #1a7a7a;
}

.vinculo{
    text-decoration: none;
    color: white;
    font-weight: bold;
    display: block;
}


/* Botones del asunto */

.asunto{
    display: flex;
    gap: 50px;
    margin: 15px 0;
}

.asunto input{
    display: none;
}

.opcion{
    background-color: #2aa8a8;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.opcion:hover{
    background-color: #1a7a7a;
}

.asunto input:checked + .opcion{
    background-color: #145f5f;
}

.btn-enviar{
    background:#2aa8a8;
    color:white;
    border:none;
    padding:10px 10px;
    border-radius:30px;
    cursor:pointer;
    font-weight:bold;
    transition:.3s;
    width:160px;
    margin-top:15px;
}

.btn-enviar:hover{
    background:#1a7a7a;
}

.titulo-contacto{
    text-align:center;
    color:#1a7a7a;
    margin-top:20px;
    font-size:2rem;
}

.subtitulo{
    text-align:center;
    color:#666;
    margin-bottom:40px;
}

.contacto-container{
    max-width:1100px;
    margin:0 auto 50px;
    padding:0 25px;
    display:flex;
    gap:35px;
}

.info-contacto{
    width:35%;
    background:white;
    padding:30px;
    border-radius:12px;
    box-shadow:0 4px 14px rgba(0,0,0,.10);
}

.info-contacto h3{
    color:#1a7a7a;
    margin-top:20px;
    margin-bottom:8px;
}

.info-contacto p{
    color:#555;
    line-height:1.6;
}

.formulario-contacto{
    width:100%;
    background:white;
    padding:30px;
    border-radius:30px;
    box-shadow:0 4px 14px rgba(0,0,0,.10);
}

.formulario-contacto h2{
    color:#1a7a7a;
    text-align:center;
    margin-bottom:25px;
}

form label{
    display:block;
    font-weight:bold;
    margin-bottom:6px;
}

form input,
form textarea{
    width:100%;
    padding:10px;
    border:1.5px solid #cce6e6;
    border-radius:6px;
    background:#f8fafa;
    margin-bottom:18px;
    outline:none;
}

form input:focus,
form textarea:focus{
    border-color:#2aa8a8;
}

form textarea{
    height:120px;
    resize:vertical;
}


/* === FOOTER === */

footer{
    background:#2aa8a8;
    color:white;
    text-align:center;
    padding:18px;
    margin-top:auto;
}

/* === RESPONSIVE === */

@media(max-width:900px){

    .contacto-container{
        flex-direction:column;
    }

    .info-contacto,
    .formulario-contacto{
        width:100%;
    }

    nav{
        flex-wrap:wrap;
    }
}

/*=============================
        MAPA
==============================*/

.mapa{

    width:90%;
    max-width:1100px;
    margin:50px auto;
    text-align:center;

}

.mapa h2{

    color:#1a7a7a;
    font-size:30px;
    margin-bottom:10px;

}

.mapa p{

    color:#666;
    margin-bottom:25px;

}

.mapa iframe{

    width:100%;
    height:420px;
    border:none;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.18);

}