/* ============================================================
   LATIDOS — shared stylesheet
   Tokens (CSS variables) + semantic component classes.
   Used by index.html, programa.html, universities.html, about.html
   ============================================================ */

:root {
  /* Brand palette */
  --navy: #183D55;
  --navy-600: #2B5E7C;
  --navy-700: #102F45;
  --cream: #f5f7f2;
  --slate: #3e5c7c;
  --slate-2: #4a6b8a;
  --slate-3: #33506e;
  --teal: #2bbfb0;
  --gold: #d4a843;
  --gold-dark: #c0953b;
  --gold-text: #8F6E24;
  --blue: #3A7892;
  --mist: #ebf4fb;
  --mint: #e8f5f3;
  --sand: #fdf6e3;
  --line: #d0dde8;
  --line-2: #d7e1ec;
  --ink-soft: #cfe0f0;
  --footer-bg: #edf1f7;

  --maxw: 1200px;
  --font-head: "Libre Franklin", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;

  /* Checkmark / cross glyphs drawn in CSS (no inline SVGs) */
  --mark-check: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="13" height="10" viewBox="0 0 13 10" fill="none"><path d="M1 5L4.8 8.5L12 1" stroke="%232BBFB0" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  --mark-check-gold: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="13" height="10" viewBox="0 0 13 10" fill="none"><path d="M1 5L4.8 8.5L12 1" stroke="%23D4A843" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  --mark-x: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10" fill="none"><path d="M1 1L9 9M9 1L1 9" stroke="%23C08A8A" stroke-width="1.8" stroke-linecap="round"/></svg>');
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--slate);
}
a {
  text-decoration: none;
  color: inherit;
}
svg {
  display: block;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
button {
  font-family: var(--font-body);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 26px;
}
.container.w-1100 {
  max-width: 1100px;
}
.container.w-1000 {
  max-width: 1000px;
}
.container.w-900 {
  max-width: 900px;
}
.container.w-880 {
  max-width: 880px;
}
.container.w-840 {
  max-width: 840px;
}

.section {
  padding-block: clamp(64px, 8vw, 108px);
}
.section.pad-lg {
  padding-block: clamp(72px, 9vw, 120px);
}
.section.pad-xl {
  padding-block: clamp(76px, 10vw, 128px);
}
.section.pad-sm {
  padding-block: clamp(56px, 7vw, 96px);
}
.section.pad-cta {
  padding-block: clamp(64px, 8vw, 104px);
}
.section.pad-hero {
  padding-block: clamp(52px, 6vw, 84px);
}
.scroll-anchor {
  scroll-margin-top: 140px;
}

/* Backgrounds */
.bg-cream {
  background: var(--cream);
}
.bg-mist {
  background: var(--mist);
}
.bg-mint {
  background: var(--mint);
}
.bg-sand {
  background: var(--sand);
}
.bg-navy {
  background: var(--navy);
  color: var(--cream);
}
.bg-hero {
  background: radial-gradient(
    125% 100% at 80% -10%,
    var(--navy-600) 0%,
    var(--navy) 55%
  );
  color: var(--cream);
}
.bg-hero.home {
  background: radial-gradient(
    125% 90% at 85% -5%,
    var(--navy-600) 0%,
    var(--navy) 52%
  );
}

/* Two-column split */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: var(--split-gap, clamp(36px, 4vw, 64px));
  align-items: center;
}
.split.g72 {
  --split-gap: clamp(40px, 5vw, 72px);
}
.split.g68 {
  --split-gap: clamp(36px, 5vw, 68px);
}
.split.g56 {
  --split-gap: clamp(32px, 4vw, 56px);
}
.split.min340 {
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
}
.split.min420 {
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
}
.split.min430 {
  grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr));
}

/* Argentina section layout helpers */
#argentina .argentina-grid {
  --split-gap: clamp(20px, 2.6vw, 24px);
  margin-bottom: clamp(48px, 6vw, 80px);
  align-items: stretch;
}

#argentina .argentina-card {
  height: auto;
}

#argentina .argentina-photo {
  height: auto;
  min-height: 0;
  align-self: stretch;
}

