/* ==========================================================================
   G-Tech · Grupo de Tecnologías del Agua — hoja de estilo única
   Paleta tomada del logo: verde #84b371 sobre verde profundo.
   ========================================================================== */

:root {
  --ink:        #16201a;
  --ink-soft:   #4d5f55;
  --ink-faint:  #7b8b81;
  --line:       #e3eae4;
  --bg:         #ffffff;
  --bg-alt:     #f5f9f5;
  --bg-deep:    #163c2c;
  --green:      #84b371;
  --green-mid:  #5d9a5f;
  --green-deep: #2b6b47;
  --teal:       #1d5c66;
  --focus:      #2b6b47;

  --wrap: 1120px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --r: 14px;
  --shadow: 0 1px 2px rgba(22, 32, 26, .05), 0 8px 24px -12px rgba(22, 32, 26, .18);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--teal); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--bg-deep); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { left: 0; }

.kicker {
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-mid); margin: 0 0 .6rem;
}

.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }

/* ------------------------------------------------------------- cabecera --- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1rem; min-height: 94px; flex-wrap: wrap; }
.nav__brand { display: flex; align-items: center; gap: .75rem; margin-right: auto; text-decoration: none; color: inherit; }
.nav__logo { height: 62px; width: auto; }
.nav__tagline {
  font-size: .78rem; color: var(--ink-faint); border-left: 1px solid var(--line);
  padding-left: .75rem; max-width: 20ch; line-height: 1.3;
}
.nav__toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  padding: .4rem; color: var(--ink); cursor: pointer;
}
.nav__links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: .45rem .7rem; border-radius: 8px;
  font-size: .93rem; font-weight: 500; color: var(--ink-soft); text-decoration: none;
}
.nav__links a:hover { background: var(--bg-alt); color: var(--green-deep); }
.nav__links a.is-active { color: var(--green-deep); background: var(--bg-alt); }
.nav__lang {
  border: 1px solid var(--line); margin-left: .4rem;
  font-variant: all-small-caps; letter-spacing: .06em; font-weight: 600 !important;
}

@media (max-width: 1020px) {
  .nav__tagline { display: none; }
  .nav__toggle { display: block; }
  .nav__links {
    display: none; flex-direction: column; align-items: stretch;
    width: 100%; padding: .5rem 0 1rem; gap: .1rem;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .6rem .5rem; }
  .nav__lang { margin: .4rem 0 0; text-align: center; }
}

/* ----------------------------------------------------------------- hero --- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--bg-deep); }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px 420px at 82% -12%, rgba(132, 179, 113, .42), transparent 62%),
    radial-gradient(760px 380px at 8% 108%, rgba(29, 92, 102, .55), transparent 60%),
    linear-gradient(160deg, #163c2c 0%, #123328 55%, #102b26 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 55%;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 1px, transparent 1px 22px);
  mask-image: linear-gradient(to top, #000, transparent);
}
.hero__inner { position: relative; padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero__text { max-width: 62ch; }
.hero__inner--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero .kicker { color: var(--green); }
.hero__title { color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.6rem); margin-bottom: .4em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255,255,255,.86); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* Retrato del hero: opcional, controlado por site.hero_portrait */
.hero__portrait { margin: 0; }
.hero__portrait a {
  display: block; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 26px 60px -22px rgba(0, 0, 0, .65);
}
.hero__portrait img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  transition: transform .35s ease;
}
.hero__portrait a:hover img { transform: scale(1.035); }
.hero__portrait figcaption { margin-top: .9rem; font-size: .86rem; line-height: 1.45; }
.hero__portrait figcaption b { display: block; color: #fff; font-weight: 600; }
.hero__portrait figcaption span { color: rgba(255, 255, 255, .62); }

@media (max-width: 860px) {
  .hero__inner--split { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero__portrait { max-width: 220px; }
}

.btn {
  display: inline-block; padding: .72rem 1.35rem; border-radius: 999px;
  font-size: .95rem; font-weight: 600; text-decoration: none; transition: .15s ease;
}
.btn--primary { background: var(--green); color: #14261a; }
.btn--primary:hover { background: #96c283; color: #14261a; transform: translateY(-1px); }
.btn--ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.section--join .btn--primary { background: var(--green-deep); color: #fff; }
.section--join .btn--primary:hover { background: var(--teal); color: #fff; }

/* ------------------------------------------------------------- secciones --- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__title { margin-bottom: .35em; }
.section__lead { color: var(--ink-soft); max-width: 60ch; margin-bottom: 2.2rem; }
.section__more { margin-top: 2rem; }
.section__more a { font-weight: 600; text-decoration: none; }
.section__more a:hover { text-decoration: underline; }

.page-head { padding: clamp(2.5rem, 6vw, 4rem) 0 1rem; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.page-head h1 { margin-bottom: .3em; }

.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }

.prose { color: var(--ink-soft); }
.prose p { margin-bottom: 1.1em; }
.prose h3 { color: var(--ink); margin-top: 1.6em; }

/* Quiénes somos: texto y collage */
.about {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.75rem, 5vw, 4rem); align-items: start;
}
.about__text .prose { max-width: 62ch; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.collage__item {
  margin: 0; border-radius: 12px; overflow: hidden; background: var(--bg-alt);
  aspect-ratio: 4 / 3; border: 1px solid var(--line);
}
.collage__item--wide { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.collage__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.collage__item:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- métricas --- */
.section--metrics { padding-block: 0; }
.metrics {
  list-style: none; margin: 0; padding: 2rem 0; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 1rem;
  border-block: 1px solid var(--line);
}
.metrics li { text-align: center; }
.metrics b { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--green-deep); line-height: 1; }
.metrics span { font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); }
@media (max-width: 620px) { .metrics { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; } }

/* --------------------------------------------------------------- tarjetas --- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card__icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--bg-alt); color: var(--green-deep);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.card__link { font-size: .9rem; font-weight: 600; text-decoration: none; margin-top: .6rem; }
.card__link:hover { text-decoration: underline; }

/* --------------------------------------------------------------- proyectos --- */
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.project {
  background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--green);
  border-radius: var(--r); padding: 1.5rem;
}
.project__code { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green-mid); margin-bottom: .5rem; }
.project__lead { color: var(--ink-soft); font-size: .96rem; }
.project__pi { font-size: .9rem; color: var(--ink-faint); margin: 0; }

/* Ficha de proyecto: sin resumen, el título es el protagonista */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.5rem; }
.project-card {
  background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--green);
  border-radius: var(--r); padding: clamp(1.75rem, 3vw, 2.4rem);
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  scroll-margin-top: 90px;
}
.project-card h2 {
  font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.3;
  margin: 0 0 1.4rem; flex: 1;
}
.project-card__abstract { margin-bottom: 1.4rem; }
.project-card__meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.1rem 1.5rem; margin: 0; padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.project-card__meta dt {
  font-size: .72rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: .25rem;
}
.project-card__meta dd { margin: 0; font-size: .92rem; font-weight: 600; color: var(--ink); }
.project-card__meta a { font-weight: 500; word-break: break-word; }
.objectives { padding-left: 1.2rem; }
.objectives li { margin-bottom: .6em; }

/* Colaboraciones */
.collabs { list-style: none; margin: 0; padding: 0; }
.collab {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr);
  gap: clamp(1rem, 3vw, 2.5rem); padding: 1.4rem 0; border-top: 1px solid var(--line);
}
.collab:last-child { border-bottom: 1px solid var(--line); }
.collab__meta { display: flex; flex-direction: column; gap: .15rem; font-size: .86rem; color: var(--ink-faint); }
.collab__meta b { color: var(--ink); font-size: .95rem; font-weight: 600; }
.collab__meta > span:first-of-type { color: var(--green-deep); font-weight: 600; }
.collab__code { font-variant-numeric: tabular-nums; }
.collab__title { margin: 0 0 .3em; color: var(--ink-soft); }
.collab__partner { margin: 0; font-size: .88rem; color: var(--ink-faint); }
@media (max-width: 700px) { .collab { grid-template-columns: 1fr; gap: .6rem; } }

