/* Contact page */
.uec-contact-page {
  min-height: 100svh;
  color: var(--uec-black);
  background: var(--uec-light-100);
}

.uec-contact-page__hero {
  padding: calc(var(--site-header-height) + var(--site-header-offset) + 5.5rem) 0 3.75rem;
}

.uec-contact-page__title {
  max-width: 44rem;
  margin: 0;
  color: var(--uec-black);
  font-family: var(--font-family-heading);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 600;
  letter-spacing: 0.0625rem;
  line-height: 1;
  text-transform: uppercase;
}

.uec-contact-page__description {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: var(--uec-dark-400);
  font-size: var(--text-md);
  line-height: 1.7;
}

.uec-contact-page__content {
  padding-bottom: var(--section-padding);
}

.uec-contact-page__container {
  width: min(100% - (var(--container-padding) * 2), 700px);
  max-width: 700px;
}

.uec-contact-page__form-card {
  padding: 40px;
  border: 1px solid var(--uec-light-300);
  border-radius: 24px;
  background: var(--uec-white);
  box-shadow: none;
}

.uec-contact-page__fallback {
  margin: 0;
  color: var(--uec-dark-500);
  font-size: var(--text-md);
  line-height: 1.7;
}

.uec-contact-page__form-card .gform_wrapper {
  --gf-ctrl-bg-color: var(--uec-white);
  --gf-ctrl-border-color: var(--uec-light-300);
  --gf-ctrl-color: var(--uec-black);
  --gf-ctrl-label-color-primary: var(--uec-dark-500);
  --gf-ctrl-label-color-secondary: var(--uec-dark-400);
  --gf-ctrl-accent-color: var(--uec-green-500);
  --gf-form-gap-y: 20px;
  --gf-field-gap-y: 8px;
  --gf-ctrl-radius: 12px;
  --gf-ctrl-size: 50px;
  --gf-ctrl-padding-x: 18px;
  margin: 0;
}

.uec-contact-page__form-card .gform_required_legend {
  display: none;
}

.uec-contact-page__form-card .gform_fields {
  row-gap: 20px;
}

.uec-contact-page__form-card .gfield_label,
.uec-contact-page__form-card legend.gfield_label {
  display: block;
  margin: 0 0 8px;
  color: var(--uec-dark-400);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.1;
  text-transform: uppercase;
}

.uec-contact-page__form-card .gfield_required_text {
  display: none;
}

.uec-contact-page__form-card input[type="text"],
.uec-contact-page__form-card input[type="email"],
.uec-contact-page__form-card input[type="tel"],
.uec-contact-page__form-card input[type="number"],
.uec-contact-page__form-card input[type="url"],
.uec-contact-page__form-card input[type="date"],
.uec-contact-page__form-card input[type="password"],
.uec-contact-page__form-card select,
.uec-contact-page__form-card textarea {
  width: 100% !important;
  min-height: 50px !important;
  padding: 14px 18px !important;
  border: 1px solid var(--uec-light-300) !important;
  border-radius: 12px !important;
  color: var(--uec-black) !important;
  background: var(--uec-white) !important;
  box-shadow: none !important;
  font-family: var(--font-family-base) !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  outline: none !important;
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
}

.uec-contact-page__form-card textarea {
  min-height: 120px !important;
  resize: vertical !important;
}

.uec-contact-page__form-card input::placeholder,
.uec-contact-page__form-card textarea::placeholder {
  color: var(--uec-dark-300) !important;
  opacity: 1 !important;
}

.uec-contact-page__form-card input::-webkit-input-placeholder,
.uec-contact-page__form-card textarea::-webkit-input-placeholder {
  color: var(--uec-dark-300) !important;
  opacity: 1 !important;
}

.uec-contact-page__form-card input::-moz-placeholder,
.uec-contact-page__form-card textarea::-moz-placeholder {
  color: var(--uec-dark-300) !important;
  opacity: 1 !important;
}