.photo--facultad {
  padding: 0;
  background: transparent;
  border: none;
  position: relative;
  overflow: hidden;
}

.photo--facultad > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (min-width: 760px) and (max-width: 940px) {
  .photo--facultad > img {
    object-position: center 22%;
  }
}

#argentina .argentina-fs14 {
  font-size: 14px;
}

/* Auto-fit card grid; tune density with --min */
.auto-grid {
  display: grid;
  gap: var(--grid-gap, 20px);
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(var(--min, 300px), 100%), 1fr)
  );
}
.auto-grid.m180 {
  --min: 180px;
}
.auto-grid.m200 {
  --min: 200px;
}
.auto-grid.m220 {
  --min: 220px;
}
.auto-grid.m230 {
  --min: 230px;
}
.auto-grid.m250 {
  --min: 250px;
}
.auto-grid.m280 {
  --min: 280px;
}
.auto-grid.m300 {
  --min: 300px;
}
.auto-grid.m320 {
  --min: 320px;
}
.auto-grid.m330 {
  --min: 330px;
}
.auto-grid.m360 {
  --min: 360px;
}
.auto-grid.gap-14 {
  --grid-gap: 14px;
}
.auto-grid.gap-16 {
  --grid-gap: 16px;
}
.auto-grid.gap-18 {
  --grid-gap: 18px;
}
.auto-grid.gap-24 {
  --grid-gap: 24px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Section heading block */
.head {
  margin-bottom: 48px;
}
.head.measure {
  max-width: 760px;
}
.head.w620 {
  max-width: 620px;
}
.head.w640 {
  max-width: 640px;
}
.head.w720 {
  max-width: 720px;
}
.head.w780 {
  max-width: 780px;
}
.head.center {
  text-align: center;
}

.measure-560 {
  max-width: 560px;
}
.measure-660 {
  max-width: 660px;
}
.measure-680 {
  max-width: 680px;
}
.measure-760 {
  max-width: 760px;
}
.measure-820 {
  max-width: 820px;
}
.measure-900 {
  max-width: 900px;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.eyebrow.gold {
  color: var(--gold);
}
.eyebrow.sand {
  color: var(--gold-text);
}

.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.kicker.families {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold-text);
  margin-bottom: 10px;
}
.kicker.gold {
  color: var(--gold);
  margin-bottom: 14px;
}

.h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 20px;
  text-wrap: balance;
}
.h1.home {
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  line-height: 1.06;
}

.h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 16px;
  text-wrap: balance;
}
.h2.sm {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.h2.lg {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.2;
}
.h2.on-dark {
  color: var(--cream);
}

.h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 18px;
}

.card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}
.card-title.s17 {
  font-size: 17px;
}
.card-title.s19 {
  font-size: 19px;
}
.card-title.s20 {
  font-size: 20px;
}
.card-title.s175 {
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0;
}

/* Lead paragraph */
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--slate);
}
.lead.tight {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}
.lead.on-dark {
  color: var(--ink-soft);
}

/* Big statement paragraph (Libre Franklin) */
.statement {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.7vw, 2.1rem);
  line-height: 1.28;
  color: var(--navy);
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.statement.s185 {
  font-size: clamp(1.3rem, 2.3vw, 1.85rem);
  line-height: 1.32;
}
.statement.s195 {
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  line-height: 1.32;
}

/* Body copy */
.body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--slate-2);
}
.body.s145 {
  font-size: 14.5px;
  line-height: 1.6;
}
.body.s155 {
  font-size: 15.5px;
}
.body.s16 {
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate);
}
.body.slate {
  color: var(--slate);
}
.body.navy {
  color: var(--navy);
  font-weight: 600;
}
.body.on-dark {
  color: var(--ink-soft);
}
.body.italic {
  font-style: italic;
  font-size: 14px;
}

.note-strong {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  color: var(--gold);
}