/* ----------------------------------------------------------------- líneas --- */
.line { padding-block: 3rem; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.line:last-child { border-bottom: 0; }
.line__head { max-width: 62ch; }
.line__icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--bg-alt); color: var(--green-deep);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.line__icon svg { width: 26px; height: 26px; }
.line__summary { font-size: 1.1rem; color: var(--ink-soft); }
.line__body { max-width: 68ch; margin-top: 1.2rem; }
.line__kw-label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 1.8rem; margin-bottom: .6rem; }

.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.tags li {
  font-size: .78rem; padding: .28rem .7rem; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-soft);
}

/* ----------------------------------------------------------- publicaciones --- */
.pubs { list-style: none; margin: 0; padding: 0; }
.pub { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.pub:last-child { border-bottom: 1px solid var(--line); }
.pub__year { font-family: var(--serif); font-size: 1.05rem; color: var(--green-deep); font-weight: 600; }
.pub__authors { font-size: .9rem; color: var(--ink-faint); margin-bottom: .3em; }
.pub__authors strong { color: var(--ink); font-weight: 600; }
.pub__title { font-size: 1.05rem; margin-bottom: .35em; }
.pub__meta { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.pub__doi { text-decoration: none; }
.pub__doi:hover { text-decoration: underline; }
@media (max-width: 560px) { .pub { grid-template-columns: 1fr; gap: .2rem; } }

.note { font-size: .88rem; color: var(--ink-faint); font-style: italic; margin-top: 1.5rem; }

/* ------------------------------------------------------------------ equipo --- */
.people { display: grid; gap: 1.5rem; margin-bottom: 3rem; }
.person {
  display: grid; grid-template-columns: 180px 1fr; gap: 1.8rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.8rem; box-shadow: var(--shadow); scroll-margin-top: 90px;
}
.person__photo { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--bg-alt); display: grid; place-items: center; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__initials { font-family: var(--serif); font-size: 3rem; color: var(--green-mid); }
.person__name { margin-bottom: .2em; }
.person__role { font-weight: 600; color: var(--green-deep); margin-bottom: .2em; }
.person__degree { font-size: .88rem; color: var(--ink-faint); margin-bottom: 1em; }
.person__bio { color: var(--ink-soft); font-size: .97rem; }
.person__metrics { display: flex; gap: 1.8rem; list-style: none; margin: 1.2rem 0; padding: 0; }
.person__metrics b { font-family: var(--serif); font-size: 1.3rem; color: var(--green-deep); display: block; line-height: 1.1; }
.person__metrics span { font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); }
.person__links { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.person__links a {
  width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-soft);
}
.person__links a:hover { border-color: var(--green-mid); color: var(--green-deep); background: var(--bg-alt); }
.person__links svg { width: 18px; height: 18px; }
@media (max-width: 700px) {
  .person { grid-template-columns: 1fr; gap: 1.2rem; }
  .person__photo { width: 140px; }
}

/* Tarjeta compacta: estudiantes de doctorado y pregrado */
.people-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 1.5rem; margin-bottom: 3rem;
}
.mini {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.25rem; box-shadow: var(--shadow); scroll-margin-top: 90px;
  display: flex; flex-direction: column;
}
.mini__photo {
  aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg-alt);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.mini__photo img { width: 100%; height: 100%; object-fit: cover; }
