/* ==========================================================================
   Sotavento Ghost Theme — screen.css
   Colors: Navy #001B3D, Mint #98D8C8, Mint-light #E0F2F1
   Font: Inter
   ========================================================================== */

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

:root {
    --navy: #001B3D;
    --mint: #98D8C8;
    --mint-light: #E0F2F1;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gh-font-heading: var(--font-heading, 'Inter');
    --gh-font-body: var(--font-body, 'Inter');
    --radius-full: 9999px;
    --radius-3xl: 1.5rem;
    --radius-2xl: 1rem;
    --radius-xl: 0.75rem;
    --radius-lg: 0.5rem;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    color: var(--navy);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout ---------- */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.container-narrow { max-width: 56rem; margin: 0 auto; }
.container-md { max-width: 64rem; margin: 0 auto; }
.section { padding: 8rem 0; }
.text-center { text-align: center; }
.hidden-mobile { display: none; }

@media (min-width: 768px) {
    .container { padding: 0 1.5rem; }
    .hidden-mobile { display: inline; }
}
@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

/* ---------- Typography ---------- */
.text-mint { color: var(--mint); }
.text-faded { color: rgba(0,27,61,0.4); }
.italic { font-style: italic; }

.page-title-large {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}
.page-subtitle {
    color: rgba(0,27,61,0.6);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto 2rem;
    line-height: 1.7;
}
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}
.section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--navy);
    transition: gap 0.3s;
}
.section-link:hover { gap: 1rem; }

@media (min-width: 768px) {
    .page-title-large { font-size: 3rem; }
    .section-title { font-size: 3rem; }
    .section-header { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: var(--radius-full);
    padding: 1rem 2rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn:active { transform: scale(0.95); }

.btn-mint { background: var(--mint); color: var(--navy); box-shadow: var(--shadow-xl), 0 0 20px rgba(152,216,200,0.1); }
.btn-mint:hover { background: var(--white); }

.btn-navy { background: var(--navy); color: var(--white); box-shadow: var(--shadow-lg), 0 0 20px rgba(0,27,61,0.1); }
.btn-navy:hover { background: rgba(0,27,61,0.9); }

.btn-white { background: var(--white); color: var(--navy); width: 100%; text-align: center; border-radius: var(--radius-2xl); padding: 1rem 1.5rem; }
.btn-white:hover { background: var(--mint); }

.btn-outline-white { border: 1px solid rgba(255,255,255,0.2); color: var(--white); background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,0.05); }

.btn-lg { font-size: 1.25rem; padding: 1.25rem 3rem; box-shadow: var(--shadow-2xl), 0 0 20px rgba(0,27,61,0.2); }
.btn-lg:hover { transform: scale(1.05); }

/* ---------- Navbar ---------- */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 50;
}
.nav-container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 5rem; }

.nav-logo a { display: flex; align-items: center; }
.nav-logo img { width: 12rem; height: 4rem; object-fit: contain; }

