/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #0a1f44;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.navbar a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 15px;
    transition: 0.3s;
}

.navbar a:hover {
    color: #d4af37; /* dorado elegante */
}

/* SECCIONES */
.section {
    padding: 100px 20px;
    text-align: center;
    max-width: 1200px;
    margin: auto;
}

/* BANNER */
.banner {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f') center/cover no-repeat;
    position: relative;
}

.overlay {
    background: rgba(0,0,0,0.65);
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.overlay h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.overlay button {
    background: #d4af37;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.overlay button:hover {
    background: #b8962e;
}

/* TARJETAS / SERVICIOS */
.card {
    background: white;
    padding: 25px;
    margin: 15px auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    max-width: 600px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* FORMULARIO */
input, textarea {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin: 8px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    background: #0a1f44;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #132d66;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .overlay h1 {
        font-size: 28px;
    }

    .navbar {
        flex-direction: column;
        text-align: center;
    }
}
.botones-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

#texto-info {
    margin-top: 25px;
    font-size: 18px;
    font-weight: 500;
    color: #0a1f44;
}
.botones-info button {
    background-color: #0a1f44;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

.modal-contenido {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    position: relative;
    animation: aparecer 0.3s ease;
}

.modal-contenido img {
    width: 100%;
    border-radius: 8px;
    margin: 15px 0;
}

.cerrar {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

@keyframes aparecer {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.botones-info button:hover {
    background-color: #132d66;
}
}
/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

.modal-contenido {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    position: relative;
    animation: aparecer 0.3s ease;
}

.modal-contenido img {
    width: 100%;
    border-radius: 8px;
    margin: 15px 0;
}

.cerrar {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

@keyframes aparecer {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.img-pequena {
    width: 60% !important;
    max-width: 250px;
    margin: 15px auto;
    display: block;
}
