/* ==========================================================
   Secciones de la Home (en orden de aparición)
   ========================================================== */

/* ---------- Mapas SVG compartidos (hero + visión global) ---------- */
.route {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.6;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.is-visible .route, .hero.is-ready .route { animation: draw 1.6s var(--ease) forwards; }
.is-visible .route:nth-child(2), .hero.is-ready .route:nth-child(2) { animation-delay: .25s; }
.is-visible .route:nth-child(3), .hero.is-ready .route:nth-child(3) { animation-delay: .5s; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.node { stroke: none; }
.node--origin { fill: var(--green); }
.node--end { fill: var(--navy); }
.node-pulse {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.2;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(.6); opacity: .9; }
  100% { transform: scale(2.8); opacity: 0; }
}
.label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .14em;
  fill: var(--text-muted);
}
.label--strong { fill: var(--navy); font-weight: 600; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 1rem + 6vw, 6rem) clamp(4rem, 2rem + 6vw, 7rem);
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1rem + 6vw, 6rem));
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: var(--space-7);
}
.hero__title { font-size: var(--fs-h1); font-weight: 600; letter-spacing: -.035em; color: var(--navy); }
.hero__lead { margin-top: var(--space-5); max-width: 36rem; font-size: var(--fs-lg); color: var(--text-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero__meta {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-7);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero__visual { margin: 0; }
.route-map { width: 100%; height: auto; overflow: visible; }
.route-map__globe { stroke: var(--steel); stroke-width: .8; opacity: .55; }

/* ---------- QUIÉNES SOMOS ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
.about__title { font-size: var(--fs-h2); color: var(--navy); }
.about__year {
  display: flex;
  align-items: flex-end;
  gap: var(--space-4);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.about__year-num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 2.5rem + 6vw, 8rem);
  font-weight: 500;
  line-height: .85;
  letter-spacing: -.05em;
  color: var(--green);
}
.about__year-label { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.4; }
.about__lead { font-size: var(--fs-lg); color: var(--text); padding-top: .4rem; }
.about__list-title {
  margin-top: var(--space-7);
  margin-bottom: var(--space-4);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.about__list li {
  display: flex;
  align-items: baseline;
  gap: var(--space-5);
  padding-block: var(--space-4);
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -.01em;
}
.about__list li:last-child { border-bottom: 1px solid var(--line); }
.about__list span { font-size: var(--fs-xs); color: var(--green); letter-spacing: .1em; }

/* ---------- PROPÓSITO ---------- */
.purpose__statement {
  max-width: 62rem;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
}
.chain {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
}
.chain::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6px;
  right: 6px;
  height: 1px;
  background: linear-gradient(90deg, var(--steel), var(--green));
}
.chain__item {
  position: relative;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.chain__item::before {
  content: "";
  position: absolute;
  top: calc(var(--space-6) * -1 - 5px);
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1.5px solid var(--steel);
}
.chain__item--core { color: var(--navy); font-weight: 700; letter-spacing: .08em; }
.chain__item--core::before { background: var(--navy); border-color: var(--navy); width: 15px; height: 15px; top: calc(var(--space-6) * -1 - 7px); }
.chain__item--end { color: var(--green); font-weight: 600; }
.chain__item--end::before { background: var(--green); border-color: var(--green); }

/* ---------- SERVICIOS ---------- */
.services__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-8); align-items: start; }
.services__head { position: relative; }
.services__head h2 { font-size: var(--fs-h2); color: var(--navy); }
.services__head p { margin-top: var(--space-5); margin-bottom: var(--space-6); font-size: var(--fs-lg); }

.service {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 2.75rem 1fr;
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-6) var(--space-4) var(--space-6) 0;
  border-top: 1px solid var(--line);
  transition: background-color .35s var(--ease), padding-left .35s var(--ease);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 2px;
  width: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.service:hover { background: var(--surface); padding-left: var(--space-4); }
