/* ==========================================================================
   Sección Preguntas Frecuentes (FAQ)
   ========================================================================== */

.faq-section {
    padding-top: 6rem; /* py-24 */
    padding-bottom: 6rem;
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem;
    background-color: #f3f4f6; /* bg-gray-100 */
    border-top: 1px solid #f3f4f6; /* border-t border-gray-100 */
}

.faq-container {
    max-width: 56rem; /* max-w-4xl */
    margin-left: auto;
    margin-right: auto;
}

/* Encabezado */
.faq-header {
    text-align: center;
    margin-bottom: 4rem; /* mb-16 */
}

.faq-subtitle {
    color: #0044a5;
    font-size: 0.75rem; /* text-xs */
    text-transform: uppercase;
    letter-spacing: 0.1em; /* tracking-widest */
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.faq-title {
    font-size: 1.875rem; /* text-3xl */
    color: #111827;
    margin: 0;
}

@media (min-width: 768px) {
    .faq-title {
        font-size: 2.25rem; /* md:text-4xl */
    }
}

.faq-divider {
    width: 3rem; /* w-12 */
    height: 1px;
    background-color: #0044a5;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
}

/* Lista de Acordeón (Equivalente a space-y-4) */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Elemento individual (details) */
.faq-item {
    background-color: #fafafa;
    border: 1px solid #e5e7eb; /* border-gray-200 */
    border-radius: 0.75rem; /* rounded-xl */
    padding: 1.5rem; /* p-6 */
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* hover:shadow-md */
}

/* Título de la pregunta (summary) */
.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 500;
    color: #1a1a1a;
    list-style: none; /* Oculta el marcador nativo en navegadores modernos */
}

/* Ocultar el marcador nativo en Safari/Chrome antiguos */
.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    font-size: 1.125rem; /* text-lg */
    font-family: Georgia, Cambria, "Times New Roman", Times, serif; /* font-serif */
    margin: 0;
    font-weight: normal;
}

/* Icono (Flecha) */
.faq-icon-wrapper {
    color: #0044a5;
    transition: transform 0.3s ease; /* transition group-open:rotate-180 */
}

.faq-icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* ¡La Magia del CSS! Rota el icono cuando el details está abierto */
.faq-item[open] .faq-icon-wrapper {
    transform: rotate(180deg);
}

/* Respuesta (Párrafo oculto) */
.faq-answer {
    margin-top: 1rem; /* mt-4 */
    color: #6b7280; /* text-gray-500 */
    font-weight: 300; /* font-light */
    line-height: 1.625; /* leading-relaxed */
    font-size: 0.875rem; /* text-sm */
    margin-bottom: 0;
}
/* ==========================================================================
   Sección Contacto y Ubicación
   ========================================================================== */

.contact-section {
    padding-top: 6rem; /* py-24 */
    padding-bottom: 6rem;
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem;
    max-width: 72rem; /* max-w-6xl */
    margin-left: auto;
    margin-right: auto;
}

/* Cuadrícula principal */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem; /* gap-16 */
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr); /* md:grid-cols-2 */
    }
}

/* Textos de encabezado */
.contact-subtitle {
    color: #0044a5;
    font-size: 0.75rem; /* text-xs */
    text-transform: uppercase;
    letter-spacing: 0.1em; /* tracking-widest */
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem; /* mb-2 */
}

.contact-title {
    font-size: 1.875rem; /* text-3xl */
    margin-top: 0;
    margin-bottom: 1.5rem; /* mb-6 */
    color: #111827;
}

@media (min-width: 768px) {
    .contact-title {
        font-size: 2.25rem; /* md:text-4xl */
    }
}

.contact-divider {
    width: 3rem; /* w-12 */
    height: 1px;
    background-color: #0044a5;
    margin-bottom: 2rem; /* mb-8 */
}

/* Información de Contacto (Etiqueta Address) */
.contact-address {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* space-y-6 */
    font-size: 0.875rem; /* text-sm */
    font-weight: 300; /* font-light */
    color: #4b5563; /* text-gray-600 */
    font-style: normal; /* not-italic */
}

.contact-label {
    font-weight: 500;
    color: #1a1a1a; /* text-[#1A1A1A] */
    margin-top: 0;
    margin-bottom: 0.25rem; /* mb-1 */
    font-size: 1rem;
}

.contact-text {
    margin: 0;
    line-height: 1.5;
}

/* Enlaces (Teléfono y Correo) */
.contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #0044a5;
}

/* Contenedor del Mapa */
.contact-map-wrapper {
    background-color: #f3f4f6; /* bg-gray-100 */
    position: relative;
    overflow: hidden;
    min-height: 350px;
    height: 20rem; /* h-80 para móviles */
    border: 1px solid #e5e7eb; /* border-gray-200 */
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05); /* shadow-inner */
}

@media (min-width: 768px) {
    .contact-map-wrapper {
        height: 100%; /* md:h-auto - Se estira para igualar la altura de la columna de texto */
    }
}

/* Iframe del Mapa */
.contact-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    position: absolute;
    top: 0;
    left: 0;
}
/* ==========================================================================
   Pie de Página (Footer)
   ========================================================================== */

.site-footer {
    background-color: #1a1a1a;
    color: #6b7280; /* Equivalente a text-gray-500 */
    font-size: 0.75rem; /* text-xs (12px) */
    padding-top: 2rem; /* py-8 */
    padding-bottom: 2rem;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* border-white/5 */
}

/* Reseteo del margen del párrafo interno para evitar espacios indeseados */
.site-footer p {
    margin: 0;
    padding-left: 1.5rem; /* Opcional: un pequeño margen lateral para que no pegue al borde */
    padding-right: 1.5rem;
}