/* ============================================
   TRIBUTOS DEL SUR — hoja de estilos
   ============================================ */

:root {
  --navy-deep: #20232F;
  --navy: #333952;
  --blue: #386BAC;
  --blue-soft: #6E93C4;
  --blue-pale: #E8F0FA;
  --lavender: #A3ABBE;
  --mist: #ECECEE;
  --white: #FFFFFF;
  --ink: #20232F;

  --font-display: 'Titillium Web', sans-serif;
  --font-body: 'Barlow Condensed', sans-serif;

  --section-pad-y: 7rem;
  --section-pad-y-mobile: 4.5rem;
  --edge-cut: 64px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  margin: 0;
  letter-spacing: 0.01em;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  display: block;
}

.section-heading {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

/* Visually hidden (skip link target text, a11y helpers) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-deep);
  color: var(--white);
  padding: 12px 20px;
  z-index: 200;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--blue-soft);
  outline-offset: 3px;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav.is-scrolled {
  background: rgba(32,35,47,0.94);
  backdrop-filter: blur(6px);
  padding: 14px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.18);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
}
.nav-brand img { width: 34px; height: 34px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: #D7DAE6;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--white); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { width: 100%; }

.nav-cta {
  border: 1px solid rgba(255,255,255,0.55);
  color: var(--white);
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.nav-cta:hover, .nav-cta:focus-visible {
  background: var(--white);
  color: var(--navy-deep);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
}
.mobile-close {
  position: absolute;
  top: 24px; right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 30px;
  cursor: pointer;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 96%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%; left: -8%;
  width: 46%; height: 46%;
  background: var(--navy);
  clip-path: polygon(0 0, 100% 0, 30% 100%, 0 78%);
  opacity: 0.6;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 90px;
  max-width: 760px;
}
.hero-copy .eyebrow { color: var(--blue-soft); }
.hero-copy h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 1.6rem;
}
.hero-copy p {
  font-size: 20px;
  line-height: 1.6;
  color: #C7CCDE;
  max-width: 54ch;
  margin-bottom: 2.4rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--blue-soft);
  transform: translateX(3px);
}

.scroll-hint {
  position: absolute;
  bottom: 42px; left: 32px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #8B93B0;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.scroll-hint .line {
  width: 34px; height: 1px;
  background: #8B93B0;
}

/* ============ GENERIC SECTION ============ */
.section {
  position: relative;
  padding: var(--section-pad-y) 0;
}
.section-blue { background: var(--blue); color: var(--white); }
.section-blue .eyebrow { color: #D9E6F5; }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy .eyebrow { color: var(--lavender); }
.section-mist { background: var(--mist); color: var(--ink); }
.section-mist .eyebrow { color: var(--blue); }

.cut-tl-br { clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%); margin-top: -60px; }
.cut-bl-tr { clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%); margin-top: -60px; }

/* ============ NOSOTROS / MISION ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.about-grid p {
  font-size: 19px;
  line-height: 1.65;
  color: #EAF0F9;
}
.about-grid .divider-label {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 13px;
  color: #D9E6F5;
  margin-bottom: 0.8rem;
  display: block;
}

/* ============ EQUIPO ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 2.5rem;
}
.team-card {
  background: var(--white);
  border-radius: 4px;
  padding: 30px 26px;
  border-top: 3px solid var(--blue);
  box-shadow: 0 12px 30px rgba(32,35,47,0.06);
}
.team-card h3 {
  font-size: 21px;
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: 4px;
  color: var(--navy-deep);
}
.team-card .role {
  font-size: 14px;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  display: block;
}
.team-card p.bio {
  font-size: 16px;
  line-height: 1.55;
  color: #4B5066;
}

/* ============ SERVICIOS (accordion) ============ */
.accordion { margin-top: 2.5rem; }
.acc-item {
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.acc-item:first-child { border-top: 1px solid rgba(255,255,255,0.16); }
.acc-trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 400;
  text-align: left;
}
.acc-trigger .num {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--lavender);
  font-weight: 600;
  margin-right: 18px;
}
.acc-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
}
.acc-icon::before, .acc-icon::after {
  content: '';
  position: absolute;
  background: var(--white);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.acc-icon::before { width: 16px; height: 1.6px; }
.acc-icon::after { width: 1.6px; height: 16px; transition: transform 0.3s var(--ease); }
.acc-item.is-open .acc-icon::after { transform: translate(-50%,-50%) rotate(90deg); }

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.acc-item.is-open .acc-panel { max-height: 900px; }
.acc-panel-inner {
  padding: 0 4px 30px 4px;
}
.acc-panel-inner ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 12px;
}
.acc-panel-inner li {
  font-size: 17px;
  line-height: 1.5;
  color: #CDD2E2;
  padding-left: 22px;
  position: relative;
}
.acc-panel-inner li::before {
  content: '›';
  position: absolute;
  left: 0; top: -2px;
  color: var(--blue-soft);
  font-size: 18px;
}

