/* -------------------------------------- */
/* Estilos del Header */
/* -------------------------------------- */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.header .logo img {
    max-height: 60px;
}

/* === NAV === */
.header nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.header nav ul li {
    position: relative;
}

.header nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    padding: 10px 0;
    display: block;
}

/* === BOTÓN CONTACTO === */
.header .btn-contacto {
    background-color: #e91e63;
    color: #fff;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: bold;
}

/* === SUBMENÚS ESCRITORIO === */
.header nav ul li ul {
    position: absolute;
    top: 100%;
    right: 0; /* Corrección: el primer submenú se alinea a la derecha */
    background: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    min-width: 180px;
    padding: 10px 0;
    z-index: 1000;
}

.header nav ul li ul li {
    padding: 0;
}

.header nav ul li ul li a {
    padding: 5px 15px;
    white-space: nowrap;
}

/* Segundo nivel de submenú (Integrantes) */
.header nav ul ul ul {
    position: absolute;
    top: 0;
    right: 100%; /* CORRECCIÓN CLAVE: el submenú se despliega hacia la izquierda */
    left: auto;
}

/* === BOTÓN HAMBURGUESA (OCULTO EN ESCRITORIO) === */
.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

/* -------------------------------------- */
/* Estilos del banner*/
/* -------------------------------------- */
.banner-organizacion-eventos {
    position: relative; /* Contenedor para posicionar elementos internos si fuera necesario */
    width: 100%; /* Ocupa todo el ancho disponible */
    overflow: hidden; /* Oculta cualquier parte de la imagen que se desborde al escalar */
    margin: 100px auto 0; /* Espacio arriba y centrado horizontalmente */
    background-color: #f8f8f8; /* Un color de fondo por si la imagen tarda en cargar */
    display: flex; /* Para centrar la imagen si es más pequeña que el contenedor */
    justify-content: center;
    align-items: center;
    height: auto; /* La altura se adaptará al contenido (la imagen) */
    min-height: 250px; /* Altura mínima para que no se vea demasiado pequeña en ciertos casos */
    max-height: 600px; /* Altura máxima para que no sea excesivamente grande en escritorios muy anchos */
}

.banner-image {
    width: 100%; /* La imagen siempre ocupa el 100% del ancho de su contenedor */
    height: auto; /* Mantiene la proporción de la imagen */
    display: block; /* Elimina espacios extra que pueden aparecer debajo de las imágenes */
    object-fit: cover; /* Recorta la imagen para que cubra el área sin distorsionarse */
    /* object-position: center bottom; /* Opcional: enfoca la parte inferior de la imagen */
}

/* -------------------------------------- */
/* Estilos del servicio descripcion */
/* -------------------------------------- */
.service-description-animated-section-2 {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto 0;
    padding: 80px 0;
    box-sizing: border-box;
    background-color: #F7F7F7; /* Color de fondo gris claro */
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-description-animated-container-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Contenido de Texto (Escritorio) */
.animated-text-content-2 {
    flex: 1;
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.animated-text-content-2 h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 2.8rem;
    font-weight: normal;
    color: #444;
    margin-bottom: 20px;
}

.animated-text-content-2 p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    max-width: 500px;
}

/* Imagen del Chef (Escritorio) */
.animated-chef-image-2 {
    flex: 0 0 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    right: -20px; /* Desplazamiento a la derecha como en la referencia */
    background-color: #d8d4d4;
}

.animated-chef-image-2 img {
    max-width: 100%;
    height: auto;
    transform: scale(1.1); /* Chef un poco más grande */
}

/* -------------------------------------- */
/* Estilos de beneficios */
/* -------------------------------------- */
.beneficios {
    width: 80%;
    margin: 100px auto;
    font-family: "Comfortaa", sans-serif;
    text-align: center;
}

/* Header */
.beneficios-header h2 {
    font-size: 29px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #222;
}

.beneficios-header p {
    font-size: 16px;
    color: #555;
    margin-bottom: 50px;
    line-height: 1.6;
}

/* Contenedor de tarjetas */
.beneficios-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Cada tarjeta */
.beneficio-card {
    flex: 1;
    min-width: 220px;
    background: #F0F0F0;
    padding: 30px 20px;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    text-align: center;
}

