/* ═══════════════════════════════════════════════════════════════════════
   INNPULSA TP COQUIMBO · Landing
   Design system: marca oficial INNPULSA TP (Manual de identidad corporativa)
   Color: navy #1d2544 + verde #02a483 (mar de Coquimbo) · neutros fríos
   Type: DIN Next LT Pro (oficial, self-hosted)
   ═══════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "DIN Next LT Pro";
  src: url("../fonts/DINNextLTPro-Light.woff2") format("woff2"),
       url("../fonts/DINNextLTPro-Light.woff") format("woff");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DIN Next LT Pro";
  src: url("../fonts/DINNextLTPro-Regular.woff2") format("woff2"),
       url("../fonts/DINNextLTPro-Regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DIN Next LT Pro";
  src: url("../fonts/DINNextLTPro-Medium.woff2") format("woff2"),
       url("../fonts/DINNextLTPro-Medium.woff") format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DIN Next LT Pro";
  src: url("../fonts/DINNextLTPro-Bold.woff2") format("woff2"),
       url("../fonts/DINNextLTPro-Bold.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DIN Next LT Pro";
  src: url("../fonts/DINNextLTPro-Black.woff2") format("woff2"),
       url("../fonts/DINNextLTPro-Black.woff") format("woff");
  font-weight: 900; font-style: normal; font-display: swap;
}

:root {
  /* Color · navy oficial */
  --navy-900: #141b30;
  --navy-800: #1d2544;
  --navy-700: #2a3556;
  --navy: #1d2544;
  --navy-600: #36446b;
  --navy-50: #e9ebf1;

  /* Color · verde oficial (mar de Coquimbo #02a483) */
  --green: #02a483;
  --green-600: #028f72;
  --green-700: #017a62;
  --green-50: #e6f6f1;

  --ink: #141b30;
  --ink-700: #2a2e36;
  --ink-500: #5a6172;
  --ink-300: #a3a9b7;
  --ink-200: #d4d8e0;
  --ink-100: #e9ecf2;

  --paper: #ffffff;
  --paper-2: #f4f6f8;
  --white: #ffffff;

  /* Type */
  --font-display: "DIN Next LT Pro", system-ui, sans-serif;
  --font-body: "DIN Next LT Pro", system-ui, sans-serif;

  /* Spacing */
  --container: 1280px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ═══════════════════════════════════════════════════════════════════════
   TIPOGRAFÍA
   ═══════════════════════════════════════════════════════════════════════ */

.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.display em {
  font-style: italic;
  color: var(--green);
  font-weight: 500;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
}
.section__title--light { color: var(--white); }

.section__sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: var(--space-5);
}

.section__lede {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.6;
  color: var(--ink-500);
  max-width: 55ch;
  margin-top: var(--space-3);
}
.section__lede--light { color: rgba(255,255,255,0.75); }

.lede {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: var(--space-3);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: var(--space-3);
}
.eyebrow--num {
  color: var(--ink-500);
}
.eyebrow--num::before {
  content: "";
}
.eyebrow--light { color: var(--green); }

/* ═══════════════════════════════════════════════════════════════════════
   GRID UTILS
   ═══════════════════════════════════════════════════════════════════════ */

