/* --- Reseteo Básico y Variables --- */
:root {
    --pink-primary: #e91e63;
    --pink-primary-rgb: 233, 30, 99;
    --pink-secondary: #f8bbd0;
    --pink-secondary-rgb: 248, 187, 208;
    --pink-highlight: #ff80ab;
    --pink-highlight-rgb: 255, 128, 171;
    --footer-bg-dark: #1d0a1d;
    --footer-bg-dark-rgb: 29, 10, 29;
    --feature-color-1: #ff8da1;
    --feature-color-1-rgb: 255, 141, 161;
    --feature-color-2: #ec407a;
    --feature-color-2-rgb: 236, 64, 122;
    --feature-color-3: #64d8cb;
    --feature-color-3-rgb: 100, 216, 203;
    --text-dark: #333;
    --text-light: #fdfdfd;
    --text-light-rgb: 253, 253, 253;
    --bg-light: #fff9fb;
    --bg-gradient: linear-gradient(135deg, #fef6f9 0%, #ffffff 50%, #fef6f9 100%);
    --font-heading: 'Montserrat', sans-serif;
    --font-body-intro-hero: 'Caveat', cursive;
    --font-body: 'Open Sans', sans-serif;
    --font-script: 'Caveat', cursive;
    --font-elegant: 'Playfair Display', serif;
    --font-collaborator-name: 'Playfair Display', serif;
    --border-radius: 12px;
    --card-arch-radius: 70px;
    --collaborator-gradient-start: #fce7f3;
    --collaborator-gradient-end: #fbcfe8;
    --fondo-mensaje-yaiza: url('images/textura-rosada.jpg');
    --textura-cabecera-interna: url('images/textura-fondo-claro.png');
    --final-section-bg: url('images/footer-background-yaiza.png');
    --nav-height-on-banner: 60px;
    --dots-texture-videos: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1.5' cy='1.5' r='1.5' fill='%23fde7f0' fill-opacity='0.6'/%3E%3C/svg%3E");
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-gradient);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 0;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: var(--pink-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

/* --- HERO SECTION (DISEÑO PARA INDEX.HTML) - "El Aura Resplandeciente" --- */
@keyframes heroImageEntry {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes heroImageFloat {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

.hero-section {
    background-color: var(--bg-light);
    position: relative;
    display: flex;
    align-items: center;
    min-height: 650px;
    padding-top: var(--nav-height-on-banner);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 60%;
    height: 120%;
    background-color: rgba(var(--pink-secondary-rgb), 0.25);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.hero-text-content {
    padding-right: 0;
    position: relative;
    z-index: 2;
}

.hero-text-content h1 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.1;
    text-align: left;
    margin: 0 0 15px 0;
    padding: 0;
}

.hero-text-content h1 span {
    display: block;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    letter-spacing: -1px;
    font-weight: 800;
}

.hero-word-amor {
    color: var(--pink-highlight);
}

.hero-word-ciencia {
    color: var(--text-dark);
    padding-left: 0.5em;
}

.hero-word-cura {
    color: var(--pink-highlight);
    padding-left: 1em;
}

.hero-text-content .subtitle {
    font-family: var(--font-body-intro-hero);
    font-size: clamp(1.4rem, 2.2vw, 1.7rem);
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0 0 25px 0;
    font-weight: 400;
    text-align: left;
}

.hero-text-content .subtitle .intro-name {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 2.7vw, 2rem);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    color: var(--pink-primary);
}

.hero-image-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    position: relative;
    animation: heroImageEntry 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s backwards;
}

.hero-image-content img {
    max-width: 110%;
    height: auto;
    object-fit: contain;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    animation: heroImageFloat 8s ease-in-out infinite alternate;
    filter: drop-shadow(-8px 8px 15px rgba(0, 0, 0, 0.15)) drop-shadow(0px 0px 30px rgba(var(--pink-highlight-rgb), 0.3));
    transition: filter 0.4s ease-out, transform 0.4s ease-out;
}

.hero-image-content:hover img {
    animation-play-state: paused;
    transform: scale(1.03);
    filter: drop-shadow(-8px 8px 20px rgba(0, 0, 0, 0.18)) drop-shadow(0px 0px 45px rgba(var(--pink-highlight-rgb), 0.45));
}

.hero-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--pink-primary);
    color: var(--text-light);
    box-shadow: 0 6px 20px rgba(var(--pink-primary-rgb), 0.3);
    padding: 12px 28px;
    font-family: var(--font-script);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: lowercase;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.5px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
}

.hero-cta-button .play-icon-svg {
    margin-right: 8px;
    width: 20px;
    height: 20px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-cta-button:hover {
    background-color: var(--pink-highlight);
    color: var(--text-light);
    box-shadow: 0 8px 25px rgba(var(--pink-highlight-rgb), 0.45);
    transform: translateY(-4px) scale(1.05);
}

.hero-cta-button:active {
    background-color: #d81652;
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 3px 10px rgba(var(--pink-primary-rgb), 0.35);
    transition-duration: 0.08s;
}

.hero-cta-button:hover .play-icon-svg {
    transform: scale(1.15);
}

/* --- ESTILOS GENERALES --- */
h2 {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(var(--pink-primary-rgb), 0.1);
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--pink-highlight), var(--pink-primary));
    border-radius: 2px;
}

.highlight {
    color: var(--pink-highlight);
    font-weight: 700;
}

h2 .highlight {
    color: var(--pink-primary);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--pink-highlight);
    color: var(--text-light);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-family: var(--font-heading);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 18px rgba(var(--pink-primary-rgb), 0.25);
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    background-color: var(--pink-primary);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(var(--pink-primary-rgb), 0.3);
}

.cta-button:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 2px 8px rgba(var(--pink-primary-rgb), 0.2);
    transition-duration: 0.1s;
}

.cta-button.cta-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

a:not(.cta-button):not(.hero-cta-button):active {
    opacity: 0.75;
}

/* --- NAVEGACIÓN PRINCIPAL --- */
.main-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height-on-banner);
    padding: 0 20px;
    transition: background-color 0.3s ease;
}

.nav-logo-link {
    line-height: 0;
    z-index: 101;
    position: relative;
    padding: 5px;
}

.nav-logo {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.hero-section > .main-nav {
    background-color: transparent;
}

.hero-section-internal-banner .main-nav {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
}

.main-nav .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.main-nav .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
    order: 1;
}

.main-nav .menu-toggle {
    order: 2;
    margin-left: 20px;
}

.main-nav .nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.hero-section-internal-banner .main-nav .nav-links li a {
    color: var(--text-light);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.main-nav .nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--pink-highlight);
    transition: width 0.3s ease;
}

.main-nav .nav-links li a:hover,
.main-nav .nav-links li a.active-link {
    color: var(--pink-highlight);
}

.main-nav .nav-links li a:hover::after,
.main-nav .nav-links li a.active-link::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hero-section-internal-banner .menu-toggle span {
    background-color: var(--text-light);
}

/* --- HERO PARA PÁGINAS INTERNAS (GENÉRICO) --- */
.hero-section-internal-banner {
    min-height: 350px;
    padding-top: 0;
    display: block;
}

.hero-section-internal-banner .hero-banner-image-container {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-section-internal-banner .hero-text-overlay {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    width: 100%;
}

.hero-section-internal-banner .hero-text-overlay .container {
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 8%;
    padding-right: 20px;
    margin: 0;
    width: 100%;
    max-width: 60%;
    text-align: left;
}

.hero-section-internal-banner .hero-text-overlay h1 {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: clamp(2.0rem, 4.5vw, 2.8rem);
    text-align: left;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-section-internal-banner .hero-text-overlay h1 .highlight {
    color: var(--pink-highlight);
}

.hero-section-internal-banner .hero-text-overlay .page-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    margin-bottom: 0;
    max-width: 90%;
    text-align: left;
    line-height: 1.5;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

/* --- BANNERS ESPECÍFICOS --- */
.hero-section-historias .historias-banner-bg { background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65)), url('images/banner-hero-historias.png'); }
.hero-section-muro-esperanza .muro-esperanza-banner-bg { background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65)), url('images/banner-hero-esperanza.png'); }
.hero-section-proyecto .proyecto-banner-bg { background-image: url('images/fondo-globos-proyecto.png'); background-size: cover; background-position: center center; min-height: 400px; background-color: var(--pink-secondary); }
.hero-section-recursos .recursos-banner-bg { background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55)), url('images/banner-hero-recursos.png'); }
.hero-section-calma .calma-banner-bg { background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url('images/zen.png'); }