/* spacing helpers */
.mt-10 {
  margin-top: 10px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-20 {
  margin-top: 20px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-30 {
  margin-top: 30px;
}
.mb-8 {
  margin-bottom: 8px;
}
.mb-10 {
  margin-bottom: 10px;
}
.mb-12 {
  margin-bottom: 12px;
}
.mb-14 {
  margin-bottom: 14px;
}
.mb-16 {
  margin-bottom: 16px;
}
.mb-18 {
  margin-bottom: 18px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mb-22 {
  margin-bottom: 22px;
}
.mb-24 {
  margin-bottom: 24px;
}
.mb-26 {
  margin-bottom: 26px;
}
.mb-28 {
  margin-bottom: 28px;
}
.mb-30 {
  margin-bottom: 30px;
}
.mb-36 {
  margin-bottom: 36px;
}
.mb-44 {
  margin-bottom: 44px;
}
.mb-48 {
  margin-bottom: 48px;
}
.mb-52 {
  margin-bottom: 52px;
}
.mb-0 {
  margin-bottom: 0;
}

.divider-top {
  border-top: 1px solid #d4e4f2;
  padding-top: 24px;
  margin-top: 30px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
}
.btn.lg {
  font-size: 15.5px;
  padding: 15px 28px;
}
.btn.nav-btn {
  font-size: 14.5px;
  padding: 11px 22px;
}
.btn.sm {
  font-size: 14px;
  padding: 11px 20px;
}
.btn.block {
  width: 100%;
  padding: 14px;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover {
  background: var(--gold-dark);
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
  font-weight: 600;
  border: 1.5px solid rgba(245, 247, 242, 0.45);
}
.btn--ghost:hover {
  background: rgba(245, 247, 242, 0.1);
  border-color: var(--cream);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-row.center {
  justify-content: center;
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 28px;
}
.card.pad {
  padding: clamp(26px, 3vw, 36px);
}
.card.pad-lg {
  padding: clamp(28px, 3.4vw, 40px);
}
.card.pad-xl {
  padding: clamp(30px, 3.6vw, 44px);
}
.card.soft {
  border-radius: 16px;
  padding: 26px;
}
.card.soft.compact {
  padding: 18px 20px;
  border-radius: 14px;
}
.card.r14 {
  border-radius: 14px;
  padding: 22px;
}
.card.accent-teal {
  border: 1.5px solid var(--teal);
}
.card.accent-blue {
  border: 1.5px solid var(--blue);
}
.card.navy {
  background: var(--navy);
  color: var(--cream);
  border: none;
}
.card.sand {
  background: var(--sand);
  border-color: #efe3c2;
}
.card.mint {
  background: var(--mint);
  border-color: #cfe9e4;
  border-radius: 20px;
  padding: clamp(30px, 4vw, 48px);
}

/* Highlight band */
.band {
  background: var(--navy);
  border-radius: 20px;
  padding: clamp(28px, 3.5vw, 42px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: baseline;
}
.band__strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  color: var(--cream);
}
.band__alt {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  color: var(--gold);
}
.home-clinical-note .band__strong {
  color: var(--navy);
}
.home-clinical-note .band__alt {
  color: var(--gold-text);
}
.who-closing-note {
  border: 3px solid var(--teal);
}
.who-closing-note .body {
  color: var(--navy);
  opacity: 0.82;
}

#requirements .band {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  gap: 8px 10px;
  text-align: center;
  padding: clamp(18px, 2.2vw, 26px);
  border-radius: 14px;
  background: transparent;
  border: 2px solid var(--navy);
}

#requirements .band__strong {
  color: var(--navy);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

#requirements .band__alt {
  color: var(--gold-text);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}

.panel {
  background: var(--navy);
  border-radius: 20px;
  padding: clamp(32px, 4vw, 56px);
  color: var(--cream);
}
.panel.r22 {
  border-radius: 22px;
}

/* ---------- Check lists (CSS-drawn glyphs) ---------- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.check-list.gap-10 {
  gap: 10px;
}
.check-list.gap-11 {
  gap: 11px;
}
.check-list.gap-12 {
  gap: 12px;
}
.check-list.gap-15 {
  gap: 15px;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--slate-2);
}
.check::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-top: 2px;
  background: var(--mint) var(--mark-check) no-repeat center / 9px 7px;
}
/* size / color variants */
.check.x::before {
  background: #f1e7e7 var(--mark-x) no-repeat center / 8px 8px;
}
.check.gold::before {
  background: #fbf1d9 var(--mark-check-gold) no-repeat center / 9px 7px;
}

.check.md {
  font-size: 16px;
  color: var(--slate-3);
}
.check.md::before {
  width: 24px;
  height: 24px;
  background-size: 12px 9px;
  margin-top: 1px;
}

.check.lg {
  font-size: 16px;
  color: var(--slate-3);
  gap: 13px;
}
.check.lg::before {
  width: 26px;
  height: 26px;
  background-size: 13px 10px;
  margin-top: 1px;
}

.check.included {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--navy);
  font-weight: 500;
  gap: 12px;
}
.check.included::before {
  width: 24px;
  height: 24px;
  background-color: #fff;
  background-size: 12px 9px;
}

.check.strong {
  color: var(--navy);
  font-weight: 600;
}

.check.dark {
  font-size: 15.5px;
  color: var(--slate-2);
  gap: 11px;
}
.check.dark::before {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  background-color: rgba(43, 191, 176, 0.2);
}

.check.on-navy {
  font-size: 15px;
  color: #e4edf6;
  gap: 11px;
}
.check.on-navy::before {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  background-color: rgba(212, 168, 67, 0.22);
  background-image: var(--mark-check-gold);
}

.check.contrib {
  font-size: 15px;
  gap: 11px;
}
.check.contrib::before {
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

/* ---------- Tags / pills ---------- */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  background: var(--mist);
  padding: 7px 13px;
  border-radius: 999px;
}
.tag.white {
  background: #fff;
  border: 1px solid #efe3c2;
}
.tag.box {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 9px 18px;
  border-radius: 10px;
}

/* ---------- Stat / number cards ---------- */
.stat-card {
  background: var(--navy);
  color: var(--cream);
  border-radius: 12px;
  padding: 48px 24px 40px 24px; 
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; 
}

.stat-card__num {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--gold);
  font-size: clamp(3.2rem, 5vw, 4rem); 
  line-height: 1;
  margin-bottom: 10px;
}

.stat-card__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px; 
  margin-top: 0;
}

