/* ============================================================
   Underc0de Day 2026 - estilos propios (complementa style.css)
   ============================================================ */

/* --- iconos FontAwesome dentro de las cards de sector --- */
.feature-icon i {
  font-size: 52px;
  line-height: 80px;
  color: var(--theme-color);
  transition: var(--transition);
}

/* --- tarjetas de logos (sponsors y empresas por sector) --- */
.uc-logo {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  padding: 18px;
  transition: var(--transition2);
}

.uc-logo img {
  max-height: 55px;
  max-width: 100%;
  width: auto;
}

.uc-logo:hover {
  transform: translateY(-6px);
  box-shadow: var(--box-shadow2);
}

.uc-logo.lg {
  height: 150px;
}

.uc-logo.lg img {
  max-height: 80px;
}

.uc-logo.sm {
  height: 90px;
  padding: 12px;
}

.uc-logo.sm img {
  max-height: 42px;
}

/* --- lugar libre "tu marca aca" --- */
.uc-slot {
  border: 2px dashed rgba(140, 82, 255, .45);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
  text-align: center;
  color: var(--theme-color2);
  font-weight: 600;
  font-family: var(--heading-font);
  font-size: 14px;
  line-height: 1.35;
  padding: 12px;
  transition: var(--transition2);
}

.uc-slot:hover {
  background: rgba(140, 82, 255, .06);
  color: var(--theme-color);
  border-color: var(--theme-color);
}

/* --- niveles de sponsors --- */
.sponsor-tier {
  text-align: center;
  margin: 60px 0 15px;
}

.sponsor-tier .badge-tier {
  display: inline-block;
  padding: 12px 36px;
  border-radius: 50px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: var(--heading-font);
  font-size: 15px;
  box-shadow: var(--box-shadow2);
}

.sponsor-tier .badge-tier i {
  margin-right: 8px;
}

.sponsor-tier p {
  margin: 12px 0 0;
}

.tier-oro {
  background: linear-gradient(90deg, #b8860b, #f0c430);
}

.tier-plata {
  background: linear-gradient(90deg, #7f8c99, #c3ccd4);
}

.tier-bronce {
  background: linear-gradient(90deg, #8c4a1d, #cd7f32);
}

/* --- bloques de sectores --- */
.sector-block {
  scroll-margin-top: 130px;
}

#evento,
#underc0de,
#ubicacion {
  scroll-margin-top: 120px;
}

.sector-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 12px;
}

.sector-icon {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--theme-color), var(--theme-color2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: var(--box-shadow2);
}

.sector-head h3 {
  margin: 0;
  font-size: 30px;
}

.sector-count {
  display: inline-block;
  margin-left: 12px;
  background: rgba(252, 34, 106, .1);
  color: var(--theme-color);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--heading-font);
  vertical-align: middle;
  white-space: nowrap;
}

.sector-desc {
  max-width: 780px;
  margin-bottom: 10px;
}

/* --- chips de navegacion entre sectores --- */
.sector-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.sector-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  background: var(--color-white);
  box-shadow: var(--box-shadow);
  color: var(--color-dark);
  font-weight: 600;
  font-family: var(--heading-font);
  font-size: 14px;
  transition: var(--transition2);
}

.sector-nav a i {
  color: var(--theme-color);
  transition: var(--transition2);
}

.sector-nav a:hover {
  background: linear-gradient(90deg, var(--theme-color), var(--theme-color2));
  color: #fff;
}

.sector-nav a:hover i {
  color: #fff;
}

/* --- mapa de ubicacion --- */
.uc-map iframe {
  width: 100%;
  height: 430px;
  border: 0;
  border-radius: 20px;
  box-shadow: var(--box-shadow);
  display: block;
}

/* --- fotos reales de la galeria (alturas fijas para que el
       mosaico se mantenga con cualquier proporcion de foto) --- */
.uc-gal {
  width: 100%;
  object-fit: cover;
  display: block;
}

.uc-gal-big {
  height: 320px;
}

.uc-gal-sm {
  height: 240px;
}

.uc-gal-tall {
  height: 584px;
}

.uc-gal-mid {
  height: 280px;
}

