:root {
    --primary: #a9c2f7;
    --secondary: #3b82f6;
    --accent: #8b5cf6;
    --light: #f8fafc;
    --dark: #1e293b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* DESACTIVAR TODAS LAS ANIMACIONES Y TRANSICIONES PARA EVITAR BUGS GRÁFICOS */
/* EXCEPTO PARA ELEMENTOS DEL HEADER */
*:not(.mobile-menu-toggle):not(.mobile-menu-toggle span):not(.main-nav):not(.logo a):not(nav a):not(nav a::after):not(header):not(.site-header), 
*:not(.mobile-menu-toggle):not(.mobile-menu-toggle span):not(.main-nav):not(.logo a):not(nav a):not(nav a::after):not(header):not(.site-header)::before, 
*:not(.mobile-menu-toggle):not(.mobile-menu-toggle span):not(.main-nav):not(.logo a):not(nav a):not(nav a::after):not(header):not(.site-header)::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
}

/* Desactivar transformaciones solo para contenido, no para header */
.section,
.stats-section,
.cta-section,
.card,
.stat-item,
.btn:not(.mobile-menu-toggle) {
    transform: none !important;
}

/* RESTAURAR TRANSICIONES SOLO PARA EL HEADER */
.mobile-menu-toggle, 
.main-nav,
.logo a,
nav a,
nav a::after,
.breadcrumb-item a,
.header-container,
header,
.site-header {
    transition: all 0.3s ease !important;
}

/* Restaurar efectos hover del header */
.logo a:hover {
    transition: all 0.3s ease !important;
    transform: none !important;
}

nav a:hover {
    transition: all 0.3s ease !important;
    transform: none !important;
}

nav a::after {
    transition: width 0.3s ease !important;
}

/* Mantener otras funcionalidades básicas */
input, 
textarea, 
select {
    transition: border-color 0.2s ease !important;
}

body {
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background-color: white;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    overflow: visible;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 1.25rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo a {
    color: var(--gray-800);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 600;
}

.logo a:hover {
    color: var(--primary);
}

.logo-icon {
    font-size: 2rem;
    margin-right: 10px;
    color: var(--accent);
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
    border-radius: 5px;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    align-items: center;
    overflow: visible;
}

nav li {
    margin: 0;
    flex-shrink: 0;
}

nav a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem;
    position: relative;
    font-size: 0.95rem;
    border-radius: 0.5rem;
    display: block;
    white-space: nowrap;
}

nav a:hover {
    color: var(--primary);
    background-color: var(--gray-50);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: calc(100% - 2rem);
}

/* Active navigation link */
nav a.active {
    color: var(--primary);
    font-weight: 600;
    background-color: var(--gray-100);
    position: relative;
}

nav a.active::after {
    width: calc(100% - 2rem);
    background-color: var(--primary);
    bottom: 0;
    left: 1rem;
}

nav a.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 0 0 3px 3px;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background-color: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.75rem 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--gray-600);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary);
    background-color: var(--gray-200);
}

.breadcrumb-item.active span {
    color: var(--gray-800);
    font-weight: 500;
    padding: 0.25rem 0.5rem;
}

.breadcrumb-separator {
    color: var(--gray-400);
    margin: 0 0.25rem;
    display: flex;
    align-items: center;
}

.breadcrumb-separator svg {
    width: 12px;
    height: 12px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--gray-800);
    margin: 3px 0;
    transition: 0.3s !important;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px) !important;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px) !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    background-color: #1d4ed8;
    /* transform: translateY(-1px); DESACTIVADO */
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: #7c3aed;
    /* transform: translateY(-1px); DESACTIVADO */
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-outline:hover {
    background-color: var(--gray-50);
    border-color: var(--gray-400);
    /* transform: translateY(-1px); DESACTIVADO */
}

/* Hero Section - ESTÁTICO - Layout Asimétrico Moderno */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--gray-800);
    padding: 6rem 0 8rem 0;
    position: static !important;
    overflow: visible !important;
    transform: none !important;
    will-change: auto !important;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 0 0 0 100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: static;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    text-align: left;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--gray-900);
    position: relative;
}

