* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f7fb;
    color: #333;
}

/* HEADER */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: linear-gradient(90deg, #0b2a4a, #163f6b);
    color: white;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
}

/* CONTENEDOR */

.container {
    max-width: 900px;
    margin: auto;
    padding: 50px 20px;
}

/* TITULO */

.titulo {
    font-size: 36px;
    color: #0b2a4a;
    margin-bottom: 10px;
}

.fecha {
    color: #888;
    margin-bottom: 30px;
}

/* CONTENIDO */

.contenido {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
}

/* BOTON */

.volver {
    display: inline-block;
    margin-top: 40px;
    text-decoration: none;
    background: #1e6acb;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    transition: 0.3s;
}

.volver:hover {
    background: #0b2a4a;
}

/* FOOTER */

footer {
    text-align: center;
    padding: 30px;
    background: #0b2a4a;
    color: white;
    margin-top: 60px;
}

/* RESPONSIVE */

@media(max-width:700px) {

    header {
        flex-direction: column;
        gap: 10px;
    }

    .titulo {
        font-size: 26px;
    }

}

/* =========================
   Estilo para formulario de comentarios
   ========================= */

/* Contenedor general del formulario */
form {
    max-width: 600px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
}

/* Input del nombre */
form input[name="nombre"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

form input[name="nombre"]:focus {
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

form input[name="nombre"]::placeholder {
    color: #999;
    font-style: italic;
}

/* Textarea del comentario */
form textarea[name="comentario"] {
    width: 100%;
    min-height: 120px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    resize: vertical; /* permite ajustar verticalmente */
    transition: border-color 0.3s, box-shadow 0.3s;
}

form textarea[name="comentario"]:focus {
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

form textarea[name="comentario"]::placeholder {
    color: #999;
    font-style: italic;
}

/* Botón de envío */
form button[type="submit"] {
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button[type="submit"]:hover {
    background-color: #0056b3;
}


/* HEADER */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: linear-gradient(90deg, #0b2a4a, #163f6b);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    font-size: 24px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: white;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* MENU MOBILE */

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* RESPONSIVE MOVIL */

@media(max-width:700px) {

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #0b2a4a;
        display: none;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    nav.active {
        display: block;
    }


}


.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* espacio entre imagen y texto */
}

.logo img {
    width: 40px;  /* ajusta tamaño */
    height: 40px;
    object-fit: contain;
}