.grid { display: grid; gap: var(--space-5); }
.grid--12 { grid-template-columns: repeat(12, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.col-span-5 { grid-column: span 5; }
.col-span-7 { grid-column: span 7; }

@media (max-width: 900px) {
  .grid--12, .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .col-span-5, .col-span-7 { grid-column: span 1; }
}

/* ═══════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--primary:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-200);
}
.btn--ghost:hover {
  border-color: var(--ink);
}
.btn--green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--green:hover {
  background: var(--green-600);
  border-color: var(--green-600);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════════════════ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-100);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: var(--space-4);
}
.nav__logo { height: 46px; width: auto; display: block; }
.logo--white { filter: brightness(0) invert(1); }
.nav__logo--white { filter: brightness(0) invert(1); }

/* Nav variante navy */
.nav--navy {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav--navy .nav__menu a {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}
.nav--navy .nav__menu a:hover { color: var(--green); }
.nav--navy .nav__toggle span { background: #fff; }
.nav__cta--green {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.nav__cta--green:hover {
  background: var(--green-600);
  border-color: var(--green-600);
}
.nav--navy .nav__menu { background: var(--navy); border-bottom-color: rgba(255,255,255,0.08); }

/* Brand lockup (logo tipográfico INNpulsa TP) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  line-height: 1;
  font-family: var(--font-display);
}
.brand__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 0.95;
}
.brand__tp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--green);
  padding: 4px 9px 5px;
  border-radius: 5px;
  line-height: 1;
}
.brand--light .brand__word { color: #fff; }
.brand--lg .brand__word { font-size: 2.4rem; }
.brand--lg .brand__tp { font-size: 1.4rem; padding: 6px 12px 7px; }
.brand__tag {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.nav__menu {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}
.nav__menu a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-700);
  padding: 0.5rem 0;
  transition: color 0.15s ease;
  position: relative;
}
.nav__menu a:hover { color: var(--navy); }
.nav__cta { padding: 0.7rem 1.2rem; font-size: 0.9rem; }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  display: block;
  transition: transform 0.2s;
}

@media (max-width: 900px) {
  .nav__menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: var(--space-3) var(--gutter);
    gap: var(--space-2);
    border-bottom: 1px solid var(--ink-100);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  padding: var(--space-6) 0 var(--space-7);
  background: var(--paper);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, var(--green-50) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-6);
  align-items: center;
}
.hero__copy { max-width: 640px; }
.hero__copy .eyebrow { color: var(--green-700); }
.hero__lede {
  margin-top: var(--space-3);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-500);
  max-width: 48ch;
}
.hero__ctas {
  margin-top: var(--space-4);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.hero__countdown {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hero__countdown-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
}
.hero__countdown-clock {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.cd-unit b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.cd-unit i {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-300);
  margin-top: 4px;
}
.cd-sep {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ink-200);
  align-self: flex-start;
  line-height: 1;
}

.hero__meta {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--ink-100);
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: var(--space-4);
  font-size: 0.78rem;
  color: var(--ink-500);
}
.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero__meta-item--frpd {
  border-left: 1px solid var(--ink-100);
  padding-left: var(--space-3);
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.hero__meta-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-300);
}
.hero__meta-text {
  font-size: 0.78rem;
  color: var(--ink-500);
  line-height: 1.3;
}
.hero__credit-logo {
  height: 32px;
  width: auto;
  flex: 0 0 auto;
}
.hero__credit-logo--gore { height: 38px; }
.hero__credit-logo--core { height: 38px; opacity: 0.95; }

@media (max-width: 900px) {
  .hero__meta { grid-template-columns: 1fr; gap: var(--space-2); }
  .hero__meta-item--frpd { border-left: none; padding-left: 0; border-top: 1px solid var(--ink-100); padding-top: var(--space-2); }
}

.hero__photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink-100);
}
.hero__img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__photo-tag {
  position: absolute;
  left: var(--space-3);
  bottom: var(--space-3);
  background: var(--white);
  padding: var(--space-2) var(--space-3);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(10,31,61,0.18);
  max-width: 240px;
}
.hero__photo-tag-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__photo-tag-label {
  font-size: 0.78rem;
  color: var(--ink-500);
  line-height: 1.4;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-500);
  z-index: 2;
}
.hero__scroll svg { animation: bounce 2.4s infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (max-width: 900px) {
  .hero { padding: var(--space-5) 0 var(--space-6); min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero__photo { aspect-ratio: 4/3; }
  .hero__scroll { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════════ */

.section {
  padding: var(--space-7) 0;
  position: relative;
}
.section--dark {
  background: var(--navy-900);
  color: var(--paper);
}
.section--impact {
  background: var(--paper-2);
}
.section--contact {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
}

.section__head {
  margin-bottom: var(--space-6);
  max-width: 880px;
}

/* ═══════════════════════════════════════════════════════════════════════
   01 · SOBRE EL PROYECTO
   ═══════════════════════════════════════════════════════════════════════ */

.about {
  margin-bottom: var(--space-7);
  align-items: center;
}
.about__lede p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-700);
}
.about__lede p + p { margin-top: var(--space-3); }

.about__pull {
  border-left: 2px solid var(--green);
  padding-left: var(--space-4);
}
.pull {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}
@media (max-width: 900px) {
  .about__pull { border-left: none; padding-left: 0; border-top: 2px solid var(--green); padding-top: var(--space-3); }
}

.pillars { margin-bottom: var(--space-6); }
.pillars__grid { gap: var(--space-5) var(--space-4); }
.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: var(--space-3);
  border-top: 1px solid var(--ink-200);
}
.pillar__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.8rem;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--green);
  margin-bottom: var(--space-1);
}
.pillar h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.pillar h4::before { content: "❯ "; color: var(--green); }
.pillar p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-500);
}

