/* ==========================================================================
   CSS Variables & Theme Setup
   ========================================================================== */
:root {
    /* Brand Colors extracted from Logo */
    --clr-purple: #632D62;
    --clr-purple-light: #8E448D;
    
    /* Yellow/Greenish highlighting color from logo */
    --clr-yellow: #D5D448;
    --clr-yellow-light: #F2F1B8; /* Even softer for backgrounds */

    /* Semantic / Neutral Colors - Increased Warmth */
    --clr-bg: #FAF6F0; /* Soft, warm cream */
    --clr-bg-alt: #F3EBE1; /* Warm sandy beige */
    --clr-surface: #FFFFFF; /* Clean white for cards to pop against warm background */
    --clr-text-main: #383135; /* Chocolate-tinted charcoal for warmth */
    --clr-text-muted: #73676B; /* Warm grayish-brown */
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--clr-purple) 0%, var(--clr-purple-light) 100%);
    --grad-warm: linear-gradient(135deg, #FAF6F0 0%, #F5EAE1 100%);
    
    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    
    /* Shadows & Effects (Warmer, purple-tinted shadows) */
    --shadow-sm: 0 4px 12px rgba(99, 45, 98, 0.06);
    --shadow-md: 0 12px 30px rgba(99, 45, 98, 0.1);
    --shadow-lg: 0 24px 50px rgba(99, 45, 98, 0.15);
    
    /* Border Radius (Slightly more rounded for friendliness) */
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 40px;
    
    /* Layout */
    --container-max: 1150px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1.2rem;
    --spacing-md: 2.5rem;
    --spacing-lg: 5rem;
    --spacing-xl: 7rem;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--clr-bg);
    color: var(--clr-text-main);
    line-height: 1.65;
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-size: 18px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

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

/* ==========================================================================
   Typography & Highlighting Effects
   ========================================================================== */
h1, h2, h3, h4 {
    color: var(--clr-purple);
    line-height: 1.2;
}

/* The magic highlight effect requested by the user */
.text-highlight {
    background: linear-gradient(180deg, transparent 65%, var(--clr-yellow) 65%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    display: inline;
    padding: 0 4px;
    color: var(--clr-purple);
    font-weight: 700;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: var(--spacing-xs);
}

.section-header.center-dark h2 {
    color: var(--clr-text-main);
}

.section-header .underline {
    height: 6px;
    width: 80px;
    background: var(--clr-yellow);
    margin: 0 auto var(--spacing-sm);
    border-radius: 3px;
}

.section-header p {
    color: var(--clr-text-muted);
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.25rem;
}

.btn-primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(99, 45, 98, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(99, 45, 98, 0.4);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--clr-purple);
    border: 2px solid var(--clr-purple);
}

.btn-secondary:hover {
    background: var(--clr-yellow-light);
    color: var(--clr-purple);
    border-color: var(--clr-purple);
    transform: translateY(-4px);
}

.w-100 {
    width: 100%;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(250, 246, 240, 0.95);
    backdrop-filter: blur(15px);
    padding: 0.8rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.navbar .logo-button {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.34rem;
    padding: 0.1rem 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: transform 0.2s ease;
}

.navbar .logo-button:hover {
    transform: translateY(-1px);
}

.navbar .logo-button:focus-visible {
    outline: 3px solid rgba(213, 212, 72, 0.8);
    outline-offset: 2px;
}

.navbar.scrolled .logo-button {
    background: transparent;
}

.navbar .logo-wordmark {
    display: inline-flex;
    align-items: flex-end;
    line-height: 1;
    padding-bottom: 0.44rem;
}

.navbar .logo-word {
    color: #111416;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.navbar .logo-orbit {
    width: 1.9rem;
    height: 1.9rem;
    border: 0.42rem solid var(--clr-purple);
    border-radius: 50%;
    margin-left: -0.45rem;
    margin-right: -0.1rem;
    transform: translateY(0.08rem);
    position: relative;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.navbar .logo-orbit-dot {
    width: 0.86rem;
    height: 0.86rem;
    border-radius: 50%;
    background: var(--clr-yellow);
    position: absolute;
    right: 0.02rem;
    bottom: 0.05rem;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
    transition: transform 0.25s ease;
}

.navbar .logo-script {
    color: var(--clr-purple);
    font-family: 'Caveat', cursive;
    font-size: 3rem;
    font-weight: 700;
    margin-left: -0.55rem;
    transform: translate(-0.05rem, 0.42rem) rotate(-6deg);
    line-height: 0.78;
    transition: transform 0.25s ease;
}

.navbar .logo-tagline {
    color: rgba(99, 45, 98, 0.88);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-left: 0.03rem;
    white-space: nowrap;
}

.navbar .logo-button:hover .logo-script,
.navbar .logo-button:focus-visible .logo-script {
    transform: translate(-0.03rem, 0.36rem) rotate(-4deg);
}

.navbar .logo-button:hover .logo-orbit,
.navbar .logo-button:focus-visible .logo-orbit {
    transform: translateY(0.08rem) rotate(8deg);
}

.navbar .logo-button:hover .logo-orbit-dot,
.navbar .logo-button:focus-visible .logo-orbit-dot {
    animation: logo-dot-pulse 1.2s ease-in-out infinite;
}

@keyframes logo-dot-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.16);
    }
}

