:root {
    --color-primario: #0a2463;
    --color-secundario: #B08D57;
    --color-fondo: #f8f9fa;
    --color-texto: #212529;
    --color-texto-claro: #ffffff;
    --fuente-titulos: 'Playfair Display', serif;
    --fuente-cuerpo: 'Montserrat', sans-serif;
}
body {
    background: linear-gradient(135deg, #f8fafc 0%, #e7eaf6 100%);
    min-height: 100vh;
    animation: fadeInBg 1.5s;
    font-family: var(--fuente-cuerpo);
    margin: 0;
    padding: 0;
    color: var(--color-texto);
    line-height: 1.7;
    overflow-x: hidden;
}
@keyframes fadeInBg {
    from { opacity: 0; }
    to { opacity: 1; }
}
.navbar {
    transition: box-shadow 0.3s;
}
.navbar-nav .nav-link {
    transition: background 0.2s, color 0.2s;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus {
    background: #c7a34b;
    color: #232e33 !important;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.active:focus {
    background: #c7a34b !important;
    color: #232e33 !important;
    font-weight: 700;
    box-shadow: 0 2px 12px 0 rgba(199,163,75,0.18), 0 1.5px 6px rgba(35,46,51,0.08);
    border: 2px solid #fff3cd;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
    letter-spacing: 0.5px;
}
.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 0;
}
.main-header {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../imagenes/header_background_eventos.jpg') no-repeat center center/cover;
    background-color: var(--color-primario);
    color: var(--color-texto-claro);
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}
.main-header h1 {
    font-family: var(--fuente-titulos);
    font-size: 3.5em;
    margin: 0 0 10px 0;
    font-weight: 700;
    letter-spacing: 1px;
}
.main-header p {
    font-size: 1.3em;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}
.servicio-card {
    background-color: #fff;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}
.servicio-card.principal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
}
.imagen-principal-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
}
.imagen-principal-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.contenido-principal {
    padding: 40px;
}
.servicio-card h2 {
    font-family: var(--fuente-titulos);
    color: var(--color-primario);
    font-size: 2.5em;
    margin-top: 0;
    margin-bottom: 15px;
}
.servicio-card.secundario h3 {
    font-family: var(--fuente-titulos);
    color: var(--color-primario);
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 10px;
}
.servicio-card p {
    font-size: 1.05em;
    color: #555;
    margin-bottom: 20px;
    padding: 0 10px;
}
.servicio-card.principal p {
    font-size: 1.15em;
    padding: 0;
}
.imagen-secundaria-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 20px;
}
.imagen-secundaria-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.contenido-secundario {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-start;
    align-items: center;
    padding: 0 25px 25px 25px;
    text-align: center;
}
.contenedor-boton-secundario {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: center;
}
.servicios-secundarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: stretch;
}
.servicio-card.secundario {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.boton-accion {
    background-color: var(--color-secundario);
    color: var(--color-texto-claro);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(176, 141, 87, 0.3);
}
.boton-accion:hover {
    background-color: #9a7c4f;
    transform: translateY(-2px);
}
/* --- Mensaje de confirmación global --- */
.mensaje-confirmacion-global {
    background-color: #e6f4ea; /* Verde claro */
    color: #1e4620; /* Verde oscuro */
    padding: 20px;
    margin: 20px auto;
    border: 1px solid #c3e0c8;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1em;
    max-width: 800px;
}

/* --- Barra de llamado a la acción --- */
.call-to-action-bar-servicios {
    background-color: #0a2463;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    margin: 50px 0;
}
.call-to-action-bar-servicios p {
    font-size: 1.5em;
    font-weight: 300;
    margin: 0 0 20px 0;
}

/* --- Modal de solicitud --- */
.request-modal {
    display: none;
    position: fixed;
    top: 0;
    right: -500px;
    width: 100%;
    max-width: 480px;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    box-shadow: -5px 0 25px rgba(0,0,0,0.2);
    padding: 30px;
    overflow-y: auto;
    transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-direction: column;
}
.request-modal.active {
    display: flex;
    right: 0;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.modal-header h3 {
    font-family: 'Playfair Display', serif;
    color: #0a2463;
    margin: 0;
    font-size: 1.8em;
}
.close-modal-btn {
    background: none;
    border: none;
    font-size: 2.5em;
    font-weight: 300;
    color: #aaa;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.close-modal-btn:hover {
    color: #212529;
}
.modal-body p {
    font-size: 0.95em;
    margin-bottom: 25px;
    color: #666;
}
.form-grupo-modal {
    margin-bottom: 20px;
}
.form-grupo-modal label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 0.9em;
}
.form-grupo-modal input[type="email"],
.form-grupo-modal input[type="text"],
.form-grupo-modal input[type="tel"],
.form-grupo-modal textarea {
    width: calc(100% - 24px);
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    font-family: 'Montserrat', sans-serif;
}
.form-grupo-modal textarea {
    min-height: 100px;
    resize: vertical;
}
.error-mensaje-modal {
    color: #d9534f;
    font-size: 0.85em;
    margin-top: 6px;
}
.boton-enviar-modal {
    background-color: #0a2463;
    color: #fff;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 6px;
    width: 100%;
    margin-top: 10px;
}
.boton-enviar-modal:hover {
    background-color: #081f4b;
}
@media (max-width: 768px) {
    .request-modal { max-width: 90%; }
}
/* ...resto de estilos existentes, incluyendo modal, responsive, etc... */
.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}
.page-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease;
}
.request-modal {
    display: none;
    position: fixed;
    top: 0;
    right: -500px;
    width: 100%;
    max-width: 480px;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    box-shadow: -5px 0 25px rgba(0,0,0,0.2);
    padding: 30px;
    overflow-y: auto;
    transition: right 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-direction: column;
}
.request-modal.active {
    display: flex;
    right: 0;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
/* ...continúa con el resto de los estilos del modal y responsive... */

/* Separación visual entre navbar y título de servicios */
.titulo-servicios {
    margin-top: 40px;
}
@media (max-width: 768px) {
    .titulo-servicios {
        margin-top: 24px;
    }
}