.institutional {
  margin-top: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--ink-100);
}
.institutional p {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--ink-500);
}

/* ═══════════════════════════════════════════════════════════════════════
   02 · SECTORES
   ═══════════════════════════════════════════════════════════════════════ */

.sectores {
  display: flex;
  flex-direction: column;
}
.sector {
  display: grid;
  grid-template-columns: 80px 1fr 100px;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  align-items: center;
  transition: padding 0.2s ease;
}
.sector:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.sector:hover { padding-inline: var(--space-2); }

.sector__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--green);
}
.sector__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.015em;
  margin-bottom: 0.6rem;
}
.sector__body p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 70ch;
}
.sector__chip {
  display: inline-block;
  margin-top: var(--space-2);
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.01em;
}
.sector__icon {
  color: var(--green);
  justify-self: end;
  width: 64px; height: 64px;
  opacity: 0.85;
}
.sector__icon svg { width: 100%; height: 100%; }

@media (max-width: 900px) {
  .sector { grid-template-columns: auto 1fr; }
  .sector__icon { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   03 · CONVOCATORIAS
   ═══════════════════════════════════════════════════════════════════════ */

.convo-card {
  background: var(--white);
  border-radius: 14px;
  padding: var(--space-5);
  border: 1px solid var(--ink-100);
  box-shadow: 0 1px 0 rgba(10,31,61,0.04);
}
.convo-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
  gap: var(--space-2);
}
.convo-card__status {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.convo-card__date {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy);
}
.convo-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: var(--space-2);
}
.convo-card__lede {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-500);
  margin-bottom: var(--space-3);
}
.convo-card__list {
  list-style: none;
  margin-bottom: var(--space-4);
}
.convo-card__list li {
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--ink-100);
  font-size: 0.95rem;
  color: var(--ink-700);
}
.convo-card__list li:last-child { border-bottom: none; }
.convo-card__list strong { color: var(--ink); margin-right: 0.3rem; }
.convo-card__cta {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.timeline {
  padding: var(--space-4);
}
.timeline__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: var(--space-3);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.timeline ol {
  list-style: none;
  position: relative;
}
.timeline ol::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ink-100);
}
.timeline li {
  position: relative;
  padding-left: var(--space-4);
  padding-bottom: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--ink-300);
}
.timeline li.done::before { background: var(--navy); border-color: var(--navy); }
.timeline li.next::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 4px var(--green-50); }
.timeline__date {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.timeline__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.2;
}
.timeline__tag {
  display: inline-block;
  margin-top: 4px;
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 4px;
  text-transform: uppercase;
  width: max-content;
}
.timeline li.done .timeline__tag { background: var(--navy-50); color: var(--navy); }
.timeline li.next .timeline__tag { background: var(--green-50); color: var(--green-700); }

/* Convocatoria · panel lateral (datos clave, editorial) */
.convo-brief {
  border-left: 2px solid var(--green);
  padding-left: var(--space-4);
  align-self: start;
}
.convo-brief__head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-bottom: var(--space-3);
}
.convo-brief__list { display: grid; gap: 0; }
.convo-brief__list > div {
  display: grid;
  gap: 0.15rem;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--ink-100);
}
.convo-brief__list > div:last-child { border-bottom: none; }
.convo-brief__list dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
}
.convo-brief__list dd {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink-700);
}
@media (max-width: 900px) {
  .convo-brief { border-left: none; padding-left: 0; border-top: 2px solid var(--green); padding-top: var(--space-3); }
}