.uec-contact-page__form-card select {
  padding-right: 2.75rem !important;
  background:
    linear-gradient(45deg, transparent 50%, var(--uec-green-600) 50%) calc(100% - 1.35rem) 50% / 0.45rem 0.45rem no-repeat,
    linear-gradient(135deg, var(--uec-green-600) 50%, transparent 50%) calc(100% - 1.08rem) 50% / 0.45rem 0.45rem no-repeat,
    var(--uec-white) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.uec-contact-page__form-card input:focus,
.uec-contact-page__form-card select:focus,
.uec-contact-page__form-card textarea:focus {
  border-color: var(--uec-green-500) !important;
  box-shadow: 0 0 0 3px rgb(27 138 78 / 14%) !important;
}

.uec-contact-page__form-card .gfield_description,
.uec-contact-page__form-card .gfield_required,
.uec-contact-page__form-card .ginput_complex label {
  color: var(--uec-dark-400);
  font-size: 12px;
}

.uec-contact-page__form-card .gchoice,
.uec-contact-page__form-card .ginput_container_consent {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--uec-dark-400);
  font-size: 13px;
  line-height: 1.5;
}

.uec-contact-page__form-card input[type="checkbox"],
.uec-contact-page__form-card input[type="radio"] {
  position: relative !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  border: 1px solid var(--uec-light-300) !important;
  border-radius: 4px !important;
  background: var(--uec-white) !important;
  box-shadow: none !important;
  accent-color: var(--uec-green-500) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.uec-contact-page__form-card input[type="radio"] {
  border-radius: 50% !important;
}

.uec-contact-page__form-card input[type="checkbox"]:checked,
.uec-contact-page__form-card input[type="radio"]:checked {
  border-color: var(--uec-green-500) !important;
  background: var(--uec-green-500) !important;
}

.uec-contact-page__form-card input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border-right: 2px solid var(--uec-white);
  border-bottom: 2px solid var(--uec-white);
  transform: rotate(45deg);
}

.uec-contact-page__form-card input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--uec-white);
}

.uec-contact-page__form-card a {
  color: var(--uec-green-600);
}

.uec-contact-page__form-card .gform_button,
.uec-contact-page__form-card input[type="submit"],
.uec-contact-page__form-card button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 54px;
  padding: 16px 48px 16px 32px !important;
  border: 0 !important;
  border-radius: 9999px !important;
  color: var(--uec-white) !important;
  background: linear-gradient(135deg, var(--uec-green-500), var(--uec-green-400)) !important;
  box-shadow: 0 4px 24px rgb(27 138 78 / 40%) !important;
  font-family: var(--font-family-base) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: box-shadow 0.4s var(--ease-emphasized), transform 0.4s var(--ease-emphasized), background var(--transition-base);
}

.uec-contact-page__form-card .gform_footer {
  position: relative;
  width: 100%;
  margin-top: 20px;
  padding: 0;
}

.uec-contact-page__form-card .gform_footer::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: calc(50% - 5.75rem);
  color: var(--uec-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
  transition: transform 0.4s var(--ease-emphasized);
}

.uec-contact-page__form-card .gform_button:hover,
.uec-contact-page__form-card .gform_button:focus-visible,
.uec-contact-page__form-card input[type="submit"]:hover,
.uec-contact-page__form-card input[type="submit"]:focus-visible,
.uec-contact-page__form-card button[type="submit"]:hover,
.uec-contact-page__form-card button[type="submit"]:focus-visible {
  color: var(--uec-white) !important;
  background: linear-gradient(135deg, var(--uec-green-500), var(--uec-green-400)) !important;
  box-shadow: 0 8px 32px rgb(27 138 78 / 50%) !important;
  transform: translateY(-2px) !important;
}

.uec-contact-page__form-card .gform_footer:has(.gform_button:hover)::after,
.uec-contact-page__form-card .gform_footer:has(.gform_button:focus-visible)::after,
.uec-contact-page__form-card .gform_footer:has(input[type="submit"]:hover)::after,
.uec-contact-page__form-card .gform_footer:has(input[type="submit"]:focus-visible)::after {
  transform: translate(5px, calc(-50% - 2px));
}

