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

body {
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #0f172a;
    background: #f1f5f9;
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 100% - 2.5rem);
    margin: 0 auto;
}

.section {
    padding: 4.5rem 0;
}

.section-alt {
    background: #e2f3ff;
    padding: 4.5rem 0;
}

.section h2 {
    font-size: clamp(1.8rem, 2.5vw, 2.3rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #0b1533;
}

.section h2 span {
    color: #00a8cc;
}

.section-intro {
    max-width: 640px;
    margin-bottom: 2rem;
    color: #475569;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 21, 51, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #f9fafb;
}

.logo img {
    width: 54px;
    height: auto;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.4);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.logo-tagline {
    font-size: 0.7rem;
    opacity: 0.9;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.main-nav a {
    position: relative;
    padding-bottom: 0.2rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #22d3ee;
    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    background: #e5e7eb;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
    padding: 4rem 0 3.5rem;
    background: radial-gradient(circle at top left, #22d3ee 0, #0b1533 46%, #020617 100%);
    color: #f9fafb;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.1rem, 3vw, 2.7rem);
    margin-bottom: 1rem;
}

.hero h1 span {
    display: block;
    color: #a5f3fc;
    font-size: 0.9em;
    font-weight: 600;
}

.hero p {
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-full {
    width: 100%;
}

.btn.primary {
    background: linear-gradient(135deg, #06b6d4, #22c55e);
    color: #0f172a;
    box-shadow: 0 14px 40px rgba(34, 197, 94, 0.35);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(34, 197, 94, 0.45);
}

.btn.secondary {
    background: transparent;
    border-color: #38bdf8;
    color: #e0f2fe;
}

.btn.secondary:hover {
    background: #0f172a;
}

.btn.outline {
    background: transparent;
    border-color: #0f172a;
    color: #0f172a;
}

.btn.outline:hover {
    background: #0f172a;
    color: #f9fafb;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill {
    font-size: 0.7rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.65);
}

.hero-media {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-photo {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.stat {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 1rem;
    padding: 0.7rem 0.8rem;
    text-align: left;
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #22d3ee;
}

.stat-label {
    font-size: 0.7rem;
    color: #cbd5f5;
}

.two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 1.5rem 1.6rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.card.highlight {
    background: linear-gradient(135deg, #e0f2fe, #fefce8);
}

.card.highlight h3 {
    margin-bottom: 0.8rem;
}

.card.highlight ul {
    list-style: disc;
    margin-left: 1.2rem;
}

.card.highlight li + li {
    margin-top: 0.35rem;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.program-card {
    background: #fff;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(148, 163, 184, 0.45);
}

.program-card img {
    height: 170px;
    object-fit: cover;
}

.program-content {
    padding: 1.2rem 1.3rem 1.3rem;
}

.program-content h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: #0b1533;
}

.program-content p {
    font-size: 0.9rem;
    color: #475569;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.gallery-item {
    border-radius: 0.9rem;
    cursor: zoom-in;
    height: 180px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 60;
}

.lightbox img {
    max-height: 90vh;
    border-radius: 1rem;
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.8);
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    color: #f9fafb;
    width: 38px;
    height: 38px;
    cursor: pointer;
    font-size: 1.5rem;
}

.video-section {
    align-items: center;
}

.video-wrapper {
    width: 100%;
}

.video-responsive {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.video-responsive iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.donar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.card h3 {
    margin-bottom: 0.6rem;
}

.card p {
    font-size: 0.9rem;
    color: #475569;
}

.card p.small {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: #64748b;
}

.contact-section {
    align-items: flex-start;
}

.contact-list {
    list-style: none;
    margin: 1rem 0 1.5rem;
    font-size: 0.95rem;
}

.contact-list li + li {
    margin-top: 0.35rem;
}

.social-block {
    margin-bottom: 1.25rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.4rem;
}

.social-links a {
    font-size: 0.85rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #0f172a;
    color: #0f172a;
    background: #f9fafb;
}

.social-links a:hover {
    background: #0f172a;
    color: #f9fafb;
}

.fb-embed {
    margin-top: 1rem;
}

.contact-form {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 1.5rem 1.6rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
    color: #0f172a;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 0.6rem;
    border: 1px solid #cbd5f5;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #22d3ee;
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.4);
}

.form-note {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
}

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.2rem;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 18px 45px rgba(22, 163, 74, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f9fafb;
    font-size: 1.5rem;
    z-index: 55;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
}

.wa-icon {
    transform: translateY(1px);
}

.site-footer {
    background: #020617;
    color: #9ca3af;
    padding: 1.8rem 0;
    margin-top: 1rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
    font-size: 0.8rem;
}

.footer-credits a {
    color: #e5e7eb;
    text-decoration: underline;
}

/* Responsive */

@media (max-width: 960px) {
    .hero-inner,
    .two-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 3.5rem;
    }

    .program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .donar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0.5rem 0;
    }

    .main-nav {
        position: absolute;
        inset: auto 0 0;
        top: 100%;
        background: #020617;
        flex-direction: column;
        padding: 0.9rem 1.25rem 1.2rem;
        border-bottom: 1px solid rgba(148, 163, 184, 0.4);
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.18s ease, opacity 0.18s ease;
    }

    .main-nav.open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: block;
    }

    .hero-inner {
        gap: 2.3rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .program-grid,
    .donar-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 1.5rem, 640px);
    }

    .hero {
        padding-bottom: 2.6rem;
    }

    .site-header {
        position: sticky;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-item {
        height: 160px;
    }

    .section {
        padding: 3.2rem 0;
    }

    .section-alt {
        padding: 3.2rem 0;
    }
}
