:root {
  --red: #ff2006;
  --black: #06090e;
  --gold: #fdab01;
  --white: #f7f7f5;

  --shadow-red: 0 0 18px rgba(255, 32, 6, 0.28);
  --shadow-red-strong: 0 0 26px rgba(255, 32, 6, 0.48);
  --shadow-gold: 0 0 18px rgba(253, 171, 1, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Impact, Haettenschweiler, "Arial Black", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: 0.3px;
  overflow-x: hidden;
}

body.is-intro-locked {
  overflow: hidden;
}

body.is-web-hidden > :not(.ring-intro):not(.skip-link) {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(2px);
}

body.is-web-reveal > :not(.ring-intro):not(.skip-link) {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 320ms ease, transform 320ms ease, filter 320ms ease;
}

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

.ring-intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 9, 14, 0.96);
  pointer-events: auto;
  isolation: isolate;
}

.ring-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 620px at 50% 40%, rgba(255, 32, 6, 0.12), transparent 62%),
    radial-gradient(820px 520px at 50% 60%, rgba(253, 171, 1, 0.06), transparent 66%),
    radial-gradient(900px 540px at 50% 50%, rgba(6, 9, 14, 0.35), rgba(6, 9, 14, 0.9));
  opacity: 0.95;
  z-index: -1;
}

.ring-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform, filter;
}

.ring-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  filter: contrast(1.03) saturate(1.02);
  transition: opacity 180ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.ring-img.is-open {
  opacity: 0;
  transform: scale(1.02);
}

.ring-img.is-closed {
  opacity: 0;
  transform: scale(1.12);
  filter: blur(1px) contrast(1.04) saturate(1.03);
}

.ring-intro.is-closed-on .ring-img.is-closed {
  opacity: 1;
  transform: scale(1.06);
  filter: blur(0px) contrast(1.04) saturate(1.03);
  animation: ring-lock-in 160ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.ring-intro.is-opening .ring-img.is-closed {
  opacity: 0;
  transform: scale(1.1);
}

.ring-intro.is-opening .ring-img.is-open {
  opacity: 1;
  transform: scale(1.06);
  animation: ring-unlock 240ms cubic-bezier(0.22, 0.96, 0.2, 1) both;
}

.ring-intro.is-opening .ring-frame {
  animation: ring-shake 300ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.ring-intro.is-done {
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease;
}

@keyframes ring-shake {
  0% {
    transform: translate3d(0, 0, 0);
  }
  18% {
    transform: translate3d(-10px, 4px, 0);
  }
  32% {
    transform: translate3d(10px, -3px, 0);
  }
  46% {
    transform: translate3d(-7px, 3px, 0);
  }
  60% {
    transform: translate3d(6px, -2px, 0);
  }
  74% {
    transform: translate3d(-4px, 2px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes ring-lock-in {
  0% {
    opacity: 0;
    transform: scale(1.16);
    filter: blur(2px) contrast(1.06) saturate(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1.06);
    filter: blur(0px) contrast(1.04) saturate(1.03);
  }
}

@keyframes ring-unlock {
  0% {
    transform: scale(1.03);
    filter: blur(1px) contrast(1.05) saturate(1.04);
  }
  52% {
    transform: scale(1.06);
    filter: blur(0px) contrast(1.04) saturate(1.03);
  }
  100% {
    transform: scale(1.06);
    filter: blur(0px) contrast(1.03) saturate(1.02);
  }
}

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

.skip-link {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 32, 6, 0.95), rgba(6, 9, 14, 0.95));
  transform: translateY(-140%);
  transition: transform 180ms ease;
  z-index: 9999;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid rgba(253, 171, 1, 0.9);
  outline-offset: 2px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(6, 9, 14, 0.98), rgba(6, 9, 14, 0.86) 55%, rgba(255, 32, 6, 0.06));
  border-bottom: 1px solid rgba(255, 32, 6, 0.22);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
}

.brand {
  display: grid;
  place-items: center start;
  filter: drop-shadow(0 0 14px rgba(255, 32, 6, 0.22));
}

.brand img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.nav-link {
  padding: 10px 10px;
  border-radius: 12px;
  border: 1px solid rgba(247, 247, 245, 0.12);
  background: rgba(6, 9, 14, 0.55);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 900;
  font-size: 13px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.nav-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 32, 6, 0.7);
  box-shadow: var(--shadow-red);
  background: rgba(255, 32, 6, 0.08);
  color: var(--white);
}

.nav-link:focus-visible {
  outline: 2px solid rgba(253, 171, 1, 0.95);
  outline-offset: 3px;
}

.header-social {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.header-cta {
  display: flex;
  justify-content: flex-end;
}

.social {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 247, 245, 0.12);
  background: rgba(6, 9, 14, 0.7);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.social svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
  transition: fill 160ms ease;
}

.social:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 32, 6, 0.6);
  box-shadow: var(--shadow-red);
  background: rgba(255, 32, 6, 0.08);
}