.logo-mono {
    color: var(--clr-text-main);
}

.logo-cyl {
    color: var(--clr-purple);
    font-family: cursive;
    font-size: 2.3rem;
    margin-left: -2px;
}

.logo-sub {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    margin-left: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--clr-purple);
    cursor: pointer;
    padding: 0.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--clr-text-main);
    font-size: 1.1rem;
    position: relative;
}

/* Subtle nav underline effect matching the brand */
.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -4px;
    left: 0;
    background-color: var(--clr-yellow);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--clr-purple);
}

.nav-links .btn-primary {
    color: #fff;
    padding: 0.7rem 1.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 95vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    background: var(--grad-warm);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--clr-yellow-light) 0%, rgba(255,255,255,0) 65%);
    z-index: 0;
    opacity: 0.8;
}

/* Adding a soft purple glow on the left for warmth */
.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(142, 68, 141, 0.08) 0%, rgba(255,255,255,0) 60%);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: var(--spacing-sm);
    color: var(--clr-text-main);
    letter-spacing: -1.5px;
}

.hero-text p {
    font-size: 1.35rem;
    color: var(--clr-text-muted);
    margin-bottom: var(--spacing-md);
    max-width: 550px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
}

/* New Identity Block over Image positioning */
.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 500px;
    border-radius: 40px 120px 40px 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--clr-surface);
}

/* Image Background with effects */
.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.35; /* Low opacity as requested */
    filter: blur(5px); /* Small blur as requested */
    z-index: 1;
}

/* Matte gradient overlay to lose texture */
.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(250, 246, 240, 0.8) 0%, rgba(250, 246, 240, 0.4) 100%);
    z-index: 2;
}

.identity-block {
    position: relative;
    z-index: 3; /* Above image and overlay */
    margin: 0;
    padding: 2rem;
    background: transparent;
    border: none;
    max-width: 100%;
}

.identity-intro {
    font-weight: 700;
    color: var(--clr-purple) !important;
    margin-bottom: 1rem !important;
    font-size: 1.1rem !important;
}

.identity-list {
    margin-bottom: 1rem;
}

.identity-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    color: var(--clr-text-main);
}

.identity-list li i {
    color: var(--clr-purple);
    flex-shrink: 0;
}

.identity-list li strong {
    color: var(--clr-purple);
    font-weight: 800;
}

.hashtag {
    font-size: 1.4rem !important;
    font-weight: 800;
    color: var(--clr-purple) !important;
    margin: 0 !important;
    display: inline-block;
    padding: 0 8px;
    background: linear-gradient(180deg, transparent 65%, var(--clr-yellow-light) 65%);
}

/* Image placeholder is now positioned absolutely within .hero-image */

/* Playful yellow decoration on hero image */
.image-placeholder::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--clr-yellow);
    z-index: -1;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    padding: var(--spacing-xl) 0;
    background: var(--clr-surface);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-text .lead-text {
    font-size: 1.6rem;
    color: var(--clr-text-main);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: var(--spacing-md);
}

