:root {
  --color-turquesa: #00Ced1;
  --color-morado: #8b008b;
  --color-narutek: #004AAD;
  --color-facebook: #4968ad;
  --color-youtube: #eb3223;
  --color-twitter: #49a1eb;
  
  --solarized-base03: #002b36;
  --solarized-base02: #073642;
  --solarized-base01: #586e75;
  --solarized-base00: #657b83;
  --solarized-base0: #839496;
  --solarized-base1: #93a1a1;
  --solarized-base2: #eee8d5;
  --solarized-base3: #fdf6e3;

  --font-sans: Verdana, sans-serif;
  --font-display: Helvetica, sans-serif;

  --header-height: 276px;
}

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

html {
    overflow-x: hidden;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: var(--font-sans);
    color: var(--color-morado);
    line-height: 1.5;
    background-color: white;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: bold;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; }
h4 { font-size: 1.5rem; margin-bottom: 1rem; }

a {
  color: var(--color-turquesa);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-turquesa);
    border-radius: 9999px;
    color: var(--color-morado);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;

    /* Skeuomorphic shading - matches site-wide .btn-outline */
    background: radial-gradient(ellipse at 35% 30%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(224, 252, 252, 0.85) 45%,
        rgba(180, 240, 242, 0.75) 100%
    );

    box-shadow:
        0 2px 6px rgba(0, 150, 160, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.10),
        inset 0 2px 4px rgba(255, 255, 255, 0.70),
        inset 0 -2px 4px rgba(0, 150, 160, 0.12);
}

.btn:hover {
    background: radial-gradient(ellipse at 35% 30%,
        rgba(0, 230, 233, 0.95) 0%,
        rgba(0, 206, 209, 0.90) 50%,
        rgba(0, 170, 175, 0.85) 100%
    );
    color: white;
    text-decoration: none;
    transform: scale(1.05);
    box-shadow:
        0 4px 12px rgba(0, 150, 160, 0.30),
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.40),
        inset 0 -2px 5px rgba(0, 100, 120, 0.20);
}

.btn-primary {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-turquesa);
    border-radius: 9999px;
    color: var(--color-morado);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;

    /* Skeuomorphic shading - matches site-wide .btn-outline */
    background: radial-gradient(ellipse at 35% 30%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(224, 252, 252, 0.85) 45%,
        rgba(180, 240, 242, 0.75) 100%
    );

    box-shadow:
        0 2px 6px rgba(0, 150, 160, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.10),
        inset 0 2px 4px rgba(255, 255, 255, 0.70),
        inset 0 -2px 4px rgba(0, 150, 160, 0.12);
}

.btn-primary:hover {
    background: radial-gradient(ellipse at 35% 30%,
        rgba(0, 230, 233, 0.95) 0%,
        rgba(0, 206, 209, 0.90) 50%,
        rgba(0, 170, 175, 0.85) 100%
    );
    color: white;
    text-decoration: none;
    transform: scale(1.05);
    box-shadow:
        0 4px 12px rgba(0, 150, 160, 0.30),
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.40),
        inset 0 -2px 5px rgba(0, 100, 120, 0.20);
}

.btn-outline {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-turquesa);
    border-radius: 9999px;
    color: var(--color-morado);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;

    /* Skeuomorphic shading: light top-left highlight → slightly deeper bottom-right */
    background: radial-gradient(ellipse at 35% 30%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(224, 252, 252, 0.85) 45%,
        rgba(180, 240, 242, 0.75) 100%
    );

    /* Subtle depth: soft drop shadow + inner top highlight */
    box-shadow:
        0 2px 6px rgba(0, 150, 160, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.10),
        inset 0 2px 4px rgba(255, 255, 255, 0.70),
        inset 0 -2px 4px rgba(0, 150, 160, 0.12);
}

.btn-outline:hover {
    background: radial-gradient(ellipse at 35% 30%,
        rgba(0, 230, 233, 0.95) 0%,
        rgba(0, 206, 209, 0.90) 50%,
        rgba(0, 170, 175, 0.85) 100%
    );
    color: white;
    text-decoration: none;
    transform: scale(1.05);
    box-shadow:
        0 4px 12px rgba(0, 150, 160, 0.30),
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.40),
        inset 0 -2px 5px rgba(0, 100, 120, 0.20);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Utilities */
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.text-center { text-align: center; }
.flex { display: flex; }
.justify-center { justify-content: center; }
.gap-4 { gap: 1rem; }
.mt-8 { margin-top: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.rounded-lg { border-radius: 1rem; }
.overflow-hidden { overflow: hidden; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.transition { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

/* Additional Utilities */
.mt-4 { margin-top: 1rem; }
.mt-12 { margin-top: 3rem; }
.max-w-2xl { max-width: 42rem; }
.p-12 { padding: 3rem; }
.text-2xl { font-size: 1.5rem; }
.font-bold { font-weight: 700; }
.rounded-xl { border-radius: 0.75rem; }
.bg-turquesa-light { background-color: rgba(0, 206, 209, 0.1); }

/* Form Styles */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-morado);
}

.form-group input,
.form-group textarea {
    padding: 0.625rem 0.75rem;
    border: 2px solid var(--solarized-base01);
    border-radius: 0.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-morado);
    background: white;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-turquesa);
    box-shadow: 0 0 0 3px rgba(0, 206, 209, 0.15);
}

.error {
    color: #dc2626;
    font-size: 0.85rem;
    font-weight: 500;
}

.error-banner {
    background-color: rgba(220, 38, 38, 0.1);
    border: 1px solid #dc2626;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.success-message {
    background-color: rgba(0, 206, 209, 0.1);
    border: 1px solid var(--color-turquesa);
    padding: 3rem;
    border-radius: 0.75rem;
    text-align: center;
}

.success-message h2 {
    color: var(--color-morado);
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--solarized-base01);
}

.site-wrapper {
    position: relative;
    width: 100%;
    background: linear-gradient(to bottom, #ffffff, var(--solarized-base3)); /* Navigation background revealed behind the page card corners */
}

/* Grid Pattern — background decoration */
.grid-pattern-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* inside page-container, below main content */
    pointer-events: none;
    overflow: hidden;
    color: var(--color-turquesa);
    opacity: 0.2;
}

.dark-page .grid-pattern-container {
    display: none;
}

.grid-pattern-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.overflow-visible {
    overflow: visible;
}

/* Site Header — Layer 1 (behind page card) */
.site-header {
    position: relative;
    width: 100%;
    z-index: 100;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease, opacity 0.8s ease;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
}

.menu-open .site-header {
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
}

/* Header inner — Layer 3 (always on top: logo + burger) */
.header-inner {
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    z-index: 600;
    background: transparent;
    pointer-events: none; /* let clicks pass through to children */
}

.header-inner > * {
    pointer-events: auto; /* re-enable on actual children */
}

.header-logo-group {
    max-width: 80%;
}

.header-logo-link {
    display: block;
    text-decoration: none;
}

.header-logo-img-wrapper {
    height: 40px;
    margin-bottom: 0.5rem;
}

.header-logo-img-wrapper img {
    height: 100%;
    width: auto;
}

.header-tagline {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--color-turquesa);
    font-size: 1rem; /* text-base approx */
    line-height: 1.2;
    display: block;
    text-transform: none;
}

@media (min-width: 640px) {
    .header-tagline {
        font-size: 1.375rem; /* text-2xl from tailwind.config.js */
    }
}

.header-nav-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.625rem; /* Corresponding to p-2.5 */
    margin: -0.625rem; /* Corresponding to -m-2.5 to pull it to the corner */
    color: var(--color-morado);
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 9999px;
}

.nav-toggle:hover {
    color: var(--color-turquesa);
    background-color: rgba(0, 206, 209, 0.2); /* turquesa/20 */
}

.toggle-icon-wrapper {
    position: relative;
    width: 3rem; /* w-12 */
    height: 3rem; /* h-12 */
}

.icon-burger, .icon-close {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.icon-close {
    opacity: 0;
    transform: rotate(-90deg);
}

.menu-open .icon-burger {
    opacity: 0;
    transform: rotate(90deg);
}

.menu-open .icon-close {
    opacity: 1;
    transform: rotate(0deg);
}

/* Full Menu content wrapper */
.full-menu {
    background: linear-gradient(to bottom, #ffffff, var(--solarized-base3));
    min-height: 0;
}

.full-menu-content {
    min-height: 0;
    padding: 12rem 0 4rem; /* Increased top padding to clear fixed header */
    overflow: hidden;
    transition: min-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-open .full-menu-content {
    min-height: 70vh; /* The "almost a full page" reveal */
}

.nav-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 2rem;
    border-top: 1px solid var(--solarized-base2);
}

.nav-main-links {
    display: flex;
    flex-direction: column;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 2.25rem; /* text-4xl approx */
    font-weight: 500;
    color: var(--color-morado);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 2.5rem 2rem;
    background-color: var(--solarized-base2);
    border-bottom: 1px solid var(--solarized-base3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

@media (min-width: 640px) {
    .nav-grid {
        gap: 0.5rem; /* Subtle margin between rows */
        border-top: none;
    }
    
    .nav-main-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem; /* Subtle margin between top two */
    }
    
    .nav-link {
        padding: 4rem 2rem;
        font-size: 2.5rem;
        border-bottom: none;
    }
}

@media (min-width: 1024px) {
    .nav-link {
        padding: 5rem 3rem;
        font-size: 3.5rem;
    }
}

.nav-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--solarized-base3);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::after {
    opacity: 1;
}


.nav-extra-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: transparent;
}

@media (min-width: 640px) {
    .nav-extra-links {
        grid-template-columns: 1fr 1fr;
        border-top: 1px solid var(--solarized-base2);
    }
}

.nav-extra-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem 1rem;
}

@media (min-width: 640px) {
    .nav-extra-section {
        padding: 4rem 2rem;
    }
}

.nav-heading {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-morado);
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.social-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    color: var(--color-morado);
    transition: all 0.3s ease;
}

.social-link-icon:hover {
    transform: scale(1.25);
    color: var(--color-turquesa);
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    fill: currentColor;
}

.social-link {
    color: var(--color-morado);
    font-weight: 600;
    text-decoration: none;
}

.social-link:hover {
    color: var(--color-turquesa);
}

/* ===== Common Section Spacing ===== */

.section-spacing {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .section-spacing {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }
}

/* ===== News Section — Full Rewrite to Match Next.js Original ===== */

.news-section-tile {
    margin-top: 3rem;
    margin-bottom: 3rem;
    border-radius: 1rem;
    background: linear-gradient(to bottom right, rgba(238, 232, 213, 0.3), var(--solarized-base2));
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    color: var(--color-morado);
}

@media (min-width: 640px) {
    .news-section-tile {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }
}

/* --- Featured News (NewsFrontPage.jsx equivalent) --- */
.featured-news-section {
    scroll-margin-top: 3.5rem; /* scroll-mt-14 */
}

@media (min-width: 640px) {
    .featured-news-section {
        scroll-margin-top: 8rem; /* sm:scroll-mt-32 */
    }
}

.featured-news-wrapper {
    padding-top: 4rem;
    padding-bottom: 2rem;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .featured-news-wrapper {
        padding-top: 5rem; /* lg:pt-20 */
    }
}

.featured-news-container {
    position: relative;
    max-width: 80rem; /* max-w-7xl */
    margin: 0 auto;
    padding: 1rem;
    border: 1px solid rgba(0, 150, 136, 0.5); /* border-turquesa/50 */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 3rem; /* rounded-5xl */
    background-color: var(--solarized-base3);
    margin-top: -5rem;
}

