:root {
    /* Color Palette Extracted Directly from Pencil */
    --bg-page: #FFFFFF;
    --bg-reverse: #EAEAEA;
    --bg-warm: #FAF8F5;
    --bg-gray: #F7F4F0;
    --text-dark: #262525;
    --text-muted: #8A8A8A;
    --text-para: #5A5A5A;
    
    /* System glass variables */
    --glass-blur: blur(24px);
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.03);
    --shadow-float: 0 16px 40px rgba(0,0,0,0.08);
}

/* Base Restets */
* { box-sizing: border-box; margin: 0; padding: 0; scroll-behavior: smooth; }
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-page);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Alexandria', sans-serif; color: var(--text-dark); margin-bottom: 0; font-weight: 700; line-height: 1.05; }
h1, h2 { letter-spacing: -1.5px; }
h3 { letter-spacing: -0.5px; }
h4, h5, h6 { letter-spacing: 0; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; outline:none; }
ul { list-style: none; }

/* Structural CSS Classes */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5%; width: 100%; }
.section { padding: 120px 0; }
.reverse-bg { background-color: var(--bg-reverse); }
.bg-warm { background-color: var(--bg-warm); }

/* Typography */
.label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); letter-spacing: 3px; margin-bottom: 20px; text-transform: uppercase; }
h2 { font-size: clamp(40px, 5vw, 56px); margin-bottom: 24px; }
.description { font-size: 16px; color: var(--text-para); line-height: 1.7; }
.subtitle { font-size: 18px; color: var(--text-para); line-height: 1.6; }