.social:hover svg {
  fill: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(247, 247, 245, 0.14);
  background: rgba(6, 9, 14, 0.6);
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
  will-change: transform;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-cta {
  background: linear-gradient(135deg, rgba(255, 32, 6, 0.95), rgba(255, 32, 6, 0.55));
  border-color: rgba(255, 32, 6, 0.8);
  box-shadow: var(--shadow-red-strong);
}

.btn-cta:hover {
  background: linear-gradient(135deg, rgba(253, 171, 1, 0.92), rgba(253, 171, 1, 0.55));
  border-color: rgba(253, 171, 1, 0.9);
  box-shadow: var(--shadow-gold);
  color: var(--black);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(255, 32, 6, 0.95), rgba(6, 9, 14, 0.2));
  border-color: rgba(255, 32, 6, 0.95);
  box-shadow: var(--shadow-red-strong);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(255, 32, 6, 0.98), rgba(253, 171, 1, 0.18));
  border-color: rgba(253, 171, 1, 0.75);
  box-shadow: var(--shadow-red-strong), var(--shadow-gold);
}

.btn-ghost {
  border-color: rgba(253, 171, 1, 0.35);
}

.btn-ghost:hover {
  border-color: rgba(253, 171, 1, 0.8);
  background: rgba(253, 171, 1, 0.06);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: clamp(560px, 86vh, 860px);
  display: grid;
  align-items: center;
  background-image: url("/imagenes/imgslider.jpg");
  background-size: cover;
  background-position: center calc(50% + var(--hero-shift, 0px));
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 520px at 50% 30%, rgba(255, 32, 6, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(6, 9, 14, 0.32), rgba(6, 9, 14, 0.6)),
    linear-gradient(90deg, rgba(6, 9, 14, 0.66), rgba(6, 9, 14, 0.06) 45%, rgba(255, 32, 6, 0.08) 70%, rgba(6, 9, 14, 0.66));
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(700px 260px at 50% 30%, rgba(253, 171, 1, 0.14), transparent 58%),
    radial-gradient(1200px 560px at 50% 65%, rgba(255, 32, 6, 0.18), transparent 60%);
  opacity: 0.24;
  z-index: -1;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 60% at 50% 45%, transparent 0, rgba(6, 9, 14, 0.34) 70%, rgba(6, 9, 14, 0.58) 100%),
    linear-gradient(90deg, rgba(6, 9, 14, 0.72), rgba(6, 9, 14, 0.05) 42%, rgba(6, 9, 14, 0.05) 58%, rgba(6, 9, 14, 0.72));
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) 0;
}

.hero-content {
  width: min(820px, 100%);
  padding: 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 32, 6, 0.3);
  background: linear-gradient(135deg, rgba(6, 9, 14, 0.82), rgba(255, 32, 6, 0.1));
  box-shadow: var(--shadow-red), 0 20px 74px rgba(6, 9, 14, 0.76);
  backdrop-filter: blur(10px);
}

.hero-kicker {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(247, 247, 245, 0.84);
}

.hero-title {
  margin: 0;
  font-size: clamp(34px, 4.3vw, 64px);
  line-height: 1.02;
  text-transform: uppercase;
  text-shadow: 0 10px 40px rgba(6, 9, 14, 0.65), var(--shadow-red-strong);
}