@media (min-width: 640px) {
    .featured-news-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .featured-news-container {
        padding-left: 2rem;
        padding-right: 2rem;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Scroll-triggered scale animation for featured news */
.featured-news-wrapper.scroll-animate {
    transform: scale(0.75);
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
}

.featured-news-wrapper.scroll-animate.is-visible {
    transform: scale(1);
    opacity: 1;
}

.featured-news-title {
    margin-top: 0;
    font-size: 2rem; /* text-4xl */
    font-weight: 700; /* font-bold */
    color: var(--solarized-base01);
    line-height: 1.2; /* tracking-tight */
    font-family: var(--font-display);
}

@media (min-width: 1024px) {
    .featured-news-title {
        font-size: 2.5rem; /* lg:text-5xl equivalent */
    }
}

.featured-news-body {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .featured-news-body {
        grid-template-columns: 1fr 1fr;
    }
}

.featured-news-text {
    font-size: 1.125rem; /* text-base */
    line-height: 1.75;
    color: var(--solarized-base00);
    white-space: pre-line;
    max-width: 36rem; /* max-w-prose */
}

@media (min-width: 1024px) {
    .featured-news-text {
        max-width: none; /* lg:max-w-none */
    }
}

.featured-news-image-container {
    position: relative;
}

@media (min-width: 1024px) {
    .featured-news-image-container {
        grid-column: 2;
        grid-row: 1;
    }
}

.featured-news-figure {
    margin: 0;
}

.featured-news-img-wrapper {
    width: 100%;
    height: 100%;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    outline: none;
}

.featured-news-img {
    width: 100%;
    aspect-ratio: 12 / 8; /* aspect-w-12 aspect-h-8 */
    object-fit: contain; /* object-contain — matches original */
    object-position: center;
    border-radius: 0.75rem; /* rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.featured-news-img-wrapper:hover .featured-news-img {
    transform: scale(1.02);
}

.featured-news-caption {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 0.75rem; /* mt-3 */
    font-size: 0.875rem; /* text-sm */
    color: var(--solarized-base00);
}

.caption-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--solarized-base1);
    margin-right: 0.5rem;
}

/* --- News Grid (News.js + NewsCard.jsx equivalent) --- */
.news-grid-section {
    position: relative;
    scroll-margin-top: 3.5rem; /* For #gracias anchor */
}

.news-grid-wrapper {
    position: relative;
    max-width: 80rem; /* max-w-7xl */
    margin: 0 auto;
    padding: 2rem 1rem;
}

@media (min-width: 640px) {
    .news-grid-wrapper {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .news-grid-wrapper {
        padding-top: 5rem; /* lg:pt-20 */
        padding-bottom: 5rem; /* lg:pb-20 */
    }
}

.news-grid-title {
    font-size: 1.5rem; /* text-xl equivalent for h4 */
    font-weight: 600;
    color: var(--solarized-base01);
    margin-bottom: 1rem;
}

/* Arrow navigation buttons */
.news-arrow-btn {
    position: absolute;
    top: 50%; /* Vertically centered */
    transform: translateY(-50%);
    z-index: 60;
    color: var(--color-morado);
    border-radius: 9999px;
    width: 3rem; /* h-12 */
    height: 3rem; /* w-12 */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid var(--color-turquesa);
    font-weight: 600;
    transition: all 0.3s ease;
    background: radial-gradient(ellipse at 35% 30%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(224, 252, 252, 0.85) 45%,
        rgba(180, 240, 242, 0.75) 100%
    );
    box-shadow:
        0 2px 6px rgba(0, 150, 160, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.10),
        inset 0 2px 4px rgba(255, 255, 255, 0.70),
        inset 0 -2px 4px rgba(0, 150, 160, 0.12);
}

.news-arrow-btn:hover:not(.opacity-0) {
    background: radial-gradient(ellipse at 35% 30%,
        rgba(0, 230, 233, 0.95) 0%,
        rgba(0, 206, 209, 0.90) 50%,
        rgba(0, 170, 175, 0.85) 100%
    );
    color: white;
    transform: translateY(-50%) scale(1.05);
    box-shadow:
        0 4px 12px rgba(0, 150, 160, 0.30),
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.40),
        inset 0 -2px 5px rgba(0, 100, 120, 0.20);
}

.news-arrow-left {
    left: -1.5rem; /* Push outside grid */
}

.news-arrow-right {
    right: -1.5rem; /* Push outside grid */
}

@media (min-width: 1024px) {
    .news-arrow-btn {
        top: 20rem; /* Keep at top-80 on desktop */
    }
}

/* News cards grid */
.news-grid {
    display: grid;
    gap: 2.5rem;
    margin-top: 0.5rem;
    z-index: 20;
}

@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile: single card per row, no grid */
@media (max-width: 1023px) {
    .news-grid {
        display: block;
        gap: 0;
    }

    /* Hide extra cards until JS re-fetches with size=1 */
    .news-grid .news-card:not(:first-child) {
        display: none;
    }

    .news-card {
        transform: none;
        max-width: 100%;
    }
}

/* News Card — matches NewsCard.jsx exactly */
.news-card {
    display: flex;
    flex-direction: column;
    transform: scale(0.9); /* scale-90 */
    border-radius: 0.75rem; /* rounded-lg */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.5s ease-in-out;
}

@media (min-width: 1024px) {
    .news-card {
        transform: scale(0.95); /* lg:scale-95 */
    }
}

.news-card:hover {
    transform: scale(1); /* lg:hover:scale-100 */
}

/* Scroll-triggered animation for cards */
.news-card.scroll-animate {
    opacity: 0;
}

.news-card.scroll-animate.is-visible {
    opacity: 1;
}

.news-card-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3; /* aspect-w-4 aspect-h-3 */
    overflow: hidden;
    border-radius: 0.75rem 0.75rem 0 0; /* rounded-t-xl */
}

.news-card-link-overlay {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem; /* rounded-t-xl */
}

/* Card content overlapping the image — key design element */
.news-card-content {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: white;
    border-radius: 0 0 0.75rem 0.75rem; /* rounded-b-lg */
    margin-top: -3.5rem; /* -mt-14 = -3.5rem — overlaps image */
    height: 20rem; /* h-80 */
    align-items: stretch;
}

.news-card-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 4rem; /* h-16 */
}

@media (min-width: 640px) {
    .news-card-header {
        margin-top: 0.5rem; /* sm:mt-2 */
    }
}

@media (min-width: 1024px) {
    .news-card-header {
        margin-top: 0; /* lg:mt-0 */
    }
}

.news-card-title {
    font-size: 0.875rem; /* text-sm */
    line-height: 1.5; /* xl:leading-6 */
    font-weight: 600; /* font-semibold */
    color: var(--solarized-base01);
}

@media (min-width: 1280px) {
    .news-card-title {
        line-height: 1.5rem; /* xl:leading-6 */
        font-size: 1rem;
    }
}

.news-card-date {
    position: absolute;
    bottom: 12rem; /* bottom-48 = 12rem */
    left: 1rem;
    right: 1rem;
    font-size: 0.875rem; /* text-sm */
    font-style: italic;
    color: var(--solarized-base0);
}

.news-card-excerpt {
    position: absolute;
    bottom: 4rem; /* bottom-16 = 4rem */
    left: 1rem;
    right: 1rem;
    padding-right: 1rem; /* pr-4 */
    font-size: 0.875rem; /* text-sm */
    line-height: 1.5; /* leading-5 */
    color: var(--solarized-base00);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.news-card-read-more {
    position: absolute;
    bottom: 1rem; /* bottom-4 */
    left: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-turquesa);
    text-decoration: none;
}

.news-card-read-more:hover {
    text-decoration: underline;
}

/* --- Pagination --- */
.news-pagination {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Desktop: range text */
.news-pagination-info {
    padding: 0.5rem 0;
}

@media (max-width: 1023px) {
    .news-pagination-info {
        display: none; /* hidden on mobile */
    }
}

.news-pagination-info p {
    font-size: 0.875rem; /* text-sm */
    color: var(--solarized-base1);
}

@media (min-width: 1024px) {
    .news-pagination-dots {
        display: none; /* hidden on desktop */
    }
}

.news-pagination-dots {
    display: flex;
    flex-direction: row;
    justify-content: center;
    overflow-x: auto;
    gap: 0.25rem;
    padding: 0.5rem 0;
}

.news-dot {
    width: 0.75rem; /* h-3 */
    height: 0.75rem; /* w-3 */
    border-radius: 9999px;
    border: 2px solid var(--solarized-base1);
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    padding: 0;
}

.news-dot.active {
    background-color: var(--solarized-base1);
    border-color: var(--solarized-base1);
}

.news-dot:hover {
    opacity: 0.8;
}

/* --- Lightbox Modal --- */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.85);
    display: none !important; /* Hidden by default — inline style + CSS both hide it */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 2rem;
}

.lightbox-modal.is-open {
    display: flex !important;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 9999px;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* --- News Detail Page --- */
.news-detail-section {
    min-height: 100vh;
    background-color: var(--solarized-base3);
    padding-top: 15rem; /* py-60 = 15rem — matches original */
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .news-detail-section {
        padding-left: 5rem; /* px-20 */
        padding-right: 5rem;
    }
}

.news-detail-container {
    position: relative;
    max-width: 80rem; /* max-w-7xl */
    margin: 0 auto;
    padding: 4rem 1rem;
    margin-top: -5rem; /* -mt-20 = -5rem */
    border: 1px solid rgba(0, 150, 136, 0.5); /* border-turquesa/50 */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 3rem; /* rounded-5xl */
    background-color: var(--solarized-base3);
}

@media (min-width: 640px) {
    .news-detail-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .news-detail-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.news-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 50;
    padding: 0.5rem 1rem;
    color: var(--color-morado);
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 2px solid var(--color-turquesa);
    background: radial-gradient(ellipse at 35% 30%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(224, 252, 252, 0.85) 45%,
        rgba(180, 240, 242, 0.75) 100%
    );
    box-shadow:
        0 2px 6px rgba(0, 150, 160, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.10),
        inset 0 2px 4px rgba(255, 255, 255, 0.70),
        inset 0 -2px 4px rgba(0, 150, 160, 0.12);
}

.news-back-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.news-back-btn:hover {
    background: radial-gradient(ellipse at 35% 30%,
        rgba(0, 230, 233, 0.95) 0%,
        rgba(0, 206, 209, 0.90) 50%,
        rgba(0, 170, 175, 0.85) 100%
    );
    color: white;
    transform: scale(1.05);
    box-shadow:
        0 4px 12px rgba(0, 150, 160, 0.30),
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.40),
        inset 0 -2px 5px rgba(0, 100, 120, 0.20);
}

.news-detail-header {
    margin-top: 2rem; /* mt-8 */
}

.news-detail-title {
    z-index: 30;
    font-size: 2.25rem; /* text-4xl */
    font-weight: 700;
    color: var(--solarized-base01);
    line-height: 1.2; /* tracking-tight */
    font-family: var(--font-display);
}

.news-detail-date {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: var(--solarized-base00);
}

.news-detail-body {
    display: grid;
    gap: 2rem;
    margin-top: 2rem; /* mt-8 */
}

@media (min-width: 1024px) {
    .news-detail-body {
        grid-template-columns: 1fr 1fr;
        margin-top: 0; /* lg:mt-0 */
    }
}

.news-detail-text {
    font-size: 1rem; /* text-base */
    line-height: 1.75;
    color: var(--solarized-base00);
    white-space: pre-line;
    max-width: 36rem; /* max-w-prose */
}

@media (min-width: 1024px) {
    .news-detail-text {
        margin-top: 2rem; /* lg:mt-0 — but we need prose spacing */
    }
}

.news-detail-image-container {
    position: relative;
}

@media (min-width: 1024px) {
    .news-detail-image-container {
        grid-column: 2;
        grid-row: 1;
    }
}

.news-detail-figure {
    margin: 0;
}

.news-detail-img {
    width: 100%;
    aspect-ratio: 12 / 8; /* aspect-w-12 aspect-h-8 */
    object-fit: cover;
    object-position: center;
    border-radius: 0.75rem; /* rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.news-detail-caption {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 0.75rem; /* mt-3 */
    font-size: 0.875rem; /* text-sm */
    color: var(--solarized-base00);
}

/* --- Error Page --- */
.error-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--solarized-base3);
}

.error-container {
    text-align: center;
    padding: 2rem;
}

.error-title {
    font-size: 6rem; /* text-9xl */
    font-weight: 700;
    color: var(--color-turquesa);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.25rem; /* text-xl */
    color: var(--solarized-base00);
    margin-bottom: 2rem;
}

.error-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-turquesa);
    color: white;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.error-link:hover {
    background-color: rgba(0, 150, 136, 0.9);
    transform: scale(1.05);
}

/* --- Utility classes for responsive display --- */
.desktop-only {
    display: none;
}

.mobile-only {
    display: block;
}

@media (min-width: 1024px) {
    .desktop-only {
        display: block;
    }
    .mobile-only {
        display: none;
    }
}

/* --- Utility classes for arrow buttons --- */
.opacity-0 { opacity: 0; }
.pointer-events-none { pointer-events: none; }