/* ==================================================================== */
/* ===== INICIO: CABECERA CON DIFUMINADO (NOTICIAS Y ENTREVISTAS) ===== */
/* ==================================================================== */

.hero-section-noticias .noticias-banner-bg,
.hero-section-entrevistas .entrevistas-banner-bg {
    display: flex;
    align-items: center;
    min-height: 400px;
    background-color: #2c0a25; /* Color de fondo sólido a la derecha */
    position: relative; 
    overflow: hidden;
}

/* 1. Capa de la imagen (::before) */
/* Coloca la imagen a la izquierda, debajo de todo */
.hero-section-entrevistas .entrevistas-banner-bg::before,
.hero-section-noticias .noticias-banner-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: auto 100%; 
    background-position: left center;
    z-index: 0; /* Capa inferior */
}

/* Asignamos la imagen específica a cada sección */
.hero-section-noticias .noticias-banner-bg::before {
    background-image: url('images/fondo-noticias.png');
}
.hero-section-entrevistas .entrevistas-banner-bg::before {
    background-image: url('images/banner-hero-entrevistas.png');
}

/* 2. Capa del degradado (::after) - ¡LA MAGIA! */
/* Crea el difuminado encima de la imagen, de transparente a sólido */
.hero-section-entrevistas .entrevistas-banner-bg::after,
.hero-section-noticias .noticias-banner-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Este degradado crea la transición suave de la imagen al color de fondo */
    background: linear-gradient(to right, 
        rgba(44, 10, 37, 0) 20%,   /* La imagen es visible en la izquierda (transparente) */
        rgba(44, 10, 37, 0.8) 48%, /* Empieza a fundirse con el color de fondo */
        #2c0a25 55%                /* Se convierte en el color de fondo sólido a la derecha */
    );
    z-index: 1; /* Se asegura de estar sobre la imagen (::before) */
}

/* 3. Capa del texto (hero-text-overlay) */
/* El texto se posiciona por encima de todo */
header.hero-section-noticias .hero-text-overlay .container,
header.hero-section-entrevistas .hero-text-overlay .container {
    text-align: left;
    max-width: 50%;
    margin-left: auto;
    margin-right: 5%;
    position: relative;
    z-index: 2; /* Se asegura de estar sobre el degradado (::after) */
}

/* =============================================================== */
/* ===== FIN: CABECERA CON DIFUMINADO (NOTICIAS Y ENTREVISTAS) ===== */
/* =============================================================== */


.personal-message-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-light);
}

.personal-message-section > .container {
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.96);
    padding: 35px 45px;
    border-radius: var(--border-radius);
    display: inline-block;
    max-width: 520px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.personal-message-section > .container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--fondo-mensaje-yaiza);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: -1;
    border-radius: inherit;
}

.personal-message-section .message-content h2 {
    text-shadow: 0px 1px 4px rgba(255, 255, 255, 0.7);
}

.personal-message-section .message-content p {
    text-shadow: 0px 1px 3px rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 2;
}

.personal-message-section .message-content .quote {
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.65;
    color: #303030;
    margin-bottom: 30px;
}

.personal-message-section .message-content .signature {
    font-family: var(--font-script);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pink-primary);
    text-align: right;
    margin-top: 15px;
    margin-bottom: 0;
}

.personal-message-section--with-banner-bg {
    background-image: url('images/fondo-globos-proyecto.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.personal-message-section--with-banner-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--pink-secondary-rgb), 0.1);
    z-index: 0;
}

.personal-message-section--with-banner-bg > .container {
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.features-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    text-align: center;
}

.feature-item {
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(100, 100, 100, 0.1);
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.feature-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(80, 80, 80, 0.18);
}

.feature-item-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 1;
}

.feature-item-content-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: 35px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease-out;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.feature-item:hover .feature-item-content-overlay {
    transform: scale(1.03);
}

.feature-item-content-overlay .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-item-content-overlay h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: inherit;
    line-height: 1.25;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6), 0 0 5px rgba(0, 0, 0, 0.3);
}

.feature-item-content-overlay p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    color: inherit;
    max-width: 90%;
    font-weight: 400;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5), 0 0 3px rgba(0, 0, 0, 0.2);
}

.videos-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    background-image: var(--dots-texture-videos);
    background-size: 10px 10px;
    position: relative;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(var(--pink-primary-rgb), 0.09);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.video-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 12px 30px rgba(var(--pink-primary-rgb), 0.15);
}

.video-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.video-thumbnail-wrapper {
    position: relative;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: hidden;
    border-bottom: 4px solid var(--pink-primary);
}

.video-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-out;
}

.video-card:hover img {
    transform: scale(1.05);
}

.video-card h4 {
    padding: 20px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--pink-primary);
}

.collaborators-section {
    padding: 80px 0;
    background-image: linear-gradient(to bottom, var(--collaborator-gradient-start), var(--collaborator-gradient-end));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.collaborators-section > .container {
    position: relative;
    z-index: 1;
}

.floating-hearts-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.heart {
    position: absolute;
    background-image: url('images/corazon-flotante.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0;
    will-change: transform, opacity;
    animation-name: floatUp;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.heart.style1 {
    width: 30px;
    height: 30px;
    animation-duration: 25s;
}

.heart.style2 {
    width: 45px;
    height: 45px;
    animation-duration: 20s;
}

.heart.style3 {
    width: 55px;
    height: 55px;
    animation-duration: 15s;
}

.heart.style4 {
    width: 28px;
    height: 28px;
    animation-duration: 30s;
}

.heart.delay1 {
    animation-delay: -5s;
}

.heart.delay2 {
    animation-delay: -10s;
}

.heart.delay3 {
    animation-delay: -15s;
}

.floating-hearts-bg .heart:nth-child(1) {
    left: 10%;
    top: 105%;
}

.floating-hearts-bg .heart:nth-child(2) {
    left: 85%;
    top: 110%;
}

.floating-hearts-bg .heart:nth-child(3) {
    left: 5%;
    top: 102%;
}

.floating-hearts-bg .heart:nth-child(4) {
    left: 90%;
    top: 108%;
}

.floating-hearts-bg .heart:nth-child(5) {
    left: 20%;
    top: 115%;
    animation-delay: -2s;
}

.floating-hearts-bg .heart:nth-child(6) {
    left: 70%;
    top: 103%;
    animation-delay: -7s;
}

.floating-hearts-bg .heart:nth-child(7) {
    left: 30%;
    top: 106%;
    animation-delay: -12s;
}

.floating-hearts-bg .heart:nth-child(8) {
    left: 60%;
    top: 109%;
    animation-delay: -4s;
}

.floating-hearts-bg .heart:nth-child(9) {
    left: 45%;
    top: 112%;
    animation-delay: -9s;
}

.floating-hearts-bg .heart:nth-child(10) {
    left: 75%;
    top: 104%;
    animation-delay: -14s;
}

@keyframes floatUp {
    0% {
        transform: translateY(0px);
        opacity: 0;
    }
    15% {
        opacity: 0.5;
    }
    85% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-110vh);
        opacity: 0;
    }
}

.stories-section {
    padding: 60px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.stories-section > .container {
    position: relative;
    z-index: 1;
}

#stories-list-container .story-entry {
    background-color: var(--bg-light);
    padding: 30px 35px;
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 6px 20px rgba(var(--pink-primary-rgb), 0.07);
    text-align: left;
}

#stories-list-container .story-entry:last-child {
    margin-bottom: 0;
}

#stories-list-container .story-header {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--pink-secondary);
    padding-bottom: 15px;
}

#stories-list-container .story-title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    color: var(--pink-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

#stories-list-container .story-meta {
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
    margin-bottom: 0;
}

#stories-list-container .story-meta .story-author {
    font-weight: 600;
    color: var(--pink-primary);
}

#stories-list-container .story-excerpt {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.stories-list-loading-skeleton {
    display: none;
}

