/* -------------------------------------- */
/* 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-section {
    width: 100%;
    max-width: 1400px;
    margin: 60px auto 0;
    position: relative;
    overflow: hidden;
}

.banner-estudios {
    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: 73px 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 */
}

.service-banner-bottom {
    background-color: #EC0868;
    width: 100%;
    margin: 1px auto 0;
    padding: 80px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.service-banner-bottom-content {
    width: 100%;
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.service-banner-text {
    flex: 1;
    color: #ffffff;
    text-align: left;
    max-width: 600px;
}

.service-banner-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.service-banner-text p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.service-banner-image-chef {
    flex-shrink: 0;
    width: 300px;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    /* Cursor por defecto en escritorio */
    cursor: default;
}

.chef-image-bottom {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* -------------------------------------- */
/* Estilos de Beneficios */
/* -------------------------------------- */
:root {
    --color-gris-fondo: #F5F5F5;
    --color-gris-card: #D2CDCA;
    --color-verde-destacado: #EC0868;
    --color-texto-oscuro: #071a1a;
    --color-texto-claro: #FFFCFA;
}

.benefits-section {
    width: 90%;
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
    background-color: transparent;
}

/* Título de Fondo */
.benefits-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 12rem;
    font-weight: 200;
    color: transparent;
    -webkit-text-stroke: 2px #cccccc;
    text-transform: uppercase;
    letter-spacing: 5px;
    line-height: 1;
    text-align: center;
}

/* Contenedor de las tarjetas */
.benefits-grid {
    display: flex;
    margin: -100px auto 0; 
    justify-content: center;
    gap: 15px;
}

/* -------------------------------------- */
/* Estilos para cada tarjeta de beneficio (ESCRITORIO) */
/* -------------------------------------- */
.benefit-card {
    flex: 1;
    min-width: 180px;
    min-height: 500px;
    background-color: var(--color-gris-card); 
    border-radius: 5px;
    padding: 30px; /* Padding ajustado */
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative; /* Contenedor para el posicionamiento absoluto */
    overflow: hidden; 
    cursor: default;
}

/* Contenido inferior (número y título) */
.benefit-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; /* Alinea al final de la tarjeta */
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
}

/* Número Grande */
.benefit-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 10rem;
    font-weight: bold;
    color: #FFFCFA;
    line-height: 1;
    transition: color 0.3s ease;
    z-index: 3;
    margin: 0;
    /* Centrado por el contenedor flex */
}

/* Título Pequeño */
.benefit-small-title {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--color-texto-claro);
    text-transform: uppercase;
    text-align: center;
    z-index: 4;
    margin-top: 10px; /* Separación del número */
}

/* Contenido de HOVER (Descripción) */
.benefit-text-hover {
    /* POSICIONAMIENTO EN LA PARTE SUPERIOR */
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Alinea el texto en la parte superior */
    align-items: flex-start; /* Alinea el texto a la izquierda */
    text-align: left;
    padding: 30px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    z-index: 5;
    background-color: transparent; /* Inicialmente transparente */
}

.benefit-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-texto-oscuro);
    margin: 0;
    font-weight: 500;
}


/* -------------------------------------- */
/* ESTADO DESTACADO (is-featured) y HOVER */
/* -------------------------------------- */

.benefit-card.is-featured,
.benefit-card:hover {
    background-color: var(--color-verde-destacado);
    transform: translateY(-10px);
}

.benefit-card.is-featured .benefit-text-hover,
.benefit-card:hover .benefit-text-hover {
    opacity: 1;
    visibility: visible;
}

/* Estilos de texto y número al activar */
.benefit-card.is-featured .benefit-number,
.benefit-card:hover .benefit-number {
    color: var(--color-texto-oscuro);  
}
.benefit-card.is-featured .benefit-small-title,
.benefit-card:hover .benefit-small-title {
    color: var(--color-texto-oscuro);  
}
.benefit-card.is-featured .benefit-description,
.benefit-card:hover .benefit-description {
    color: var(--color-texto-oscuro); 
}

/* -------------------------------------- */
/* Estilos de Cómo se ofrece */
/* -------------------------------------- */
.ofrece {
    max-width: 1200px;
    margin: 0 auto;
    height: 500px;
    display: flex;
    align-items: center;
    padding: 20px;
}

.ofrece-contenido {
    display: flex;
    margin: -50px auto 0;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 40px;
}

.ofrece-imagen img {
    width: 500px;
    height: auto;
    border: 5px solid #F682B1;
    border-radius: 12px;
    object-fit: cover;
}

.ofrece-texto {
    max-width: 550px;
}

.ofrece-frase {
    font-family: cursive;
    font-size: 20px;
    font-style: italic;
    color: #b5b1af;
    margin-bottom: 10px;
}

.ofrece-titulo {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 28px;
    font-weight: normal;
    color: #1C1C1C;
    margin-bottom: 15px;
}

.ofrece-parrafo {
    font-family: "Lato", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #5A5A5A;
}


/* -------------------------------------- */
/* Estilos del Formulario */
/* -------------------------------------- */
.contact-form-container {
    width: 100%;
    max-width: 1200px;
    height: 940px;
    margin: 5px auto 0;
    /* 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%);
}