/* =============================================
   FUNDACION AMIGO DE ALEJO Y VALE - Styles
   ============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: #333;
}

/* ---- NAVBAR ---- */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 50px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-logo {
    text-decoration: none;
    line-height: 1.1;
    display: flex;
    align-items: center;
}

.navbar-logo-img {
    height: auto;
    max-height: 62px;
    max-width: 218px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Keep old text spans hidden in case any page still has them */
.navbar-logo .logo-top,
.navbar-logo .logo-sub {
    display: none;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.navbar-links a {
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: #f5a623;
    border-bottom: 2px solid #f5a623;
}

.btn-como-ayudar {
    background: #f5a623;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-como-ayudar:hover {
    background: #e09510;
    border-bottom: none !important;
}

.btn-como-ayudar .heart {
    font-size: 1rem;
}

/* ---- HERO ---- */
.hero {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #b2d8d8;
}

.hero img {
    width: 160%;
    height: 120%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.hero-overlay {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.93);
    border: 2px solid #f5a623;
    border-radius: 12px;
    padding: 22px 36px;
    max-width: 600px;
    width: 90%;
    text-align: center;
}

.hero-overlay p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 10px;
}

.hero-tagline {
    font-size: 1.4rem;
    font-weight: 700;
    color: #4aa8a0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hero-tagline .star {
    color: #f5a623;
    font-size: 1.2rem;
}

.hero-tagline .word-alegria { color: #f5a623; }
.hero-tagline .word-de      { color: #555; font-weight: 400; }
.hero-tagline .word-verte   { color: #f5a623; }
.hero-tagline .word-sonreir { color: #4aa8a0; }

/* ---- FOOTER ---- */
.footer {
    background: #4aa8a0;
    color: #fff;
    padding: 28px 60px 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}

/* Footer logo */
.footer-logo-img {
    max-height: 50px;
    width: auto;
    display: block;
    margin-bottom: 10px;
    object-fit: contain;
}

.footer-brand .footer-logo-top {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.footer-brand .footer-logo-top span {
    color: #f5a623;
}

.footer-brand .footer-logo-sub {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 12px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.2s, border-color 0.2s;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

/* Footer columns */
.footer-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 5px;
}

.footer-col ul li a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #f5a623;
}

/* Footer bottom bar */
.footer-bottom {
    text-align: center;
    padding-top: 12px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
}

/* ---- HAMBURGER (mobile) ---- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #555;
    border-radius: 2px;
    display: block;
}

/* ---- RESPONSIVE ---- */
/* =============================================
   QUIÉNES SOMOS PAGE
   ============================================= */

.qs-hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.qs-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Dark gradient overlay */
.qs-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 20, 50, 0.35) 0%,
        rgba(10, 20, 50, 0.72) 60%,
        rgba(10, 20, 50, 0.88) 100%
    );
}

/* Decorative glowing star - bottom left */
.qs-star-deco {
    position: absolute !important;
    top: auto !important;
    bottom: 30px !important;
    left: 30px !important;
    width: 180px !important;
    height: 180px !important;
    object-fit: contain;
    opacity: 0.85;
    filter: drop-shadow(0 0 18px #f5a62388);
    z-index: 10;
    pointer-events: none;
    line-height: 1;
}

/* Cards container */
.qs-cards-wrapper {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    padding: 60px 40px 60px;
    gap: 0;
}

/* Vertical divider between cards */
.qs-divider {
    width: 1px;
    min-height: 320px;
    background: rgba(255,255,255,0.35);
    align-self: stretch;
    margin: 0 10px;
    flex-shrink: 0;
}

/* Individual card */
.qs-card {
    flex: 1;
    padding: 20px 30px;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qs-card--center {
    padding: 0 40px;
}

/* Icon circle */
.qs-card-icon {
    width: 70px;
    height: 70px;
    background: #f5a623;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 18px rgba(245,166,35,0.45);
}

.qs-card-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.qs-card-icon--large {
    width: 82px;
    height: 82px;
    font-size: 1.9rem;
}

/* Card title */
.qs-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f5a623;
    margin-bottom: 10px;
}

.qs-card--center .qs-card-title {
    font-size: 1.4rem;
}

/* Thin horizontal divider under title */
.qs-card-divider {
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.5);
    margin: 0 auto 14px;
    border-radius: 2px;
}

/* Card body text */
.qs-card-text {
    font-size: 0.82rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
    text-align: center;
}

.qs-card--center .qs-card-text {
    font-size: 0.88rem;
    font-weight: 500;
    color: #fff;
}

/* Arrow button - right side */
.qs-arrow-next {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 46px;
    height: 46px;
    background: #f5a623;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.3);
    transition: background 0.2s;
}

.qs-arrow-next:hover {
    background: #e09510;
}

/* =============================================
   QUE HACEMOS PAGE
   ============================================= */

.qh-page {
    position: relative;
    background: #fff;
    overflow: hidden;
    padding: 0 0 60px;
    min-height: 650px;
}

/* ---- Decorative clouds (CSS shapes) ---- */
.qh-cloud {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Each cloud is built with box-shadow blobs */
.qh-cloud::before,
.qh-cloud::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: inherit;
}

.qh-cloud--top-left {
    width: 130px; height: 55px;
    background: #f5a623;
    top: 30px; left: -20px;
    opacity: 0.85;
}
.qh-cloud--top-left::before {
    width: 80px; height: 80px;
    top: -35px; left: 15px;
}
.qh-cloud--top-left::after {
    width: 60px; height: 60px;
    top: -25px; left: 55px;
}

.qh-cloud--top-right {
    width: 110px; height: 50px;
    background: #f5a623;
    top: 20px; right: -10px;
    opacity: 0.85;
}
.qh-cloud--top-right::before {
    width: 70px; height: 70px;
    top: -30px; left: 10px;
}
.qh-cloud--top-right::after {
    width: 55px; height: 55px;
    top: -22px; left: 45px;
}

.qh-cloud--bot-left {
    width: 140px; height: 60px;
    background: #f5a623;
    bottom: 100px; left: -20px;
    opacity: 0.7;
}
.qh-cloud--bot-left::before {
    width: 85px; height: 85px;
    top: -38px; left: 12px;
}
.qh-cloud--bot-left::after {
    width: 65px; height: 65px;
    top: -28px; left: 55px;
}

.qh-cloud--bot-right {
    width: 120px; height: 52px;
    background: #f5a623;
    bottom: 80px; right: -10px;
    opacity: 0.7;
}
.qh-cloud--bot-right::before {
    width: 75px; height: 75px;
    top: -33px; left: 10px;
}
.qh-cloud--bot-right::after {
    width: 58px; height: 58px;
    top: -24px; left: 48px;
}

/* ---- Cloud title ---- */
.qh-header {
    display: flex;
    justify-content: center;
    padding: 50px 20px 30px;
    position: relative;
    z-index: 2;
}

.qh-cloud-title {
    position: relative;
    background: #4aa8a0;
    border-radius: 60px;
    padding: 18px 60px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.8rem;
    line-height: 1;
    box-shadow: 0 6px 20px rgba(74,168,160,0.25);
}

/* Left cloud bump */
.qh-cloud-title::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: #4aa8a0;
    border-radius: 50%;
    top: -40px;
    left: 60px;
}

/* Right cloud bump */
.qh-cloud-title::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 120px;
    background: #4aa8a0;
    border-radius: 50%;
    top: -55px;
    left: 160px;
}

