/* ==========================================================================
   ESTILOS INSTITUCIONALES - ACCIÓN HONDURAS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    /* Paleta Institucional */
    --ah-blue: #34859B;
    --ah-green: #46B094;
    --ah-dark: #1e293b;
    --ah-light: #f8fafc;
    --ah-text: #475569;
    
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--ah-text);
    line-height: 1.6;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

/* --- UTILIDADES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ah-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.ah-btn-primary {
    background: var(--ah-blue);
    color: white;
}

.ah-btn-primary:hover {
    background: var(--ah-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(70, 176, 148, 0.3);
}

/* --- NAVEGACIÓN (HEADER) --- */
.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    max-height: 50px;
}

.main-nav a {
    text-decoration: none;
    color: var(--ah-dark);
    font-weight: 600;
    margin-left: 30px;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--ah-green);
}

/* --- BLOQUE: HERO BANNER --- */
.ah-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.ah-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Gradiente con los colores institucionales usando transparencia */
    background: linear-gradient(135deg, rgba(52, 133, 155, 0.85) 0%, rgba(70, 176, 148, 0.85) 100%);
    z-index: 1;
}

.ah-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.ah-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ah-hero-content p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* --- BLOQUE: COLUMNAS DE TEXTO --- */
.ah-text-section {
    padding: 80px 20px;
}

.ah-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.ah-column h2, .ah-column h3 {
    color: var(--ah-dark);
    margin-bottom: 15px;
}

.ah-column p {
    margin-bottom: 15px;
    text-align: justify;
}

/* --- BLOQUE: LECTOR PDF --- */
.ah-pdf-section {
    padding: 60px 20px;
    background-color: var(--ah-light);
    border-radius: 12px;
    margin-bottom: 80px;
}

.ah-pdf-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flipbook-container {
    width: 100%;
    max-width: 800px;
    height: 500px;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
}

.pdf-placeholder {
    text-align: center;
    color: #94a3b8;
}

.pdf-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--ah-blue);
}

/* --- RESPONSIVE (MÓVILES) --- */
@media (max-width: 768px) {
    .ah-hero-content h1 { font-size: 2.2rem; }
    .ah-hero { height: 50vh; }
    .ah-grid-2 { grid-template-columns: 1fr; gap: 30px; }
    .main-nav { display: none; /* Aquí luego podemos agregar un menú hamburguesa */ }
    .flipbook-container { height: 300px; }
}