.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-link {
    color: rgba(0,27,61,0.7);
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-link:hover { color: var(--navy); }

.nav-dropdown { position: relative; }
.dropdown-chevron { width: 1rem; height: 1rem; }
.nav-dropdown-menu {
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 0.5rem;
    width: 14rem;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    transform: translateY(0.5rem);
}
.nav-dropdown-menu.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: rgba(0,27,61,0.7);
    transition: all 0.2s;
}
.nav-dropdown-item:first-child { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.nav-dropdown-item:last-child { border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.nav-dropdown-item:hover { color: var(--navy); background: rgba(152,216,200,0.1); }

.nav-btn {
    background: var(--navy);
    color: var(--white);
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg), 0 0 10px rgba(0,27,61,0.1);
    transition: all 0.2s;
}
.nav-btn:hover { background: rgba(0,27,61,0.9); }
.nav-btn:active { transform: scale(0.95); }
.nav-btn-full { width: 100%; justify-content: center; padding: 1rem; border-radius: var(--radius-xl); font-size: 1rem; }

.nav-mobile-btn {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: var(--radius-lg);
    background: none;
    border: none;
    color: var(--navy);
    cursor: pointer;
    transition: background 0.2s;
}
.nav-mobile-btn:hover { background: var(--gray-100); }

.nav-mobile {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    overflow: hidden;
}
.nav-mobile.is-open { display: block; }
.nav-mobile-inner { padding: 0.5rem 1rem 1.5rem; }
.nav-mobile-link {
    display: block;
    padding: 1rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(0,27,61,0.7);
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}
.nav-mobile-link:hover { color: var(--navy); background: var(--gray-50); }
.nav-mobile-section { padding: 1rem 0.75rem 0.5rem; }
.nav-mobile-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(0,27,61,0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}
.nav-mobile-cta { padding-top: 1rem; }

@media (min-width: 768px) {
    .nav-links { display: flex; }
    .nav-mobile-btn { display: none; }
    .nav-container { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
    .nav-container { padding: 0 2rem; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
}
.hero-bg-accent {
    position: absolute;
    top: 0; right: 0;
    width: 50%; height: 100%;
    background: rgba(152,216,200,0.05);
    transform: skewX(12deg) translateX(5rem);
}
.hero-bg-glow {
    position: absolute;
    bottom: -5rem; left: -5rem;
    width: 24rem; height: 24rem;
    background: rgba(152,216,200,0.1);
    border-radius: 50%;
    filter: blur(3rem);
}
.hero-content { position: relative; z-index: 10; padding: 5rem 1rem; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
.hero-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(152,216,200,0.2);
    color: var(--mint);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.025em;
    text-wrap: balance;
}
.hero-desc {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 36rem;
}
.hero-actions { display: flex; flex-direction: column; gap: 1rem; }

.hero-image-wrap { position: relative; margin-top: 3rem; }
.hero-image {
    position: relative;
    z-index: 10;
    border-radius: var(--radius-3xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 4px solid rgba(255,255,255,0.05);
}
.hero-image img { width: 100%; height: auto; }
.hero-impact-badge {
    position: absolute;
    top: -1rem; right: -1rem;
    width: 7rem; height: 7rem;
    background: var(--mint);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--navy);
    animation: pulse 2s infinite;
}
.impact-number { font-size: 1.5rem; font-weight: 700; color: var(--navy); display: block; }
.impact-label { font-size: 0.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; color: var(--navy); }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@media (min-width: 768px) {
    .hero-title { font-size: 3.5rem; }
    .hero-actions { flex-direction: row; }
    .hero-image { border-width: 8px; }
    .hero-impact-badge { top: -1.5rem; right: -1.5rem; width: 9rem; height: 9rem; }
    .impact-number { font-size: 1.875rem; }
    .impact-label { font-size: 0.625rem; }
}
@media (min-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 4.5rem; }
    .hero-desc { font-size: 1.25rem; }
    .hero-image-wrap { margin-top: 0; }
}

/* ---------- Strategic Lines ---------- */
.strategic-grid-top { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 4rem; }
.strategic-grid-bottom { display: grid; grid-template-columns: 1fr; gap: 3rem; max-width: 56rem; margin: 0 auto; }
.strategic-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.strategic-icon {
    width: 3.5rem; height: 3.5rem;
    background: var(--mint-light);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--navy);
}
.strategic-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.strategic-desc { color: rgba(0,27,61,0.6); font-size: 0.875rem; line-height: 1.7; }

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

/* ---------- Strategic Cards (About page) ---------- */
.strategic-cards-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
.strategic-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: box-shadow 0.3s;
    text-align: left;
}
.strategic-card:hover { box-shadow: var(--shadow-lg); }
.strategic-card-icon {
    width: 3rem; height: 3rem;
    background: var(--mint-light);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--navy);
}
.strategic-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.strategic-card p { font-size: 0.875rem; line-height: 1.7; color: rgba(0,27,61,0.7); }