/* Elemento decorativo en el título */
.hero h1::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    color: var(--gray-600);
    font-weight: 400;
    max-width: none;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2rem;
    opacity: 0.1;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    max-width: 450px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 1.25rem 3rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
    /* transform: translateY(-3px); DESACTIVADO */
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
    padding: 1.25rem 3rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline:hover {
    background-color: var(--gray-800);
    color: white;
    border-color: var(--gray-800);
    /* transform: translateY(-3px); DESACTIVADO */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Stats Section - ESTÁTICA - Sin animaciones */
.stats-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    padding: 5rem 0;
    position: static !important;
    transform: none !important;
    position: relative;
    margin-top: -2rem;
    will-change: transform;
    transition: none;
    transform-style: preserve-3d;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.03) 0%, 
        rgba(139, 92, 246, 0.03) 50%,
        rgba(245, 158, 11, 0.03) 100%);
    border-radius: 50px;
    opacity: 0.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    background: white;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    border-radius: 1.5rem 1.5rem 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

/* Colores diferentes para cada estadística */
.stat-item:nth-child(1)::before { background: var(--primary); }
.stat-item:nth-child(2)::before { background: var(--secondary); }
.stat-item:nth-child(3)::before { background: var(--accent); }
.stat-item:nth-child(4)::before { background: var(--success); }

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* About Section */
.section {
    padding: 5rem 0;
    background-color: white;
    will-change: transform;
    transition: none;
    transform-style: preserve-3d;
}

.section:nth-child(even) {
    background-color: var(--gray-50);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.section-title p {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    color: var(--primary);
    margin: 1.5rem 0 0.5rem;
}

.about-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.about-text li {
    margin-bottom: 0.5rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Cards Grid - Diseño Asimétrico y Moderno */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 1rem 0;
}

/* Alternancia de diseños para crear un patrón visual atractivo */
.cards-grid .card:nth-child(1) { grid-column: span 1; }
.cards-grid .card:nth-child(2) { grid-column: span 1; }
.cards-grid .card:nth-child(3) { grid-column: span 1; }

/* Diseño de tarjeta con estilo magazine/editorial */
.card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.card:hover {
    /* transform: translateY(-4px); DESACTIVADO */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

/* Efecto de borde gradiente al hacer hover */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
    border-radius: 1.5rem;
    padding: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.card:hover::before {
    opacity: 1;
}

.card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
    border-radius: 0 0 1rem 1rem;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
    filter: brightness(1.02) contrast(1.05);
}

.card-image img:hover {
    transform: scale(1.03);
    filter: brightness(1.1) contrast(1.1);
}

/* Overlay gradiente sobre la imagen */
.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.02) 100%);
    pointer-events: none;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.75rem 1.75rem 0;
    position: relative;
}

/* Ajustar padding cuando hay imagen */
.card-image + .card-header {
    padding: 1.5rem 1.75rem 0;
}

/* Icono rediseñado con fondo circular */
.card-icon {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    margin-bottom: 0.5rem;
}

