/* =========================================================
   Tipografías
   ========================================================= */
@font-face {
  font-family: 'Affigere';
  src: url('../font/Affigere-Regular.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'DMSans';
  src: url('../font/DMSans-Regular_0.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'DMSans';
  src: url('../font/DMSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'DMSans';
  src: url('../font/DMSans-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'Youngster';
  src: url('../font/Youngster.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* =========================================================
   Variables / Base
   ========================================================= */
:root {
  --color-primario: #007CC1;
  --color-pink: #F29FC5;
  --color-green: #BCCF00;
  --color-hover: #2e2e78;
}

html,
body {
  font-family: 'DMSans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background: #fff;
  overflow-x: hidden !important;
  width: 100%;
}

h1 {
  font-family: 'Affigere', sans-serif;
  font-size: 7rem;
  line-height: 85px;
  letter-spacing: 1px;
}

p {
  font-size: 1.25rem;
}

/* =========================================================
   Botón primario reutilizable
   ========================================================= */
.btn-cta {
  background: #fff !important;
  color: var(--color-primario) !important;
  border-radius: 999px !important;
  padding: 4px 28px !important;
  font-size: 2rem !important;
  width: 70%;
}

.btn-cta:hover {
  background: var(--color-hover) !important;
  color: var(--color-green) !important;
}

/* =========================================================
   HERO / HEADER
   ========================================================= */
.hero {
  min-height: 88vh;
  display: grid;
  align-items: center;
  text-align: center;
  background: var(--color-primario);
  overflow: visible;
  /* deja ver ornamentos */
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-runner {
  max-height: 80vh;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.hero-brand {
  max-width: 520px;
}

.fecha {
  display: inline-flex;
  align-items: center;
  font-family: 'Affigere';
  text-transform: uppercase;
}

.fecha h1 {
  color: var(--color-green);
  font-size: 8rem;
}

.fecha h3 {
  color: var(--color-pink);
  font-size: 54px;
  text-align: justify;
  line-height: 52px;
  margin-left: 5px;
}

/* Logo institucional en hero */
.logo-sa img {
  width: 262px;
  text-align: center;
  margin: auto;
}

/* =========================================================
   COUNTDOWN / TIME
   ========================================================= */
.countdown-section {
  background: var(--color-primario);
  color: #fff;
}

.countdown-section p {
  font-size: 1.375rem;
  line-height: 1.3;
  font-weight: 350;
  letter-spacing: 0;
}

.countdown-section span {
  color: var(--color-green);
  font-weight: 400;
}

.contador {
  font-family: 'Affigere', sans-serif;
  text-align: center;
}

.contador h2 {
  font-size: 7rem;
  margin: 0 0 .4rem;
  line-height: .88;
  text-align: center;
}

.timer {
  display: flex;
  justify-content: center !important;
  gap: 1.25rem;
}

.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-right: .75rem;
}

/* línea separadora */
.time-box:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 8%;
  width: 3px;
  height: 100px;
  background: #fff;
  border-radius: 2px;
  opacity: .9;
}

.contador .numero {
  font-size: 9rem;
  line-height: .9;
  color: var(--color-green);
}

.contador .label {
  font-size: 4rem;
  line-height: 1;
  color: var(--color-pink);
  margin-top: .25rem;
}

/* =========================================================
   SLIDER (Bootstrap Carousel)
   ========================================================= */
.slider-section h1 {
  font-size: 7rem;
  line-height: 85px;
  color: var(--color-green);
}

.slider-section h1 span {
  color: var(--color-pink);
}

#sliderMaraton {
  position: relative;
  overflow: visible;
}

#sliderMaraton .carousel-inner {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
}

.carousel-inner img {
  max-height: 529px;
  border-radius: 40px;
  width: 95% !important;
  margin: auto;
  display: block;
  object-fit: cover;
}

/* Controles */
.slider-section .carousel-control-prev,
.slider-section .carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ebebeb;
  opacity: 1;
  z-index: 10;
  padding: 0;
  flex: 0 0 auto;
}

.slider-section .carousel-control-prev {
  left: -28px;
}

.slider-section .carousel-control-next {
  right: -28px;
}

.slider-section .carousel-control-prev-icon,
.slider-section .carousel-control-next-icon {
  width: 22px;
  height: 22px;
  background-size: 22px 22px;
  background-repeat: no-repeat;
  background-position: center;
  filter: none !important;
}

.slider-section .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M10.5 2.5L4.5 8l6 5.5' fill='none' stroke='%230A58A6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.slider-section .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 2.5L11.5 8l-6 5.5' fill='none' stroke='%230A58A6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.slider-section .carousel-control-prev:hover,
.slider-section .carousel-control-next:hover {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
}

/* CTA del slider */
.slider-section .btn-cta {
  background: var(--color-primario) !important;
  color: #fff !important;
  width: 40%;
}

.slider-section .btn-cta:hover {
  background: var(--color-hover) !important;
  color: var(--color-green) !important;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-section {
  background: var(--color-primario);
  color: #fff;
}

.about-section h1 {
  font-size: 7rem;
  line-height: 85px;
  color: var(--color-green);
}

.about-section h1 span {
  color: var(--color-pink);
}

.about-box {
  background: #fff;
  border-radius: 20px;
  color: var(--color-primario);
  font-size: 1.25rem;
}

.about-box h1 {
  font-size: 3rem;
}


/* Ícono + título centrados */
.important-box {
  display: flex;
  align-items: center;
  justify-content: center;
  /* centra todo horizontalmente */
  gap: 12px;
  text-align: center;
  margin-bottom: 10px;
  /* separa del párrafo */
}

/* Ícono */
.icon-lupa {
  width: 42px;
  height: auto;
  flex-shrink: 0;
}

/* Título */
.important-box h1 {
  font-size: 2.5rem;
  color: var(--color-pink);
  margin: 0;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 1px;
}

.important-box h1 span {
  color: #bccf00;
  /* verde */
}

/* Ajuste responsive (por si se desborda en móviles) */
@media (max-width: 576px) {
  .important-box {
    flex-direction: column;
    /* ícono arriba, texto abajo */
    gap: 6px;
  }

  .icon-lupa {
    width: 32px;
  }

  .important-box h1 {
    font-size: 1.8rem;
    text-align: center;
  }
}


/* =========================================================
   ACREDITACIÓN
   ========================================================= */
.acreditacion-section {
  background: #fff;
  color: var(--color-primario);
}

.acreditacion-title {
  font-family: 'Affigere', sans-serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--color-green);
}

.acreditacion-title span {
  color: var(--color-pink);
  font-size: 2rem;
  display: block;
}

.acreditacion-info p {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.btn-acreditacion {
  background: var(--color-primario);
  color: #fff;
  border-radius: 50px;
  padding: 10px 26px;
  font-size: 1.25rem;
  font-weight: 500;
  display: inline-block;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.btn-acreditacion:hover {
  background: var(--color-hover);
  color: var(--color-green);
}

/* Responsive */
@media (max-width: 992px) {
  .acreditacion-title {
    font-size: 3.5rem;
  }

  .acreditacion-title span {
    font-size: 2.8rem;
  }
}

@media (max-width: 576px) {
  .acreditacion-title {
    text-align: center;
    font-size: 2.8rem;
  }

  .acreditacion-title span {
    font-size: 2.2rem;
  }

  .acreditacion-info {
    text-align: center;
  }

  .btn-acreditacion {
    font-size: 1.1rem;
    width: 70%;
  }
}


/* =========================================================
   DISTANCIAS
   ========================================================= */
.distancias-section {
  background: var(--color-primario);
  color: #fff;
}

.btn-reglamento {
  background: var(--color-green);
  color: #fff;
  border-radius: 50px;
  padding: 10px 26px;
  font-size: 1.25rem;
  font-weight: 500;
  display: inline-block;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.btn-reglamento:hover {
  background: var(--color-hover) !important;
  color: var(--color-green);
}

.dist-card {
  background: transparent;
  padding: 8px 8px 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  justify-items: center;
  gap: 14px;
}

.dist-badge {
  background: #fff;
  color: var(--color-pink);
  border-radius: 18px;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  font-family: 'Affigere', sans-serif;
  font-size: 3.813rem;
  letter-spacing: 1px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.dist-desc {
  color: #fff;
  font-size: 17px;
  line-height: 1.45;
  margin: 0 30px;
}

.dist-card .dist-btn {
  background: #fff;
  color: var(--color-primario);
  border-radius: 999px;
  padding: 10px 22px;
  border: none;
  font-size: 1.125rem;
  font-weight: 500;
}

.dist-card .dist-btn:hover {
  color: var(--color-green);
  background: var(--color-hover);
}

/* =========================================================
   INFO MARATON
   ========================================================= */

.info-maraton-section {
  background: var(--color-primario);
  color: #fff;
}

.info-title {
  font-family: 'Affigere', sans-serif;
  font-size: clamp(2.6rem, 6vw, 6rem);
  line-height: 1;
  color: var(--color-green);
  margin: 0;
  letter-spacing: 1px;
}

.info-title span {
  color: var(--color-pink);
}

/* Tarjetas */
.info-card {
  background: #fff;
  border-radius: 18px;
  padding: clamp(18px, 3vw, 28px);
  height: 100%;
  display: grid;
  gap: .35rem;
  place-items: center;
  color: var(--color-primario);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  letter-spacing: 1px;
}

.info-label {
  font-family: 'Affigere', sans-serif;
  color: var(--color-pink);
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  line-height: 1;
}

.info-value {
  font-family: 'Affigere', sans-serif;
  color: var(--color-green);
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: .95;
}

/* Ubicación */
.info-ubica {
  font-family: 'Affigere', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0;
  letter-spacing: 1px;
}

.info-ubica-strong {
  font-family: 'Affigere', sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  color: var(--color-green);
  margin: 0 0 .75rem;
  letter-spacing: 1px;
}

/* Nota */
.info-note {
  opacity: .95;
  text-align: center;
}

.info-note span {
  color: var(--color-green);
}


/* =========================================================
   Sponsors (Roles)
   ========================================================= */
.sponsors-section h1 {
  font-family: 'Affigere', sans-serif;
  font-size: 7rem;
  color: var(--color-green);
}

.sponsors-section h1 span {
  color: var(--color-pink);
}

.sponsor-role {
  color: var(--color-primario);
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 12px;
}

.sponsor-card {
  background: #fff;
  border: 1px solid var(--color-primario);
  border-radius: 18px;
  padding: 18px 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform .15s ease, box-shadow .15s ease;
  height: 140px;
}

.sponsor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .1);
}

.sponsor-logo {
  max-width: 160px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* =========================================================
   Naming Sponsor (fondo con overlay)
   ========================================================= */
.naming-sponsor-section {
  position: relative;
  background: url("../img/naming-bg.png") no-repeat top center / cover;
  background-position: center 43%;
  padding: 80px 0;
  color: #fff;
  text-align: center;
  z-index: 1;
}

.naming-sponsor-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: -1;
}

.naming-logo {
  max-width: 340px;
  width: 100%;
  height: auto;
}

/* =========================================================
   Sponsors Grid
   ========================================================= */
.sponsors-grid-section {
  background: #fff;
}

.sponsors-grid-section .row {
  row-gap: 1.75rem;
}

.logo-box {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
}

.logo-box img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) contrast(1) opacity(.85);
  -webkit-filter: grayscale(100%) contrast(1) opacity(.85);
  transition: transform .18s ease, filter .18s ease, opacity .18s ease;
  will-change: transform, filter;
}

.logo-main {
  height: 125px;
}

.logo-box:hover img {
  filter: none;
  -webkit-filter: none;
  opacity: 1;
  transform: scale(1.05);
}

@media (prefers-reduced-motion:reduce) {
  .logo-box img {
    transition: none;
  }
}

/* =========================================================
   Solidario
   ========================================================= */
.solidario-section {
  background: #f1f1f1;
  color: var(--color-primario);
}

.solidario-title {
  font-family: 'Affigere', sans-serif;
  font-size: 7rem;
  line-height: 85px;
  color: var(--color-green);
}

.solidario-title span {
  color: var(--color-pink);
}

.solidario-logo {
  max-width: 180px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.solidario-text strong {
  color: var(--color-primario);
}

/* CTA solidario (reusa .btn-cta) */
.info .btn-cta {
  background: var(--color-primario) !important;
  color: #fff !important;
  border-radius: 50px;
  padding: 12px 28px;
  border: none;
  width: 40%;
}

.info .btn-cta:hover {
  background: var(--color-hover) !important;
  color: var(--color-green) !important;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--color-primario);
  color: #fff;
}

.footer-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.footer-logo.sa {
  height: 64px;
}

.footer-badge {
  height: 74px;
  width: auto;
  object-fit: contain;
}

.footer-divider {
  width: 2px;
  height: 56px;
  background: rgba(255, 255, 255, .7);
  border-radius: 2px;
}

.footer-social i {
  font-size: 1.5rem;
  color: #fff;
  opacity: .9;
  transition: transform .15s ease, opacity .15s ease;
}

.footer-social a {
  display: inline-flex;
  padding: .35rem .5rem;
}

.footer-social a:hover i {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-hr {
  border: 0;
  height: 2px;
  background: rgba(255, 255, 255, .6);
  width: 70%;
  margin: 0 auto;
  border-radius: 2px;
}

.footer-copy {
  font-size: 1.05rem;
  line-height: 1.35;
  color: #fff;
  opacity: .95;
}

/* =========================================================
   Ornamentos flotantes (HERO)
   ========================================================= */
.ornament {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: .95;
  animation: floatY var(--dur, 10s) ease-in-out var(--delay, 0s) infinite alternate;
  will-change: transform;
}

/* posiciones/rotaciones personalizadas */
.o1 {
  top: 10%;
  left: 13%;
  width: 204px;
  --rot: 165deg;
  --amp: 22px;
  --dur: 10s;
  --delay: 0s;
}

.o2 {
  top: 233px;
  left: 30%;
  width: 190px;
  --rot: 101deg;
  --amp: 23px;
  --dur: 11s;
  --delay: .4s;
}

.o3 {
  bottom: 66px;
  left: 34%;
  width: 160px;
  --rot: 87deg;
  --amp: 18px;
  --dur: 11s;
  --delay: .8s;
}

.o4 {
  bottom: 36px;
  left: 9%;
  width: 17%;
  --rot: 88deg;
  --amp: 43px;
  --dur: 11s;
  --delay: .8s;
}

.o5 {
  top: 127%;
  right: 6%;
  width: 190px;
  --rot: 165deg;
  --amp: 22px;
  --dur: 10s;
  --delay: 0s;
}

.o6 {
  top: 271%;
  left: 11%;
  width: 190px;
  --rot: 114deg;
  --amp: 23px;
  --dur: 11s;
  --delay: .4s;
}

.o7 {
  top: 368%;
  right: 6%;
  width: 191px;
  --rot: 71deg;
  --amp: 22px;
  --dur: 10s;
  --delay: 0s;
}

@keyframes floatY {
  0% {
    transform: translateY(0) rotate(var(--rot, 0deg));
  }

  100% {
    transform: translateY(calc(-1 * var(--amp, 20px))) rotate(var(--rot, 0deg));
  }
}

/*
.importante {
  background-color: #08568161;
  border-radius: 20px;
}

.importante p{
  color: white;
  font-size: 16px;
}
/*

/* =========================================================
   Breakpoints
   ========================================================= */

/* >=992px */
@media (min-width:992px) {
  .contador {
    text-align: left;
  }

  .timer {
    justify-content: flex-start;
  }
}

/* <992px (tablets) */
@media (max-width:991.98px) {
  .hero {
    min-height: 72vh;
    text-align: center;
  }

  .hero-brand {
    margin-inline: auto;
  }

  .fecha h3 {
    font-size: 44px;
    line-height: 40px;
  }

  h1,
  h2 {
    font-size: 6rem !important;
    line-height: 72px;
  }

  .inscribir .btn-cta,
  .slider-section .btn-cta,
  .solidario-section .btn-cta {
    width: 70%;
    font-size: 23px !important;
    font-weight: 400 !important;
  }

  /* ornamentos */
  .o1 {
    width: 110px;
    top: 18px;
    left: 16px;
  }

  .o3 {
    bottom: 70px;
    left: 28%;
    width: 112px;
    --rot: 90deg;
  }

  .o4 {
    bottom: 48px;
    left: -3%;
    width: 16%;
  }

  .o5 {
    top: 170%;
    right: -2%;
    width: 126px;
  }

  .o6 {
    top: 275%;
    left: -3%;
    width: 126px;
    --rot: 100deg;
  }

  .o7 {
    top: 403%;
    right: -5%;
    width: 177px;
    --rot: 93deg;
  }
}

/* <768px (mobile) */
@media (max-width:767.98px) {
  p {
    text-align: center;
  }

  .about-section h1 {
    font-size: 3rem;
    line-height: 84px;
  }

  .logo img {
    width: 60%;
  }

  .o1,
  .o2,
  .o3,
  .o4 {
    display: none;
  }

  .o5 {
    top: 183%;
    right: -7%;
    width: 165px;
  }

  .o6 {
    top: 295%;
    left: -6%;
    width: 165px;
  }

  .o7 {
    top: 510%;
    right: -9%;
    width: 165px;
  }

  .inscribir .btn-cta,
  .slider-section .btn-cta,
  .solidario-section .btn-cta {
    width: 70%;
    font-size: 23px !important;
    font-weight: 400 !important;
  }

  .logo-sa {
    width: 60%;
    margin: auto;
  }
}


/*375px*/
@media (max-width:320px) {

  .o1,
  .o2,
  .o3,
  .o4,
  .o5,
  .o6,
  .o7 {
    display: none;
  }

  h1 {
    font-size: 4rem !important;
  }

  h2 {
    font-size: 4.4rem !important;
  }

  .slider-section h1,
  .about-section h1,
  .sponsors-section h1,
  .solidario-title {
    font-size: 3.5rem !important;
    line-height: 2.75rem !important;
  }

  .fecha h3 {
    font-size: 31px;
    line-height: 23px;
  }

  .inscribir .btn-cta,
  .slider-section .btn-cta,
  .solidario-section .btn-cta {
    width: 86%;
    font-size: 23px !important;
    font-weight: 400 !important;
  }

  .logo img {
    width: 75%;
  }

  .contador .numero {
    font-size: 6rem;
    line-height: .9;
    color: var(--color-green);
  }

  .footer-copy p {
    font-size: 11px !important
  }
}

/* <576px (xs) */
@media (max-width:575.98px) {
  .ornament {
    display: none;
  }

  header img {
    width: 80%;
  }

  .hero {
    min-height: 45vh;
  }

  h1,
  h2 {
    font-size: 5.4rem !important;
  }

  p {
    font-size: 1.178rem !important;
  }

  .btn {
    width: 80%;
    font-weight: 300 !important;
    font-size: 1.1rem !important;
  }

  .slider-section h1,
  .about-section h1,
  .sponsors-section h1,
  .solidario-title {
    font-size: 3.5rem !important;
    line-height: 2.75rem !important;
    ;
  }

  .slider-section .btn-cta,
  .info .btn-cta {
    width: 80%;
    font-weight: 300 !important;
    font-size: 1.375rem !important;
  }

  .dist-badge {
    width: 80%;
    height: 200px;
    font-size: 4.8rem;
  }

  .fecha h3 {
    font-size: 2.375rem;
    line-height: 2.188rem;
  }

  /*.importante p{
  font-size: 15px !important;
  }*/

  .solidario-section img {
    width: 60%;
  }

  .sponsor-card {
    padding: 16px 18px;
  }

  .sponsor-logo {
    max-width: 160px;
    max-height: 64px;
  }

  .footer-logo {
    height: 48px;
  }

  .footer-logo.sa {
    height: 54px;
  }

  .footer-badge {
    height: 64px;
  }

  .footer-hr {
    width: 85%;
  }

  .logo-sa {
    width: 92%;
  }
}

/*768px*/
@media (max-width:768px) {

  .o1,
  .o2,
  .o3,
  .o4,
  .o5,
  .o6,
  .o7 {
    display: none;
  }
}

/* 1440px y 1200px ajustes finos ornamentales */
@media (max-width:1440px) {
  .o1 {
    width: 150px;
    left: 3%;
  }

  .o2 {
    top: 220px;
    width: 158px;
    left: 22%;
  }

  .o3 {
    bottom: 70px;
    left: 28%;
    width: 112px;
    --rot: 90deg;
  }

  .o4 {
    bottom: 97px;
    left: 1%;
    width: 17%;
  }

  .o5 {
    top: 162%;
    right: -5%;
  }

  .o6 {
    top: 275%;
    left: -4%;
    width: 178px;
    --rot: 100deg;
  }

  .o7 {
    top: 392%;
    right: -5%;
    width: 192px;
    --rot: 83deg;
  }
}

@media (max-width:1200px) {
  .o1 {
    width: 125px;
    left: 2%;
  }

  .o2 {
    top: 220px;
    width: 158px;
    left: 22%;
  }

  .o3 {
    bottom: 70px;
    left: 28%;
    width: 158px;
    --rot: 90deg;
  }

  .o4 {
    bottom: 42px;
    left: -3%;
    width: 19%;
  }

  .o5 {
    top: 158%;
    right: -5%;
    width: 161px;
  }

  .o6 {
    top: 275%;
    left: -4%;
    width: 178px;
    --rot: 100deg;
  }

  .o7 {
    top: 394%;
    right: -4%;
    width: 165px;
    --rot: 89deg;
  }
}

/* 1024px ajuste ornamental + tipografías */
@media (max-width:1024px) {
  .o1 {
    width: 130px;
    left: 3%;
  }

  .o2 {
    top: 220px;
    width: 158px;
    left: 22%;
  }

  .o3 {
    bottom: 70px;
    left: 28%;
    width: 112px;
    --rot: 90deg;
  }

  .o4 {
    bottom: 48px;
    left: -3%;
    width: 16%;
  }

  .o5 {
    top: 162%;
    right: -5%;
  }

  .o6 {
    top: 275%;
    left: -4%;
    width: 178px;
    --rot: 100deg;
  }

  .o7 {
    top: 392%;
    right: -5%;
    width: 192px;
    --rot: 83deg;
  }

  h1 {
    font-size: 5rem !important;
    line-height: 60px !important;
  }

  .fecha h3 {
    font-size: 36px;
    line-height: 32px;
  }

  .contador h2 {
    font-size: 5rem;
  }

  .inscribir .btn-cta,
  .slider-section .btn-cta,
  .solidario-section .btn-cta {
    /*width: 60%;*/
    font-size: 23px !important;
    font-weight: 400 !important;
  }
}



/* ===== Lightbox Recorridos ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}

.lightbox .close {
  position: absolute;
  top: 28px;
  right: 42px;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
}

.lightbox .close:hover {
  color: var(--color-green);
  transform: scale(1.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}