.story-entry-skeleton {
    background-color: #f0f0f0;
    padding: 30px 35px;
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

@keyframes skeletonShine {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

.skeleton-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.skeleton-title {
    width: 70%;
    height: 28px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 12px;
}

.skeleton-meta {
    width: 50%;
    height: 16px;
    background-color: #e0e0e0;
    border-radius: 4px;
}

.skeleton-content {
    margin-bottom: 20px;
}

.skeleton-line {
    width: 100%;
    height: 18px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 10px;
}

.skeleton-line.short {
    width: 60%;
}

.skeleton-button {
    width: 120px;
    height: 38px;
    background-color: #e0e0e0;
    border-radius: 20px;
}

.no-stories {
    display: none;
    text-align: center;
    font-style: italic;
    color: #777;
    padding: 20px 0;
    font-size: 1.1rem;
}

.no-stories.error {
    display: none;
    color: #dc3545;
    font-style: normal;
    font-weight: bold;
}

.story-full-content .container article {
    padding: 20px 0;
}

.story-full-content .container article p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.8rem;
    color: var(--text-dark);
}

.story-full-content .container article p:first-of-type {
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
}

.back-to-stories {
    margin-top: 40px;
    text-align: center;
}

.back-to-stories .cta-button {
    background-color: var(--pink-secondary);
    color: var(--pink-primary);
    border: 1px solid var(--pink-primary);
}

.back-to-stories .cta-button:hover {
    background-color: var(--pink-highlight);
    color: var(--text-light);
}

.share-story-form-container {
    background-color: #fdf0f5;
    padding: 30px 35px;
    margin-top: 60px;
    margin-bottom: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 6px 20px rgba(var(--pink-primary-rgb), 0.07);
    text-align: left;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.share-story-form-container h3 {
    text-align: center;
    color: var(--pink-primary);
    margin-bottom: 30px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    position: relative;
    padding-bottom: 15px;
}

.share-story-form-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--pink-highlight), var(--pink-primary));
    border-radius: 2px;
}

.submit-story-button {
    display: block;
    width: auto;
    margin: 25px auto 0 auto;
    min-width: 220px;
}

.form-group .checkbox-label {
    display: inline-block;
    margin-left: 8px;
    font-weight: normal;
    font-size: 0.9rem;
    color: #444;
    position: relative;
    top: -2px;
    line-height: 1.4;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 5px;
    transform: scale(1.1);
}

.cta-button.loading,
.submit-hope-button.loading,
.submit-story-button.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.cta-button.loading::after,
.submit-hope-button.loading::after,
.submit-story-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border: 3px solid rgba(var(--text-light-rgb), 0.3);
    border-top-color: var(--text-light);
    border-radius: 50%;
    animation: buttonSpinner 0.8s linear infinite;
}

@keyframes buttonSpinner {
    to {
        transform: rotate(360deg);
    }
}

.cta-button.back-to-stories-btn.loading::after {
    border: 3px solid rgba(var(--pink-primary-rgb), 0.3);
    border-top-color: var(--pink-primary);
}

/* --- SECCIÓN FINAL / FOOTER --- */
.final-cta-footer-section {
    color: var(--text-light);
    padding: 0;
    background-color: var(--footer-bg-dark);
    background-image: linear-gradient(180deg, rgba(var(--footer-bg-dark-rgb), 0) 0%, rgba(var(--footer-bg-dark-rgb), 0.85) 70%, rgba(var(--footer-bg-dark-rgb), 0.95) 100%), var(--final-section-bg);
    background-size: cover;
    background-position: center 20%;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    justify-content: flex-end;
}

.final-cta-footer-section::before {
    content: none;
}

.final-cta-footer-section .container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px 20px 20px;
    max-width: 800px;
}

.final-cta-footer-section h2 {
    font-family: var(--font-elegant);
    font-style: italic;
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.2;
    color: var(--text-light);
    text-shadow: 0 0 15px rgba(var(--pink-highlight-rgb), 0.5);
    margin-bottom: 25px;
}

.final-cta-footer-section h2 .highlight {
    color: var(--pink-primary);
    text-shadow: 0 0 20px rgba(var(--pink-primary-rgb), 0.7);
}

.final-cta-footer-section h2::after {
    display: none;
}

.final-cta-footer-section p.invitation-text {
    font-family: var(--font-script);
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 30px;
}

.final-cta-footer-section .social-invite-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.final-social-media-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.final-social-media-links a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
    background-color: var(--pink-primary);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(var(--footer-bg-dark-rgb), 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.final-social-media-links a:hover {
    background-color: var(--pink-highlight);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(var(--pink-highlight-rgb), 0.5);
}

.final-social-media-links a img {
    height: 20px;
    width: auto;
    margin-right: 8px;
    border-radius: 0;
    box-shadow: none;
}

.final-social-media-links a span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1;
}

.final-cta-footer-section p.copyright-text {
    margin-top: auto;
    padding: 15px 20px 10px 20px;
    width: 100%;
    font-size: 0.8rem;
    opacity: 0.6;
    margin-bottom: 0;
}

.scroll-top-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    border: none;
    padding: 0;
    background-color: transparent !important;
}

.scroll-top-button .scroll-top-icon {
    width: 40px;
    height: 40px;
    display: block;
}

.scroll-top-button.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-button:hover {
    transform: translateY(-2px) scale(1.1);
    opacity: 0.85;
}

.page-content-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-content-section > section+section {
    margin-top: 60px;
}

#esperanza-contenido.page-content-section {
    background-color: #fde7f0;
}

#proyecto-contenido.page-content-section .personal-message-section,
#proyecto-contenido.page-content-section .features-section,
#recursos-contenido.page-content-section .videos-section,
#recursos-contenido.page-content-section #rincon-calma-recursos {
    padding-top: 0;
    padding-bottom: 0;
}

#proyecto-contenido.page-content-section > :first-child,
#recursos-contenido.page-content-section > :first-child {
    padding-top: 0;
}

.page-content-section:nth-child(even):not(#esperanza-contenido):not(#proyecto-contenido):not(#recursos-contenido) {
    background-color: var(--bg-light);
}

.page-content-section .intro-paragraph {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.resource-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: 0 6px 20px rgba(var(--pink-primary-rgb), 0.07);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 4px solid transparent;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, border-top-color 0.3s ease-out;
}

.resource-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 12px 30px rgba(var(--pink-primary-rgb), 0.12);
    border-top-color: var(--pink-highlight);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--pink-highlight);
}

.resource-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.resource-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.affirmation-box {
    background-color: var(--pink-secondary);
    color: var(--text-dark);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-top: 40px;
    text-align: center;
    font-family: var(--font-script);
    box-shadow: 0 4px 15px rgba(var(--pink-primary-rgb), 0.1);
}

.affirmation-box h4 {
    font-family: var(--font-heading);
    color: var(--pink-primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.affirmation-box p {
    font-size: 1.7rem;
    line-height: 1.4;
    margin-bottom: 0;
    color: var(--pink-primary);
}

.hope-form-container {
    background-color: var(--bg-light);
    padding: 30px 35px;
    margin-bottom: 50px;
    border-radius: var(--border-radius);
    box-shadow: 0 6px 20px rgba(var(--pink-primary-rgb), 0.07);
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hope-form-container h3 {
    text-align: center;
    color: var(--pink-primary);
    margin-bottom: 25px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    position: relative;
    padding-bottom: 15px;
}

.hope-form-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--pink-highlight), var(--pink-primary));
    border-radius: 2px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--pink-secondary);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pink-highlight);
    box-shadow: 0 0 0 3px rgba(var(--pink-highlight-rgb), 0.25);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-hope-button {
    display: block;
    width: auto;
    margin: 25px auto 0 auto;
    min-width: 200px;
}

.char-counter {
    font-size: 0.85rem;
    color: #777;
    text-align: right;
    margin-top: 5px;
}

.form-status-message {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.form-status-message.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-status-message.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    display: block;
}

.loading-messages,
.loading-story-detail,
.loading-interviews {
    text-align: center;
    font-style: italic;
    color: #777;
    padding: 20px 0;
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

.no-messages,
.no-interviews {
    display: none;
    text-align: center;
    font-style: italic;
    color: #777;
    padding: 20px 0;
    font-size: 1.1rem;
}

.no-messages.error,
.error-interviews {
    display: none;
    color: #dc3545;
    font-style: normal;
    font-weight: bold;
}

.video-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal-content {
    position: relative;
    background-color: #000;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16/9;
}

#youtubePlayerContainer {
    width: 100%;
    height: 100%;
}

#youtubePlayerContainer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-close-button {
    color: #fff;
    position: absolute;
    top: -35px;
    right: -5px;
    font-size: 35px;
    font-weight: bold;
    line-height: 1;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10;
}

.video-modal-close-button:hover,
.video-modal-close-button:focus {
    color: var(--pink-highlight);
    text-decoration: none;
}

@keyframes zoomInModal {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.intro-card {
    border: none;
    box-shadow: none;
    background: none;
    padding: 0;
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}

.intro-card .intro-card-icon,
.intro-card .intro-card-divider {
    display: none;
}

.intro-card--calma {
    background-color: #f5f8ff;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.intro-card--calma::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 128, 171, 0.4) 0%, rgba(248, 187, 208, 0.1) 60%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(15px);
    animation: breath 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes breath {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 1;
    }
}

.intro-card--calma::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 10% 20%, rgba(248, 187, 208, 0.15) 0px, transparent 40%), radial-gradient(ellipse at 90% 80%, rgba(173, 216, 230, 0.15) 0px, transparent 40%);
    z-index: 0;
}