.stat-card__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft); 
  margin: 0;
  font-weight: 400;
}

.num-card__n {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  color: var(--teal);
  margin-bottom: 18px;
}
.value-card__n {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--teal);
  margin-bottom: 14px;
}
.value-card__t {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

/* Numbered steps */
.step {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14.5px;
  color: var(--slate-2);
}
.step__n {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Icon tile */
.icon-tile {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--mist);
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.icon-tile.sm {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--mint);
  margin-bottom: 16px;
}
.icon-tile.lg {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  margin-bottom: 20px;
}

/* Nobel / labelled rows */
.row-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--mist);
  border-radius: 12px;
  padding: 13px 16px;
}
.row-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.row-item__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--navy);
}

/* Soft tiles inside navy panel */
.soft-tile {
  background: rgba(245, 247, 242, 0.07);
  border: 1px solid rgba(245, 247, 242, 0.14);
  border-radius: 13px;
  padding: 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cream);
}
.tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.panel-divider {
  border-top: 1px solid rgba(245, 247, 242, 0.16);
  padding-top: 20px;
}
.label-up {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9fc4e6;
}
.label-up.blue {
  color: var(--blue);
}

/* Argentina "Feel Like a Local" panel */
.argentina-local {
  padding: 40px 48px;
}
.arg-local-block {
  margin-bottom: 25px;
}
.arg-local-block-mid {
  margin-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}
