/* ── IMPORTACIÓN DE TIPOGRAFÍA ── */
@import url('../assets/fonts/fonts.css');

/* ── VARIABLES ── */
:root {
  --verde-deep: #0d3d2b;
  --verde-mid: #1a6642;
  --verde-bright: #2e9e5e;
  --verde-soft: #5bbf8a;
  --verde-pale: #d0f0e0;
  --verde-mist: #f0faf5;
  --oro: #c8a84b;
  --oro-light: #f0d980;
  --blanco: #fafdf8;
  --gris-texto: #2a3428;
  --gris-suave: #6b7a68;
  --sombra: rgba(13,61,43,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--blanco);
  color: var(--gris-texto);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,61,43,0.97);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.nav-brand {
  color: var(--oro-light);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--verde-soft); }
.btn-inscribir {
  background: var(--oro);
  color: var(--verde-deep) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background .2s, transform .15s !important;
}
.btn-inscribir:hover { background: var(--oro-light) !important; transform: translateY(-1px); }

/* ── HERO ── */
#inicio {
  min-height: 100vh;
  background:url('../assets/realistic-water-drop-with-ecosystem.jpg') center center / cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 40px 60px;
  position: relative;
  overflow: hidden;
}
#inicio::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
  160deg,
  rgba(10, 40, 20, 0.72) 0%,
  rgba(15, 60, 30, 0.65) 50%,
  rgba(10, 40, 20, 0.72) 100%);
  pointer-events: none;
}
#inicio::after {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 2px solid rgba(91,191,138,0.18);
  pointer-events: none;
}
.hero-inner {
  max-width: 900px; text-align: center; position: relative; z-index: 1;
  animation: fadeUp .9s ease both;
}
.hero-badge {
  display: inline-block;
  background: rgba(91,191,138,0.35);
  border: 1px solid rgba(255,255,255,0.5);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
  font-weight: 900;
}
.hero-title span { color: var(--oro-light); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
  font-weight: 300;
}
.hero-lema {
  font-style: italic;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  font-size: 1rem;
  margin-bottom: 48px;
}
.pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
  margin-bottom: 44px;
}
.pill {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 14px 24px;
  color: #fff;
  min-width: 140px;
}
.pill-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--verde-soft);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.pill-val {
  font-size: 1rem;
  font-weight: 600;
}
.hero-cta {
  display: inline-block;
  background: var(--oro);
  color: var(--verde-deep);
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(200,168,75,0.35);
}
.hero-cta:hover { background: var(--oro-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,168,75,0.45); }

/* ── SECTIONS ── */
section { padding: 60px 0px; }
.section-inner { max-width: 1060px; margin: 0 auto; }
.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--verde-bright);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--verde-deep);
  margin-bottom: 20px;
  line-height: 1.15;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--gris-suave);
  max-width: 660px;
  margin-bottom: 50px;
  font-weight: 300;
  line-height: 1.7;
}

/* ── SOBRE EL CONGRESO ── */
#sobre { background: var(--blanco); }
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}
.card {
  background: var(--verde-mist);
  border: 1px solid var(--verde-pale);
  border-radius: 16px;
  padding: 32px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px var(--sombra); }
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--verde-deep);
  margin-bottom: 10px;
}
.card p { font-size: 0.93rem; color: var(--gris-suave); line-height: 1.65; }

.metodologia {
  background: var(--verde-deep);
  border-radius: 20px;
  padding: 48px;
  color: #fff;
  margin-bottom: 40px;
}
.metodologia h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--oro-light);
  margin-bottom: 28px;
}
.steps {
  display: flex; gap: 0; flex-wrap: wrap;
  counter-reset: step;
}
.step {
  flex: 1; min-width: 180px;
  position: relative;
  padding: 0 20px 0 0;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 2.2rem;
  font-family: 'Playfair Display', serif;
  color: var(--verde-soft);
  opacity: .5;
  line-height: 1;
  margin-bottom: 6px;
}
.step p { font-size: 0.88rem; color: rgba(255,255,255,0.8); }

.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.proyecto-card {
  background: linear-gradient(135deg, var(--verde-pale) 0%, #e8f7ef 100%);
  border: 1px solid rgba(91,191,138,0.3);
  border-radius: 12px;
  padding: 24px;
}
.ods-badge {
  display: inline-block;
  background: var(--verde-bright);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.proyecto-card h4 { font-size: 0.9rem; color: var(--verde-deep); font-weight: 600; }

.aporta-lista {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}
.aporta-item {
  display: flex; gap: 12px; align-items: flex-start;
}
.aporta-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--verde-bright);
  margin-top: 7px; flex-shrink: 0;
}
.aporta-item p { font-size: 0.9rem; color: var(--gris-suave); }