.qh-title-bold {
    color: #fff;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.qh-cloud-title-img-wrap {
    position: relative;
    display: inline-block;
}

.qh-cloud-title-img {
    max-width: 475px;
    width: 100%;
    height: auto;
    display: block;
}

.qh-cloud-title-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.8rem;
    line-height: 1;
    color: #fff;
    pointer-events: none;
}

.qh-title-light {
    color: rgba(255,255,255,0.85);
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* ---- Programs grid ---- */
.qh-programs {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 20px 0;
    gap: 0;
    position: relative;
    z-index: 2;
}

/* Photo columns (far left / far right) */
.qh-photo-col {
    flex: 0 0 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
}

.qh-photo-col--right {
    padding-top: 20px;
}

.qh-photo-circle {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #f0f0f0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    background: #e8e8e8;
}

.qh-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nubes decorativas */
.qh-nube-deco {
    max-width: 300px;
    height: auto;
    flex-shrink: 0;
    position: absolute;
}

.qh-nube-deco--left {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.qh-nube-deco--bottom {
    max-width: 390px;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
}

.qh-nube-deco--right {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Program text columns */
.qh-program-col {
    flex: 1;
    padding: 10px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.qh-program-col--center {
    flex: 1.1;
}

/* Program icon (baby pacifier etc.) */
.qh-program-icon {
    font-size: 1.8rem;
    color: #4aa8a0;
    margin-bottom: 8px;
}

/* Program titles */
.qh-program-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #4aa8a0;
    line-height: 1.25;
    margin-bottom: 12px;
    text-align: center;
}

.qh-program-title--center {
    font-size: 1.45rem;
}

.qh-title-accent {
    color: #f5a623;
    font-weight: 700;
}

.qh-star-inline {
    color: #4aa8a0;
    font-size: 1rem;
    vertical-align: middle;
    margin-left: 4px;
}

/* Program body text */
.qh-program-text {
    font-size: 0.82rem;
    line-height: 1.75;
    color: #555;
    text-align: center;
    max-width: 260px;
}

.qh-program-text--center {
    max-width: 300px;
}

/* Pink heart decoration under Goticas */
.qh-heart-deco {
    color: #f48fb1;
    font-size: 1.4rem;
    margin-top: 10px;
    display: block;
}

/* Center program bottom circular photo */
.qh-center-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-top: 20px;
    border: 5px solid #f0f0f0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    background: #e8e8e8;
    flex-shrink: 0;
}

.qh-center-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* =============================================
   DETALLES CON PROPÓSITO PAGE
   ============================================= */

.dp-page {
    position: relative;
    background: #fff;
    overflow: hidden;
    padding: 60px 40px 90px;
    min-height: 700px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='28' fill='none' stroke='%23f5a623' stroke-width='1' opacity='0.07'/%3E%3C/svg%3E");
}

/* ---- Decorative elements ---- */
.dp-deco {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    user-select: none;
}

/* Paper plane - left */
.dp-deco--plane {
    left: 40px;
    top: 46%;
    transform: translateY(-50%) rotate(-15deg);
}

.dp-deco--plane::before {
    content: '';
    position: absolute;
    width: 0; height: 0;
    border-left: 52px solid #f5a623;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    top: -20px; left: 0;
}

.dp-deco--plane::after {
    content: '';
    position: absolute;
    width: 0; height: 0;
    border-left: 36px solid #e09510;
    border-top: 14px solid transparent;
    top: 0; left: 0;
}

/* Dashed arc below plane */
.dp-deco--arc {
    width: 110px; height: 110px;
    border: 2px dashed rgba(245,166,35,0.35);
    border-radius: 50%;
    left: 18px;
    top: 60%;
}

/* Decorative ball - bottom right */
.dp-deco--ball {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f5c842, #e09510);
    right: 50px;
    bottom: 100px;
    box-shadow: inset -6px -6px 12px rgba(0,0,0,0.15);
}

.dp-deco--ball::before,
.dp-deco--ball::after {
    content: '';
    position: absolute;
    background: rgba(255,255,255,0.18);
    border-radius: 2px;
}

.dp-deco--ball::before {
    width: 2px; height: 88px;
    top: 1px; left: 44px;
    transform: rotate(45deg);
}

.dp-deco--ball::after {
    width: 2px; height: 88px;
    top: 1px; left: 44px;
    transform: rotate(-45deg);
}

/* ---- Header ---- */
.dp-header {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
    z-index: 2;
}

.dp-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #f5a623;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.dp-title-heart {
    color: #e05c6e;
    font-size: 1.7rem;
    flex-shrink: 0;
}

.dp-subtitle {
    font-size: 0.84rem;
    color: #666;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

/* ---- 3 info cards ---- */
.dp-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2;
}

.dp-info-card {
    border: 2px solid #f5a623;
    border-radius: 10px;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
}

.dp-info-card p {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.7;
    font-weight: 500;
}

.dp-info-card--center {
    padding: 22px 28px;
}

/* ---- Product carousel ---- */
.dp-carousel-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    max-width: 1000px;
    margin: 0 auto 36px;
    padding: 0 10px;
}