.arg-local-kicker {
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.arg-local-copy {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 16px;
  max-width: 100%;
}
.arg-local-copy-tight {
  margin-bottom: 14px;
}
.arg-local-label {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.arg-local-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.arg-local-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.arg-local-dot {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.arg-local-pill {
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  padding: 10px 14px;
  font-size: 13px;
  color: #e2e8f0;
  font-weight: 500;
}
.arg-local-why {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 24px 32px;
  border-left: 3px solid var(--gold);
}
.arg-local-note {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: #fff;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .arg-local-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  #argentina .argentina-photo {
    height: clamp(360px, 68vw, 500px);
    align-self: auto;
  }
}

@media (max-width: 760px) {
  .argentina-local {
    padding: 32px 24px;
  }
  .arg-local-grid {
    grid-template-columns: 1fr;
  }
  .arg-local-why {
    padding: 20px;
  }
  #argentina .argentina-photo {
  height: clamp(320px, 82vw, 440px);
  min-height: 0;
}
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid rgba(245, 247, 242, 0.12);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.16em;
  color: var(--cream);
}

.brand__name_footer {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.16em;
  color: var(--navy);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__link {
  position: relative;
  color: #cddcec;
  font-size: 15px;
  font-weight: 500;
  padding-bottom: 4px;
}
.nav__link:hover {
  color: #fff;
}
.nav__link.active {
  color: #fff;
}
.nav__link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav__link.active.shift::after {
  right: 18px;
}
.caret {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.has-drop {
  position: relative;
}
.drop {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(26, 63, 111, 0.18);
  padding: 10px;
  min-width: 248px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
}
.has-drop:hover .drop {
  opacity: 1;
  visibility: visible;
}
.drop a {
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: 10px;
}
.drop a:hover {
  background: var(--mist);
}

.burger {
  display: none;
  background: transparent;
  border: 1px solid rgba(245, 247, 242, 0.28);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--cream);
  padding: 0;
}

.nav__mobile {
  display: none;
  background: var(--navy-700);
  border-top: 1px solid rgba(245, 247, 242, 0.1);
  padding: 14px 26px 26px;
  flex-direction: column;
  gap: 2px;
}
.nav__mobile.open {
  display: flex;
}
.m-link {
  color: #e4edf6;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(245, 247, 242, 0.08);
}
.m-sub {
  padding: 9px 4px 9px 16px;
  color: #e4edf6;
  font-size: 15px;
}
.m-group {
  padding: 13px 4px 7px;
  color: #9fbbd8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 940px) {
  .nav__links {
    display: none;
  }
  .burger {
    display: inline-flex;
    position: relative;
    flex: none;
  }
  .burger svg {
    display: none;
  }
  .burger::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--cream);
    box-shadow: 0 6px 0 var(--cream), 0 -6px 0 var(--cream);
  }
}

/* ---------- Sub-nav ---------- */
.subnav {
  position: sticky;
  top: 72px;
  z-index: 90;
  background: rgba(245, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-2);
}
.subnav__row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-block: 13px;
  scrollbar-width: none;
}
.subnav__row::-webkit-scrollbar {
  display: none;
}
.subnav__link {
  flex: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 999px;
}
.subnav__link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ---------- Photo placeholder ---------- */
.photo {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: repeating-linear-gradient(
    135deg,
    #e8f1fa,
    #e8f1fa 13px,
    #deeaf6 13px,
    #deeaf6 26px
  );
}

.photo:has(> img[src]:not([src=""])) {
  padding: 0;
  background: transparent;
}

.photo:has(> img[src]:not([src=""])) > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.photo__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  text-align: center;
  max-width: 320px;
}
.photo__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--cream);
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #cfdcea;
}
.photo__desc {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
  color: #3e5b7a;
}
.photo.h-tall {
  height: clamp(360px, 34vw, 480px);
}
.photo--program {
  padding: 0;
  background: transparent;
  border: none;
}

.photo--argentina {
  padding: 0;
  background: transparent;
  border: none;
}

.photo--facultad {
  padding: 0;
  background: transparent;
  border: none;
  position: relative;
  overflow: hidden;
}

.photo--hero-home {
  padding: 0;
  background: transparent;
  border: none;
  position: relative;
}

.photo--hero-home > img {
  object-position: 85% center;
}

.photo.h-short {
  height: clamp(260px, 28vw, 380px);
}
.photo.h-hero {
  height: clamp(380px, 46vw, 520px);
}
.photo.h-hero2 {
  height: clamp(360px, 42vw, 480px);
}
.photo.h-xl {
  height: clamp(420px, 38vw, 540px);
}
.photo.h-lg {
  height: clamp(380px, 38vw, 500px);
}

