/* ===================================
   VARIABLES Y RESET
   =================================== */
:root {
    --primary-blue: #0066CC;
    --dark-blue: #003D82;
    --light-blue: #4A9FFF;
    --accent-blue: #00A8E8;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --gray: #666666;
    --dark-gray: #333333;
    --orange: #FF8C00;
    --success: #28A745;
    --error: #DC3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--orange);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: 0.3s;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 50%, var(--light-blue) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    min-height: 600px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-slogan {
    margin: 2rem 0;
}

.slogan-image {
    max-width: 250px;
    margin: 0;
}

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

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

.hero-image img {
    max-width: 400px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #FF6600;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ===================================
   SUPPORT SECTION
   =================================== */
.support-section {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-weight: 900;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.support-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
}

.support-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.support-card h3 {
    padding: 1rem;
    color: var(--dark-blue);
    font-size: 1.3rem;
    text-align: center;
}

.support-card p {
    padding: 0 1rem 1rem;
    text-align: center;
    color: var(--gray);
}

/* ===================================
   CALL TO ACTION
   =================================== */
.call-to-action {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.call-to-action h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.call-to-action p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* ===================================
   PAGE HEADER
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.3rem;
    font-weight: 300;
}

/* ===================================
   TIMELINE SECTION
   =================================== */
.timeline-section {
    padding: 4rem 2rem;
}

.bio-intro {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
}

.bio-image {
    max-width: 200px;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
}

.bio-text h2 {
    color: var(--dark-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.birth-info {
    color: var(--orange);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--light-blue), var(--dark-blue));
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

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

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

.timeline-year {
    flex: 0 0 120px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--orange);
    text-align: center;
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.timeline-content {
    flex: 1;
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* ===================================
   STATS SECTION
   =================================== */
.stats-section {
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    border-radius: 20px;
    color: var(--white);
}

.stats-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 900;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    line-height: 1.4;
}

.call-to-action-inline {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
}

.call-to-action-inline h3 {
    color: var(--dark-blue);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* ===================================
   NEWSLETTER SECTION
   =================================== */
.newsletter-section {
    padding: 4rem 2rem;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.newsletter-info h2 {
    color: var(--dark-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-info p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.benefits {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.benefits h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.benefits ul {
    list-style: none;
}

.benefits li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--gray);
}

.newsletter-slogan {
    max-width: 250px;
    margin: 2rem auto;
}

.newsletter-form-container {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.form-control {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 1rem;
}

/* ===================================
   ALERTS
   =================================== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert p {
    margin: 0;
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--orange);
}

.footer-section .slogan {
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--white);
}

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--orange);
}

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

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        padding-left: 80px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        flex: 0 0 60px;
        font-size: 1.2rem;
        padding: 0.5rem;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
    }
    
    .bio-intro {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-section {
        padding: 2rem 1rem;
    }
    
    .stats-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--dark-blue);
        padding: 1rem;
        gap: 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .timeline-item {
        padding-left: 70px;
    }
    
    .timeline-year {
        flex: 0 0 50px;
        font-size: 1rem;
        padding: 0.3rem;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .bio-intro {
        padding: 1rem;
    }
    
    .bio-image {
        max-width: 150px;
    }
    
    .page-header {
        padding: 2rem 1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

/* ===================================
   RESPONSIVE - MÓVILES PEQUEÑOS
   =================================== */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 2rem 1rem;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
    
    .timeline::before {
        left: 25px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-year {
        flex: 0 0 45px;
        font-size: 0.9rem;
        padding: 0.3rem 0.2rem;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .timeline-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .stats-section {
        margin: 2rem -1rem;
        padding: 2rem 1rem;
        border-radius: 0;
    }
    
    .stats-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .bio-intro {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .bio-image {
        max-width: 120px;
        margin: 0 auto 1rem;
    }
    
    .bio-text h2 {
        font-size: 1.5rem;
    }
    
    .birth-info {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
}