/* Número */
.beneficio-number {
    width: 45px;
    height: 45px;
    border: 2px solid #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
    font-size: 18px;
}

/* Título */
.beneficio-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #111;
    transition: color 0.3s ease;
}

/* Descripción oculta al inicio */
.beneficio-card p {
    font-size: 15px;
    color: #333;
    display: none;
    margin-top: 10px;
    line-height: 1.5;
}

/* Estado activo o hover */
.beneficio-card.active,
.beneficio-card:hover {
    background: #218380; /* azul referencia */
    color: #fff;
    transform: translateY(-5px);
}

.beneficio-card.active h3,
.beneficio-card:hover h3 {
    color: #fff;
}

.beneficio-card.active p,
.beneficio-card:hover p {
    display: block;
    color: #fff;
}

.benefico-card.active .beneficio-number,
.beneficio-card:hover .beneficio-number {
    border-color: #fff;
}

/* -------------------------------------- */
/* Estilos de como se ofrece */
/* -------------------------------------- */
.how-offer-section {
    width: 100%;
    max-width: 1100px;
    margin: 50px auto 0;
    padding: 80px 0;
    box-sizing: border-box;
    background-color: #F7F7F7; /* Color de fondo gris claro */
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Elementos decorativos de fondo (con pseudo-elementos) */
.how-offer-section::before,
.how-offer-section::after {
    content: '';
    position: absolute;
    background-color: rgba(128, 128, 128, 0.1); /* Gris muy suave */
    z-index: 0;
}

/* Forma orgánica grande */
.how-offer-section::before {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -50px;
    border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%; /* Forma orgánica */
    transform: rotate(-20deg);
}

/* Círculos pequeños */
.how-offer-section::after {
    width: 30px;
    height: 30px;
    top: 30px;
    left: 20px;
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(128, 128, 128, 0.1),
                0 0 0 20px rgba(128, 128, 128, 0.08); /* Círculos concéntricos */
}


/* Contenedor principal de imagen y texto */
.how-offer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Imagen circular (Escritorio) */
.how-offer-image-wrapper {
    flex: 0 0 40%; /* Ocupa 40% del ancho, no se encoge */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
}

.how-offer-image-wrapper img {
    width: 350px; /* Tamaño fijo para la imagen */
    height: 350px;
    object-fit: cover; /* Asegura que la imagen cubra el círculo */
    border-radius: 50%; /* Hace la imagen circular */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Sombra elegante */
}

/* Contenido de Texto (Escritorio) */
.how-offer-text-content {
    flex: 1; /* Ocupa el resto del espacio */
    padding: 20px;
    text-align: left; /* Alineación a la izquierda como en la referencia */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra verticalmente */
    align-items: flex-start; /* Alinea al inicio horizontalmente */
    margin-left: 50px; /* Espacio con la imagen */
}

.how-offer-text-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.7rem;
    font-weight: normal;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.2;
}

.how-offer-text-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px; /* Espacio entre párrafos */
    max-width: 550px;
}
.how-offer-text-content p:last-child {
    margin-bottom: 0;
}


/* -------------------------------------- */
/* Estilos del Formulario Contacto*/
/* -------------------------------------- */
.contact-form-container {
    width: 100%;
    max-width: 1200px;
    height: 940px;
    margin: 50px auto;
    /* Color de fondo eliminado para que se vea el fondo de la página */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.contact-form-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.contact-form-content {
    width: 50%;
    padding: 0 50px 0 20px;
}

.contact-form-image-box {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: flex-end; /* Alinea la imagen a la derecha */
    align-items: center;
    overflow: hidden; /* Oculta cualquier parte de la imagen que sobresalga */
}

.contact-form-image-box img {
    width: 100%;
    height: auto;
    object-fit: contain; /* Asegura que la imagen se muestre completa dentro del contenedor */
}

.contact-form-title {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    font-weight: 500;
    color: #333333;
    line-height: 1.1;
    margin: 0;
    margin-bottom: 20px;
}

.contact-form-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 50px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #333333;
    margin-bottom: 10px;
    font-weight: 500;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #4a4a4a;
    box-sizing: border-box;
    background-color: #f7f3ed;
    transition: border-color 0.3s;
}

