html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    color: #222;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.95);
    color: white;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(6px);
}

header h1 {
    margin: 0 0 15px 0;
}

nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    background: #1b263b;
    padding: 10px 18px;
    border-radius: 8px;
    transition: 0.3s ease;
    font-weight: bold;
}

nav a:hover,
nav a:focus {
    background: #415a77;
    transform: translateY(-2px);
}

main {
    padding: 20px;
}

section {
    padding: 30px 20px;
    margin: 20px auto;
    max-width: 900px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.boton {
    display: inline-block;
    margin-top: 15px;
    background: #2a9d8f;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s ease;
}

.boton:hover {
    background: #21867a;
    transform: translateY(-2px);
}

.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.galeria img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.formulario {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
    margin-top: 20px;
}

.formulario label {
    font-weight: bold;
}

.formulario input,
.formulario textarea {
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.formulario button {
    border: none;
    cursor: pointer;
}

.mensaje-exito {
    max-width: 600px;
    margin: 80px auto;
    text-align: center;
    background: white;
    padding: 40px 20px;
    border-radius: 16px;
    box-shadow: 0 0 12px rgba(0,0,0,0.08);
}

footer {
    text-align: center;
    padding: 20px;
    background: #0d1b2a;
    color: white;
}
