/* ==================================================
   RESET + VARIABLES
================================================== */
:root {
  --primary:#0b2a35;
  --accent:#ffcc33;
  --bg:#f4f4f4;
  --radius:14px;
  --shadow:0 4px 18px rgba(0,0,0,.1);
  --transition:.25s ease;
}

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

html,body {
  width:100%;
}

body{
margin:0;
font-family:Inter, system-ui, sans-serif;
background:#fafafa;
color:#222;
line-height:1.6;
}

h2{
font-size:32px;
margin-bottom:10px;
}

p{margin:0}


/* =====================
PROYECTOS
===================== */
.padded-section{
padding:80px 40px;
background:#fff;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* ==================================================
NAVEGACIÓN Y BOTONES
================================================== */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;

  background: #ffffff;
  color: #0b2a35;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 2000;
}

.main-header,
.side-menu,
.btn,
.donar-btn {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  order: 3;
}

.side-menu ul li a {
  color: #ffffff;
  font-size: 1.05rem;
  display: block;
  padding: 0.75rem 0;
  opacity: 0.9;
}

.side-menu ul li a:hover {
  opacity: 1;
  color: var(--accent);
}

.menu-btn {
  position: relative; /* O elimínala por completo */
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}


.menu-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* ==================================================
TÍTULOS
================================================== */
h1, h2, h3, h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ==================================================
   HEADER + MENU
================================================== */
   .header-inner {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0.6rem 1rem;
   
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 1rem;
   }
   
   .main-header {
     position: sticky;
     top: 0;
     width: 100%;
     height: 72px;
     background: #0b2a35;
     z-index: 1000;
     color: #ffffff;
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 0 24px;
   }

.left-zone {
  display: flex;
  align-items: center;
  gap: 14px;
}

.side-menu {
   z-index: 1000;
   }

.menu-overlay {
  z-index: 1100;
}

.main-header {
  z-index: 1000;
}

.menu-btn {
  background:none;
  border:none;
  font-size:1.6rem;
  color:#ffffff;
  cursor:pointer;
  order: 1;
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 2rem;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 999;
}

.close-btn:hover {
  color: var(--accent);
}

.side-menu {
  position:fixed;
  top:0;
  left:-260px;
  width:260px;
  height:100vh;
  padding:25px;
  background:rgba(10,45,50,.85);
  backdrop-filter:blur(14px);
  transition:var(--transition);
}

.side-menu.active { left:0; }

.menu-overlay {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  opacity:0;
  visibility:hidden;
  transition:var(--transition);
  z-index:997;
}

.menu-overlay.active {
  opacity:1;
  visibility:visible;
}

.donar-btn {
  color: #0b2a35;
  background-color: #ffffff;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  order: 2;
}

.header-logo img {
  width: auto;
  height: 38px;
  object-fit: contain;
  max-height: 32px;
}

.header-logo span {
  font-weight: 800;
  font-size: 1rem;
  white-space: nowrap;  
  color: white;
  font-size: 1.55rem;
  letter-spacing: 0.4px;
}

.menu-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 2.5rem 1rem 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 2rem;
  justify-content: center;
  position: relative;
}

.menu-header img {
  width: 52px;
  height: auto;
  object-fit: contain;
}

.menu-header span {
   display: none;
}
  

/* ==================================================
   HERO
================================================== */
.hero {
  min-height:calc(100vh - 70px);
  padding:120px 0 80px;
}

.hero-grid {
  display:grid;
  gap:24px;
  grid-template-columns:1fr 1fr;
  gap:3rem; 
  align-items:center;
}

.hero-left {
  flex:1;
  padding:40px;
  border-radius:var(--radius);
  color:#fff;
  background:linear-gradient(135deg,#0a3b41,#0a4b53,#f4c431);
}

.hero-left .kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.hero-left h2 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 1rem 0;
}

.hero-left .lead {
  font-size: 1.05rem;
  max-width: 520px;
}

