/* Tipografía y estilos base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #1f2933;
    background-color: #f5f7fa;
    line-height: 1.6;
}

/* Hero */
.hero {
    position: relative;
    height: 70vh;
    background: url("imagen1.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65), rgba(0, 128, 128, 0.6));
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.btn-primario {
    display: inline-block;
    padding: 12px 28px;
    background: #00a3a3;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primario:hover {
    background: #008080;
    transform: translateY(-1px);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 8%;
}

.navbar .logo {
    font-weight: 700;
    color: #008080;
    letter-spacing: 1px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar a {
    text-decoration: none;
    color: #1f2933;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.navbar a:hover {
    color: #008080;
}

/* Secciones */
.seccion {
    padding: 60px 8%;
}

.seccion h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    color: #102a43;
}

/* Galería de imágenes */
.grid-imagenes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.card figcaption {
    padding: 18px 20px 22px;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #0b7285;
}

.card p {
    font-size: 0.95rem;
    color: #4b5563;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

/* Contacto */
.contacto p {
    max-width: 650px;
    margin: 0 auto 25px;
    text-align: center;
    color: #4b5563;
}

.form-contacto {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 25px 24px 28px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.campo {
    margin-bottom: 16px;
}

.campo label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: #374151;
}

.campo input,
.campo textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.campo input:focus,
.campo textarea:focus {
    border-color: #00a3a3;
    box-shadow: 0 0 0 2px rgba(0, 163, 163, 0.15);
}

/* Footer */
.footer {
    text-align: center;
    padding: 18px 8%;
    font-size: 0.85rem;
    color: #6b7280;
    background: #e5f3f3;
}

/* Responsivo */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .navbar ul {
        gap: 12px;
        font-size: 0.9rem;
    }
}