/* VARIABLES */
:root {
    --red: #DC143C;
    --dark-red: #B01030;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray: #F5F5F5;
    --text: #333333;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    display: block;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 45px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--red);
    line-height: 1.2;
}

.party {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--red);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    transition: all 0.3s;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-video,
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220,20,60,0.6) 0%, rgba(176,16,48,0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 2px solid rgba(255,255,255,0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-text {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* BUTTONS */
.btn-primary,
.btn-secondary {
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--white);
    color: var(--red);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--red);
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.bg-gray {
    background: var(--gray);
}

.section-red {
    background: linear-gradient(135deg, var(--red) 0%, var(--dark-red) 100%);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--red);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.underline.white {
    background: var(--white);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto;
}

.section-header.white h2,
.section-header.white .subtitle {
    color: var(--white);
}

/* SOBRE MI */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--red);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.features {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.feature i {
    font-size: 2rem;
    color: var(--red);
}

.feature h4 {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.feature p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* PROPUESTAS */
.proposals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.proposal {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.proposal:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220,20,60,0.15);
}

.proposal-icon {
    width: 70px;
    height: 70px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.proposal-icon i {
    font-size: 2rem;
    color: var(--white);
}

.proposal h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--black);
}

.proposal p {
    color: #666;
    line-height: 1.7;
}

/* PEX */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    border: 2px solid rgba(255,255,255,0.2);
}

.stat i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 5px;
}

.stat p {
    font-size: 0.95rem;
}

.countries {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid rgba(255,255,255,0.2);
}

.country-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.country-tags span {
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* GALERIA */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(220,20,60,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--white);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
}

.modal-img {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    margin-top: 50px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    cursor: pointer;
}

/* CONTACTO */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.info-item i {
    font-size: 1.8rem;
    color: var(--red);
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.info-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.social {
    padding: 25px;
    background: var(--white);
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
}

.social h4 {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(220,20,60,0.3);
}

/* FORM */
.contact-form {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--red);
}

.contact-form button {
    width: 100%;
}

/* FOOTER */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-weight: 700;
    margin: 5px 0;
}

.footer-logo .small {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(220,20,60,0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--red);
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* SCROLL TOP */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
    z-index: 999;
}

.scroll-top:hover {
    transform: translateY(-3px);
}

.scroll-top.active {
    display: flex;
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        padding: 15px;
        display: block;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 25px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .proposals-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}