.dp-carousel {
    display: flex;
    gap: 20px;
    overflow: hidden;
    flex: 1;
    transition: transform 0.4s ease;
    /* prevent layout shift */
    will-change: transform;
}

.dp-product-card {
    flex: 0 0 calc((100% - 40px) / 3);
    border-radius: 6px;
    overflow: hidden;
    border: 3px solid var(--card-color, #f5a623);
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* Colored label bar at top */
.dp-product-label {
    background: var(--card-color, #f5a623);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 8px 12px;
    text-align: center;
    line-height: 1.3;
}

/* Product image area */
.dp-product-img-wrap {
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    aspect-ratio: 1;
    overflow: hidden;
}

.dp-product-img-wrap img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    display: block;
}

.dp-product-img-wrap.dp-img-placeholder {
    background: #eee;
    min-height: 140px;
}

/* Carousel arrow buttons */
.dp-arrow {
    width: 44px;
    height: 44px;
    background: #f5a623;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: background 0.2s;
}

.dp-arrow:hover { background: #e09510; }
.dp-arrow:disabled { background: #ddd; cursor: default; }

/* ---- CTA ---- */
.dp-cta {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.dp-cta-btn {
    display: inline-block;
    background: #4aa8a0;
    color: #fff;
    text-decoration: none;
    padding: 12px 42px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background 0.2s;
}

.dp-cta-btn:hover { background: #3a9890; }

/* =============================================
   DONACIONES EN ESPECIE PAGE
   ============================================= */

.de-page {
    position: relative;
    background: #fff;
    overflow: hidden;
    padding: 60px 60px 90px;
    min-height: 650px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='28' fill='none' stroke='%23f5a623' stroke-width='1' opacity='0.07'/%3E%3C/svg%3E");
}

/* ---- Decorative elements ---- */
.de-deco {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    user-select: none;
}

/* Paper plane - left side */
.de-deco--plane {
    left: 44px;
    top: 52%;
    transform: translateY(-50%) rotate(-18deg);
}

.de-deco--plane::before {
    content: '';
    position: absolute;
    width: 0; height: 0;
    border-left: 50px solid #f5a623;
    border-top: 19px solid transparent;
    border-bottom: 19px solid transparent;
    top: -19px; left: 0;
}

.de-deco--plane::after {
    content: '';
    position: absolute;
    width: 0; height: 0;
    border-left: 34px solid #e09510;
    border-top: 13px solid transparent;
    top: 0; left: 0;
}

/* Dashed circles */
.de-deco--circle-tl {
    width: 90px; height: 90px;
    border: 2px dashed rgba(245,166,35,0.35);
    border-radius: 50%;
    left: 28px;
    top: 65%;
}

.de-deco--circle-br {
    width: 130px; height: 130px;
    border: 2px dashed rgba(74,168,160,0.3);
    border-radius: 50%;
    right: 30px;
    top: 35%;
}

/* ---- Layout ---- */
.de-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Photo column */
.de-photo-col {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
}

.de-photo-frame {
    width: 100%;
    max-width: 430px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    background: #e8e8e8;
    aspect-ratio: 4/3.2;
}

.de-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Content column */
.de-content-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Title */
.de-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #f5a623;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    line-height: 1.2;
}

.de-title-heart {
    color: #e05c6e;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Intro description */
.de-intro {
    font-size: 0.84rem;
    color: #666;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 4px;
}

/* Program blocks */
.de-program {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Orange pill tag */
.de-program-tag {
    display: inline-block;
    align-self: center;
    border-radius: 30px;
    padding: 8px 24px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.de-tag--orange {
    background: #f5a623;
    color: #fff;
}

/* Program body text */
.de-program-text {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.7;
    text-align: center;
}

/* CTA button */
.de-cta {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.de-cta-btn {
    display: inline-block;
    background: #4aa8a0;
    color: #fff;
    text-decoration: none;
    padding: 12px 38px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background 0.2s;
}

.de-cta-btn:hover {
    background: #3a9890;
}

/* =============================================
   DONACIONES EN DINERO PAGE
   ============================================= */

.dd-page {
    position: relative;
    background: #fff;
    overflow: hidden;
    padding: 60px 40px 90px;
    min-height: 700px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Ccircle cx='45' cy='45' r='30' fill='none' stroke='%23f5a623' stroke-width='1.2' opacity='0.07'/%3E%3Cpath d='M45 30 Q48 38 45 45 Q42 38 45 30Z' fill='%23f5a623' opacity='0.05'/%3E%3C/svg%3E");
}

/* ---- Decorative elements ---- */
.dd-deco {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    user-select: none;
}

/* Paper plane - left */
.dd-deco--plane {
    left: 50px;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
}

.dd-deco--plane::before {
    content: '';
    position: absolute;
    width: 0; height: 0;
    border-left: 52px solid #f5a623;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    top: -20px; left: 0;
}

.dd-deco--plane::after {
    content: '';
    position: absolute;
    width: 0; height: 0;
    border-left: 36px solid #e09510;
    border-top: 14px solid transparent;
    top: 0; left: 0;
}

/* Dashed arc - left below plane */
.dd-deco--circle {
    width: 100px; height: 100px;
    border: 2px dashed rgba(245,166,35,0.4);
    border-radius: 50%;
    left: 20px;
    top: 58%;
}

/* Decorative ball - bottom right (now image) */
.dd-baloncito {
    position: absolute;
    right: 40px;
    bottom: 120px;
    max-width: 80px;
    height: auto;
    z-index: 1;
}

/* ---- Header ---- */
.dd-header {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
    z-index: 2;
}

.dd-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #f5a623;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.dd-title-heart {
    color: #e05c6e;
    font-size: 1.7rem;
}

/* ---- Main card ---- */
.dd-card-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.dd-avioncito {
    max-width: 120px;
    height: auto;
    flex-shrink: 0;
    margin-left: -60px;
}

.dd-card {
    position: relative;
    z-index: 2;
    max-width: 580px;
    margin: 0 auto;
    border: 1.5px solid #ddd;
    border-radius: 14px;
    padding: 20px 24px 24px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.dd-desc {
    font-size: 0.78rem;
    color: #666;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 18px;
}

/* Alerts */
.dd-alert {
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dd-alert--success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.dd-alert--error {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Info pills */
.dd-pills {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.dd-pill {
    background: #f5a623;
    color: #fff;
    border-radius: 30px;
    padding: 10px 18px;
    font-size: 0.76rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

/* ---- Donation form ---- */
.dd-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Preset amount buttons */
.dd-amounts {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.dd-amount-btn {
    flex: 1;
    background: #f5a623;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
}

.dd-amount-btn small {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.85;
    margin-left: 2px;
}

.dd-amount-btn:hover,
.dd-amount-btn--active {
    background: #e09510;
    transform: scale(1.04);
    box-shadow: 0 3px 10px rgba(245,166,35,0.35);
}

/* Custom amount label */
.dd-custom-label {
    font-size: 0.78rem;
    color: #f5a623;
    font-style: italic;
    margin-bottom: -6px;
}

/* Custom amount row */
.dd-custom-wrap {
    display: flex;
    align-items: center;
    background: #f5a623;
    border-radius: 30px;
    padding: 0 20px;
    height: 50px;
    gap: 8px;
}

.dd-custom-prefix {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.dd-custom-input {
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 600;
    outline: none;
    min-width: 0;
}

.dd-custom-input::placeholder {
    color: rgba(255,255,255,0.6);
}

/* Remove number input arrows */
.dd-custom-input::-webkit-outer-spin-button,
.dd-custom-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.dd-custom-input[type=number] { -moz-appearance: textfield; }

.dd-custom-suffix {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* Submit button */
.dd-submit {
    background: #f5a623;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    transition: background 0.2s;
    letter-spacing: 0.4px;
}

.dd-submit:hover {
    background: #e09510;
}

/* =============================================
   VOLUNTARIO PAGE
   ============================================= */

.vol-page {
    position: relative;
    background: #fff;
    overflow: hidden;
    padding: 60px 60px 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='28' fill='none' stroke='%23f5a623' stroke-width='1' opacity='0.07'/%3E%3C/svg%3E");
}

/* ---- Decorative elements ---- */
.vol-deco {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    user-select: none;
}

.vol-deco--star-red {
    color: #e05c2a;
    font-size: 2rem;
    top: 80px;
    left: 80px;
}

.vol-deco--star-teal {
    color: #4aa8a0;
    font-size: 1.4rem;
    top: 200px;
    right: 60px;
}

.vol-deco--star-small {
    color: #f5a623;
    font-size: 0.9rem;
    bottom: 200px;
    right: 100px;
}

/* Paper plane - left middle */
.vol-deco--plane {
    left: 40px;
    top: 55%;
    transform: rotate(-20deg);
    width: 0;
    height: 0;
}

.vol-deco--plane::before {
    content: '';
    position: absolute;
    width: 0; height: 0;
    border-left: 50px solid #f5a623;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    top: -20px; left: 0;
}

.vol-deco--plane::after {
    content: '';
    position: absolute;
    width: 0; height: 0;
    border-left: 34px solid #e09510;
    border-top: 14px solid transparent;
    top: 0; left: 0;
}

/* Dashed circle arc - right */
.vol-deco--circle-r {
    width: 180px; height: 180px;
    border: 3px dashed rgba(245,166,35,0.3);
    border-radius: 50%;
    right: -50px;
    bottom: 120px;
}

/* ---- 2-column layout ---- */
.vol-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Photo column */
.vol-photo-col {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.vol-photo-frame {
    width: 100%;
    max-width: 420px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    background: #e8e8e8;
}

.vol-photo-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content column */
.vol-content-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vol-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f5a623;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
    flex-wrap: wrap;
}

.vol-title-heart {
    color: #e05c6e;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.vol-text {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.75;
    text-align: center;
}

/* Comunidad button */
.vol-community-wrap {
    display: flex;
    justify-content: center;
    margin: 4px 0;
}

.vol-community-btn {
    display: inline-block;
    border: 2px solid #f5a623;
    color: #f5a623;
    text-decoration: none;
    padding: 10px 48px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.3px;
    transition: background 0.2s, color 0.2s;
}

.vol-community-btn:hover {
    background: #f5a623;
    color: #fff;
}

/* Programs list */
.vol-programs {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vol-program-text {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.75;
    text-align: center;
}

.vol-program-name {
    font-weight: 700;
    font-style: italic;
}

.vol-name--orange { color: #f5a623; }
.vol-name--teal   { color: #4aa8a0; }

/* WhatsApp floating button */
.vol-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    background: #f5a623;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    z-index: 200;
    transition: background 0.2s, transform 0.2s;
}

.vol-whatsapp:hover {
    background: #e09510;
    transform: scale(1.08);
}

/* =============================================
   CÓMO AYUDAR PAGE
   ============================================= */

.ca-page {
    position: relative;
    background: #fff;
    overflow: hidden;
    padding: 60px 40px 80px;
    min-height: 580px;
    /* Same subtle circle pattern as gallery */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='28' fill='none' stroke='%23f5a623' stroke-width='1' opacity='0.08'/%3E%3C/svg%3E");
}

/* ---- Decorative elements ---- */
.ca-deco {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    user-select: none;
}

/* Paper plane - left side (CSS triangle stack) */
.ca-deco--plane {
    left: 60px;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    width: 0;
    height: 0;
}

.ca-deco--plane::before {
    content: '';
    position: absolute;
    width: 0; height: 0;
    border-left: 55px solid #f5a623;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    top: -22px; left: 0;
}

.ca-deco--plane::after {
    content: '';
    position: absolute;
    width: 0; height: 0;
    border-left: 38px solid #e09510;
    border-top: 16px solid transparent;
    border-bottom: 0 solid transparent;
    top: 0; left: 0;
}

/* Stars */
.ca-deco--star-teal {
    color: #4aa8a0;
    font-size: 2.2rem;
    top: 140px;
    right: 80px;
}

.ca-deco--star-gold {
    color: #f5a623;
    font-size: 1.6rem;
    top: 185px;
    right: 120px;
}

.ca-deco--star-small {
    color: #f5a623;
    font-size: 1rem;
    bottom: 180px;
    left: 130px;
}

/* Dashed arc - right side */
.ca-deco--circle-dash {
    width: 200px;
    height: 200px;
    border: 3px dashed rgba(245,166,35,0.35);
    border-radius: 50%;
    right: -60px;
    bottom: 100px;
}

/* ---- Header ---- */
.ca-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.ca-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #f5a623;
    margin-bottom: 16px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ca-title-heart {
    color: #e05c6e;
    font-size: 1.7rem;
    flex-shrink: 0;
}

.ca-subtitle {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto;
}

/* ---- 4 Cards ---- */
.ca-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ca-card {
    border: 2px solid #f5a623;
    border-radius: 12px;
    padding: 28px 22px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
}

.ca-card:hover {
    box-shadow: 0 8px 28px rgba(245,166,35,0.18);
    transform: translateY(-3px);
}

.ca-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #4aa8a0;
    margin-bottom: 14px;
    line-height: 1.3;
}

.ca-card-text {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.ca-card-btn {
    display: inline-block;
    background: #4aa8a0;
    color: #fff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    transition: background 0.2s;
    white-space: nowrap;
    margin-top: auto;
}

.ca-card-btn:hover {
    background: #3a9890;
}

/* =============================================
   GALERÍA PAGE
   ============================================= */

.gl-page {
    position: relative;
    background: #fff;
    overflow: hidden;
    padding: 0 0 70px;
    /* Subtle pattern background */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='28' fill='none' stroke='%23f5a623' stroke-width='1' opacity='0.1'/%3E%3C/svg%3E");
}

/* ---- Decorative floating elements ---- */
.gl-deco {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    user-select: none;
}

.gl-deco--dot-orange {
    width: 18px; height: 18px;
    background: #f5a623;
    border-radius: 50%;
    top: 80px; left: 60px;
}

.gl-deco--dot-pink {
    width: 22px; height: 22px;
    background: #e91e8c;
    border-radius: 50%;
    top: 106px; left: 88px;
}

.gl-deco--dot-blue {
    width: 16px; height: 16px;
    background: #4a90d9;
    border-radius: 50%;
    top: 140px; left: 62px;
}

.gl-deco--heart-pink {
    color: #e91e8c;
    font-size: 1.5rem;
    top: 290px; left: 180px;
}

.gl-deco--heart-gold {
    color: #f5a623;
    font-size: 1.1rem;
    top: 260px; right: 350px;
}

.gl-deco--star-teal {
    color: #4aa8a0;
    font-size: 1.6rem;
    top: 310px; right: 140px;
}

.gl-deco--pacifier {
    color: #f5a623;
    font-size: 1.8rem;
    bottom: 280px; left: 120px;
    opacity: 0.7;
}

/* ---- CSS Clouds ---- */
.gl-cloud {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    background: #f5a623;
    border-radius: 50px;
}

.gl-cloud::before,
.gl-cloud::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

.gl-cloud--left-bot {
    width: 150px; height: 60px;
    bottom: 200px; left: -20px;
    opacity: 0.9;
}
.gl-cloud--left-bot::before {
    width: 90px; height: 90px;
    top: -40px; left: 14px;
}
.gl-cloud--left-bot::after {
    width: 70px; height: 70px;
    top: -28px; left: 58px;
}

.gl-cloud--right-top {
    width: 130px; height: 55px;
    top: 60px; right: -10px;
    opacity: 0.9;
}
.gl-cloud--right-top::before {
    width: 80px; height: 80px;
    top: -35px; left: 10px;
}
.gl-cloud--right-top::after {
    width: 60px; height: 60px;
    top: -24px; left: 50px;
}

/* ---- Balloons bottom right ---- */
.gl-balloons {
    position: absolute;
    bottom: 80px;
    right: 20px;
    display: flex;
    gap: -10px;
    z-index: 1;
    pointer-events: none;
}

.gl-balloon {
    width: 55px;
    height: 68px;
    border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%;
    position: relative;
    margin-right: -8px;
}
.gl-balloon::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5px;
    height: 16px;
    background: rgba(0,0,0,0.25);
}

.gl-balloon--blue   { background: #4a90d9; }
.gl-balloon--pink   { background: #e91e8c; }
.gl-balloon--orange { background: #f5a623; }

/* ---- Cloud title ---- */
.gl-header {
    display: flex;
    justify-content: center;
    padding: 50px 20px 0;
    position: relative;
    z-index: 2;
}

.gl-cloud-title {
    position: relative;
    background: #f5a623;
    border-radius: 60px;
    padding: 18px 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gl-cloud-title::before {
    content: '';
    position: absolute;
    width: 90px; height: 90px;
    background: #f5a623;
    border-radius: 50%;
    top: -40px; left: 70px;
}

.gl-cloud-title::after {
    content: '';
    position: absolute;
    width: 120px; height: 110px;
    background: #f5a623;
    border-radius: 50%;
    top: -52px; left: 150px;
}

.gl-cloud-title span {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Galería: nube con imagen */
.gl-cloud-title-img-wrap {
    position: relative;
    display: inline-block;
}

.gl-cloud-title-img {
    max-width: 360px;
    width: 100%;
    height: auto;
    display: block;
}

.gl-cloud-title-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    pointer-events: none;
}

/* ---- Subtitle ---- */
.gl-subtitle {
    text-align: center;
    font-size: 0.88rem;
    color: #666;
    line-height: 1.7;
    margin: 22px auto 28px;
    max-width: 640px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ---- Main featured photo ---- */
.gl-main-photo {
    display: flex;
    justify-content: center;
    padding: 0 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    cursor: zoom-in;
}

.gl-main-photo img {
    width: 100%;
    max-width: 480px;
    height: 280px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.14);
    background: #e8e8e8;
    display: block;
    transition: transform 0.2s;
}

.gl-main-photo img:hover {
    transform: scale(1.01);
}

/* ---- Thumbnail strip ---- */
.gl-strip-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.gl-strip {
    display: flex;
    gap: 8px;
    overflow: hidden;
    max-width: 820px;
    width: 100%;
    scroll-behavior: smooth;
}

.gl-thumb {
    flex: 0 0 120px;
    height: 85px;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.2s, transform 0.15s;
    background: #e8e8e8;
}

.gl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.gl-thumb:hover {
    transform: scale(1.04);
}

.gl-thumb--active {
    border-color: #f5a623;
}

/* Strip navigation arrows */
.gl-strip-arrow {
    width: 40px;
    height: 40px;
    background: #f5a623;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.2s;
}

.gl-strip-arrow:hover {
    background: #e09510;
}

/* ---- Lightbox ---- */
.gl-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
}

.gl-lightbox[hidden] {
    display: none;
}

.gl-lb-img-wrap {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gl-lb-img-wrap img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.gl-lb-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}

.gl-lb-close:hover {
    background: rgba(255,255,255,0.28);
}

.gl-lb-arrow {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.gl-lb-arrow:hover {
    background: #f5a623;
    border-color: #f5a623;
}

/* =============================================
   CONTACTO PAGE
   ============================================= */

.ct-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 60px 50px 260px;  /* left padding leaves room for info */
    overflow: hidden;
    gap: 40px;
}

.ct-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.ct-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 30, 60, 0.52);
    z-index: 1;
}

/* Decorative dashed circle - left */
.ct-deco-circle {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 160px;
    border: 3px dashed rgba(255,255,255,0.55);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}

/* ---- Left: contact info ---- */
.ct-info {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 200px;
}

.ct-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ct-info-icon {
    width: 40px;
    height: 40px;
    background: #f5a623;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.ct-info-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ct-info-text span {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
}

/* ---- Right: form card ---- */
.ct-card {
    position: relative;
    z-index: 3;
    background: rgba(255,255,255,0.96);
    border-radius: 16px;
    padding: 14px 16px;
    width: 100%;
    max-width: 640px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    flex-shrink: 0;
}

.ct-card-inner {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ct-card-left {
    flex: 1;
    min-width: 0;
}

.ct-card-right {
    flex: 1;
    min-width: 0;
}

/* Overlapping logo circles */
.ct-card-logo {
    position: relative;
    width: 80px;
    height: 50px;
    margin-bottom: 14px;
}

.ct-card-logo-img {
    max-width: 80px;
    height: auto;
    display: block;
    margin-bottom: 14px;
}

.ct-logo-circle {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    top: 0;
}

.ct-logo-orange {
    background: #f5a623;
    left: 0;
}

.ct-logo-teal {
    background: #4aa8a0;
    left: 28px;
}

/* Small smile below circles */
.ct-logo-smile {
    position: absolute;
    bottom: -4px;
    left: 8px;
    width: 46px;
    height: 20px;
    border: 4px solid #e05c2a;
    border-top: none;
    border-radius: 0 0 30px 30px;
}

.ct-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #4aa8a0;
    margin-bottom: 2px;
}

.ct-card-subtitle {
    font-size: 0.85rem;
    color: #f5a623;
    font-weight: 600;
    margin-bottom: 10px;
}

.ct-card-desc {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* Form inputs */
.ct-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ct-input {
    width: 100%;
    padding: 11px 14px;
    border: none;
    background: #f0f0f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.88rem;
    color: #444;
    outline: none;
    transition: background 0.2s, box-shadow 0.2s;
    resize: none;
}

.ct-input:focus {
    background: #e8e8e8;
    box-shadow: 0 0 0 2px rgba(74,168,160,0.3);
}

.ct-input::placeholder {
    color: #aaa;
}

.ct-textarea {
    height: 90px;
}

.ct-submit {
    background: #f5a623;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.ct-submit:hover {
    background: #e09510;
}

.ct-privacy {
    font-size: 0.72rem;
    color: #888;
    text-align: center;
    margin-top: 4px;
    font-style: italic;
}

/* Success / Error alerts */
.ct-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.85rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ct-error {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.85rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
    .navbar {
        padding: 14px 24px;
    }

    .navbar-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        gap: 18px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .navbar-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .btn-como-ayudar {
        display: none;
    }

    .hero {
        height: 380px;
    }

    .hero-overlay {
        padding: 16px 20px;
        bottom: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        padding: 36px 24px 16px;
    }

    /* Quienes Somos responsive */
    .qs-cards-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
        gap: 20px;
    }

    .qs-divider {
        width: 60%;
        height: 1px;
        min-height: unset;
        margin: 0 auto;
    }

    .qs-card,
    .qs-card--center {
        padding: 10px 16px;
        width: 100%;
    }

    .qs-star-deco {
        display: none;
    }

    .qs-arrow-next {
        top: auto;
        bottom: 16px;
        right: 16px;
        transform: none;
    }

    /* Que Hacemos responsive */
    .qh-programs {
        flex-direction: column;
        align-items: center;
        padding: 10px 16px 0;
    }

    .qh-photo-col {
        flex: unset;
        width: 100%;
        padding-top: 10px;
    }

    .qh-photo-circle,
    .qh-center-photo {
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }

    .qh-program-col {
        padding: 10px 12px;
        width: 100%;
    }

    .qh-cloud-title {
        font-size: 1.3rem;
        padding: 14px 30px;
    }

    .qh-cloud--top-left,
    .qh-cloud--top-right,
    .qh-cloud--bot-left,
    .qh-cloud--bot-right {
        display: none;
    }

    /* Contacto responsive */
    .ct-hero {
        flex-direction: column;
        padding: 40px 20px;
        min-height: unset;
        align-items: center;
    }

    .ct-deco-circle {
        display: none;
    }

    .ct-info {
        width: 100%;
        max-width: 380px;
    }

    .ct-card {
        max-width: 100%;
        width: 100%;
        padding: 12px 14px;
    }

    .ct-card-inner {
        flex-direction: column;
    }

    /* Galería responsive */
    .gl-main-photo img {
        height: 200px;
    }

    .gl-thumb {
        flex: 0 0 90px;
        height: 65px;
    }

    .gl-cloud-title span {
        font-size: 1.5rem;
    }

    .gl-cloud-title {
        padding: 14px 44px;
    }

    .gl-deco,
    .gl-cloud,
    .gl-balloons {
        display: none;
    }

    .gl-strip {
        gap: 6px;
    }

    /* Cómo Ayudar responsive */
    .ca-page {
        padding: 40px 16px 60px;
    }

    .ca-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .ca-title {
        font-size: 1.3rem;
        text-align: center;
    }

    .ca-deco--plane,
    .ca-deco--circle-dash {
        display: none;
    }

    /* Voluntario responsive */
    .vol-page {
        padding: 40px 20px 60px;
    }

    .vol-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .vol-title {
        font-size: 1.3rem;
        justify-content: center;
    }

    .vol-deco--plane,
    .vol-deco--circle-r {
        display: none;
    }

    /* Donaciones en Dinero responsive */
    .dd-page {
        padding: 40px 16px 70px;
    }

    .dd-card {
        padding: 22px 16px 28px;
    }

    .dd-amounts {
        justify-content: center;
    }

    .dd-title {
        font-size: 1.4rem;
    }

    .dd-deco--plane,
    .dd-deco--circle,
    .dd-deco--ball {
        display: none;
    }

    /* Donaciones en Especie responsive */
    .de-page {
        padding: 40px 20px 70px;
    }

    .de-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .de-title {
        font-size: 1.3rem;
        justify-content: center;
    }

    .de-deco--plane,
    .de-deco--circle-tl,
    .de-deco--circle-br {
        display: none;
    }

    /* Detalles con Propósito responsive */
    .dp-page {
        padding: 40px 16px 70px;
    }

    .dp-info-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .dp-carousel {
        gap: 12px;
    }

    .dp-product-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }

    .dp-title {
        font-size: 1.4rem;
    }

    .dp-deco--plane,
    .dp-deco--arc,
    .dp-deco--ball {
        display: none;
    }
}