/* NAVIGATION: Glassmorphism effect exactly as requested */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 5%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    color: #FFFFFF;
}
.navbar.scrolled {
    padding: 16px 5%;
    background: rgba(18, 18, 18, 0.7);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-links { display: flex; gap: 32px; align-items: center; flex: 1; justify-content: flex-end; padding-right: 40px; }
.nav-links.end { justify-content: flex-start; padding-left: 40px; padding-right: 0; }
.nav-links a { font-size: 14px; font-weight: 500; transition: opacity 0.3s; color: #FFF; }
.nav-links a:hover { opacity: 0.7; }
.logo img { height: 95px; transition: height 0.4s; align-self: center;}
.navbar.scrolled .logo img { height: 65px; }
.menu-toggle { display: none; cursor: pointer; color: #FFF; }

/* UTILS: Buttons and Glass Tags */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; border-radius: 30px;
    font-size: 14px; font-weight: 600; gap: 8px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.btn:hover { transform: scale(1.05); }
.btn.primary-dark { background: linear-gradient(180deg, #1A1A1A 0%, #333 100%); color: #FFF; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.btn.primary-dark:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.3); }

.btn.btn-gradient { background: linear-gradient(90deg, #8B2FC9 0%, #a31ac2 100%); color: #FFF; border-radius: 18px; }
.btn.btn-outline { background: transparent; border: 1px solid #E8E4DF; color: var(--text-dark); border-radius: 18px; }

.glass-pill { 
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; 
    border-radius: 30px; 
    background: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(24px); 
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.9); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.03), inset 0 2px 10px rgba(255,255,255,0.7);
    font-size: 14px; font-weight: 600; color: var(--text-dark); 
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-pill:hover { 
    transform: translateY(-4px) scale(1.03); 
    box-shadow: 0 12px 30px rgba(0,0,0,0.08), inset 0 2px 10px rgba(255,255,255,1);
    background: rgba(255, 255, 255, 0.85);
}
.glass-pill i {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-pill:hover i {
    transform: scale(1.2) rotate(-5deg);
    color: #8B2FC9;
}
.glass-pill-light { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,0.7); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.2s;}
.glass-pill-light:hover { background: #FFF; }
.glass-pill-wide { display: block; padding: 20px 24px; border-radius: 20px; background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); font-size: 16px; }
.contact-info-card { display: flex; align-items: center; gap: 20px; padding: 20px 24px; border-radius: 20px; background: #FFF; border: 1px solid #E8E4DF; text-decoration: none; color: var(--text-dark); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.contact-info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); border-color: #ccc; }
.contact-icon-block { background: #000; color: #FFF; width: 48px; height: 48px; border-radius: 14px; display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; }
.contact-icon-block i { width: 22px; height: 22px; }
.contact-text { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.contact-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.contact-value { font-size: 15px; font-weight: 500; color: var(--text-dark); }
.contact-arrow { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }

/* HERO SECTION */
.hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; }
.hero-bg { position: absolute; top: -20%; left: 0; width: 100%; height: 140%; object-fit: cover; z-index: -2; will-change: transform;}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); z-index: -1; }
.hero-content { z-index: 1; }
.hero-content h1 { font-size: clamp(60px, 8vw, 90px); color: #FFF; letter-spacing: -2px; line-height: 0.95; }
.hero-content p { font-size: clamp(20px, 3vw, 30px); color: rgba(255,255,255,0.8); margin-top: 16px; }

/* GRIDS */
.grid-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.grid-1 { display: grid; gap: 16px; }
.grid-card-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-card-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mt-0 { margin-top: 0; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; } .mb-32 { margin-bottom: 32px; } .mb-60 { margin-bottom: 60px;} .pt-0 { padding-top: 0; } .pb-60 { padding-bottom: 60px; }
.full-width { width: 100%; }

/* NOSOTROS */
.tags-row { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.img-wrapper { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-float); height: 500px;}
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.img-wrapper:hover img { transform: scale(1.04); }
.text-col { display: flex; flex-direction: column; }

/* SERVICIOS */
.card-wrapper { background: #FFF; border-radius: 30px; box-shadow: none; padding: 80px; transform: translateY(-40px); margin-bottom: -40px;}
.header-center { text-align: center; max-width: 600px; margin: 0 auto 40px auto; }
.info-bar { display: flex; justify-content: space-evenly; align-items: center; background: var(--bg-gray); padding: 24px 40px; border-radius: 20px; margin-bottom: 40px;}
.info-block { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; cursor: default; }
a.info-block { cursor: pointer; }
.info-title { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--text-dark); transition: color 0.3s; }
.info-title i { width: 18px; height: 18px; color: var(--text-muted); transition: all 0.3s; }
.interactive:hover .info-title { color: #8B2FC9; }
.interactive:hover .info-title i { color: #8B2FC9; transform: scale(1.15); }
.info-detail { font-size: 14px; color: var(--text-muted); transition: color 0.3s; }
.interactive:hover .info-detail { color: var(--text-dark); }
.hover-link.interactive:hover .arrow-icon { transform: translate(4px, -4px); color: #8B2FC9; }
.hover-link .arrow-icon { width: 16px; height: 16px; margin-left: 2px; color: var(--text-muted); transition: all 0.3s; }
.divider-y { width: 1px; height: 44px; background: #E0DDD9; }
.svc-grid { align-items: stretch; gap: 24px; }
.svc-media { position: relative; border-radius: 24px; overflow: hidden; min-height: 280px; }
.svc-media img { position: absolute; width:100%; height:100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.svc-media:hover img { transform: scale(1.04); }
.play-button { position: absolute; top:50%; left:50%; transform:translate(-50%, -50%); width: 64px; height: 64px; border-radius: 32px; background: rgba(255,255,255,0.6); backdrop-filter: var(--glass-blur); display: flex; justify-content: center; align-items: center; transition: all 0.3s;}
.play-button:hover { transform:translate(-50%, -50%) scale(1.1); background: #FFF;}
.gray-bg { background: var(--bg-gray); border: 1px solid #E8E4DF; padding: 32px; border-radius: 24px; }
.push-right { margin-left: auto; }
.playlist { margin-top: 32px; }
.playlist h3 { font-size: 18px; margin-bottom: 6px; letter-spacing: -0.5px;}
.divider-x { height: 1px; background: #E8E4DF; margin: 16px 0; }
.video-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.video-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); text-decoration: none; border: 1px solid transparent; }
.video-item:hover { background: #FFFFFF; transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: #E0DDD9; }
.video-thumb { position: relative; width: 110px; height: 62px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #E8E4DF; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.video-item:hover .video-thumb img { transform: scale(1.08); }
.play-overlay { position: absolute; inset: 0; background: transparent; display: flex; justify-content: center; align-items: center; }
.play-tri { width: 0; height: 0; border-left: 11px solid rgba(255,255,255,0.8); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.4)); transition: all 0.3s; }
.video-item:hover .play-tri { border-left-color: #FFF; }
.video-info { display: flex; flex-direction: column; gap: 4px; overflow: hidden; justify-content: center; }
.video-title { font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 14px; font-weight: 600; color: var(--text-dark); line-height: 1.3; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { font-size: 12px; color: var(--text-muted); }

/* CARDS: Ministerios & Eventos */
.header-left { text-align: left; max-width: 500px;}
.header-left-split { display: flex; justify-content: space-between; align-items: flex-end; }
.header-p-wrap { max-width: 440px; }

.glass-card { background: var(--glass-bg); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); border-radius: 24px; overflow: hidden; }
.modern-hover { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease; }
.modern-hover:hover { transform: translateY(-10px); box-shadow: var(--shadow-float); }
.card-img { width: 100%; height: 180px; object-fit: cover; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.card-img-large { width: 100%; height: 260px; object-fit: cover; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.glass-card { overflow: hidden; }
.glass-card:hover .card-img,
.glass-card:hover .card-img-large { transform: scale(1.05); }
.card-content { padding: 28px 32px; }
.padding-large { padding: 32px; }
.card-content h4 { font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 20px; margin-bottom: 12px; letter-spacing: 0; }
.icon-block { background-color: #000000; color: #FFF; width: 44px; height: 44px; border-radius: 14px; display: inline-flex; justify-content: center; align-items: center; margin-bottom: 16px; }
.icon-block i { width: 22px; height: 22px; }
.min-link { color: inherit; text-decoration: none; transition: color 0.3s; }
.min-link:hover { color: #8B2FC9; }
.card-content p { font-size: 14px; color: var(--text-para); line-height: 1.6; }

.badge.soft { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; padding: 6px 14px; background: rgba(124,144,130,0.14); border-radius: 20px; color: var(--text-dark); }
.badge.glass-blur-light { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12px; padding: 6px 14px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; color: #FFF; }

/* PARALLAX CTA SECCTION (PODCAST) */
.cta-section { position: relative; padding: 140px 0; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.cta-bg { position: absolute; width: 100%; height: 140%; object-fit: cover; top: -20%; left: 0; z-index: -2;}
.gradient-dark { position: absolute; top:0; left:0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%); z-index: -1; }
.cta-inner { z-index: 1; max-width: 600px; margin: 0 auto; color: #FFF; position: relative;}
.cta-inner h2 { font-size: 56px; color: #FFF; letter-spacing: -1px;}
.cta-inner p { font-size: 18px; margin-bottom: 32px; color: rgba(255,255,255,0.9);}

/* DONACION IMMERSIVE GRID */
.split-gap-0 { gap: 0; align-items: stretch; border-radius: 0; overflow: hidden; box-shadow: none; }
.p-0 { padding: 0 !important; }
.card-immersive { position: relative; min-height: 700px; overflow: hidden;}
.card-immersive img { position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.card-immersive:hover img { transform: scale(1.04); }
.overlay-grad { position: absolute; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%); z-index: -1;}
.card-content-abs { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 60px 80px; color: #FFF; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.sub-label { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.6); letter-spacing: 2px; margin-bottom: 8px;}
.title-xl { font-size: 48px; color: #FFF; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; }
.text-light-alpha { color: rgba(255,255,255,0.85); font-size: 16px; line-height: 1.6; }
.mini-metrics { display: flex; gap: 24px; color: #FFF; font-size: 14px; font-weight: 600; margin-top: 32px; }

.donation-card { background: var(--bg-warm); padding: 60px 80px; display: flex; flex-direction: column; justify-content: center; }
.hover-lift { transition: transform 0.3s; cursor: pointer; }
.hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.method-box { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; border: 1px solid #E8E4DF; background: #FFF; }
.icon-wrap { display: flex; justify-content: center; align-items: center; width: 44px; height: 44px; border-radius: 12px; color: #FFF; }
.icon-wrap.nequi { background: #8B2FC9; }
.icon-wrap.bancolombia { background: #F9B700; color: #1A1A1A; }
.icon-wrap.pse { background: #003DA5; }
.method-info { display: flex; flex-direction: column; }
.method-info strong { font-size: 15px; } .method-info span { font-size: 13px; color: var(--text-muted); }
.footnote { font-size: 12px; color: var(--text-muted); }

/* CONTACTO */
.form-card { padding: 40px; }
.grid-2-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.input-block { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.input-block label { font-size: 13px; font-weight: 600; }
.input-field { padding: 14px 16px; border-radius: 14px; border: 1px solid #E8E4DF; background: #FFF; font-size: 15px; font-family: inherit; transition: border 0.3s; }
.input-field:focus { border-color: #1A1A1A; }
.txt-area { resize: none; min-height: 120px; }

/* FOOTER */
.footer { background: #1A1A1A; color: #FFF; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 80px; align-items: start; }
.brand-col { display: flex; flex-direction: column; gap: 20px; }
.brand-col img { height: 112px; object-fit: contain; object-position: left; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.6; max-width: 240px; }
.social-icons { display: flex; gap: 10px; }
.circle-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.8); transition: all 0.3s; }
.circle-btn i, .circle-btn svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.8); fill: none; }
.circle-btn:hover { background: #FFF; color: #1A1A1A; border-color: #FFF; }
.circle-btn:hover svg, .circle-btn:hover i { stroke: #1A1A1A; }
.nav-groups-col { display: flex; justify-content: space-between; padding-top: 8px; }
.nav-group { display: flex; flex-direction: column; gap: 14px; }
.nav-group h6 { color: rgba(255,255,255,0.35); letter-spacing: 2px; font-size: 11px; margin-bottom: 4px; }
.nav-group a { color: rgba(255,255,255,0.55); font-size: 14px; transition: color 0.3s; }
.nav-group a:hover { color: #FFF; }
.footer-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 60px 0 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.3); }
.legal-links { display: flex; gap: 24px; }
.legal-links a { color: rgba(255,255,255,0.3); transition: color 0.3s; }
.legal-links a:hover { color: rgba(255,255,255,0.7); }

/* REVEAL ANIMATIONS */
.reveal-up { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; }
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .grid-split, .grid-card-3, .grid-card-2, .footer-grid, .grid-2-form { grid-template-columns: 1fr; gap: 40px; }
    .card-wrapper { padding: 40px 24px; transform: translateY(0); margin-bottom: 0px;}
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .hero-content h1 { font-size: 48px; }
    .split-gap-0 { border-radius: 20px; }
    .donation-card { padding: 40px 24px; }
    .header-left-split { flex-direction: column; align-items: flex-start; gap: 16px;}
    .nav-groups-col { flex-direction: column; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