.about-text p {
    margin-bottom: var(--spacing-sm);
    color: var(--clr-text-muted);
    font-size: 1.15rem;
}

.about-list {
    margin-top: var(--spacing-md);
    background: var(--clr-bg);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(99, 45, 98, 0.05);
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.2rem;
    color: var(--clr-text-main);
    font-size: 1.1rem;
}

.about-list li:last-child {
    margin-bottom: 0;
}

.about-list i {
    color: var(--clr-purple);
    background: var(--clr-yellow-light);
    border-radius: 50%;
    padding: 5px;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

.image-placeholder-soft {
    width: 100%;
    aspect-ratio: 16 / 10; /* More landscape to show the group better */
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center 20%; /* Slight adjustment if needed to favor faces */
    box-shadow: var(--shadow-md);
    position: relative;
}

/* ==========================================================================
   Services Section (Qué Hacemos)
   ========================================================================== */
.services {
    padding: var(--spacing-xl) 0;
    background: var(--clr-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--clr-surface);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--clr-yellow);
}

.service-icon {
    width: 65px;
    height: 65px;
    background: var(--clr-bg-alt);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--clr-purple);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--clr-purple);
    color: var(--clr-yellow);
    transform: scale(1.05) rotate(-5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--clr-text-main);
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

.services-resources {
    margin-top: var(--spacing-lg);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: var(--spacing-md);
    align-items: stretch;
}

.resource-card {
    background: linear-gradient(120deg, #fff 0%, #fbf8f4 100%);
    border: 1px solid rgba(99, 45, 98, 0.12);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1.6rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
}

.resource-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-yellow-light);
    color: var(--clr-purple);
}

.resource-copy h3 {
    color: var(--clr-text-main);
    margin-bottom: 0.2rem;
    font-size: 1.15rem;
}

.resource-copy p {
    color: var(--clr-text-muted);
    font-size: 1rem;
}

.social-poster-mini {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(99, 45, 98, 0.14);
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.social-poster-mini a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.social-poster-mini img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.social-poster-mini span {
    font-weight: 700;
    color: var(--clr-purple);
    font-size: 0.95rem;
    padding: 0.75rem 0.9rem;
    border-top: 1px solid rgba(99, 45, 98, 0.08);
}

/* ==========================================================================
   Importance Section (Por qué importa)
   ========================================================================== */
.importance {
    padding: var(--spacing-xl) 0;
    background: var(--clr-bg-alt);
    text-align: center;
    position: relative;
}

.importance::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(213,212,72,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.importance-text {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.4rem;
    color: var(--clr-text-main);
    line-height: 1.8;
}

.importance-text p {
    margin-bottom: var(--spacing-md);
}

/* ==========================================================================
   Documents Hub
   ========================================================================== */
.documents-hub {
    padding: 3rem 0 1.2rem;
    background: linear-gradient(180deg, #f3ebe1 0%, #faf6f0 100%);
}

.documents-hub-inner {
    border: 1px solid rgba(99, 45, 98, 0.14);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
    padding: 1.9rem;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1.4rem;
    align-items: end;
}

.documents-kicker {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-purple);
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.documents-hub-copy h2 {
    color: var(--clr-text-main);
    font-size: 2.15rem;
    margin-bottom: 0.45rem;
}

.documents-hub-copy p {
    color: var(--clr-text-muted);
    font-size: 1.12rem;
}

.documents-filters {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto;
    gap: 0.7rem 0.8rem;
    align-items: center;
}

.documents-filters label {
    color: var(--clr-text-main);
    font-weight: 700;
    font-size: 1rem;
}

.documents-filters select {
    border: 1px solid rgba(99, 45, 98, 0.25);
    border-radius: 12px;
    background: #fff;
    color: var(--clr-text-main);
    padding: 0.68rem 0.8rem;
    min-height: 46px;
    font-family: var(--font-primary);
    font-size: 1rem;
}

.documents-filters .btn-secondary {
    padding: 0.68rem 1.05rem;
    min-height: 46px;
    font-size: 1rem;
}

.documents-no-results {
    margin-top: 0.9rem;
    color: var(--clr-purple);
    font-weight: 700;
}

/* ==========================================================================
   Newsletters Section
   ========================================================================== */
.newsletters-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, #fff 0%, #fdf8f2 100%);
    position: relative;
}

.newsletters-section::before,
.press-section::before,
.memorias-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
}

.newsletters-section::before {
    background: linear-gradient(90deg, #d5d448 0%, #f2f1b8 100%);
}

.documents-section .section-header p {
    max-width: 760px;
}

.press-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, #f7f0e8 0%, #efe3d5 100%);
    position: relative;
}

.press-section::before {
    background: linear-gradient(90deg, #8e448d 0%, #632d62 100%);
}

.newsletters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.newsletter-card {
    background: var(--clr-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(99, 45, 98, 0.06);
}

.newsletter-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.documents-section .newsletter-card {
    border: 1px solid rgba(99, 45, 98, 0.1);
}

.card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    border-bottom: 4px solid var(--clr-yellow);
}

.newsletter-image-photo {
    background-size: cover;
    background-position: center;
}

.newsletter-image-art {
    position: relative;
    padding: 1.2rem;
    background: linear-gradient(140deg, #fff8ea 0%, #f4eadc 60%, #eadcc9 100%);
    border-bottom-color: var(--clr-yellow);
    overflow: hidden;
}

.newsletter-ribbon {
    display: inline-flex;
    align-items: center;
    background: rgba(99, 45, 98, 0.12);
    color: var(--clr-purple);
    border: 1px solid rgba(99, 45, 98, 0.2);
    border-radius: 999px;
    padding: 0.26rem 0.75rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    font-weight: 800;
}

.newsletter-month {
    margin-top: 1rem;
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    color: var(--clr-text-main);
    text-transform: capitalize;
}

.newsletter-year {
    margin-top: 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--clr-purple);
}

.newsletter-orb {
    position: absolute;
    right: -25px;
    bottom: -32px;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 45, 98, 0.23) 0%, rgba(99, 45, 98, 0.08) 60%, rgba(99, 45, 98, 0) 100%);
}