.intro-card--calma .intro-card-headline,
.intro-card--calma .intro-card-body {
    position: relative;
    z-index: 2;
    color: #4a5578;
}

.intro-card--calma .intro-card-headline {
    font-family: var(--font-elegant);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    color: #3b4460;
    margin-bottom: 1.5rem;
}

.intro-card--calma .intro-card-body {
    max-width: 500px;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.intro-card--esperanza {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(var(--pink-primary-rgb), 0.1);
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 450px;
    background-color: var(--bg-light);
}

.intro-card--esperanza::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/abrazo.png');
    background-size: cover;
    background-position: center;
    filter: blur(4px) brightness(1.05);
    transform: scale(1.1);
    z-index: 0;
}

.intro-card--esperanza::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(var(--text-light-rgb), 0.75);
    z-index: 1;
}

.intro-card--esperanza .intro-card-headline,
.intro-card--esperanza .intro-card-body {
    position: relative;
    z-index: 2;
}

.intro-card--esperanza .intro-card-headline {
    font-family: var(--font-elegant);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--pink-primary);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.intro-card--esperanza .intro-card-body {
    max-width: 550px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.2);
    margin-bottom: 0;
}

.intro-card--historias {
    background-color: #fdf9f6;
    background-image: radial-gradient(circle at 95% 5%, rgba(var(--pink-secondary-rgb), 0.3) 0%, transparent 30%), url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f8bbd0' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    padding: 5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    border: 1px solid #fff;
}

.intro-card--historias .intro-card-headline {
    font-family: var(--font-script);
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--pink-primary);
    line-height: 1.1;
    font-weight: 700;
    text-align: left;
    transform: rotate(-2deg);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05);
}

.intro-card--historias .intro-card-body {
    padding: 0;
    margin: 0;
    text-align: left;
}

.intro-card--historias .intro-card-body p {
    font-family: var(--font-elegant);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0;
    border-left: 3px solid var(--pink-highlight);
    padding-left: 20px;
}

.intro-card--entrevistas {
    display: block;
    text-align: center;
    padding: 60px 30px;
    background-color: var(--bg-light);
    background-image: var(--textura-cabecera-interna);
    border-radius: var(--border-radius);
    max-width: 900px;
    margin: 0 auto 60px auto;
    border: none;
    box-shadow: 0 10px 40px rgba(var(--pink-secondary-rgb), 0.5);
}

.intro-card--entrevistas .intro-card-icon-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px auto;
    background: linear-gradient(135deg, #fff, #fdeff4);
    box-shadow: 0 5px 15px rgba(var(--pink-primary-rgb), 0.1);
}

.intro-card--entrevistas .intro-card-icon-container svg {
    width: 50px;
    height: 50px;
}

.intro-card--entrevistas .intro-card-text-container {
    text-align: center;
}

.intro-card--entrevistas .intro-card-headline {
    font-family: var(--font-elegant);
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 20px;
}

.intro-card--entrevistas .intro-card-body {
    border: none;
    padding: 0;
    max-width: 650px;
    margin: 0 auto;
    color: #666;
}

.intro-card--entrevistas .intro-card-body p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.cta-button.footer-cta-button {
    background-color: var(--pink-primary);
}

.cta-button.footer-cta-button:hover {
    background-color: var(--pink-highlight);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(var(--pink-highlight-rgb), 0.4);
}

.project-story-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 40%;
    gap: 50px;
    align-items: center;
}

.story-text-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.story-text-content .signature {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--pink-primary);
    text-align: left;
    margin-top: 20px;
}

.story-image-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.project-photo-collage {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 420px;
    margin: 40px auto 0 auto;
}

.project-photo-collage .collage-img:hover {
    transform: scale(1.1) rotate(0) translateY(-10px) !important;
    z-index: 10 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.collage-img {
    position: absolute;
    border-radius: var(--border-radius);
    border: 6px solid white;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    object-fit: cover;
}

.collage-img-1 {
    width: 80%;
    aspect-ratio: 0.8;
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(3deg);
    z-index: 2;
}

.collage-img-2 {
    width: 65%;
    aspect-ratio: 1;
    bottom: 0;
    left: -5%;
    transform: rotate(-15deg);
    z-index: 3;
}

.collage-img-3 {
    width: 60%;
    aspect-ratio: 0.9;
    bottom: 5%;
    right: -5%;
    transform: rotate(15deg);
    z-index: 1;
}

.timeline-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--pink-secondary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--pink-highlight);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: #666;
}

.pillars-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pillar-card {
    text-align: center;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    border-bottom: 4px solid var(--pink-secondary);
    transition: transform 0.3s ease, border-bottom-color 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--pink-highlight);
}

.pillar-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.pillar-card h3 {
    font-size: 1.4rem;
}

.pillar-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--pink-highlight);
    outline-offset: 3px;
    transition: outline 0.2s ease, outline-offset 0.2s ease;
}

.cta-button:focus-visible,
.hero-cta-button:focus-visible {
    border-radius: 50px;
}

.resource-card--video {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 0;
    overflow: hidden;
}

.resource-card-thumbnail {
    height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.resource-card-thumbnail::before,
.resource-card-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    background-position: center;
    background-repeat: no-repeat;
}

.resource-card-thumbnail::before {
    z-index: 1;
    background-size: cover;
    filter: blur(15px) brightness(0.6);
    transform: scale(1.15);
}

.resource-card-thumbnail::after {
    z-index: 2;
    background-size: contain;
}