.service:hover::before { transform: scaleX(1); }
.service__num { font-family: var(--font-display); font-size: var(--fs-xs); letter-spacing: .1em; color: var(--text-muted); padding-top: .35rem; }
.service__icon { width: 28px; height: 28px; color: var(--navy); transition: color .3s var(--ease), transform .4s var(--ease); }
.service:hover .service__icon { color: var(--green); transform: translateY(-2px); }
.service h3 { font-size: var(--fs-h3); color: var(--navy); }
.service p { margin-top: var(--space-2); color: var(--text-muted); max-width: 32rem; }

/* ---------- PROCESO ---------- */
.process .section-head h2 { color: #fff; }
.process__track { position: relative; --progress: 0; }
.process__steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); }
.process__rail {
  position: absolute;
  top: 27px;
  left: 28px;
  right: calc((100% - 5 * var(--space-4)) / 6 - 28px);
  height: 1px;
  background: var(--dark-line);
}
.process__rail-fill {
  display: block;
  height: 100%;
  background: var(--green-400);
  transform: scaleX(var(--progress));
  transform-origin: left;
}
.process__band {
  margin-bottom: var(--space-6);
  display: none;
}
.step__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--dark-line);
  background: var(--dark-bg);
  color: var(--dark-muted);
  transition: border-color .4s var(--ease), color .4s var(--ease), background-color .4s var(--ease);
}
.step__num { display: block; margin-top: var(--space-5); font-family: var(--font-display); font-size: var(--fs-xs); letter-spacing: .12em; color: var(--dark-muted); }
.step__title { margin-top: var(--space-1); font-size: var(--fs-h3); color: #fff; }
.step__text { margin-top: var(--space-2); font-size: var(--fs-sm); color: var(--dark-muted); }
.step { opacity: .6; transition: opacity .5s var(--ease); }
.step.is-active { opacity: 1; }
.step.is-active .step__dot { border-color: var(--green-400); color: #fff; background: var(--green); }
.no-js .step { opacity: 1; }

/* ---------- MISIÓN ---------- */
.mission__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-8); align-items: end; }
.mission__statement { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); font-weight: 500; line-height: 1.15; color: var(--navy); }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.tags li {
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  color: var(--navy);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.tags li:hover { border-color: var(--green); background: var(--surface); }

/* ---------- VISIÓN ---------- */
.vision__statement { max-width: 58rem; font-size: var(--fs-h2); color: var(--navy); }
.horizon { position: relative; height: 200px; margin: var(--space-8) 0 var(--space-7); }
.horizon__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.horizon__curve { fill: none; stroke: var(--green); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.horizon.is-visible .horizon__curve { animation: draw 1.8s var(--ease) forwards; }
.horizon__marks li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translateX(-50%);
  padding-top: 14px;
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  white-space: nowrap;
}
.horizon__marks li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--green);
}
.horizon__marks li:first-child { transform: none; }
.horizon__marks li:first-child::before { left: 0; margin-left: -5.5px; }
.horizon__marks li:last-child { transform: translateX(-100%); }
.horizon__marks li:last-child::before { left: 100%; background: var(--green); }
.horizon__marks b { color: var(--navy); font-weight: 600; }
.vision__text { max-width: 48rem; font-size: var(--fs-lg); }

/* ---------- PILARES ---------- */
.pillars .section-head h2 { color: var(--navy); }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pillar {
  position: relative;
  padding: var(--space-6) var(--space-6) var(--space-7);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color .35s var(--ease);
}
.pillar:hover { background: var(--surface); }
.pillar__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--steel);
  transition: color .35s var(--ease);
}
.pillar:hover .pillar__num { color: var(--green); }
.pillar h3 { margin-top: var(--space-7); font-size: var(--fs-h3); color: var(--navy); }
.pillar p { margin-top: var(--space-3); color: var(--text-muted); }

