/* ============================================================
   ACE Barranquilla 2026 — Americas Competitiveness Exchange
   Design system: "Puerta de Oro" — corporate Caribbean
   ============================================================ */

:root {
  /* Brand palette (sampled from official logo) */
  --navy: #142A42;
  --navy-deep: #0C1B2E;
  --blue: #0054A3;
  --yellow: #FABF08;
  --lime: #A2C616;
  --orange: #ED7446;
  --orange-deep: #E25023;
  --sand: #FAF7F1;
  --white: #FFFFFF;
  --ink: #142A42;
  --ink-soft: #4E5F73;
  --line: #E5E9EF;

  --font-display: "Montserrat", sans-serif;
  --font-body: "Source Sans 3", sans-serif;

  --container: 1180px;
  --radius: 20px;
  --shadow-sm: 0 2px 10px rgba(12, 27, 46, 0.07);
  --shadow-md: 0 12px 36px rgba(12, 27, 46, 0.12);
  --shadow-lg: 0 24px 64px rgba(12, 27, 46, 0.18);

  --quad: linear-gradient(90deg,
    var(--yellow) 0 25%, var(--blue) 25% 50%,
    var(--lime) 50% 75%, var(--orange) 75% 100%);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; }

h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

::selection { background: var(--yellow); color: var(--navy); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ---------- Signature shapes ---------- */
/* Petal: quarter-circle motif from the logo */
.p {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50% 50% 50% 0;
  flex: none;
}
.p--y { background: var(--yellow); }
.p--b { background: var(--blue); border-radius: 50% 50% 0 50%; }
.p--g { background: var(--lime); border-radius: 50% 0 50% 50%; }
.p--o { background: var(--orange); border-radius: 0 50% 50% 50%; }

.quad-strip { height: 5px; background: var(--quad); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.95rem;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  cursor: pointer;
}
.btn--primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(250, 191, 8, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(250, 191, 8, 0.45); }
.btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn--nav { padding: 11px 22px; font-size: 0.85rem; box-shadow: none; }
.btn--disabled { pointer-events: none; opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.btn--disabled:hover { transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--blue); text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: gap 0.25s ease, border-color 0.25s ease;
}
.link-arrow:hover { gap: 14px; border-color: var(--blue); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: rgba(255, 255, 255, 0.85); font-size: 0.82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding-block: 8px; gap: 12px; flex-wrap: wrap; }
.topbar__date { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.04em; }
.topbar__social { display: flex; align-items: center; gap: 16px; }
.topbar__social a {
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex; line-height: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}
.topbar__social a:hover { color: var(--yellow); transform: translateY(-1px); }

/* Topbar countdown */
.topbar__countdown {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
  font-variant-numeric: tabular-nums;
}
.topbar__countdown b { color: var(--yellow); font-weight: 800; }
.topbar__cd-lead {
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.62rem; color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 860px) { .topbar__cd-lead { display: none; } }
@media (max-width: 600px) { .topbar__date { display: none; } }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.nav.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav { overflow: visible; }
/* Taller white strip so the emblem's "COLOMBIA BARRANQUILLA" band sits comfortably on white */
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 102px; gap: 24px; overflow: visible; }
/* Anchor the emblem to the top of the strip; only the bottom petals hang out below */
.nav__brand { align-self: flex-start; display: flex; align-items: flex-start; position: relative; margin-top: 6px; }
.nav__logo {
  height: clamp(106px, 9.6vw, 136px);
  width: auto; flex: none;
  position: relative; z-index: 5;
  filter: drop-shadow(0 10px 20px rgba(12, 27, 46, 0.22));
  transition: transform 0.3s ease;
}
.nav__brand:hover .nav__logo { transform: translateY(2px) scale(1.02); }
@media (max-width: 600px) {
  .nav__inner { height: 86px; }
  .nav__brand { margin-top: 4px; }
  .nav__logo { height: 104px; }
}
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav__links a:not(.btn) {
  font-family: var(--font-display); font-weight: 600; font-size: 0.88rem;
  color: var(--ink); text-decoration: none; position: relative; padding-block: 6px;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 3px; border-radius: 3px;
  background: var(--quad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - 172px);
  display: flex; align-items: stretch;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(75deg, rgba(12, 27, 46, 0.6) 0%, rgba(12, 27, 46, 0.34) 45%, rgba(12, 27, 46, 0.08) 100%),
    linear-gradient(0deg, rgba(12, 27, 46, 0.28) 0%, transparent 42%);
}
.hero__petal {
  position: absolute; border-radius: 50% 50% 50% 0;
  opacity: 0.9; filter: blur(0.5px);
  animation: float 7s ease-in-out infinite;
}
.hero__petal--a { width: 96px; height: 96px; background: var(--yellow); top: 11%; right: 4%; border-radius: 50% 50% 0 50%; animation-delay: 0s; opacity: .85; }
.hero__petal--b { width: 60px; height: 60px; background: var(--orange); top: 76%; right: 6%; animation-delay: 1.6s; opacity: .8; }
.hero__petal--c { width: 44px; height: 44px; background: var(--lime); top: 30%; right: 30%; border-radius: 0 50% 50% 50%; animation-delay: 3.2s; opacity: .75; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(6deg); }
}