.hero-subtitle {
  margin: 14px 0 18px;
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.5;
  color: rgba(247, 247, 245, 0.96);
  max-width: 52ch;
}

.hero-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 460px;
}

.bullet {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(247, 247, 245, 0.14);
  background: linear-gradient(135deg, rgba(6, 9, 14, 0.84), rgba(255, 32, 6, 0.12));
  box-shadow: 0 14px 40px rgba(6, 9, 14, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  padding: clamp(54px, 7vw, 92px) 0;
}

.section-header {
  margin-bottom: 24px;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: var(--shadow-red);
}

.section-lead {
  margin: 0;
  max-width: 70ch;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 650;
  color: rgba(247, 247, 245, 0.94);
  line-height: 1.6;
}

.section-disciplines {
  background:
    radial-gradient(900px 320px at 20% 20%, rgba(255, 32, 6, 0.14), transparent 55%),
    radial-gradient(900px 320px at 80% 65%, rgba(253, 171, 1, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(6, 9, 14, 1), rgba(6, 9, 14, 0.98));
}

.disciplines-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.card {
  position: relative;
  border-radius: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(247, 247, 245, 0.14);
  background: linear-gradient(135deg, rgba(6, 9, 14, 0.88), rgba(255, 32, 6, 0.12));
  box-shadow: 0 18px 48px rgba(6, 9, 14, 0.6);
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(420px 220px at 20% 15%, rgba(255, 32, 6, 0.24), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card-media {
  margin: 0 0 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(247, 247, 245, 0.12);
  background: rgba(6, 9, 14, 0.55);
  box-shadow: 0 16px 44px rgba(6, 9, 14, 0.55);
}

.card-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(1.05);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(253, 171, 1, 0.85);
  box-shadow: var(--shadow-red-strong), var(--shadow-gold), 0 22px 64px rgba(6, 9, 14, 0.7);
}

.card-title {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.card-text {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 650;
  line-height: 1.6;
  color: rgba(247, 247, 245, 0.95);
}

.card-dominant {
  border-color: rgba(255, 32, 6, 0.8);
  box-shadow: var(--shadow-red-strong), 0 26px 74px rgba(6, 9, 14, 0.75);
}

.card-dominant:hover {
  border-color: rgba(253, 171, 1, 0.9);
}

.card-badge {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 32, 6, 0.14);
  border: 1px solid rgba(255, 32, 6, 0.5);
  box-shadow: var(--shadow-red);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 12px;
}

.war-phrase {
  background: linear-gradient(135deg, rgba(255, 32, 6, 0.2), rgba(6, 9, 14, 0.98) 55%, rgba(255, 32, 6, 0.18));
  border-top: 1px solid rgba(255, 32, 6, 0.25);
  border-bottom: 1px solid rgba(255, 32, 6, 0.25);
}

.war-inner {
  padding: clamp(46px, 6vw, 80px) 0;
  text-align: center;
}

.war-top {
  margin: 0;
  font-size: clamp(22px, 3vw, 36px);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(247, 247, 245, 0.9);
}

.war-main {
  margin: 10px 0 8px;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.02;
  text-transform: uppercase;
  text-shadow: var(--shadow-red-strong);
}

.war-sub {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(247, 247, 245, 0.86);
}

.section-gallery {
  background:
    radial-gradient(1000px 420px at 10% 20%, rgba(255, 32, 6, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(6, 9, 14, 1), rgba(6, 9, 14, 0.98));
}

.section-schedule {
  background:
    radial-gradient(1000px 420px at 10% 20%, rgba(255, 32, 6, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(6, 9, 14, 1), rgba(6, 9, 14, 0.98));
}

.schedule-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

.schedule-panel {
  border-radius: 18px;
  border: 1px solid rgba(247, 247, 245, 0.14);
  background: rgba(6, 9, 14, 0.55);
  box-shadow: 0 18px 54px rgba(6, 9, 14, 0.65);
  padding: 18px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.schedule-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 32, 6, 0.25);
  background: linear-gradient(135deg, rgba(255, 32, 6, 0.09), rgba(6, 9, 14, 0.9));
  padding: 16px;
}

.schedule-label {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 16px;
  color: rgba(253, 171, 1, 0.95);
}

.schedule-time {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 750;
  color: rgba(247, 247, 245, 0.86);
}

.schedule-time + .schedule-time {
  margin-top: 6px;
}

.schedule-time-strong {
  font-size: 22px;
  letter-spacing: 0.5px;
  color: rgba(247, 247, 245, 0.98);
  text-shadow: var(--shadow-red-strong);
}

.schedule-note {
  margin: 10px 0 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 650;
  color: rgba(247, 247, 245, 0.74);
}

.schedule-footnote {
  margin: 14px 0 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 650;
  color: rgba(247, 247, 245, 0.72);
}

.schedule-actions {
  margin-top: 16px;
}

.schedule-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(247, 247, 245, 0.1);
  background: rgba(6, 9, 14, 0.6);
  box-shadow: 0 22px 64px rgba(6, 9, 14, 0.75);
}

.schedule-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.gallery-item {
  grid-column: span 4;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(247, 247, 245, 0.14);
  background: rgba(6, 9, 14, 0.6);
  box-shadow: 0 18px 54px rgba(6, 9, 14, 0.65);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transform: translateZ(0);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: transform 320ms ease, filter 320ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 9, 14, 0.15), rgba(6, 9, 14, 0.92)),
    radial-gradient(420px 240px at 50% 30%, rgba(255, 32, 6, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 32, 6, 0.7);
  box-shadow: var(--shadow-red-strong), 0 26px 74px rgba(6, 9, 14, 0.8);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover::before {
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.05);
}

.gallery-item:focus-visible {
  outline: 2px solid rgba(253, 171, 1, 0.95);
  outline-offset: 3px;
}

.gallery-status {
  margin: 14px 0 0;
  min-height: 18px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 650;
  color: rgba(247, 247, 245, 0.78);
}

.section-cta {
  background:
    radial-gradient(900px 420px at 75% 30%, rgba(255, 32, 6, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(6, 9, 14, 0.98), rgba(6, 9, 14, 1));
}

.cta-panel {
  border-radius: 22px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(255, 32, 6, 0.22);
  background: linear-gradient(135deg, rgba(6, 9, 14, 0.92), rgba(255, 32, 6, 0.1));
  box-shadow: var(--shadow-red), 0 22px 74px rgba(6, 9, 14, 0.75);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
}

.cta-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 44px);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cta-text {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 650;
  color: rgba(247, 247, 245, 0.95);
  line-height: 1.6;
}

.section-location {
  background:
    radial-gradient(900px 420px at 20% 30%, rgba(253, 171, 1, 0.08), transparent 55%),
    radial-gradient(900px 420px at 80% 60%, rgba(255, 32, 6, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(6, 9, 14, 0.98), rgba(6, 9, 14, 1));
}

.location-panel {
  border-radius: 22px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(253, 171, 1, 0.22);
  background: linear-gradient(135deg, rgba(6, 9, 14, 0.92), rgba(253, 171, 1, 0.08));
  box-shadow: var(--shadow-gold), 0 22px 74px rgba(6, 9, 14, 0.75);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
}

.location-map {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(247, 247, 245, 0.12);
  background: rgba(6, 9, 14, 0.7);
  box-shadow: 0 18px 54px rgba(6, 9, 14, 0.65);
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 360px;
}

.cta-actions {
  display: grid;
  gap: 12px;
}

.btn-whatsapp {
  border-color: rgba(253, 171, 1, 0.7);
  background: linear-gradient(135deg, rgba(253, 171, 1, 0.92), rgba(6, 9, 14, 0.2));
  box-shadow: var(--shadow-gold), 0 18px 60px rgba(6, 9, 14, 0.7);
  color: var(--black);
}

.btn-whatsapp:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(253, 171, 1, 0.98), rgba(255, 32, 6, 0.22));
  border-color: rgba(255, 32, 6, 0.85);
  box-shadow: var(--shadow-red-strong), var(--shadow-gold);
}

.btn-phone {
  border-color: rgba(255, 32, 6, 0.7);
  background: linear-gradient(135deg, rgba(6, 9, 14, 0.8), rgba(255, 32, 6, 0.12));
}

.btn-phone:hover {
  transform: translateY(-1px);
  border-color: rgba(253, 171, 1, 0.85);
  box-shadow: var(--shadow-red), var(--shadow-gold);
}

.site-footer {
  padding: 28px 0;
  background: rgba(6, 9, 14, 1);
  border-top: 1px solid rgba(255, 32, 6, 0.22);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

.footer-meta {
  text-align: right;
}

.footer-line {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(247, 247, 245, 0.78);
}

.footer-copy {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 650;
  color: rgba(247, 247, 245, 0.72);
}

.footer-admin {
  margin-top: 10px;
}

.fab-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 32, 6, 0.95), rgba(6, 9, 14, 0.2));
  border: 1px solid rgba(255, 32, 6, 0.8);
  box-shadow: var(--shadow-red-strong), 0 22px 64px rgba(6, 9, 14, 0.75);
  z-index: 60;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.fab-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.fab-whatsapp:hover {
  transform: translateY(-2px);
  border-color: rgba(253, 171, 1, 0.9);
  box-shadow: var(--shadow-red-strong), var(--shadow-gold), 0 30px 86px rgba(6, 9, 14, 0.8);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
}