/* ---------- Forms ---------- */
.form {
  background: #fff;
  border-radius: 16px;
  padding: clamp(24px, 3vw, 32px);
}
.form.anchor {
  scroll-margin-top: 150px;
}
.form__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--navy);
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: #fff;
}
.field textarea {
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
}
.field .muted {
  font-weight: 400;
  color: #7a93ad;
}
.form__note {
  font-size: 12px;
  color: #7a93ad;
  text-align: center;
}

.form-thanks {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 24px 8px;
}
.form-thanks.show {
  display: flex;
}
.form__fields.hide {
  display: none;
}
.thanks-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--mint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.thanks-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
}

/* ---------- FAQ accordion ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
}
.faq__sign {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mist);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.faq__a {
  display: none;
  padding: 0 24px 22px;
  border-top: 1px solid var(--footer-bg);
  padding-top: 16px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate-2);
  font-family: var(--font-mono);
}
.faq__a.open {
  display: block;
}
.faq-hint {
  margin-top: 36px;
  background: var(--mist);
  border: 1px dashed #b9d3ec;
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.faq-hint__i {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: 700;
}

/* ---------- Pieces ---------- */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #9fc4e6;
  background: rgba(74, 144, 196, 0.16);
  border: 1px solid rgba(74, 144, 196, 0.35);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.pill-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.center-mark {
  margin: 0 auto 28px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--line-2);
}
.footer__cols {
  padding-block: 72px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 44px;
}
.footer__brand-text {
  max-width: 340px;
}
.footer__lede {
  color: var(--slate-2);
  font-size: 14.5px;
  line-height: 1.65;
}
.footer__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer__links a {
  color: var(--slate-2);
  font-size: 14.5px;
}
.footer__links a:hover {
  color: var(--blue);
}
.footer__bar {
  padding-block: 22px 48px;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
}
.footer__bar span {
  color: #7a93ad;
  font-size: 13px;
}

/* ---------- Utilities ---------- */
.text-center {
  text-align: center;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.gap-20 {
  gap: 20px;
}

/* ---------- Program schedule template ---------- */
.schedule-scroll {
  overflow-x: auto;
  width: 100%;
}
.schedule-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.schedule-table th,
.schedule-table td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  font-size: 13.5px;
  line-height: 1.45;
}
.schedule-table th {
  background: var(--mist);
  color: var(--navy);
  font-weight: 700;
}
.schedule-table td {
  color: var(--slate-2);
}
.schedule-table td:first-child,
.schedule-table td:nth-child(2) {
  color: var(--navy);
  font-weight: 600;
  white-space: nowrap;
}



/* ============================================================
   Responsive hardening
   Keeps container gutters when an element is both .container and .section,
   tightens mobile vertical rhythm, and prevents oversized media/cards.
   ============================================================ */

/* HTML uses both hyphenated and non-hyphenated width helpers. */
.container.w1100 { max-width: 1100px; }
.container.w1000 { max-width: 1000px; }
.container.w900 { max-width: 900px; }
.container.w880 { max-width: 880px; }
.container.w840 { max-width: 840px; }

/* Empty image placeholders should not show broken-image text. */
.photo > img:not([src]),
.photo > img[src=""] {
  display: none;
}
.photo:has(> img:not([src])),
.photo:has(> img[src=""]) {
  background: repeating-linear-gradient(
    135deg,
    #e8f1fa,
    #e8f1fa 13px,
    #deeaf6 13px,
    #deeaf6 26px
  );
  border: 1px solid var(--line);
}

