.country-page {
  --country-blue: #037ef3;
  --country-deep: #0059a8;
  --country-purple: #18b49d;
  --country-cyan: #22c6e3;
  --country-light-cyan: #9af2f1;
  --country-green: #00c16e;
  --country-ink: #0b4b7d;
  min-width: 320px;
  color: var(--country-ink);
  background: #ffffff;
}

.country-page [hidden] {
  display: none !important;
}

.country-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(20, 63, 149, 0.16);
  box-shadow: 0 8px 24px rgba(20, 63, 149, 0.08);
  backdrop-filter: blur(16px);
}

.country-brand {
  display: block;
  flex: 0 0 auto;
  width: min(300px, 34vw);
}

.country-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.country-brand-compact {
  display: none !important;
}

.country-home-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--country-blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.country-home-link span {
  font-size: 1.2rem;
  line-height: 0.8;
}

.country-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  min-height: 620px;
  padding: 86px clamp(26px, 7vw, 112px) 108px;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(112deg, rgba(0, 64, 160, 0.98) 0%, rgba(20, 63, 149, 0.9) 44%, rgba(88, 64, 120, 0.86) 100%),
    url("assets/alumni-hero.png") center / cover;
}

.country-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  background: url("assets/world-map.png") center / cover no-repeat;
  opacity: 0.16;
  mix-blend-mode: screen;
  pointer-events: none;
}

.country-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 90px;
  background:
    linear-gradient(180deg, rgba(64, 160, 208, 0), rgba(64, 160, 208, 0.32)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220' preserveAspectRatio='none'%3E%3Cpath d='M0 96 C176 172 260 28 438 98 C612 166 724 30 892 98 C1060 164 1202 36 1440 96' fill='none' stroke='%2366ddff' stroke-width='5' stroke-opacity='.9'/%3E%3Cpath d='M0 132 C168 58 310 190 486 114 C654 42 772 184 940 106 C1106 30 1254 172 1440 86' fill='none' stroke='%2340a0d0' stroke-width='4' stroke-opacity='.78'/%3E%3Cpath d='M0 174 C180 214 298 90 484 152 C662 214 782 90 964 148 C1140 206 1264 96 1440 140' fill='none' stroke='%2388ecff' stroke-width='2' stroke-opacity='.62'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
  pointer-events: none;
}

.country-hero-content,
.country-hero-media {
  position: relative;
  z-index: 1;
}

.country-hero-content {
  max-width: 650px;
}

.country-eyebrow,
.country-kicker,
.country-note-label {
  display: block;
  margin: 0;
  color: var(--country-light-cyan);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.country-kicker {
  margin-top: 38px;
  color: rgba(255, 255, 255, 0.72);
}

.country-hero h1 {
  max-width: 680px;
  margin: 12px 0 22px;
  color: #ffffff;
  font-family: var(--display-sans);
  font-size: 5.4rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.94;
}

.country-hero h1 strong {
  display: block;
  color: var(--country-light-cyan);
  font-weight: 800;
}

.country-intro {
  max-width: 530px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
  line-height: 1.7;
}

.country-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.country-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.country-cta:hover,
.country-cta:focus-visible {
  transform: translateY(-2px);
}

.country-cta-primary {
  border-color: var(--country-light-cyan);
  color: var(--country-blue);
  background: var(--country-light-cyan);
}

.country-cta-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.country-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.country-hero-meta span {
  display: grid;
  gap: 4px;
}

.country-hero-meta b {
  color: #ffffff;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.country-hero-media {
  width: min(100%, 650px);
  min-height: 465px;
  justify-self: end;
}

.country-photo-frame {
  position: absolute;
  top: 20px;
  right: 7%;
  width: 76%;
  height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 20px 22px 0 rgba(64, 160, 208, 0.55), 0 28px 60px rgba(8, 36, 95, 0.35);
  transform: rotate(2.5deg);
}

.country-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(0, 64, 160, 0.05), rgba(88, 64, 120, 0.42));
}

.country-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.country-portrait {
  position: absolute;
  z-index: 2;
  width: 138px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 7px solid #ffffff;
  border-radius: 50%;
  background: var(--country-cyan);
  box-shadow: 0 18px 42px rgba(8, 36, 95, 0.28);
}

.country-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-portrait-one {
  top: 2px;
  left: 3%;
}

.country-portrait-two {
  right: 0;
  bottom: 36px;
  width: 162px;
}

.country-portrait-three {
  bottom: 4px;
  left: 24%;
  width: 104px;
  border-width: 5px;
}

