/* ==================================================
   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 {
  font-family:"Montserrat",sans-serif;
  background:var(--bg);
  color:#333;
  font-weight:400;
  line-height:1.6;
  padding-top: 0;
}

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;
}

/* ==================================================
   PROYECTOS
================================================== */
.projects-grid {
  display:flex;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
  max-width:1100px;
  margin:auto;
  overflow-x:auto;
  overflow-y:hidden;
  padding-bottom:20px;
  scroll-snap-type:x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  padding: 1rem 0;
  scrollbar-width: none;
}

.projects-grid.dragging {
  cursor: grabbing;
  user-select: none;
}

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

.projects-grid::-webkit-scrollbar {
  height: 8px;
  display: none;
}
.projects-grid::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.projects-grid:active {
   cursor: grabbing;
}
/* ==================================================
   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
================================ */
.project-card {
  background: #f2f2f2;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  min-width:300px;
  max-width: 300px;
  scroll-snap-align:start;
  flex:0 0 300px;
  pointer-events: none;
  height: 420px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.project-card img {
  width: 100%;
  height: 55%;
  object-fit: cover;
  object-position: var(--focus, center);
}

.project-content {
  padding: 1rem;
}

.project-content h3 {
  margin-bottom: 12px;
}
.projects-wrapper {
  position: relative;
  width: 100%;
  margin-top: 2rem;
}

.projects-section {
  position: relative;
  max-width: 1100px;
  margin: auto;
  padding: 4rem 0;
}

.projects-arrow {
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #0b2a35;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: system-ui, sans-serif;
}

.projects-arrow.left {
  left: -24px;
}

.projects-arrow.right {
  right: -24px;
}

#projectsPrev { left: 0; }
#projectsNext { right: 0; }

.projects-arrow::before {
  content: "›";
  font-size: 26px;
  line-height: 1;
  display: block;
  transform: translateY(-1px);
}

.projects-arrow:hover {
  background: #13606c;
}

@media (max-width: 768px) {
  .arrow {
    display: none; /* en móvil se usa el dedo */
  }
}

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

  .project-card {
    flex: 0 0 85%;
    max-width: 85%;
  }
}

/* ===============================
   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;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
}

.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;
}