/* Timeline horizontal de hitos */
.timeline-h__head { margin-top: var(--space-7); }
.timeline-h {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  position: relative;
}
.timeline-h::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: var(--ink-200);
  z-index: 0;
}
.th-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}
.th-step__icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white);
  border: 1.5px solid var(--ink-200);
  color: var(--ink-300);
  margin-bottom: var(--space-1);
}
.th-step__icon svg { width: 24px; height: 24px; }
.th-step--done .th-step__icon { background: var(--navy); border-color: var(--navy); color: #fff; }
.th-step--next .th-step__icon { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 0 0 5px var(--green-50); }
.th-step__phase {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.th-step__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--ink);
  max-width: 18ch;
}
.th-step__tag {
  margin-top: 2px;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 4px;
  text-transform: uppercase;
}
.th-step--done .th-step__tag { background: var(--navy-50); color: var(--navy); }
.th-step--next .th-step__tag { background: var(--green-50); color: var(--green-700); }

@media (max-width: 760px) {
  .timeline-h { grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-3); }
  .timeline-h::before { display: none; }
}
@media (max-width: 440px) {
  .timeline-h { grid-template-columns: 1fr; }
}

/* Formulario de postulación */
.apply {
  margin-top: var(--space-7);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-5);
  align-items: start;
  padding-top: var(--space-5);
  border-top: 1px solid var(--ink-200);
}
.apply__intro h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.apply__intro p { color: var(--ink-500); margin-top: var(--space-2); line-height: 1.6; }
.apply__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.apply__form .field span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.apply__form .field input,
.apply__form .field select {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease;
}
.apply__form .field input::placeholder { color: var(--ink-300); }
.apply__form .field input:focus,
.apply__form .field select:focus { border-color: var(--green); }
.apply__form .field select option { color: #111; }
.apply__form .btn--primary { align-self: flex-start; }

.apply__cta-wrap { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.apply__cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 1.05rem;
  padding: 1rem 1.6rem;
}
.apply__cta svg { width: 18px; height: 18px; }
.apply__cta-note { font-size: 0.82rem; color: var(--ink-500); }

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

/* ═══════════════════════════════════════════════════════════════════════
   04 · IMPACTO
   ═══════════════════════════════════════════════════════════════════════ */

.metrics {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-bottom: var(--space-6);
  border-top: 1px solid var(--ink-200);
}
.metrics--3 { grid-template-columns: repeat(3, 1fr); border-top: none; }
.metric {
  padding: var(--space-4) var(--space-3) 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-right: 1px solid var(--ink-200);
}
.metric:last-child { border-right: none; }
.metrics--3 .metric {
  border-right: none;
  padding: var(--space-4) var(--space-2) 0;
  align-items: center;
  text-align: center;
}
.metrics--3 .metric__label { max-width: 22ch; }
.metric__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.metric__num small {
  font-size: 0.5em;
  color: var(--green);
  vertical-align: super;
  margin-left: 2px;
}
.metric__label {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--ink-500);
  max-width: 18ch;
}

@media (max-width: 560px) {
  .metrics { grid-template-columns: repeat(3, 1fr); }
  .metric { padding-right: var(--space-2); }
  .metric:nth-child(3n) { border-right: none; }
  .metric:nth-child(-n+3) { padding-bottom: var(--space-3); border-bottom: 1px solid var(--ink-200); }
}
@media (max-width: 480px) {
  .metrics--3 { grid-template-columns: 1fr; }
  .metrics--3 .metric { border-right: none; border-bottom: 1px solid var(--ink-200); padding-bottom: var(--space-3); }
  .metrics--3 .metric:last-child { border-bottom: none; }
}