/* --- Scroll animation base classes --- */
.scroll-animate {
    opacity: 0;
    transform: scale(0.75);
    transition: opacity 1s ease, transform 1s ease;
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* For cards specifically — different animation */
.news-card.scroll-animate {
    opacity: 0;
    transform: scale(0.9);
}

.news-card.scroll-animate.is-visible {
    opacity: 1;
    transform: scale(0.95); /* Match the lg:scale-95 default */
}

.news-card:hover {
    transform: scale(1) !important; /* Override on hover */
}

.w-full { width: 100%; }
.h-48 { height: 12rem; }
.object-cover { object-fit: cover; }
.p-4 { padding: 1rem; }
.text-lg { font-size: 1.125rem; }
.font-bold { font-weight: 700; }
.mb-2 { margin-bottom: 0.5rem; }
.text-sm { font-size: 0.875rem; }
.text-gray-600 { color: #4b5563; }
.mb-4 { margin-bottom: 1rem; }
.text-xs { font-size: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.fixed { position: fixed; }
.bottom-4 { bottom: 1rem; }
.right-4 { right: 1rem; }
.z-30 { z-index: 30; }
.opacity-0 { opacity: 0; pointer-events: none; }
.opacity-100 { opacity: 1; pointer-events: auto; }
.duration-700 { transition-duration: 700ms; }

/* Modal styles using <dialog> */
dialog {
  border: none;
  border-radius: 0.5rem;
  padding: 2rem;
  max-width: 90vw;
  max-height: 90vh;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

/* Page Container — Layer 2 (top sheet, covers the header/menu behind it) */
.page-container {
    position: relative;
    z-index: 500;
    background: linear-gradient(to bottom left, var(--solarized-base2), var(--solarized-base3));
    border-radius: 40px 40px 0 0;
    margin: 8px 0 0; /* tiny gap so rounded top is fully visible */
    padding-top: 8rem; /* Clear the floating header bar so hero content is not hidden behind it */
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    min-height: 100vh;
    opacity: 0;
    overflow: visible !important;
}

/* Transparent page-container for dark pages (dislexia pages) */
body.dark-page .page-container {
    background: transparent !important;
    border-radius: 0;
    margin: 8px 0 0;
    padding-top: 0;
}

main {
    position: relative;
    z-index: 10;
}

.loaded .page-container {
    opacity: 1;
}

/* Slide the page card down to reveal the nav menu behind it */
.menu-open .page-container {
    margin-top: 1rem; /* Reduced negative margin to slide the Hero down more */
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    padding-bottom: 5rem;
    overflow: visible !important;
}

@media (min-width: 768px) {
    .hero-section {
        min-height: 900px; /* Increased to accommodate the column stack without overflowing up */
    }
}

@media (min-width: 1024px) {
    .hero-section {
        min-height: 70vh; /* Reduced from 80vh to reduce top white space and better center horizontally */
    }
}

.hero-absolute-wrapper {
    position: absolute;
    left: 0;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    overflow: visible !important;
}

.hero-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
    overflow: visible !important;
}

@media (min-width: 1024px) {
    .hero-inner {
        flex-direction: row;
        padding: 5rem;
        align-items: flex-start;
    }
}

.hero-text {
    position: relative;
    width: 100%;
    margin-top: 0;
}

@media (min-width: 640px) {
    .hero-text {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1024px) {
    .hero-text {
        width: 50%;
        margin-top: 0;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-text p, .hero-text h1 {
    margin: 0;
    padding: 0 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: var(--color-morado);
    font-family: var(--font-display);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-text p, .hero-text h1 {
        font-size: 1.875rem;
        padding: 0;
    }
}

.hero-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2.5rem;
    gap: 1.25rem;
}

.hero-buttons-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.25rem;
}

.hero-image-container {
    position: relative;
    margin-top: 1.25rem;
    width: 100%;
    overflow: visible !important;
}

@media (min-width: 768px) {
    .hero-image-container {
        width: 50%;
        margin-top: 2.5rem;
        padding-bottom: 11rem;
    }
}

@media (min-width: 1024px) {
    .hero-image-container {
        margin-top: 0;
        padding-bottom: 0;
    }
}

.hero-seal {
    position: relative;
    margin: 0 auto;
    display: flex;
    width: 16rem;
    height: 16rem;
    border-radius: 5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    transition: box-shadow 0.7s ease-in, opacity 0.5s ease-in;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    overflow: visible !important;
    opacity: 0; /* Square fades in gracefully */
    pointer-events: none; /* Prevent blocking clicks during animation */
}

.loaded .hero-seal {
    opacity: 1;
}

@media (min-width: 768px) {
    .hero-seal {
        width: 20rem;
        height: 20rem;
    }
}

@media (min-width: 1024px) {
    .hero-seal {
        width: 24rem;
        height: 24rem;
    }
}

.hero-seal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    will-change: transform, opacity;
}

.loaded .hero-seal img {
    animation: fadeInScaleDown 1s ease-in-out forwards;
}

@keyframes fadeInScaleDown {
    0% {
        opacity: 0;
        transform: scale(10);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-seal.lift {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ===== Contact Page Layout ===== */

.contact-section {
    min-height: 100vh;
    padding: 6rem 1rem 4rem;
    background: linear-gradient(to right, rgba(0, 206, 209, 0.2), var(--color-turquesa));
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
}

.contact-card {
    background-color: var(--color-turquesa);
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .contact-card {
        grid-template-columns: 1fr 2fr;
    }
}

/* Info panel (left) */
.contact-info-panel {
    padding: 2rem 1.5rem;
    color: var(--color-morado);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .contact-info-panel {
        padding: 2.5rem;
    }
}

@media (min-width: 1280px) {
    .contact-info-panel {
        padding: 3rem;
    }
}

.contact-info-heading {
    font-size: 1.125rem;
    font-weight: 700;
}

.contact-info-text {
    margin-top: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .contact-info-text {
        font-size: 0.875rem;
    }
}

.contact-email-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    font-size: 1rem;
    transition: transform 0.7s ease, animation 0.7s ease;
}

.contact-email-row:hover {
    transform: scale(1.1);
    animation: pulse 2s infinite;
}

.contact-email-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.25rem;
    color: var(--color-morado);
}

.contact-email-link {
    color: var(--color-morado);
    text-decoration: none;
}

.contact-email-link:hover {
    text-decoration: underline;
}

/* Social icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 2.75rem;
    margin-top: 2.5rem;
}

.social-icon {
    color: var(--color-morado);
    transition: transform 0.7s ease, color 0.7s ease, animation 0.7s ease;
}

.social-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.social-icon:hover {
    color: rgba(139, 0, 139, 0.95);
    transform: scale(1.25);
    animation: pulse 2s infinite;
}

/* Form panel (right) */
.contact-form-panel {
    padding: 2rem 1.5rem 2.5rem;
    color: var(--solarized-base00);
}

@media (min-width: 768px) {
    .contact-form-panel {
        padding: 2.5rem;
    }
}

@media (min-width: 1280px) {
    .contact-form-panel {
        padding: 3rem;
    }
}

.contact-form-heading {
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Form grid */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .contact-form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.contact-form-full {
    grid-column: 1 / -1;
}

/* Form fields */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--solarized-base00);
}

@media (min-width: 1024px) {
    .form-label {
        font-size: 0.75rem;
    }
}

.form-optional {
    font-size: 0.875rem;
    color: var(--solarized-base1);
}

@media (min-width: 1024px) {
    .form-optional {
        font-size: 0.75rem;
    }
}

.form-input {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d5c4a1;
    border-radius: 0.375rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--solarized-base00);
    background: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-turquesa);
    box-shadow: 0 0 0 3px rgba(0, 206, 209, 0.25);
}

.form-input::placeholder {
    color: var(--solarized-base1);
}

.input-error {
    border-color: #dc2626;
}

.input-error:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

/* Char counter */
.char-counter {
    font-size: 0.75rem;
    color: var(--solarized-base1);
}

@media (min-width: 1024px) {
    .char-counter {
        font-size: 0.6875rem;
    }
}

/* Submit row */
.form-submit-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

/* Success page */
.contact-success-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, rgba(0, 206, 209, 0.2), var(--color-turquesa));
}

.contact-success-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    text-align: center;
    max-width: 32rem;
    margin: 1rem;
}

.contact-success-card h2 {
    color: var(--color-morado);
    margin-bottom: 1rem;
}

.contact-success-card p {
    color: var(--solarized-base01);
    margin-bottom: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ===== Footer ===== */

.site-footer {
    background-color: var(--solarized-base1);
    padding: 1.25rem 0 2.5rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--solarized-base2);
}

.footer-copyright,
.footer-credit,
.footer-rights {
    margin: 0;
    line-height: 1.6;
}

.footer-credit a {
    color: var(--color-turquesa);
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .footer-links {
        gap: 1.5rem;
    }
}

.footer-links a {
    color: var(--color-turquesa);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--color-morado);
    text-decoration: underline;
}

/* ===== Legal/RGPD Pages ===== */

.legal-section {
    min-height: 100vh;
    padding: 8rem 1rem 4rem;
    background: linear-gradient(to right, var(--solarized-base3), white);
}

.legal-container {
    max-width: 64rem;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: linear-gradient(to right, var(--solarized-base2), white);
    border-radius: 0.5rem;
}

@media (min-width: 640px) {
    .legal-container {
        padding: 2rem 4rem;
    }
}

@media (min-width: 1024px) {
    .legal-container {
        padding: 2rem 6rem;
    }
}

.legal-heading {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-morado);
}

.legal-content {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--solarized-base01);
    letter-spacing: 0.025em;
}

.legal-content h3 {
    margin-top: 1rem;
    color: var(--color-morado);
    font-size: 1.125rem;
}

.legal-content h4 {
    color: var(--color-morado);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    margin: 0;
}

.legal-content ul {
    margin: 0;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-content li {
    margin-bottom: 0.25rem;
}

.legal-content a {
    color: var(--color-morado);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-content a:hover {
    color: var(--color-turquesa);
    text-decoration: underline;
}

/* ===== Dixguada Content Updates (April 2026) ===== */

/* DIXMURO Highlight Section in Hero */
.dixmuro-highlight-section {
    padding: 2rem 0;
}

.dixmuro-card {
    border-left: 4px solid var(--color-turquesa);
    background-color: #f8fffe;
}

/* Page Sections (DIXI, Crecer con Dislexia) */
.page-section {
    padding: 3rem 0;
}

.section-title {
    color: var(--color-morado);
    margin-bottom: 1.5rem;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-morado);
}

/* DIXI Mascot Page */
.dixi-hero-image {
    max-width: 350px;
    width: 100%;
    display: block;
    margin: 0 auto 2rem;
}

.social-links-section {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-morado);
    transition: all 0.3s ease;
    border: 2px solid var(--color-turquesa);
    cursor: pointer;
    background: radial-gradient(ellipse at 35% 30%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(224, 252, 252, 0.85) 45%,
        rgba(180, 240, 242, 0.75) 100%
    );
    box-shadow:
        0 2px 6px rgba(0, 150, 160, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.10),
        inset 0 2px 4px rgba(255, 255, 255, 0.70),
        inset 0 -2px 4px rgba(0, 150, 160, 0.12);
}

.social-btn .social-icon {
    width: 1.2em;
    height: 1.2em;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.social-btn svg.social-icon {
    color: var(--color-morado);
    fill: var(--color-morado);
}

.social-btn:hover {
    background: radial-gradient(ellipse at 35% 30%,
        rgba(0, 230, 233, 0.95) 0%,
        rgba(0, 206, 209, 0.90) 50%,
        rgba(0, 170, 175, 0.85) 100%
    );
    color: white;
    transform: scale(1.05);
    box-shadow:
        0 4px 12px rgba(0, 150, 160, 0.30),
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.40),
        inset 0 -2px 5px rgba(0, 100, 120, 0.20);
    text-decoration: none;
}

.social-btn:hover svg.social-icon {
    color: white;
    fill: white;
}

/* ===== Novedades Section (Home Page) ===== */

.novedades-section {
    padding: 3rem 0;
}

@media (min-width: 640px) {
    .novedades-section {
        padding: 4rem 0;
    }
}

.novedades-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .novedades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.novedad-item {
    margin-bottom: 0;
}

.novedad-item:last-child {
    margin-bottom: 0;
}

.novedad-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-morado);
    margin-bottom: 1rem;
    text-align: center;
}

