/* -------------------------------------- */
/* 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;
    /* Asegura que la imagen sea clickeable sin bordes extra */
    display: block; 
}
/* Estilo para que el enlace del logo se comporte como un contenedor */
.header .logo a {
    display: block;
    cursor: pointer;
}


/* === 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;
    transition: color 0.2s; /* Transición suave para el hover */
}

/* Hover en enlaces principales (opcional, pero mejora la UX) */
.header nav ul li a:not(.btn-contacto):hover {
    color: #e91e63;
}

/* === 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;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    min-width: 250px; /* Incrementado para mejor lectura */
    padding: 10px 0;
    z-index: 1000;
}

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

.header nav ul li ul li a {
    padding: 8px 15px; /* Ajustado el padding */
    white-space: nowrap;
}

/* CAMBIO 2: Efecto hover en los enlaces de submenú */
.header nav ul li ul li a:hover {
    background-color: #fce4ec; /* Fondo muy claro para el hover */
    color: #e91e63; /* Texto rosa */
}

/* Segundo nivel de submenú (Integrantes) */
.header nav ul ul ul {
    position: absolute;
    top: 0;
    right: 100%;
    left: auto;
    min-width: 180px;
}

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

/* -------------------------------------- */
/* Estilos del banner */
/* -------------------------------------- */
#activaciones-banner {
    width: 100%;
    height: 90vh; 
    position: relative; 
    overflow: hidden;
    /* Eliminamos el margen superior fijo que puede afectar la fluidez */
    /* margin: 15px auto 0; */ 
}

.banner-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex; /* Usamos flexbox para posicionar las imágenes de fondo */
}

/* 2. Imágenes de Fondo del Banner (Izquierda y Derecha) */
.banner-background-left {
    width: 50%; /* Ocupa la mitad izquierda */
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1); /* Estado inicial sin oscurecimiento */
    transition: filter 0.5s ease;
}

.banner-background-right {
    width: 50%; /* Ocupa la mitad derecha */
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1); /* Estado inicial sin oscurecimiento */
    transition: filter 0.5s ease;
}

/* 3. Contenedor de Textos y Capas */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    text-align: center;
    z-index: 10;
    /* Eliminamos el margen superior fijo */
    /* margin: 30px auto 0; */
}

/* 4. Pseudoelemento para la Capa del Patrón y Oscurecimiento */
.banner-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* ESTADO INICIAL: Patrón de rombos sutil (si la imagen de tus pantallazos lo tiene) */
    background-image: url('/imagenes/pattern-rombos-sutil.png'); /* Asegúrate de tener esta imagen de patrón */
    background-size: cover;
    background-position: center; 
    background-color: transparent; 
    transition: background-color 0.5s ease;
    z-index: -1; 
}

/* NUEVO: Estilo del Bombillo */
.banner-lightbulb {
    position: absolute;
    /* ESTADO INICIAL: Grande y Centrado */
    width: 25vw; /* Tamaño inicial, ajusta según necesidad */
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrado perfecto */
    z-index: 15; /* Encima de las imágenes de texto */
    transition: all 0.5s ease; /* Transición suave para tamaño y posición */
}

/* 5. Posicionamiento de las Imágenes de Texto "PERSONALIZADOS" */
.banner-text-initial,
.banner-text-hover {
    position: absolute; 
    max-width: 68vw; /* Tamaño de la frase, ajusta si es muy grande/pequeña */
    height: auto;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    transition: opacity 0.5s ease; 
}

/* Visibilidad de los estados de la frase */
.banner-text-initial {
    opacity: 1; /* Gris visible por defecto */
}
.banner-text-hover {
    opacity: 0; /* Naranja oculto por defecto */
}

/* 6. Estilo del Subtexto: "Servicios" (Solo Visible al pasar el mouse) */
.sub-text {
    font-size: 2em; 
    color: #ffffff; 
    position: absolute;
    top: 35%; /* Un poco más arriba que la frase principal */
    left: 19.5%; 
    transform: translate(-50%, -50%); 
    z-index: 20; 
    opacity: 0; /* Oculto por defecto */
    transition: opacity 0.5s ease;
    /* margin: -30px auto 0; */
    
}

/* Contenedor de la Animación */
.animation-dots {
    position: absolute;
    top: 75%; /* Debajo de la frase y el bombillo final */
    left: 50%; 
    transform: translate(-50%, -50%); 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; 
    z-index: 20;
    opacity: 0; 
    transition: opacity 0.5s ease;
    /* margin: 60px auto 0; */
}

.dot {
    width: 15px;
    height: 15px;
    background-color: #ffffff; 
    border-radius: 50%;
    opacity: 0.5; 
    transition: all 0.5s ease;
}

/* --- EFECTOS AL PASAR EL MOUSE (HOVER) --- */

#activaciones-banner:hover .banner-background-left,
#activaciones-banner:hover .banner-background-right {
    filter: brightness(0.7); /* Oscurecimiento sutil de ambas imágenes de fondo */
}

#activaciones-banner:hover .banner-overlay::before {
    background-color: rgba(50, 50, 50, 0.75); /* Capa gris oscura opaca */
    background-image: none; /* Elimina el patrón en el estado final */
}

#activaciones-banner:hover .banner-text-initial {
    opacity: 0; 
}

#activaciones-banner:hover .banner-text-hover {
    opacity: 1; 
}

#activaciones-banner:hover .sub-text {
    opacity: 1; /* Muestra "Servicios" al pasar el mouse */
}

#activaciones-banner:hover .banner-lightbulb {
    /* ESTADO FINAL: Pequeño y Arriba */
    width: 10vw; /* Tamaño final, ajusta */
    top: 25%; /* Posición final más arriba */
    left: 50%;
    transform: translate(-50%, -50%);
}