/* Registration page */
.uec-register-form__title {
  margin: 0;
  color: var(--uec-black);
  font-family: var(--font-family-heading);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.0625rem;
  line-height: 1;
  text-transform: uppercase;
}

.uec-register-form__description {
  margin: 0.75rem 0 1.75rem;
  color: var(--uec-dark-400);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.uec-register-form {
  display: grid;
  gap: 20px;
}

.uec-register-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.uec-register-form__field {
  display: grid;
  gap: 8px;
}

.uec-register-form__field label {
  display: block;
  margin: 0;
  color: var(--uec-dark-400);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.1;
  text-transform: uppercase;
}

.uec-register-form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--uec-dark-400);
  font-size: 13px;
  line-height: 1.5;
}

.uec-register-form__check span {
  padding-top: 1px;
}

.uec-password-meter {
  display: grid;
  gap: 7px;
  min-height: 30px;
}

.uec-password-meter__track {
  display: block;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 9999px;
  background: var(--uec-light-300);
}

.uec-password-meter__bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--uec-dark-300);
  transition: width var(--transition-base), background-color var(--transition-base);
}

.uec-password-meter__label,
.uec-password-match {
  margin: 0;
  color: var(--uec-dark-400);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.uec-password-meter.is-weak .uec-password-meter__bar {
  width: 25%;
  background: #c02d2d;
}

.uec-password-meter.is-medium .uec-password-meter__bar {
  width: 50%;
  background: #c8871f;
}

.uec-password-meter.is-strong .uec-password-meter__bar {
  width: 75%;
  background: var(--uec-green-500);
}

.uec-password-meter.is-extra .uec-password-meter__bar {
  width: 100%;
  background: var(--uec-green-700);
}

.uec-password-meter.is-weak .uec-password-meter__label,
.uec-password-match.is-mismatch {
  color: #9f2424;
}

.uec-password-meter.is-medium .uec-password-meter__label {
  color: #98620f;
}

.uec-password-meter.is-strong .uec-password-meter__label,
.uec-password-meter.is-extra .uec-password-meter__label,
.uec-password-match.is-match {
  color: var(--uec-green-700);
}

.uec-register-form__notice {
  margin: 0 0 1.5rem;
  padding: 14px 16px;
  border: 1px solid var(--uec-light-300);
  border-radius: 14px;
  color: var(--uec-dark-500);
  background: var(--uec-light-100);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.uec-register-form__notice:last-child {
  margin-bottom: 0;
}

.uec-register-form__notice ul {
  margin: 0;
  padding-left: 1.1rem;
}

.uec-register-form__notice.is-success {
  border-color: rgb(27 138 78 / 24%);
  color: var(--uec-green-700);
  background: rgb(27 138 78 / 8%);
}

.uec-register-form__notice.is-error {
  border-color: rgb(192 45 45 / 24%);
  color: #9f2424;
  background: rgb(192 45 45 / 8%);
}

.uec-register-form__footer {
  position: relative;
  width: 100%;
  margin-top: 4px;
}

.uec-register-form__footer::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: calc(50% - 6.25rem);
  color: var(--uec-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
  transition: transform 0.4s var(--ease-emphasized);
}

.uec-register-form__footer:has(button:hover)::after,
.uec-register-form__footer:has(button:focus-visible)::after {
  transform: translate(5px, calc(-50% - 2px));
}

.uec-register-form__hp {
  position: absolute !important;
  left: -9999px;
  width: 1px !important;
  min-width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0;
}

/* Single post */
.uec-single-post {
  color: var(--uec-black);
  background: var(--uec-light-100);
}

.uec-single-post__hero {
  padding: calc(var(--site-header-height) + var(--site-header-offset) + 4.5rem) 0 3rem;
}

.uec-single-post__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  align-items: center;
  margin-bottom: 2rem;
  color: var(--uec-dark-400);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--letter-spacing-label);
  text-transform: uppercase;
}

.uec-single-post__breadcrumb a {
  color: var(--uec-dark-500);
  text-decoration: none;
}