.novedad-text {
    color: var(--color-morado);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

/* DIXMURO Novedad */
.dixmuro-novedad .dixmuro-card {
    background-color: var(--solarized-base3);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* DIXI Novedad */
.dixi-card {
    background-color: var(--solarized-base3);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.dixi-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dixi-image-container {
    text-align: center;
    background-color: rgba(0, 206, 209, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.dixi-novedad-image {
    max-width: 250px;
    width: 100%;
    height: auto;
    display: inline-block;
}

.dixi-text-container {
    flex: 1;
}

.dixi-novedad .social-links-section {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ===== Utility classes for dislexia sub-pages ===== */

/* Accordion toggle (checkbox hack) - checkbox must be first child of wrapper */
.hidden { display: none; }

.peer-hidden { display: none !important; }

/* When the accordion checkbox is checked, reveal hidden items and "ver menos" link */
/* #adapta-toggle:checked ~ .page-container .peer-hidden { display: block !important; } */
/* #adapta-toggle:checked ~ .page-container .peer-link { display: flex !important; } */

/* Gradient backgrounds */
.bg-gradient-to-tr { background-image: linear-gradient(to top right, var(--gradient-from, transparent), var(--gradient-to, transparent)); }

.from-morado { --gradient-from: var(--color-morado); }
.to-morado\/50 { --gradient-to: rgba(139, 0, 139, 0.5); }

/* Text colors */
.text-turquesa { color: var(--color-turquesa); }

/* Spacing utilities */
.pb-72 { padding-bottom: 18rem; }

/* Prose-like text styling for white-on-purple sections */
.prose h1 { font-size: 2.5rem; margin-bottom: 1.5rem; color: white; }
.prose h4 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 0.75rem; color: white; }
.prose p { color: white; line-height: 1.75; }
.prose ol { list-style-type: decimal; padding-left: 1.5em; }
.prose ul { list-style-type: disc; padding-left: 1.25em; margin-top: 0.5rem; }
.prose li { color: white; line-height: 1.75; }

/* Cursor pointer for label-based accordion toggle */
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; -webkit-user-select: none; }

/* Hover text transition */
.hover\:text-white:hover { color: white !important; }

/* Space between list items */
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }

/* Tracking wide text */
.tracking-wide { letter-spacing: 0.025em; }

/* Text base size */
.text-base { font-size: 1rem; }

/* List styling for nested items */
.list-decimal { list-style-type: decimal; }
.list-disc { list-style-type: disc; }
.ml-5 { margin-left: 1.25rem; }

/* ===== Notable Dyslexics Section ===== */
.notable-dyslexics-section {
    padding: 4rem 0;
    margin-top: 3rem;
    margin-bottom: 3rem;
    border-radius: 0.375rem;
    background-color: var(--color-morado);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .notable-dyslexics-section {
        margin-top: 4rem;
        margin-bottom: 4rem;
    }
}

.notable-dyslexics-section .section-header {
    padding: 0 1rem;
    color: white;
}

.notable-dyslexics-section .section-header p {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

.notable-dyslexics-section .section-header p:last-child {
    margin-top: 1rem;
    font-size: 1.125rem;
    font-weight: 400;
}

.notable-dyslexics-grid {
    max-width: 80rem;
    margin: 4rem auto 0;
    padding: 0 1rem;
}

.notable-dyslexics-list {
    display: grid;
    gap: 2.5rem 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 640px) {
    .notable-dyslexics-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .notable-dyslexics-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

.notable-dyslexics-item {
    counter-increment: video;
}

.notable-dyslexics-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    height: 11rem;
    border-radius: 1rem;
    background-image: conic-gradient(from -49.8deg at 50% 50%, #8b008b 0deg, #6c71c4 59.07deg, #fdf6e3 185.61deg, #00Ced1 284.23deg, #B84FF1 329.41deg, #8b008b 360deg);
}

.notable-dyslexics-image-wrapper {
    overflow: hidden;
    border-radius: 1rem;
}

.notable-dyslexics-image-wrapper img {
    width: 300px;
    height: 300px;
    object-fit: contain;
}

.notable-dyslexics-item h3 {
    margin-top: 2rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    color: white;
}

.notable-dyslexics-item h3::before {
    display: block;
    margin-bottom: 0.5rem;
    font-family: monospace;
    font-size: 0.875rem;
    color: var(--solarized-base0);
    content: counter(video, decimal-leading-zero);
}

.notable-dyslexics-item p {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: white;
    line-height: 1.5;
}

.notable-dyslexics-footer {
    margin-top: 2.5rem;
    margin-bottom: 5rem;
    font-size: 1.125rem;
    line-height: 1.6;
    text-align: center;
    color: white;
}

/* ===== Sponsors Section ===== */
.sponsors-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    scroll-margin-top: 3.5rem;
    color: var(--color-morado);
}

@media (min-width: 640px) {
    .sponsors-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
        scroll-margin-top: 4rem;
    }
}

.sponsors-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background: linear-gradient(to bottom right, rgba(238, 232, 213, 0.3), var(--solarized-base2));
    color: var(--color-morado);
}

.sponsors-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sponsors-card > p {
    margin-top: 2rem;
    font-size: 1.5rem;
    line-height: 1.2;
    font-family: var(--font-display);
    font-weight: 700;
}

.sponsors-list {
    display: grid;
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .sponsors-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .sponsors-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 6rem;
    margin: 0.75rem;
    transition: all 0.5s;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
    width: 200px;
}

.sponsor-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: scale(1.05);
}

.sponsor-item img {
    width: 150px;
    height: 180px;
    object-fit: contain;
}

/* ===== Notable Dyslexics Trigger Card — shirt-button skeuomorphism ===== */
.notable-trigger-card {
    position: relative;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* Oval / button shape */
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    max-width: 520px;
    width: 90%;
    margin: 3rem auto;

    /* Shirt-button skeuomorphic surface */
    background: radial-gradient(ellipse at 35% 30%,
        #e8fefe 0%,
        #a0e8ea 30%,
        #00CED1 65%,
        #007b8a 100%
    );

    /* Outer border — first ring of a shirt button */
    border: 6px solid #006070;

    /* Inner ring via outline — second ring of a shirt button */
    outline: 4px solid rgba(0, 180, 190, 0.7);
    outline-offset: -18px;

    /* Depth shadows: outer drop + inner highlight */
    box-shadow:
        0 8px 24px rgba(0, 100, 120, 0.45),
        0 2px 6px rgba(0, 0, 0, 0.3),
        inset 0 4px 18px rgba(255, 255, 255, 0.45),
        inset 0 -6px 20px rgba(0, 80, 100, 0.35);

    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.notable-trigger-card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow:
        0 14px 32px rgba(0, 100, 120, 0.55),
        0 4px 10px rgba(0, 0, 0, 0.3),
        inset 0 4px 18px rgba(255, 255, 255, 0.45),
        inset 0 -6px 20px rgba(0, 80, 100, 0.35);
}


@media (min-width: 640px) {
    .notable-trigger-card {
        margin-top: 4rem;
        margin-bottom: 4rem;
        max-width: 560px;
    }
}

.notable-trigger-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.notable-trigger-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-morado);
    margin-bottom: 0.5rem;
}

.notable-trigger-text {
    font-size: 1rem;
    color: var(--color-morado);
    line-height: 1.6;
}

.notable-trigger-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-turquesa);
    border-radius: 9999px;
    color: var(--color-morado);
    font-weight: 600;
    transition: all 0.3s ease;
    background: white;
    text-decoration: none;
    cursor: pointer;
}

.notable-trigger-btn:hover {
    background-color: var(--color-turquesa);
    color: white;
    text-decoration: none;
    transform: scale(1.05);
}

/* ===== Notable Dyslexics Modal Dialog ===== */
.notable-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    display: none;
}

.notable-modal[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.notable-modal::backdrop {
    background: rgba(0, 206, 209, 0.9);
}

.notable-modal-content {
    position: relative;
    width: 100%;
    max-width: 90vw;
    max-height: 90vh;
    margin: 3rem 1rem;
    overflow-y: auto;
    background: var(--color-morado);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.notable-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    background: var(--color-turquesa);
    border: none;
    border-radius: 0 0 0 0.5rem;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease;
}

.notable-modal-close:hover {
    background: rgba(0, 206, 209, 0.5);
}

.notable-modal-close svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Modal Section */
.notable-modal-section {
    padding: 2rem 1rem;
}

.notable-modal-header {
    padding: 0 1rem;
    color: white;
}

.notable-modal-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

.notable-modal-subtitle {
    margin-top: 1rem;
    font-size: 1.125rem;
    font-weight: 400;
}

.notable-modal-grid {
    padding: 2rem 1rem;
}

.notable-modal-list {
    display: grid;
    gap: 2.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .notable-modal-list {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .notable-modal-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

.notable-modal-item {
    display: flex;
    flex-direction: column;
}

.notable-modal-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    height: 11rem;
    border-radius: 1rem;
    background-image: conic-gradient(from -49.8deg at 50% 50%, #8b008b 0deg, #6c71c4 59.07deg, #fdf6e3 185.61deg, #00Ced1 284.23deg, #B84FF1 329.41deg, #8b008b 360deg);
}

.notable-modal-image-wrapper {
    overflow: hidden;
    border-radius: 1rem;
}

.notable-modal-image-wrapper img {
    width: 300px;
    height: 300px;
    object-fit: contain;
}

.notable-modal-item-title {
    margin-top: 2rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    color: white;
}

.notable-modal-item-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: white;
    line-height: 1.5;
}

.notable-modal-footer {
    margin-top: 2.5rem;
    margin-bottom: 5rem;
    padding: 0 1rem;
    font-size: 1.125rem;
    line-height: 1.6;
    text-align: center;
    color: white;
}

/* ===== Notable Dyslexics Modal - Fixed Styling ===== */
.notable-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    display: none;
}

.notable-modal[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.notable-modal::backdrop {
    background: rgba(0, 206, 209, 0.9);
}

.notable-modal-content {
    position: relative;
    width: 100%;
    max-width: 90vw;
    max-height: 90vh;
    margin: 3rem 1rem;
    overflow-y: auto;
    background: var(--color-morado);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.notable-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    background: var(--color-turquesa);
    border: none;
    border-radius: 0 0 0 0.5rem;
    color: white;
    cursor: pointer;
    transition: background 0.2s ease;
}

.notable-modal-close:hover {
    background: rgba(0, 206, 209, 0.5);
}

.notable-modal-close svg {
    width: 1.5rem;
    height: 1.5rem;
}

.notable-modal-section {
    padding: 2rem 1rem;
}

.notable-modal-header {
    padding: 0 1rem;
    text-align: center;
}

.notable-modal-title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
    color: white;
}

.notable-modal-subtitle {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: white;
}

.notable-modal-grid {
    padding: 2rem 1rem;
}

.notable-modal-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .notable-modal-list {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .notable-modal-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

.notable-modal-item {
    display: flex;
    flex-direction: column;
}

.notable-modal-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    height: 11rem;
    border-radius: 1rem;
    background-image: conic-gradient(from -49.8deg at 50% 50%, #8b008b 0deg, #6c71c4 59.07deg, #fdf6e3 185.61deg, #00Ced1 284.23deg, #B84FF1 329.41deg, #8b008b 360deg);
}

.notable-modal-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.75rem;
}

.notable-modal-item-title {
    margin-top: 2rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    color: white;
}

.notable-modal-item-title::before {
    display: block;
    margin-bottom: 0.5rem;
    font-family: monospace;
    font-size: 0.875rem;
    color: var(--solarized-base0);
    content: counter(video, decimal-leading-zero);
    counter-increment: video;
}

.notable-modal-item-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: white;
    line-height: 1.5;
}

.notable-modal-footer {
    margin-top: 2.5rem;
    margin-bottom: 5rem;
    padding: 0 1rem;
    font-size: 1.125rem;
    line-height: 1.6;
    text-align: center;
    color: white;
}

/* ===== Notable Dyslexics Modal - Match Original Styling ===== */
.notable-modal-list {
    display: grid;
    grid-template-columns: 1fr;
    gap-y: 2.5rem;
    gap-x: 2rem;
    counter-reset: video;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .notable-modal-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .notable-modal-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

.notable-modal-item {
    counter-increment: video;
}

.notable-modal-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    height: 11rem;
    border-radius: 1rem;
    background-image: conic-gradient(from -49.8deg at 50% 50%, #8b008b 0deg, #6c71c4 59.07deg, #fdf6e3 185.61deg, #00Ced1 284.23deg, #B84FF1 329.41deg, #8b008b 360deg);
}

.notable-modal-image-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notable-modal-img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    border-radius: 1rem;
}

