:root {
--blue: #003f8f;
--green: #2f9444;
--yellow: #f6c33b;
--black: #111111;
--gray: #555555;
--light: #f8f8f4;
--white: #ffffff;
--shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
--shadow-soft: 0 12px 30px rgba(0, 63, 143, 0.08);
--shadow-hover: 0 24px 62px rgba(0, 63, 143, 0.14);
--header-height: 92px;
--section-offset: calc(var(--header-height) + 24px);
}

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

html {
scroll-behavior: smooth;
scroll-padding-top: var(--section-offset);
}

body {
font-family: Arial, Helvetica, sans-serif;
color: var(--black);
background: var(--white);
text-rendering: optimizeLegibility;
}

section {
scroll-margin-top: var(--section-offset);
}

.single-section-mode main > section[id].is-hidden-section,
.single-section-mode .wave-section.is-hidden-section {
display: none;
}

.single-section-mode main > section[id].is-active-section {
display: block;
min-height: calc(100vh - var(--header-height));
animation: sectionViewIn 0.45s ease both;
}

.single-section-mode .recent-event.is-active-section,
.single-section-mode .news.is-active-section {
min-height: auto;
}

@keyframes sectionViewIn {
from {
opacity: 0;
transform: translateY(12px);
}

to {
opacity: 1;
transform: translateY(0);
}
}

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

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

button {
font-family: inherit;
}

.container {
width: min(1180px, 92%);
margin: 0 auto;
}

/* HEADER */

.header {
background: rgba(255, 255, 255, 0.97);
position: sticky;
top: 0;
z-index: 1000;
height: var(--header-height);
box-shadow: 0 2px 22px rgba(0, 0, 0, 0.04);
backdrop-filter: blur(12px);
transition: box-shadow 0.25s ease, background 0.25s ease;
}

.header.scrolled {
background: rgba(255, 255, 255, 0.985);
box-shadow: 0 12px 34px rgba(0, 63, 143, 0.1);
}

.nav-container {
height: var(--header-height);
display: flex;
align-items: center;
justify-content: space-between;
gap: 22px;
position: relative;
}

.logo {
height: var(--header-height);
display: flex;
align-items: center;
overflow: hidden;
position: relative;
z-index: 1002;
}

.logo img {
width: 132px;
max-height: 82px;
height: auto;
object-fit: contain;
}

.nav {
display: flex;
align-items: center;
gap: 26px;
font-size: 15px;
font-weight: 700;
}

.nav a {
position: relative;
color: #222;
transition: color 0.25s ease, transform 0.25s ease;
outline: none;
}

.nav a.active,
.nav a:hover {
color: var(--green);
}

.nav a:hover {
transform: translateY(-1px);
}

.nav a::after {
content: "";
position: absolute;
left: 0;
bottom: -10px;
width: 0;
height: 2px;
background: var(--green);
transition: width 0.25s ease;
}

.nav a.active::after,
.nav a:hover::after {
width: 100%;
}

.nav a:focus-visible {
color: var(--green);
border-radius: 8px;
box-shadow: 0 0 0 3px rgba(47, 148, 68, 0.14);
}

.btn-donar {
background: var(--blue);
color: var(--white);
padding: 16px 28px;
border-radius: 14px;
font-weight: 800;
box-shadow: var(--shadow);
white-space: nowrap;
transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.menu-toggle {
display: none;
border: none;
background: transparent;
color: var(--blue);
font-size: 34px;
line-height: 1;
cursor: pointer;
padding: 12px;
border-radius: 12px;
position: relative;
z-index: 1003;
touch-action: manipulation;
}

.menu-toggle:active {
transform: scale(0.96);
}

.menu-icon {
display: block;
pointer-events: none;
}

/* BOTONES FLOTANTES DE CONTACTO */

.floating-contact {
position: fixed;
right: 18px;
top: 50%;
transform: translateY(-50%);
z-index: 900;
display: flex;
flex-direction: column;
gap: 12px;
}

.floating-contact-btn {
width: 54px;
min-height: 54px;
border-radius: 999px;
background: var(--blue);
color: var(--white);
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
box-shadow: 0 14px 32px rgba(0, 63, 143, 0.22);
font-size: 22px;
font-weight: 800;
line-height: 1;
overflow: hidden;
white-space: nowrap;
transition: width 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
border: 2px solid rgba(255, 255, 255, 0.72);
}

.brand-icon {
width: 1em;
height: 1em;
display: block;
fill: currentColor;
flex: 0 0 auto;
}

.floating-contact-btn .brand-icon {
width: 27px;
height: 27px;
}

.floating-contact-btn span {
display: none;
font-size: 14px;
padding-right: 16px;
}

.floating-contact-btn:hover {
width: 150px;
transform: translateX(-4px);
box-shadow: 0 18px 42px rgba(0, 63, 143, 0.28);
}

.floating-contact-btn:hover span {
display: inline-block;
}

.floating-whatsapp {
background: #25d366;
}

.floating-email {
background: var(--blue);
}

.floating-phone {
background: var(--green);
}

/* HERO */

.hero {
position: relative;
overflow: hidden;
min-height: calc(100vh - var(--header-height));
background:
radial-gradient(circle at 8% 16%, rgba(246, 195, 59, 0.14), transparent 24%),
radial-gradient(circle at 72% 12%, rgba(47, 148, 68, 0.1), transparent 28%),
linear-gradient(105deg, #ffffff 0%, #ffffff 41%, #f1f5f2 100%);
}

.hero::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(0, 63, 143, 0.12), transparent);
}

.hero-container {
width: min(1360px, 94%);
min-height: calc(100vh - var(--header-height));
display: grid;
grid-template-columns: minmax(430px, 0.92fr) minmax(520px, 1.28fr);
align-items: center;
gap: clamp(28px, 4vw, 68px);
}

.hero-content {
position: relative;
z-index: 3;
padding: clamp(56px, 7vh, 92px) 0 clamp(58px, 8vh, 96px);
max-width: 660px;
}

.hero-content h1 {
font-size: clamp(56px, 6.5vw, 96px);
line-height: 0.98;
letter-spacing: -1.8px;
margin-bottom: 30px;
text-wrap: balance;
animation: heroTextIn 0.85s ease both;
}

.green {
color: var(--green);
}

.blue {
color: var(--blue);
}

.heart {
color: var(--yellow);
font-weight: 300;
}

.hero-content p {
max-width: 590px;
font-size: clamp(19px, 1.55vw, 24px);
line-height: 1.6;
color: #333;
margin-bottom: 38px;
animation: heroTextIn 0.85s ease 0.16s both;
}