.lightbox[aria-hidden="false"] {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 14, 0.88);
}

.lightbox-panel {
  position: relative;
  width: min(1100px, calc(100% - 26px));
  max-height: min(86vh, 860px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 32, 6, 0.36);
  background: rgba(6, 9, 14, 0.92);
  box-shadow: var(--shadow-red-strong), 0 30px 86px rgba(6, 9, 14, 0.85);
}

.lightbox-img {
  width: 100%;
  height: min(86vh, 860px);
  object-fit: contain;
  background: rgba(6, 9, 14, 0.9);
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(247, 247, 245, 0.16);
  background: rgba(6, 9, 14, 0.6);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.lightbox-close:hover {
  transform: translateY(-1px);
  border-color: rgba(253, 171, 1, 0.85);
  box-shadow: var(--shadow-gold);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(0.2px);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 50% 0%, rgba(255, 32, 6, 0.14), transparent 55%),
    radial-gradient(820px 560px at 10% 30%, rgba(253, 171, 1, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(6, 9, 14, 1), rgba(6, 9, 14, 1));
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 70;
  background: linear-gradient(180deg, rgba(6, 9, 14, 0.98), rgba(6, 9, 14, 0.86) 55%, rgba(255, 32, 6, 0.06));
  border-bottom: 1px solid rgba(255, 32, 6, 0.22);
  backdrop-filter: blur(10px);
}

.admin-topbar-inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-top-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.admin-top-brand span {
  color: rgba(247, 247, 245, 0.9);
}

.admin-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-file {
  position: relative;
  overflow: hidden;
}

.admin-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 18px auto 64px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items: start;
}