.notable-modal-item-title {
    margin-top: 2rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    color: white;
}

.notable-modal-item-title::before {
    display: block;
    margin-bottom: 0.5rem;
    font-family: monospace;
    font-size: 0.875rem;
    color: var(--solarized-base0);
    content: counter(video, decimal-leading-zero);
}

.notable-modal-item-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: white;
    line-height: 1.5;
}

/* ===== Notable Dyslexics Modal - Responsive Fix ===== */
.notable-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    display: none;
    overflow-x: hidden;
}

.notable-modal[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.notable-modal::backdrop {
    background: rgba(0, 206, 209, 0.9);
}

.notable-modal-content {
    position: relative;
    width: 95vw;
    max-width: 95vw;
    max-height: 90vh;
    margin: 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--color-morado);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.notable-modal-close {
    position: sticky;
    top: 0;
    left: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    background: var(--color-turquesa);
    border: none;
    color: white;
    cursor: pointer;
    float: right;
    margin-left: calc(100% - 2.5rem);
}

.notable-modal-close:hover {
    background: rgba(0, 206, 209, 0.5);
}

.notable-modal-close svg {
    width: 1.5rem;
    height: 1.5rem;
}

.notable-modal-section {
    padding: 1rem;
    clear: both;
}

.notable-modal-header {
    text-align: center;
    padding: 0.5rem;
}

.notable-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
    color: white;
}

.notable-modal-subtitle {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: white;
}

.notable-modal-grid {
    padding: 1rem 0.5rem;
}

.notable-modal-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
    counter-reset: video;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .notable-modal-title {
        font-size: 1.5rem;
    }
    
    .notable-modal-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem 1.5rem;
    }
}

.notable-modal-item {
    counter-increment: video;
    min-width: 0;
}

.notable-modal-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 8rem;
    border-radius: 1rem;
    background-image: conic-gradient(from -49.8deg at 50% 50%, #8b008b 0deg, #6c71c4 59.07deg, #fdf6e3 185.61deg, #00Ced1 284.23deg, #B84FF1 329.41deg, #8b008b 360deg);
    overflow: hidden;
}

@media (min-width: 768px) {
    .notable-modal-card {
        height: 10rem;
    }
}

.notable-modal-image-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notable-modal-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.notable-modal-item-title {
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
    color: white;
    word-wrap: break-word;
}

@media (min-width: 768px) {
    .notable-modal-item-title {
        font-size: 0.875rem;
        margin-top: 1.5rem;
    }
}

.notable-modal-item-title::before {
    display: block;
    margin-bottom: 0.25rem;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--solarized-base0);
    content: counter(video, decimal-leading-zero);
}

.notable-modal-item-text {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: white;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .notable-modal-item-text {
        font-size: 0.875rem;
    }
}

.notable-modal-footer {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    text-align: center;
    color: white;
}

@media (min-width: 768px) {
    .notable-modal-footer {
        margin-top: 2rem;
        margin-bottom: 3rem;
        font-size: 1rem;
    }
}

/* ===== Notable Dyslexics Modal - Animations ===== */

/* Backdrop fade animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Modal content animation */
@keyframes blurIn {
    0% {
        opacity: 0;
        transform: translateY(1rem) scale(0.95);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes blurOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
    100% {
        opacity: 0;
        transform: translateY(1rem) scale(0.95);
        filter: blur(8px);
    }
}

.notable-modal[open]::backdrop {
    animation: fadeIn 1000ms ease-out forwards;
}

.notable-modal[open] .notable-modal-content {
    animation: blurIn 1000ms ease-out forwards;
}

.notable-modal.closing::backdrop {
    animation: fadeOut 1000ms ease-in forwards;
}

.notable-modal.closing .notable-modal-content {
    animation: blurOut 1000ms ease-in forwards;
}

/* ===== About Page ===== */
.about-page {
    position: relative;
    padding-top: 6rem;
    padding-bottom: 18rem;
    background: linear-gradient(to right, rgba(253, 246, 227, 0.5), var(--solarized-base3));
}

/* Intro Section */
.intro-section {
    padding-top: 5rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .intro-section {
        padding-top: 9rem;
    }
}

@media (min-width: 1024px) {
    .intro-section {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

.intro-container {
    padding: 2.5rem 1.25rem;
    line-height: 1.3;
    letter-spacing: 0;
    color: var(--color-morado);
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .intro-container {
        padding: 2.5rem 5rem;
    }
}

.intro-title {
    display: flex;
    justify-content: center;
    color: var(--color-morado);
}

.intro-text {
    margin-top: 1rem;
}

/* Objectives List */
.objectives-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
}

.objective-item {
    display: flex;
}

.objective-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    fill: #3b82f6;
}

.objective-text {
    margin-left: 1rem;
}

/* More Objectives (Expandable) */
.more-objectives {
    display: none;
}

@media (min-width: 1024px) {
    .more-objectives {
        display: block;
    }
}

.more-objectives.visible {
    display: block;
}

/* Ver más button */
.btn-ver-mas {
    margin-top: 1rem;
    color: #2563eb;
    cursor: pointer;
    border: none;
    background: none;
}

.btn-ver-mas:hover {
    color: #1e40af;
}

/* Gracias Patricia Section */
.gracias-section {
    padding: 2.5rem 0;
    margin-top: 8rem;
}

@media (min-width: 768px) {
    .gracias-section {
        margin-top: 13rem;
        padding: 2.5rem;
    }
}

.gracias-card {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0.75rem;
    background: linear-gradient(to bottom right, white, var(--color-turquesa));
    color: var(--color-morado);
}

@media (min-width: 768px) {
    .gracias-card {
        flex-direction: row;
        padding: 1.25rem;
    }
}

.gracias-image-wrapper {
    width: 100%;
    max-width: 18rem;
}

.gracias-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.gracias-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem;
    padding-top: 0.5rem;
}

.gracias-title {
    margin-bottom: 0.5rem;
}

.gracias-text {
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .gracias-text {
        font-size: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .gracias-text {
        font-size: 1rem;
    }
}

/* Testimonios Section */
.testimonios-section {
    padding-top: 4rem;
    padding-bottom: 2rem;
    scroll-margin-top: 3.5rem;
    background: linear-gradient(to top, rgba(147, 161, 161, 0.3), var(--solarized-base3));
}

@media (min-width: 640px) {
    .testimonios-section {
        scroll-margin-top: 8rem;
        padding-top: 5rem;
        padding-bottom: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .testimonios-section {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }
}

.testimonios-header {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.testimonios-title {
    margin-top: 2rem;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: var(--font-display);
    color: var(--solarized-base01);
}

.testimonios-subtitle {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: var(--solarized-base00);
}

/* Testimonials Grid */
.testimonios-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 42rem;
    margin: 4rem auto 0;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .testimonios-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 80rem;
        padding: 0 2rem;
    }
}

.testimonios-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.testimonios-item {
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.5);
    outline: 1px solid rgba(100, 116, 139, 0.05);
}

@media (min-width: 1024px) {
    .testimonios-item {
        display: none;
    }
}

.testimonios-item-visible-desktop {
    display: block;
}

.testimonios-item-margin-top {
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .testimonios-item-margin-top {
        margin-top: 2rem;
    }
}

.testimonios-quote {
    font-style: italic;
}

.testimonios-quote-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--solarized-base01);
    margin-bottom: 1rem;
}

.testimonios-quote-text:last-child {
    margin-bottom: 0;
}

.testimonios-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonios-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    object-fit: cover;
    background-color: var(--solarized-base2);
}

.testimonios-author-info {
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
}

.testimonios-author-name {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--solarized-base01);
}

.testimonios-author-role {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--solarized-base00);
}

/* CTA Section */
.about-cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 4rem;
}

.about-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
}

.about-cta-text {
    color: var(--color-morado);
    margin-bottom: 2.5rem;
}

.about-cta-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.25rem;
}

.about-cta-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    border: 2px solid var(--color-turquesa);
    border-radius: 9999px;
    transition: all 0.3s ease;
    color: var(--color-morado);
    text-decoration: none;
    cursor: pointer;

    /* Skeuomorphic shading — matches site-wide .btn-outline */
    background: radial-gradient(ellipse at 35% 30%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(224, 252, 252, 0.85) 45%,
        rgba(180, 240, 242, 0.75) 100%
    );
    box-shadow:
        0 2px 6px rgba(0, 150, 160, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.10),
        inset 0 2px 4px rgba(255, 255, 255, 0.70),
        inset 0 -2px 4px rgba(0, 150, 160, 0.12);
}

.about-cta-button:hover {
    background: radial-gradient(ellipse at 35% 30%,
        rgba(0, 230, 233, 0.95) 0%,
        rgba(0, 206, 209, 0.90) 50%,
        rgba(0, 170, 175, 0.85) 100%
    );
    color: white;
    transform: scale(1.05);
    text-decoration: none;
    box-shadow:
        0 4px 12px rgba(0, 150, 160, 0.30),
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.40),
        inset 0 -2px 5px rgba(0, 100, 120, 0.20);
}

/* ===== Common Dislexia Layout ===== */
.dislexia-subpage {
    background: linear-gradient(to bottom right, var(--color-morado), rgba(139, 0, 139, 0.5));
    padding-top: 5rem;
    padding-bottom: 5rem;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
}

.dislexia-hero {
    position: relative;
    height: 25rem;
    width: 100%;
    max-width: 80rem;
    margin: 3rem auto 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.dislexia-hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(139, 0, 139, 0.7);
    z-index: 1;
}

@media (min-width: 768px) {
    .dislexia-hero-overlay {
        background-color: rgba(139, 0, 139, 0.4);
    }
}

.dislexia-hero-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    padding: 1rem;
    z-index: 10;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .dislexia-hero-title {
        font-size: 3.5rem;
    }
}

.dislexia-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.25rem 1rem;
}

@media (min-width: 640px) {
    .dislexia-content {
        padding: 1.25rem 2rem;
    }
}

@media (min-width: 1024px) {
    .dislexia-content {
        padding: 4rem 2.5rem;
    }
}

@media (min-width: 1536px) {
    .dislexia-content {
        padding: 4rem 5rem;
    }
}

.dislexia-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 72rem;
    margin: 4rem auto 0;
    padding: 1.25rem 0.75rem 2.5rem;
    color: white;
    border: 2px solid var(--color-turquesa);
    border-radius: 0.5rem;
}

.dislexia-nav h4 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.dislexia-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    text-align: center;
}

.dislexia-nav-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-turquesa);
    border-radius: 9999px;
    color: var(--color-morado);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;

    /* Skeuomorphic shading — matches site-wide .btn-outline */
    background: radial-gradient(ellipse at 35% 30%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(224, 252, 252, 0.85) 45%,
        rgba(180, 240, 242, 0.75) 100%
    );
    box-shadow:
        0 2px 6px rgba(0, 150, 160, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.10),
        inset 0 2px 4px rgba(255, 255, 255, 0.70),
        inset 0 -2px 4px rgba(0, 150, 160, 0.12);
}

.dislexia-nav-btn:hover {
    background: radial-gradient(ellipse at 35% 30%,
        rgba(0, 230, 233, 0.95) 0%,
        rgba(0, 206, 209, 0.90) 50%,
        rgba(0, 170, 175, 0.85) 100%
    );
    color: white;
    text-decoration: none;
    transform: scale(1.05);
    box-shadow:
        0 4px 12px rgba(0, 150, 160, 0.30),
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.40),
        inset 0 -2px 5px rgba(0, 100, 120, 0.20);
}

@media (min-width: 768px) {
    .dislexia-nav-buttons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .dislexia-nav-buttons {
        column-gap: 3.5rem;
    }
}

.manifestaciones-hero-bg { background-image: url('/images/deco/dixSmile.jpeg'); }
.derechos-hero-bg { background-image: url('/images/deco/dixLaw.jpeg'); }
.becas-hero-bg { background-image: url('/images/deco/dixEuro.jpeg'); }
.dislexia-hero-bg { background-image: url('/images/deco/dys.png'); }

/* ===== Becas Page ===== */
.becas-section {
    color: white;
}

.becas-section p {
    margin-bottom: 1.5rem;
    line-height: 1.625;
}

.becas-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
}