.uec-single-post__breadcrumb a:hover,
.uec-single-post__breadcrumb a:focus-visible {
  color: var(--uec-green-500);
}

.uec-single-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.uec-single-post__category,
.uec-single-post__date {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: var(--letter-spacing-wide);
  line-height: 1;
  text-transform: uppercase;
}

.uec-single-post__category {
  text-decoration: none;
}

.uec-single-post__date {
  color: var(--uec-dark-400);
}

.uec-single-post__title {
  max-width: 58rem;
  margin: 0;
  color: var(--uec-black);
  font-family: var(--font-family-heading);
  font-size: clamp(2.625rem, 4.9vw, 5.25rem);
  font-weight: 400;
  letter-spacing: 0.0625rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.uec-single-post__featured {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--uec-light-300);
  box-shadow: 0 12px 48px rgb(0 0 0 / 10%);
  cursor: zoom-in;
}

.uec-single-post__image {
  width: 100%;
  max-height: min(68vh, 42rem);
  object-fit: cover;
  scale: 1.08;
  transform: translateY(var(--uec-single-parallax-y, 0));
  transition: transform 120ms linear;
}

.uec-single-post__body {
  padding-block: 4rem var(--section-padding);
}

.uec-single-post__content {
  width: min(100%, 48rem);
  margin-inline: auto;
  color: var(--uec-dark-400);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.85;
}

.uec-single-post__content > * {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.uec-single-post__content h2,
.uec-single-post__content h3,
.uec-single-post__content h4 {
  margin-top: 2.5rem;
  color: var(--uec-black);
  font-family: var(--font-family-heading);
  font-weight: 400;
  letter-spacing: 0.0625rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.uec-single-post__content a {
  color: var(--uec-green-500);
}

.uec-single-post__content img {
  border-radius: var(--radius-lg);
}

.uec-single-post__footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  justify-content: space-between;
  width: min(100%, 48rem);
  margin: 3.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--uec-light-300);
}

.uec-single-post__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.uec-single-post__category-link,
.uec-single-post__back {
  display: inline-flex;
  align-items: center;
  min-height: 2.625rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: var(--letter-spacing-label);
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base), transform var(--transition-base);
}

.uec-single-post__category-link {
  padding: 0.75rem 1rem;
  border: 1px solid var(--uec-light-300);
  color: var(--uec-dark-400);
}

.uec-single-post__category-link:hover,
.uec-single-post__category-link:focus-visible {
  color: var(--uec-white);
  background: var(--uec-green-500);
  border-color: var(--uec-green-500);
  transform: translateY(-2px);
}

.uec-single-post__hero-button {
  padding: 1rem 2rem;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.uec-single-post__hero-button::after {
  content: "→";
  display: inline-block;
  transition: transform 0.35s var(--ease-emphasized);
}

.uec-single-post__hero-button:hover::after,
.uec-single-post__hero-button:focus-visible::after {
  transform: translateX(5px);
}

.uec-single-post__hero-button--no-arrow::after {
  content: none;
}

.uec-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgb(9 9 11 / 88%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.uec-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.uec-lightbox-is-open {
  overflow: hidden;
}

.uec-lightbox__image {
  display: block;
  max-width: min(100%, 110rem);
  max-height: 88vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
  box-shadow: 0 30px 100px rgb(0 0 0 / 45%);
  transform: scale(0.96);
  transition: transform var(--transition-base);
}

.uec-lightbox.is-open .uec-lightbox__image {
  transform: scale(1);
}

.uec-lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 50%;
  color: var(--uec-white);
  background: rgb(255 255 255 / 10%);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: background var(--transition-base), transform var(--transition-base);
}

.uec-lightbox__close:hover,
.uec-lightbox__close:focus-visible {
  background: var(--uec-green-600);
  transform: translateY(-2px);
}

/* Club page */
/* Club page */
.uec-club-page__content {
  background: var(--uec-light-100);
  color: var(--uec-black);
  padding-top: 4rem;
  padding-bottom: var(--section-padding);
}

.uec-club-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.uec-club-info:last-child {
  margin-bottom: 0;
}

.uec-club-info--reverse {
  direction: rtl;
}

.uec-club-info--reverse > * {
  direction: ltr;
}

.uec-club-info__media {
  position: relative;
  min-height: 22.5rem;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(135deg, var(--uec-dark-800), var(--uec-green-800)),
    repeating-linear-gradient(135deg, rgb(255 255 255 / 5%) 0 1px, transparent 1px 18px);
}

.uec-club-info__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 28%), transparent 62%);
}