/* ============ CHILE-ARGENTINA ============ */
.binational {
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  padding: 44px;
  margin-top: 2.5rem;
  background: rgba(255,255,255,0.05);
}
.bi-intro {
  font-size: 19px;
  line-height: 1.65;
  color: #EAF0F9;
  max-width: 70ch;
  margin-bottom: 2.6rem;
}
.bi-columns {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
}
.bi-subhead {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FBE7B8;
  margin-bottom: 1rem;
  display: block;
}
.bi-columns ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 14px;
}
.bi-columns li {
  font-size: 16.5px;
  line-height: 1.5;
  color: #E3EAF6;
}
.bi-who li {
  padding-left: 0;
  border-left: 2px solid var(--blue-soft);
  padding-left: 16px;
}
.bi-how li {
  padding-left: 22px;
  position: relative;
}
.bi-how li::before {
  content: '›';
  position: absolute;
  left: 0; top: -1px;
  color: #FBE7B8;
}
.bi-footnote {
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.25);
  font-size: 13.5px;
  color: #B8C4DC;
  line-height: 1.6;
}

/* ============ AUDIENCE STRIP ============ */
.audience {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2.2rem;
}
.audience span {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  padding: 8px 18px;
}

/* ============ RECURSOS ============ */
.resources-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  margin-top: 2.5rem;
  align-items: start;
}
.indicators-card {
  background: var(--white);
  border-radius: 6px;
  padding: 32px 30px;
  box-shadow: 0 12px 30px rgba(32,35,47,0.06);
}
.indicators-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 8px;
}
.indicators-title h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-deep);
}
.indicators-updated {
  font-size: 13px;
  color: #8B93A6;
}
.indicators-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.indicators-country {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}
.indicator-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #EDEEF2;
}
.indicator-row .name {
  font-size: 16px;
  color: #4B5066;
}
.indicator-row .value {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy-deep);
}
.indicators-source {
  margin-top: 18px;
  font-size: 12.5px;
  color: #9AA0B0;
}
.indicators-loading, .indicators-error {
  font-size: 15px;
  color: #8B93A6;
  padding: 8px 0;
}

.sources-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
}
.sources-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-radius: 4px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-deep);
  box-shadow: 0 6px 18px rgba(32,35,47,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.sources-list a:hover, .sources-list a:focus-visible {
  transform: translateX(4px);
  box-shadow: 0 10px 24px rgba(32,35,47,0.09);
}
.sources-list .tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.04em;
}

.notes-block { margin-top: 44px; }
.notes-block .indicators-title h3 { margin-bottom: 0; }
.note-item {
  padding: 18px 0;
  border-bottom: 1px solid #E2E4EC;
}
.note-item:first-of-type { padding-top: 18px; border-top: 1px solid #E2E4EC; }
.note-item .note-date {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
  text-transform: uppercase;
}
.note-item h4 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-deep);
  margin: 6px 0 4px;
}
.note-item p {
  font-size: 15.5px;
  line-height: 1.5;
  color: #565C72;
}

.subsection-title {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 16px;
}
.links-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 2.8rem;
}

.guide-block { margin-top: 3.2rem; }
.guide-intro {
  font-size: 17px;
  line-height: 1.6;
  color: #4B5066;
  max-width: 68ch;
  margin-bottom: 1.8rem;
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.guide-card {
  background: var(--white);
  border-radius: 6px;
  padding: 28px 26px;
  box-shadow: 0 12px 30px rgba(32,35,47,0.06);
}
.guide-card .flag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
  display: block;
}
.guide-card h4 {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 16px;
}
.guide-steps {
  list-style: none;
  margin: 0 0 16px; padding: 0;
  counter-reset: step;
}
.guide-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 34px;
  margin-bottom: 16px;
  font-size: 15.5px;
  line-height: 1.5;
  color: #4B5066;
}
.guide-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-steps li strong { color: var(--navy-deep); }
.guide-note {
  font-size: 14px;
  color: #8B93A6;
  line-height: 1.5;
  border-top: 1px solid #EDEEF2;
  padding-top: 14px;
}
.guide-caveat {
  margin-top: 1.8rem;
  font-size: 14.5px;
  color: #7B8194;
  line-height: 1.6;
}
.guide-caveat a { color: var(--blue); font-weight: 600; }