.hero-buttons {
display: flex;
flex-wrap: wrap;
gap: 18px;
animation: heroTextIn 0.85s ease 0.31s both;
}

.btn-primary,
.btn-secondary {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 62px;
padding: 0 34px;
border-radius: 16px;
font-weight: 800;
transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
background: var(--blue);
color: var(--white);
box-shadow: 0 18px 42px rgba(0, 63, 143, 0.18);
}

.btn-secondary {
background: var(--white);
color: var(--green);
border: 2px solid rgba(47, 148, 68, 0.45);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-donar:hover,
.news-button:hover {
transform: translateY(-2px);
}

.btn-primary:hover,
.btn-donar:hover,
.project-whatsapp-button:hover,
.policy-button:hover,
.contact-form button:hover {
box-shadow: var(--shadow-hover);
}

.btn-secondary:hover {
border-color: var(--green);
box-shadow: var(--shadow-soft);
}

/* HERO CARRUSEL */

.hero-carousel {
height: 100%;
min-height: calc(100vh - var(--header-height));
position: relative;
border-bottom-left-radius: clamp(56px, 8vw, 120px);
overflow: hidden;
background: #eef3ee;
box-shadow:
0 28px 78px rgba(0, 63, 143, 0.16),
inset 34px 0 62px rgba(255, 255, 255, 0.26);
animation: heroMediaIn 1s ease 0.18s both;
}

.carousel-slide {
position: absolute;
inset: 0;
opacity: 0;
transform: scale(1.03);
transition: opacity 0.8s ease, transform 1.2s ease;
}

.carousel-slide.active {
opacity: 1;
transform: scale(1);
z-index: 1;
}

.carousel-slide img {
width: 100%;
height: 100%;
object-fit: cover;
}

.hero-carousel::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
90deg,
rgba(255, 255, 255, 0.92) 0%,
rgba(255, 255, 255, 0.58) 18%,
rgba(255, 255, 255, 0.04) 46%
);
z-index: 2;
pointer-events: none;
}

.hero-carousel::after {
content: "";
position: absolute;
inset: auto 0 0;
height: 34%;
background: linear-gradient(180deg, transparent, rgba(0, 63, 143, 0.2));
z-index: 2;
pointer-events: none;
}

.carousel-btn {
position: absolute;
top: 50%;
z-index: 4;
width: 50px;
height: 50px;
border: none;
border-radius: 50%;
background: rgba(255, 255, 255, 0.86);
color: var(--blue);
font-size: 32px;
line-height: 1;
cursor: pointer;
display: grid;
place-items: center;
box-shadow: 0 14px 30px rgba(0, 63, 143, 0.18);
transform: translateY(-50%);
transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-btn:hover {
background: var(--blue);
color: var(--white);
transform: translateY(-50%) scale(1.04);
box-shadow: 0 18px 42px rgba(0, 63, 143, 0.22);
}

.carousel-btn.prev {
left: 24px;
}

.carousel-btn.next {
right: 24px;
}

.carousel-dots {
position: absolute;
right: 32px;
bottom: 28px;
z-index: 4;
display: flex;
gap: 10px;
}

.dot {
width: 12px;
height: 12px;
border: none;
border-radius: 999px;
background: rgba(255, 255, 255, 0.75);
cursor: pointer;
transition: 0.25s ease;
}

.dot.active {
width: 32px;
background: var(--yellow);
}

.hero-shape {
position: absolute;
left: -84px;
top: 28px;
width: 210px;
height: 210px;
background: radial-gradient(circle, rgba(246, 195, 59, 0.88), rgba(246, 195, 59, 0.22) 62%, transparent 68%);
border-radius: 50%;
opacity: 0.82;
filter: blur(0.2px);
}

.hero-shape::after {
content: "";
position: absolute;
left: 118px;
top: 118px;
width: 92px;
height: 92px;
border-radius: 50%;
background: rgba(47, 148, 68, 0.12);
}

@keyframes heroTextIn {
from {
opacity: 0;
transform: translateY(28px);
}

to {
opacity: 1;
transform: translateY(0);
}
}

@keyframes heroMediaIn {
from {
opacity: 0;
transform: translateY(18px) scale(0.985);
}

to {
opacity: 1;
transform: translateY(0) scale(1);
}
}

/* WAVES */

.wave-section {
height: 72px;
position: relative;
background: var(--white);
overflow: hidden;
}

.wave-blue,
.wave-green {
position: absolute;
width: 120%;
height: 60px;
left: -10%;
border-radius: 50%;
}

.wave-blue {
top: -12px;
background: var(--blue);
transform: rotate(-2deg);
}

.wave-green {
top: 8px;
background: var(--green);
transform: rotate(1.5deg);
}

/* SECCIONES GENERALES */

.section-title {
text-align: center;
max-width: 760px;
margin: 0 auto 42px;
}

.section-kicker {
display: inline-flex;
color: var(--green);
background: rgba(47, 148, 68, 0.1);
padding: 9px 16px;
border-radius: 999px;
font-size: 13px;
font-weight: 900;
text-transform: uppercase;
letter-spacing: 0.7px;
margin-bottom: 14px;
box-shadow: inset 0 0 0 1px rgba(47, 148, 68, 0.08);
}

.section-title h2 {
font-size: clamp(32px, 4vw, 48px);
color: var(--blue);
margin-bottom: 16px;
}

.section-title p {
color: #333;
line-height: 1.6;
font-size: 17px;
}

.blue-bg {
background: var(--blue);
}

.green-bg {
background: var(--green);
}

/* ABOUT / NOSOTROS */

.about {
padding: 70px 0 65px;
background: var(--white);
}

.about-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 26px;
}

.about-card {
text-align: center;
padding: 30px 22px 32px;
border-radius: 28px;
background: linear-gradient(180deg, #ffffff 0%, #f8f8f4 100%);
border: 1px solid rgba(0, 63, 143, 0.08);
box-shadow: var(--shadow);
position: relative;
overflow: hidden;
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-card::before {
content: "";
position: absolute;
right: -60px;
top: -60px;
width: 140px;
height: 140px;
background: rgba(246, 195, 59, 0.16);
border-radius: 50%;
}

.about-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-hover);
border-color: rgba(47, 148, 68, 0.18);
}

.about-icon {
width: 82px;
height: 82px;
margin: 0 auto 20px;
display: grid;
place-items: center;
border-radius: 50%;
color: var(--white);
font-size: 34px;
font-weight: 900;
position: relative;
z-index: 2;
line-height: 1;
border: 3px solid rgba(255, 255, 255, 0.78);
box-shadow: 0 16px 32px rgba(0, 63, 143, 0.16);
isolation: isolate;
}