@media (max-width: 1024px) {
  .nav__links {
    gap: 22px;
  }

  .split,
  .split.g72,
  .split.g68,
  .split.g56 {
    gap: clamp(30px, 5vw, 48px);
  }

  .photo.h-hero,
  .photo.h-hero2,
  .photo.h-xl,
  .photo.h-lg,
  .photo.h-tall {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .container {
    padding-inline: 22px;
  }

  .nav__inner {
    height: 68px;
  }

  .brand__name {
    font-size: 18px;
    letter-spacing: 0.13em;
  }

  .burger {
    position: relative;
    flex: none;
  }
  .burger svg {
    display: none;
  }
  .burger::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--cream);
    box-shadow: 0 6px 0 var(--cream), 0 -6px 0 var(--cream);
  }

  .subnav {
    top: 68px;
  }
  .subnav__row {
    gap: 8px;
    padding-block: 10px;
  }
  .subnav__link {
    font-size: 13px;
    padding: 8px 13px;
  }

  .section,
  .section.pad-lg,
  .section.pad-xl,
  .section.pad-sm,
  .section.pad-cta,
  .section.pad-hero {
    padding-block: 54px;
  }

  .bg-hero .section,
  .bg-hero.home .section {
    padding-block: 52px 48px;
  }

  .head,
  .head.measure,
  .head.w620,
  .head.w640,
  .head.w720,
  .head.w780 {
    margin-bottom: 34px;
  }

  .h1,
  .h1.home {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.08;
    margin-bottom: 18px;
  }
  .h2,
  .h2.sm,
  .h2.lg {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
    line-height: 1.18;
  }
  .h3 {
    font-size: clamp(1.25rem, 5vw, 1.55rem);
  }
  .lead,
  .lead.tight {
    font-size: 1rem;
    line-height: 1.58;
  }
  .statement,
  .statement.s185,
  .statement.s195 {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
    line-height: 1.3;
  }

  .auto-grid,
  .split,
  .split.min340,
  .split.min420,
  .split.min430 {
    grid-template-columns: 1fr;
  }

  .card,
  .card.soft,
  .card.pad,
  .card.pad-lg,
  .card.pad-xl,
  .card.mint,
  .panel,
  .panel.r22 {
    padding: 24px !important;
    border-radius: 16px;
  }

  .photo.h-hero,
  .photo.h-hero2 {
    height: clamp(260px, 72vw, 340px);
  }
  .photo.h-xl,
  .photo.h-lg,
  .photo.h-tall {
    height: clamp(250px, 68vw, 330px);
  }
  .photo.h-short {
    height: clamp(230px, 62vw, 300px);
  }

  #argentina .argentina-photo {
    height: clamp(320px, 85vw, 460px);
    min-height: 0;
  }

  .btn-row,
  .btn-row.center {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-row .btn,
  .btn.lg {
    width: 100%;
  }

  .tile-grid,
  .form__row {
    grid-template-columns: 1fr;
  }

  .footer__cols {
    padding-block: 52px 32px;
    gap: 30px;
  }
  .footer__bar {
    padding-block: 20px 36px;
  }
}

@media (max-width: 520px) {
  .container {
    padding-inline: 18px;
  }
  .nav__mobile {
    padding-inline: 18px;
  }

  .section,
  .section.pad-lg,
  .section.pad-xl,
  .section.pad-sm,
  .section.pad-cta,
  .section.pad-hero {
    padding-block: 46px;
  }

  .bg-hero .section,
  .bg-hero.home .section {
    padding-block: 46px 42px;
  }

  .eyebrow,
  .kicker,
  .label-up {
    letter-spacing: 0.11em;
  }

  .pill-badge {
    max-width: 100%;
    white-space: normal;
  }

  .body.s16,
  .body.s155,
  .body.s145,
  .body,
  .check,
  .check.lg,
  .check.md,
  .check.included,
  .check.dark,
  .check.on-navy,
  .check.contrib {
    font-size: 14.5px;
  }

  .card,
  .card.soft,
  .card.pad,
  .card.pad-lg,
  .card.pad-xl,
  .card.mint,
  .panel,
  .panel.r22 {
    padding: 20px !important;
  }

  .band {
    flex-direction: column;
    align-items: flex-start;
  }
  #requirements .band {
    align-items: center;
  }

  .schedule-scroll {
    margin-inline: -2px;
    padding-bottom: 8px;
  }
  .schedule-table {
    min-width: 640px;
  }
  .schedule-table th,
  .schedule-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  p br {
    display: none;
  }
}

@media (max-width: 360px) {
  .container {
    padding-inline: 16px;
  }
  .brand__name {
    font-size: 17px;
    letter-spacing: 0.11em;
  }
  .h1,
  .h1.home {
    font-size: 1.9rem;
  }
  .btn {
    padding-inline: 18px;
  }
}

@media (min-width: 760px) and (max-width: 940px) {
  #argentina .photo.photo--facultad:has(> img[src]:not([src=""])) > img {
    object-position: center 18%;
  }
}