.uec-club-info__image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.uec-club-info__text h2 {
  margin: 0 0 0.875rem;
  color: var(--uec-black);
  font-family: var(--font-family-heading);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.0625rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.uec-club-info__copy {
  max-width: 34rem;
}

.uec-club-info__copy p {
  margin: 0;
  color: var(--uec-dark-400);
  font-size: var(--text-sm);
  line-height: 1.75;
}

.uec-club-info__copy p + p {
  margin-top: 1rem;
}

/* Botón negro compartido por secciones de Club y Entradas */
.uec-section-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3.25rem;
  margin-top: 1.75rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-pill);
  color: var(--uec-white);
  background: var(--uec-black);
  box-shadow: 0 4px 20px rgb(0 0 0 / 15%);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03125rem;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.uec-section-btn::after {
  content: "→";
  display: inline-block;
  transition: transform 0.35s var(--ease-emphasized);
}

.uec-section-btn:hover,
.uec-section-btn:focus-visible {
  color: var(--uec-white);
  box-shadow: 0 8px 32px rgb(0 0 0 / 22%);
  transform: translateY(-2px);
}

.uec-section-btn:hover::after,
.uec-section-btn:focus-visible::after {
  transform: translateX(5px);
}

/* Tickets page */
.uec-tickets-page__content {
  background: var(--uec-light-100);
  color: var(--uec-black);
  padding-top: 4rem;
  padding-bottom: var(--section-padding);
}

.uec-ticket-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.uec-ticket-info:last-child {
  margin-bottom: 0;
}

.uec-ticket-info--reverse {
  direction: rtl;
}

.uec-ticket-info--reverse > * {
  direction: ltr;
}

.uec-ticket-info__media {
  position: relative;
  min-height: 22.5rem;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(135deg, var(--uec-dark-800), var(--uec-green-800)),
    repeating-linear-gradient(135deg, rgb(255 255 255 / 5%) 0 1px, transparent 1px 18px);
}

.uec-ticket-info__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 28%), transparent 62%);
}

.uec-ticket-info__image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.uec-ticket-info__text h2 {
  margin: 0 0 0.875rem;
  color: var(--uec-black);
  font-family: var(--font-family-heading);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.0625rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.uec-ticket-info__copy {
  max-width: 34rem;
}

.uec-ticket-info__copy p {
  margin: 0;
  color: var(--uec-dark-400);
  font-size: var(--text-sm);
  line-height: 1.75;
}

.uec-ticket-info__copy p + p {
  margin-top: 1rem;
}

.uec-ticket-info__button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3rem;
  margin-top: 1.75rem;
  padding: 0.875rem 1.75rem;
  border: 1px solid rgb(120 235 160 / 50%);
  border-radius: 999px;
  color: var(--uec-white);
  background: linear-gradient(
    -45deg,
    var(--uec-green-800),
    var(--uec-green-600),
    #c5e8d4,
    var(--uec-green-400),
    var(--uec-green-500)
  );
  background-size: 520% 520%;
  box-shadow: 0 14px 34px rgb(29 185 84 / 18%), 0 0 22px rgb(150 225 180 / 10%);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: var(--letter-spacing-label);
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
  animation: uec-ticket-button-gradient 14s linear infinite;
}

.uec-ticket-info__button:visited {
  color: var(--uec-white);
}

.uec-ticket-info__button::before {
  content: "";
  position: absolute;
  inset: 0.35rem;
  z-index: -1;
  border-radius: inherit;
  background: inherit;
  background-size: inherit;
  opacity: 0.42;
  filter: blur(18px);
  transform: translateY(0.4rem);
  animation: uec-ticket-button-gradient 14s linear infinite;
}