.impact-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}
.impact-photos figure {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink-100);
}
.impact-photos img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.impact-photos figure:hover img { transform: scale(1.04); }
@media (max-width: 700px) {
  .impact-photos { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════════════
   05 · NOTICIAS
   ═══════════════════════════════════════════════════════════════════════ */

.news {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3);
}
.news__item {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ink-100);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.news__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(10,31,61,0.08);
}
.news__item figure {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.news__item--feature figure { aspect-ratio: 16/10; }
.news__item figure img { width: 100%; height: 100%; object-fit: cover; }

.news__body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.news__meta {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-700);
}
.news__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.news__item--feature h3 { font-size: 1.4rem; }
.news__body p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-500);
  flex: 1;
}
.news__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: var(--space-1);
}
.news__link:hover { color: var(--green-700); }

.news__cta {
  text-align: center;
  margin-top: var(--space-5);
}

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

/* ═══════════════════════════════════════════════════════════════════════
   GALERÍA · ecosistema en imágenes
   ═══════════════════════════════════════════════════════════════════════ */

.section--gallery { background: var(--paper); padding-bottom: var(--space-7); }

.gallery {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 110px;
  gap: 8px;
  padding-inline: var(--gutter);
  max-width: 1600px;
  margin-inline: auto;
}
.gallery__item {
  grid-column: span 3;
  grid-row: span 2;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink-100);
}
.gallery__item--wide { grid-column: span 6; }
.gallery__item--tall { grid-row: span 3; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: saturate(0.95);
}
.gallery__item:hover img { transform: scale(1.05); filter: saturate(1.1); }

@media (max-width: 1100px) {
  .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 90px; }
  .gallery__item { grid-column: span 2; grid-row: span 2; }
  .gallery__item--wide { grid-column: span 3; }
  .gallery__item--tall { grid-row: span 3; }
}
@media (max-width: 700px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 80px; }
  .gallery__item, .gallery__item--wide, .gallery__item--tall { grid-column: span 2; grid-row: span 2; }
}

/* ═══════════════════════════════════════════════════════════════════════
   06 · CONTACTO
   ═══════════════════════════════════════════════════════════════════════ */

.contact { align-items: start; }

.contact__team article {
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.contact__team article:first-child { padding-top: 0; }
.contact__team article:last-child { border-bottom: none; }
.contact__role {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.25rem;
}
.contact__team h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.contact__team a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.15rem;
}
.contact__team a:hover { color: var(--green); }

.contact__form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  backdrop-filter: blur(6px);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.field small { font-weight: 400; opacity: 0.7; text-transform: none; }
.field input, .field textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.35); }
.field input:focus, .field textarea:focus {
  border-color: var(--green);
  background: rgba(255,255,255,0.08);
}
.contact__form .btn--primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy-900);
  align-self: flex-start;
}
.contact__form .btn--primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════════════════════
   HUB DE RECURSOS
   ═══════════════════════════════════════════════════════════════════════ */

.section--resources { background: var(--paper-2); }
.resources { display: flex; flex-direction: column; gap: var(--space-6); }
.resources .section__sub { margin-bottom: var(--space-3); }

.resources__video { text-align: center; }
.resources__video video {
  width: 100%;
  max-width: 900px;
  border-radius: 6px;
  background: var(--navy-900);
  display: block;
  margin: 0 auto;
}

.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.case figure {
  position: relative;
  aspect-ratio: 9/16;
  max-height: 360px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink-100);
}
.case figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95) brightness(0.92); }
.case__soon {
  position: absolute;
  left: var(--space-2);
  bottom: var(--space-2);
  background: var(--navy);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}
.case__title {
  margin-top: var(--space-2);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-700);
}

.downloads { list-style: none; max-width: 760px; }
.download {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--ink-200);
  transition: padding-left 0.2s ease;
}
.downloads li:last-child .download { border-bottom: 1px solid var(--ink-200); }
.download:hover { padding-left: var(--space-2); }
.download__chevron { color: var(--green); font-weight: 700; }
.download__text {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--ink);
}
.download__type {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-300);
  border: 1px solid var(--ink-200);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.download:hover .download__type { color: var(--green-700); border-color: var(--green); }