@media (min-width: 768px) {
    .strategic-cards-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .strategic-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Projects ---------- */
.bg-gray { background: var(--gray-50); }
.wave-bg {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%2398D8C8' fill-opacity='0.2' d='M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,149.3C672,149,768,203,864,218.7C960,235,1056,213,1152,186.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: contain;
}

.projects-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.project-card {
    background: var(--white);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all 0.5s;
}
.project-card:hover { box-shadow: var(--shadow-xl); }
.project-card-image {
    aspect-ratio: 3/2;
    background: var(--white);
    overflow: hidden;
    position: relative;
}
.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.7s;
}
.project-card:hover .project-card-image img { transform: scale(1.1); }
.project-card-body { padding: 2rem; }
.project-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: color 0.3s;
}
.project-card:hover .project-card-title { color: var(--mint); }
.project-card-desc { color: rgba(0,27,61,0.6); font-size: 0.875rem; line-height: 1.7; margin-bottom: 2rem; }
.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--navy);
    transition: gap 0.3s;
}
.project-card:hover .project-card-link { gap: 1rem; }

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

/* ---------- Novedades (homepage + feed) ---------- */
.novedades-section { background: var(--mint-light); }
.novedades-grid, .posts-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.novedad-card {
    background: var(--white);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: box-shadow 0.3s;
}
.novedad-card:hover { box-shadow: var(--shadow-xl); }
.novedad-card-image { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--mint-light); }
.novedad-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.novedad-card:hover .novedad-card-image img { transform: scale(1.05); }
.novedad-card-placeholder {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 16/9; background: linear-gradient(135deg, var(--mint-light), var(--mint));
    border-radius: var(--radius-3xl) var(--radius-3xl) 0 0;
}
.novedad-card-placeholder svg { color: var(--navy); opacity: 0.2; }
.novedad-card-body { padding: 1.5rem; }
.novedad-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--mint);
    margin-bottom: 0.5rem;
}
.novedad-card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.novedad-card-title a { transition: color 0.2s; }
.novedad-card-title a:hover { color: var(--mint); }
.novedad-card-excerpt { color: rgba(0,27,61,0.6); font-size: 0.875rem; line-height: 1.7; margin-bottom: 1rem; }
.novedad-date { font-size: 0.75rem; color: rgba(0,27,61,0.4); }
.novedad-card-footer { display: flex; align-items: center; gap: 0.5rem; }

.page-header-simple { background: var(--navy); color: var(--white); text-align: center; padding: 4rem 1rem 3rem; margin-bottom: 2rem; }
.page-header-simple .page-title-large { color: var(--white); }
.page-header-simple .page-subtitle { color: rgba(255,255,255,0.6); }

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

/* ---------- About Preview ---------- */
.about-preview-grid { display: grid; grid-template-columns: 1fr; gap: 5rem; align-items: center; }
.about-preview-images { order: 2; }
.about-preview-text { order: 1; }
.about-images-wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-img { border-radius: var(--radius-3xl); box-shadow: var(--shadow-xl); width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 10; }
.about-img-2 { margin-top: 2rem; }
.about-images-accent {
    position: absolute;
    bottom: -2.5rem; right: -2.5rem;
    width: 16rem; height: 16rem;
    background: rgba(152,216,200,0.2);
    border-radius: 50%;
    z-index: 0;
}
.about-preview-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 2rem; letter-spacing: -0.025em; }
.about-preview-p { color: rgba(0,27,61,0.7); font-size: 1.125rem; line-height: 1.7; margin-bottom: 2rem; }

@media (min-width: 1024px) {
    .about-preview-grid { grid-template-columns: 1fr 1fr; }
    .about-preview-images { order: 1; }
    .about-preview-text { order: 2; }
}

