/* -------------------------------------- */
/* 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 formato PQRS */
/* -------------------------------------- */
.pqrs-section {
    width: 100%;
    max-width: 1200px;
    margin: 115px auto 0;
    background-color: #F8F7F5;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.pqrs-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    /* AJUSTE CLAVE: Aumentar el padding horizontal del contenedor principal */
    padding: 50px 70px; /* Se aumenta el padding en los lados para el espacio visible */
}

/* Estilos del lado izquierdo (Información de Título) */
.pqrs-content-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* AJUSTE CLAVE: Reducir el padding para que no se separe demasiado */
    padding-right: 15px;
}

.pqrs-title {
    font-family: "Montserrat", sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.pqrs-subtitle {
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    color: #5A5A5A;
    line-height: 1.6;
}

/* Estilos del lado derecho (Formulario) */
.pqrs-form-right {
    flex: 1;
    /* AJUSTE CLAVE: Reducir el padding para que no se separe demasiado */
    padding-left: 20px;
}

.pqrs-form .form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.pqrs-form .form-group-half {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pqrs-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.pqrs-form label {
    font-family: "Lato", sans-serif;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.pqrs-form input,
.pqrs-form select,
.pqrs-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.pqrs-form input:focus,
.pqrs-form select:focus,
.pqrs-form textarea:focus {
    outline: none;
    border-color: #EC0868;
}

.pqrs-form select {
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23333" class="bi bi-caret-down-fill" viewBox="0 0 16 16"><path d="M7.247 11.147 2.451 5.612A.5.5 0 0 1 2.859 5h10.282a.5.5 0 0 1 .408.612l-4.796 5.535a.5.5 0 0 1-.817 0z"/></svg>') no-repeat right 15px center;
    background-size: 16px;
    padding-right: 35px;
}

.pqrs-form input::placeholder,
.pqrs-form textarea::placeholder {
    color: #aaa;
    font-style: italic;
}

.pqrs-form textarea {
    resize: vertical;
}

.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.form-group-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-group-checkbox label {
    margin: 0;
}

.submit-btn {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #EC0868;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto;
}

.submit-btn:hover {
    background-color: #d1075c;
}


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