.country-media-caption {
  position: absolute;
  right: 22%;
  bottom: 16px;
  z-index: 3;
  display: grid;
  gap: 3px;
  padding: 12px 15px;
  color: var(--country-blue);
  background: #ffffff;
  box-shadow: 8px 8px 0 rgba(0, 64, 160, 0.72);
  transform: rotate(-2deg);
}

.country-media-caption span {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.country-media-caption small {
  color: var(--country-purple);
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
}

.country-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 clamp(26px, 7vw, 112px);
  background: #ffffff;
  border-bottom: 1px solid rgba(20, 63, 149, 0.18);
}

.country-stat {
  display: grid;
  gap: 8px;
  min-height: 150px;
  align-content: center;
  padding: 26px 28px;
  border-right: 1px solid rgba(20, 63, 149, 0.18);
}

.country-stat:first-child {
  padding-left: 0;
}

.country-stat:last-child {
  border-right: 0;
}

.country-stat strong {
  color: var(--country-blue);
  font-family: var(--display-sans);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.9;
}

.country-stat span {
  color: var(--country-purple);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.country-network {
  max-width: 1280px;
  margin: 0 auto;
  padding: 104px clamp(26px, 7vw, 112px) 120px;
}

.country-section-heading {
  max-width: 720px;
}

.country-section-heading .country-eyebrow {
  color: var(--country-purple);
}

.country-section-heading h2 {
  margin: 15px 0 16px;
  color: var(--country-blue);
  font-family: var(--display-sans);
  font-size: 3.6rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.country-section-heading p {
  max-width: 620px;
  margin: 0;
  color: #536686;
  font-size: 0.98rem;
  line-height: 1.7;
}

.country-network-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 70px;
  margin-top: 64px;
}

.country-network-note {
  align-self: start;
  padding: 22px 0 22px 22px;
  border-left: 4px solid var(--country-cyan);
}

.country-note-label {
  color: var(--country-purple);
}

.country-network-note strong {
  display: block;
  margin-top: 16px;
  color: var(--country-blue);
  font-family: var(--display-sans);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.country-network-note p {
  max-width: 280px;
  margin: 16px 0 0;
  color: #536686;
  font-size: 0.88rem;
  line-height: 1.65;
}

.country-network-nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.country-network-nav li {
  border-top: 1px solid rgba(20, 63, 149, 0.2);
}

.country-network-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 62px;
  color: var(--country-blue);
  font-size: 0.86rem;
  font-weight: 800;
  transition: color 180ms ease, padding 180ms ease;
}

.country-network-nav a:hover,
.country-network-nav a:focus-visible,
.country-network-nav a.is-current {
  padding-right: 8px;
  color: var(--country-purple);
}

.country-link-arrow {
  color: var(--country-cyan);
  font-size: 1.1rem;
}

.country-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 170px;
  padding: 40px clamp(26px, 7vw, 112px);
  overflow: hidden;
  background: linear-gradient(145deg, var(--country-blue), var(--country-deep) 58%, var(--country-purple));
}

.country-footer::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 54px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 140' preserveAspectRatio='none'%3E%3Cpath d='M0 70 C176 122 258 20 438 70 C606 116 722 24 890 70 C1060 118 1196 26 1440 70' fill='none' stroke='%2366ddff' stroke-width='5' stroke-opacity='.85'/%3E%3Cpath d='M0 96 C168 46 312 136 486 88 C654 44 770 132 940 82 C1106 38 1252 126 1440 62' fill='none' stroke='%2340a0d0' stroke-width='4' stroke-opacity='.72'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
  pointer-events: none;
}

.country-footer-brand,
.country-footer-links {
  position: relative;
  z-index: 1;
}

.country-footer-brand {
  display: block;
  width: min(300px, 58vw);
}

.country-footer-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.country-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.country-footer-links a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1100px) {
  .country-hero h1 {
    font-size: 4.5rem;
  }

  .country-hero-media {
    min-height: 420px;
  }

  .country-photo-frame {
    height: 350px;
  }
}

@media (max-width: 900px) {
  .country-header {
    min-height: 64px;
  }

  .country-brand {
    width: min(250px, 48vw);
  }

  .country-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 76px;
  }

  .country-hero-content {
    max-width: 720px;
  }

  .country-hero-media {
    width: min(100%, 640px);
    margin: 48px auto 0;
    justify-self: center;
  }

  .country-network-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .country-network-note p {
    max-width: 520px;
  }
}