.contact-form input::placeholder {
    color: #8c8c8c;
    font-style: italic;
}

.form-divider {
    height: 1px;
    background-color: #d3d3d3;
    margin: 40px 0;
}

.form-checkbox-group {
    margin-bottom: 30px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #4a4a4a;
    margin-bottom: 15px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #333333;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: #333333;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #f7f3ed;
}

.contact-form-button {
    display: inline-block;
    background-color: #33614a;
    border: 2px solid #33614a;
    color: #ffffff;
    padding: 15px 40px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
}

.contact-form-button:hover {
    background-color: #2a523e;
    border-color: #2a523e;
}

/* -------------------------------------- */
/* Estilos del footer completo */
/* -------------------------------------- */
.main-footer {
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

.footer-top-bg {
    background-color: #fff; /* El color de fondo de la parte superior */
    padding: 20px;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    height: 263px;
    box-sizing: border-box;
}

/* Contenedor principal del contenido izquierdo */
.footer-content-wrapper {
    display: flex;
    flex: 1; /* Ocupa el espacio disponible */
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 20px;
    box-sizing: border-box;
}

/* Contenedor del logo y los íconos de redes sociales */
.footer-logo-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 50px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 20px;
    margin: -50px auto 0;
}
.social-icons {
    margin: -50px auto 0;
}

.social-icons a img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    margin-left: 15px;
}

/* Contenedor de las columnas de enlaces */
.footer-links-container {
    display: flex;
    gap: 80px;
}

.footer-trans {
    color: #c2c1c1;
    line-height: 1.8;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
}

.footer-links ul li {
    margin-bottom: 5px;
}

.footer-links ul li a {
    text-decoration: none;
    color: #666;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #ed217c;
}

/* Contenedor de la información de contacto */
.footer-contact-info {
    width: 40%;
    background-color: #ed217c;
    color: #fff;
    padding: 20px 40px 20px 20px;
    border-radius: 20px 0 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.footer-contact-info h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-contact-info p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

/* Sección inferior del footer */
.footer-bottom-bg {
    width: 100%;
    background-color: #d1d1d1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    box-sizing: border-box;
    font-size: 14px;
    color: #555;
}

/* -------------------------------------- */
/* 1. Estilos Base del Modal (#success-modal) */
/* -------------------------------------- */

#success-modal {
    /* Posicionamiento y Capa de Fondo */
    position: fixed; /* Fijo en la pantalla */
    z-index: 1000; /* Asegura que esté por encima de todos los demás elementos */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro semi-transparente */
    
    /* Centrado del Contenido */
    display: flex; /* Se usa flexbox para centrar el 'modal-content-custom' */
    justify-content: center;
    align-items: center;
}

.modal-content-custom {
    /* Contenedor del Mensaje */
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
    position: relative;
    width: 90%; /* Ancho base para móviles */
    max-width: 550px; /* Ancho máximo para escritorio */
    text-align: center;
}

/* -------------------------------------- */
/* 2. Estilos de Diseño y Tipografía */
/* -------------------------------------- */

.close-button-custom {
    color: #aaa;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 25px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-button-custom:hover {
    color: #333;
}

.modal-title-custom {
    /* Estilo inclinado y grande */
    font-family: 'Times New Roman', serif; /* Ajusta si usas otra fuente elegante */
    font-style: italic; 
    font-size: 55px; 
    color: #333;
    line-height: 1.1;
    margin-bottom: 5px;
    transform: skewX(-5deg); /* La inclinación */
    display: block; 
    padding-top: 10px;
}

/* Estilo para el Check Mark (simulación con color temático) */
.modal-check-mark {
    width: 100px;
    height: 100px;
    margin: 20px auto;
    background-color: #F06292; /* Color de tu marca (rosa/fucsia) */
    border-radius: 50%;
    position: relative;
}

/* Si quieres agregar el símbolo de check (opcional) */
.modal-check-mark::after {
    content: '✓';
    font-size: 70px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}