.uec-ticket-info__button::after {
  content: "";
  position: relative;
  z-index: 1;
  width: 0.45rem;
  height: 0.45rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--transition-base);
}

.uec-ticket-info__button span {
  position: relative;
  z-index: 1;
}

.uec-ticket-info__button:hover,
.uec-ticket-info__button:focus-visible {
  color: var(--uec-white);
  border-color: rgb(150 225 180 / 55%);
  box-shadow: 0 22px 54px rgb(29 185 84 / 26%), 0 0 34px rgb(150 225 180 / 15%);
  transform: translateY(-2px);
}

.uec-ticket-info__button:hover::after,
.uec-ticket-info__button:focus-visible::after {
  transform: translateX(3px) rotate(45deg);
}

.home-team-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 17rem;
  padding: 1.5rem;
  color: var(--uec-white);
  background:
    linear-gradient(180deg, rgb(9 9 11 / 18%), rgb(9 9 11 / 74%)),
    linear-gradient(135deg, var(--uec-dark-800), var(--uec-green-700));
  text-decoration: none;
}

.home-team-card span {
  font-family: var(--font-family-heading);
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.home-team-card strong {
  color: var(--uec-green-400);
  font-size: var(--text-sm);
  letter-spacing: var(--letter-spacing-label);
  text-transform: uppercase;
}

.home-sponsors__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
}

.home-sponsors__grid span {
  display: grid;
  min-height: 6rem;
  place-items: center;
  border: 1px solid var(--uec-light-300);
  border-radius: var(--radius-md);
  color: var(--uec-dark-400);
  background: var(--uec-white);
  font-weight: 800;
  text-transform: uppercase;
}

/* ── Historia page ─────────────────────────────────────────────────────────── */

.uec-historia-page {
  overflow-x: clip;
}

/* Hero */
.uec-historia-hero {
  position: relative;
  height: 65vh;
  min-height: 32.5rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.uec-historia-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 60% 40%, rgb(27 138 78 / 8%), transparent 60%),
    linear-gradient(160deg, var(--uec-dark-950), var(--uec-green-900), var(--uec-dark-950));
}

.uec-historia-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transform-origin: center;
  animation: uec-historia-zoom 12s var(--ease-standard) forwards;
}

@keyframes uec-historia-zoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

.uec-historia-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgb(9 9 11 / 100%) 0%,
    rgb(9 9 11 / 55%) 35%,
    rgb(9 9 11 / 15%) 70%,
    transparent 100%
  );
}

.uec-historia-hero__side {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgb(9 9 11 / 70%) 0%, transparent 55%);
}

.uec-historia-hero__content {
  position: relative;
  z-index: 5;
  padding-bottom: 5rem;
}

.uec-historia-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 5px 14px 5px 8px;
  border-radius: var(--radius-pill);
  background: rgb(27 138 78 / 15%);
  border: 1px solid rgb(27 138 78 / 25%);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: uec-historia-fade-up 0.5s var(--ease-standard) 0.2s forwards;
}

.uec-historia-hero__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--uec-green-400);
  animation: uec-historia-pulse 2s ease-in-out infinite;
}

@keyframes uec-historia-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.uec-historia-hero__eyebrow-text {
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--uec-green-400);
}

.uec-historia-hero__title {
  margin: 0 0 0.875rem;
  font-family: var(--font-family-heading);
  font-size: clamp(3.25rem, 6vw, 5.5rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--uec-white-soft);
  opacity: 0;
  animation: uec-historia-fade-up 0.6s var(--ease-standard) 0.35s forwards;
}

.uec-historia-hero__title-hl {
  color: var(--uec-green-400);
}

.uec-historia-hero__subtitle {
  font-size: 1.0625rem;
  color: var(--uec-dark-100);
  line-height: 1.6;
  max-width: 30rem;
  margin: 0;
  opacity: 0;
  animation: uec-historia-fade-up 0.6s var(--ease-standard) 0.5s forwards;
}

