:root {
    --ceamo-orange: #F07424;
    --ceamo-orange-light: #ff8a43;
    --ceamo-dark: #1a252f;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --accent-blue: #007AFF; /* Inspiración Apple */
    --card-shadow: 0 10px 30px rgba(0,0,0,0.05);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    background-color: #f5f7fa;
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--ceamo-dark);
    margin: 0;
    line-height: 1.6;
}

/* --- CONTENEDOR MAESTRO --- */
.main-container {
    max-width: 1250px;
    margin: 60px auto;
    padding: 0 30px;
}

/* --- HEADER DINÁMICO --- */
.hero-section {
    position: relative;
    /* Fondo blanco puro con un toque de gris muy suave al final */
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%); 
    border-radius: 24px;
    padding: 60px;
    color: #1a252f; /* Cambiamos el texto a oscuro para que se lea */
    margin-bottom: 40px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Sombra más suave y profesional */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    border: 1px solid #e2e8f0;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--ceamo-orange);
    filter: blur(120px);
    opacity: 0.3;
    border-radius: 50%;
}

.hero-content { position: relative; z-index: 2; }
.hero-content span { 
    text-transform: uppercase; 
    letter-spacing: 3px; 
    font-weight: 700; 
    color: var(--ceamo-orange);
    font-size: 0.85rem;
}
.hero-content h1 { font-size: 3rem; margin: 10px 0; font-weight: 800; letter-spacing: -1px; }

.hero-visuals { display: flex; gap: 25px; align-items: center; z-index: 2; }
.hero-visuals img { height: 90px; filter: drop-shadow(0 0 10px rgba(255,255,255,0.2)); }

/* --- BARRA DE BÚSQUEDA (Nueva Funcionalidad) --- */
.search-wrapper {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}
.search-bar {
    width: 100%;
    max-width: 600px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid #ddd;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}
.search-bar:focus-within {
    border-color: var(--ceamo-orange);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(240, 116, 36, 0.15);
}
.search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    color: var(--ceamo-dark);
}

/* --- SISTEMA DE SLIDER DE ARCHIVOS --- */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}
.section-title h2 { font-size: 1.5rem; color: #333; }

.slider-container {
    position: relative;
    padding: 10px 0;
    margin-bottom: 50px;
}

.file-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 5px;
    scrollbar-width: none; /* Firefox */
}
.file-slider::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.file-card {
    min-width: 280px;
    max-width: 280px;
    background: white;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #eee;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.file-card::after {
    content: "PDF";
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 0.7rem;
    font-weight: 900;
    color: #eee;
}

.file-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--ceamo-orange);
}

.file-icon {
    width: 50px;
    height: 50px;
    background: #fff5ee;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--ceamo-orange);
}

.file-card h4 {
    color: var(--ceamo-dark);
    font-size: 1rem;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-view {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ceamo-orange);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- BENTO BOX PARA INFORMACIÓN --- */
.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    margin-bottom: 60px;
}

.info-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    border: 1px solid #eee;
}

.responsible-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #fdf2e9;
    color: #e67e22;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 15px;
}

/* --- PNT EXCEL SECTION (Glassmorphism) --- */
.pnt-section {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 50px;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.iframe-wrapper {
    width: 100%;
    height: 600px;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    margin: 30px 0;
}

.download-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--ceamo-dark);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
}

.download-pill:hover {
    background: var(--ceamo-orange);
    transform: scale(1.05);
}

/* Botones Navegación Slider */
.slider-nav {
    display: flex;
    gap: 10px;
}
.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.nav-btn:hover { background: var(--ceamo-orange); color: white; border-color: varceamo-orange); }

@media (max-width: 900px) {
    .info-grid { grid-template-columns: 1fr; }
    .hero-section { flex-direction: column; text-align: center; padding: 40px 20px; }
    .hero-visuals { margin-top: 30px; }
    .hero-content h1 { font-size: 2rem; }
}
/* Contenedor del contenido que se oculta */
.acordeon-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease;
    opacity: 0;
    background: rgba(255, 255, 255, 0.5); /* Efecto Glassmorphism ligero */
    border-radius: 0 0 15px 15px;
}

/* Cuando el acordeón está abierto */
.acordeon-content.open {
    max-height: 1000px; /* Suficiente para el slider */
    opacity: 1;
    margin-bottom: 20px;
}

/* Estilo del "Botón" (Título de la sección) */
.section-title-btn {
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.section-title-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* Icono de la flecha */
.icon-arrow {
    transition: transform 0.3s ease;
    font-weight: bold;
    color: #0071e3; /* Azul estilo Apple */
}