.admin-shell[aria-hidden="true"] {
  display: none;
}

.admin-sidebar {
  position: sticky;
  top: 86px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(247, 247, 245, 0.14);
  background: rgba(6, 9, 14, 0.55);
  box-shadow: 0 18px 54px rgba(6, 9, 14, 0.65);
}

.admin-nav {
  width: 100%;
  text-align: left;
  border-radius: 14px;
  border: 1px solid rgba(247, 247, 245, 0.14);
  background: rgba(6, 9, 14, 0.35);
  color: rgba(247, 247, 245, 0.88);
  padding: 12px 12px;
  cursor: pointer;
  font-weight: 950;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.admin-nav + .admin-nav {
  margin-top: 10px;
}

.admin-nav:hover {
  transform: translateY(-1px);
  border-color: rgba(253, 171, 1, 0.5);
  box-shadow: var(--shadow-gold);
}

.admin-nav.is-active {
  border-color: rgba(255, 32, 6, 0.7);
  box-shadow: var(--shadow-red-strong);
  background: linear-gradient(135deg, rgba(255, 32, 6, 0.16), rgba(6, 9, 14, 0.9));
}

.admin-content {
  min-width: 0;
}

.admin-view {
  display: none;
}

.admin-view.is-active {
  display: block;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.admin-toolbar-left,
.admin-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-card {
  border-radius: 18px;
  border: 1px solid rgba(247, 247, 245, 0.14);
  background: rgba(6, 9, 14, 0.55);
  box-shadow: 0 18px 54px rgba(6, 9, 14, 0.65);
  padding: 14px;
}

.admin-card-title {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(247, 247, 245, 0.95);
}

.admin-table-wrap {
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(247, 247, 245, 0.12);
}

.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 860px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.admin-table th,
.admin-table td {
  padding: 12px 12px;
  border-bottom: 1px solid rgba(247, 247, 245, 0.08);
  vertical-align: top;
}

.admin-table th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(247, 247, 245, 0.78);
  background: rgba(6, 9, 14, 0.75);
  position: sticky;
  top: 0;
}

.admin-strong {
  font-weight: 850;
  color: rgba(247, 247, 245, 0.96);
}

.admin-sub {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(247, 247, 245, 0.64);
}

.admin-notes {
  max-width: 360px;
  color: rgba(247, 247, 245, 0.78);
}

.admin-row-actions {
  white-space: nowrap;
  text-align: right;
}

.admin-row-btn {
  border-radius: 12px;
  border: 1px solid rgba(247, 247, 245, 0.14);
  background: rgba(6, 9, 14, 0.35);
  color: rgba(247, 247, 245, 0.92);
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 850;
  letter-spacing: 1px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.admin-row-btn + .admin-row-btn {
  margin-left: 8px;
}

.admin-row-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(253, 171, 1, 0.5);
  box-shadow: var(--shadow-gold);
}

.admin-row-btn-danger {
  border-color: rgba(255, 32, 6, 0.42);
}

.admin-row-btn-danger:hover {
  border-color: rgba(255, 32, 6, 0.85);
  box-shadow: var(--shadow-red-strong);
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.admin-pill-ok {
  background: rgba(253, 171, 1, 0.14);
  border: 1px solid rgba(253, 171, 1, 0.4);
  color: rgba(253, 171, 1, 0.95);
}

.admin-pill-warn {
  background: rgba(247, 247, 245, 0.1);
  border: 1px solid rgba(247, 247, 245, 0.24);
  color: rgba(247, 247, 245, 0.9);
}

.admin-pill-danger {
  background: rgba(255, 32, 6, 0.14);
  border: 1px solid rgba(255, 32, 6, 0.42);
  color: rgba(255, 32, 6, 0.95);
}

.admin-input,
.admin-select,
.admin-textarea {
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(247, 247, 245, 0.14);
  background: rgba(6, 9, 14, 0.55);
  color: rgba(247, 247, 245, 0.92);
  padding: 0 12px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 750;
  letter-spacing: 0.2px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.admin-textarea {
  height: auto;
  padding: 10px 12px;
  resize: vertical;
}

.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus {
  border-color: rgba(253, 171, 1, 0.65);
  box-shadow: var(--shadow-gold);
}

.admin-login {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(980px 560px at 50% 10%, rgba(255, 32, 6, 0.18), transparent 60%),
    radial-gradient(900px 520px at 20% 40%, rgba(253, 171, 1, 0.08), transparent 66%),
    rgba(6, 9, 14, 0.92);
}

.admin-login[aria-hidden="true"] {
  display: none;
}

.admin-login-panel {
  width: min(520px, 100%);
  border-radius: 20px;
  border: 1px solid rgba(247, 247, 245, 0.14);
  background: rgba(6, 9, 14, 0.62);
  box-shadow: var(--shadow-red-strong), 0 30px 86px rgba(6, 9, 14, 0.85);
  padding: 18px;
}

.admin-login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-login-kicker {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 850;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(247, 247, 245, 0.78);
}

.admin-login-title {
  margin: 4px 0 0;
  font-size: 28px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: var(--shadow-red-strong);
}

.admin-form {
  display: grid;
  gap: 12px;
}

.admin-field {
  display: grid;
  gap: 8px;
}

.admin-label {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 850;
  letter-spacing: 1px;
  color: rgba(247, 247, 245, 0.84);
}

.admin-error {
  margin: 0;
  min-height: 18px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  color: rgba(255, 32, 6, 0.9);
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-readonly {
  border-radius: 14px;
  border: 1px solid rgba(247, 247, 245, 0.12);
  background: rgba(6, 9, 14, 0.45);
  padding: 10px 12px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  color: rgba(247, 247, 245, 0.9);
}

.admin-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(247, 247, 245, 0.12);
  background: rgba(6, 9, 14, 0.45);
  cursor: pointer;
  user-select: none;
}

.admin-check input {
  width: 18px;
  height: 18px;
  accent-color: rgba(253, 171, 1, 0.95);
}

.admin-check span {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 850;
  color: rgba(247, 247, 245, 0.9);
}

.admin-check:hover {
  border-color: rgba(253, 171, 1, 0.45);
  box-shadow: var(--shadow-gold);
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 520;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.admin-modal[aria-hidden="false"] {
  display: flex;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 14, 0.88);
}

.admin-modal-panel {
  position: relative;
  width: min(720px, 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 32, 6, 0.36);
  background: rgba(6, 9, 14, 0.92);
  box-shadow: var(--shadow-red-strong), 0 30px 86px rgba(6, 9, 14, 0.85);
  overflow: hidden;
}

.admin-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(247, 247, 245, 0.1);
}

.admin-modal-title {
  margin: 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 16px;
}

.admin-modal-x {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(247, 247, 245, 0.16);
  background: rgba(6, 9, 14, 0.6);
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.admin-modal-x:hover {
  transform: translateY(-1px);
  border-color: rgba(253, 171, 1, 0.85);
  box-shadow: var(--shadow-gold);
}

.admin-modal-body {
  padding: 14px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.admin-stat {
  border-radius: 18px;
  border: 1px solid rgba(247, 247, 245, 0.14);
  background: rgba(6, 9, 14, 0.55);
  box-shadow: 0 18px 54px rgba(6, 9, 14, 0.65);
  padding: 14px;
}

.admin-stat-label {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 850;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(247, 247, 245, 0.75);
}

.admin-stat-value {
  margin: 10px 0 0;
  font-size: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: var(--shadow-red-strong);
}

.admin-charts {
  display: grid;
  gap: 12px;
}

.admin-canvas {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(247, 247, 245, 0.1);
  background: rgba(6, 9, 14, 0.72);
}

@media (max-width: 980px) {
  .disciplines-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-dominant {
    grid-column: 1 / -1;
  }

  .card-media img {
    height: 150px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .location-panel {
    grid-template-columns: 1fr;
  }

  .location-map iframe {
    height: 320px;
  }

  .schedule-layout {
    grid-template-columns: 1fr;
  }

  .schedule-media img {
    min-height: 300px;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand cta"
      "nav nav"
      "social social";
    justify-items: stretch;
    padding: 10px 14px 14px;
    gap: 10px;
  }

  .brand {
    grid-area: brand;
    justify-self: start;
  }

  .header-cta {
    grid-area: cta;
    justify-self: end;
  }

  .main-nav {
    grid-area: nav;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
  }

  .header-social {
    grid-area: social;
    justify-content: flex-start;
  }

  .hero-bullets {
    max-width: 100%;
  }

  .gallery-item {
    grid-column: span 6;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .admin-grid2 {
    grid-template-columns: 1fr;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-checks {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-meta {
    text-align: center;
  }
}

@media (max-width: 420px) {
  .gallery-item {
    grid-column: span 12;
  }
}

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

  .btn,
  .social,
  .card,
  .gallery-item,
  .reveal,
  .fab-whatsapp {
    transition: none;
  }

  .ring-img {
    transition: none;
  }

  body.is-web-reveal > :not(.ring-intro):not(.skip-link) {
    transition: none;
  }
}
