@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/montserrat-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/montserrat-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/montserrat-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/montserrat-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/montserrat-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/montserrat-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #0b1220;
  --navy-2: #121a2c;
  --ink: #f4f1ea;
  --muted: #a8b0c0;
  --blue: #003b8b;
  --red: #d62828;
  --gold: #c9a227;
  --line: rgba(201, 162, 39, 0.35);
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: Montserrat, system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--navy);
  line-height: 1.6;
}

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

a {
  color: var(--gold);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  left: 12px;
  top: 12px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 20;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  flex-wrap: nowrap;
}

.site-header .btn {
  white-space: nowrap;
  flex: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-header nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  min-height: 40px;
  padding: 8px 4px;
}

.site-header nav a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 12px 18px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--gold);
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 72px 20px 56px;
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.22) 0%, rgba(11, 18, 32, 0.55) 58%, rgba(11, 18, 32, 0.88) 100%),
    url("../assets/img/camp.webp") center / cover no-repeat;
}

@media (max-width: 960px) {
  .site-header {
    flex-wrap: wrap;
    row-gap: 8px;
    padding: 8px 12px;
  }
  .site-header nav {
    display: flex;
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
  }
  .site-header nav a {
    font-size: 0.8rem;
    min-height: 0;
    padding: 6px 4px;
  }
  .site-header .btn {
    padding: 8px 12px;
    font-size: 0.82rem;
  }
}

@media (max-width: 700px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(11, 18, 32, 0.28) 0%, rgba(11, 18, 32, 0.62) 62%, rgba(11, 18, 32, 0.9) 100%),
      url("../assets/img/camp.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

@media (max-width: 420px) {
  .site-header nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    gap: 6px 4px;
  }
  .site-header nav a {
    font-size: 0.78rem;
    padding: 4px 2px;
  }
}

.hero-logo {
  width: min(310px, 72vw);
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0;
}

.hero .sub {
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 600;
  margin: 6px 0 10px;
}

.hero .claim {
  color: var(--muted);
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-contact {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  color: var(--ink);
  font-weight: 600;
}

.hero-contact li {
  margin: 4px 0;
}

.hero-contact a {
  color: var(--ink);
}

.kicker {
  margin-top: 28px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

section {
  padding: 72px 0;
}

section[id] {
  scroll-margin-top: 80px;
}

@media (max-width: 960px) {
  section[id] {
    scroll-margin-top: 168px;
  }
}

.section-bg {
  background: var(--navy-2);
}

.grain {
  background: var(--navy);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}

.lead {
  color: var(--muted);
  max-width: 62ch;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 36px 0 40px;
}

.stat {
  border-top: 1px solid var(--gold);
  padding-top: 16px;
}

.stat b {
  display: block;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  align-items: stretch;
}

.pair img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}

.card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-7 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.grid-categories > .card {
  flex: 0 1 calc((100% - 54px) / 4);
  max-width: calc((100% - 54px) / 4);
}

.card,
.campus,
.yt,
.ig-chip {
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
}

.card {
  padding: 0 0 16px;
}

.card h3,
.campus h3 {
  margin: 12px 16px 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.card p,
.campus p {
  margin: 4px 16px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.campus {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 0 18px;
}

.campus .btn {
  margin: 14px 16px 0;
}

.campus p:has(.btn) {
  margin-top: auto;
}

.campus-photos {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px 0;
}

.campus-photos img {
  width: 100px;
  height: 100px;
  max-width: none;
  flex: none;
  object-fit: cover;
  border-radius: 6px;
}

.yt-stage {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #d62828 0%, #003b8b 100%);
}

.yt-stage.featured {
  max-width: 520px;
  margin: 0 auto;
}

.yt-stage.featured.is-playing {
  aspect-ratio: 16 / 9;
}

.yt-card .yt-stage.is-playing {
  max-width: none;
  aspect-ratio: 16 / 9;
}

.yt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  color: inherit;
  text-align: left;
  background: transparent;
}

.yt img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.yt-card .yt-stage {
  aspect-ratio: 16 / 9;
}

.yt-card .yt {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
}

.yt-card .yt img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.yt span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0;
  display: grid;
  place-items: center;
}

.yt span::after {
  content: "▶";
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  padding-left: 3px;
}

.yt-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-card h3 {
  margin: 12px 4px 0;
  font-size: 1rem;
  font-weight: 800;
}

.yt-card p {
  margin: 2px 4px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.beques-foto {
  display: block;
  width: min(100%, 880px);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  margin: 24px auto 8px;
}

.thanks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
}

.thanks-grid h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .thanks-grid {
    grid-template-columns: 1fr;
  }
  .album {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 28vw;
  }
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}

.logo-row img {
  height: 80px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
}

.album {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(110px, 18vw);
  gap: 8px;
  margin: 28px 0 24px;
}

.album figure {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  height: 100%;
}

@media (max-width: 700px) {
  .album figure:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.album img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ig-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.ig-chip {
  padding: 10px 14px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}

.instal-foto {
  display: block;
  width: min(100%, 960px);
  height: auto;
  margin: 24px auto 0;
  border-radius: 12px;
}

.sponsors img {
  display: block;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.contact-list li {
  margin: 0 0 10px;
}

.contact-list a {
  color: var(--ink);
}

.legal {
  max-width: 72ch;
}

.legal h2 {
  font-size: 1.2rem;
  margin-top: 28px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.88rem;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.foot nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.foot a {
  color: var(--muted);
  text-decoration: none;
}

.foot a:hover {
  color: var(--ink);
}

@media (max-width: 900px) {
  .grid-7 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .grid-categories > .card {
    flex-basis: calc((100% - 18px) / 2);
    max-width: calc((100% - 18px) / 2);
  }
}

@media (max-width: 600px) {
  .stats,
  .grid-7,
  .pair {
    grid-template-columns: 1fr;
  }
  .grid-categories > .card {
    flex-basis: 100%;
    max-width: 100%;
  }
  .campus-photos img {
    width: 88px;
    height: 88px;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card,
  .campus,
  .album figure {
    transition: transform 220ms var(--ease);
  }
  .card:hover,
  .campus:hover,
  .album figure:hover {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover,
  .campus:hover,
  .album figure:hover {
    transform: none;
  }
}