/* ---------- PERSONAS ---------- */
.people__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
.people__head h2 { font-size: var(--fs-h2); color: var(--navy); }
.people__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.people__list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.people__list li:hover { border-color: var(--green); transform: translateY(-2px); }
.people__list .icon { color: var(--green); flex-shrink: 0; }

/* ---------- SOSTENIBILIDAD ---------- */
.sustainability .section-head h2 { color: var(--navy); }
.dimensions { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.dimension { padding-top: var(--space-5); border-top: 2px solid var(--navy); }
.dimension:nth-child(1) { border-top-color: var(--green); }
.dimension:nth-child(3) { border-top-color: var(--steel); }
.dimension .icon { width: 32px; height: 32px; color: var(--navy); }
.dimension h3 { margin-top: var(--space-6); font-size: var(--fs-h2); font-weight: 500; letter-spacing: -.03em; color: var(--navy); }
.dimension p { margin-top: var(--space-3); color: var(--text-muted); max-width: 22rem; }

/* ---------- VISIÓN GLOBAL ---------- */
.global .section-head h2 { color: #fff; }
.world { margin: 0; }
.world__svg { width: 100%; height: auto; overflow: visible; }
.world__dots { fill: var(--steel); opacity: .22; }
.world__grid { stroke: var(--steel); stroke-width: .6; opacity: .25; fill: none; }
.global .node--end { fill: var(--dark-text); }
.global .node--origin { fill: var(--green-400); }
.global .node-pulse { stroke: var(--green-400); }
.global .route { stroke: var(--green-400); }
.global .label { fill: var(--dark-muted); font-size: 13px; }
.global .label--strong { fill: #fff; }
.world__caption { margin-top: var(--space-5); font-size: var(--fs-xs); color: var(--dark-muted); text-align: center; }

/* ---------- TIMELINE ---------- */
.timeline .section-head h2 { color: var(--navy); }
.stages { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.stages::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--green) 0 20%, var(--line) 20%);
}
.stage { position: relative; padding: var(--space-7) var(--space-4) 0 0; }
.stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--steel);
}
.stage--current::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 6px rgba(6, 132, 63, .12); }
.stage__tag { font-family: var(--font-display); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.stage--current .stage__tag { color: var(--green); font-weight: 600; }
.stage h3 { margin-top: var(--space-2); font-size: var(--fs-h3); color: var(--navy); }
.stage p { margin-top: var(--space-2); font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding-block: clamp(5rem, 3rem + 8vw, 10rem);
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -12%;
  top: 50%;
  width: min(70vw, 820px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(154, 169, 191, .22);
  box-shadow: 0 0 0 80px rgba(154,169,191,.04), 0 0 0 160px rgba(154,169,191,.03);
}
.cta__inner { text-align: left; }
.cta__title { font-size: clamp(2.25rem, 1.4rem + 3.8vw, 4.75rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; max-width: 20ch; }
.cta__title span { color: var(--green-400); }
.cta__words { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin: var(--space-7) 0; }
.cta__words li {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  align-items: center;
}
.cta__words li + li::before { content: ""; width: 5px; height: 5px; margin-right: var(--space-6); border-radius: 50%; background: var(--green-400); }
.btn--lg { min-height: 56px; padding: 0 var(--space-6); font-size: var(--fs-md); }

/* ---------- CONTACTO ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--space-8); align-items: start; }
.contact__intro h2 { font-size: var(--fs-h2); color: var(--navy); }
.contact__intro > p { margin-top: var(--space-5); font-size: var(--fs-lg); }
.contact__channels { margin-top: var(--space-7); display: grid; gap: var(--space-4); }
.contact__channels li { display: flex; align-items: center; gap: var(--space-4); }
.contact__channels .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--bg-alt); color: var(--navy); flex-shrink: 0; }
.contact__channels small { display: block; font-size: var(--fs-xs); color: var(--text-muted); letter-spacing: .08em; text-transform: uppercase; }

.form {
  display: grid;
  gap: var(--space-5);
  padding: clamp(1.25rem, .8rem + 2vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.field { display: grid; gap: var(--space-2); align-content: start; }
.field label { font-size: var(--fs-sm); font-weight: 500; color: var(--navy); }
.field label span { color: var(--green); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 16px; /* evita zoom en iOS */
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231D365E' stroke-width='1.5'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(29, 54, 94, .12);
}
.field [aria-invalid="true"] { border-color: #B42318; }
.field__error { min-height: 0; font-size: var(--fs-xs); color: #B42318; }
.field__error:empty { display: none; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: var(--space-3); }
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--green); }
.field--check label { font-weight: 400; color: var(--text-muted); }
.field--check .field__error { grid-column: 2; }
.form__note { font-size: var(--fs-xs); color: var(--text-muted); }
.form .btn { justify-self: start; }
.form__status { font-size: var(--fs-sm); color: var(--navy); }
.form__status:empty { display: none; }
.form__status.is-success { padding: var(--space-4); border-radius: var(--radius-sm); background: rgba(6, 132, 63, .08); color: #05602E; }

/* ---------- FOOTER ---------- */
.footer { padding-block: var(--space-8) var(--space-6); background: var(--bg-alt); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-7); }
.footer__brand img { height: 48px; width: auto; }
.footer__brand p { margin-top: var(--space-3); max-width: 22rem; color: var(--text-muted); }
.footer__loc { font-size: var(--fs-sm); }
.footer__title { font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--space-4); }
.footer ul { display: grid; gap: var(--space-2); }
.footer a { color: var(--navy); text-decoration: none; font-size: var(--fs-sm); }
.footer a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.footer__contact { font-size: var(--fs-sm); color: var(--text-muted); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .process__steps { grid-template-columns: repeat(3, 1fr); row-gap: var(--space-7); }
  .process__rail { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .about__grid, .services__grid, .mission__grid, .people__grid, .contact__grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .services__head { position: static; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .stages { grid-template-columns: 1fr; gap: 0; }
  .stages::before { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--green) 0 18%, var(--line) 18%); }
  .stage { padding: 0 0 var(--space-6) var(--space-7); }
}

@media (max-width: 767px) {
  .hero__visual { max-width: 380px; }
  .purpose__statement { font-size: 1.625rem; }
  .hero__actions .btn { width: 100%; }
  .hero__meta { margin-top: var(--space-6); }

  /* Cadena de propósito en vertical */
  .chain { flex-direction: column; gap: var(--space-4); padding-top: 0; padding-left: var(--space-6); }
  .chain::before { top: 6px; bottom: 6px; left: 5px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--steel), var(--green)); }
  .chain__item::before { top: 50%; left: calc(var(--space-6) * -1); transform: translateY(-50%); }
  .chain__item--core::before { top: 50%; left: calc(var(--space-6) * -1 - 2px); }

  .service { grid-template-columns: 2.75rem 1fr; padding-right: 0; }
  .service__num { display: none; }
  .service:hover { padding-left: 0; background: transparent; }

  /* Proceso: línea vertical que progresa con el scroll */
  .process__steps { grid-template-columns: 1fr; row-gap: 0; }
  .process__rail { display: block; top: 28px; bottom: 28px; left: 27px; right: auto; width: 1px; height: auto; }
  .process__rail-fill { width: 100%; height: 100%; transform: scaleY(var(--progress)); transform-origin: top; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: var(--space-5); padding-bottom: var(--space-6); }
  .step__dot { grid-row: span 3; }
  .step__num { margin-top: var(--space-1); }

  .horizon { height: 150px; }
  .horizon__marks li:not(:first-child):not(:last-child) { font-size: var(--fs-xs); }
  .horizon__marks li:nth-child(2), .horizon__marks li:nth-child(4) { display: none; }

  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { padding: var(--space-5); display: grid; grid-template-columns: 3.5rem 1fr; column-gap: var(--space-3); }
  .pillar__num { grid-row: span 2; font-size: 2rem; }
  .pillar h3 { margin-top: 0; }

  .people__list { grid-template-columns: 1fr; }
  .dimensions { grid-template-columns: 1fr; gap: var(--space-7); }
  .dimension h3 { font-size: 2rem; margin-top: var(--space-4); }

  .global .label { font-size: 26px; letter-spacing: .08em; }

  .cta__words { gap: var(--space-2) var(--space-5); }
  .cta__words li + li::before { display: none; }
  .cta .btn { width: 100%; }

  .form__row { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* ---------- WhatsApp ---------- */
.contact__link { color: var(--navy); font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.contact__channels li > span, .footer li { min-width: 0; overflow-wrap: anywhere; }
.contact__link:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

.wa-float {
  position: fixed;
  right: max(var(--space-4), env(safe-area-inset-right, 0px));
  bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 52px;
  padding: 0 var(--space-5) 0 var(--space-4);
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-sm);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(10, 21, 40, .18);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.wa-float .icon { width: 24px; height: 24px; }
.wa-float:hover { background: #056B33; transform: translateY(-2px); }
body.menu-open .wa-float { display: none; }

@media (max-width: 767px) {
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- Fotografía ---------- */
.photo-band {
  position: relative;
  margin: 0;
  height: clamp(260px, 42vw, 620px);
  overflow: hidden;
  background: var(--navy-950);
}
.photo-band img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 62%; }
.photo-band figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding-block: var(--space-8) var(--space-5);
  background: linear-gradient(180deg, rgba(10, 21, 40, 0), rgba(10, 21, 40, .72));
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  letter-spacing: -.01em;
}
.photo-band figcaption .container { display: block; }

.services__photo {
  margin: var(--space-7) 0 0;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-950);
}
.services__photo img,
.services__video { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }

/* Fondos fotográficos con velo de marca: el texto conserva su contraste */
.has-bg { isolation: isolate; overflow: hidden; }
.has-bg > .bg { position: absolute; inset: 0; z-index: -2; background: var(--navy-950); }
.has-bg > .bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.has-bg > .bg::after { content: ""; position: absolute; inset: 0; background: var(--bg-veil); }
.process { --bg-veil: linear-gradient(180deg, rgba(10, 21, 40, .9) 0%, rgba(10, 21, 40, .78) 100%); }
.global { --bg-veil: linear-gradient(180deg, rgba(10, 21, 40, .86) 0%, rgba(10, 21, 40, .68) 55%, rgba(10, 21, 40, .9) 100%); }
.cta { --bg-veil: linear-gradient(100deg, rgba(29, 54, 94, .95) 0%, rgba(29, 54, 94, .86) 55%, rgba(29, 54, 94, .7) 100%); }
.process .step__dot { background: rgba(10, 21, 40, .9); }

.footer__credits { flex-basis: 100%; }

/* ---------- Nuestra sede ---------- */
.hq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
  margin-top: var(--section-y);
  padding-top: var(--space-8);
  border-top: 1px solid var(--line);
}
.hq__title { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); color: var(--navy); max-width: 18ch; }
.hq__card {
  display: grid;
  justify-items: start;
  gap: var(--space-1);
  margin-top: var(--space-6);
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  font-style: normal;
}
.hq__pin { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--space-3); border-radius: 50%; background: rgba(6, 132, 63, .1); color: var(--green); }
.hq__org { font-family: var(--font-display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: var(--fs-sm); color: var(--navy); }
.hq__kind { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.hq__addr { margin: var(--space-3) 0 var(--space-5); font-size: var(--fs-lg); line-height: 1.5; color: var(--text); }

.map-frame {
  position: relative;
  margin: 0;
  height: 420px;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -24px rgba(10, 21, 40, .35);
  background:
    radial-gradient(circle at 50% 46%, rgba(6, 132, 63, .18) 0 18px, transparent 19px),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(154, 169, 191, .35) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 62px, rgba(154, 169, 191, .35) 62px 64px),
    var(--mist);
}
.map-frame__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.35) saturate(.85) contrast(.96);
  transition: filter .4s var(--ease);
}
.map-frame:hover .map-frame__iframe { filter: none; }
.map-frame__tag {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  max-width: calc(100% - 2 * var(--space-4));
  padding: var(--space-2) var(--space-4) var(--space-2) var(--space-3);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  letter-spacing: .02em;
  box-shadow: 0 6px 18px rgba(10, 21, 40, .25);
  pointer-events: none;
}
.map-frame__tag .icon { width: 16px; height: 16px; color: var(--green-400); flex-shrink: 0; }