.hero__content { position: relative; z-index: 2; color: var(--white); padding-block: clamp(14px, 2.2vh, 30px); display: flex; flex-direction: column; }

.hero__grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero__visual { display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 2.6vh, 30px); }
.hero__logo {
  display: block;
  width: clamp(320px, 38vw, 560px);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 8px 26px rgba(0, 0, 0, 0.4));
}
.hero__chip {
  display: inline-block;
  font-family: var(--font-display); font-weight: 800;
  font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--navy);
  background: var(--yellow);
  padding: 7px 17px; border-radius: 999px;
  margin-bottom: 14px;
}
.hero__title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900; letter-spacing: -0.025em;
  max-width: 20ch;
  text-wrap: balance;
}
.hero__title-accent {
  background: linear-gradient(92deg, var(--yellow) 10%, var(--orange) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__sub {
  margin-top: 13px; max-width: 60ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
}
.hero__sub strong { color: var(--white); white-space: nowrap; }

.hero__meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 15px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.hero__meta-item { display: inline-flex; align-items: center; gap: 9px; }
.hero__meta-item svg { color: var(--yellow); }
.hero__meta-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.hero__apply-note {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 14px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}
.hero__apply-note svg { color: var(--yellow); flex: none; }
.hero__apply-note strong { color: var(--white); font-weight: 700; }
.hero__guide-link {
  display: inline-flex; align-items: center; gap: 8px;
  width: fit-content;
  margin-top: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.72rem;
  color: var(--navy); text-decoration: none;
  background: var(--white);
  border-radius: 999px;
  padding: 8px 15px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero__guide-link svg { width: 14px; height: 14px; }
.hero__guide-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.hero__guide-link svg { color: var(--orange); flex: none; }

/* Countdown */
.countdown {
  display: inline-flex; align-items: center; gap: clamp(7px, 1.1vw, 12px);
  margin-top: 18px;
  padding: 10px clamp(13px, 1.9vw, 20px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.countdown__block { display: grid; justify-items: center; min-width: 44px; }
.countdown__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.countdown__label {
  margin-top: 5px;
  font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.countdown__sep { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--yellow); padding-bottom: 14px; }

/* Hero committee strip */
.hero__committee { margin: 0; width: 100%; max-width: 560px; text-align: center; }
.hero__committee-label {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}
.hero__committee img { width: 100%; max-width: 100%; height: auto; display: block; margin-inline: auto; }

/* Two-column hero → stack on smaller screens */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: clamp(18px, 3vh, 30px); justify-items: center; text-align: center; }
  .hero__visual { order: -1; width: 100%; }
  .hero__logo { width: clamp(240px, 56vw, 380px); }
  .hero__committee { display: none; }
  .hero__title, .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__meta, .hero__actions { justify-content: center; }
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2;
  width: 30px; height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  display: flex; justify-content: center; padding-top: 9px;
}
.hero__scroll span {
  width: 4px; height: 10px; border-radius: 4px; background: var(--yellow);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0.2; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--navy);
  overflow: hidden;
  padding-block: 16px;
  border-top: 5px solid transparent;
  border-image: var(--quad) 1;
}
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee__group span {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(76px, 11vw, 130px); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }

.section__head { margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.section__intro { max-width: 38ch; color: var(--ink-soft); font-size: 1.05rem; }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.7); }

.text-blue { color: var(--blue); }
.text-yellow { color: var(--yellow); }
.text-lime { color: var(--lime); }
.text-orange { color: var(--orange); }
.text-light { color: rgba(255, 255, 255, 0.82); }

.lead { font-size: clamp(1.15rem, 1.8vw, 1.3rem); font-weight: 600; line-height: 1.55; }
.lead--light { color: var(--white); }

/* ---------- About ACE ---------- */
.about__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 72px); align-items: start;
}
.about__copy p + p { margin-top: 18px; color: var(--ink-soft); }
.about__copy .link-arrow { margin-top: 28px; }
.about__logo { width: clamp(132px, 16vw, 172px); height: auto; margin-bottom: 26px; }
.about__numbers-label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.about__numbers-label--band {
  justify-content: center;
  margin-top: clamp(40px, 6vw, 64px);
}
.about__map {
  display: block; width: 100%; height: auto;
}

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stats--row { grid-template-columns: repeat(4, 1fr); }
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 42px; height: 42px;
  border-radius: 0 0 100% 0;
  background: currentColor; opacity: 0.12;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat__num {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.stat__label { display: block; margin-top: 8px; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.4; }

/* ---------- Why Barranquilla ---------- */
.bq-petal {
  position: absolute; pointer-events: none;
}
.bq-petal--a {
  width: 420px; height: 420px;
  right: -130px; top: -130px;
  background: var(--blue); opacity: 0.1;
  border-radius: 50% 0 50% 50%;
}
.bq__grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 6vw, 72px); align-items: start;
  position: relative;
}
.bq__copy .text-light { margin-top: 18px; }
.bq__copy-text { margin-top: 18px; color: var(--ink-soft); }
#barranquilla { position: relative; overflow: hidden; }