.resource-card-thumbnail .play-icon-overlay {
    width: 60px;
    height: 60px;
    background-color: rgba(var(--pink-primary-rgb), 0.8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(3px);
    z-index: 3;
}

.resource-card--video:hover .resource-card-thumbnail {
    transform: scale(1.05);
}

.resource-card--video:hover .play-icon-overlay {
    background-color: rgba(var(--pink-highlight-rgb), 0.9);
    transform: scale(1.1);
}

.resource-card-content {
    padding: 25px;
}

.hero-section-story-single {
    background-color: var(--bg-light);
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero-section-story-single .hero-banner-image-container {
    min-height: unset;
    background-image: none;
    display: block;
}

.hero-text-overlay-story-single .container {
    text-align: center;
    max-width: 800px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
}

.hero-text-overlay-story-single h1 {
    color: var(--pink-primary);
    text-shadow: none;
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-text-overlay-story-single .story-meta-single {
    color: #888;
    text-shadow: none;
    font-size: 1rem;
    font-style: italic;
    font-family: var(--font-body);
}

.hero-text-overlay-story-single .story-meta-single .story-author {
    font-weight: bold;
    color: #555;
}

.related-content-section {
    background-color: var(--bg-light);
    padding: 60px 0;
    border-top: 1px solid #fde7f0;
}

.related-content-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--pink-primary);
}

.related-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.related-card {
    display: block;
    background-color: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    border: 1px solid #fde7f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(var(--pink-primary-rgb), 0.1);
}

.related-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.related-card h4 {
    color: var(--pink-primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.related-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

.main-nav .nav-links::before {
    content: '';
    display: none;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 50px;
    background-image: url('images/logo-nav.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* --- Media Queries --- */
@media (max-width: 992px) {
    .main-nav .nav-links {
        gap: 15px;
    }
    .main-nav .nav-links li a {
        font-size: 0.78rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text-content {
        padding-right: 0;
        order: 2;
        text-align: center;
    }
    .hero-text-content h1,
    .hero-text-content .subtitle {
        text-align: center;
    }
    .hero-image-content {
        order: 1;
        margin-bottom: 30px;
        justify-content: center;
        animation: none;
    }
    .hero-image-content img {
        max-width: 80%;
        clip-path: none;
        border-radius: 20px;
        animation: none;
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
    }
    .personal-message-section {
        padding: 70px 0;
    }
    .personal-message-section > .container {
        max-width: 80%;
        padding: 30px 35px;
    }
    h2,
    .hope-form-container h3 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        margin-bottom: 50px;
        padding-bottom: 15px;
    }
    h2::after,
    .hope-form-container h3::after {
        width: 50px;
        height: 3px;
    }
    .feature-item {
        min-height: 360px;
    }
    .feature-item-content-overlay {
        padding: 25px 20px;
    }
    .feature-item-content-overlay h3 {
        font-size: 1.5rem;
    }
    .feature-item-content-overlay p {
        font-size: 0.9rem;
    }
    .feature-item-content-overlay .icon {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    .video-card h4 {
        font-size: 1.2rem;
    }
    .video-modal-content {
        max-width: 95%;
    }
    .hero-section-internal-banner .hero-text-overlay .container {
        max-width: 80%;
    }
    .hero-section-internal-banner .hero-text-overlay h1 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
    .hero-section-internal-banner .hero-text-overlay .page-subtitle {
        font-size: 1.1rem;
    }
    #stories-list-container .story-title {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }
    .hero-text-overlay-story-single .container {
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media (max-width: 768px) {
    .main-nav {
        padding: 0 5%;
        justify-content: space-between;
    }
    .hero-section .main-nav {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
    }
    .main-nav .container {
        padding: 0;
        flex-grow: 0;
    }
    .main-nav .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        padding: 100px 0 40px;
        z-index: 99;
        background-color: #380d2f;
        background-image: linear-gradient(160deg, rgba(var(--pink-primary-rgb), 0.9) 0%, rgba(56, 13, 47, 0.95) 70%), url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
        transform: translateX(105%);
        transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        visibility: hidden;
        overflow-y: auto;
    }
    .main-nav .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }
    .main-nav .nav-links li {
        width: 100%;
        text-align: center;
    }
    .main-nav .nav-links li a {
        padding: 18px 20px;
        display: block;
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.85);
        text-shadow: none;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: background-color 0.3s, color 0.3s;
    }
    .main-nav .nav-links li a::after {
        display: none;
    }
    .main-nav .nav-links li a:hover,
    .main-nav .nav-links li a.active-link {
        background-color: rgba(var(--pink-highlight-rgb), 0.2);
        color: #ffffff;
    }
    .menu-toggle {
        display: flex;
        z-index: 101;
        position: relative;
        transition: transform 0.3s ease;
    }
    .menu-toggle:hover {
        transform: scale(1.1);
    }
    .menu-toggle span {
        background-color: var(--text-dark);
    }
    .hero-section-internal-banner .menu-toggle span {
        background-color: var(--text-light);
    }
    .menu-toggle.active span {
        background-color: white;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .main-nav .nav-links::before {
        display: block;
    }
    .personal-message-section > .container {
        padding: 30px 20px;
        max-width: 88%;
    }
    .personal-message-section .message-content .quote {
        font-size: 1em;
    }
    .personal-message-section .message-content .signature {
        font-size: 1.4rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .feature-item {
        min-height: 350px;
    }
    .feature-item-content-overlay {
        padding: 25px 20px;
    }
    .feature-item-content-overlay h3 {
        font-size: 1.45rem;
    }
    .feature-item-content-overlay p {
        font-size: 0.9rem;
    }
    .videos-grid {
        grid-template-columns: 1fr;
    }
    .heart.style1 {
        width: 20px;
        height: 20px;
        animation-duration: 28s;
    }
    .heart.style2 {
        width: 28px;
        height: 28px;
        animation-duration: 22s;
    }
    .heart.style3 {
        width: 35px;
        height: 35px;
        animation-duration: 18s;
    }
    .heart.style4 {
        width: 18px;
        height: 18px;
        animation-duration: 32s;
    }
    .scroll-top-button .scroll-top-icon {
        width: 36px;
        height: 36px;
    }
    .video-modal-close-button {
        top: -30px;
        right: 0px;
        font-size: 30px;
    }
    .hope-form-container {
        padding: 25px 20px;
    }
    .hope-form-container h3 {
        font-size: clamp(1.4rem, 3vw, 1.8rem);
    }
    .hero-section-internal-banner .hero-text-overlay h1 {
        font-size: clamp(2rem, 4.5vw, 2.8rem);
    }
    .hero-section-internal-banner .hero-text-overlay .page-subtitle {
        font-size: 1.05rem;
    }
    #stories-list-container .story-entry {
        padding: 25px 20px;
    }
    #stories-list-container .story-title {
        font-size: clamp(1.4rem, 3vw, 1.8rem);
    }
    .intro-card--entrevistas {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
        padding: 30px 25px;
    }
    .intro-card-icon-container {
        margin: 0 auto;
    }
    .intro-card-text-container {
        text-align: center;
    }
    .intro-card--entrevistas .intro-card-body {
        border-left: none;
        border-top: 3px solid var(--pink-highlight);
        padding-left: 0;
        padding-top: 20px;
    }
    .hero-section-proyecto .proyecto-banner-bg {
        min-height: 300px;
    }
    .intro-card--historias {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 1.5rem;
    }
    .intro-card--historias .intro-card-headline,
    .intro-card--historias .intro-card-body {
        text-align: center;
    }
    .intro-card--historias .intro-card-body p {
        border-left: none;
        padding-left: 0;
        font-size: 1.1rem;
    }
    .story-grid {
        grid-template-columns: 1fr;
    }
    .story-image-content {
        order: -1;
        margin-bottom: 30px;
    }
    .project-photo-collage {
        max-width: 320px;
        height: 320px;
    }
    .section-title-left-aligned {
        text-align: center;
    }
    .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
    }
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-item::after {
        left: 10px;
    }
    
    /* ===== INICIO: ADAPTACIÓN PARA MÓVIL (NOTICIAS Y ENTREVISTAS) ===== */
    .hero-section-entrevistas .entrevistas-banner-bg,
    .hero-section-noticias .noticias-banner-bg {
        align-items: flex-end; /* Empuja el contenido hacia abajo */
        background-size: cover;
        background-position: center 20%; /* Prioriza la parte superior de la imagen */
    }

    /* Ocultamos los pseudo-elementos de escritorio en móvil */
    .hero-section-entrevistas .entrevistas-banner-bg::before,
    .hero-section-noticias .noticias-banner-bg::before,
    .hero-section-entrevistas .entrevistas-banner-bg::after,
    .hero-section-noticias .noticias-banner-bg::after {
        display: none;
    }

    /* Aplicamos las imágenes de fondo directamente al contenedor con un overlay oscuro para legibilidad */
    .hero-section-noticias .noticias-banner-bg {
        background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/fondo-noticias.png');
    }
    .hero-section-entrevistas .entrevistas-banner-bg {
        background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/banner-hero-entrevistas.png');
    }
    
    /* El overlay de texto ahora es un "scrim" en la parte inferior para no tapar la imagen */
    .hero-section-entrevistas .hero-text-overlay,
    .hero-section-noticias .hero-text-overlay {
        width: 100%;
        background: linear-gradient(to top, #2c0a25 10%, rgba(44, 10, 37, 0.7) 70%, transparent 100%);
    }

    /* Ajustamos el padding y la alineación del texto dentro del scrim */
    header.hero-section-entrevistas .hero-text-overlay .container,
    header.hero-section-noticias .hero-text-overlay .container {
        max-width: 100%;
        padding: 30px 20px;
        text-align: left !important;
        margin: 0; /* Reseteamos márgenes */
    }

    .hero-section-entrevistas .hero-text-overlay h1, .hero-section-entrevistas .hero-text-overlay .page-subtitle,
    .hero-section-noticias .hero-text-overlay h1, .hero-section-noticias .hero-text-overlay .page-subtitle {
        text-align: left !important; /* Forzamos alineación izquierda */
        margin-left: 0;
        margin-right: 0;
    }
    /* ===== FIN: ADAPTACIÓN PARA MÓVIL ===== */

    .scroller-container {
        padding: 0 45px;
    }
    .scroller {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-mask: none;
        mask: none;
    }
    .scroller::-webkit-scrollbar {
        display: none;
    }
    .scroller__arrow {
        display: flex;
    }
    .scroller__arrow--left {
        left: 5px;
    }
    .scroller__arrow--right {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: unset;
    }
    .hero-grid {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .hero-text-content h1 span {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }
    .hero-image-content img {
        max-width: 90%;
    }
    h2,
    .hope-form-container h3 {
        font-size: clamp(1.6rem, 5vw, 2rem);
        margin-bottom: 40px;
        padding-bottom: 12px;
    }
    h2::after,
    .hope-form-container h3::after {
        width: 40px;
        height: 3px;
    }
    .personal-message-section > .container {
        padding: 25px 15px;
        max-width: calc(100% - 20px);
    }
    .personal-message-section .message-content h2 {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }
    .personal-message-section .message-content .quote {
        font-size: 0.95em;
    }
    .personal-message-section .message-content .signature {
        font-size: 1.3rem;
    }
    .feature-item {
        min-height: auto;
        padding-bottom: 20px;
    }
    .feature-item-content-overlay {
        padding: 20px 15px;
    }
    .feature-item-content-overlay h3 {
        font-size: 1.35rem;
    }
    .feature-item-content-overlay p {
        font-size: 0.85rem;
    }
    .feature-item-content-overlay .icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    .video-card h4 {
        font-size: 1.15rem;
    }
    .heart.style1 {
        width: 18px;
        height: 18px;
    }
    .heart.style2 {
        width: 22px;
        height: 22px;
    }
    .heart.style3 {
        width: 28px;
        height: 28px;
    }
    .heart.style4 {
        width: 15px;
        height: 15px;
    }
    .cta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    .cta-button.cta-small {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    .submit-hope-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    .scroll-top-button .scroll-top-icon {
        width: 30px;
        height: 30px;
    }
    .video-modal {
        padding: 10px;
    }
    .video-modal-content {
        width: 100%;
    }
    .video-modal-close-button {
        top: -25px;
        right: 5px;
        font-size: 25px;
    }
    .hero-section-internal-banner .hero-text-overlay .container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
    }
    .hero-section-internal-banner .hero-text-overlay h1,
    .hero-section-internal-banner .hero-text-overlay .page-subtitle {
        text-align: center;
        max-width: 100%;
    }
    #stories-list-container .story-entry {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
    #stories-list-container .story-title {
        font-size: clamp(1.3rem, 4vw, 1.6rem);
    }
    .hope-form-container {
        padding: 20px 15px;
    }
    .hope-form-container h3 {
        font-size: clamp(1.3rem, 4vw, 1.6rem);
    }
    .form-group input[type="text"],
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    .hero-section-proyecto .proyecto-banner-bg {
        min-height: 200px;
    }
    .intro-card--historias .intro-card-headline,
    .intro-card--historias .intro-card-body {
        text-align: center;
    }
    .related-content-grid {
        grid-template-columns: 1fr;
    }
}

.title-prefix {
    display: inline;
    margin-right: 0.5em;
}

@media (max-width: 768px) {
    .hero-section-entrevistas .hero-text-overlay h1 {
        line-height: 1.15;
        margin-bottom: 10px;
    }
    .title-prefix {
        display: block;
        font-size: 1.4rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.85);
        margin-bottom: -5px;
        margin-right: 0;
    }
}

.hero-section-entrevistas .page-subtitle {
    font-family: var(--font-elegant);
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 480px;
    margin-left: auto;
    margin-right: 0;
}

@media (max-width: 768px) {
    .hero-section-entrevistas .page-subtitle {
        font-size: 1.15rem;
        max-width: 100%;
    }
}

#visitor-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#visitor-counter .heart-icon {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--pink-highlight);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

#visit-count-display {
    font-weight: bold;
    color: var(--text-light);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    #visitor-counter {
        font-size: 1rem;
        padding: 6px 12px;
    }
    #visitor-counter .heart-icon {
        font-size: 1.3rem;
    }
}

.grecaptcha-badge {
    visibility: visible !important;
    right: 4px !important;
    bottom: 4px !important;
    box-shadow: none !important;
    transition: none !important;
}

.scroller-container {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    padding: 0 40px;
}

.scroller {
    max-width: 100%;
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    cursor: grab;
    cursor: -webkit-grab;
    scroll-behavior: auto; /* Importante para el arrastre manual */
    user-select: none; /* Evita la selección de texto al arrastrar */
}

.scroller.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.scroller__inner {
    padding-block: 1rem;
    display: flex;
    gap: 1.5rem;
    width: max-content;
    flex-wrap: nowrap;
}

.tag-list {
    margin: 0;
    padding-inline: 0;
    list-style: none;
}

.tag-list li {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    width: 200px;
}

.tag-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.tag-list li img {
    max-width: 150px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    pointer-events: none; /* Evita que la imagen interfiera con el arrastre */
}

.tag-list li:hover img {
    transform: scale(1.1);
}

.scroller__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background-color: var(--pink-highlight);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(var(--pink-primary-rgb), 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.scroller__arrow:hover {
    background-color: var(--pink-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(var(--pink-primary-rgb), 0.3);
}

.scroller__arrow:focus-visible {
    outline-offset: 4px;
}

.scroller__arrow--left {
    left: 0;
}

.scroller__arrow--right {
    right: 0;
}

#hope-wall-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 20px 0;
}

.hope-note {
    width: 280px;
    height: 280px;
    padding: 25px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-out, box-shadow 0.4s ease-out;
    display: flex;
    flex-direction: column;
}

.hope-note:hover {
    transform: scale(1.1) rotate(0deg) !important;
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.hope-note .message-text {
    font-family: var(--font-script);
    font-size: 1.4rem;
    line-height: 1.5;
    color: #4B4B4B;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 5px;
    margin-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--pink-highlight) var(--pink-secondary);
}

.hope-note .message-text::-webkit-scrollbar {
    width: 8px;
}
.hope-note .message-text::-webkit-scrollbar-track {
    background: rgba(var(--pink-secondary-rgb), 0.5);
    border-radius: 4px;
}
.hope-note .message-text::-webkit-scrollbar-thumb {
    background-color: var(--pink-highlight);
    border-radius: 4px;
}


.hope-note .message-author {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-align: right;
    margin-top: auto;
    color: rgba(0, 0, 0, 0.6);
    flex-shrink: 0;
}

.hope-note.color-1 {
    background-color: #FDDFDF;
    transform: rotate(-2deg);
}

.hope-note.color-2 {
    background-color: #FCF7DE;
    transform: rotate(1deg);
}

.hope-note.color-3 {
    background-color: #DEFDE0;
    transform: rotate(2.5deg);
}

.hope-note.color-4 {
    background-color: #DEF3FD;
    transform: rotate(-1.5deg);
}

.hope-note.color-5 {
    background-color: #F0DEFD;
    transform: rotate(2deg);
}

.spotify-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.spotify-modal-content {
    position: relative;
    background-color: #121212;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 400px;
    height: 80%;
    max-height: 600px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
}

#spotifyPlayerContainer {
    width: 100%;
    height: 100%;
}

#spotifyPlayerContainer iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.spotify-modal-close-button {
    color: #fff;
    position: absolute;
    top: -35px;
    right: -5px;
    font-size: 35px;
    font-weight: bold;
    line-height: 1;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10;
}