/* ---------- CTA Section ---------- */
.cta-section { padding: 6rem 0; background: var(--mint); }
.cta-content { text-align: center; max-width: 64rem; }
.cta-title { font-size: 2.5rem; font-weight: 700; color: var(--navy); margin-bottom: 2.5rem; letter-spacing: -0.025em; }
.cta-underline { text-decoration: underline; text-decoration-color: rgba(255,255,255,0.5); text-underline-offset: 0.5rem; }
.cta-desc { color: rgba(0,27,61,0.7); font-size: 1.25rem; margin-bottom: 3rem; max-width: 42rem; margin-left: auto; margin-right: auto; }

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

/* ---------- About Page ---------- */
.about-images-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 4rem; }
.about-page-img { border-radius: var(--radius-3xl); box-shadow: var(--shadow-lg); width: 100%; height: 16rem; object-fit: cover; }
.about-page-img-offset { margin-top: 2rem; }

.intervention-model { background: rgba(152,216,200,0.1); padding: 2rem; border-radius: var(--radius-3xl); border: 1px solid rgba(152,216,200,0.2); }
.model-image-wrap {
    margin-bottom: 2.5rem;
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(152,216,200,0.1);
}
.model-image-wrap img { border-radius: var(--radius-2xl); width: 100%; height: auto; }
.model-cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.model-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}
.model-card-title { display: block; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.model-card-desc { font-size: 0.875rem; color: rgba(0,27,61,0.7); }

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

/* ---------- Prose (Ghost content) ---------- */
.prose { line-height: 1.8; }
.prose h2 { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin: 2rem 0 1rem; }
.prose h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin: 1.5rem 0 0.75rem; }
.prose p { color: rgba(0,27,61,0.7); margin-bottom: 1.25rem; line-height: 1.8; }
.prose a { color: var(--mint); }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--navy); font-weight: 700; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose li { margin-bottom: 0.5rem; color: rgba(0,27,61,0.7); }
.prose img { border-radius: var(--radius-2xl); margin: 2rem 0; }
.prose blockquote { border-left: 4px solid var(--mint); padding-left: 1.5rem; margin: 2rem 0; font-style: italic; color: rgba(0,27,61,0.6); }
.prose section { margin-bottom: 2rem; }

/* ---------- Donations Page ---------- */
.donations-page { background: var(--gray-50); min-height: calc(100vh - 5rem); }
.donations-header { margin-bottom: 2.5rem; }
.donations-heart { color: var(--mint); margin: 0 auto 1rem; }
.donations-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
.donation-card { padding: 2rem; border-radius: var(--radius-3xl); }
.donation-card-dark { background: var(--navy); color: var(--white); box-shadow: var(--shadow-xl); display: flex; flex-direction: column; }
.donation-card-light { background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); }
.donation-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.donation-card-header h2 { font-size: 1.5rem; font-weight: 700; }
.donation-icon-wrap {
    width: 2.5rem; height: 2.5rem;
    background: rgba(0,27,61,0.05);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.donation-icon-dark { background: rgba(255,255,255,0.1); color: var(--mint); }
.donation-desc-light { color: rgba(255,255,255,0.6); margin-bottom: 2rem; font-size: 0.875rem; line-height: 1.7; }
.donation-btn { width: 100%; margin-bottom: 1.5rem; }
.donation-notice { padding: 1.25rem; background: var(--mint); border-radius: var(--radius-2xl); box-shadow: var(--shadow-lg); margin-top: auto; }
.donation-notice p { font-size: 0.75rem; font-weight: 700; color: var(--navy); line-height: 1.7; }

.bank-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
.bank-field { border-bottom: 1px solid var(--gray-50); padding-bottom: 0.5rem; }
.bank-label {
    display: block;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: rgba(0,27,61,0.4);
    margin-bottom: 0.25rem;
}
.bank-value { font-weight: 700; color: var(--navy); }

.donations-extra { margin-top: 3rem; }

@media (min-width: 1024px) {
    .donations-grid { grid-template-columns: 7fr 5fr; }
    .donation-card-dark { order: 2; }
    .donation-card-light { order: 1; }
}

/* ---------- Financial Page ---------- */
.financial-page { background: var(--gray-50); min-height: 100vh; display: flex; align-items: center; }
.financial-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem; height: 4rem;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    margin-bottom: 1.5rem;
    color: var(--navy);
}
.financial-card {
    background: var(--white);
    padding: 2rem 2.5rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-xl), 0 0 20px rgba(0,27,61,0.05);
    border: 1px solid var(--gray-100);
    max-width: 42rem;
    margin: 0 auto;
}
.financial-card-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.financial-card-icon {
    width: 3.5rem; height: 3.5rem;
    background: rgba(152,216,200,0.2);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--navy);
}
.financial-card-text h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--navy); }
.financial-card-text p { color: rgba(0,27,61,0.6); font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.5rem; }
.financial-nit { margin-top: 2rem; color: rgba(0,27,61,0.4); font-size: 0.75rem; }