/* Section content */
.dea-content {
    padding-top: 1.25rem;
    padding-bottom: 3rem;
    color: white;
    letter-spacing: 0;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .dea-content {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

@media (min-width: 1024px) {
    .dea-content {
        display: flow-root;
    }
}

.dea-section-title {
    margin-top: 3rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.dea-section-title:first-of-type {
    margin-top: 0;
}

/* Blockquote container */
.dea-blockquote-container {
    position: relative;
    padding-bottom: 0.5rem;
    margin: 0 auto;
    max-width: 42rem;
    background: transparent;
}

@media (min-width: 1024px) {
    .dea-blockquote-container {
        float: right;
        max-width: none;
        margin-top: 2.5rem;
    }
}

/* Blockquote */
.dea-blockquote {
    margin: 0 1.25rem;
    padding: 0;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, var(--solarized-base2), white);
}

@media (min-width: 640px) {
    .dea-blockquote {
        margin: 0;
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .dea-blockquote-container {
        transform: scale(0.75);
    }
}

.dea-blockquote-content {
    padding: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .dea-blockquote-content {
        padding: 2.5rem;
        padding-top: 3rem;
    }
}

.dea-blockquote-text {
    position: relative;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (min-width: 1024px) {
    .dea-blockquote-text {
        flex-wrap: nowrap;
        letter-spacing: 0.025em;
    }
}

.dea-quote-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 2rem;
    height: 2rem;
    transform: translate(-0.75rem, -0.5rem);
    color: var(--color-turquesa);
}

.dea-blockquote-label {
    margin-left: 2rem;
}

.dea-blockquote-label p {
    display: inline;
}

/* Citation */
.dea-blockquote-citation {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-style: normal;
    border-radius: 0 0 0.5rem 0.5rem;
    background: var(--color-morado);
}

@media (min-width: 640px) {
    .dea-blockquote-citation {
        margin-top: 2.5rem;
    }
}

.dea-citation-icon-wrapper {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    border: 2px solid white;
    border-radius: 9999px;
}

@media (min-width: 640px) {
    .dea-citation-icon-wrapper {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 5rem;
        height: 5rem;
    }
}

.dea-citation-icon {
    width: 100%;
    height: 100%;
    padding: 0.25rem;
    border-radius: 9999px;
    background: var(--color-turquesa);
    object-fit: contain;
}

/* Paragraphs */
.dea-paragraph {
    font-size: 1rem;
    line-height: 1.6;
}

/* DEA Navigation Buttons */
.dea-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 42rem;
    margin: 0 auto;
    padding: 1.25rem 0.75rem;
    padding-bottom: 2.5rem;
    border: 2px solid var(--color-turquesa);
    border-radius: 0.375rem;
}

@media (min-width: 768px) {
    .dea-buttons {
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .dea-buttons {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

.dea-buttons-title {
    color: white;
    margin-bottom: 1.25rem;
}

.dea-buttons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: center;
}

@media (min-width: 768px) {
    .dea-buttons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3.5rem;
    }
}

/* Blockquote - base styles */
.dea-blockquote-wrapper {
    position: relative;
    margin: 1.75rem auto;
    padding-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .dea-blockquote-wrapper {
        margin: 1.75rem 0;
    }
}

@media (min-width: 1024px) {
    .dea-blockquote-wrapper {
        float: right;
        margin: 2.5rem 0 1rem 2rem;
        transform: scale(0.75);
        transform-origin: top right;
    }
}

.dea-blockquote {
    background: linear-gradient(to right, var(--solarized-base2), white);
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.dea-blockquote-header {
    padding: 2rem 1.5rem 1rem;
}

@media (min-width: 640px) {
    .dea-blockquote-header {
        padding: 2rem 2.5rem 1rem;
    }
}

.dea-quote-icon {
    width: 2rem;
    height: 2rem;
    color: var(--color-turquesa);
    margin-bottom: 0.5rem;
}

.dea-blockquote-label {
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
}

@media (min-width: 768px) {
    .dea-blockquote-label {
        font-size: 1.125rem;
    }
}

.dea-blockquote-label span {
    display: block;
}

@media (min-width: 1024px) {
    .dea-blockquote-label span {
        display: inline;
    }
}

.dea-citation {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 1.5rem;
    background: var(--color-morado);
}

@media (min-width: 640px) {
    .dea-citation {
        padding: 1.25rem 2.5rem;
    }
}

.dea-citation-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.25rem;
    border-radius: 9999px;
    border: 2px solid white;
    background: var(--color-turquesa);
}

@media (min-width: 640px) {
    .dea-citation-icon {
        width: 3rem;
        height: 3rem;
    }
}

/* Paragraphs */
.dea-paragraph {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .dea-paragraph {
        font-size: 1rem;
    }
}

.dea-blockquote {
    background: linear-gradient(to right, var(--solarized-base2), white);
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 206, 209, 0.3);
}

.dea-blockquote-header {
    padding: 2rem 2.5rem 1rem;
}

.dea-quote-icon {
    width: 2rem;
    height: 2rem;
    color: var(--color-turquesa);
    margin-bottom: 0.5rem;
}

.dea-blockquote-label {
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    margin-top: 1rem;
}

@media (min-width: 1024px) {
    .dea-blockquote-label {
        font-size: 1rem;
    }
}

.dea-blockquote-label span {
    display: block;
}

@media (min-width: 1024px) {
    .dea-blockquote-label span {
        display: inline;
    }
}

.dea-citation {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 2.5rem;
    background: var(--color-morado);
}

.dea-citation-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.25rem;
    border-radius: 9999px;
    border: 2px solid white;
    background: var(--color-turquesa);
}

.dea-paragraph {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Blockquote styling */
.dea-blockquote {
    margin: 0 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, var(--solarized-base2), white);
}

@media (min-width: 640px) {
    .dea-blockquote {
        margin: 0;
    }
}

.dea-blockquote-header {
    padding: 0.25rem 1.5rem 1rem;
    border-radius: 0.5rem 0.5rem 0 0;
}

@media (min-width: 640px) {
    .dea-blockquote-header {
        padding: 0.75rem 2.5rem 1.25rem;
    }
}

.dea-quote-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 2rem;
    height: 2rem;
    transform: translate(-0.75rem, -0.5rem);
    color: var(--color-turquesa);
}

.dea-blockquote-label {
    position: relative;
    margin-top: 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: #374151;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    letter-spacing: 0;
}

@media (min-width: 1024px) {
    .dea-blockquote-label {
        flex-wrap: nowrap;
        letter-spacing: 0.025em;
    }
}

.dea-blockquote-label span {
    display: inline;
}

/* Citation bar */
.dea-citation {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-style: normal;
    border-radius: 0 0 0.5rem 0.5rem;
    background: var(--color-morado);
}

@media (min-width: 640px) {
    .dea-citation {
        margin-top: 2.5rem;
        padding: 1.25rem 3rem 1.25rem 3rem;
    }
}

.dea-citation-icon {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.25rem;
    border-radius: 9999px;
    border: 2px solid white;
    background: var(--color-turquesa);
}

@media (min-width: 640px) {
    .dea-citation-icon {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 5rem;
        height: 5rem;
    }
}

/* ===== Dislexia Page - Animations ===== */

/* Hero animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLR {
    from { 
        opacity: 0;
        transform: translateX(-2rem);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRL {
    from {
        opacity: 0;
        transform: translateX(2rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dea-hero {
    opacity: 0;
    animation: fadeIn 500ms ease-out 100ms forwards;
}

.dea-hero-title {
    opacity: 0;
    animation: slideInLR 500ms ease-out 200ms forwards;
}

/* Text closer to blockquote on desktop */
@media (min-width: 1024px) {
    .dea-paragraph {
        max-width: 45rem;
    }
}

/* ===== About Page - Fixed Padding ===== */
.about-page {
    position: relative;
    padding-top: 6rem;
    padding-bottom: 18rem;
    background: linear-gradient(to right, rgba(253, 246, 227, 0.5), var(--solarized-base3));
}

/* Intro Section - Less top padding */
.intro-section {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .intro-section {
        padding-top: 5rem;
    }
}

@media (min-width: 1024px) {
    .intro-section {
        padding-top: 6rem;
        padding-bottom: 8rem;
    }
}

.intro-container {
    padding: 1.5rem 1.25rem;
    line-height: 1.3;
    letter-spacing: 0;
    color: var(--color-morado);
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .intro-container {
        padding: 2rem 3rem;
    }
}

.intro-title {
    display: flex;
    justify-content: center;
    color: var(--color-morado);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .intro-title {
        font-size: 1.75rem;
    }
}

.intro-text {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Objectives List */
.objectives-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.objective-item {
    display: flex;
    align-items: flex-start;
}

.objective-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.75rem;
    fill: #3b82f6;
}

@media (min-width: 768px) {
    .objective-icon {
        width: 2rem;
        height: 2rem;
    }
}

.objective-text {
    font-size: 0.9375rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .objective-text {
        font-size: 1rem;
    }
}

/* ===== Ayuda Page ===== */
.ayuda-page {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

/* Background wrapper */
.ayuda-bg-wrapper {
    position: absolute;
    inset: 0;
}

.ayuda-bg {
    position: absolute;
    inset: 0 0 0 0;
    background-image: url('/images/background/helpingHands.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.ayuda-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(139, 0, 139, 0.4);
}

@media (min-width: 768px) {
    .ayuda-overlay {
        background-color: rgba(0, 206, 209, 0.3);
    }
}

/* Main content card */
.ayuda-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1.25rem;
    margin-top: 8rem;
    margin-bottom: 15rem;
    text-align: center;
    color: var(--color-morado);
    background: rgba(253, 246, 227, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 1.5rem;
    gap: 1rem;
    width: 90%;
    max-width: 48rem;
}

@media (min-width: 640px) {
    .ayuda-content {
        margin-top: -10rem;
        margin-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .ayuda-content {
        padding: 2.5rem;
        margin-top: 8rem;
        margin-bottom: 18rem;
    }
}

.ayuda-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Buttons row */
.ayuda-buttons-row {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

@media (min-width: 768px) {
    .ayuda-buttons-row {
        flex-direction: row;
        justify-content: center;
        gap: 5rem;
    }
}

.ayuda-button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Button label */
.ayuda-button-label {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

/* Buttons */
.ayuda-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 18rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-turquesa);
    border-radius: 9999px;
    color: var(--color-morado);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;

    /* Skeuomorphic shading - matches site-wide .btn-outline */
    background: radial-gradient(ellipse at 35% 30%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(224, 252, 252, 0.85) 45%,
        rgba(180, 240, 242, 0.75) 100%
    );

    box-shadow:
        0 2px 6px rgba(0, 150, 160, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.10),
        inset 0 2px 4px rgba(255, 255, 255, 0.70),
        inset 0 -2px 4px rgba(0, 150, 160, 0.12);
}

.ayuda-button:hover {
    background: radial-gradient(ellipse at 35% 30%,
        rgba(0, 230, 233, 0.95) 0%,
        rgba(0, 206, 209, 0.90) 50%,
        rgba(0, 170, 175, 0.85) 100%
    );
    color: white;
    text-decoration: none;
    transform: scale(1.05);
    box-shadow:
        0 4px 12px rgba(0, 150, 160, 0.30),
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.40),
        inset 0 -2px 5px rgba(0, 100, 120, 0.20);
}

/* More info section */
.ayuda-more-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
    gap: 1rem;
}

.ayuda-button-stack {
    margin-bottom: 1rem;
}

/* More info section - fixed layout */
.ayuda-more-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1.25rem;
    width: 100%;
}

.ayuda-button-single {
    margin-bottom: 0.5rem;
}

.ayuda-buttons-row-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

