/* -------------------------------------- */
/* 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 FAQS */
/* -------------------------------------- */
.faq-section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 3.5rem;
    font-weight: normal;
    font-weight: 600;
    color: #1C1C1C;
    margin-bottom: 10px;
}

.faq-subtitle {
    font-family: "Lato", sans-serif;
    font-size: 1.2rem;
    color: #5A5A5A;
    margin-bottom: 40px;
}

.faq-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.faq-category-btn {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #111;
    background-color: #F9AECB;
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-category-btn.active {
    background-color: #ec4f90;
    color: #fff;
}

/* Contenedor de los grupos de preguntas */
.faq-content-wrapper {
    position: relative;
}

.faq-group {
    display: none; /* Ocultamos los grupos por defecto */
    animation: fadeIn 0.5s ease-out;
}

.faq-group.active {
    display: block; /* Mostramos el grupo activo */
}

/* Estilo de cada bloque de pregunta/respuesta */
.faq-item {
    background-color: #FDE8EE; /* Color de fondo rosa claro */
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 15px;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-item.active {
    background-color: #F9AECB;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question {
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #444;
    margin: 0;
}

.faq-toggle-icon {
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23EC0868"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.faq-item.active .faq-body {
    max-height: 500px; /* Suficiente para mostrar el contenido */
    padding-top: 15px;
}

.faq-answer {
    font-family: "Lato", sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

/* Animación de entrada para los grupos */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


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