.spotify-modal-close-button:hover,
.spotify-modal-close-button:focus {
    color: var(--pink-highlight);
    text-decoration: none;
}

.resource-card--spotify {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.resource-card--spotify .play-icon-overlay svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 992px) {
  .personal-message-section--with-banner-bg {
    background-attachment: scroll;
  }
}

.proximamente-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.proximamente-wrapper::before {
  content: 'Próximamente';
  position: absolute;
  top: 15px;
  right: -32px;
  z-index: 5;
  background-color: var(--pink-primary);
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: bold;
  font-size: 0.7rem;
  text-align: center;
  padding: 4px 0;
  width: 120px;
  transform: rotate(45deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.proximamente-wrapper .resource-card--proximamente {
  opacity: 0.6;
  filter: grayscale(50%);
  cursor: not-allowed;
}

.proximamente-wrapper .resource-card--proximamente:hover {
  transform: none;
  box-shadow: 0 6px 20px rgba(var(--pink-primary-rgb), 0.07);
  border-top-color: transparent;
}
@media (max-width: 768px) {
  .featured-quote {
    padding: 40px 25px;
  }
  .featured-quote::before {
    font-size: 18rem;
    opacity: 0.6;
  }
  #featured-quote-text {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
}
.footer-email-link {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: var(--pink-highlight);
  text-underline-offset: 4px;
  font-weight: 600;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.footer-email-link:hover {
  color: var(--pink-highlight);
  text-decoration-color: #ffffff;
}

.important-event-banner {
    background: linear-gradient(135deg, var(--pink-primary) 0%, var(--pink-highlight) 100%);
    color: var(--text-light);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(var(--pink-primary-rgb), 0.4);
    display: flex;
    gap: 30px;
    align-items: center;
}

.important-event-image { flex-shrink: 0; }
.important-event-image img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; border: 4px solid white; }
.important-event-details h2 { color: inherit; font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 10px 0; text-align: left; text-shadow: 1px 1px 3px rgba(0,0,0,0.2); padding: 0; }
.important-event-details h2::after { display: none; }
.important-event-details .event-date { font-weight: bold; font-size: 1.1rem; display: block; margin-bottom: 15px; opacity: 0.9; }
.important-event-details p { margin-bottom: 20px; opacity: 0.95; }
.important-event-details .cta-button { background-color: white; color: var(--pink-primary); font-weight: bold; }
.important-event-details .cta-button:hover { background-color: var(--pink-secondary); }

.news-list-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.news-card { background-color: white; border-radius: var(--border-radius); box-shadow: 0 6px 20px rgba(var(--pink-primary-rgb), 0.07); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease-out, box-shadow 0.3s ease-out; }
.news-card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(var(--pink-primary-rgb), 0.12); }
.news-card-image {
    width: 100%;
    height: 200px;
    background-color: var(--bg-light); /* AÑADIDO: Fondo para el contenedor */
}
.news-card-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; /* MODIFICADO: Cambiado de cover a contain para que la imagen se vea completa */
    object-position: center center; /* MODIFICADO: Centramos la imagen */
}
/* AÑADIDO: Estilos para el enlace de la imagen principal y el cursor */
.news-card-image .main-image-link {
    display: block;
    width: 100%;
    height: 100%;
}
.news-card-image .gallery-image-trigger {
    cursor: zoom-in;
}