.about-icon::after,
.policy-icon::after,
.donation-card-icon::after,
.timeline-marker::after {
content: "";
position: absolute;
width: 34px;
height: 18px;
right: -10px;
bottom: 4px;
background: var(--yellow);
border-radius: 100%;
transform: rotate(-40deg);
z-index: -1;
}

.about-card h3 {
color: var(--green);
font-size: 22px;
margin-bottom: 14px;
position: relative;
z-index: 2;
}

.about-card p {
font-size: 15px;
color: #333;
line-height: 1.7;
position: relative;
z-index: 2;
}

.values-list {
display: flex;
flex-wrap: wrap;
gap: 9px;
justify-content: center;
position: relative;
z-index: 2;
}

.values-list span {
background: #fff7df;
color: #6f5400;
padding: 8px 11px;
border-radius: 999px;
font-size: 13px;
font-weight: 800;
}

/* POLÍTICAS */

.policies {
padding: 90px 0;
background: linear-gradient(180deg, #ffffff 0%, #f8f8f4 100%);
}

.policies-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 30px;
max-width: 980px;
margin: 0 auto;
}

.policy-card {
background: var(--white);
border-radius: 30px;
padding: 34px 30px;
box-shadow: var(--shadow-soft);
border: 1px solid rgba(0, 63, 143, 0.08);
position: relative;
overflow: hidden;
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.policy-card::before {
content: "";
position: absolute;
inset: 0 auto 0 0;
width: 7px;
background: linear-gradient(180deg, var(--green), var(--blue));
}

.policy-card::after {
content: "";
position: absolute;
right: -45px;
top: -45px;
width: 120px;
height: 120px;
background: rgba(246, 195, 59, 0.14);
border-radius: 50%;
}

.policy-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-hover);
border-color: rgba(47, 148, 68, 0.2);
}

.policy-top {
display: flex;
align-items: center;
gap: 14px;
margin-bottom: 22px;
position: relative;
z-index: 2;
}

.policy-icon {
width: 62px;
height: 62px;
min-width: 62px;
border-radius: 50%;
display: grid;
place-items: center;
background: var(--blue);
color: var(--white);
font-size: 26px;
box-shadow: 0 12px 25px rgba(0, 63, 143, 0.18);
position: relative;
z-index: 2;
line-height: 1;
border: 3px solid rgba(255, 255, 255, 0.78);
isolation: isolate;
}

.policy-badge {
display: inline-flex;
align-items: center;
background: rgba(47, 148, 68, 0.1);
color: var(--green);
padding: 9px 14px;
border-radius: 999px;
font-size: 13px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.4px;
}

.policy-card h3 {
color: var(--blue);
font-size: 28px;
line-height: 1.15;
margin-bottom: 16px;
position: relative;
z-index: 2;
}

.policy-card p {
color: var(--gray);
font-size: 16px;
line-height: 1.75;
margin-bottom: 24px;
position: relative;
z-index: 2;
}

.policy-button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 50px;
padding: 0 22px;
border-radius: 14px;
background: var(--blue);
color: var(--white);
font-weight: 800;
font-size: 15px;
transition: 0.25s ease;
position: relative;
z-index: 2;
}

.policy-button:hover {
background: #00377d;
transform: translateY(-2px);
}

/* PROJECTS */

.projects {
padding: 90px 0;
background: #f8f8f4;
}

.projects-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 28px;
}

.project-card {
background: var(--white);
border-radius: 24px;
overflow: hidden;
box-shadow: var(--shadow);
display: flex;
flex-direction: column;
border: 1px solid rgba(0, 63, 143, 0.07);
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-hover);
border-color: rgba(47, 148, 68, 0.18);
}

.project-image {
height: 220px;
overflow: hidden;
background: #eef3ee;
}

.project-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.65s ease;
}

.project-card:hover .project-image img {
transform: scale(1.045);
}

.project-content {
padding: 28px;
display: flex;
flex-direction: column;
flex: 1;
}

.project-content span {
display: block;
color: var(--green);
font-weight: 800;
font-size: 14px;
margin-bottom: 12px;
text-align: center;
}

.project-content h3 {
color: var(--blue);
font-size: 24px;
margin-bottom: 14px;
text-align: center;
}

.project-content p {
color: var(--gray);
line-height: 1.6;
margin-bottom: 22px;
}

.project-whatsapp-button {
margin-top: auto;
width: 100%;
min-height: 52px;
border: none;
border-radius: 14px;
background: var(--blue);
color: var(--white);
font-size: 15px;
font-weight: 800;
cursor: pointer;
transition: 0.25s ease;
box-shadow: 0 12px 30px rgba(0, 63, 143, 0.14);
}

.project-whatsapp-button:hover {
background: #00377d;
transform: translateY(-2px);
}

/* GALLERY TIMELINE */

.gallery {
padding: 95px 0;
background:
radial-gradient(circle at top left, rgba(246, 195, 59, 0.12), transparent 34%),
linear-gradient(180deg, #ffffff 0%, #f8f8f4 100%);
}

.timeline-gallery {
position: relative;
max-width: 1120px;
margin: 0 auto;
display: grid;
gap: 42px;
}

.timeline-gallery::before {
content: "";
position: absolute;
left: 32px;
top: 20px;
bottom: 20px;
width: 4px;
background: linear-gradient(180deg, var(--green), var(--blue));
border-radius: 999px;
}

.timeline-item {
position: relative;
display: grid;
grid-template-columns: 80px 1fr;
gap: 24px;
align-items: stretch;
}

.timeline-marker {
position: relative;
z-index: 3;
width: 68px;
height: 68px;
background: var(--blue);
color: var(--white);
border-radius: 50%;
display: grid;
place-items: center;
font-weight: 900;
box-shadow: 0 16px 34px rgba(0, 63, 143, 0.2);
}

.timeline-card {
background: var(--white);
border-radius: 34px;
padding: 34px;
display: grid;
grid-template-columns: 0.85fr 1.25fr;
gap: 30px;
align-items: center;
border: 1px solid rgba(0, 63, 143, 0.08);
box-shadow: var(--shadow-soft);
overflow: hidden;
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.timeline-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-hover);
border-color: rgba(47, 148, 68, 0.18);
}

.timeline-content {
position: relative;
z-index: 2;
}

.gallery-event-date {
color: var(--green);
font-size: 14px;
font-weight: 900;
text-transform: uppercase;
letter-spacing: 0.6px;
margin-bottom: 14px;
}