@media (min-width: 768px) {
    .financial-card-inner { flex-direction: row; text-align: left; }
    .financial-card-text h2 { font-size: 1.5rem; }
    .financial-card-text p { font-size: 1rem; }
}

/* ---------- Project Detail ---------- */
.project-hero { background: var(--project-color, var(--navy)); color: var(--white); padding: 3rem 0 12rem; position: relative; overflow: hidden; }
.project-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background: radial-gradient(circle at center, white, transparent);
}
.project-hero-content { position: relative; z-index: 10; }
.project-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
    transition: color 0.2s;
    font-size: 0.875rem;
}
.project-back-link:hover { color: var(--white); }
.project-hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.project-hero-logo {
    aspect-ratio: 1;
    max-width: 14rem;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-3xl);
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}
.project-hero-logo img { width: 100%; height: 100%; object-fit: contain; }
.project-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.project-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.025em; text-align: center; }
.project-subtitle { font-size: 1.125rem; color: rgba(255,255,255,0.8); font-weight: 500; font-style: italic; text-align: center; }

.project-content-area {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: -6rem;
    position: relative;
    z-index: 20;
    padding-bottom: 8rem;
}
.project-content-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}

.project-sidebar { display: flex; flex-direction: column; }
.project-donate-card {
    background: var(--navy);
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
}
.project-donate-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; }
.project-donate-card p { color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-bottom: 2rem; line-height: 1.7; }

@media (min-width: 1024px) {
    .project-hero { padding: 5rem 0 16rem; }
    .project-hero-grid { grid-template-columns: 1fr 1fr; }
    .project-hero-logo { max-width: none; order: 2; }
    .project-title { font-size: 4.5rem; text-align: left; }
    .project-subtitle { text-align: left; font-size: 1.25rem; }
    .project-badge { margin-bottom: 1.5rem; font-size: 0.75rem; }
    .project-content-area { grid-template-columns: 2fr 1fr; margin-top: -8rem; }
}