.mini__initials { font-family: var(--serif); font-size: 2.4rem; color: var(--green-mid); }
.mini__name { font-size: 1.02rem; margin-bottom: .15em; }
.mini__role { font-size: .84rem; color: var(--green-deep); font-weight: 600; margin-bottom: .2em; }
.mini__program { font-size: .84rem; color: var(--ink-faint); margin-bottom: .6em; }
.mini__role + .mini__program { margin-top: -.1em; }
.mini__focus { font-size: .88rem; color: var(--ink-soft); margin-bottom: .8em; flex: 1; }
.mini__links { display: flex; gap: .4rem; list-style: none; margin: auto 0 0; padding: 0; }
.mini__links a {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-soft);
}
.mini__links a:hover { border-color: var(--green-mid); color: var(--green-deep); background: var(--bg-alt); }
.mini__links svg { width: 15px; height: 15px; }

/* Alumni: tabla */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 3rem; }
.alumni { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
.alumni th {
  text-align: left; font-family: var(--sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-faint);
  padding: 0 1rem .7rem 0; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.alumni td { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.alumni td:first-child { width: 52%; }
.alumni td b { color: var(--ink); font-weight: 600; }
.alumni a { text-decoration: none; }
.alumni a:hover b { color: var(--green-deep); text-decoration: underline; }
.alumni__thesis { display: block; margin-top: .25rem; font-size: .84rem; color: var(--ink-faint); line-height: 1.45; }

/* ---------------------------------------------------------------- noticias --- */
.carousel { position: relative; }
.carousel__viewport {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; border-radius: var(--r);
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__viewport:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.slide {
  flex: 0 0 100%; scroll-snap-align: start; scroll-margin-top: 90px;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
}

/* La foto nunca se recorta: se contiene sobre una versión difuminada de sí
   misma, para que retratos y panorámicas convivan en el mismo marco. */
.slide__media {
  position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  background: var(--bg-alt); display: grid; place-items: center;
}
.slide__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(26px) saturate(1.15) brightness(.92); transform: scale(1.2);
}
.slide__photo {
  position: relative; max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; box-shadow: 0 12px 34px -14px rgba(22, 32, 26, .5);
}
.slide__kicker {
  font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-mid); margin-bottom: .5rem;
}
.slide__kicker span { color: var(--line); margin: 0 .2rem; }
.slide__name { font-size: clamp(1.15rem, 2vw, 1.5rem); margin-bottom: .5em; }
.slide__text { color: var(--ink-soft); margin-bottom: .8em; }
.slide__extra { font-size: .92rem; color: var(--ink-faint); margin: 0; }
.slide__link { margin: .9rem 0 0; font-size: .92rem; font-weight: 600; }
.slide__link a { text-decoration: none; }
.slide__link a:hover { text-decoration: underline; }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.75rem; }
.carousel__btn {
  width: 42px; height: 42px; flex: none; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink-soft);
  display: grid; place-items: center; transition: .15s ease;
}
.carousel__btn:hover:not(:disabled) { border-color: var(--green-mid); color: var(--green-deep); background: var(--bg-alt); }
.carousel__btn:disabled { opacity: .3; cursor: default; }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__dots { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.carousel__dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 999px; cursor: pointer;
  border: 0; background: var(--line); transition: .15s ease;
}
.carousel__dots button:hover { background: var(--green-mid); }
.carousel__dots button[aria-current="true"] { background: var(--green-deep); width: 26px; }