.timeline-card h3 {
color: var(--blue);
font-size: clamp(28px, 3vw, 42px);
line-height: 1.1;
letter-spacing: -0.8px;
margin-bottom: 16px;
}

.gallery-event-text {
color: var(--gray);
font-size: 16px;
line-height: 1.7;
}

/* EVENT CAROUSELS */

.event-carousel {
position: relative;
height: 420px;
border-radius: 28px;
overflow: hidden;
background: #eef3ee;
box-shadow: 0 18px 45px rgba(0, 63, 143, 0.15);
}

.event-carousel-track,
.event-slide {
width: 100%;
height: 100%;
}

.event-slide {
position: absolute;
inset: 0;
opacity: 0;
transform: scale(1.03);
transition: opacity 0.65s ease, transform 0.95s ease;
}

.event-slide.active {
opacity: 1;
transform: scale(1);
z-index: 1;
}

.event-slide img {
width: 100%;
height: 100%;
object-fit: cover;
}

.event-carousel::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(180deg, transparent 55%, rgba(0, 63, 143, 0.25));
z-index: 2;
pointer-events: none;
}

.event-carousel-btn {
position: absolute;
top: 50%;
z-index: 4;
width: 42px;
height: 42px;
border: none;
border-radius: 50%;
background: rgba(255, 255, 255, 0.9);
color: var(--blue);
font-size: 30px;
cursor: pointer;
display: grid;
place-items: center;
transform: translateY(-50%);
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
transition: 0.25s ease;
}

.event-carousel-btn:hover {
background: var(--blue);
color: var(--white);
}

.event-prev {
left: 18px;
}

.event-next {
right: 18px;
}

.event-carousel-count {
position: absolute;
right: 18px;
bottom: 18px;
z-index: 4;
background: rgba(0, 63, 143, 0.88);
color: var(--white);
padding: 9px 14px;
border-radius: 999px;
font-weight: 800;
font-size: 14px;
}

/* RECENT EVENT */

.recent-event {
padding: 88px 0 34px;
background:
radial-gradient(circle at 12% 10%, rgba(47, 148, 68, 0.12), transparent 28%),
linear-gradient(180deg, #ffffff 0%, #f8f8f4 100%);
}

.recent-event-card {
max-width: 1200px;
margin: 0 auto;
padding: 42px;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
gap: 48px;
align-items: center;
position: relative;
overflow: hidden;
border-radius: 34px;
background:
linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 248, 244, 0.98)),
radial-gradient(circle at top right, rgba(246, 195, 59, 0.18), transparent 34%);
border: 1px solid rgba(0, 63, 143, 0.08);
box-shadow: 0 24px 60px rgba(0, 63, 143, 0.12);
}

.recent-event-card::before {
content: "";
position: absolute;
left: 0;
top: 0;
width: 9px;
height: 100%;
background: linear-gradient(180deg, var(--blue), var(--green));
}

.recent-event-content {
position: relative;
z-index: 2;
}

.recent-event-tag {
display: inline-flex;
align-items: center;
background: rgba(47, 148, 68, 0.11);
color: var(--green);
font-size: 14px;
font-weight: 900;
padding: 10px 18px;
border-radius: 999px;
margin-bottom: 22px;
}

.recent-event-card h3 {
color: var(--blue);
font-size: clamp(32px, 4vw, 48px);
line-height: 1.08;
letter-spacing: -1px;
margin-bottom: 20px;
max-width: 700px;
}

.recent-event-card p {
color: #333333;
font-size: 18px;
line-height: 1.75;
margin-bottom: 28px;
max-width: 720px;
}

.recent-event-media {
position: relative;
z-index: 2;
width: min(100%, 360px);
justify-self: center;
padding: 14px;
border-radius: 32px;
background:
linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 248, 244, 0.98)),
radial-gradient(circle at top right, rgba(47, 148, 68, 0.16), transparent 38%),
radial-gradient(circle at bottom left, rgba(0, 63, 143, 0.12), transparent 42%);
border: 1px solid rgba(0, 63, 143, 0.08);
box-shadow: 0 22px 52px rgba(0, 63, 143, 0.13);
}

.recent-event-label {
display: inline-flex;
align-items: center;
margin-bottom: 12px;
padding: 8px 14px;
border-radius: 999px;
background: var(--blue);
color: var(--white);
font-size: 13px;
font-weight: 900;
box-shadow: 0 10px 24px rgba(0, 63, 143, 0.16);
}

.recent-event-video-shell {
position: relative;
aspect-ratio: 9 / 16;
width: 100%;
overflow: hidden;
border-radius: 24px;
background:
linear-gradient(135deg, #f7faf8 0%, #eef5ef 52%, #f6f8fb 100%),
linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(0, 63, 143, 0.04));
box-shadow:
0 16px 34px rgba(0, 63, 143, 0.12),
inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.recent-event-video-shell video {
width: 100%;
height: 100%;
display: block;
object-fit: contain;
object-position: center;
background: transparent;
}

/* NEWS */

.news {
padding: 44px 0 88px;
background: linear-gradient(180deg, #f8f8f4 0%, #ffffff 100%);
}

.featured-news {
max-width: 1200px;
margin: 0 auto;
background: var(--white);
border-radius: 34px;
padding: 42px;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
gap: 48px;
align-items: center;
box-shadow: 0 24px 60px rgba(0, 63, 143, 0.12);
border: 1px solid rgba(0, 63, 143, 0.08);
position: relative;
overflow: hidden;
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.featured-news:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-hover);
border-color: rgba(47, 148, 68, 0.18);
}

.featured-news::before {
content: "";
position: absolute;
left: 0;
top: 0;
width: 9px;
height: 100%;
background: linear-gradient(180deg, var(--green), var(--blue));
}

.featured-news-content {
position: relative;
z-index: 2;
}

.news-badge {
display: inline-flex;
align-items: center;
background: rgba(47, 148, 68, 0.11);
color: var(--green);
font-size: 14px;
font-weight: 800;
padding: 10px 18px;
border-radius: 999px;
margin-bottom: 22px;
}

.featured-news h3 {
color: var(--blue);
font-size: clamp(30px, 4vw, 46px);
line-height: 1.08;
letter-spacing: -1.1px;
margin-bottom: 20px;
max-width: 760px;
}

.featured-news p {
color: #333333;
font-size: 18px;
line-height: 1.75;
margin-bottom: 26px;
max-width: 800px;
}

.news-tags {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 30px;
}

.news-tags span {
background: #fff7df;
color: #6f5400;
font-size: 14px;
font-weight: 800;
padding: 10px 14px;
border-radius: 999px;
}

.news-button {
display: inline-flex;
align-items: center;
justify-content: center;
background: var(--blue);
color: var(--white);
min-height: 56px;
padding: 0 30px;
border-radius: 16px;
font-weight: 800;
box-shadow: var(--shadow);
transition: 0.25s ease;
}

.news-button:hover {
background: #00377d;
}

.news-carousel {
position: relative;
z-index: 2;
width: min(100%, 430px);
min-height: auto;
padding: 14px 14px 64px;
border-radius: 32px;
background:
linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 248, 244, 0.98)),
radial-gradient(circle at top right, rgba(47, 148, 68, 0.16), transparent 34%),
radial-gradient(circle at bottom left, rgba(0, 63, 143, 0.12), transparent 42%);
box-shadow: 0 22px 52px rgba(0, 63, 143, 0.13);
border: 1px solid rgba(0, 63, 143, 0.08);
overflow: hidden;
isolation: isolate;
outline: none;
justify-self: center;
}