/* ---------- Post (single) ---------- */
.post-full { padding-bottom: 4rem; }
.post-header { padding: 4rem 1rem 2rem; text-align: center; }
.post-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--mint);
    margin-bottom: 1rem;
}
.post-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.025em; max-width: 48rem; margin-left: auto; margin-right: auto; }
.post-meta { color: rgba(0,27,61,0.5); font-size: 0.875rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.post-meta-sep { color: rgba(0,27,61,0.3); }

.post-feature-image { margin-bottom: 3rem; }
.post-feature-image img { width: 100%; max-height: 36rem; object-fit: cover; border-radius: 0; }
.post-feature-image figcaption { text-align: center; font-size: 0.875rem; color: rgba(0,27,61,0.5); margin-top: 0.75rem; padding: 0 1rem; }

.post-content { padding: 0 1rem; color: rgba(0,27,61,0.7); }
.post-content h1, .post-content h2, .post-content h3 { color: var(--navy); }
.post-footer { padding: 2rem 1rem 0; margin-top: 3rem; border-top: 1px solid var(--gray-100); }
.post-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.post-tags a {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(0,27,61,0.6);
    transition: all 0.2s;
}
.post-tags a:hover { background: var(--mint-light); color: var(--navy); }

@media (min-width: 768px) {
    .post-title { font-size: 3rem; }
    .post-feature-image img { border-radius: var(--radius-3xl); max-width: 56rem; margin: 0 auto; }
}

/* ---------- Novedades Empty State ---------- */
.novedades-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.novedades-empty-text {
    color: rgba(0,27,61,0.5);
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 32rem;
}

/* ---------- Comments (Cusdis) ---------- */
.post-comments { padding: 3rem 1rem 2rem; margin-top: 2rem; border-top: 1px solid var(--gray-100); color: rgba(0,27,61,0.7); }
.comments-heading { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.comments-intro { color: rgba(0,27,61,0.6); font-size: 0.95rem; line-height: 1.7; margin-bottom: 2rem; }
#cusdis_thread { position: relative; overflow: hidden; margin-bottom: -2rem; }
#cusdis_thread iframe { margin-bottom: -2.5rem; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 2rem; padding: 4rem 0 2rem; }
.pagination a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--navy);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}
.pagination a:hover { background: var(--gray-50); }
.pagination .page-number { color: rgba(0,27,61,0.5); font-size: 0.875rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--white); padding: 5rem 0 2.5rem; }
.footer-container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.footer-top { margin-bottom: 4rem; }
.footer-logo { display: inline-block; margin-bottom: 3rem; }
.footer-logo img { width: 16rem; height: 7rem; object-fit: contain; object-position: left; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.footer-desc { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.7; }
.footer-heading {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mint);
    margin-bottom: 1.5rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact { list-style: none; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.footer-contact svg { color: var(--mint); flex-shrink: 0; margin-top: 0.125rem; }
.footer-contact a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-contact a:hover { color: var(--white); }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; color: rgba(255,255,255,0.4); font-size: 0.75rem; }

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-container { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
    .footer-container { padding: 0 2rem; }
}

/* ---------- Error Page ---------- */
.error-page { text-align: center; padding: 8rem 2rem; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.error-code { font-size: 6rem; font-weight: 700; color: rgba(0,27,61,0.1); margin-bottom: 1rem; }
.error-message { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.error-desc { color: rgba(0,27,61,0.6); margin-bottom: 2rem; }

/* ---------- Project gallery (full-width 3-column below content card) ---------- */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-bottom: 8rem;
}
.project-gallery img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-lg);
}
@media (max-width: 767px) {
    .project-gallery { grid-template-columns: 1fr; }
    .project-gallery img { height: 12rem; }
}

/* ---------- Ghost Card Blocks (navy/mint theme) ---------- */
.kg-card { margin: 2rem 0; }

/* Image cards */
.kg-image-card img { border-radius: var(--radius-2xl); }
.kg-image-card figcaption { color: rgba(0,27,61,0.5); font-size: 0.875rem; text-align: center; margin-top: 0.75rem; }

/* Gallery cards */
.kg-gallery-card { margin: 2rem 0; }
.kg-gallery-image img { border-radius: var(--radius-xl); }