@media (min-width: 768px) {
    .ayuda-buttons-row-bottom {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ===== Ayudo Page ===== */
.ayudo-page {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

/* Background wrapper */
.ayudo-bg-wrapper {
    position: absolute;
    inset: 0;
}

.ayudo-bg {
    position: absolute;
    inset: -25% 0 0 0;
    background-image: url('/images/background/helpingHands.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.ayudo-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(139, 0, 139, 1);
}

@media (min-width: 768px) {
    .ayudo-overlay {
        background-color: rgba(0, 206, 209, 0.3);
    }
}

/* Main content card */
.ayudo-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 1.25rem;
    margin-top: 5rem;
    text-align: center;
    color: var(--color-morado);
    background: rgba(253, 246, 227, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 1.5rem;
    gap: 1rem;
    width: 90%;
    max-width: 48rem;
}

@media (min-width: 1024px) {
    .ayudo-content {
        padding: 2.5rem;
        margin-top: 0;
    }
}

.ayudo-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Buttons row */
.ayudo-buttons-row {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

@media (min-width: 768px) {
    .ayudo-buttons-row {
        flex-direction: row;
        justify-content: center;
        gap: 5rem;
    }
}

.ayudo-button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Button label */
.ayudo-button-label {
    font-size: 0.875rem;
    padding: 1.25rem 0;
    text-align: center;
}

/* Buttons */
.ayudo-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 18rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-turquesa);
    border-radius: 9999px;
    color: var(--color-morado);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;

    /* Skeuomorphic shading - matches site-wide .btn-outline */
    background: radial-gradient(ellipse at 35% 30%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(224, 252, 252, 0.85) 45%,
        rgba(180, 240, 242, 0.75) 100%
    );

    box-shadow:
        0 2px 6px rgba(0, 150, 160, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.10),
        inset 0 2px 4px rgba(255, 255, 255, 0.70),
        inset 0 -2px 4px rgba(0, 150, 160, 0.12);
}

.ayudo-button:hover {
    background: radial-gradient(ellipse at 35% 30%,
        rgba(0, 230, 233, 0.95) 0%,
        rgba(0, 206, 209, 0.90) 50%,
        rgba(0, 170, 175, 0.85) 100%
    );
    color: white;
    text-decoration: none;
    transform: scale(1.05);
    box-shadow:
        0 4px 12px rgba(0, 150, 160, 0.30),
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.40),
        inset 0 -2px 5px rgba(0, 100, 120, 0.20);
}

/* Notify and Contact sections */
.ayudo-notify,
.ayudo-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* ===== Dona Page ===== */
.dona-page {
    color: var(--solarized-base00);
}

/* --- Bizum Section --- */
.bizum-section {
    position: relative;
    min-height: 100vh;
    background-image: url('/images/background/kellySikkema.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    padding: 10rem 1rem 2rem;
}

@media (min-width: 640px) {
    .bizum-section {
        min-height: 680px;
    }
}

@media (min-width: 1024px) {
    .bizum-section {
        min-height: 620px;
    }
}

@media (min-width: 1280px) {
    .bizum-section {
        min-height: 680px;
    }
}

@media (min-width: 1536px) {
    .bizum-section {
        min-height: 800px;
    }
}

.bizum-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-top: 2rem;
    margin-left: 1rem;
    position: absolute;
    top: 0;
    left: 0;
}

@media (min-width: 768px) {
    .bizum-content {
        margin-top: 4rem;
        margin-left: 2rem;
    }
}

@media (min-width: 1024px) {
    .bizum-content {
        margin-top: 2.5rem;
        margin-left: 4rem;
    }
}

.bizum-code-section {
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
}

.bizum-code-box {
    position: relative;
    text-align: center;
    color: var(--color-morado);
    padding: 1.5rem 1.5rem 3.5rem;
    width: 100%;
    max-width: 18rem;
    background: white;
    border: 2px solid var(--color-morado);
    border-radius: 1rem;
}

.bizum-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.bizum-logo-wrapper {
    position: relative;
    height: 9rem;
    width: 24rem;
    margin-bottom: 2rem;
}

.bizum-logo {
    object-fit: contain;
    width: 100%;
    height: 100%;
}




.bizum-code-inner {
    display: block;
}

.bizum-code-label {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    align-items: center;
}

.bizum-org-text {
    margin-top: 0.5rem;
    font-size: 1rem;
}

.bizum-dixguada-logo {
    height: 2rem;
    width: 9rem;
    object-fit: contain;
}

.bizum-code-number {
    font-size: 2rem;
    font-weight: 700;
}

.bizum-copy-btn {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    justify-content: center;
    padding: 0.4rem 0.8rem;
    border: 2px solid var(--color-turquesa);
    border-radius: 9999px;
    color: var(--color-morado);
    font-weight: 600;
    background: radial-gradient(ellipse at 35% 30%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(224, 252, 252, 0.85) 45%,
        rgba(180, 240, 242, 0.75) 100%
    );
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow:
        0 2px 6px rgba(0, 150, 160, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.10),
        inset 0 2px 4px rgba(255, 255, 255, 0.70),
        inset 0 -2px 4px rgba(0, 150, 160, 0.12);
}

.bizum-copy-btn:hover {
    background: radial-gradient(ellipse at 35% 30%,
        rgba(0, 230, 233, 0.95) 0%,
        rgba(0, 206, 209, 0.90) 50%,
        rgba(0, 170, 175, 0.85) 100%
    );
    color: white;
    transform: scale(1.05);
    box-shadow:
        0 4px 12px rgba(0, 150, 160, 0.30),
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.40),
        inset 0 -2px 5px rgba(0, 100, 120, 0.20);
}

.bizum-features {
    display: none;
    padding: 1.25rem 2.5rem;
    color: white;
    font-weight: 600;
    letter-spacing: 0.025em;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (min-width: 640px) {
    .bizum-features {
        position: absolute;
        bottom: 4rem;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 1.5rem;
        margin-top: 0;
        padding: 1.25rem 2rem;
    }
}

@media (min-width: 1024px) {
    .bizum-features {
        font-size: 1.125rem;
    }
}

@media (min-width: 1280px) {
    .bizum-features {
        font-size: 1.5rem;
    }
}


.bizum-credit {
    position: absolute;
    z-index: 5;
    bottom: 0.75rem;
    right: 1.5rem;
    display: flex;
    justify-content: flex-end;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.25rem 0.5rem;
}




.bizum-credit a {
    color: var(--solarized-base1);
    text-decoration: none;
}

.bizum-credit a:hover {
    color: white;
}

/* --- Bank Account Section --- */
.bank-section {
    padding: 5rem 1.25rem;
    background: linear-gradient(to bottom right, var(--solarized-base3), var(--color-turquesa));
}

@media (min-width: 1024px) {
    .bank-section {
        padding: 5rem 2.5rem;
    }
}

.bank-title {
    font-size: 2.25rem;
    text-align: center;
    padding: 1.75rem 0;
}

@media (min-width: 1024px) {
    .bank-title {
        text-align: left;
        margin-left: 5rem;
    }
}

.bank-details {
    text-align: center;
    color: var(--color-morado);
    padding: 1rem;
    max-width: 32rem;
    margin: 0 auto;
    border: 2px solid var(--color-morado);
    border-radius: 0.75rem;
}

.bank-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .bank-name {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .bank-name {
        font-size: 2rem;
    }
}

@media (min-width: 1280px) {
    .bank-name {
        font-weight: 700;
    }
}

@media (min-width: 1536px) {
    .bank-name {
        font-size: 2.25rem;
    }
}

.bank-iban {
    font-size: 1.5rem;
    font-family: monospace;
    word-break: break-all;
}

@media (min-width: 768px) {
    .bank-iban {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .bank-iban {
        font-size: 2rem;
    }
}

@media (min-width: 1280px) {
    .bank-iban {
        font-size: 2.25rem;
    }
}

@media (min-width: 1536px) {
    .bank-iban {
        font-size: 2.5rem;
    }
}

.bank-copy-btn {
    display: block;
    margin: 0 auto;
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--color-turquesa);
    border-radius: 9999px;
    color: var(--color-morado);
    font-weight: 600;
    background: radial-gradient(ellipse at 35% 30%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(224, 252, 252, 0.85) 45%,
        rgba(180, 240, 242, 0.75) 100%
    );
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow:
        0 2px 6px rgba(0, 150, 160, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.10),
        inset 0 2px 4px rgba(255, 255, 255, 0.70),
        inset 0 -2px 4px rgba(0, 150, 160, 0.12);
}

@media (min-width: 1024px) {
    .bank-copy-btn {
        margin-right: 0;
        margin-left: auto;
    }
}

.bank-copy-btn:hover {
    background: radial-gradient(ellipse at 35% 30%,
        rgba(0, 230, 233, 0.95) 0%,
        rgba(0, 206, 209, 0.90) 50%,
        rgba(0, 170, 175, 0.85) 100%
    );
    color: white;
    transform: scale(1.05);
    box-shadow:
        0 4px 12px rgba(0, 150, 160, 0.30),
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.40),
        inset 0 -2px 5px rgba(0, 100, 120, 0.20);
}

/* --- Thanks Section --- */
.thanks-section {
    padding: 2.5rem;
    text-align: center;
}

.thanks-section h2 {
    color: var(--color-turquesa);
    font-size: 1.875rem;
    font-weight: 700;
}

/* --- Tax Certificate Section --- */
.tax-section {
    position: relative;
    background: var(--solarized-base2);
}

.tax-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--solarized-base2) 50%, var(--solarized-base2) 50%);
}

.tax-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .tax-grid {
        grid-template-columns: 2fr 3fr;
    }
}

.tax-info {
    padding: 4rem 1.5rem;
    background: var(--solarized-base3);
}

@media (min-width: 1024px) {
    .tax-info {
        padding: 6rem 2rem;
    }
}

.tax-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--solarized-base00);
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .tax-info h2 {
        font-size: 1.875rem;
    }
}

.tax-info > p {
    font-size: 1.125rem;
    color: var(--solarized-base0);
    line-height: 1.625;
    margin-top: 0.75rem;
}

.tax-email {
    display: flex;
    font-size: 1rem;
    color: var(--solarized-base0);
    margin-top: 2rem;
}

.tax-email a {
    margin-left: 0.75rem;
    color: var(--solarized-base00);
    text-decoration: none;
}

.tax-email a:hover {
    text-decoration: underline;
}

.tax-requirements {
    margin-top: 2rem;
    font-size: 1rem;
    color: var(--solarized-base0);
}

.tax-requirements ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.tax-requirements li {
    margin-bottom: 0.25rem;
}

/* --- Tax Form --- */
.tax-form-wrapper {
    padding: 4rem 1.5rem;
    background: linear-gradient(to right, var(--solarized-base3), var(--solarized-base2));
}

@media (min-width: 1024px) {
    .tax-form-wrapper {
        padding: 6rem 2rem;
    }
}

.tax-success {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #d1fae5;
    border: 1px solid #34d399;
    border-radius: 0.5rem;
    color: #065f46;
    text-align: center;
}

.tax-error {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #fee2e2;
    border: 1px solid #f87171;
    border-radius: 0.5rem;
    color: #991b1b;
    text-align: center;
}

.tax-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 32rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .tax-form {
        max-width: none;
    }
}

.tax-input {
    display: block;
    width: 100%;
    padding: 0.875rem 1rem;
    background: white;
    color: var(--solarized-base00);
    border: 1px solid var(--solarized-base2);
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.tax-input::placeholder {
    color: var(--solarized-base1);
}

.tax-input:focus {
    outline: none;
    border-color: var(--color-morado);
}

.tax-submit {
    padding: 0.5rem 1.25rem;
    border: 2px solid var(--color-turquesa);
    border-radius: 9999px;
    color: var(--color-morado);
    font-weight: 600;
    background: radial-gradient(ellipse at 35% 30%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(224, 252, 252, 0.85) 45%,
        rgba(180, 240, 242, 0.75) 100%
    );
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 2px 6px rgba(0, 150, 160, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.10),
        inset 0 2px 4px rgba(255, 255, 255, 0.70),
        inset 0 -2px 4px rgba(0, 150, 160, 0.12);
}

.tax-submit:hover {
    background: radial-gradient(ellipse at 35% 30%,
        rgba(0, 230, 233, 0.95) 0%,
        rgba(0, 206, 209, 0.90) 50%,
        rgba(0, 170, 175, 0.85) 100%
    );
    color: white;
    transform: scale(1.05);
    box-shadow:
        0 4px 12px rgba(0, 150, 160, 0.30),
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.40),
        inset 0 -2px 5px rgba(0, 100, 120, 0.20);
}

.tax-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* Intro section */
.manifestaciones-intro {
    padding: 0;
}

.manifestaciones-intro p {
    color: white;
    font-size: 1rem;
    line-height: 1.625;
    letter-spacing: 0.025em;
}

@media (min-width: 768px) {
    .manifestaciones-intro p {
        font-size: 1.125rem;
    }
}

/* Accordion */
.manifestaciones-accordion {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    padding: 0.5rem;
    margin: 0 auto;
    background: white;
    border-radius: 1rem;
    max-width: 80rem;
}

@media (min-width: 640px) {
    .manifestaciones-accordion {
        padding: 0.5rem 1.25rem;
    }
}

@media (min-width: 1024px) {
    .manifestaciones-accordion {
        padding: 0.5rem 2.5rem;
    }
}

@media (min-width: 1536px) {
    .manifestaciones-accordion {
        padding: 0.5rem 5rem;
    }
}