.news-carousel::before,
.news-carousel::after {
content: "";
position: absolute;
inset: 14px 14px 64px;
border-radius: 24px;
pointer-events: none;
}

.news-carousel::before {
z-index: 3;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.news-carousel::after {
z-index: 2;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 34%);
}

.news-carousel:focus-visible {
box-shadow:
0 22px 54px rgba(0, 63, 143, 0.14),
0 0 0 4px rgba(47, 148, 68, 0.18);
}

.news-carousel-track {
position: relative;
width: 100%;
aspect-ratio: 4 / 5;
height: auto;
min-height: 0;
border-radius: 24px;
overflow: hidden;
background:
linear-gradient(135deg, #f7faf8 0%, #eef5ef 48%, #f6f8fb 100%),
linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(0, 63, 143, 0.04));
box-shadow:
0 16px 34px rgba(0, 63, 143, 0.1),
inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.news-carousel-slide {
position: absolute;
inset: 0;
margin: 0;
opacity: 0;
transform: none;
transition: opacity 0.7s ease;
display: grid;
place-items: center;
padding: clamp(8px, 1.4vw, 14px);
background:
radial-gradient(circle at 18% 15%, rgba(255, 255, 255, 0.72), transparent 34%),
linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(0, 63, 143, 0.04));
}

.news-carousel-slide.active {
opacity: 1;
transform: none;
z-index: 1;
}

.news-carousel-slide img {
width: 100%;
height: 100%;
display: block;
object-fit: contain;
object-position: center;
filter: drop-shadow(0 10px 18px rgba(0, 63, 143, 0.1));
transition: filter 0.3s ease;
}

.news-carousel:hover .news-carousel-slide.active img {
filter: saturate(1.04) contrast(1.02) drop-shadow(0 12px 22px rgba(0, 63, 143, 0.13));
}

.news-carousel-btn {
position: absolute;
bottom: 18px;
z-index: 5;
width: 40px;
height: 40px;
border: 1px solid rgba(255, 255, 255, 0.72);
border-radius: 50%;
background: rgba(255, 255, 255, 0.82);
color: var(--blue);
font-size: 27px;
line-height: 1;
cursor: pointer;
display: grid;
place-items: center;
box-shadow: 0 10px 24px rgba(0, 63, 143, 0.14);
transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
backdrop-filter: blur(10px);
}

.news-carousel-btn:hover,
.news-carousel-btn:focus-visible {
background: var(--blue);
color: var(--white);
transform: translateY(-2px);
box-shadow: 0 14px 30px rgba(0, 63, 143, 0.2);
outline: none;
}

.news-carousel-prev {
left: 18px;
}

.news-carousel-next {
right: 18px;
}

.news-carousel-dots {
position: absolute;
left: 50%;
bottom: 27px;
z-index: 5;
display: flex;
align-items: center;
gap: 8px;
padding: 7px 10px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.82);
box-shadow: 0 10px 24px rgba(0, 63, 143, 0.12);
transform: translateX(-50%);
backdrop-filter: blur(10px);
}