@media (max-width: 560px) {
  .country-header {
    padding: 10px 14px;
  }

  .country-brand {
    width: 44px;
    height: 44px;
  }

  .country-brand-wide {
    display: none !important;
  }

  .country-brand-compact {
    display: block !important;
    width: 44px;
    height: 44px;
  }

  .country-home-link {
    font-size: 0.66rem;
  }

  .country-hero {
    padding: 62px 20px 92px;
  }

  .country-kicker {
    margin-top: 28px;
  }

  .country-hero h1 {
    font-size: 3rem;
    line-height: 0.98;
  }

  .country-intro {
    font-size: 0.9rem;
  }

  .country-actions {
    display: grid;
  }

  .country-cta {
    width: 100%;
  }

  .country-hero-meta {
    gap: 14px;
    margin-top: 32px;
    font-size: 0.61rem;
  }

  .country-hero-media {
    min-height: 290px;
    margin-top: 30px;
  }

  .country-photo-frame {
    top: 18px;
    right: 2%;
    width: 82%;
    height: 245px;
    box-shadow: 12px 14px 0 rgba(64, 160, 208, 0.55), 0 20px 38px rgba(8, 36, 95, 0.3);
  }

  .country-portrait {
    width: 86px;
    border-width: 5px;
  }

  .country-portrait-two {
    right: -2%;
    bottom: 18px;
    width: 104px;
  }

  .country-portrait-three {
    bottom: 0;
    left: 25%;
    width: 72px;
    border-width: 4px;
  }

  .country-media-caption {
    right: 15%;
    bottom: 10px;
    padding: 9px 11px;
  }

  .country-media-caption span {
    font-size: 0.72rem;
  }

  .country-media-caption small {
    font-size: 0.52rem;
  }

  .country-stats {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .country-stat,
  .country-stat:first-child {
    min-height: 104px;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(20, 63, 149, 0.18);
  }

  .country-stat:last-child {
    border-bottom: 0;
  }

  .country-stat strong {
    font-size: 2.5rem;
  }

  .country-network {
    padding: 76px 20px 86px;
  }

  .country-section-heading h2 {
    font-size: 2.7rem;
  }

  .country-network-layout {
    margin-top: 44px;
  }

  .country-network-nav ul {
    grid-template-columns: 1fr;
  }

  .country-footer {
    align-items: flex-start;
    flex-direction: column;
    min-height: 210px;
    padding: 34px 20px 70px;
  }

  .country-footer-links {
    justify-content: flex-start;
    gap: 12px 18px;
    font-size: 0.64rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .country-cta,
  .country-network-nav a {
    transition: none;
  }
}

/* Keep national landings on the same Colombia reference palette as the main site. */
.country-hero {
  background:
    radial-gradient(circle at 84% 18%, rgba(154, 242, 241, 0.26), transparent 25%),
    linear-gradient(112deg, rgba(3, 126, 243, 0.98) 0%, rgba(0, 122, 183, 0.92) 44%, rgba(24, 180, 157, 0.86) 100%),
    url("assets/alumni-hero.png") center / cover;
}

.country-photo-frame {
  box-shadow: 20px 22px 0 rgba(34, 198, 227, 0.58), 0 28px 60px rgba(6, 54, 95, 0.35);
}

.country-photo-frame::after {
  background: linear-gradient(140deg, rgba(3, 126, 243, 0.05), rgba(0, 193, 110, 0.32));
}

.country-portrait {
  background: var(--country-cyan);
  box-shadow: 0 18px 42px rgba(6, 54, 95, 0.28);
}

.country-brand-marquee {
  border-bottom: 1px solid rgba(20, 63, 149, 0.18);
}

.country-brand-marquee .marquee-track {
  gap: 0;
}

.country-brand-marquee .marquee-track span {
  min-height: 92px;
  padding: 0 50px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1.35rem;
}

@media (max-width: 560px) {
  .country-brand-marquee .marquee-track span {
    min-height: 72px;
    padding: 0 28px;
    font-size: 1.05rem;
  }
}

.country-network-map {
  margin-top: 92px;
  padding-top: 82px;
  border-top: 1px solid rgba(20, 63, 149, 0.2);
}

.country-network-map .country-section-heading {
  margin-bottom: 34px;
}

.country-network-map .map-stage {
  min-height: 520px;
  border: 1px solid rgba(20, 63, 149, 0.18);
  box-shadow: 16px 18px 0 rgba(34, 198, 227, 0.18), 0 24px 48px rgba(20, 63, 149, 0.12);
}

@media (max-width: 900px) {
  .country-network-map {
    margin-top: 64px;
    padding-top: 58px;
  }

  .country-network-map .map-stage {
    min-height: 480px;
  }
}

@media (max-width: 560px) {
  .country-network-map .map-stage {
    min-height: 470px;
  }
}

.country-footer {
  background: linear-gradient(160deg, #0040a0 0%, #0059a8 48%, #00c16e 100%);
}
