@charset "UTF-8";

/* TIPOGRAFÍA */
@font-face {
    font-family: 'LastChristmas';
    src: url("FONTS/LastChristmas.woff") format("woff");
    font-weight: 900;
}

/* ------------------------- */
/* GENERAL */
/* ------------------------- */
body {
     margin: 0;
    padding: 0;
    font-family: "Raleway", sans-serif;
    color: #fff;

    background: #000 url("IMAGES/fondo-degradado.png") no-repeat top center / cover;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

p {
	
	line-height: 1.5;
}

/* ------------------------- */
/* NAV */
/* ------------------------- */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
	transition: background-color 0.3s ease;
}

.nav.scrolled {
    background-color: #000; 
}

.nav-inner {
    width: 100%;
    padding: 0 40px; 
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-nav {
    height: 42px;
    display: block;
}
.nav-right {
    display: flex;
    align-items: center; 
    gap: 24px;
}


.nav-link {
    font-size: 14px;
    color: #fff;

    line-height: 1;      
    display: flex;       
    align-items: center; 
}

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


/* Botones */
.nav-btn,
.btn-primary,
.btn-ver-video {
    background: #C028B9;
    color: #fff !important;
    padding: 12px 26px;
    border-radius: 32px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.nav-btn {
	font-size: 14px;
}

.nav-btn:hover,
.btn-primary:hover,
.btn-ver-video:hover {
    background: #fff;
    color: #C028B9 !important;
}

.nav-btn-mobile {
    display: none;
}

/* ------------------------- */
/* HEADER VIDEO */
/* ------------------------- */
/* CONTENEDOR */
.header-video {
    position: relative;
    width: 100vw;
    height: 100vh;    
    overflow: hidden;
	margin: 0;
	padding: 0;
}

/* VIDEO */
.header-video-element {
	position: absolute;
	top: 0;
	left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
	object-position: center center;
    display: block;
    background: #000;
}

/* Ocultar overlays */
.btn-ver-video,
.video-overlay {
    display: none !important;
}

/* Estilo general para subtítulos */
video::cue {
    background: rgba(0, 0, 0, 0.35);
}

/* Estilo específico del vídeo */
.header-video-element::cue {

    background: rgba(0, 0, 0, 0.35);
    padding: 0.3em 0.6em;
    border-radius: 4px;
    font-size: 2.2vw;
}


/* ------------------------- */
/* HERO TEXT */
/* ------------------------- */
.hero-text {
    max-width: 800px;
    margin: 0 auto 20px;      
    text-align: center;  
}

.hero-text h1 {
	font-family: 'LastChristmas';
    font-size: 52px;
    line-height: 1.3;
}

.hero-text h1 span {
font-family: "Raleway", sans-serif;
	font-weight: 300;
    font-size: 45px;
    line-height: 1.3;
}



.hero-text p:last-of-type {
    margin-bottom: 60px; 
}

.hero-text .btn-primary {
    margin-top: 40px;
}

.btn-primary {
    margin-top: 40px;
}

/* ------------------------- */
/* FUNDACIÓN */
/* ------------------------- */
.fundacion {
    padding: 0;
}

.fundacion-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    padding-top: 40px;
}

.fundacion-texto {
    flex: 1;
    text-align: left;
    padding-bottom: 60px;
}

.fundacion-texto h2 {
	
	font-weight: 400
}


.fundacion-imagen {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.fundacion-imagen img {
    width: 100%;
    max-width: 520px;
    object-fit: contain;
    margin-bottom: 0;
}

.logo-fundacion {
	width: 150px
}

.fpd_link a {
	color: #FFFFFF !important;
}

.fpd_link a:hover {
	color: #ff4de7 !important;
}

/* ------------------------- */
/* FOOTER */
/* ------------------------- */
.footer {
    background: #000;
    padding: 30px 0 20px;
}

.footer-inner {
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;     /* <-- SOLUCIÓN CLAVE */
    box-sizing: border-box; /* <-- asegura cálculo correcto */
}

.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
}

.footer-logo {
    width: 140px;
}

.footer-links {
    display: flex;
    gap: 24px;
	position: relative;
}

.footer-links a {
    color: #fff;
    font-size: 12px;
	position: relative;
}

.footer-links a:hover {
    color: #ff4de7;
}

.footer-links a + a::before {
    content: "";
    position: absolute;
    left: -12px; 
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 16px;
    background-color: #C028B9;
}

.copyright {
	font-size: 12px;
}

/* ============================================================
   TABLET 768–1024 
   ============================================================ */
@media (min-width: 768px) and (max-width: 1024px) {

    /* ---------- NAV ---------- */
    .nav-inner {
        padding: 0 32px;
    }

    .logo-nav {
        height: 38px;
    }

    .nav-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* ---------- HERO TEXT ---------- */
    .hero-text .container {
        max-width: 720px;
        padding: 0 24px;
    }

    .hero-text h1 {
        font-size: 44px;
    }

    .hero-text h1 span {
        font-size: 78px;
    }

    .hero-text p {
        max-width: 80%;
        margin: 12px auto;
        font-size: 16px;
    }

    .btn-primary {
        margin-top: 38px;
        padding: 15px 34px;
        font-size: 16px;
    }


    /* ---------- FUNDACIÓN ---------- */
    .fundacion-container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .fundacion-texto {
        max-width: 80%;
        text-align: center;
        padding-bottom: 0;
    }

    .fundacion-texto p {
        text-align: center;
        font-size: 16px;
        line-height: 1.35;
    }

    .logo-fundacion {
        width: 190px;
        margin: 25px auto;
    }

    .gracias {
        font-size: 17px;
        margin-top: 12px;
    }

    /* ---------- IMAGEN GRANDE (MOSAICO) ---------- */
    .fundacion-imagen img {
        width: 115%;           /* MÁS GRANDE */
        max-width: none;       /* NO limitar tamaño */
        margin-left: 10%;      /* La desplazamos para que se corte a la derecha */
        display: block;
    }


    /* ---------- FOOTER ---------- */

    .footer-inner {
        max-width: 900px;
        margin: 0 auto;
        padding: 30px 24px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        text-align: center;
    }

    .footer-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .footer-logo {
        width: 150px;
    }

    .footer-links {
        gap: 18px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .copyright {
        font-size: 14px;
        opacity: 0.8;
    }

    /* ---------- VIDEO POPUP ---------- */
    .video-wrapper {
        width: 95%;
        max-width: 900px;
    }

    .close-video-btn {
        width: 48px;
        height: 48px;
        font-size: 24px;
        top: -15px;
        right: -15px;
    }
}

/* ============================================================
   MOBILE ≤ 767px
   ============================================================ */
@media (max-width: 767px) {
	
	.container {
		margin-bottom: 20px
	}
	
	/* ---------- HEADER VIDEO (MOBILE) ---------- */
  .header-video {
        width: 100%;
        height: auto;
        overflow: hidden;
        padding: 0;
        margin-top: 90px; 
        position: relative; 
    }

    .header-video-element {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;   
        position: static;      
        background: #000;
    }

    /* ---------- NAV ---------- */
    .nav-inner {
        padding: 10px 20px;
    }

    .logo-nav {
        height: 26px;
    }

    .nav-right {
        gap: 14px;
    }

    .nav-btn {
        padding: 10px 20px;
        font-size: 12px;
		 position: relative;
        color: transparent !important;
    }

    .nav-link {
        font-size: 12px;
    }
	
	 .nav-btn-desktop {
        display: none !important;
    }

  .nav-btn-mobile {
    display: inline-block !important;
    padding: 10px 22px !important;
    font-size: 14px !important;
    font-weight: 700;
    color: #fff !important;
    background: #C028B9 !important;
    border-radius: 32px;
    position: static !important;
}

.nav-btn-mobile::after {
    content: none !important;
}

.nav-btn-mobile * {
    color: #fff !important;
}

    /* ---------- HERO TEXT ---------- */
    .hero-text .container {
        max-width: 100%;
        padding: 0 20px;
        text-align: center;
    }
	
	.hero-text p:last-of-type {
    margin-bottom: 0px; 
}

    .hero-text h1 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 20px;
        text-align: center;
    }

    .hero-text h1 span {
        font-size: 44px;
        display: block;
        margin-top: 6px;
        text-align: center;
    }

    .hero-text p {
        max-width: 95%;
        margin: 8px auto;
        font-size: 14px;
        line-height: 1.35;
        text-align: center;
    }

    .btn-primary {
        margin-top: 20px;
        padding: 12px 26px;
        font-size: 14px;
        display: inline-block;
    }

    /* ---------- FUNDACIÓN ---------- */
	
	.fundacion {
    padding-bottom: 0 !important;
		  margin-bottom: 0 !important;
}
	
    .fundacion-flex {
        display: block !important;
        width: 100%;
        padding: 0 25px !important;
        text-align: center;
		padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    }

    .fundacion-texto {
        width: 100% !important;
        max-width: none !important;
        margin: 0 auto 25px !important;
        padding-bottom: 0 !important;
        text-align: center !important;
    }

    .fundacion-texto p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 300px !important;
        line-height: 1.35;
		font-size: 14px;
    }

    .logo-fundacion {
        width: 150px;
        display: block;
        margin: 20px auto 10px;
    }

    .gracias {
        margin-top: 10px;
        font-size: 15px;
        text-align: center;
    }

    /* Imagen abajo y centrada */
    .fundacion-imagen {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-top: 20px !important;
		margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    }

    .fundacion-imagen img {
        width: 85% !important;
        max-width: 330px !important;
        height: auto !important;
        margin: 0 auto !important;
		margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    }

    /* ---------- VIDEO POPUP ---------- */
    .video-wrapper {
        width: 95%;
        max-width: 95%;
    }

    .close-video-btn {
        width: 44px;
        height: 44px;
        font-size: 20px;
        top: -12px;
        right: -12px;
    }

    /* ---------- FOOTER ---------- */
    .footer {
        padding: 30px 0;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 20px;
        text-align: center;
    }

    .footer-left {
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .footer-logo {
        width: 110px;
    }

    .footer-links {
        gap: 16px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-links a {
        font-size: 11px;
    }

    .footer-links a:not(:first-child)::before {
        height: 12px;
        left: -10px;
    }

    .copyright {
        font-size: 11px;
        opacity: 0.75;
        margin-top: 10px;
        text-align: center;
    }
}