.accordion-panel {
    width: 100%;
}

.accordion-toggle {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: left;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    color: var(--color-morado);
    background: var(--color-turquesa);
    transition: all 0.2s ease;
}

.accordion-toggle:hover {
    background: var(--color-morado);
    color: white;
}

.accordion-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
}

.accordion-arrow {
    transition: transform 0.2s ease;
}

.rotate-180 {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 1rem 0.75rem 0.75rem;
    font-size: 0.875rem;
    color: var(--color-morado);
}

.accordion-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.accordion-content li {
    margin-bottom: 0.25rem;
}

/* Text sections */
.manifestaciones-text {
    max-width: 80rem;
    margin: 0 auto;
    padding: 2.5rem 1rem 4rem;
    color: white;
}

@media (min-width: 640px) {
    .manifestaciones-text {
        padding: 2.5rem 2rem 4rem;
    }
}

@media (min-width: 1024px) {
    .manifestaciones-text {
        padding: 4rem 2.5rem;
    }
}

@media (min-width: 1536px) {
    .manifestaciones-text {
        padding: 4rem 5rem;
    }
}

.manifestaciones-text p {
    margin-bottom: 1rem;
}

.manifestaciones-subtitle {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.manifestaciones-text ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.manifestaciones-text li {
    margin-bottom: 0.5rem;
}


.deteccion-text {
    flex: 3;
}

.deteccion-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .deteccion-layout {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .deteccion-text {
        flex: 1;
    }
    
    .deteccion-resource {
        flex: 1;
        width: auto;
    }
}

.deteccion-text p {
    color: white;
    margin-bottom: 1rem;
}

.deteccion-protocolos {
    margin-top: 1.5rem;
}

/* Resource Card */
.deteccion-resource {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    border: 2px solid var(--color-turquesa);
    width: 100%;
}

@media (min-width: 768px) {
    .deteccion-resource {
        width: 50%;
    }
}

.deteccion-resource h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.deteccion-resource p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.deteccion-resource .btn {
    display: inline-block;
    color: var(--color-morado);
    border-color: var(--color-turquesa);
    background: radial-gradient(ellipse at 35% 30%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(224, 252, 252, 0.85) 45%,
        rgba(180, 240, 242, 0.75) 100%
    );
    box-shadow:
        0 2px 6px rgba(0, 150, 160, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.10),
        inset 0 2px 4px rgba(255, 255, 255, 0.70),
        inset 0 -2px 4px rgba(0, 150, 160, 0.12);
}

.deteccion-resource .btn:hover {
    background: radial-gradient(ellipse at 35% 30%,
        rgba(0, 230, 233, 0.95) 0%,
        rgba(0, 206, 209, 0.90) 50%,
        rgba(0, 170, 175, 0.85) 100%
    );
    color: white;
    transform: scale(1.05);
    box-shadow:
        0 4px 12px rgba(0, 150, 160, 0.30),
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.40),
        inset 0 -2px 5px rgba(0, 100, 120, 0.20);
}

.deteccion-protocolo-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.deteccion-info {
    padding-top: 2.5rem;
}

.deteccion-info > p {
    color: white;
    margin-bottom: 1.5rem;
}

.deteccion-info-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.deteccion-info-links a {
    color: white;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.deteccion-info-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}


/* ===== Protocolo Page ===== */
.protocolo-page {
    background: linear-gradient(to bottom right, var(--color-morado), rgba(139, 0, 139, 0.5));
    padding-top: 5rem;
    padding-bottom: 18rem;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    min-height: 100vh;
}

.protocolo-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 11rem 1rem 2.5rem;
    color: white;
}

@media (min-width: 768px) {
    .protocolo-container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}


/* ===== Asocia Page ===== */
.asocia-page {
    background: linear-gradient(to bottom right, var(--color-morado), rgba(139, 0, 139, 0.5));
    padding-top: 5rem;
    padding-bottom: 18rem;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    min-height: 100vh;
}

.asocia-hero {
    max-width: 80rem;
    margin: 0 auto;
    padding: 11rem 1rem 2.5rem;
    color: white;
}

@media (min-width: 768px) {
    .asocia-hero {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.asocia-hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.asocia-title {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-display);
}

@media (min-width: 640px) {
    .asocia-title {
        font-size: 3.75rem;
    }
}

.asocia-description {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.asocia-description p {
    margin: 0;
}

.asocia-cta {
    margin-top: 1.5rem;
}

.asocia-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    border: 2px solid var(--color-turquesa);
    border-radius: 9999px;
    color: var(--color-morado);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;

    /* Skeuomorphic shading - matches site-wide .btn-outline */
    background: radial-gradient(ellipse at 35% 30%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(224, 252, 252, 0.85) 45%,
        rgba(180, 240, 242, 0.75) 100%
    );

    box-shadow:
        0 2px 6px rgba(0, 150, 160, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.10),
        inset 0 2px 4px rgba(255, 255, 255, 0.70),
        inset 0 -2px 4px rgba(0, 150, 160, 0.12);
}

.asocia-button:hover {
    background: radial-gradient(ellipse at 35% 30%,
        rgba(0, 230, 233, 0.95) 0%,
        rgba(0, 206, 209, 0.90) 50%,
        rgba(0, 170, 175, 0.85) 100%
    );
    color: white;
    text-decoration: none;
    transform: scale(1.05);
    box-shadow:
        0 4px 12px rgba(0, 150, 160, 0.30),
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.40),
        inset 0 -2px 5px rgba(0, 100, 120, 0.20);
}

.asocia-benefits {
    max-width: 80rem;
    margin: 0 auto;
    padding: 3rem 1rem 5rem;
    color: white;
}

@media (min-width: 768px) {
    .asocia-benefits {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.asocia-benefits-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.asocia-benefits-title {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-display);
}

.asocia-benefits-intro {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.asocia-benefits-list {
    list-style-type: disc;
    padding-left: 1.25rem;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.asocia-benefits-list ul {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.asocia-benefits-sublist {
    margin-top: 0.75rem;
}
    }
}

@media (min-width: 1536px) {
    .protocolo-container {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

.protocolo-container h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.protocolo-container p {
    margin-bottom: 1.5rem;
}

/* Protocolo Modal */
.protocolo-modal {
    position: fixed;
    inset: 0;
    margin: auto;
    border: none;
    border-radius: 1rem;
    padding: 0;
    background: transparent;
    max-width: 90vw;
    max-height: 90vh;
    width: 90%;
    height: 90%;
}

.protocolo-modal::backdrop {
    background: rgba(0, 0, 0, 0.75);
}

.protocolo-modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 1rem;
    overflow: hidden;
}

.protocolo-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 206, 209, 0.6);
    color: white;
}

.protocolo-modal-header h2 {
    margin: 0;
    color: white;
}

.protocolo-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

.protocolo-modal-close:hover {
    color: var(--color-turquesa);
}

.protocolo-modal-body {
    flex: 1;
    overflow: hidden;
}

.protocolo-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Protocolo details/summary */
.protocolo-details {
    width: 100%;
}

.protocolo-details summary {
    cursor: pointer;
    list-style: none;
    text-align: center;
}

.protocolo-details summary::-webkit-details-marker {
    display: none;
}

.protocolo-details summary::after {
    content: " ▼";
    font-size: 0.75em;
}

.protocolo-details[open] summary::after {
    content: " ▲";
}

.protocolo-iframe-wrapper {
    margin-top: 1rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0.5rem;
}

.protocolo-iframe-wrapper iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 0.25rem;
}

/* PDF Viewer */
.deteccion-pdf-viewer {
    margin-top: 1.5rem;
    width: 100%;
    height: 500px;
    border: 2px solid rgba(139, 0, 139, 0.2);
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
}

.deteccion-pdf-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0.25rem;
}

/* Resource Card */
.deteccion-resource-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    border: 2px solid var(--color-turquesa);
}

.deteccion-resource-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.deteccion-resource-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.deteccion-resource-card .btn {
    display: inline-block;
    color: var(--color-morado);
    border-color: var(--color-turquesa);
    background: radial-gradient(ellipse at 35% 30%,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(224, 252, 252, 0.85) 45%,
        rgba(180, 240, 242, 0.75) 100%
    );
    box-shadow:
        0 2px 6px rgba(0, 150, 160, 0.18),
        0 1px 2px rgba(0, 0, 0, 0.10),
        inset 0 2px 4px rgba(255, 255, 255, 0.70),
        inset 0 -2px 4px rgba(0, 150, 160, 0.12);
}

.deteccion-resource-card .btn:hover {
    background: radial-gradient(ellipse at 35% 30%,
        rgba(0, 230, 233, 0.95) 0%,
        rgba(0, 206, 209, 0.90) 50%,
        rgba(0, 170, 175, 0.85) 100%
    );
    color: white;
    transform: scale(1.05);
    box-shadow:
        0 4px 12px rgba(0, 150, 160, 0.30),
        0 2px 4px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.40),
        inset 0 -2px 5px rgba(0, 100, 120, 0.20);
}



.derechos-section p {
    margin-bottom: 1rem;
    line-height: 1.625;
}

.derechos-section ul,
.derechos-section ol {
    color: white;
    margin-bottom: 1.5rem;
}

.derechos-section li {
    margin-bottom: 0.5rem;
}

.derechos-section li::marker {
    color: white !important;
}

.derechos-hidden {
    margin-top: 1.5rem;
}

/* Derechos text colors for dark background */
.derechos-section {
    color: white;
}

.derechos-section ul,
.derechos-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.derechos-section li {
    margin-bottom: 0.5rem;
}

/* Toggle buttons */
.derechos-toggle-open {
    display: flex;
    justify-content: flex-end;
    cursor: pointer;
    color: var(--color-turquesa);
    transition: color 0.2s;
    margin-top: 1rem;
    gap: 0.25rem;
    align-items: center;
}

.derechos-toggle-open:hover {
    color: white;
}

.rotate-180 {
    transform: rotate(180deg);
}

.derechos-toggle-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s ease;
}

.derechos-toggle-close .derechos-toggle-icon {
    transform: rotate(180deg);
}

.peer:checked ~ .derechos-toggle-open {
    display: none;
}

.derechos-hidden {
    display: none;
}

.peer:checked ~ .derechos-hidden {
    display: block;
}

.derechos-toggle-close {
    display: none;

/* ===== Dev News Management ===== */

.news-list {
    margin-top: 2rem;
}

.news-list-actions {
    margin-bottom: 2rem;
}

.news-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #f8fffe;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-item-content {
    flex: 1;
}

.news-item-title {
    font-size: 1.25rem;
    color: var(--color-morado);
    margin-bottom: 0.5rem;
}

.news-item-date {
    color: var(--color-morado);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.news-item-slug {
    color: var(--color-turquesa);
    font-size: 0.85rem;
}

.news-item-actions {
    display: flex;
    gap: 0.5rem;
}

.image-preview {
    margin-top: 1rem;
    padding: 1rem;
    background: #f0f0f0;
    border-radius: 0.375rem;
    text-align: center;
}

/* ===== Dev News Create Form ===== */

.news-form {
    max-width: 700px;
    margin: 2rem auto;
    background: #f8fffe;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-morado);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 0.375rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.2s;
}

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

.form-textarea {
    resize: vertical;
    min-height: 200px;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.alert {
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
    justify-content: flex-end;
    color: var(--color-turquesa);
    transition: color 0.2s;
    margin-top: 1rem;
    gap: 0.25rem;
    align-items: center;
    cursor: pointer;
}

.derechos-toggle-close-link {
    text-decoration: none;
}

.derechos-toggle-close-link:hover .derechos-toggle-close {
    color: white;
}

.peer:checked ~ .derechos-hidden .derechos-toggle-close {
    display: flex;
}

/* Utility: rotate icon 180 degrees */
.rotate-180 {
    transform: rotate(180deg);
}

/* Revert Facebook and Instagram buttons ONLY in Conoce a DIXI section */
.social-links-section .social-btn {
    background: none;
    border: none;
    box-shadow: none;
    color: white;
    padding: 0.75rem 1.5rem;
    transform: none;
}

.social-links-section .social-btn:hover {
    background: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-links-section .facebook-btn {
    background-color: var(--color-facebook);
}

.social-links-section .instagram-btn {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-links-section .social-btn .social-icon,
.social-links-section .social-btn svg.social-icon {
    color: white;
    fill: white;
}

.social-links-section .social-btn:hover svg.social-icon {
    color: white;
    fill: white;
}