@keyframes uec-historia-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Fondo claro - wrapper del contenido principal */
.uec-historia-content {
  background: var(--uec-light-100);
  color: var(--uec-black);
}

/* Intro */
.uec-historia-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding-top: 4.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--uec-light-300);
}

.uec-historia-intro__label {
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--uec-green-500);
  margin: 0 0 1rem;
}

.uec-historia-intro__title {
  margin: 0;
  font-family: var(--font-family-heading);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.5px;
  color: var(--uec-black);
}

.uec-historia-intro__title-hl {
  color: var(--uec-green-500);
}

.uec-historia-intro__right {
  padding-top: 0.5rem;
}

.uec-historia-intro__lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--uec-dark-400);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.uec-historia-intro__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--uec-green-500);
  text-decoration: none;
  border-bottom: 2px solid var(--uec-green-400);
  padding-bottom: 3px;
  transition: color var(--transition-base), border-color var(--transition-base);
}

.uec-historia-intro__cta:hover,
.uec-historia-intro__cta:focus-visible {
  color: var(--uec-green-600);
  border-color: var(--uec-green-600);
}

/* Estadísticas - banda oscura */
.uec-historia-stats {
  background: var(--uec-black);
  color: var(--uec-white-soft);
  padding-block: 3.5rem;
}

.uec-historia-stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.uec-historia-stats__item {
  padding: 0 2.5rem;
  border-left: 1px solid rgb(255 255 255 / 8%);
}

.uec-historia-stats__item:first-child {
  border-left: none;
  padding-left: 0;
}

.uec-historia-stats__number {
  font-family: var(--font-family-heading);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 1;
  color: var(--uec-white);
  letter-spacing: -1px;
}

.uec-historia-stats__accent {
  color: var(--uec-green-400);
}

.uec-historia-stats__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--uec-dark-100);
  margin-top: 0.5rem;
}

.uec-historia-stats__desc {
  font-size: 0.8125rem;
  color: var(--uec-dark-200);
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* Número en verde (toggle admin) */
.uec-historia-stats__number--green {
  color: var(--uec-green-400);
}

/* Botón-link dentro de la banda oscura de estadísticas */
.uec-historia-stats .uec-news-module__archive-wrapper {
  --uec-news-archive-surface: var(--uec-dark-700);
  --uec-news-archive-text: var(--uec-green-400);
  --uec-news-archive-glow: rgb(27 138 78 / 35%);

  margin-top: 1.25rem;
}

.uec-historia-stats .uec-news-module__archive {
  box-shadow: 0 4px 20px rgb(0 0 0 / 30%), inset 0 0 0 1px rgb(255 255 255 / 10%);
}

.uec-historia-stats .uec-news-module__archive:hover,
.uec-historia-stats .uec-news-module__archive:focus-visible {
  color: var(--uec-green-400);
  box-shadow: 0 10px 30px rgb(0 0 0 / 40%), inset 0 0 0 1px rgb(255 255 255 / 16%);
}

/* Cronología */
.uec-historia-timeline {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.uec-historia-timeline__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.uec-historia-timeline__title {
  margin: 0;
  font-family: var(--font-family-heading);
  font-size: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--uec-black);
}

.uec-historia-timeline__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--uec-green-500);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgb(27 138 78 / 30%);
  background: rgb(27 138 78 / 6%);
}

/* Era block */
.uec-historia-era {
  display: grid;
  grid-template-columns: 12.5rem 1fr;
  gap: 0;
  border-top: 1px solid var(--uec-light-300);
  padding-block: 3rem;
}

.uec-historia-era:last-child {
  border-bottom: 1px solid var(--uec-light-300);
}

.uec-historia-era__year {
  font-family: var(--font-family-heading);
  font-size: clamp(2.625rem, 4vw, 4rem);
  line-height: 1;
  color: var(--uec-light-300);
  letter-spacing: -1px;
  padding-right: 2rem;
  position: sticky;
  top: calc(var(--site-header-offset) + var(--site-header-height) + 3rem);
  align-self: start;
}