@media (max-width: 760px) {
  .cases { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .cases { grid-template-columns: 1fr; }
  .case figure { aspect-ratio: 16/10; }
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════ */

.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.65);
  padding: var(--space-5) 0 var(--space-3);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: center;
}
.footer__logo {
  height: 56px;
  margin-bottom: var(--space-2);
  display: block;
}
.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 36ch;
  color: rgba(255,255,255,0.55);
}
.footer__inst {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: flex-end;
}
.footer__inst-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}
.footer__inst-block img {
  height: 38px;
  width: auto;
}
.footer__credit {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}

.footer__top {
  /* override: una sola columna ahora */
  grid-template-columns: 1fr;
}
.footer__mail {
  display: inline-block;
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--green);
  letter-spacing: -0.01em;
}
.footer__mail:hover { color: #fff; }

/* Marquee co-inversión */
.footer__marquee {
  overflow: hidden;
  margin: var(--space-4) 0;
  padding: var(--space-3) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.footer__marquee-track {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  width: max-content;
  animation: coinv-scroll 38s linear infinite;
}
.footer__marquee:hover .footer__marquee-track { animation-play-state: paused; }
@keyframes coinv-scroll {
  /* izq → der: parte desplazado a -50% y avanza a 0 */
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.coinv-group {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 0 0 auto;
}
.coinv-group__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
}
.coinv-logo {
  height: 42px;
  width: auto;
  flex: 0 0 auto;
}
.coinv-text {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}
.coinv-text--soft {
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}
.coinv-sep {
  width: 1px;
  height: 38px;
  background: rgba(255,255,255,0.12);
  flex: 0 0 auto;
}
@media (prefers-reduced-motion: reduce) {
  .footer__marquee-track { animation: none; }
}

.footer__legal {
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__legal p {
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.4);
  max-width: 90ch;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-top: var(--space-3);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__inst { justify-content: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════════
   02 · METODOLOGÍA
   ═══════════════════════════════════════════════════════════════════════ */

.section--method { background: var(--white); }

/* Cards de colores (excepción de diseño pedida por el cliente) */
.method-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.mcard {
  border-radius: 6px;
  padding: var(--space-4);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-height: 240px;
}
.mcard__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.85);
}
.mcard__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #fff;
}
.mcard__meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.mcard__meta div { display: flex; flex-direction: column; gap: 2px; }
.mcard__meta dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.mcard__meta dd {
  font-size: 0.85rem;
  line-height: 1.35;
  color: rgba(255,255,255,0.92);
}
/* Tonos derivados navy/verde (sin arcoíris) */
.mcard--1 { background: var(--navy-800); }
.mcard--2 { background: var(--navy-600); }
.mcard--3 { background: var(--green-700); }
.mcard--4 { background: var(--green); }
.mcard--5 { background: var(--navy-900); }
.mcard--6 { background: var(--green-600); }

@media (max-width: 900px) {
  .method-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .method-cards { grid-template-columns: 1fr; }
  .mcard { min-height: auto; }
}

/* ═══════════════════════════════════════════════════════════════════════
   06 · TERRITORIO / MAPA
   ═══════════════════════════════════════════════════════════════════════ */

.section--territory { background: var(--white); }
.territory {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-6);
  align-items: center;
}
.territory__map { display: flex; justify-content: center; }
.map__svg {
  width: 100%;
  max-width: 330px;
  height: auto;
  filter: drop-shadow(0 12px 30px rgba(20,27,48,0.12));
}
.map__svg .provincias path {
  fill: var(--navy-50);
  stroke: #fff;
  stroke-width: 1.5;
  transition: fill 0.25s ease;
  cursor: pointer;
}
.map__svg .provincias path:hover,
.map__svg .provincias path.is-active { fill: var(--green); }
.map__svg .ciudades circle { fill: var(--navy); stroke: #fff; }
.map__svg .ciudades text {
  fill: var(--navy);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 3px;
}

.territory__provinces { display: flex; flex-direction: column; }
.prov {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--ink-200);
  transition: padding 0.2s ease;
}
.prov:last-child { border-bottom: 1px solid var(--ink-200); }
.prov__idx {
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.9rem; color: var(--ink-200); line-height: 1;
  transition: color 0.2s ease;
}
.prov__main h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.35rem; color: var(--ink); letter-spacing: -0.01em;
}
.prov__main h3::before { content: "❯ "; color: var(--green); }
.prov__cap {
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--green-700); margin-top: 3px;
}
.prov__comunas { font-size: 0.92rem; color: var(--ink-500); margin-top: 0.4rem; line-height: 1.5; }
.prov__site { font-size: 0.82rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.prov.is-active .prov__idx, .prov:hover .prov__idx { color: var(--green); }
.prov.is-active, .prov:hover { padding-left: var(--space-2); }

@media (max-width: 900px) {
  .territory { grid-template-columns: 1fr; gap: var(--space-5); }
  .map__svg { max-width: 260px; }
}
@media (max-width: 600px) {
  .prov { grid-template-columns: 40px 1fr; }
  .prov__site { grid-column: 2; white-space: normal; }
}

/* ═══════════════════════════════════════════════════════════════════════
   EQUIPO (¿a quién contactar?)
   ═══════════════════════════════════════════════════════════════════════ */

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.team--duo {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
}
.team--quint {
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-2);
}
.member {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  backdrop-filter: blur(6px);
}
.team--quint .member { padding: var(--space-3); gap: 0.55rem; }
.member__photo {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--navy-600) 100%);
  display: grid; place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  margin-bottom: var(--space-1);
}
.team--quint .member__photo { width: 56px; height: 56px; }
.member__photo::after {
  content: attr(data-initials);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff;
}
.team--quint .member__photo::after { font-size: 1.15rem; }
.team--quint .member__role { font-size: 0.58rem; letter-spacing: 0.06em; white-space: nowrap; }
.team--quint .member__info h3 { font-size: 0.98rem; line-height: 1.2; }
.team--quint .member__link { font-size: 0.78rem; word-break: break-all; }
.team--quint .member__link svg { width: 14px; height: 14px; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__photo--pending {
  background: rgba(255,255,255,0.07);
  border: 1px dashed rgba(255,255,255,0.28);
}
.member__photo--pending::after {
  content: "";
  width: 38px; height: 38px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,0.3) 0 9px, transparent 10px),
    radial-gradient(ellipse 18px 12px at 50% 86%, rgba(255,255,255,0.3) 0 99%, transparent 100%);
}
.member__role {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
}
.member__info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: -0.01em;
  margin-top: 2px;
}
.member__note { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 0.4rem; line-height: 1.5; }
.member__links { display: flex; flex-direction: column; gap: 0.5rem; margin-top: var(--space-2); }
.member__link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.88rem; color: rgba(255,255,255,0.78);
  transition: color 0.15s ease;
}
.member__link svg { width: 16px; height: 16px; flex: 0 0 auto; }
.member__link:hover { color: var(--green); }
.member__link--in { color: var(--green); font-weight: 600; }