.card-date {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 600;
    background: var(--gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
}

.card-content {
    padding: 1.25rem 1.75rem 1.75rem;
    flex-grow: 1;
}

.card h3 {
    color: var(--gray-900);
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.card p {
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.card-footer {
    padding: 0 1.75rem 1.75rem;
    margin-top: auto;
}

.card .btn {
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border: none;
    position: relative;
    overflow: hidden;
}

.card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.card .btn:hover::before {
    left: 100%;
}

/* News Card Specific - Estilo Editorial Moderno */
.news-card {
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    position: relative;
    overflow: visible;
}

.news-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 1.5rem 1.5rem 0 0;
    z-index: 1;
}

/* Badge de categoría para noticias */
.news-card .card-header::before {
    content: 'NOTICIA';
    position: absolute;
    top: -0.5rem;
    left: 1.75rem;
    background: var(--secondary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Project Card Specific - Estilo Técnico */
.project-card {
    background: linear-gradient(145deg, #ffffff 0%, #fdfdfd 100%);
    border: 2px solid var(--gray-100);
    position: relative;
}

.project-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 6px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
    border-radius: 1.5rem 1.5rem 0 0;
}

.project-card .card-header::before {
    content: 'PROYECTO';
    position: absolute;
    top: -0.5rem;
    left: 1.75rem;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.project-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-activo {
    background-color: #d4edda;
    color: #155724;
}

.status-en-progreso {
    background-color: #fff3cd;
    color: #856404;
}

.status-completado {
    background-color: #d1ecf1;
    color: #0c5460;
}

.progress-container {
    margin-top: 1rem;
}

.progress-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Section Footer */
.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    will-change: transform;
    transition: none;
    transform-style: preserve-3d;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--accent);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations - DESACTIVADAS PARA EVITAR BUGS GRÁFICOS */
/*
@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);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}
*/

/* Elementos estáticos - sin animaciones */
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 1;
    transform: none;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        transform: translateX(-100%) !important;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease !important;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-nav.active {
        transform: translateX(0) !important;
        opacity: 1;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
        padding: 0;
        margin: 0;
        gap: 0.75rem;
        text-align: center;
        width: 100%;
    }
    
    nav li {
        margin: 0;
        width: 100%;
    }
    
    nav a {
        display: block;
        padding: 1rem 2rem;
        margin: 0 auto;
        color: white;
        font-size: 1.25rem;
        font-weight: 600;
        text-align: center;
        text-decoration: none;
        background: transparent;
        border-radius: 0;
        border: none;
        transition: all 0.3s ease;
        max-width: 280px;
        width: 90%;
    }
    
    nav a:hover {
        color: rgba(255, 255, 255, 0.8);
        transform: translateY(-2px);
    }
    
    nav a::after {
        display: none;
    }
    
    nav a.active {
        background: transparent;
        color: white;
        border: none;
        text-decoration: underline;
        text-underline-offset: 4px;
    }
    
    nav a.active::before {
        display: none;
    }
    
    nav a.active::after {
        display: none !important;
    }
    
    /* Breadcrumb responsive */
    .breadcrumb-nav {
        padding: 0.5rem 0;
    }
    
    .breadcrumb {
        font-size: 0.75rem;
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .breadcrumb-item span,
    .breadcrumb-item a {
        padding: 0.125rem 0.25rem;
    }
    
    .hero {
        padding: 4rem 0;
        position: static !important;
        overflow: visible !important;
        transform: none !important;
    }
    
    .hero::before {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.75rem;
    }
    
    .hero h1::before {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero p {
        font-size: 1.125rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-buttons .btn {
        flex: 1;
        min-width: 140px;
    }

    .hero-image {
        margin-top: 2rem;
        overflow: visible;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
        border-radius: 1rem;
        object-fit: cover;
        aspect-ratio: 16/9;
    }

    .stats-section {
        margin-top: 6rem;
        padding: 4rem 0;
    }

    .stats-section {
        padding: 4rem 0;
        margin-top: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item {
        padding: 2rem 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Resetear grid spans en móvil */
    .cards-grid .card:nth-child(n) {
        grid-column: span 1;
    }

    .card-image {
        height: 200px;
    }

    .card-image img:hover {
        transform: none;
    }
    
    .card-header,
    .card-image + .card-header {
        padding: 1.5rem 1.5rem 0;
    }
    
    .card-content {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .card-footer {
        padding: 0 1.5rem 1.5rem;
    }
    
    .card-date {
        position: static;
        display: block;
        margin-top: 0.5rem;
        text-align: right;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.125rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .about-content {
        flex-direction: column;
    }

    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero h1::before {
        width: 60px;
        height: 4px;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .hero-image {
        margin-top: 1.5rem;
    }

    .hero-image img {
        border-radius: 1rem;
        max-height: 250px;
        width: 100%;
        object-fit: cover;
    }

    .stats-section {
        margin-top: 0;
        padding: 3rem 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .stat-item {
        padding: 1.75rem 1rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .card-image {
        height: 180px;
    }
    
    .card h3 {
        font-size: 1.25rem;
    }
    
    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* Estilos para la sección hero desde inicio_crud.php */
.section.hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.section.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section.hero .container {
    position: relative;
    z-index: 2;
}

/* === REGLAS GLOBALES PARA SECCIONES ESTÁTICAS === */
.section,
.stats-section,
.cta-section,
.hero {
    position: static !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

.card,
.stat-item,
.section-title,
.btn {
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

/* Elementos que ya aparecen visibles sin animación */
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.section.hero .section-title h2 {
    color: white !important;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section.hero .section-title p {
    color: white !important;
    font-size: 1.25rem;
    line-height: 1.6;
}

.section.hero .section-title p strong {
    color: white !important;
}

/* === ESTILOS DE DONACIONES - DISEÑO SEGÚN IMAGEN === */

/* Hero de Donaciones - Minimalista sin fondo de color */
.hero.donations-hero {
    background: #f8f9fa;
    color: var(--gray-800);
    padding: 4rem 0 2rem;
    position: relative;
}

.hero.donations-hero .hero-content {
    text-align: center;
}

.hero.donations-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-800) !important;
    line-height: 1.2;
}

.hero.donations-hero p {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray-600) !important;
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* Contenido principal de donaciones - Layout según imagen */
.donation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Información de donación - Diseño tipo tarjetas blancas */
.donation-info {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.donation-info h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2rem;
    text-align: left;
}

/* Tarjetas de información según la imagen */
.info-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
    text-align: center;
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #6c5ce7;
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Formulario de donación - Exacto como en la imagen */
.formulario-donacion {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.formulario-donacion h2 {
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.formulario-donacion p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Campos del formulario - Según imagen */
.campo {
    margin-bottom: 1.5rem;
}

.campo label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 1rem;
}

.campo input,
.campo select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: inherit;
}

.campo input:focus,
.campo select:focus {
    outline: none;
    border-color: #6c5ce7;
    background: white;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

/* Botones de monto sugerido - Exacto como en imagen */
.monto-sugerencias {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.monto-sugerencias span {
    font-weight: 500;
    color: var(--gray-700);
    margin-right: 0.5rem;
    font-size: 1rem;
    display: block;
    width: 100%;
    margin-bottom: 0.75rem;
}

.btn-monto {
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: all 0.3s ease;
    min-width: 80px;
}

.btn-monto:hover {
    background: #6c5ce7;
    color: white;
    border-color: #6c5ce7;
}

.btn-monto.active {
    background: #6c5ce7;
    color: white;
    border-color: #6c5ce7;
}

/* Sección PayPal - Como en la imagen */
.paypal-section {
    margin-top: 2rem;
}

.paypal-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e9ecef;
}

.paypal-logo {
    height: 30px;
    width: auto;
}

.paypal-info p {
    color: var(--gray-600);
    font-size: 0.95rem;
    font-weight: 400;
    margin: 0;
    flex: 1;
}

#paypal-button-container {
    margin: 1.5rem 0;
    min-height: 60px;
}

/* Botón PayPal personalizado para coincidir con la imagen */
#paypal-button-container .paypal-button {
    border-radius: 0.75rem !important;
    overflow: hidden !important;
}

#fallback-button {
    margin-top: 1rem;
}

/* Botón principal de donación - Como en imagen */
.btn-donar {
    width: 100%;
    padding: 1rem 2rem;
    background: #6c5ce7;
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-donar:hover {
    background: #5a4fcf;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
}

.btn-donar:active {
    transform: translateY(0);
}

.paypal-error {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* Estados de mensajes - Diseño Limpio */
.mensaje {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
    border: 1px solid;
}

.mensaje.success {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

.mensaje.error {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

/* Responsive para donaciones - Según imagen */
@media (max-width: 968px) {
    .donation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .hero.donations-hero {
        padding: 3rem 0 2rem;
    }
    
    .hero.donations-hero h1 {
        font-size: 2rem;
    }
    
    .hero.donations-hero p {
        font-size: 1rem;
    }
    
    .donation-info,
    .formulario-donacion {
        padding: 2rem;
    }
    
    .info-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .monto-sugerencias {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .btn-monto {
        text-align: center;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .paypal-info {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .donation-info,
    .formulario-donacion {
        padding: 1.5rem;
    }
    
    .hero.donations-hero h1 {
        font-size: 1.75rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* === ELEMENTOS SEGÚN IMAGEN === */

/* Sección completa de donaciones */
.donations-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding-bottom: 4rem;
}

/* Contenedor principal mejorado */
.donations-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Títulos de sección según imagen */
.section-title-donations {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2rem;
    text-align: left;
}

/* Grid específico para información de donaciones */
.donation-info-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Ajustes globales de espaciado */
.donation-section {
    padding: 3rem 0;
}

/* Mejoras para el breadcrumb */
.breadcrumb-donations {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb-donations a {
    color: var(--gray-600);
    text-decoration: none;
}

.breadcrumb-donations a:hover {
    color: var(--gray-900);
}

.breadcrumb-donations span {
    color: var(--gray-400);
    margin: 0 0.5rem;
}

/* Responsive específico para el diseño de imagen */
@media (max-width: 1024px) {
    .donations-main {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .donations-main {
        padding: 0 1rem;
    }
    
    .section-title-donations {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .donation-info-grid {
        gap: 1rem;
    }
}