/* ── PARTICIPAR ── */
#participar { background: var(--verde-mist); }
.participar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.table-card {
  background: #fff;
  border: 1px solid var(--verde-pale);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px var(--sombra);
}
.table-card-header {
  background: var(--verde-deep);
  color: #fff;
  padding: 18px 24px;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
}
table { width: 100%; border-collapse: collapse; }
table th {
  background: rgba(46,158,94,0.1);
  color: var(--verde-deep);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 20px;
  text-align: left;
}
table td {
  padding: 12px 20px;
  font-size: 0.88rem;
  color: var(--gris-texto);
  border-top: 1px solid #edf5f0;
  vertical-align: top;
}
table tr:hover td { background: var(--verde-mist); }

.criterios {
  background: #fff;
  border: 1px solid var(--verde-pale);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 16px var(--sombra);
}
.criterios h3 {
  font-family: 'Playfair Display', serif;
  color: var(--verde-deep);
  margin-bottom: 20px;
  font-size: 1.15rem;
}
.criterio-item {
  display: flex; gap: 14px; align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #edf5f0;
}
.criterio-item:last-child { border-bottom: none; }
.criterio-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--verde-pale);
  color: var(--verde-mid);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.criterio-item p { font-size: 0.9rem; color: var(--gris-suave); }

/* ── PROGRAMA ── */
#programa { background: var(--blanco); }
.programa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 16px; top: 4px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--verde-bright), var(--verde-pale));
}
.tl-item {
  display: flex; gap: 24px;
  margin-bottom: 28px;
  position: relative;
}
.tl-dot {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--verde-bright);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  line-height: 1.1;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--verde-pale);
}
.tl-content { padding-top: 4px; }
.tl-period {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--verde-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tl-content p { font-size: 0.88rem; color: var(--gris-suave); margin-top: 2px; }

.tl-btn {
  display: inline-block; white-space: nowrap; padding: 7px 18px;
  background: var(--verde-soft); color: #fff; border: none;
  border-radius: 20px; font-size: .8rem; font-weight: 600;
  text-decoration: none; cursor: pointer; font-family: inherit;
  flex-shrink: 0; transition: background .2s;
}
.tl-btn:hover { background: var(--verde-deep); }
.tl-btn-disabled { background: #c8d8cc !important; color: #7a9a82 !important; cursor: not-allowed !important; }
.tl-btn-disabled:hover { background: #c8d8cc !important; }


.jornada-table { width: 100%; }
.hora-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #edf5f0;
}
.hora-row:last-child { border-bottom: none; }
.hora-tag {
  background: var(--verde-deep);
  color: var(--verde-soft);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  min-width: 70px;
  text-align: center;
  margin-top: 2px;
}
.hora-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--verde-deep);
  margin-bottom: 2px;
}
.hora-info span { font-size: 0.82rem; color: var(--gris-suave); }

/* ── LUGAR ── */
#lugar { background: var(--verde-mist); }
.lugar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.map-placeholder {
  background: linear-gradient(135deg, var(--verde-deep) 0%, var(--verde-mid) 100%);
  border-radius: 20px;
  height: 340px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: #fff;
  text-align: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.map-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.03) 20px,
    rgba(255,255,255,0.03) 40px
  );
}
.map-pin { font-size: 3rem; margin-bottom: 16px; }
.map-placeholder h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--oro-light);
}
.map-placeholder p { font-size: 0.9rem; opacity: .8; }
.map-link {
  display: inline-block;
  margin-top: 20px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background .2s;
}
.map-link:hover { background: rgba(255,255,255,0.25); }

.como-llegar h3 {
  font-family: 'Playfair Display', serif;
  color: var(--verde-deep);
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.transporte-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--verde-pale);
}
.transporte-item:last-child { border-bottom: none; }
.transporte-icon {
  font-size: 1.4rem; flex-shrink: 0; margin-top: 1px;
}
.transporte-item div strong { font-size: 0.88rem; color: var(--verde-deep); }
.transporte-item div p { font-size: 0.83rem; color: var(--gris-suave); }