.contact__panel {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-5);
  align-items: start;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact__intro h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.6rem; color: #fff; line-height: 1.15; letter-spacing: -0.015em;
}
.contact__intro p { color: rgba(255,255,255,0.7); margin-top: var(--space-2); line-height: 1.6; }
.contact__points { list-style: none; margin-top: var(--space-3); display: flex; flex-direction: column; gap: 0.5rem; }
.contact__points li {
  font-size: 0.92rem; color: rgba(255,255,255,0.82);
  padding-left: 1.5rem; position: relative;
}
.contact__points li::before {
  content: ""; position: absolute; left: 0; top: 0.45rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.field select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}
.field select option { color: #111; }

@media (max-width: 1100px) {
  .team--quint { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .team { grid-template-columns: 1fr; }
  .team--quint { grid-template-columns: repeat(2, 1fr); }
  .contact__panel { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .team--quint { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   08 · TESTIMONIOS
   ═══════════════════════════════════════════════════════════════════════ */

.section--testi { background: var(--navy-900); color: var(--paper); }
.testi__placeholder-note {
  display: block; margin-top: 0.6rem;
  font-style: italic; font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.testi {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.testi__quote { width: 34px; height: 34px; color: var(--green); }
.testi blockquote { font-size: 1.02rem; line-height: 1.55; color: rgba(255,255,255,0.85); flex: 1; }
.testi__author { display: flex; align-items: center; gap: 0.8rem; }
.testi__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--navy-600));
  display: grid; place-items: center; flex: 0 0 auto;
}
.testi__avatar::after { content: attr(data-initials); font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: #fff; }
.testi__who { display: flex; flex-direction: column; line-height: 1.2; }
.testi__who strong { color: #fff; font-weight: 700; font-size: 0.95rem; }
.testi__who small { color: rgba(255,255,255,0.55); font-size: 0.8rem; }

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

/* ═══════════════════════════════════════════════════════════════════════
   CHATBOX FAQ
   ═══════════════════════════════════════════════════════════════════════ */

.chat { position: fixed; right: 24px; bottom: 24px; z-index: 90; }
.chat__fab {
  width: 62px; height: 62px; border-radius: 50%;
  border: none; cursor: pointer; padding: 0;
  background: var(--navy);
  box-shadow: 0 10px 30px rgba(20,27,48,0.35);
  display: grid; place-items: center;
  position: relative; margin-left: auto;
  transition: transform 0.2s ease, background 0.2s ease;
}
.chat__fab:hover { transform: scale(1.06); }
.chat__fab-icon { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transition: opacity 0.2s ease; }
.chat__fab-x { width: 26px; height: 26px; color: #fff; position: absolute; opacity: 0; transition: opacity 0.2s ease; }
.chat.is-open .chat__fab-icon { opacity: 0; }
.chat.is-open .chat__fab-x { opacity: 1; }
.chat.is-open .chat__fab { background: var(--green); }

.chat__panel {
  position: absolute; right: 0; bottom: 74px;
  width: 344px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 18px;
  box-shadow: 0 24px 60px rgba(20,27,48,0.28);
  overflow: hidden;
  transform: translateY(16px) scale(0.96); transform-origin: bottom right;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  display: flex; flex-direction: column;
  max-height: min(560px, calc(100vh - 120px));
}
.chat.is-open .chat__panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.chat__head { display: flex; align-items: center; gap: 0.7rem; padding: var(--space-3); background: var(--navy); color: #fff; }
.chat__head-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; }
.chat__head-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat__head-id { display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
.chat__head-id strong { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; }
.chat__head-id small { font-size: 0.74rem; color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 0.35rem; }
.chat__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; }
.chat__close { background: none; border: none; color: rgba(255,255,255,0.8); cursor: pointer; padding: 4px; }
.chat__close svg { width: 20px; height: 20px; }
.chat__close:hover { color: #fff; }

.chat__body { padding: var(--space-3); display: flex; flex-direction: column; gap: 0.6rem; overflow-y: auto; flex: 1; background: var(--paper-2); }
.chat__msg { max-width: 85%; padding: 0.6rem 0.85rem; border-radius: 14px; font-size: 0.88rem; line-height: 1.45; }
.chat__msg--bot { background: #fff; color: var(--ink-700); border: 1px solid var(--ink-100); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat__msg--user { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat__msg a { color: var(--green-700); text-decoration: underline; }
.chat__msg--user a { color: #fff; }

.chat__typing { display: inline-flex; gap: 4px; }
.chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-300); animation: chatdot 1s infinite; }
.chat__typing i:nth-child(2) { animation-delay: 0.15s; }
.chat__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatdot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.chat__faqs { padding: var(--space-2) var(--space-3) var(--space-3); display: flex; flex-wrap: wrap; gap: 0.4rem; border-top: 1px solid var(--ink-100); background: #fff; }
.chat__chip {
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 600;
  padding: 0.45rem 0.7rem; border-radius: 999px;
  border: 1px solid var(--green); background: var(--green-50); color: var(--green-700);
  cursor: pointer; transition: background 0.15s ease, color 0.15s ease;
}
.chat__chip:hover { background: var(--green); color: #fff; }

@media (max-width: 560px) {
  .chat { right: 16px; bottom: 16px; }
  .chat__panel { width: calc(100vw - 32px); }
}