.footer__hq { margin-top: var(--space-4); font-style: normal; font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.6; }
.footer__hq strong { color: var(--navy); font-weight: 600; }

@media (max-width: 1023px) {
  .hq { grid-template-columns: 1fr; gap: var(--space-6); }
  .map-frame { height: 360px; }
}
@media (max-width: 767px) {
  .map-frame { height: 300px; }
  .hq__card { width: 100%; }
  .hq__card .btn { width: 100%; }
}
/* Vista sin iframe (vista previa compartida): enlace centrado sobre el plano */
.map-frame__open {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, calc(-100% - 26px));
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: 999px;
  background: var(--surface);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-sm);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(10, 21, 40, .18);
}
.map-frame__open:hover { color: var(--green); }
.map-frame__open .icon { width: 18px; height: 18px; }
/* ---------- Hero: globo animado ---------- */
.hero-globe { max-width: 640px; justify-self: end; width: 100%; }
.hero-globe__svg {
  width: 100%;
  height: auto;
  overflow: hidden;
  /* Funde los bordes de la imagen con el fondo de la página */
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 52%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 70% at 50% 52%, #000 62%, transparent 100%);
}
.hero-globe__float { animation: globe-float 7s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes globe-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.comet {
  fill: none;
  stroke: #7CF0B2;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: .07 .93;
  stroke-dashoffset: 0;
  opacity: 0;
  animation: comet 3.2s cubic-bezier(.45, .05, .35, 1) infinite;
}
.hero-globe__comets--glow .comet { stroke: #2FB56A; stroke-width: 14; opacity: .55; }
.hero-globe__comets .comet:nth-child(2) { animation-delay: 1.05s; }
.hero-globe__comets .comet:nth-child(3) { animation-delay: 2.1s; }
/* De cada continente hacia Colombia */
@keyframes comet {
  from { stroke-dashoffset: 0; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  to { stroke-dashoffset: 1.07; opacity: 0; }
}
.ping {
  fill: none;
  stroke: #2FB56A;
  stroke-width: 2.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: ping 2.8s ease-out infinite;
}
.ping--origin { stroke: #06843F; stroke-width: 3; }
.ping--late { animation-delay: 1.4s; }
@keyframes ping {
  0% { transform: scale(.5); opacity: .9; }
  100% { transform: scale(3.2); opacity: 0; }
}
@media (max-width: 1023px) {
  .hero-globe { justify-self: center; max-width: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-globe__float, .ping { animation: none; }
  .comet { animation: none; opacity: 0; }
}

/* ---------- Franja del buque: video ---------- */
.photo-band__video {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center 55%;
  filter: saturate(.8);
}
.photo-band figcaption { z-index: 1; }

/* Videos: fundido de entrada en cuanto hay imagen (sin foto previa) */
[data-bg-video] { opacity: 0; transition: opacity .6s var(--ease); }
[data-bg-video].is-ready { opacity: 1; }
.no-js [data-bg-video] { opacity: 1; }