.bq__facts { list-style: none; margin-top: 34px; display: grid; gap: 18px; }
.bq__facts li { display: flex; gap: 16px; align-items: flex-start; }
.bq__facts .p { margin-top: 6px; width: 14px; height: 14px; }
.bq__facts strong { font-weight: 400; font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.6; }
.bq__facts span { color: var(--ink-soft); font-weight: 400; font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.6; }

.bq__media { position: relative; }
.bq__media img {
  border-radius: 120px 28px 28px 28px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  width: 100%;
}
.bq__media-chip {
  position: absolute; bottom: -22px; left: -18px;
  background: var(--yellow); color: var(--navy);
  border-radius: 18px;
  padding: 16px 22px;
  box-shadow: var(--shadow-md);
  display: grid; gap: 2px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.bq__media-chip-big { font-size: 1.25rem; font-weight: 800; letter-spacing: 0; text-transform: none; }

/* ---------- Barranquilla (immersive background) ---------- */
.bq-feature {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep) url("../assets/img/barranquilla-malecon.jpg") center / cover no-repeat;
}
.bq-feature__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(8, 16, 28, 0.74) 0%,
    rgba(8, 16, 28, 0.55) 42%,
    rgba(10, 20, 35, 0.28) 76%,
    rgba(10, 20, 35, 0.12) 100%);
}
.bq-feature__inner { position: relative; z-index: 1; }
.bq-feature__content { max-width: 620px; }
.bq-feature h2 { color: var(--white); }
.bq-feature__badge {
  display: inline-flex; align-items: center;
  background: var(--yellow); color: var(--navy);
  font-family: var(--font-display); font-weight: 800;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  margin-bottom: 22px;
}
.bq__facts--light strong { color: var(--white); }
.bq__facts--light span { color: rgba(255, 255, 255, 0.9); }
@media (max-width: 760px) {
  .bq-feature__overlay {
    background: linear-gradient(180deg, rgba(8, 16, 28, 0.6) 0%, rgba(8, 16, 28, 0.8) 100%);
  }
}

/* ---------- Official video ---------- */
#video { overflow: hidden; }
.section__head--center { text-align: center; }
.eyebrow--center { justify-content: center; }
.section__sub {
  margin: 16px auto 0; max-width: 52ch;
  color: var(--ink-soft); font-size: 1.05rem;
}