.jp-coming {
  margin-top: 2.8rem;
  border: 1px dashed #C7CCDA;
  border-radius: 6px;
  padding: 24px 26px;
  color: #6B7290;
  font-size: 15.5px;
  line-height: 1.55;
}
.jp-coming strong { color: var(--navy-deep); }

.simulator {
  margin-top: 3.2rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.25);
}
.sim-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 2.2rem;
}
.sim-group label.sim-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FBE7B8;
  margin-bottom: 10px;
}
.sim-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sim-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.3);
  color: #E3EAF6;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.sim-pill:hover { border-color: #fff; }
.sim-pill.is-active {
  background: var(--white);
  color: var(--navy-deep);
  border-color: var(--white);
}
.sim-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.sim-col {
  border-radius: 6px;
  padding: 24px 22px;
}
.sim-col.baseline {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
}
.sim-col.advised {
  background: rgba(255,255,255,0.1);
  border: 1px solid #FBE7B8;
}
.sim-col-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.sim-col.baseline .sim-col-title { color: #B8C4DC; }
.sim-col.advised .sim-col-title { color: #FBE7B8; }
.sim-row {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.sim-row:last-child { border-bottom: none; }
.sim-row .dim {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9AA6C4;
  margin-bottom: 4px;
}
.sim-row .val {
  font-size: 15.5px;
  line-height: 1.45;
  color: #EAF0F9;
}
.sim-caveat {
  margin-top: 1.6rem;
  font-size: 14px;
  color: #C7CCDE;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.sim-caveat .btn-primary { padding: 11px 22px; font-size: 15px; }

/* ============ CONTACTO ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  margin-top: 2.5rem;
  align-items: start;
}
.contact-info p {
  font-size: 18px;
  line-height: 1.6;
  color: #4B5066;
  margin-bottom: 1.8rem;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.6rem;
}
.contact-detail .label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.contact-detail a, .contact-detail span.value {
  font-size: 18px;
  color: var(--navy-deep);
  font-weight: 500;
}
.contact-detail a:hover { color: var(--blue); }

.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.form-field input, .form-field textarea {
  width: 100%;
  border: 1px solid #C7CCDA;
  background: var(--white);
  border-radius: 4px;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(56,107,172,0.15);
}
.form-note {
  font-size: 13px;
  color: #7B8194;
  margin-top: 6px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--navy-deep);
  color: #9199B4;
  padding: 60px 0 34px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 30px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
}
.footer-brand img { width: 30px; height: 30px; }
.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.footer-links a { font-size: 15px; color: #B7BCD1; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: #6B7290;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============ REVEAL ON SCROLL ============ */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.will-animate {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.will-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .hero-copy p { max-width: none; }
  .hero { clip-path: none; min-height: auto; padding-bottom: 60px; }
  .scroll-hint { display: none; }

  /* Diagonal cuts read as text-collision risk once content stacks on mobile —
     drop to plain rectangular section edges here, keep the diagonals for desktop. */
  .cut-tl-br, .cut-bl-tr {
    clip-path: none;
    margin-top: 0;
  }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr; }
  .bi-columns { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .resources-grid { grid-template-columns: 1fr; gap: 36px; }
  .indicators-cols { grid-template-columns: 1fr; gap: 18px; }
  .links-2col { grid-template-columns: 1fr; gap: 24px; }
  .guide-grid { grid-template-columns: 1fr; gap: 22px; }
  .sim-controls { grid-template-columns: 1fr; gap: 20px; }
  .sim-result { grid-template-columns: 1fr; gap: 16px; }

  .section { padding: var(--section-pad-y-mobile) 0; }
  .binational { padding: 28px; }

  .footer-top { flex-direction: column; gap: 22px; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .container { padding: 0 22px; }
  .hero-copy h1 { font-size: 2.4rem; }
}