.card-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.35rem;
}

.card-date {
    font-size: 0.9rem;
    color: var(--clr-purple);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--clr-text-main);
}

.card-excerpt {
    color: var(--clr-text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    color: var(--clr-purple);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.documents-section .read-more {
    margin-top: auto;
}

.press-card .card-image {
    background: linear-gradient(145deg, #fff9ed 0%, #f6efe5 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    border-bottom-color: var(--clr-purple);
}

.press-image-art {
    position: relative;
    padding: 1.2rem;
    flex-direction: column;
    gap: 0.8rem;
    overflow: hidden;
}

.press-ribbon {
    display: inline-flex;
    width: fit-content;
    padding: 0.26rem 0.75rem;
    border-radius: 999px;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    color: #fff;
    background: var(--clr-purple);
}

.press-main-title {
    color: var(--clr-text-main);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
    max-width: 84%;
}

.press-date-label {
    color: var(--clr-purple);
    font-size: 0.9rem;
    font-weight: 700;
}

.press-chip {
    background: var(--clr-purple);
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.28rem 0.6rem;
    width: fit-content;
    margin-bottom: 0.4rem;
}

.doc-placeholder {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: rgba(99, 45, 98, 0.08);
    color: var(--clr-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 1rem;
    bottom: 1rem;
}

.read-more i {
    transition: transform 0.3s ease;
}

.newsletter-card:hover .read-more i {
    transform: translateX(5px);
}

/* ==========================================================================
   CTA Section (Participa)
   ========================================================================== */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: var(--clr-purple);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(213,212,72,0.15); /* Yellow glow */
}

.cta-content h2 {
    font-size: 3.2rem;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.cta-content p {
    font-size: 1.6rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
}

.cta-cards {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.cta-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 2rem;
    border-radius: var(--radius-md);
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--clr-yellow);
    transition: transform 0.3s ease, background 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.cta-card i {
    width: 40px;
    height: 40px;
}

.cta-card h3 {
    font-size: 1.2rem;
    color: #fff;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-buttons .btn-primary {
    background: var(--clr-yellow);
    color: var(--clr-purple);
    box-shadow: 0 8px 25px rgba(213,212,72,0.3);
}

.cta-buttons .btn-primary:hover {
    background: #fff;
    color: var(--clr-purple);
}

.cta-buttons .btn-secondary {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.cta-buttons .btn-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* ==========================================================================
   Footer / Contact
   ========================================================================== */
.footer {
    background: var(--clr-text-main);
    color: #fff;
    padding: var(--spacing-xl) 0 var(--spacing-sm);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.footer-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.footer-logo .logo-mono {
    color: #fff;
}

.footer-logo .logo-cyl {
    color: var(--clr-yellow);
}

.footer-brand > p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    max-width: 380px;
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: #fff;
    padding: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, filter 0.25s ease, border-color 0.25s ease;
}

.social-link-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.social-link-icon:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
    border-color: rgba(255, 255, 255, 0.45);
}

.social-link-instagram {
    background: radial-gradient(circle at 30% 110%, #feda75 0%, #fa7e1e 26%, #d62976 55%, #962fbf 75%, #4f5bd5 100%);
}

.social-link-facebook {
    background: #1877f2;
}

.social-link-tiktok {
    background: linear-gradient(135deg, #25f4ee 0%, #111111 45%, #111111 55%, #fe2c55 100%);
}

.social-link-x {
    background: #000;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    font-size: 1.15rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    transition: background 0.3s ease;
}

.contact-link i {
    color: var(--clr-yellow);
    background: rgba(213,212,72,0.1);
    padding: 8px;
    border-radius: 50%;
}

.contact-link:hover {
    background: rgba(255,255,255,0.1);
}

/* Form Styles */
.footer-form-wrapper h3 {
    color: var(--clr-yellow);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
}

.contact-form {
    background: rgba(255,255,255,0.03);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.2);
    color: #fff;
    font-family: inherit;
    font-size: 1.05rem;
    transition: border-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--clr-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    font-size: 0.95rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 900px) {
    .container {
        width: 92%;
    }
    
    .hero-content, .about-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 8rem;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-text {
        text-align: center;
        display: contents; /* Allows children to be reordered via order */
    }

    .hero-text h1 {
        font-size: 2.8rem;
        order: 1;
    }

    .hero-text p {
        margin: 0 auto var(--spacing-sm);
        order: 2;
    }

    .hero-image {
        order: 3; /* Merged frame goes between text and buttons */
        min-height: 400px;
        padding: 1.5rem;
    }

    .hero-buttons {
        order: 4; /* Buttons at the very bottom */
        justify-content: center;
        margin-top: 1rem;
    }
    
    .about-visual {
        order: -1;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }

    .documents-hub-inner {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .navbar .logo-word {
        font-size: 1.8rem;
    }

    .navbar .logo-script {
        font-size: 2.65rem;
        transform: translate(-0.04rem, 0.4rem) rotate(-6deg);
    }

    .navbar .logo-tagline {
        font-size: 0.65rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(250, 246, 240, 0.98);
        flex-direction: column;
        padding: 1.5rem 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .navbar .logo-button {
        gap: 0.2rem;
    }

    .navbar .logo-wordmark {
        padding-bottom: 0.3rem;
    }

    .navbar .logo-word {
        font-size: 1.58rem;
        letter-spacing: 0.07em;
    }

    .navbar .logo-orbit {
        width: 1.42rem;
        height: 1.42rem;
        border-width: 0.31rem;
        margin-left: -0.35rem;
    }

    .navbar .logo-orbit-dot {
        width: 0.62rem;
        height: 0.62rem;
        right: 0.02rem;
        bottom: 0.03rem;
    }

    .navbar .logo-script {
        font-size: 2.35rem;
        margin-left: -0.42rem;
        transform: translate(0, 0.3rem) rotate(-6deg);
    }

    .navbar .logo-tagline {
        font-size: 0.56rem;
        line-height: 1.25;
        letter-spacing: 0.015em;
        white-space: normal;
        max-width: 180px;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .importance-text {
        font-size: 1.2rem;
    }

    .services-resources {
        grid-template-columns: 1fr;
    }

    .resource-card {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .social-poster-mini img {
        height: 190px;
    }

    .social-link-icon {
        width: 44px;
        height: 44px;
    }

    .documents-hub {
        padding-top: 2.4rem;
    }

    .documents-hub-copy h2 {
        font-size: 1.5rem;
    }

    .documents-filters {
        grid-template-columns: 1fr;
    }

    .documents-filters .btn-secondary {
        width: 100%;
    }

    .card-image {
        height: 200px;
    }

    .newsletter-month {
        font-size: 1.6rem;
    }

    .press-main-title {
        font-size: 1rem;
        max-width: 100%;
        padding-right: 4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .navbar .logo-button,
    .navbar .logo-script,
    .navbar .logo-orbit,
    .navbar .logo-orbit-dot {
        transition: none;
        animation: none;
    }
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-section {
    padding: 0;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    height: 420px;
    gap: 4px;
}

.gallery-item {
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item--drawing {
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #fff7f0;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        height: 320px;
    }

    .gallery-item:last-child {
        grid-column: 1 / -1;
        height: 200px;
    }
}

/* ==========================================================================
   TikTok Social Link
   ========================================================================== */
.social-tiktok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 1.1rem;
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   News / Events Banner & Overlay
   ========================================================================== */
.news-trigger-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.news-trigger-container.hidden {
    transform: scale(0) translateY(100px);
    opacity: 0;
    pointer-events: none;
}

.news-trigger-btn {
    background: var(--clr-purple);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.news-trigger-btn:hover {
    transform: translateY(-5px);
    background: var(--clr-purple-light);
}

.news-trigger-btn .pulse {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--clr-yellow);
    border-radius: 50%;
    top: 5px;
    right: 15px;
    box-shadow: 0 0 10px var(--clr-yellow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(213, 212, 72, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(213, 212, 72, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(213, 212, 72, 0); }
}

/* Overlay & Modal */
.news-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(99, 45, 98, 0.85);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 20px;
}

.news-overlay.active {
    opacity: 1;
    visibility: visible;
}

.news-modal {
    background: var(--clr-bg);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-md);
    position: relative;
    overflow-y: auto;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-lg);
}

.news-overlay.active .news-modal {
    transform: translateY(0);
}

.close-news {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.close-news:hover {
    background: var(--clr-yellow);
    color: var(--clr-purple);
}

.news-content-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
}

.news-image-container {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 500px;
}

.news-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-details {
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.news-badge {
    background: var(--clr-yellow-light);
    color: var(--clr-purple);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    align-self: flex-start;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.news-details h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.news-details h3 {
    font-size: 1.2rem;
    color: var(--clr-purple-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.news-info-list {
    margin-bottom: 1.5rem;
}

.news-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    color: var(--clr-text-main);
    font-weight: 600;
}

.news-info-item i {
    color: var(--clr-purple);
    width: 20px;
}

.news-details p {
    color: var(--clr-text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* Responsive News Modal */
@media (max-width: 768px) {
    .news-content-grid {
        grid-template-columns: 1fr;
    }
    .news-image-container {
        height: 250px;
    }
    .news-details {
        padding: 2rem;
    }
    .news-details h2 {
        font-size: 1.8rem;
    }
    .news-trigger-container {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }
    .news-trigger-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Memorias de Actividad Section
   ========================================================================== */
.memorias-section {
    padding: var(--spacing-xl) 0;
    background: var(--clr-bg-alt); /* Warmer Sandy Beige for differentiation */
    position: relative;
}

.memoria-card {
    border-color: rgba(99, 45, 98, 0.15);
}

.memoria-image {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 1.5rem;
    position: relative;
    border-bottom: 4px solid var(--clr-purple);
}

.memoria-logo-small {
    width: 60px;
    height: auto;
    opacity: 0.8;
}

.memoria-year-label {
    text-align: center;
    font-weight: 800;
    color: var(--clr-purple);
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.memoria-year-label span {
    font-size: 2.2rem;
    color: var(--clr-text-main);
    display: block;
    margin-top: 2px;
}

.memoria-card:hover .memoria-year-label span {
    color: var(--clr-purple);
    transform: scale(1.05);
    transition: all 0.3s ease;
}