/* Callout cards */
.kg-callout-card { border-radius: var(--radius-xl); padding: 1.5rem; color: var(--navy); }
.kg-callout-card-accent-a { background: var(--mint-light); border-left: 4px solid var(--mint); }
.kg-callout-card-accent-b { background: #fef3c7; border-left: 4px solid #f59e0b; }
.kg-callout-card-accent-c { background: #fce4ec; border-left: 4px solid #ef4444; }
.kg-callout-card-accent-d { background: #e8f5e9; border-left: 4px solid #22c55e; }
.kg-callout-card-accent-e { background: var(--gray-50); border-left: 4px solid var(--gray-200); }
.kg-callout-text { color: rgba(0,27,61,0.8); }

/* Button cards */
.kg-button-card { text-align: center; }
.kg-btn { background: var(--mint) !important; color: var(--navy) !important; border-radius: var(--radius-full); padding: 0.875rem 2rem; font-weight: 700; font-family: 'Inter', sans-serif; font-size: 1rem; text-decoration: none; display: inline-block; transition: all 0.2s; }
.kg-btn:hover { background: var(--white) !important; }
.kg-btn-accent { background: var(--mint) !important; color: var(--navy) !important; }
.kg-btn-accent:hover { background: var(--white) !important; }

/* Bookmark cards */
.kg-bookmark-card { border: 1px solid var(--gray-100); border-radius: var(--radius-xl); overflow: hidden; }
.kg-bookmark-container { display: flex; text-decoration: none; color: var(--navy); }
.kg-bookmark-content { padding: 1.25rem; flex: 1; }
.kg-bookmark-title { font-weight: 700; color: var(--navy); font-size: 1rem; margin-bottom: 0.5rem; }
.kg-bookmark-description { color: rgba(0,27,61,0.6); font-size: 0.875rem; line-height: 1.5; }
.kg-bookmark-metadata { color: rgba(0,27,61,0.5); font-size: 0.75rem; margin-top: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.kg-bookmark-icon { width: 1rem; height: 1rem; }
.kg-bookmark-publisher { color: rgba(0,27,61,0.5); }
.kg-bookmark-thumbnail { width: 200px; min-height: 100%; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

/* Toggle/accordion cards */
.kg-toggle-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-xl); padding: 0; }
.kg-toggle-heading { padding: 1.25rem 1.5rem; color: var(--navy); font-weight: 700; cursor: pointer; }
.kg-toggle-heading svg { color: var(--mint); }
.kg-toggle-content { padding: 0 1.5rem 1.25rem; color: rgba(0,27,61,0.7); }

/* File cards */
.kg-file-card { border: 1px solid var(--gray-100); border-radius: var(--radius-xl); }
.kg-file-card-container { padding: 1.25rem; color: var(--navy); }
.kg-file-card-title { font-weight: 700; color: var(--navy); }
.kg-file-card-caption { color: rgba(0,27,61,0.6); font-size: 0.875rem; }
.kg-file-card-metadata { color: rgba(0,27,61,0.5); font-size: 0.75rem; }
.kg-file-card-icon { color: var(--mint); }

/* Audio card */
.kg-audio-card { border: 1px solid var(--gray-100); border-radius: var(--radius-xl); background: var(--white); }
.kg-audio-title { color: var(--navy); font-weight: 700; }

/* Product card */
.kg-product-card { border: 1px solid var(--gray-100); border-radius: var(--radius-xl); padding: 1.5rem; }
.kg-product-card-title { color: var(--navy); font-weight: 700; }
.kg-product-card-description { color: rgba(0,27,61,0.7); }
.kg-product-card-button { background: var(--navy); color: var(--white); border-radius: var(--radius-full); font-weight: 700; }

/* Divider */
.kg-hr { border-top: 1px solid var(--gray-100); margin: 3rem 0; }

/* Blockquote override */
.post-content blockquote, .prose blockquote {
    border-left: 4px solid var(--mint);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: rgba(0,27,61,0.6);
}

/* Ghost content width classes (required by GScan) */
.kg-width-wide {
    position: relative;
    width: 85vw;
    min-width: 100%;
    margin-left: calc(50% - 42.5vw);
    margin-right: calc(50% - 42.5vw);
}
.kg-width-full {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.kg-width-wide img,
.kg-width-full img {
    width: 100%;
}