.video-frame {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
}
.video-frame__petal { position: absolute; pointer-events: none; z-index: 0; }
.video-frame__petal--a {
  width: 150px; height: 150px;
  top: -42px; left: -52px;
  background: var(--yellow); opacity: 0.9;
  border-radius: 50% 50% 0 50%;
}
.video-frame__petal--b {
  width: 100px; height: 100px;
  bottom: -34px; right: -38px;
  background: var(--lime); opacity: 0.9;
  border-radius: 50% 0 50% 50%;
}
.video-frame__poster {
  position: relative; z-index: 1;
  display: block; width: 100%;
  padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-lg);
  background: var(--navy-deep);
}
.video-frame__poster img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.video-frame__poster::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(12, 27, 46, 0.55) 0%, transparent 45%);
}
.video-frame__poster:hover img { transform: scale(1.04); }
.video-frame__btn {
  position: absolute; z-index: 2;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  display: grid; place-items: center;
  padding-left: 6px;
  box-shadow: 0 12px 36px rgba(12, 27, 46, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
}
.video-frame__btn::before {
  content: "";
  position: absolute; inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(250, 191, 8, 0.65);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.85); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
.video-frame__poster:hover .video-frame__btn { transform: translate(-50%, -50%) scale(1.08); background: var(--white); }
.video-frame__caption {
  position: absolute; z-index: 2;
  left: 24px; bottom: 20px;
  color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.video-frame iframe {
  position: relative; z-index: 1;
  display: block; width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

@media (prefers-reduced-motion: reduce) {
  .video-frame__btn::before { animation: none; }
}

/* ---------- Focus areas (equal creative cards) ---------- */
.focus__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.focus-card {
  flex: 0 1 344px;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.focus-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.focus-card__media { position: relative; line-height: 0; }
.focus-card__img {
  display: block; width: 100%; height: 186px;
  object-fit: cover; margin: 0;
}
.focus-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(12, 27, 46, 0.4) 100%);
}
.focus-card__badge {
  width: 54px; height: 54px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  color: var(--white);
  display: grid; place-items: center; flex: none;
  position: relative; z-index: 3;
  margin: -27px 0 0 24px;
  box-shadow: 0 6px 16px rgba(12, 27, 46, 0.2);
}
.focus-card[style*="#FABF08"] .focus-card__badge { color: var(--navy); }
.focus-card h3 {
  font-size: 1.12rem; font-weight: 800; letter-spacing: -0.01em;
  margin: 16px 24px 0;
}
.focus-card h3::after {
  content: ""; display: block;
  width: 34px; height: 3px; border-radius: 3px;
  background: var(--accent); margin-top: 12px;
}
.focus-card p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; margin: 13px 24px 0; }
.focus-card p:last-child { margin-bottom: 28px; }
.focus-card p:last-of-type { margin-bottom: 22px; }

.focus-card__visits {
  margin: auto 24px 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.focus-card__visits .focus-card__visits-label {
  font-family: var(--font-display); font-weight: 800;
  font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.focus-card__visits ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 9px;
}
.focus-card__visits li { display: flex; align-items: baseline; gap: 10px; }
.focus-card__visits li::before {
  content: ""; flex: none;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent, var(--blue));
  transform: translateY(-1px);
}
.focus-card__visits a,
.focus-card__visits li > span {
  font-family: var(--font-body); font-weight: 600; font-size: 0.86rem;
  line-height: 1.4;
}
.focus-card__visits a {
  color: var(--blue); text-decoration: none;
  transition: color 0.2s ease;
}
.focus-card__visits a:hover { text-decoration: underline; }
.focus-card__visits li > span { color: var(--ink-soft); }

.section__intro--light { color: rgba(255, 255, 255, 0.72); }

/* ---------- Discover Barranquilla gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 17vw, 210px);
  grid-auto-flow: dense;
  gap: 16px;
}
.gallery__item {
  position: relative; margin: 0;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform 0.6s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 32px 16px 13px;
  color: #fff;
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.9rem;
  background: linear-gradient(0deg, rgba(12, 27, 46, 0.82), transparent);
}
@media (max-width: 880px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 30vw, 210px); }
  .gallery__item--tall { grid-row: auto; }
  .gallery__item--wide { grid-column: auto; }
}
@media (max-width: 540px) {
  .gallery { grid-template-columns: 1fr; }
}

/* ---------- What sets Barranquilla apart (feature grid) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-card .p { width: 15px; height: 15px; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.08rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.28; }
.feature-card p { margin-top: 10px; font-size: 0.94rem; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Top reasons to attend (on navy) ---------- */
.reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.reason-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  position: relative; overflow: hidden;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.reason-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}
.reason-card__num {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.5rem; line-height: 1;
  color: var(--accent);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.reason-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--white); line-height: 1.3; }
