/* ============================================
   OAFROPEL - STYLESHEET PRINCIPAL
   Versión: 2.0 - Diseño Profesional
   ============================================ */

/* ============ VARIABLES ============ */
:root {
    --primary-color: #1E88E5;
    --primary-dark: #1565C0;
    --primary-light: #64B5F6;
    --secondary-color: #43A047;
    --secondary-dark: #2E7D32;
    --accent-color: #FB8C00;
    --accent-dark: #EF6C00;
    --text-dark: #263238;
    --text-medium: #546E7A;
    --text-light: #78909C;
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;
    --border-color: #E0E6ED;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --font-main: 'Poppins', sans-serif;
}

/* ============ RESET & BASE ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.mt-5 { margin-top: 3rem; }

/* ============ TIPOGRAFÍA ============ */
.section-subtitle {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-text {
    font-size: 16px;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-header { margin-bottom: 50px; }

/* ============ BOTONES ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(67, 160, 71, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 160, 71, 0.4);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.btn-outline-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transition: width 0.3s ease;
}

.btn-outline-primary:hover::after { width: 100%; }
.btn-outline-primary:hover { color: var(--bg-white); }

.btn-outline-light {
    background: transparent;
    color: var(--bg-white);
    border-color: var(--bg-white);
}

.btn-outline-light:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-lg { padding: 15px 35px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============ TOP BAR ============ */
.top-bar {
    background: var(--primary-dark);
    color: var(--bg-white);
    padding: 10px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left span { margin-right: 15px; }
.top-bar-left i { margin-right: 5px; color: var(--accent-color); }
.top-bar-left .separator { opacity: 0.5; margin: 0 10px; }

.social-links a {
    color: var(--bg-white);
    margin-left: 12px;
    font-size: 14px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* ============ HEADER PRINCIPAL ============ */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.logo-text span { color: var(--secondary-color); }
.logo-img { height: 50px; width: auto; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-menu { display: flex; gap: 5px; }

.nav-link {
    display: block;
    padding: 10px 18px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    border-radius: 5px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after { width: 80%; }

.nav-link:hover,
.nav-link.active { color: var(--primary-color); }

.header-actions { display: flex; align-items: center; gap: 15px; }

.btn-donate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--bg-white);
    font-weight: 700;
    font-size: 14px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(251, 140, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(251, 140, 0, 0.4);
}

.btn-donate i { animation: heartbeat 1.5s infinite; }

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.nav-overlay.active { display: block; }

/* ============ HERO DIVIDIDO - DISEÑO PROFESIONAL ============ */
.hero-dividido {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.hero-dividido::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-dividido .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 80px 20px;
}

.hero-content-left {
    color: var(--bg-white);
    animation: fadeInLeft 1s ease;
}

.hero-content-left h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content-left p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    padding: 15px 35px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.4);
}

.btn-hero-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.5);
}

.btn-hero-secondary {
    padding: 15px 35px;
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-image-right {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInRight 1s ease;
}

.hero-image-right img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image-right:hover img {
    transform: scale(1.05);
}

/* Formas decorativas flotantes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.hero-shape-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
}

.hero-shape-2 {
    width: 150px;
    height: 150px;
    bottom: 50px;
    right: 100px;
    animation-delay: 2s;
}

/* Variantes de color por página */
.hero-inicio { background: linear-gradient(135deg, #1e293b 0%, #334155 100%); }
.hero-nosotros { background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%); }
.hero-proyectos { background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%); }
.hero-noticias { background: linear-gradient(135deg, #ea580c 0%, #fb923c 100%); }
.hero-contacto { background: linear-gradient(135deg, #059669 0%, #34d399 100%); }
.hero-certificados { background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%); }
.hero-donar { background: linear-gradient(135deg, #dc2626 0%, #f87171 100%); }
.hero-legal { background: linear-gradient(135deg, #475569 0%, #64748b 100%); }

/* ============ ANIMACIONES GLOBALES ============ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}

/* Clases de animación */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============ ESTADÍSTICAS ============ */
.stats-section {
    padding: 60px 0;
    background: var(--bg-white);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.stat-card {
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: rotateY(360deg);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 13px;
    color: var(--text-light);
}

/* ============ SOBRE NOSOTROS ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image { position: relative; }
.about-image img { border-radius: 15px; box-shadow: var(--shadow-lg); }

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent-color);
    color: var(--bg-white);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.badge-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.badge-text { font-size: 13px; font-weight: 500; }

.about-features { margin: 25px 0; }
.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 500;
}

.about-features i { color: var(--secondary-color); font-size: 18px; }

/* ============ PROYECTOS ============ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card,
.news-card,
.team-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.project-card::before,
.news-card::before,
.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.project-card:hover::before,
.news-card:hover::before,
.team-card:hover::before { left: 100%; }

.project-card:hover,
.news-card:hover,
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1) rotate(1deg);
}

.project-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-category { transform: translateX(0); }

.project-content { padding: 25px; }
.project-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.project-summary { color: var(--text-medium); font-size: 14px; margin-bottom: 20px; }

.project-progress { margin-bottom: 20px; overflow: hidden; }

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.progress-bar {
    height: 8px;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 10px;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.progress-percent {
    text-align: right;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 5px;
}

/* ============ CÓMO FUNCIONA ============ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.step-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.step-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(30, 136, 229, 0.1);
    line-height: 1;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    transition: var(--transition);
}

.step-card:hover .step-icon {
    background: var(--primary-color);
    color: var(--bg-white);
}

.step-card h3 { font-size: 20px; margin-bottom: 10px; }
.step-card p { color: var(--text-medium); font-size: 14px; }

/* ============ TESTIMONIOS ============ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 60px;
    color: var(--primary-light);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-quote {
    transform: scale(1.2) rotate(-10deg);
    opacity: 0.5;
}

.testimonial-text {
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img,
.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-author img {
    border-color: var(--secondary-color);
    transform: rotate(5deg) scale(1.1);
}

.author-avatar {
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
}

.author-info h4 { font-size: 16px; margin-bottom: 3px; }
.author-info span { font-size: 13px; color: var(--text-light); }

/* ============ NOTICIAS ============ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.news-card:hover {
    transform: translateY(-10px) rotateX(2deg);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img { transform: scale(1.1); }

.news-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-image::after { opacity: 1; }

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: var(--bg-white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.news-card:hover .news-category { transform: scale(1); }

.news-content { padding: 25px; }

.news-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.news-meta i { margin-right: 5px; color: var(--primary-color); }

.news-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.news-title a:hover { color: var(--primary-color); }
.news-summary { color: var(--text-medium); font-size: 14px; margin-bottom: 15px; }

.read-more { color: var(--primary-color); font-weight: 600; font-size: 14px; }
.read-more:hover { color: var(--primary-dark); }

/* ============ CTA SECTION ============ */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
    color: var(--bg-white);
}

.cta-content { text-align: center; max-width: 700px; margin: 0 auto; }
.cta-title { font-size: 36px; font-weight: 800; margin-bottom: 15px; }
.cta-text { font-size: 18px; margin-bottom: 30px; opacity: 0.95; }

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============ FOOTER ============ */
.main-footer {
    background: var(--text-dark);
    color: var(--bg-white);
}

.footer-widgets { padding: 70px 0 40px; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
}

.footer-widget {
    position: relative;
    overflow: hidden;
}

.footer-widget::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.footer-widget:hover::before { width: 100%; }

.footer-about { color: #B0BEC5; margin: 15px 0 20px; font-size: 14px; }

.footer-social { display: flex; gap: 10px; }

.footer-social a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
}

.footer-social a:hover { background: var(--accent-color); }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: #B0BEC5;
    font-size: 14px;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 20px;
}

.footer-links a:hover::before { opacity: 1; left: 0; }

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: #B0BEC5;
    font-size: 14px;
}

.footer-contact i { color: var(--accent-color); margin-top: 3px; }

/* Galería Footer */
.footer-gallery { padding: 40px 0; background: rgba(0, 0, 0, 0.2); }
.gallery-title { text-align: center; font-size: 20px; margin-bottom: 25px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.8), rgba(67, 160, 71, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before { opacity: 1; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.2) rotate(2deg); }

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    color: var(--bg-white);
    font-size: 20px;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: scale(1);
}

/* Newsletter */
.footer-newsletter { padding: 40px 0; background: var(--primary-dark); }

.newsletter-box {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.newsletter-content { flex: 1; min-width: 250px; }
.newsletter-content h3 { font-size: 22px; margin-bottom: 5px; }
.newsletter-content p { opacity: 0.9; font-size: 14px; }

.newsletter-form {
    flex: 2;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 300px;
}

.newsletter-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-family: var(--font-main);
}

.btn-newsletter {
    padding: 12px 25px;
    background: var(--accent-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.btn-newsletter:hover { background: var(--accent-dark); }

#newsletterMessage { width: 100%; margin-top: 10px; }

.alert {
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    animation: slideDown 0.5s ease;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
}

.alert-success { background: var(--secondary-color); color: var(--bg-white); }
.alert-danger { background: #e53935; color: var(--bg-white); }

/* Footer Bottom */
.footer-bottom { padding: 20px 0; background: rgba(0, 0, 0, 0.3); text-align: center; font-size: 14px; color: #B0BEC5; }

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-md);
    transform: translateY(100px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

.back-to-top i { animation: float 2s ease-in-out infinite; }

/* ============ FORMULARIOS ============ */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.1);
    transform: translateY(-2px);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-text {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--text-light);
}

.form-message { margin-top: 20px; }

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
}

.checkbox-group input[type="checkbox"] { width: auto; }

.input-with-icon { position: relative; }

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.input-with-icon input { padding-left: 35px; }
.input-with-icon input:focus ~ .input-icon { color: var(--primary-color); transform: scale(1.1); }

/* ============ PÁGINAS LEGALES ============ */
.legal-hero { background: linear-gradient(135deg, #263238, #37474f); position: relative; overflow: hidden; }

.legal-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(30deg, rgba(255,255,255,0.03) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.03) 87.5%, rgba(255,255,255,0.03)),
        linear-gradient(150deg, rgba(255,255,255,0.03) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.03) 87.5%, rgba(255,255,255,0.03));
    background-size: 80px 140px;
}

.legal-meta {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.legal-meta i { margin-right: 5px; }

.legal-section { padding: 80px 0; background: var(--bg-light); }

.legal-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.legal-sidebar { position: sticky; top: 100px; }

.sidebar-sticky { display: flex; flex-direction: column; gap: 20px; }

.sidebar-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-title i { color: var(--primary-color); }

.legal-toc ul { list-style: none; }
.legal-toc li { margin-bottom: 5px; }

.toc-link {
    display: block;
    padding: 10px 15px;
    color: var(--text-medium);
    font-size: 14px;
    border-radius: 8px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.toc-link:hover,
.toc-link.active {
    background: var(--bg-light);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 20px;
}

.action-buttons { display: flex; flex-direction: column; gap: 10px; }

.action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--bg-light);
    color: var(--text-dark);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
    text-align: left;
}

.action-btn:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateX(5px);
}

.legal-content {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.legal-alert {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    margin-bottom: 40px;
}

.legal-alert.warning { background: linear-gradient(135deg, #fff3e0, #ffe0b2); border-left-color: var(--accent-color); }
.legal-alert.info { background: linear-gradient(135deg, #f3e5f5, #e1bee7); border-left-color: #9c27b0; }

.alert-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.legal-alert.warning .alert-icon { color: var(--accent-color); }
.legal-alert.info .alert-icon { color: #9c27b0; }

.alert-content h4 { font-size: 18px; margin-bottom: 8px; }
.alert-content p { color: var(--text-medium); font-size: 15px; margin: 0; }

.legal-section-item {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--bg-light);
}

.legal-section-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.legal-section-item h2 {
    font-size: 28px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-section-item h2 i { color: var(--primary-color); font-size: 24px; }
.legal-section-item h3 { font-size: 20px; margin: 25px 0 15px; }
.legal-section-item p { color: var(--text-medium); line-height: 1.8; margin-bottom: 15px; font-size: 15px; }
.legal-section-item ul, .legal-section-item ol { margin: 15px 0; padding-left: 30px; }
.legal-section-item li { color: var(--text-medium); line-height: 1.8; margin-bottom: 10px; }
.legal-section-item a { color: var(--primary-color); font-weight: 600; }
.legal-section-item a:hover { color: var(--primary-dark); text-decoration: underline; }

.info-box, .warning-box { padding: 25px; border-radius: 10px; margin: 25px 0; }
.info-box { background: var(--bg-light); border-left: 4px solid var(--primary-color); }
.warning-box { background: #fff3e0; border-left: 4px solid var(--accent-color); }
.info-box h4, .warning-box h4 { font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.warning-box h4 i { color: var(--accent-color); }

.contact-legal { background: var(--bg-light); padding: 25px; border-radius: 10px; margin-top: 20px; }
.contact-legal p { margin-bottom: 10px; }
.contact-legal strong { color: var(--text-dark); }

.legal-footer { margin-top: 50px; padding-top: 30px; border-top: 2px solid var(--bg-light); }
.legal-footer .footer-content { background: var(--bg-light); padding: 25px; border-radius: 10px; text-align: center; }
.legal-footer p { font-size: 14px; color: var(--text-medium); margin-bottom: 5px; }
.legal-footer strong { color: var(--text-dark); }

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 40px; }
    .menu-toggle { display: flex; }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-white);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        padding: 80px 20px 20px;
        transition: var(--transition);
        overflow-y: auto;
        z-index: 999;
        transform: translateX(100%);
    }
    
    .main-nav.active {
        right: 0;
        transform: translateX(0);
    }
    
    .nav-menu { flex-direction: column; gap: 0; }
    .nav-link { padding: 15px; border-bottom: 1px solid var(--bg-light); }
    
    .nav-menu li {
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }
    
    .main-nav.active .nav-menu li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .main-nav.active .nav-menu li:nth-child(1) { transition-delay: 0.1s; }
    .main-nav.active .nav-menu li:nth-child(2) { transition-delay: 0.15s; }
    .main-nav.active .nav-menu li:nth-child(3) { transition-delay: 0.2s; }
    .main-nav.active .nav-menu li:nth-child(4) { transition-delay: 0.25s; }
    .main-nav.active .nav-menu li:nth-child(5) { transition-delay: 0.3s; }
    .main-nav.active .nav-menu li:nth-child(6) { transition-delay: 0.35s; }
    
    .menu-toggle.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .menu-toggle.active .hamburger-line:nth-child(2) { opacity: 0; transform: translateX(-20px); }
    .menu-toggle.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
    
    .legal-layout { grid-template-columns: 1fr; }
    .legal-sidebar { position: static; }
    .legal-content { padding: 30px; }
    .legal-section-item h2 { font-size: 24px; }
    
    .hero-dividido .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content-left { text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-image-right { display: none; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-section { height: 500px; }
    .hero-title { font-size: 32px; }
    .section-title { font-size: 28px; }
    .cta-title { font-size: 28px; }
    
    .footer-bottom-content { flex-direction: column; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    
    .hero-dividido { min-height: 500px; }
    .hero-content-left h1 { font-size: 32px; }
    .hero-content-left p { font-size: 16px; }
}

@media (max-width: 576px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; }
    .newsletter-input { width: 100%; }
    
    .hero-content-left h1 { font-size: 28px; }
    .hero-buttons { flex-direction: column; }
    .btn-hero-primary, .btn-hero-secondary { width: 100%; text-align: center; justify-content: center; }
}

/* ============ ACCESIBILIDAD ============ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    .btn-primary, .btn-secondary { border: 2px solid var(--bg-white); }
    .card { border: 2px solid var(--border-color); }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark), var(--secondary-dark));
}

/* ============ UTILIDADES ============ */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-shadow { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); }

.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15); }

.hover-scale { transition: transform 0.3s ease; }
.hover-scale:hover { transform: scale(1.05); }

.fade-in { animation: fadeInUp 0.6s ease; }
.slide-in-left { animation: fadeInLeft 0.6s ease; }
.slide-in-right { animation: fadeInRight 0.6s ease; }
.scale-in { animation: scaleIn 0.6s ease; }

/* ============ IMPRESIÓN ============ */
@media print {
    .no-print, .main-header, .main-footer, .back-to-top { display: none !important; }
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
}
/* ============================================
   HERO PROFESIONAL CON VIDEO - OAFROPEL
   ============================================ */

.hero-profesional {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.8) 50%, rgba(30, 136, 229, 0.4) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 120px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text-content {
    color: var(--bg-white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInDown 0.8s ease;
}

.hero-badge i {
    color: var(--accent-color);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-hero-primary {
    padding: 16px 35px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.4);
    border: none;
    cursor: pointer;
}

.btn-hero-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 136, 229, 0.5);
}

.btn-hero-secondary {
    padding: 16px 35px;
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-hero-video {
    padding: 16px 35px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.btn-hero-video:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-item .stat-value {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 5px;
}

.hero-stat-item .stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* Visual Content */
.hero-visual-content {
    position: relative;
}

.hero-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.hero-image-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-image-card img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.image-card-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-card-badge i {
    color: var(--accent-color);
    font-size: 24px;
}

.floating-impact-card {
    position: absolute;
    top: -40px;
    right: -40px;
    background: var(--bg-white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s ease-in-out infinite;
}

.impact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--bg-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.impact-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.impact-content p {
    font-size: 13px;
    color: var(--text-medium);
    margin: 0;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
}

.video-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-close:hover {
    transform: rotate(90deg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in { animation: fadeIn 1s ease; }
.animate-fade-in-up { animation: fadeInUp 1s ease; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Responsive Hero */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual-content {
        display: none;
    }
    
    .floating-impact-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-hero-video {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}