/* ================================
   RESET AND BASE STYLES
   ================================ */

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

body {
    font-family: 'Saans-TRIAL', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #4B2354;
    background: linear-gradient(270deg, rgba(75, 35, 84, 1) 0%, rgba(118, 36, 154, 1) 47%, rgba(46, 29, 77, 1) 100%);
}

/* ================================
   MAIN LAYOUT
   ================================ */

.main-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section {
    width: 100%;
    padding: 80px 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ================================
   HEADER - MENÚ MÓVIL COMPLETO - HEADER MÁS ANCHO
   ================================ */

.header {
    background-color: rgba(0, 0, 0, 0.18);
    border-radius: 16px;
    padding: 12px 10px;
    margin: 24px auto 0 auto;
    box-shadow: 0px 4px 70px rgba(136, 136, 136, 0.3);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    width: 80px;
    height: 26px;
    z-index: 1002;
}

/* Menú hamburguesa */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Overlay del menú móvil */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.nav-link:hover {
    color: #b147ff;
}

.cta-button,
.cta-button-mobile {
    background-color: #ffffff;
    color: #000000;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover,
.cta-button-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.cta-button-mobile {
    display: none;
}

.desktop-only {
    display: block;
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 160px 16px 80px;
    /* Ajustado para header fijo */
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(90deg, #efdfff 0%, #fda5d6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    max-width: 1000px;
}

.hero .highlight {
    background: linear-gradient(90deg, #b147ff 0%, #f3359e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.hero p {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 48px;
    opacity: 0.9;
    max-width: 800px;
}

.hero-img {
    width: 100%;
    max-width: 1056px;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: translateY(-5px);
}

/* ================================
   PARTNERS SECTION
   ================================ */

.partners {
    text-align: center;
    padding: 100px 16px;
}

.partners h2 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    background: linear-gradient(90deg, #ffffff 0%, #9380ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.partners .highlight {
    background: linear-gradient(90deg, #b147ff 0%, #f3359e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.partners p {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 60px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.logos {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    justify-content: center;
}

.logo-box {
    background: linear-gradient(270deg, #faf5fe 0%, #fcf2f8 100%);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0px 8px 32px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-width: 280px;
    text-align: center;
}

.logo-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 16px 48px rgba(255, 255, 255, 0.15);
}

.logo-box img {
    max-width: 100%;
    height: 80px;
    object-fit: contain;
}

.logo-box span {
    font-size: 16px;
    font-weight: 600;
    color: #6e0873;
}

/* ================================
   MISSION SECTION
   ================================ */

.mission {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    padding: 100px 16px;
    text-align: center;
}

.mission .text {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.mission h2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(90deg, #ffffff 0%, #9380ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    text-align: center;
}

.mission .highlight {
    background: linear-gradient(90deg, #b147ff 0%, #f3359e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.mission p {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 32px;
    opacity: 0.9;
    line-height: 1.5;
    text-align: center;
}

.mission ul {
    list-style: none;
    margin-bottom: 40px;
    text-align: center;
}

.mission li {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    opacity: 0.9;
    padding-left: 8px;
    text-align: center;
}

.mission-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.mission-img:hover {
    transform: translateY(-5px);
}

/* ================================
   BUTTON STYLES
   ================================ */

.btn {
    background: linear-gradient(90deg, #b147ff 0%, #f3359e 100%);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(177, 71, 255, 0.4);
}

/* ================================
   PLACES & BUSINESS SECTIONS
   ================================ */

.places,
.business {
    text-align: center;
    padding: 100px 16px;
}

.places h2,
.business h2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(90deg, #ffffff 0%, #9380ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.places p,
.business p {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 60px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 50px;
    justify-items: center;
}

.card {
    background: linear-gradient(270deg, #faf5fe00 0%, #fcf2f800 100%);
    border-radius: 20px;
    max-width: 350px;
    padding: 12px;
    min-height: 300px;
    box-shadow: 0px 8px 32px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card video {
    width: 250px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 20px 60px rgba(255, 255, 255, 0.15);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(177, 71, 255, 0.1) 0%, rgba(243, 53, 158, 0.1) 100%);
    border-radius: 20px;
    transition: opacity 0.3s ease;
    opacity: 0;
}

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

/* ================================
   FOOTER
   ================================ */

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 16px 40px;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.8;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.social-link:hover {
    opacity: 1;
    transform: scale(1.2);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.footer-link {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.footer-link:hover {
    color: #b147ff;
    opacity: 1;
}

/* ================================
   ANIMATIONS
   ================================ */

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ================================
   RESPONSIVE DESIGN - MENÚ MÓVIL
   ================================ */

/* Mobile - hasta 480px */
@media (max-width: 480px) {
    .header {
        padding: 10px 16px;
        margin: 12px;
        width: 95%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(180deg, rgba(75, 35, 84, 0.98) 0%, rgba(118, 36, 154, 0.98) 100%);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        align-items: flex-start;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 18px;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .cta-button {
        display: none;
    }

    .cta-button-mobile {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }
}

/* Tablet - 481px a 768px */
@media (min-width: 481px) and (max-width: 768px) {
    .header {
        padding: 12px 20px;
        margin: 16px;
        width: 95%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 350px;
        height: 100vh;
        background: linear-gradient(180deg, rgba(75, 35, 84, 0.98) 0%, rgba(118, 36, 154, 0.98) 100%);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        align-items: flex-start;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 20px;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .cta-button {
        display: none;
    }

    .cta-button-mobile {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }
}

/* Desktop pequeño - 769px en adelante */
@media (min-width: 769px) {
    .header {
        margin: 20px;
        width: 95%;
        max-width: 1400px;
        padding: 12px 40px;
    }

    .nav-links {
        display: flex;
        gap: 40px;
    }

    .nav-link {
        font-size: 18px;
    }

    .desktop-only {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }
}

/* ================================
   RESPONSIVE DESIGN - RESTO DEL SITIO
   ================================ */

/* Small screens (640px and up) */
@media (min-width: 640px) {
    section {
        padding: 100px 24px;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero p {
        font-size: 22px;
    }

    .mission h2 {
        font-size: 48px;
    }

    .partners h2,
    .places h2,
    .business h2 {
        font-size: 48px;
    }

    .logos {
        flex-direction: row;
        gap: 40px;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium screens (768px and up) */
@media (min-width: 768px) {
    section {
        padding: 120px 32px;
    }

    .hero h1 {
        font-size: 68px;
    }

    .hero p {
        font-size: 20px;
    }

    /* MISSION - TEXTO IZQUIERDA, IMAGEN DERECHA EN DESKTOP */
    .mission {
        flex-direction: row;
        align-items: center;
        gap: 80px;
        text-align: left;
    }

    .mission .text {
        flex: 1;
        text-align: left;
        max-width: none;
    }

    .mission h2 {
        font-size: 54px;
        text-align: left;
    }

    .mission p {
        text-align: left;
    }

    .mission ul {
        text-align: left;
    }

    .mission li {
        text-align: left;
    }

    .mission-img {
        flex: 0 0 400px;
        max-width: 400px;
    }

    .partners h2,
    .places h2,
    .business h2 {
        font-size: 54px;
    }

    .cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-brand {
        text-align: center;
        flex: 1;
    }

    .footer-links {
        flex-direction: row;
        text-align: left;
        gap: 60px;
    }
}

/* Large screens (1024px and up) */
@media (min-width: 1024px) {
    section {
        padding: 100px 48px;
    }

    .hero h1 {
        font-size: 64px;
    }

    .mission h2 {
        font-size: 60px;
    }

    .partners h2,
    .places h2,
    .business h2 {
        font-size: 60px;
    }

    .logos {
        gap: 60px;
    }

    .logo-box {
        min-width: 320px;
        padding: 40px;
    }
}

/* Extra large screens (1280px and up) */
@media (min-width: 1280px) {
    .hero h1 {
        font-size: 70px;
    }

    .mission h2 {
        font-size: 66px;
    }

    .partners h2,
    .places h2,
    .business h2 {
        font-size: 66px;
    }
}

/* 2XL screens (1536px and up) */
@media (min-width: 1536px) {
    .hero h1 {
        font-size: 51px;
    }

    .mission h2 {
        font-size: 50px;
    }

    .partners h2,
    .places h2,
    .business h2 {
        font-size: 50px;
    }
}