/* Source: page/resena.php */
/* HERO */
        .hero-section {
            background: linear-gradient(135deg, #00a75d, #28a745, #007bff);
            color: #fff;
            padding: 70px 0 45px;
            text-align: center;
        }
        .hero-section h1 {
            font-size: 3.2rem;
            font-weight: 500;
        }
        .hero-section p {
            font-size: 1.3rem;
            opacity: .95;
        }

        /*  HISTORIA PRINCIPAL */
        .section-premium {
            padding: 60px 0;
            background: #fff;
            position: relative;
        }
        .section-premium:nth-of-type(even) {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        }
        .section-premium::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(0,167,93,0.3), transparent);
        }

        /* TÍTULOS Y SUBTÍTULOS */
       .title-section {
            font-size: 2.8rem;
            font-weight: 600;
            text-align: center;
            margin-bottom: 20px;
            color: #0A4F6D; /* azul sólido */
            background: none;
            -webkit-background-clip: unset;
            -webkit-text-fill-color: unset;
        }

        .subtitle-section {
            font-size: 1.2rem;
            color: #6c757d;
            margin-bottom: 70px;
            text-align: center;
            font-weight: 400;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.6;
        }

        /* CONTENEDOR HISTORIA CON IMAGEN LATERAL */
        .history-container {
            display: flex;
            align-items: flex-start;
            gap: 3rem;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .history-image-side {
            flex: 0 0 160px;
            animation: fadeInUp 1s ease 0.3s both;
        }
        .history-image-side img {
            width: 160px;
            height: 160px;
            border-radius: 25px;
            object-fit: cover;
            border: 5px solid rgba(255,255,255,0.9);
            box-shadow: 
                0 25px 60px rgba(0,167,93,0.3),
                inset 0 3px 15px rgba(255,255,255,0.95);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        .history-image-side:hover img {
            transform: scale(1.05) translateY(-8px);
            box-shadow: 
                0 35px 80px rgba(0,167,93,0.4),
                inset 0 3px 20px rgba(255,255,255,1);
        }

        /* CARD HISTORIA PRINCIPAL */
        .history-hero {
            background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.9) 100%);
            backdrop-filter: blur(20px);
            border-radius: 25px;
            padding: 50px;
            box-shadow: 0 25px 80px rgba(0,0,0,0.15);
            border: 1px solid rgba(0,167,93,0.15);
            position: relative;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            flex: 1;
            animation: fadeInUp 1s ease 0.4s both;
        }
        .history-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(90deg, #00a75d, #007bff, #28a745);
        }
        .history-hero:hover {
            transform: translateY(-8px);
            box-shadow: 0 35px 100px rgba(0,0,0,0.2);
        }
        .history-badge {
            display: inline-block;
            background: linear-gradient(135deg, #00a75d, #28a745);
            color: #fff;
            padding: 12px 28px;
            border-radius: 50px;
            font-size: 0.95rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 25px;
            box-shadow: 0 8px 25px rgba(0,167,93,0.3);
        }
        .history-hero h3 {
            font-size: 2.2rem;
            color: #123057;
            font-weight: 650;
            margin-bottom: 25px;
            line-height: 1.3;
        }
        .history-hero p {
            font-size: 1.15rem;
            color: #555;
            line-height: 1.85;
            margin-bottom: 20px;
        }
        .history-strong {
            color: #007bff;
            font-weight: 700;
        }
        @media (max-width: 576px){
        .history-hero{
            padding: 35px 25px;
        }

        .history-hero h3{
            font-size: 1.7rem;
        }

        .history-hero p{
            font-size: 1.05rem;
            line-height: 1.7;
        }
        }


        /* TIMELINE DE HITOS IMPORTANTES  */
        .timeline-premium {
            background: linear-gradient(135deg, #ffffff 0%, #f4f7fb 50%, #ecf3ff 100%);
            padding: 100px 20px; /* más responsivo */
            position: relative;
            box-shadow: inset 0 4px 40px rgba(0,0,0,0.06);
            overflow: visible; /* elimina scroll forzado */
        }
        .timeline-premium::before,
        .timeline-premium::after {
            content: '';
            position: absolute;
            border-radius: 50%;
            filter: blur(50px);
            opacity: 0.35;
        }
        .timeline-premium::before {
            width: 300px;
            height: 300px;
            background: linear-gradient(135deg, #e0f7ef, #c8e6c9);
            top: -100px;
            left: -100px;
        }
        .timeline-premium::after {
            width: 400px;
            height: 400px;
            background: linear-gradient(135deg, #bbdefb, #e3f2fd);
            bottom: -150px;
            right: -120px;
        }
        .timeline-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* responsive */
            gap: 2.5rem;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0;
        }
        .timeline-item {
            background: #fff;
            border-radius: 25px;
            padding: 35px 30px;
            box-shadow: 0 20px 60px rgba(0,167,93,0.08);
            border: 1px solid rgba(0,167,93,0.1);
            transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
        }

        .timeline-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 35px 80px rgba(0,167,93,0.15);
            border-color: rgba(0,167,93,0.25);
        }

        .timeline-date {
            display: inline-block;
            background: linear-gradient(135deg, #00a75d, #28a745);
            color: #fff;
            padding: 8px 20px;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 700;
            margin-bottom: 15px;
            text-transform: uppercase;
            box-shadow: 0 5px 15px rgba(0,167,93,0.3);
        }

        .timeline-item h3 {
            font-size: 1.6rem;
            color: #123057;
            font-weight: 650;
            margin-bottom: 15px;
        }

        .timeline-item p {
            font-size: 1rem;
            color: #555;
            line-height: 1.7;
        }

        @media (max-width: 992px){
            .timeline-grid {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            }
        }
        @media (max-width: 576px){
            .timeline-grid {
                grid-template-columns: 1fr;
            }
        }

        /* FINAL HERO */
        .final-hero {
            background: linear-gradient(135deg, #0fa36b 0%, #1fbf75 100%);
            color: #fff;
            text-align: center;
            padding: 45px 30px;
            border-radius: 24px;
            max-width: 1400px;
            margin: 20px auto;
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
            position: relative;
            overflow: hidden;
        }
        .final-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: 
                radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(255,255,255,0.1) 0%, transparent 50%);
            animation: floatHero 15s ease-in-out infinite reverse;
        }
        .final-hero-content {
            position: relative;
            z-index: 2;
        }
        .final-hero i {
            font-size: 3.2rem;
            margin-bottom: 20px;
            opacity: 0.7;
            animation: none; /* fuera el pulse */
        }
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }
        .final-hero p {
            font-size: 1.2rem;
            font-weight: 400;
            line-height: 1.6;
            max-width: 720px;
            margin: 0 auto;
        }
        /* RESPONSIVE DESIGN */
        @media (max-width: 992px) {
            .history-container {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 2rem;
            }
            .history-image-side {
                flex: none;
            }
            .hero-section h1 { 
                font-size: 3rem; 
            }
            .timeline-grid { 
                flex-direction: column; 
                gap: 2rem; 
            }
            .timeline-central-line { 
                display: none; 
            }
            .gerentes-timeline { 
                flex-direction: column; 
                align-items: center;
                gap: 3rem;
            }
            .gerente-card { 
                max-width: none;
                min-width: 0;
                width: 100%;
            }
        }

        @media (max-width: 768px) {
            .hero-section { 
                padding: 65px 0 35px; 
            }
            .hero-section h1 { 
                font-size: 2.6rem; 
            }
            .section-premium, 
            .gerentes-section { 
                padding: 80px 0; 
            }
            .gerente-avatar { 
                width: 120px; 
                height: 120px; 
            }
            .gerente-card { 
                padding: 35px 25px; 
            }
            .history-image-side img { 
                width: 140px; 
                height: 140px; 
            }
        }

        @media (max-width: 576px) {
            .hero-section { 
                padding: 45px 0 25px; 
            }
            .title-section { 
                font-size: 1.9rem; 
            }
            .gerente-avatar { 
                width: 100px; 
                height: 100px; 
            }
            .history-image-side img { 
                width: 120px; 
                height: 120px; 
            }
        }