.news-card-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.news-card-date { font-size: 0.85rem; font-weight: 600; color: var(--pink-highlight); margin-bottom: 10px; }
.news-card-content h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--pink-primary); line-height: 1.3; }
.news-card-content p { font-size: 0.95rem; color: #666; flex-grow: 1; margin-bottom: 20px; }
.loading-news, .no-news, .error-news { grid-column: 1 / -1; text-align: center; font-style: italic; color: #777; padding: 40px 0; font-size: 1.1rem; }

.homepage-event-section { padding: 60px 0; background-color: var(--bg-light); background-image: var(--dots-texture-videos); }
.homepage-event-content { background: white; border-radius: var(--border-radius); padding: 30px; text-align: center; box-shadow: 0 8px 25px rgba(var(--pink-secondary-rgb), 0.5); display: flex; align-items: center; justify-content: center; gap: 30px; }
.homepage-event-icon { font-size: 3.5rem; color: var(--pink-highlight); }
.homepage-event-text h3 { color: var(--pink-primary); margin: 0 0 5px 0; font-size: 1.8rem; }
.homepage-event-text p { margin: 0 0 15px 0; color: #555; font-size: 1.1rem; }

.news-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.news-card-content .cta-button { margin-top: 0; }

.news-card-gallery-container { margin-top: 20px; margin-bottom: 25px; position: relative; border-radius: var(--border-radius); overflow: hidden; }
.news-card-swiper { width: 100%; height: 220px; }
.news-card-swiper .swiper-slide { display: flex; justify-content: center; align-items: center; background-color: #f0f0f0; }
.news-card-swiper .swiper-slide img { 
    display: block; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}
.news-card-swiper .swiper-button-next,
.news-card-swiper .swiper-button-prev { color: var(--pink-primary); --swiper-navigation-size: 28px; background-color: rgba(255, 255, 255, 0.7); width: 40px; height: 40px; border-radius: 50%; transition: background-color 0.3s ease; }
.news-card-swiper .swiper-button-next:hover,
.news-card-swiper .swiper-button-prev:hover { background-color: rgba(255, 255, 255, 0.9); }
.news-card-swiper .swiper-pagination-bullet-active { background-color: var(--pink-primary); }

.cta-button.cta-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); border: none; color: white; }
.cta-button.cta-instagram:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4); }

@media(max-width: 768px) {
    .important-event-banner { flex-direction: column; text-align: center; padding: 30px; }
    .important-event-details h2 { text-align: center; }
    .important-event-details a { margin: 0 auto; }
    .homepage-event-content { flex-direction: column; gap: 15px; }
    .homepage-event-text h3 { font-size: 1.5rem; }
    .homepage-event-text p { font-size: 1rem; }
}

.admin-news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    gap: 15px;
}

.admin-news-item:last-child {
    border-bottom: none;
}

.admin-news-item-info {
    flex-grow: 1;
}

.admin-news-item-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #333;
}

.admin-news-item-info span {
    font-size: 0.85rem;
    color: #777;
}

.admin-news-item-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.admin-edit-btn, .admin-delete-btn, .admin-cancel-btn {
    padding: 8px 12px;
    font-size: 0.9rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.admin-edit-btn {
    background-color: #007bff;
    color: white;
}
.admin-edit-btn:hover {
    background-color: #0056b3;
}

.admin-delete-btn {
    background-color: #dc3545;
    color: white;
}
.admin-delete-btn:hover {
    background-color: #c82333;
}

.admin-cancel-btn {
    background-color: #6c757d;
    color: white;
    flex-grow: 0.5;
}
.admin-cancel-btn:hover {
    background-color: #5a6268;
}

#adminFormTitle {
    transition: color 0.3s ease;
}
/* ===== DESPLAZAMIENTO DEL MENÚ EN LA PÁGINA DE NOTICIAS ===== */

@media (min-width: 769px) {
    /* Este código solo se aplica en pantallas de escritorio */

    hero-section-noticias .main-nav .nav-links {
    position: relative; 
    left: 5em; /* <--- CORREGIDO */
}
}
/* ===== ESTILOS PARA EL SKELETON LOADER DE NOTICIAS ===== */

.news-list-loading-skeleton {
    display: none; /* Se mostrará con JS */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    grid-column: 1 / -1;
}

.news-card-skeleton {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: 0 6px 20px rgba(223, 223, 223, 0.5);
    overflow: hidden;
}

@keyframes skeleton-shine {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.news-card-skeleton .skeleton-image {
    height: 200px;
    background: #f0f0f0;
    background-image: linear-gradient(90deg, #f0f0f0, #e0e0e0, #f0f0f0);
    background-size: 200px 100%;
    background-repeat: no-repeat;
    animation: skeleton-shine 1.5s infinite linear;
}

.news-card-skeleton .skeleton-content {
    padding: 25px;
}

.news-card-skeleton .skeleton-line {
    height: 14px;
    border-radius: 4px;
    margin-bottom: 12px;
    background: #f0f0f0;
    background-image: linear-gradient(90deg, #f0f0f0, #e0e0e0, #f0f0f0);
    background-size: 200px 100%;
    background-repeat: no-repeat;
    animation: skeleton-shine 1.5s infinite linear;
}

.news-card-skeleton .skeleton-line.short { width: 40%; height: 12px; }
.news-card-skeleton .skeleton-line.title { width: 70%; height: 20px; margin-bottom: 18px; }
.news-card-skeleton .skeleton-line.medium { width: 80%; }
.news-card-skeleton .skeleton-line:last-child { margin-bottom: 0; }
/* ===== ESTILOS PARA NOTICIAS EXPANDIBLES ===== */

.news-card-content p {
    /* Limitamos la altura inicial del párrafo */
    max-height: 100px; /* Aprox. 4-5 líneas de texto */
    overflow: hidden;
    position: relative; /* Necesario para el difuminado */
    /* Animación suave para la expansión */
    transition: max-height 0.5s ease-out;
}

/* Difuminado suave al final del texto no expandido */
.news-card-content p:not(.expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to top, white, rgba(255, 255, 255, 0));
    pointer-events: none; /* Permite hacer clic a través del degradado */
}

/* Clase que se aplicará para expandir el texto */
.news-card-content p.expanded {
    max-height: 1500px; /* Un valor alto para permitir toda la altura */
}

/* Botón para "Leer más / Ver menos" */
.read-more-toggle {
    background: none;
    border: none;
    padding: 5px 0;
    margin-top: -15px; /* Lo sube un poco para que quede pegado al texto */
    margin-bottom: 20px;
    color: var(--pink-primary);
    font-weight: bold;
    font-family: var(--font-heading);
    cursor: pointer;
    align-self: flex-start; /* Lo alinea a la izquierda */
    transition: color 0.2s ease;
}

.read-more-toggle:hover {
    color: var(--pink-highlight);
}
/* ===== ESTILOS PARA EL MODAL DE IMÁGENES (LIGHTBOX) ===== */

.image-modal {
    display: none;
    position: fixed;
    z-index: 1002; /* Más alto que el modal de video */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: zoomInModal 0.3s ease-out;
}

.image-modal-content {
    position: relative;
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
}

#modalImage {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    object-fit: contain; /* Importante para que no se corte */
}

.image-modal-close-button {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.image-modal-close-button:hover,
.image-modal-close-button:focus {
    color: #bbb;
    text-decoration: none;
}

/* Indicador visual de que las imágenes del carrusel son clickables */
.news-card-swiper .swiper-slide img {
    cursor: zoom-in;
}

/* ========================================================= */
/* ===== MEJORAS DE HOVER PARA GALERÍA DE NOTICIAS (v3) ===== */
/* ========================================================= */

/* 1. Definimos la transición para que el efecto de zoom sea suave */
.news-card-swiper .swiper-slide img {
    transition: transform 0.3s ease-out;
    /* Evitamos que la imagen se vea borrosa durante la animación en algunos navegadores */
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* 2. Hacemos que la imagen se agrande al pasar el ratón por encima del slide */
.news-card-swiper .swiper-slide:hover img {
    transform: scale(1.1) translateZ(0); /* Mantenemos la aceleración por hardware */
}

/* 3. Creamos el cursor de lupa rosa y más grande (VERSIÓN DEFINITIVA) */
.news-card-swiper .swiper-slide {
    /* Este es el código SVG completamente codificado para máxima compatibilidad */
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%23e91e63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 19a8 8 0 1 0 0-16a8 8 0 0 0 0 16z'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") 16 16, auto;
}
/* ======================================================= */
/* ===== ESTILOS PARA GALERÍA LIGHTBOX AVANZADA (v4) ===== */
/* ======================================================= */

/* Contenedor principal del lightbox */
.lightbox-container {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1005; /* Por encima de todo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 5, 12, 0.92); /* Fondo oscuro con un toque rosado */
    overflow: hidden;
    justify-content: center;
    align-items: center;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

/* Contenido (la imagen y las flechas) */
.lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 1; /* Capa base dentro del lightbox */
}

/* La imagen ampliada */
#lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    display: block;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: zoomInModal 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Botón de cerrar (la 'X' en la esquina) */
.lightbox-close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 10;
}

.lightbox-close-btn:hover {
    color: var(--pink-highlight);
    transform: scale(1.1);
}

/* Flechas de navegación (izquierda y derecha) */
.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 18px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.4s ease;
    border-radius: 0 5px 5px 0;
    user-select: none; /* Evita que se seleccione el texto de la flecha */
    background-color: rgba(var(--pink-primary-rgb), 0.4);
    z-index: 10;
}

.lightbox-prev {
    left: 10px;
    border-radius: 5px 0 0 5px;
}

.lightbox-next {
    right: 10px;
    border-radius: 0 5px 5px 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(var(--pink-highlight-rgb), 0.8);
}

/* Contador de imágenes (ej: "2 / 5") */
#lightbox-caption {
    text-align: center;
    position: absolute;
    bottom: 25px;
    width: 100%;
    color: #ccc;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0,0,0,0.8);
    z-index: 10;
}

