/* ===================================
   SOBRE ROMULACIONES - VISUAL Y DINÁMICO
   =================================== */

/* Hero Interno con Estadísticas */
.hero-interno {
    position: relative;
    background-image: url('/images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 8rem 2rem 6rem;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-interno::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(30, 64, 175, 0.85) 0%,
        rgba(30, 64, 175, 0.70) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    color: white;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 3rem;
    line-height: 1.4;
}

/* Estadísticas del Hero */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sección Historia */
.story-section {
    padding: 6rem 2rem;
    background: linear-gradient(
        to bottom,
        rgba(30, 64, 175, 0.02) 0%,
        rgba(255, 255, 255, 1) 100%
    );
}

.story-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.story-intro {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.story-text strong {
    color: var(--primary);
    font-weight: 700;
}

.story-text em {
    color: var(--text-dark);
    font-style: italic;
}

.story-visual {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-radius: 20px;
    border: 2px solid rgba(30, 64, 175, 0.1);
}

.story-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.story-highlight h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.story-highlight p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Misión y Visión con Iconos Grandes */
.mission-vision-section {
    padding: 6rem 2rem;
    background: white;
}

.mv-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.mv-card {
    text-align: center;
    padding: 4rem 3rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mission-card {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08) 0%, rgba(59, 130, 246, 0.12) 100%);
    border: 2px solid rgba(30, 64, 175, 0.15);
}

.vision-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(30, 64, 175, 0.12) 100%);
    border: 2px solid rgba(59, 130, 246, 0.15);
}

.mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
}

.mv-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.1));
}

.mv-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.mv-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.mv-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.feature {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(30, 64, 175, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

/* Áreas Visuales */
.areas-visual-section {
    padding: 6rem 2rem;
    background: linear-gradient(
        135deg,
        rgba(30, 64, 175, 0.02) 0%,
        rgba(59, 130, 246, 0.04) 100%
    );
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.areas-visual-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.area-visual-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.area-visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: all 0.4s ease;
}

.area-visual-card.clinica::before { background: #3b82f6; }
.area-visual-card.forense::before { background: #ef4444; }
.area-visual-card.desarrollo::before { background: #22c55e; }
.area-visual-card.neurociencia::before { background: #a855f7; }
.area-visual-card.psicoanalisis::before { background: #f59e0b; }

.area-visual-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.12);
}

.area-visual-card:hover::before {
    height: 6px;
}

.area-visual-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.area-visual-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.area-visual-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.area-stats {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    padding: 0.75rem 1rem;
    background: rgba(30, 64, 175, 0.05);
    border-radius: 20px;
}

/* Timeline */
.timeline-section {
    padding: 6rem 2rem;
    background: white;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 4px solid white;
    z-index: 2;
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-item.completed .timeline-dot {
    background: var(--primary);
}

.timeline-item.in-progress .timeline-dot {
    background: #f59e0b;
    box-shadow: 0 0 0 3px #f59e0b;
}

.timeline-item.future .timeline-dot {
    background: #6b7280;
    box-shadow: 0 0 0 3px #6b7280;
}

.timeline-content {
    flex: 1;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    max-width: 350px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    margin-left: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 2rem;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Call to Action */
.cta-authors-section {
    padding: 6rem 2rem;
    background: linear-gradient(
        135deg,
        rgba(30, 64, 175, 0.08) 0%,
        rgba(59, 130, 246, 0.12) 100%
    );
}

.cta-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.cta-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.cta-feature-icon {
    color: #22c55e;
    font-weight: 900;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .story-content,
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .areas-visual-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-container::before {
        left: 2rem;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-left: 3rem;
    }
    
    .timeline-dot {
        left: 2rem !important;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        margin: 0 0 0 2rem !important;
        max-width: none;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}