.news-carousel-dot {
width: 8px;
height: 8px;
padding: 0;
border: none;
border-radius: 999px;
background: rgba(0, 63, 143, 0.25);
cursor: pointer;
transition: width 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.news-carousel-dot.active {
width: 26px;
background: linear-gradient(90deg, var(--green), var(--blue));
}

.news-carousel-dot:hover {
transform: scale(1.12);
}

.news-carousel-dot:focus-visible {
outline: 3px solid rgba(47, 148, 68, 0.28);
outline-offset: 3px;
}

/* DONATION */

.donation-section {
padding: 90px 0;
background:
radial-gradient(circle at top left, rgba(246, 195, 59, 0.16), transparent 32%),
linear-gradient(180deg, #f8f8f4 0%, #ffffff 100%);
}

.donation-box {
text-align: center;
max-width: 820px;
}

.donation-label {
display: inline-flex;
align-items: center;
justify-content: center;
background: rgba(47, 148, 68, 0.11);
color: var(--green);
font-size: 14px;
font-weight: 900;
padding: 10px 18px;
border-radius: 999px;
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.donation-box h2 {
color: var(--blue);
font-size: clamp(36px, 4vw, 52px);
margin-bottom: 18px;
}

.donation-box > p {
color: var(--gray);
font-size: 18px;
line-height: 1.7;
margin: 0 auto 30px;
max-width: 720px;
}

.donation-card {
max-width: 680px;
margin: 0 auto 30px;
background: var(--white);
border-radius: 28px;
padding: 28px;
display: flex;
align-items: center;
gap: 22px;
text-align: left;
box-shadow: 0 20px 55px rgba(0, 63, 143, 0.1);
border: 1px solid rgba(0, 63, 143, 0.08);
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.donation-card:hover {
transform: translateY(-3px);
box-shadow: var(--shadow-hover);
border-color: rgba(47, 148, 68, 0.18);
}

.donation-card-icon {
min-width: 68px;
width: 68px;
height: 68px;
display: grid;
place-items: center;
background: var(--blue);
color: var(--white);
font-size: 30px;
border-radius: 50%;
position: relative;
line-height: 1;
border: 3px solid rgba(255, 255, 255, 0.78);
box-shadow: 0 16px 32px rgba(0, 63, 143, 0.16);
isolation: isolate;
}

.donation-card-content h3 {
color: var(--blue);
font-size: 24px;
margin-bottom: 8px;
}

.donation-card-content p {
color: var(--gray);
line-height: 1.6;
}

.donation-pay-button {
margin-bottom: 18px;
}

.donation-box small {
display: block;
margin: 18px auto 0;
color: #666;
line-height: 1.6;
max-width: 680px;
}

/* CONTACT */

.contact {
padding: 90px 0 72px;
background: var(--white);
}

.contact-box {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 50px;
align-items: center;
}

.contact-label {
display: inline-block;
color: var(--green);
font-weight: 800;
margin-bottom: 12px;
text-transform: uppercase;
letter-spacing: 1px;
font-size: 13px;
}

.contact-info h2 {
color: var(--blue);
font-size: 42px;
margin-bottom: 18px;
}

.contact-info p {
color: var(--gray);
font-size: 18px;
line-height: 1.6;
margin-bottom: 24px;
}

.contact-details {
display: grid;
gap: 0;
margin-top: 28px;
padding: 6px 0;
border-top: 1px solid rgba(0, 63, 143, 0.1);
border-bottom: 1px solid rgba(0, 63, 143, 0.1);
}

.contact-detail {
display: grid;
grid-template-columns: 150px 1fr;
gap: 18px;
align-items: baseline;
padding: 16px 0;
background: transparent;
border: 0;
box-shadow: none;
}

.contact-detail + .contact-detail {
border-top: 1px solid rgba(0, 63, 143, 0.08);
}

.contact-detail-label {
display: block;
margin-bottom: 0;
color: #5c6f67;
font-size: 12px;
font-weight: 900;
letter-spacing: 0.6px;
text-transform: uppercase;
}

.contact-detail strong,
.contact-detail a {
display: inline-block;
color: #172033;
font-size: 16px;
font-weight: 800;
line-height: 1.45;
overflow-wrap: anywhere;
}

.contact-detail a {
transition: color 0.25s ease;
}

.contact-detail a:hover {
color: var(--green);
}

.contact-detail-location {
background: transparent;
border-color: rgba(0, 63, 143, 0.08);
}

/* REDES SOCIALES */

.social-follow {
margin-top: 34px;
padding: 30px;
border-radius: 28px;
background:
radial-gradient(circle at top right, rgba(246, 195, 59, 0.18), transparent 35%),
radial-gradient(circle at bottom left, rgba(47, 148, 68, 0.12), transparent 34%),
linear-gradient(180deg, #ffffff 0%, #f8f8f4 100%);
border: 1px solid rgba(0, 63, 143, 0.08);
box-shadow: 0 18px 45px rgba(0, 63, 143, 0.08);
}

.social-follow-label {
display: inline-flex;
align-items: center;
color: var(--green);
font-size: 12px;
font-weight: 900;
letter-spacing: 0.8px;
text-transform: uppercase;
margin-bottom: 12px;
}

.social-follow h3 {
color: var(--blue);
font-size: clamp(25px, 3vw, 32px);
line-height: 1.15;
margin-bottom: 12px;
}

.social-follow p {
color: var(--gray);
font-size: 16px;
line-height: 1.65;
margin-bottom: 24px;
}

.social-buttons {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
}

.social-button {
min-height: 132px;
padding: 20px 18px;
border-radius: 22px;
display: inline-flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 13px;
color: var(--white);
text-align: center;
box-shadow: 0 14px 30px rgba(0, 63, 143, 0.14);
position: relative;
overflow: hidden;
transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
isolation: isolate;
}

.social-button::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 48%);
opacity: 0.9;
z-index: -1;
}

.social-icon {
width: 56px;
height: 56px;
display: grid;
place-items: center;
background: rgba(255, 255, 255, 0.2);
border-radius: 50%;
line-height: 1;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.social-button .brand-icon {
width: 28px;
height: 28px;
}

.social-button:hover {
transform: translateY(-3px);
box-shadow: 0 18px 42px rgba(0, 63, 143, 0.22);
filter: saturate(1.06);
}

.social-button-text {
display: grid;
gap: 4px;
}

.social-button-text strong {
font-size: 17px;
font-weight: 900;
line-height: 1.1;
}

.social-button-text small {
color: rgba(255, 255, 255, 0.82);
font-size: 12px;
font-weight: 800;
line-height: 1.25;
}

.facebook-button {
background: #1877f2;
}

.facebook-button .brand-icon {
width: 23px;
height: 31px;
}

.instagram-button {
background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.instagram-button .brand-icon {
width: 29px;
height: 29px;
}

.tiktok-button {
background: linear-gradient(135deg, #111111, #252525);
}

.tiktok-button .brand-icon {
width: 29px;
height: 29px;
}

.contact-form {
background: #f8f8f4;
padding: 34px;
border-radius: 28px;
box-shadow: var(--shadow-soft);
border: 1px solid rgba(0, 63, 143, 0.08);
}

.contact-form input,
.contact-form textarea {
width: 100%;
border: 1px solid #dddddd;
border-radius: 14px;
padding: 16px;
margin-bottom: 16px;
font-family: inherit;
font-size: 15px;
background: var(--white);
transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
outline: none;
border-color: rgba(47, 148, 68, 0.55);
box-shadow: 0 0 0 4px rgba(47, 148, 68, 0.12);
}

.contact-form textarea {
height: 140px;
resize: none;
}

.contact-form button {
width: 100%;
border: none;
background: var(--blue);
color: var(--white);
padding: 17px;
border-radius: 16px;
font-weight: 800;
cursor: pointer;
transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact-form button:hover {
background: #00377d;
transform: translateY(-2px);
}

/* FOOTER */

.footer {
position: relative;
overflow: hidden;
background:
radial-gradient(circle at 18% 0%, rgba(47, 148, 68, 0.28), transparent 34%),
linear-gradient(135deg, #002f6f 0%, var(--blue) 58%, #00275c 100%);
color: var(--white);
padding: 42px 0;
box-shadow: 0 -18px 48px rgba(0, 63, 143, 0.12);
isolation: isolate;
}

.footer::before {
content: "";
position: absolute;
left: 50%;
top: -76px;
width: min(920px, 92vw);
height: 118px;
background: linear-gradient(90deg, rgba(47, 148, 68, 0.96), rgba(246, 195, 59, 0.72));
border-radius: 0 0 999px 999px;
transform: translateX(-50%);
opacity: 0.92;
z-index: -1;
}

.footer::after {
content: "";
position: absolute;
inset: 0 0 auto;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
}

.footer-content {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
position: relative;
z-index: 1;
min-height: 92px;
}

.footer-brand {
display: flex;
align-items: center;
gap: 14px;
min-width: 0;
flex: 1 1 330px;
}

.footer-brand img {
width: 66px;
height: 66px;
object-fit: contain;
background: rgba(255, 255, 255, 0.94);
border-radius: 18px;
padding: 7px;
box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
flex: 0 0 auto;
}

.footer-brand span {
color: rgba(255, 255, 255, 0.72);
font-size: 12px;
font-weight: 900;
letter-spacing: 0.8px;
text-transform: uppercase;
}

.footer-brand p {
font-size: clamp(16px, 1.7vw, 20px);
font-weight: 800;
line-height: 1.35;
}

.footer-strip {
display: flex;
align-items: center;
justify-content: center;
gap: 0;
flex: 1.6 1 520px;
min-width: 0;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 999px;
padding: 12px 16px;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.footer-strip a,
.footer-strip span {
color: rgba(255, 255, 255, 0.9);
font-size: 13px;
font-weight: 800;
line-height: 1.35;
padding: 0 14px;
overflow-wrap: anywhere;
text-align: center;
white-space: nowrap;
}

.footer-strip a + a,
.footer-strip span {
border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-strip a {
transition: color 0.25s ease;
}

.footer-strip a:hover {
color: var(--yellow);
}

.footer-socials {
display: flex;
gap: 10px;
flex-wrap: wrap;
justify-content: flex-end;
flex: 0 0 auto;
}

.footer-socials a {
width: 44px;
height: 44px;
border-radius: 50%;
display: grid;
place-items: center;
color: var(--white);
background: rgba(255, 255, 255, 0.14);
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.footer-socials a:hover {
transform: translateY(-2px);
background: var(--yellow);
color: #092448;
}

.footer-socials .brand-icon {
width: 20px;
height: 20px;
}

/* MENSAJE PARA ENLACES EXTERNOS */

.external-link-modal {
position: fixed;
inset: 0;
z-index: 3000;
display: grid;
place-items: center;
padding: 22px;
opacity: 0;
pointer-events: none;
transition: opacity 0.22s ease;
}

.external-link-modal.is-visible {
opacity: 1;
pointer-events: auto;
}

.external-link-backdrop {
position: absolute;
inset: 0;
background: rgba(9, 24, 42, 0.42);
backdrop-filter: blur(6px);
}

.external-link-card {
position: relative;
z-index: 1;
width: min(470px, 100%);
background:
radial-gradient(circle at top right, rgba(246, 195, 59, 0.18), transparent 34%),
linear-gradient(180deg, #ffffff 0%, #f8f8f4 100%);
border: 1px solid rgba(0, 63, 143, 0.1);
border-radius: 26px;
padding: 32px;
box-shadow: 0 28px 80px rgba(0, 31, 70, 0.28);
transform: translateY(12px) scale(0.98);
transition: transform 0.22s ease;
}

.external-link-modal.is-visible .external-link-card {
transform: translateY(0) scale(1);
}

.external-link-close {
position: absolute;
top: 14px;
right: 14px;
width: 36px;
height: 36px;
border: 0;
border-radius: 50%;
background: rgba(0, 63, 143, 0.08);
color: var(--blue);
font-size: 24px;
line-height: 1;
cursor: pointer;
}

.external-link-kicker {
display: inline-flex;
color: var(--green);
font-size: 12px;
font-weight: 900;
letter-spacing: 0.8px;
text-transform: uppercase;
margin-bottom: 12px;
}

.external-link-card h2 {
color: var(--blue);
font-size: clamp(25px, 4vw, 34px);
line-height: 1.12;
margin-bottom: 12px;
max-width: 380px;
}

.external-link-card p {
color: var(--gray);
font-size: 16px;
line-height: 1.65;
margin-bottom: 24px;
}

.external-link-actions {
display: flex;
gap: 12px;
justify-content: flex-end;
}

.external-link-primary,
.external-link-secondary {
border: 0;
min-height: 46px;
padding: 0 18px;
border-radius: 999px;
font-weight: 900;
cursor: pointer;
transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.external-link-primary {
background: var(--blue);
color: var(--white);
box-shadow: 0 14px 30px rgba(0, 63, 143, 0.2);
}

.external-link-secondary {
background: rgba(0, 63, 143, 0.08);
color: var(--blue);
}

.external-link-primary:hover,
.external-link-secondary:hover {
transform: translateY(-2px);
}

/* ANIMACIONES SUAVES */

.reveal-on-scroll {
opacity: 0;
transform: translateY(24px);
transition:
opacity 0.65s ease,
transform 0.65s ease;
transition-delay: var(--reveal-delay, 0ms);
will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
opacity: 1;
transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}

*,
*::before,
*::after {
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
}

.reveal-on-scroll {
opacity: 1;
transform: none;
}
}

/* RESPONSIVE */

@media (max-width: 1020px) {
.nav {
gap: 20px;
font-size: 14px;
}

.btn-donar {
padding: 15px 22px;
}
}

@media (max-width: 950px) {
:root {
--header-height: 84px;
}

.header {
height: var(--header-height);
overflow: visible;
}

.menu-toggle {
display: flex;
align-items: center;
justify-content: center;
}

.logo img {
width: 118px;
max-height: 74px;
}

.nav {
position: fixed;
top: var(--header-height);
left: 0;
width: 100%;
background: var(--white);
flex-direction: column;
align-items: flex-start;
gap: 0;
padding: 20px 8%;
display: none;
box-shadow: 0 24px 40px rgba(0, 0, 0, 0.12);
z-index: 1001;
border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.nav.show {
display: flex;
}

.nav a {
width: 100%;
padding: 16px 0;
font-size: 17px;
}

.nav a::after {
bottom: 8px;
}

.btn-donar {
display: none;
}

.hero-container,
.timeline-card,
.recent-event-card,
.featured-news,
.contact-box,
.projects-grid {
grid-template-columns: 1fr;
}

.hero {
min-height: auto;
}

.hero-container {
width: min(1180px, 92%);
min-height: auto;
gap: 26px;
padding-bottom: 46px;
}

.hero-content {
padding: 56px 0 12px;
max-width: 760px;
}

.hero-content h1 {
font-size: clamp(46px, 9vw, 72px);
line-height: 1.03;
}

.hero-carousel {
min-height: 430px;
height: auto;
border-radius: 30px;
}

.hero-carousel::before {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
}

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

.policies-grid {
grid-template-columns: 1fr;
}

.timeline-gallery::before {
left: 28px;
}

.timeline-item {
grid-template-columns: 68px 1fr;
gap: 16px;
}

.timeline-marker {
width: 60px;
height: 60px;
}

.timeline-card {
padding: 30px;
}

.event-carousel {
height: 360px;
}

.recent-event-card {
padding: 34px;
}

.recent-event-media {
width: min(100%, 340px);
}

.featured-news {
padding: 34px;
}

.news-carousel {
min-height: auto;
width: min(100%, 390px);
}

.news-carousel-track {
aspect-ratio: 4 / 5;
height: auto;
min-height: 0;
}

.footer-content {
flex-wrap: wrap;
align-items: center;
}

.footer-strip {
order: 3;
flex-basis: 100%;
max-width: 760px;
margin: 0 auto;
}
}

@media (max-width: 560px) {
:root {
--header-height: 78px;
}

.nav-container {
width: min(1180px, 88%);
}

.logo img {
width: 106px;
max-height: 68px;
}

.menu-toggle {
font-size: 34px;
padding: 10px;
margin-right: -6px;
}

.floating-contact {
right: 12px;
top: auto;
bottom: 18px;
transform: none;
flex-direction: row;
gap: 10px;
z-index: 850;
}

.floating-contact-btn {
width: 48px;
min-height: 48px;
font-size: 20px;
}

.floating-contact-btn:hover {
width: 48px;
transform: translateY(-3px);
}

.floating-contact-btn span {
display: none !important;
}

.hero-content h1 {
letter-spacing: -1px;
font-size: clamp(40px, 11vw, 56px);
line-height: 1.06;
}

.hero-content p {
font-size: 17px;
line-height: 1.55;
}

.hero-buttons {
flex-direction: column;
gap: 14px;
}

.btn-primary,
.btn-secondary {
width: 100%;
}

.hero-carousel {
min-height: 340px;
border-radius: 24px;
}

.hero-carousel::before {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

.hero-shape {
left: -110px;
top: 12px;
width: 190px;
height: 190px;
opacity: 0.58;
}

.carousel-btn {
width: 38px;
height: 38px;
font-size: 28px;
}

.carousel-btn.prev {
left: 14px;
}

.carousel-btn.next {
right: 14px;
}

.carousel-dots {
right: 22px;
bottom: 20px;
}

.about-grid {
grid-template-columns: 1fr;
}

.projects,
.gallery,
.recent-event,
.news,
.contact,
.donation-section,
.about,
.policies {
padding: 60px 0;
}

.recent-event {
padding: 60px 0 24px;
}

.news {
padding: 34px 0 60px;
}

.policy-card {
padding: 28px 22px;
border-radius: 24px;
}

.policy-top {
flex-direction: column;
align-items: flex-start;
gap: 12px;
}

.policy-card h3 {
font-size: 22px;
}

.policy-card p {
font-size: 15px;
line-height: 1.65;
}

.policy-button {
width: 100%;
}

.project-content {
padding: 26px 24px;
}

.project-content h3 {
font-size: 23px;
}

.project-whatsapp-button {
min-height: 50px;
}

.social-follow {
padding: 24px 22px;
margin-top: 28px;
}

.social-follow h3 {
font-size: 22px;
}

.social-buttons {
grid-template-columns: 1fr;
}

.social-button {
width: 100%;
min-height: 108px;
flex-direction: row;
justify-content: flex-start;
text-align: left;
padding: 18px;
}

.social-icon {
width: 50px;
height: 50px;
}

.social-button .brand-icon {
width: 25px;
height: 25px;
}

.facebook-button .brand-icon {
width: 20px;
height: 28px;
}

.contact-details {
grid-template-columns: 1fr;
}

.contact-detail {
grid-template-columns: 1fr;
gap: 5px;
padding: 15px 0;
}

.footer {
padding: 58px 0 30px;
}

.footer-brand {
align-items: center;
flex: 1 1 100%;
}

.footer-brand img {
width: 72px;
height: 72px;
border-radius: 18px;
}

.footer-strip {
flex-basis: 100%;
border-radius: 24px;
padding: 10px 12px;
flex-wrap: wrap;
justify-content: flex-start;
gap: 8px 0;
}

.footer-strip a,
.footer-strip span {
width: 100%;
text-align: left;
padding: 0;
white-space: normal;
}

.footer-strip a + a,
.footer-strip span {
border-left: 0;
}

.footer-socials {
justify-content: flex-start;
flex-basis: 100%;
}

.external-link-modal {
padding: 16px;
align-items: end;
}

.external-link-card {
padding: 28px 22px 22px;
border-radius: 24px;
}

.external-link-actions {
display: grid;
grid-template-columns: 1fr;
}

.timeline-gallery::before {
display: none;
}

.timeline-item {
grid-template-columns: 1fr;
}

.timeline-marker {
width: 54px;
height: 54px;
}

.timeline-card {
padding: 24px;
border-radius: 26px;
}

.timeline-card h3 {
font-size: 27px;
}

.gallery-event-date {
font-size: 12px;
}

.gallery-event-text {
font-size: 15px;
}

.event-carousel {
height: 300px;
border-radius: 22px;
}

.event-carousel-btn {
width: 36px;
height: 36px;
font-size: 26px;
}

.event-prev {
left: 12px;
}

.event-next {
right: 12px;
}

.recent-event-card {
padding: 28px 24px;
border-radius: 26px;
gap: 28px;
}

.recent-event-card h3 {
letter-spacing: -0.6px;
}

.recent-event-card p {
font-size: 16px;
}

.recent-event-media {
width: min(100%, 310px);
padding: 10px;
border-radius: 24px;
}

.recent-event-video-shell {
border-radius: 18px;
}

.featured-news {
padding: 28px 24px;
border-radius: 26px;
}

.featured-news h3 {
letter-spacing: -0.6px;
}

.featured-news p {
font-size: 16px;
}

.news-button {
width: 100%;
text-align: center;
}

.news-carousel {
min-height: auto;
width: min(100%, 330px);
padding: 10px;
padding-bottom: 58px;
border-radius: 24px;
}

.news-carousel::before,
.news-carousel::after {
inset: 10px 10px 58px;
border-radius: 18px;
}

.news-carousel-track {
aspect-ratio: 4 / 5;
height: auto;
min-height: 0;
border-radius: 18px;
}

.news-carousel-btn {
width: 38px;
height: 38px;
font-size: 27px;
bottom: 14px;
}

.news-carousel-prev {
left: 18px;
}

.news-carousel-next {
right: 18px;
}

.news-carousel-dots {
bottom: 22px;
padding: 7px 9px;
}

.news-carousel-dot {
width: 9px;
height: 9px;
}

.news-carousel-dot.active {
width: 24px;
}

.donation-card {
flex-direction: column;
text-align: center;
}

.donation-box h2,
.contact-info h2 {
font-size: 34px;
}

.footer {
padding: 48px 0 32px;
}

.footer::before {
top: -64px;
height: 96px;
width: 96vw;
}
}