/* Indicador visual de que las imágenes de la galería son clickables */
.gallery-image-trigger {
    cursor: zoom-in;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.gallery-image-trigger:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

/* --- ESTILOS PARA LA ZONA DE DRAG & DROP --- */
.drop-zone {
    width: 100%;
    min-height: 200px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    color: #555;
    border: 3px dashed #ccc;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background-color: #f9f9f9;
}

.drop-zone:hover {
    border-color: var(--pink-highlight);
    background-color: #fff9fb;
}

/* Estilo cuando un archivo se está arrastrando sobre la zona */
.drop-zone--over {
    border-style: solid;
    border-color: var(--pink-primary);
    background-color: #fdf0f5;
    box-shadow: 0 0 15px rgba(233, 30, 99, 0.2);
}

.drop-zone__input {
    display: none; /* El input real está oculto */
}

.drop-zone__prompt {
    z-index: 1;
    position: relative;
    color: #888;
    pointer-events: none;
}

/* Previsualización de la imagen */
.drop-zone__thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fff;
    z-index: 2;
}

/* Barra de progreso */
.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: #e9ecef;
    z-index: 3;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--pink-highlight), var(--pink-primary));
    transition: width 0.3s ease;
}
/* ==================================================================== */
/* ===== INICIO: Carrusel Horizontal para Muro de Esperanza (Móvil) ===== */
/* ==================================================================== */

/* Estas reglas solo se aplican en pantallas de 768px o menos (móviles y tablets pequeñas) */
@media (max-width: 768px) {

    /* 1. Preparamos el contenedor principal para que sea un carrusel */
    #hope-wall-container {
        display: flex;              /* Coloca los post-it en una fila horizontal */
        flex-wrap: nowrap;          /* Evita que los post-it salten a la siguiente línea */
        overflow-x: auto;           /* Habilita el scroll horizontal cuando haya muchos post-it */
        justify-content: flex-start;/* Alinea el primer post-it al principio */
        padding: 20px 15px;         /* Añade un poco de espacio arriba, abajo y a los lados */
        gap: 20px;                  /* Mantiene el espacio entre los post-it */
        
        /* Efectos para un scroll más suave y profesional en móviles */
        -webkit-overflow-scrolling: touch; /* Scroll más fluido en iOS */
        scroll-snap-type: x mandatory;   /* Hace que el scroll se "enganche" a cada post-it */
    }

    /* 2. Ocultamos la barra de scroll para un diseño más limpio */
    #hope-wall-container::-webkit-scrollbar {
        display: none; /* Oculta la barra en Chrome, Safari, etc. */
    }
    #hope-wall-container {
        -ms-overflow-style: none;  /* Oculta la barra en IE y Edge */
        scrollbar-width: none;  /* Oculta la barra en Firefox */
    }

    /* 3. Ajustamos cada post-it para el carrusel */
    .hope-note {
        width: 240px;               /* Hacemos los post-it un poco más pequeños */
        height: 240px;
        flex-shrink: 0;             /* ¡MUY IMPORTANTE! Evita que los post-it se encojan */
        transform: none !important; /* Quitamos la rotación para que se vean rectos y estables */
        scroll-snap-align: center;  /* Ayuda a que cada post-it se centre al hacer scroll */
    }

    /* 4. Desactivamos el efecto de "zoom" al pasar el ratón, ya que en móvil no existe */
    .hope-note:hover {
        transform: none !important;
        z-index: auto;
    }
}
/* ========================================================== */
/* ===== INICIO: Estilos para el Modal de Post-it Ampliado ===== */
/* ========================================================== */

/* 1. El fondo oscuro del modal */
.hope-note-modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1002; /* Por encima de todo lo demás */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 15, 25, 0.85); /* Fondo oscuro semitransparente */
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInModal 0.4s ease-out; /* Animación de entrada */
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 2. El contenido del modal (el post-it ampliado) */
.hope-note-modal-content {
    position: relative;
    width: 90%;
    max-width: 450px; /* Un tamaño máximo para que no sea gigante en pantallas grandes */
    animation: zoomInModal 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* Animación de zoom */
}

/* 3. El botón de cerrar (la X) */
.hope-note-modal-close-button {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    color: #111;
    background-color: #fff;
    font-size: 30px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hope-note-modal-close-button:hover {
    transform: scale(1.1) rotate(90deg);
    background-color: #f0f0f0;
}

/* 4. Contenedor del texto dentro del modal */
#modalNoteContent .hope-note {
    width: 100%;
    height: auto; /* La altura se ajusta al contenido */
    min-height: 300px;
    transform: none !important; /* Quitamos cualquier rotación */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    cursor: default; /* El cursor vuelve a ser normal */
}

#modalNoteContent .message-text {
    font-size: 1.6rem; /* Hacemos el texto más grande para facilitar la lectura */
    max-height: 60vh; /* Limitamos la altura para que no ocupe toda la pantalla */
}

/* 5. Hacemos que los post-it originales tengan el cursor de "mano" */
#hope-wall-container .hope-note {
    cursor: pointer;
}
/* =================================================================== */
/*   PERSONALIZACIÓN DEL WIDGET DE COOKIEYES (VERSIÓN MÁS TRANSLÚCIDA)  */
/* =================================================================== */

/* 1. Apuntamos al contenedor del widget para cambiar su estilo */
div.cky-btn-revisit-wrapper {
    /* ===== CAMBIO CLAVE: AHORA ES MÁS TRANSLÚCIDO (40%) ===== */
    /* Usamos el color rosa primario de tu web con un 40% de opacidad */
    background-color: rgba(233, 30, 99, 0.4) !important; 
    
    /* Mantenemos el borde y sombra sutiles */
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    
    /* Preparamos la transición para el efecto hover */
    transition: all 0.3s ease !important;
}

/* 2. Efecto al pasar el ratón: se vuelve sólido y un poco más grande */
div.cky-btn-revisit-wrapper:hover {
    /* Al pasar el ratón, el fondo se vuelve 100% opaco */
    background-color: rgba(233, 30, 99, 1) !important;
    transform: scale(1.1) !important;
}

/* 3. Apuntamos al icono de la galleta (la imagen) para cambiar su color a blanco */
div.cky-btn-revisit-wrapper img {
    /* Este filtro fuerza a que cualquier icono se vea de color blanco puro */
    filter: brightness(0) invert(1) !important;
}