/* RESET & GLOBALS */
/* VARIABLES DE COLOR - Azul Royal y Naranja */
:root {
    --navy-dark: #0047AB; /* Azul Royal */
    --navy-light: #2A6BCE;
    --gold: #FF6600; /* Naranja */
    --gold-light: #FF8533;
    --white: #ffffff;
    --gray-bg: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--navy-dark);
}

.section-tag {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.section-tag-gold {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.section-title-white {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

/* BUTTONS */
.btn-gold {
    display: inline-block;
    background-color: var(--gold);
    color: var(--white);
    padding: 0.8rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
    letter-spacing: 1px;
}
.btn-gold:hover { background-color: var(--gold-hover); color: var(--white); }

.btn-gold-sm {
    display: inline-block;
    background-color: var(--gold);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}
.btn-gold-sm:hover { background-color: var(--gold-hover); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.7rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}
.btn-outline:hover {
    background-color: var(--white);
    color: var(--navy-dark);
}

/* NAVBAR */
.navbar {
    background-color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.logo-img {
    height: 85px; /* Logo del candidato mucho más grande */
    transition: transform 0.3s ease;
}
.logo-img:hover {
    transform: scale(1.05);
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}
.nav-links a {
    color: var(--navy-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--navy-dark); font-size: 1.5rem; cursor: pointer; }

/* HERO */
.hero {
    background: linear-gradient(to right, rgba(2, 14, 46, 0.95) 0%, rgba(2, 14, 46, 0.85) 50%, rgba(2, 14, 46, 0.6) 100%), url('img/uasd-bg.jpg') center/cover;
    position: relative;
    padding: 6rem 0 0 0;
    background-color: var(--navy-dark);
    overflow: hidden;
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    padding-bottom: 6rem;
}
.hero-tag {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
}
.hero-title {
    color: var(--white);
    font-size: 6rem;
    line-height: 1;
    margin: 1rem 0;
}
.hero-slogan {
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}
.hero-desc {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
}
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 2;
    align-self: stretch;
}
.hero-image img {
    max-width: 110%;
    height: auto;
    margin-right: -5%;
    margin-bottom: -5px;
    display: block;
}

/* SOBRE MI */
.about {
    padding: 6rem 0;
    background-color: var(--white);
}
.about-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}
.about-image { flex: 1; }
.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.about-text { flex: 1; }
.about-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.about-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    font-weight: 500;
}
.check-icon {
    color: var(--gold);
    font-size: 1.2rem;
}

/* STATS */
.stats {
    background-color: var(--gray-bg);
    padding: 4rem 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}
.stat-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.stat-icon {
    font-size: 3rem;
}
.stat-info h3 {
    font-family: var(--font-body);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1;
}
.stat-info p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* VISION */
.vision { padding: 6rem 0; }
.vision-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.vision-card {
    text-align: center;
    padding: 2rem;
}
.vision-icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    background-color: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--navy-dark);
    transition: all 0.3s;
}
.vision-card:hover .vision-icon-box {
    border-color: var(--gold);
    background-color: var(--gray-bg);
}
.vision-card h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.vision-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* SOLUTIONS */
.solutions {
    padding: 6rem 0;
    background-color: var(--gray-bg);
}
.solutions-table {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
}
.table-header {
    display: flex;
    background-color: var(--white);
    border-bottom: 2px solid #eaeaea;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}
.table-row {
    display: flex;
    border-bottom: 1px solid #eaeaea;
}
.table-row:last-child { border: none; }
.col-left {
    flex: 1;
    padding: 1.5rem 2rem;
    border-right: 1px solid #eaeaea;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}
.col-right {
    flex: 1.5;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    color: var(--navy-dark);
    font-weight: 600;
}
.table-icon { font-size: 1.5rem; }

/* AGENDA */
.agenda-plan {
    padding: 6rem 0;
}
.timeline-horizontal {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0 auto;
}
.timeline-line {
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #eaeaea;
    z-index: 1;
}
.timeline-step {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}
.circle {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border: 2px solid var(--navy-dark);
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.circle-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-dark);
}
.timeline-step h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.timeline-step ul {
    list-style: none;
    text-align: center;
}
.timeline-step li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    position: relative;
}
.timeline-step li::before {
    content: '•';
    color: var(--gold);
    margin-right: 5px;
}