#activaciones-banner:hover .animation-dots {
    opacity: 1; /* Muestra los puntos al pasar el mouse */
}

/* DEFINICIÓN DE LA ANIMACIÓN */
@keyframes dot-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    33.3% { transform: scale(1.4); opacity: 1; }
    66.6% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1); opacity: 0.5; }
}

/* APLICACIÓN DE LA ANIMACIÓN CON RETRASO */
.dot-1 { animation: dot-pulse 3s infinite ease-in-out; animation-delay: 0s; }
.dot-2 { animation: dot-pulse 3s infinite ease-in-out; animation-delay: 1s; }
.dot-3 { animation: dot-pulse 3s infinite ease-in-out; animation-delay: 2s; }


/* -------------------------------------- */
/* Medias Queries para Desktop Fluidity (antes de móvil) */
/* -------------------------------------- */

@media screen and (max-width: 1200px) and (min-width: 769px) {
    #activaciones-banner {
        height: 75vh; /* Ajuste de altura para pantallas medianas */
    }

    /* Ajusta el tamaño del bombillo para que escale mejor */
    .banner-lightbulb {
        width: 20vw; /* Más pequeño en pantallas medianas */
    }

    #activaciones-banner:hover .banner-lightbulb {
        width: 8vw; /* Tamaño final del bombillo más pequeño */
    }

    .banner-text-initial,
    .banner-text-hover {
        max-width: 60vw; 
    }

    .sub-text {
        font-size: 1.8em;
    }
}

@media screen and (max-width: 1000px) and (min-width: 769px) {
    #activaciones-banner {
        height: 70vh; /* Ajuste de altura para pantallas más pequeñas */
    }

    .banner-lightbulb {
        width: 18vw; 
    }

    #activaciones-banner:hover .banner-lightbulb {
        width: 7vw; 
    }

    .banner-text-initial,
    .banner-text-hover {
        max-width: 70vw;
    }

    .sub-text {
        font-size: 1.6em;
    }
}

/* -------------------------------------- */
/* Estilos de servicio descripcion */
/* -------------------------------------- */
.service-description-animated-section {
    width: 100%;
    max-width: 1100px;
    margin: 50px auto 0;
    padding: 45px 0;
    box-sizing: border-box;
    background-color: #FBDFBF; /* Color de fondo */
    position: relative; /* Para los elementos decorativos */
    overflow: hidden; /* Para que los elementos decorativos no se desborden */
    border-radius: 15px; /* Bordes redondeados */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Elementos decorativos de fondo (con pseudo-elementos) */
.service-description-animated-section::before,
.service-description-animated-section::after {
    content: '';
    position: absolute;
    background-color: #FFD464; /* Blanco semitransparente */
    border-radius: 50%; /* Para hacer círculos */
    z-index: 0;
}

.service-description-animated-section::before {
    width: 120px;
    height: 120px;
    top: 50px;
    left: -30px; /* Sale un poco de la izquierda */
    transform: rotate(45deg); /* Para darle una forma más orgánica */
}

.service-description-animated-section::after {
    width: 80px;
    height: 80px;
    top: 300px;
    left: 100px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; /* Forma más orgánica */
}


/* Contenedor principal de chef y texto */
.service-description-animated-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1; /* Asegura que el contenido esté por encima de los decorativos */
    padding: 0 40px; /* Espaciado interno para el contenido */
    box-sizing: border-box;
}

/* Imagen del Chef (Escritorio) */
.animated-chef-image {
    flex: 0 0 35%; /* Ocupa 35% del ancho, no se encoge */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Necesario para su posicionamiento si queremos moverlo */
}

.animated-chef-image img {
    max-width: 100%;
    height: auto;
    transform: scale(1.1); /* Chef un poco más grande para que salga como en la ref */
    position: relative;
    left: -20px; /* Mover ligeramente a la izquierda para que salga del borde */
}

/* Contenido de Texto (Escritorio) */
.animated-text-content {
    flex: 1; /* Ocupa el resto del espacio */
    padding: 20px;
    text-align: center; /* Centra el texto */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra verticalmente */
    align-items: center; /* Centra horizontalmente */
}

.animated-text-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight:100;
    color: #444;
    margin-bottom: 20px;
}

.animated-text-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    max-width: 500px; /* Limita el ancho del párrafo para que no se extienda demasiado */
}

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

/* Header */
.beneficios-header h2 {
    font-size: 35px;
    font-weight: normal;
    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;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
    font-size: 55px;
    font-weight: 200;
}

/* 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: #FFBC0A; /* amarillo referencia */
    color: #111;
    transform: translateY(-5px);
}


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

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

/* -------------------------------------- */
/* Estilos de como se ofrece */
/* -------------------------------------- */
.how-offer-section {
    width: 100%;
    max-width: 1100px;
    margin: 50px auto 0;
    padding: 60px 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: 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;
}
/* Ajuste para pantallas intermedias antes de móvil */
@media screen and (max-width: 992px) {
    .how-offer-container {
        padding: 0 20px;
        gap: 30px;
    }

    .how-offer-image-wrapper img {
        max-width: 300px;
    }

    .how-offer-text-content {
        margin-left: 10px;
    }

    .how-offer-text-content h2 {
        font-size: 2.2rem;
    }

    .how-offer-text-content p {
        font-size: 1rem;
    }
}


/* -------------------------------------- */
/* 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%;
}

.pink-title {
    color: #e91e63;
}

.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;
    margin: 50px auto 0;
}

/* 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;
    display: flex;
}

.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%);
}