.reason-card p { margin-top: 11px; font-size: 0.94rem; color: rgba(255, 255, 255, 0.74); line-height: 1.6; }
.reason-card--wide {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1.35fr;
  gap: clamp(20px, 4vw, 48px); align-items: center;
}
.reason-card--wide .reason-card__lead h3 { font-size: 1.35rem; max-width: 16ch; }
.reason-card--wide p { margin-top: 0; font-size: 1rem; }

/* ---------- Who should apply ---------- */
.apply__roles {
  list-style: none;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px 36px;
  margin-bottom: clamp(40px, 6vw, 58px);
}
.apply__roles li { display: flex; gap: 14px; align-items: flex-start; }
.apply__roles .p { margin-top: 7px; width: 13px; height: 13px; }
.apply__roles span { font-size: 0.99rem; font-weight: 600; color: var(--ink); line-height: 1.45; }

.apply__req {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(30px, 4vw, 48px);
}
.apply__req h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 26px; }
.checklist { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 36px; }
.checklist li {
  position: relative; padding-left: 38px;
  font-size: 0.96rem; color: var(--ink-soft); line-height: 1.55;
}
.checklist li::before {
  content: "\2713";
  position: absolute; left: 0; top: 1px;
  width: 25px; height: 25px;
  border-radius: 50% 50% 50% 0;
  background: color-mix(in srgb, var(--lime) 26%, white);
  color: #5C7A07;
  font-weight: 800; font-size: 0.82rem;
  display: grid; place-items: center;
}