@media (max-width: 760px) {
  .slide { grid-template-columns: 1fr; gap: 1.25rem; }
  .slide__media { aspect-ratio: 4 / 3; }
}

/* Novedades en la portada */
.news-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.news-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.news-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); display: grid; place-items: center; }
.news-card__media .slide__bg { filter: blur(20px) saturate(1.15) brightness(.92); }
.news-card__media .slide__photo { max-height: 100%; box-shadow: none; }
.news-card__body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.news-card__body h3 { font-size: 1.02rem; margin-bottom: .4em; }
.news-card__body p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* --------------------------------------------------------------- contacto --- */
.contact__list { list-style: none; margin: 0 0 3.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__icon { width: 42px; height: 42px; flex: none; border-radius: 11px; background: var(--bg-alt); color: var(--green-deep); display: grid; place-items: center; }
.contact__icon svg { width: 22px; height: 22px; }
.contact__list h3 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); font-family: var(--sans); font-weight: 600; margin-bottom: .3em; }
.contact__list p { margin: 0; font-size: .95rem; }
.contact__people { list-style: none; margin: 0; padding: 0; }
.contact__people li { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; padding: .9rem 0; border-top: 1px solid var(--line); }
.contact__people li:last-child { border-bottom: 1px solid var(--line); }
.contact__people span { color: var(--ink-faint); font-size: .9rem; margin-right: auto; }

/* ------------------------------------------------------------------- únete --- */
.section--join { background: var(--bg-alt); border-block: 1px solid var(--line); }
.join { max-width: 60ch; }
.join p { color: var(--ink-soft); }

/* ------------------------------------------------------------ financiamiento --- */
.funders { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2.5rem; }
.funders img {
  max-height: 72px; max-width: 260px; height: auto; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .7; transition: .2s ease;
}
.funders a:hover img { filter: none; opacity: 1; }

/* ------------------------------------------------------------------- pie --- */
.site-footer { background: var(--bg-deep); color: rgba(255,255,255,.75); padding: 3rem 0 2rem; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer__logo { height: 56px; background: #fff; border-radius: 10px; padding: 8px 13px; margin-bottom: 1rem; }
.site-footer p { font-size: .9rem; margin: 0 0 .4em; }
.footer__links { display: flex; flex-direction: column; gap: .5rem; }
.site-footer a { color: var(--green); text-decoration: none; font-size: .9rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__meta { text-align: right; }
.footer__admin { color: rgba(255,255,255,.55); font-size: .8rem; }
.footer__updated { color: rgba(255,255,255,.45); font-size: .8rem; }
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