.instalaciones {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--verde-pale);
  border-radius: 14px;
  padding: 24px;
}
.instalaciones h3 {
  font-family: 'Playfair Display', serif;
  color: var(--verde-deep);
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.inst-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.inst-chip {
  background: var(--verde-mist);
  border: 1px solid var(--verde-pale);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--verde-mid);
  font-weight: 500;
}

/* ── FAQ ── */
#faq { background: var(--blanco); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.faq-item {
  background: var(--verde-mist);
  border: 1px solid var(--verde-pale);
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
  transition: box-shadow .2s, transform .15s;
  overflow: hidden;
}
.faq-item:hover { box-shadow: 0 6px 20px var(--sombra); }
.faq-item.open { border-color: var(--verde-soft); }
.faq-q {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--verde-deep);
  margin: 0;
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  user-select: none;
}
.faq-q::after {
  content: '▾';
  color: var(--verde-bright);
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.faq-item.open .faq-q::after {
  transform: rotate(180deg);
}
.faq-a {
  font-size: 0.86rem;
  color: var(--gris-suave);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ── CONTACTO ── */
/* ── SELECTOR ODS PERSONALIZADO ── */
.ods-selector { 
  position: relative; 
}
.ods-display {
  display: flex;
  align-items: center; 
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer; 
  background: rgba(255,255,255,0.08);
  transition: border-color .2s;
  font-size: .9rem; 
  color: #fff; 
  user-select: none;
}
.ods-display:hover { 
  border-color: 
  var(--verde-soft, #52b788); 
}
.ods-display.active { 
  border-color: 
  var(--verde-soft, #52b788); 
  border-radius: 10px 10px 0 0; }
.ods-arrow { 
  font-size: .75rem; 
  color: #aaa; 
  transition: transform .2s; 
}
.ods-display.active .ods-arrow { 
  transform: rotate(180deg); 
}
.ods-tags { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 5px; 
}
.ods-tag {
  background: #d8f3dc; 
  color: #1b4332; 
  border-radius: 20px;
  padding: 2px 10px; 
  font-size: .78rem; 
  font-weight: 600;
  display: flex; 
  align-items: center; 
  gap: 5px;
}
.ods-tag-x { 
  cursor: pointer; 
  font-weight: 700; 
  opacity: .6; 
}
.ods-tag-x:hover { 
  opacity: 1; 
}
.ods-dropdown {
  display: none; 
  position: absolute; 
  top: 100%; 
  left: 0; 
  right: 0;
  background: #fff; 
  border: 1.5px solid 
  ar(--verde-soft, #52b788);
  border-top: none; 
  border-radius: 0 0 10px 10px;
  max-height: 260px; 
  overflow-y: auto; 
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.ods-dropdown.open { 
  display: block; 
}
.ods-option {
  padding: 9px 14px; 
  cursor: pointer; 
  font-size: .87rem; 
  color: #333;
  display: flex; 
  align-items: center; 
  gap: 10px; 
  transition: background .15s;
}
.ods-option:hover { 
  background: #f0faf3; 
}
.ods-option.selected { 
  background: #d8f3dc; 
  color: #1b4332; 
  font-weight: 600; 
}
.ods-option.disabled { 
  opacity: .4; 
  cursor: not-allowed; 
}
.ods-num {
  background: #1b4332; 
  color: #fff; 
  border-radius: 50%;
  width: 22px; 
  height: 22px; 
  display: flex; 
  align-items: center;
  justify-content: center; 
  font-size: .72rem; 
  font-weight: 700; 
  flex-shrink: 0;
}
.ods-option.selected .ods-num { b
  ackground: #2d6a4f; }

#contacto {
  background: linear-gradient(160deg, var(--verde-deep) 0%, #1a5538 100%);
  color: #fff;
}
#contacto .section-title { color: var(--oro-light); }
#contacto .section-lead { color: rgba(255,255,255,0.7); }
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--verde-soft);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 6px;
}
.form-group label .req { color: var(--oro); margin-left: 3px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color .2s, background .2s;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--verde-soft);
  background: rgba(255,255,255,0.12);
}
.form-group select option { background: var(--verde-deep); color: #fff; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  background: var(--oro);
  color: var(--verde-deep);
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s;
  margin-top: 8px;
}
.btn-submit:hover { background: var(--oro-light); transform: translateY(-1px); }

.contacto-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--oro-light);
  margin-bottom: 16px;
}
.contacto-info p {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.info-block {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 18px;
}
.info-block .label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--verde-soft);
  margin-bottom: 6px;
}
.info-block a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color .2s;
}
.info-block a:hover { color: var(--oro-light); }
.info-block .organiza { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-top: 4px; }