.hero-right { flex:1; }

.hero-card {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.hero-photo {
  width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center;
}

.btn {
  padding:14px 32px;
  font-weight:800;
  border-radius:999px;
  cursor:pointer;
}

/* ==================================================
   ABOUT
================================================== */
section[data-section="about"] {
  padding:120px 20px;
  background:linear-gradient(180deg,#fff,#f3f7ff);
}

section[data-section="about"] .card-container {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
  max-width:1100px;
  margin:auto;
}

@media(max-width:900px){
  section[data-section="about"] .card-container {
    grid-template-columns:1fr;
  }
}

.institutional-card {
  max-width: 600px;
  margin: 50px auto 0;
  background: #ffffff;
  padding: 30px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  grid-column: 1 / -1;
}

=================
   VOLUNTARIADO — FINAL
================================================== */
.vol-section {
  padding:120px 20px;
  background:#fff;
}

.vol-container {
  max-width:1100px;
  margin:auto;
  text-align:center;
}

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

.vol-card {
  background:#fff;
  border-radius:20px;
  padding:36px 28px;
  box-shadow:var(--shadow);
  text-align:left;
}

.vol-highlight {
  background:linear-gradient(135deg,#ffb347,#ffcc33);
}

.vol-btn {
  display:inline-flex;
  margin-top:24px;
  padding:16px 40px;
  border-radius:999px;
  background:var(--primary);
  color:#fff;
  font-weight:800;
}

@media(max-width:900px){
  .vol-grid { grid-template-columns:1fr; }
}

/* ==================================================
   DONACIONES — FINAL
================================================== */
.don-section {
  padding:120px 20px;
  background:linear-gradient(180deg,#fffaf0,#fff3d4);
}



.don-container {
  max-width:1100px;
  margin:auto;
  text-align:center;
}

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

.don-card {
  background:#fff;
  border-radius:24px;
  padding:40px 28px;
  box-shadow:var(--shadow);
}

.don-highlight {
  background:linear-gradient(135deg,#ffb347,#ffcc33);
}

.don-btn {
  display:inline-flex;
  padding:14px 36px;
  border-radius:999px;
  background:#ff7a23;
  color:#fff;
  font-weight:800;
}

@media(max-width:900px){
  .don-grid { grid-template-columns:1fr; }
}

/* ==================================================
   FIX ANCHORS
================================================== */
section[id],
section[data-section] {
  scroll-margin-top:90px;
margin-bottom:120px;
}

.vol-cta {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

/* ===============================
   TIPOGRAFÍA Y ESPACIADO GENERAL
================================ */
.section-title,
.vol-title,
.don-title {
  font-size: 2.4rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.section-subtitle,
.vol-subtitle,
.don-subtitle {
  max-width: 680px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
  opacity: .85;
}

/* ===============================
   HERO FIX
================================ */
.wrap {
  width: min(1200px, 92%);
  margin: auto;
}

.hero-copy h2 {
  font-size: 2.6rem;
  margin: 16px 0;
}

.hero-copy p {
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-ayudar {
  background: var(--accent);
  color: #000;
  padding: 14px 36px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.btn.outline {
  border: 2px solid #fff;
  padding: 14px 36px;
  border-radius: 999px;
  color: #fff;
}

/* ==================================================
   PROYECTOS — CARRUSEL FUNCIONAL
================================================== */

.projects-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 48px;
}

.projects-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}


.projects-carousel::-webkit-scrollbar {
  display: none;
}

.projects-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
  will-change: transform;
  width: max-content;
  padding: 12px 4px;
}

.projects-carousel::-webkit-scrollbar{
display:none;
}

/* ===== TARJETAS ===== */

.project-card {
  flex: 0 0 320px;
  width: 320px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transiton: transform 0.3s ease, box-shadow 0.3 ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 38px rgba(0,0,0,0.12);
}   

.project-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project-content {
  padding: 20px;
}

.project-content h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #0b2a35;
}

.project-content p { 
color:#555;
font-size:15px;
margin: 0;
}

/* ===============================
   FLECHAS – SIN CONTORNO
================================ */

.projects-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.25s ease, transform 0.25s ease;
  opacity: 0.35;
}

.projects-wrapper:hover .projects-arrow {
  opacity: 0.85;
}

.projects-arrow:hover {
  background: rgba(255,255,255,0.95);
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

#projectsPrev { left: -22px; }
#projectsNext { right: -22px; }

/* SVG limpio, sin borde visual */
.projects-arrow svg {
  width: 20px;
  height: 20px;
  stroke: #0b2a35;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* SVG embebido con mask → 100% centrado */
.projects-arrow::before {
  content: "";
  width: 18px;
  height: 18px;
  background: #fff;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

/* Flecha izquierda */
.projects-arrow.prev::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
}

/* Flecha derecha */
.projects-arrow.next::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z'/%3E%3C/svg%3E");
}

/* =====================
RESPONSIVE
===================== */
@media (max-width:768px){
.projects-arrow{display:none}
}

/* ===============================
   VOLUNTARIADO FIX
================================ */
.vol-card h3 {
  margin-bottom: 12px;
}

.vol-card p {
  margin-bottom: 16px;
}

.vol-card ul {
  padding-left: 18px;
}

.vol-card ul li {
  margin-bottom: 8px;
}

/* ================================
TRANSPARENCIA
=================================== */

.transparency-section {
  background: #f9fafb;
  padding: 80px 20px;
}

.section-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1f2933;
  margin-bottom: 12px;
  text-align:center;
  font-weight:800;
}

.section-subtitle {
text-align:center;
max-width:640px;
margin:10px auto 50px;
color:#555;
}

.legal-info {
  max-width: 800px;
  margin: 8px 0;
  background: #ffffff;
  padding: 25px 30px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

.legal-info p {
  margin: 6px 0;
}

.nit {
  letter-spacing: 1px;
}

/* GRID DE DOCUMENTOS */

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.document-card {
  background: #ffffff;
  padding: 30px 26px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.document-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.document-card h3 {
  font-size: 1.2rem;
  margin: 10px 0;
  color: #111827;
}

.document-card p {
  font-size: 0.95rem;
  color: #4b5563;
  flex-grow: 1;
}

.doc-icon {
  font-size: 2rem;
}

/* BOTONES */

.doc-btn {
  margin-top: 20px;
  display: inline-block;
  text-align: center;
  padding: 12px 22px;
  border-radius: 10px;
  background-color: #0f3d46;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.doc-btn:hover {
  background-color: #13606c;
  transform: translateY(-2px);
}

.doc-btn.primary {
  background: #16a34a;
  color: #ffffff;
}

.doc-btn.primary:hover {
  background: #15803d;
}

.document-card.highlight {
  border: 2px solid rgba(22, 163, 74, 0.25);
}

/* NOTA FINAL */

.transparency-note {
  max-width: 900px;
  margin: 60px auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: #6b7280;
}


/* ===============================
   DONACIONES FIX
================================ */
.don-card h3 {
  margin-bottom: 12px;
}

.don-card p {
  margin-bottom: 24px;
}

.don-btn {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    height: 300px;
  }
}
/* ================================
FOOTER
=================================== */
footer {
  background-color: #0b2a35;
  color: #ffffff;
  padding: 4rem 1.5rem 2rem;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
}

footer a:hover {
  opacity: 1;
}

footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

footer .footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
  opacity: 0.8;
}

.site-footer {
  background: #0b2a35;
  color: white;
  padding: 50px 20px 20px;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 25px;
}

.site-footer h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.site-footer p {
  opacity: 0.85;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  opacity: 0.7;
  font-size: 0.9rem;
  margin-top: 20px;
  margin-bottom: 12px;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  } 
}

section[data-section] {
  margin-bottom: 120px;
}

.section-title,
.section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