/* foto de la seccion Underc0de (mantiene el recorte vertical del template) */
.uc-choose-photo {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

/* --- ajustes responsive --- */
body {
  overflow-x: hidden;
}

.uc-logo {
  border: 1px solid rgba(1, 5, 76, .07);
}

@media (max-width: 991px) {
  .site-shadow-text {
    display: none;
  }
}

@media (max-width: 767px) {
  .sector-head h3 {
    font-size: 22px;
  }

  .sector-count {
    display: block;
    margin: 8px 0 0;
    width: fit-content;
  }

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

  .uc-gal-big {
    height: 240px;
  }

  .uc-gal-sm {
    height: 170px;
  }

  .uc-gal-tall {
    height: 300px;
  }

  .uc-gal-mid {
    height: 230px;
  }
}

@media (max-width: 575px) {
  .header-top-social {
    display: none;
  }

  .header-top-contact ul {
    justify-content: center;
  }

  .event-countdown.ec-1 .event-countdown-text {
    display: none;
  }

  .hero-date h1 {
    font-size: 56px;
  }

  .uc-logo {
    height: 96px;
    padding: 14px;
  }

  .uc-logo.lg {
    height: 120px;
  }

  .uc-logo.lg img {
    max-height: 62px;
  }

  .uc-logo.sm {
    height: 80px;
  }

  .uc-logo.sm img {
    max-height: 36px;
  }

  .uc-slot {
    height: 96px;
    font-size: 13px;
  }

  .sector-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .sector-head {
    gap: 14px;
  }

  .sector-nav a {
    padding: 8px 14px;
    font-size: 13px;
  }

  .sponsor-tier .badge-tier {
    padding: 10px 22px;
    font-size: 13px;
    letter-spacing: 2px;
  }
}

/* --- header a todo el ancho (el template lo cortaba 200px antes) --- */
.navbar::before {
  width: 100%;
}

/* --- hero: todos los slides con la misma altura --- */
.hero-single {
  min-height: 760px;
}

@media (max-width: 991px) {
  .hero-single {
    min-height: 620px;
  }
}

@media (max-width: 575px) {
  .hero-single {
    min-height: 540px;
    padding-top: 110px;
    padding-bottom: 120px;
  }
}

/* --- circulos del About siempre redondos con cualquier foto --- */
.about-img img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* --- seccion solidaria (alimento no perecedero + sorteo) --- */
.solidario-area {
  background: var(--theme-gradient);
  position: relative;
  overflow: hidden;
}

#solidario {
  scroll-margin-top: 120px;
}

.solidario-note {
  opacity: .85;
  font-size: 15px;
  margin: 14px 0 0;
}

.solidario-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--box-shadow2);
}

.solidario-card + .solidario-card {
  margin-top: 16px;
}

.solidario-card i {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(252, 34, 106, .08);
  color: var(--theme-color);
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solidario-card h5 {
  margin: 0 0 4px;
  font-size: 18px;
}

.solidario-card p {
  margin: 0;
  font-size: 15px;
}

/* --- sponsors: cada nivel en su tarjeta, bien separados --- */
.tier-block {
  background: var(--color-white);
  border-radius: 24px;
  padding: 55px 30px 40px;
  box-shadow: var(--box-shadow);
  margin-top: 95px;
  position: relative;
}

.tier-block .sponsor-tier {
  position: absolute;
  top: -28px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
}

.tier-block-oro {
  background: linear-gradient(180deg, rgba(240, 196, 48, .12), var(--color-white) 140px);
}

.tier-block-plata {
  background: linear-gradient(180deg, rgba(150, 163, 175, .14), var(--color-white) 140px);
}

.tier-block-bronce {
  background: linear-gradient(180deg, rgba(205, 127, 50, .12), var(--color-white) 140px);
}

@media (max-width: 575px) {
  .tier-block {
    padding: 50px 16px 30px;
    margin-top: 80px;
  }

  .solidario-card {
    padding: 18px;
    gap: 14px;
  }

  .solidario-card i {
    width: 54px;
    height: 54px;
    font-size: 25px;
  }
}

/* --- seccion de prensa (notas de ediciones anteriores) --- */
.uc-press-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.press-area .blog-title a {
  font-size: 18px;
  line-height: 1.4;
}

.uc-press-desc {
  margin: 10px 0 18px;
  font-size: 15px;
}

.press-area .blog-item {
  height: 100%;
}

/* botones de prensa alineados al fondo de la tarjeta */
.press-area .blog-item {
  display: flex;
  flex-direction: column;
}

.press-area .blog-item-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.press-area .blog-item-info .theme-btn {
  margin-top: auto;
  align-self: flex-start;
}