/* ---------- Agenda ---------- */
.agenda {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: day;
}
.agenda__day {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 6px solid var(--accent);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.agenda__day:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.agenda__num {
  display: inline-block;
  font-family: var(--font-display); font-weight: 800;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft);
}
.agenda__date {
  display: block; margin-top: 4px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
}
.agenda__day h3 { margin-top: 14px; font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.agenda__day p { margin-top: 8px; font-size: 0.9rem; color: var(--ink-soft); }
.agenda__note {
  margin-top: 36px; text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- Travel ---------- */
.travel__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.travel-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.travel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.travel-card__icon {
  width: 54px; height: 54px;
  border-radius: 50% 50% 0 50%;
  background: color-mix(in srgb, var(--accent) 14%, white);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.travel-card h3 { font-size: 1.08rem; font-weight: 800; }
.travel-card p { margin-top: 9px; font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- Partners ---------- */
.partners { text-align: center; }
.partners__label {
  font-family: var(--font-display); font-weight: 800;
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.partners__row {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(28px, 5vw, 56px); flex-wrap: wrap;
  margin-bottom: 48px;
}
.partners__row img {
  height: 56px; width: auto; max-width: 170px; object-fit: contain;
  filter: grayscale(35%);
  opacity: 0.85;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.partners__row img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }
.partners__row--hosts img { height: 48px; }

/* Committee lockup — single official banner image on the white section */
.committee-card {
  max-width: 1140px;
  margin-inline: auto;
  padding: clamp(8px, 2vw, 20px) 0;
}
.committee-img {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin-inline: auto;
}

/* ---------- Allies ---------- */
.allies {
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: clamp(30px, 4vw, 44px);
  border-top: 1px solid var(--line);
}
.allies__label {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: clamp(22px, 3vw, 32px);
}
.allies__grid {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: clamp(20px, 2.5vw, 34px);
}
/* logos are area-balanced: each carries its own width/height attributes
   so they share equal visual weight instead of a forced equal height */
.allies__grid img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- Final CTA ---------- */
.cta {
  position: relative;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(0, 84, 163, 0.55), transparent 60%),
    radial-gradient(700px 420px at 8% 110%, rgba(237, 116, 70, 0.35), transparent 60%),
    var(--navy-deep);
  color: var(--white);
  text-align: center;
  padding-top: clamp(84px, 12vw, 140px);
  overflow: hidden;
}
.cta__inner { padding-bottom: clamp(84px, 12vw, 140px); }
.cta__petal { position: absolute; pointer-events: none; }
.cta__petal--a {
  width: 240px; height: 240px;
  left: -70px; top: 8%;
  background: var(--lime); opacity: 0.16;
  border-radius: 50% 50% 50% 0;
}
.cta__petal--b {
  width: 160px; height: 160px;
  right: 6%; bottom: 14%;
  background: var(--yellow); opacity: 0.18;
  border-radius: 0 50% 50% 50%;
}
.cta__kicker {
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.cta h2 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); font-weight: 900; letter-spacing: -0.02em; }
.cta__sub { margin: 20px auto 0; max-width: 54ch; color: rgba(255, 255, 255, 0.82); font-size: 1.1rem; }
.cta__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.75); }
.footer__inner {
  display: grid; grid-template-columns: 1.7fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-block: clamp(48px, 7vw, 72px);
  align-items: start;
}
.footer__logo { height: 64px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: 0.95rem; max-width: 34ch; }
.footer__nav { display: grid; gap: 12px; }
.footer__nav a {
  color: rgba(255, 255, 255, 0.75); text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  width: fit-content;
}
.footer__nav a:hover { color: var(--yellow); }
.footer__org { display: grid; gap: 22px; justify-items: start; }
.footer__oas { height: 40px; width: auto; opacity: 0.9; }
.footer__pro { height: 34px; width: auto; opacity: 0.9; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__petal, .hero__scroll span { animation: none; }
  .marquee__track { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .focus__grid { grid-template-columns: repeat(2, 1fr); }
  .focus-card, .focus-card--wide { grid-column: span 1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .reasons__grid { grid-template-columns: repeat(2, 1fr); }
  .agenda { grid-template-columns: repeat(2, 1fr); }
  .agenda__day:last-child { grid-column: span 2; }
  .travel__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .reason-card--wide { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .reason-card--wide p { margin-top: 0; }
}

@media (max-width: 880px) {
  .about__grid, .bq__grid { grid-template-columns: 1fr; }
  .bq__media { max-width: 480px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__org { justify-items: start; grid-auto-flow: column; align-items: center; }

  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column; align-items: stretch;
    padding: 18px 24px 26px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 14px; justify-content: center; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .focus__grid, .travel__grid { grid-template-columns: 1fr; }
  .feature-grid, .reasons__grid { grid-template-columns: 1fr; }
  .apply__roles, .checklist { grid-template-columns: 1fr; }
  .agenda { grid-template-columns: 1fr; }
  .agenda__day:last-child { grid-column: auto; }
  .countdown { width: 100%; justify-content: space-between; }
  .countdown__block { min-width: 0; }
  .hero__petal--c { display: none; }
  .bq__media-chip { left: 12px; }
}

/* ===== Testimonials (About ACE) ===== */
.about__voices {
  margin-top: clamp(52px, 8vw, 92px);
  padding-top: clamp(44px, 6vw, 72px);
  border-top: 1px solid var(--line);
}
.about__voices .section__head { margin-bottom: clamp(28px, 4vw, 44px); }
.about__voices-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--ink);
}
.testimonials {
  columns: 2;
  column-gap: 24px;
}
.tcard {
  break-inside: avoid;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 24px 22px;
  margin: 0 0 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tcard__head { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }
.tcard__avatar {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sand);
  box-shadow: 0 0 0 1px var(--line);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--white);
}
.tcard__avatar--blue { background: var(--blue); }
.tcard__avatar--orange { background: var(--orange); }
.tcard__avatar--lime { background: var(--lime); color: var(--navy); }
.tcard__avatar--navy { background: var(--navy); }
.tcard__who { display: flex; flex-direction: column; gap: 2px; }
.tcard__name { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: var(--ink); line-height: 1.2; }
.tcard__role { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.32; }
.tcard__quote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
@media (max-width: 760px) {
  .testimonials { columns: 1; }
}