/* VIDEO SECTION */
.video-section {
    background-color: var(--navy-main);
    padding: 0;
}
.video-container {
    display: flex;
}
.video-box {
    flex: 1;
    position: relative;
    cursor: pointer;
}
.video-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}
.play-btn-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    padding-left: 5px;
    transition: transform 0.3s;
}
.video-box:hover .play-btn-circle { transform: translate(-50%, -50%) scale(1.1); }
.video-text {
    flex: 1;
    padding: 6rem 4rem;
}

/* IMPACT STATS */
.impact-stats {
    background-color: var(--navy-dark);
    padding: 4rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.impact-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}
.impact-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--white);
}
.impact-icon {
    font-size: 3rem;
    color: var(--gold);
}
.impact-data h3 {
    font-family: var(--font-body);
    font-size: 2.5rem;
    color: var(--white);
    line-height: 1;
}
.impact-data p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* TESTIMONIALS */
.testimonials {
    padding: 6rem 0;
    background-color: var(--white);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}
.testimonial-card {
    padding: 2.5rem 2rem;
    background-color: #f9f9f9;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.quote-icon {
    color: var(--gold);
    font-size: 4rem;
    font-family: serif;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.2;
    line-height: 1;
}
.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.author-img {
    width: 60px;
    height: 60px;
    background-color: #ddd;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold);
}
.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-info h4 {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--navy-dark);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}
.author-info p {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
}

/* SOCIAL REELS */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* BOTTOM CTA */
.bottom-cta {
    background: url('img/uasd-bg.jpg') center/cover;
    position: relative;
    padding: 6rem 0;
    text-align: center;
}
.bottom-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(2, 14, 46, 0.9);
}
.bottom-cta-container {
    position: relative;
    z-index: 2;
}
.bottom-title {
    color: var(--white);
    max-width: 800px;
    margin: 0 auto 3rem auto;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* FOOTER */
.footer {
    background-color: #01081f;
    color: var(--white);
    padding: 4rem 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-logo { height: 60px; filter: brightness(0) invert(1); }
.footer-col h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.8rem; }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.social-icons-footer {
    display: flex;
    gap: 1rem;
}
.social-icons-footer a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-icons-footer a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col p { color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .btn-gold-sm { display: none; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-container {
        justify-content: center;
    }
    .logo {
        margin: 0 auto;
    }
    .mobile-menu-btn { 
        display: block; 
        position: absolute;
        right: 15px;
    }
    
    .hero { flex-direction: column; text-align: center; }
    .hero-container { flex-direction: column; }
    .hero-title { font-size: 3.8rem; }
    .desktop-desc { display: none !important; }
    .mobile-desc { display: block !important; }
    .hero-desc { font-size: 0.95rem; padding: 0; }
    .hero-buttons { justify-content: center;    }
    
    .stats-container {
        flex-direction: column;
        align-items: flex-start;
        max-width: 320px;
        margin: 0 auto;
        gap: 2rem;
    }
    .stat-box {
        align-items: flex-start;
        text-align: left;
    }
    .stat-icon {
        margin-top: 5px;
    }
    
    .about-container { flex-direction: column; }
    .vision-grid { grid-template-columns: repeat(2, 1fr); }
    .table-row, .table-header { flex-direction: column; }
    .col-left, .col-right { border-right: none; }
    
    .timeline-horizontal { flex-direction: column; gap: 3rem; }
    .timeline-line { display: none; }
    
    .video-container { flex-direction: column; }
    .video-text { padding: 3rem 2rem; }
    
    .social-grid { grid-template-columns: repeat(2, 1fr); }
    
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    .hero-title { font-size: 3.5rem; }
    .hero-desc { font-size: 1.05rem; padding: 0 1rem; }
    .hero-slogan { font-size: 0.8rem; letter-spacing: 2px; }
    .about-grid { grid-template-columns: 1fr; }
    .vision-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .social-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .social-icons-footer { justify-content: center; }
}