/* ── FOOTER ── */
footer {
  background: var(--verde-deep);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  color: var(--oro-light);
  font-size: 0.85rem;
  white-space: nowrap;
  margin-bottom: 6px;
}
.footer-lema {
  white-space: nowrap;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  font-size: 0.82rem;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--verde-soft); }
.footer-legal {
  width: 100%;
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 20px;
  margin-top: 10px;
  display: flex; gap: 24px; flex-wrap: wrap;
}

/* ── ANIMACIONES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section { padding: 60px 24px; }
  .sobre-grid, .participar-grid, .proyectos-grid,
  .programa-grid, .lugar-grid, .faq-grid, .contacto-grid { grid-template-columns: 1fr; }
  .aporta-lista { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: flex-start; }
}

/* ── LOGOS ── */
.hero-logo {
  display: block;
  width: min(340px, 72vw);
  height: auto;
  margin: -48px auto 72px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
}
.footer-logos {
  display: flex; align-items: center; justify-content: center; gap: 44px;
  flex-wrap: wrap;
}
footer {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
footer .footer-links { justify-self: end; }
footer .footer-legal { grid-column: 1 / -1; }
.footer-logos a { display: block; opacity: .9; transition: opacity .2s; }
.footer-logos a:hover { opacity: 1; }
.footer-logo-eps { height: 72px; width: auto; display: block; }
.footer-logo-uz  { height: 52px; width: auto; display: block; }

/* ── COMITÉS ── */
#comites { background: var(--verde-mist); }
.comite-bloque { margin-bottom: 40px; }
.comite-titulo, .comite-cientifico h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--verde-deep);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
}
.comite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.comite-card {
  background: #fff;
  border: 1px solid var(--verde-pale);
  border-radius: 16px;
  padding: 20px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: transform .2s, box-shadow .2s;
}
.comite-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px var(--sombra); }
.comite-avatar {
  flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--verde-deep);
  color: var(--oro-light);
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 3px var(--verde-pale);
}
.comite-nombre { font-weight: 700; color: var(--verde-deep); font-size: .95rem; line-height: 1.3; margin-bottom: 4px; }
.comite-rol { font-size: .82rem; color: var(--gris-suave); line-height: 1.45; }

.comite-cientifico {
  background: var(--verde-deep);
  border-radius: 20px;
  padding: 44px 48px;
  color: #fff;
}
.comite-cientifico h3 { color: var(--oro-light); margin-bottom: 8px; }
.comite-cientifico > p { color: rgba(255,255,255,0.65); font-size: .9rem; margin-bottom: 28px; }
.cientifico-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 40px;
}
.cientifico-item {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cientifico-nombre { font-weight: 600; font-size: .93rem; color: #fff; }
.cientifico-area {
  font-size: .78rem; color: var(--verde-soft); text-align: right;
  font-weight: 500;
}

@media (max-width: 860px) {
  .cientifico-grid { grid-template-columns: 1fr; }
  .comite-cientifico { padding: 32px 24px; }
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  footer .footer-links { justify-self: center; justify-content: center; }
  .footer-legal { justify-content: center; }
}

/* ── ICONOS (Lucide) ── */
svg.lucide { stroke-width: 1.75; flex-shrink: 0; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #fff; border: 1px solid var(--verde-pale);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--verde-bright);
}
.card-icon svg { width: 24px; height: 24px; }
.table-card-header, .criterios h3, .comite-titulo, .comite-cientifico h3 {
  display: flex; align-items: center; gap: 10px;
}
.table-card-header svg { width: 20px; height: 20px; color: var(--oro-light); }
.criterios h3 svg { width: 22px; height: 22px; color: var(--oro); }
.comite-titulo svg { width: 24px; height: 24px; color: var(--verde-bright); }
.comite-cientifico h3 svg { width: 24px; height: 24px; color: var(--oro-light); }
.transporte-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--verde-mist); color: var(--verde-bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 0; margin-top: 0;
}
.transporte-icon svg { width: 18px; height: 18px; }
.inst-chip { display: inline-flex; align-items: center; gap: 6px; }
.inst-chip svg { width: 15px; height: 15px; color: var(--verde-bright); }

@media (max-width: 1100px) {
  .footer-brand, .footer-lema { white-space: normal; }
}