.uec-historia-era__year-label {
  display: block;
  font-family: var(--font-family-base);
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--uec-green-500);
  margin-bottom: 0.375rem;
}

.uec-historia-era__tag {
  display: inline-block;
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--uec-green-600);
  background: rgb(27 138 78 / 10%);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.uec-historia-era__title {
  font-family: var(--font-family-heading);
  font-size: 1.625rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--uec-black);
  margin: 0 0 1rem;
  line-height: 1.1;
}

.uec-historia-era__title-hl {
  color: var(--uec-green-500);
}

.uec-historia-era__content {
  font-size: 1rem;
  color: var(--uec-dark-400);
  line-height: 1.75;
  max-width: 42.5rem;
}

.uec-historia-era__content p {
  margin: 0 0 1.25rem;
}

.uec-historia-era__content p:last-child {
  margin-bottom: 0;
}

.uec-historia-era__content strong {
  color: var(--uec-black);
  font-weight: 600;
}

.uec-historia-era__content a {
  color: var(--uec-green-500);
  text-decoration: none;
  border-bottom: 1px solid rgb(27 138 78 / 30%);
}

.uec-historia-era__image-wrap {
  margin-top: 1.5rem;
  max-width: 40rem;
}

.uec-historia-era__image-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.uec-historia-era__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s var(--ease-standard);
}

.uec-historia-era__image-wrap:hover .uec-historia-era__image {
  transform: scale(1.03);
}

.uec-historia-era__caption {
  margin: 0.5rem 0 0;
  font-size: var(--text-2xs);
  color: var(--uec-dark-300);
  font-style: italic;
}

/* Cita */
.uec-historia-quote {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.uec-historia-blockquote {
  border-left: 3px solid var(--uec-green-400);
  padding: 0.5rem 0 0.5rem 2.5rem;
  margin: 0;
}

.uec-historia-blockquote__text {
  font-family: var(--font-family-heading);
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  text-transform: uppercase;
  line-height: 1.25;
  letter-spacing: 0.5px;
  color: var(--uec-black);
  margin: 0 0 1rem;
}

.uec-historia-blockquote__source {
  font-size: 0.8125rem;
  color: var(--uec-dark-300);
  font-weight: 600;
  letter-spacing: 0.5px;
  font-style: normal;
}

/* Cards section */
.uec-historia-cards-section {
  background: var(--uec-white);
  padding-block: 4.5rem;
  border-top: 1px solid var(--uec-light-300);
}

.uec-historia-cards-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.uec-historia-cards-header__title {
  margin: 0;
  font-family: var(--font-family-heading);
  font-size: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--uec-black);
}

.uec-historia-cards-header__link {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--uec-green-500);
  text-decoration: none;
  border-bottom: 1px solid rgb(27 138 78 / 30%);
  padding-bottom: 2px;
  transition: color var(--transition-base), border-color var(--transition-base);
}

.uec-historia-cards-header__link:hover,
.uec-historia-cards-header__link:focus-visible {
  color: var(--uec-green-600);
  border-color: var(--uec-green-600);
}

.uec-historia-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.uec-historia-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  text-decoration: none;
  cursor: pointer;
}

.uec-historia-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-standard);
}

.uec-historia-card:hover .uec-historia-card__image {
  transform: scale(1.05);
}

.uec-historia-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgb(9 9 11 / 88%) 30%,
    rgb(9 9 11 / 20%) 70%,
    transparent
  );
  transition: background var(--transition-slow);
}

.uec-historia-card:hover .uec-historia-card__overlay {
  background: linear-gradient(
    to top,
    rgb(9 9 11 / 92%) 40%,
    rgb(9 9 11 / 30%) 75%,
    transparent
  );
}

.uec-historia-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem;
}

.uec-historia-card__label {
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--uec-green-400);
  margin: 0 0 0.375rem;
}

.uec-historia-card__title {
  font-family: var(--font-family-heading);
  font-size: 1.375rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--uec-white);
  line-height: 1.1;
  margin: 0;
}

