@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f2f4f7;
  --surface: #ffffff;
  --surface-soft: #ebeff4;
  --text: #1a232f;
  --muted: #5f6f84;
  --line: #d2dae6;
  --primary: #344a45;
  --primary-dark: #263733;
  --ink: #0d1118;
  --accent: #de6f20;
  --accent-dark: #bb5c18;
  --mint: #9eb1c5;
  --radius: 16px;
  --shadow-soft: 0 14px 30px rgba(12, 18, 30, 0.08);
  --shadow-hard: 0 22px 46px rgba(12, 18, 30, 0.2);
  --brand-green: #00d084;
  --brand-green-bright: #00ff9c;
  --brand-dark: #080f15;
  --sticky-banner-offset: 90px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 6% -8%, rgba(222, 111, 32, 0.2), transparent 38%),
    radial-gradient(circle at 94% 0%, rgba(128, 149, 128, 0.14), transparent 35%),
    var(--bg);
  line-height: 1.5;
}

.page-load-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 80;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.page-load-bar.is-visible {
  opacity: 1;
}

.page-load-bar::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #8cf56a 0%, #00d084 35%, #de6f20 70%, #ff8f3d 100%);
  box-shadow: 0 0 18px rgba(222, 111, 32, 0.45);
}

.page-load-bar.is-animating::before {
  animation: page-load-progress 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.page-load-bar.is-complete::before {
  transform: scaleX(1);
}

.page-load-bar.is-hidden {
  opacity: 0;
}

@keyframes page-load-progress {
  0% {
    transform: scaleX(0);
  }
  55% {
    transform: scaleX(0.68);
  }
  82% {
    transform: scaleX(0.88);
  }
  100% {
    transform: scaleX(0.96);
  }
}

a {
  color: inherit;
}

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

.page-glow {
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
}

.page-glow-a {
  width: 520px;
  height: 520px;
  top: -220px;
  right: -110px;
  background: radial-gradient(circle at center, rgba(128, 149, 128, 0.36), transparent 70%);
}

.page-glow-b {
  width: 420px;
  height: 420px;
  bottom: -180px;
  left: -130px;
  background: radial-gradient(circle at center, rgba(52, 74, 69, 0.22), transparent 70%);
}

.container {
  width: min(1150px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  backdrop-filter: blur(10px);
  background: rgba(7, 12, 16, 0.95);
  border-bottom: 1px solid rgba(9, 30, 22, 0.7);
  box-shadow: 0 14px 30px rgba(6, 12, 16, 0.45);
  transition: background 200ms ease, box-shadow 200ms ease;
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  background:
    radial-gradient(circle at 14% 45%, rgba(0, 255, 156, 0.3), transparent 35%),
    linear-gradient(115deg, #0d3628, #0a5940 38%, #0b7a58 72%, #0d3628 100%);
  background-size: 210% 210%;
  animation: nav-energy-flow 10s ease infinite;
  opacity: 0.96;
  pointer-events: none;
}

.site-header.is-scrolled {
  background: rgba(6, 10, 14, 0.98);
  box-shadow: 0 14px 30px rgba(5, 9, 16, 0.45);
}

@keyframes nav-energy-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.nav-shell {
  position: relative;
  z-index: 1;
  min-height: 97px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 0;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  justify-self: start;
  width: max-content;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.site-header .brand-logo {
  width: 126px;
  height: 44px;
  border-radius: 12px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.08);
  object-fit: contain;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.site-header .brand-mascot {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(52, 74, 69, 0.24));
}

.site-header .brand-copy {
  display: grid;
  line-height: 1.1;
}

.site-header .brand-copy strong {
  font-family: "Inter", "Sora", sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  color: #f8fbff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.site-header .brand-copy small {
  color: #e4edf8;
  font-size: 0.76rem;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: #f7fafc;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: nowrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 0;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
  color: #e8eef8;
  border: 0;
  background: transparent;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.26);
  position: relative;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-green-bright));
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.inline-link:hover {
  color: #b5ffd9;
  text-shadow: 0 0 14px rgba(0, 255, 156, 0.35);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

.site-nav a.is-active {
  color: #c7ffe4;
  text-shadow: 0 0 12px rgba(0, 255, 156, 0.3);
}

.site-nav .nav-mobile-cta {
  display: none;
}

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

.nav-actions .btn {
  min-height: 46px;
  padding: 12px 18px;
  font-size: 0.84rem;
}

.ghost-link {
  text-decoration: none;
  font-size: 0.88rem;
  color: #eaf6ff;
  font-weight: 600;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.ghost-link:hover {
  color: #c8ffe7;
  text-shadow: 0 0 12px rgba(0, 255, 156, 0.32);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 11px;
  padding: 11px 16px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(130deg, #0dc785, #0da56f);
  color: #04110d;
  box-shadow:
    0 12px 26px rgba(0, 208, 132, 0.34),
    0 0 20px rgba(0, 255, 156, 0.22);
}

.btn-primary:hover {
  box-shadow:
    0 18px 36px rgba(0, 208, 132, 0.42),
    0 0 26px rgba(0, 255, 156, 0.32);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #17202d;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-small {
  padding: 8px 12px;
  font-size: 0.82rem;
  background: var(--ink);
  color: #fff;
}

.hero {
  padding: 24px 0 16px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: start;
}

.hero-copy {
  padding: 18px;
  border-radius: 14px;
  background: rgba(11, 16, 25, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.mascot-spotlight {
  margin-top: 18px;
  background: linear-gradient(130deg, var(--ink), var(--primary-dark));
  border-radius: 22px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 250px;
  align-items: center;
  padding: 18px;
  gap: 12px;
  box-shadow: var(--shadow-hard);
}

.mascot-copy h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
}

.mascot-copy p {
  margin: 7px 0 0;
  color: #c4d3e6;
  font-size: 0.9rem;
}

.mascot-image {
  width: 100%;
  max-width: 210px;
  margin-left: auto;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35));
}

.hero-copy h1 {
  margin: 8px 0 10px;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.1;
  color: #f5f8fc;
}

.hero-copy p {
  margin: 0;
  color: #d7deea;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero .eyebrow {
  color: #ffb26f;
}

.hero-sport {
  position: relative;
  z-index: 4;
  overflow: visible;
  background-image:
    linear-gradient(110deg, rgba(8, 12, 19, 0.7), rgba(8, 12, 19, 0.4)),
    url("banner.png"),
    url("banner foto.png");
  background-size: cover;
  background-position: center 12%;
  border-bottom: 0;
}

.hero-sport .container {
  width: min(1320px, 96vw);
}

.hero-banner-shell {
  min-height: 420px;
  display: grid;
  align-content: end;
  gap: 18px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 8px 0 0;
}

.hero-banner-title {
  margin: 0;
  text-align: center;
  color: #fff;
  font-family: "Inter", "Sora", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.event-spotlight-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  border-radius: 16px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1.2fr 1px 1fr 1px 0.72fr;
  gap: 18px;
  align-items: stretch;
  background: linear-gradient(145deg, rgba(9, 15, 24, 0.93), rgba(11, 20, 31, 0.92));
  border: 1px solid rgba(154, 181, 205, 0.2);
  box-shadow:
    0 24px 46px rgba(2, 7, 12, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 220ms ease;
  position: relative;
  z-index: 3;
  transform: translateY(84px);
}

.event-spotlight-card.form-focus-indicator {
  border-color: rgba(0, 208, 132, 0.5);
  box-shadow:
    0 0 0 3px rgba(0, 208, 132, 0.2),
    0 24px 46px rgba(2, 7, 12, 0.52),
    0 0 30px rgba(0, 255, 156, 0.2);
  transform: translateY(82px);
}

.hero-white-bridge {
  display: none;
}

body.theme-light .hero-white-bridge {
  display: block;
  min-height: 138px;
  background: linear-gradient(180deg, #f8fafc 0%, #f0f3f8 100%);
}

.event-spotlight-main {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: center;
}

.event-spotlight-thumb {
  width: 92px;
  height: 92px;
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 156, 0.24);
  background:
    linear-gradient(155deg, rgba(0, 255, 156, 0.2), rgba(8, 18, 26, 0.35)),
    url("axo3d_oficial.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.event-spotlight-copy h2 {
  margin: 0;
  color: #f7fcff;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.event-spotlight-location,
.event-spotlight-category,
.event-spotlight-distance {
  margin: 6px 0 0;
  color: #c4d4e8;
  font-size: 0.95rem;
}

.event-spotlight-category {
  color: #d7e4f5;
  font-weight: 650;
}

.event-spotlight-distance {
  color: #9eb6cf;
}

.event-spotlight-divider {
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(0, 208, 132, 0.08),
    rgba(167, 188, 211, 0.26),
    rgba(0, 208, 132, 0.08)
  );
}

.event-spotlight-details {
  display: grid;
  gap: 12px;
}

.event-detail-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
}

.event-detail-icon {
  color: #91aac4;
  width: 24px;
  height: 24px;
}

.event-detail-item strong {
  display: block;
  color: #f4f9ff;
  font-size: 0.96rem;
  line-height: 1.35;
}

.event-detail-item a {
  display: inline-flex;
  margin-top: 3px;
  font-size: 0.85rem;
  color: #7ceec1;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 156, 0.28);
}

.event-detail-item a:hover {
  color: #bcffe5;
}

.event-spotlight-pricing {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
}

.event-spotlight-price-label {
  margin: 0;
  color: #9ab1ca;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 700;
}

.event-spotlight-price {
  margin: 0;
  color: #f7fcff;
  font-size: clamp(1.2rem, 2.1vw, 1.7rem);
  font-weight: 800;
}

.event-spotlight-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 12px;
  padding: 0 22px;
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
  color: #04140e;
  background: linear-gradient(130deg, var(--brand-green-bright), var(--brand-green));
  box-shadow:
    0 14px 30px rgba(0, 208, 132, 0.35),
    0 0 22px rgba(0, 255, 156, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.event-spotlight-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 34px rgba(0, 208, 132, 0.44),
    0 0 30px rgba(0, 255, 156, 0.34);
}

.event-spotlight-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.event-spotlight-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(223, 232, 244, 0.42);
  background: linear-gradient(140deg, #f2f5fa 0%, #d5dde9 58%, #b5c0cf 100%);
  padding: 0 20px;
  color: #142130;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 8px 18px rgba(10, 18, 33, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, color 180ms ease;
}

.event-spotlight-more:hover,
.event-spotlight-more:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(239, 245, 255, 0.68);
  color: #0a1624;
  box-shadow:
    0 12px 24px rgba(10, 18, 33, 0.42),
    0 0 22px rgba(210, 223, 242, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.event-spotlight-more:active {
  transform: translateY(0);
}

.event-spotlight-more:focus-visible {
  outline: 2px solid rgba(231, 240, 253, 0.72);
  outline-offset: 3px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  width: 56px;
  height: 56px;
}

.whatsapp-panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: min(255px, 84vw);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.whatsapp-panel::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  width: 82px;
  height: 10px;
}

.whatsapp-panel-top {
  background: linear-gradient(120deg, #14d169, #1eba5c);
  color: #f4fffa;
  padding: 10px 12px;
}

.whatsapp-panel-top p {
  margin: 0;
  font-weight: 750;
  font-size: 0.92rem;
}

.whatsapp-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  color: #f7fff9;
  text-decoration: none;
  font-weight: 700;
}

.whatsapp-panel-link svg,
.whatsapp-panel-link img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.whatsapp-panel-bottom {
  background: #f0f1f3;
  color: #3e454c;
  padding: 10px 12px;
}

.whatsapp-panel-bottom strong {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.whatsapp-panel-bottom span {
  display: block;
  margin-top: 2px;
  font-size: 0.92rem;
  font-weight: 700;
}

.whatsapp-panel-bottom small {
  display: block;
  margin-top: 1px;
  font-size: 0.78rem;
  color: #5b6168;
}

.whatsapp-button {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(24, 209, 106, 0.34);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(24, 209, 106, 0.08) inset;
  display: grid;
  place-items: center;
  color: #14d169;
  text-decoration: none;
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.whatsapp-button svg {
  width: 34px;
  height: 34px;
}

.whatsapp-button img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.whatsapp-float:hover .whatsapp-panel,
.whatsapp-float:focus-within .whatsapp-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.whatsapp-button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(24, 209, 106, 0.16) inset;
}

.event-sticky-banner {
  position: fixed;
  top: var(--sticky-banner-offset);
  left: 50%;
  width: min(1150px, 92vw);
  z-index: 22;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -12px);
  transition: opacity 260ms ease, transform 260ms ease, visibility 260ms ease;
}

.event-sticky-banner.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.event-sticky-inner {
  min-height: 62px;
  border-radius: 14px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 52px minmax(260px, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  background: linear-gradient(140deg, rgba(9, 14, 22, 0.94), rgba(12, 20, 31, 0.9));
  border: 1px solid rgba(0, 208, 132, 0.26);
  box-shadow:
    0 16px 28px rgba(3, 8, 14, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 18px rgba(0, 255, 156, 0.12);
  backdrop-filter: blur(8px);
}

.event-sticky-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 156, 0.32);
  background:
    linear-gradient(160deg, rgba(0, 255, 156, 0.2), rgba(8, 18, 26, 0.34)),
    url("axo3d_oficial.png");
  background-size: cover;
  background-position: center;
}

.event-sticky-main {
  min-width: 0;
}

.event-sticky-name {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 750;
  color: #f4f9ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-sticky-distance,
.event-sticky-meta {
  margin: 2px 0 0;
  color: #b3c8de;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-sticky-distance {
  color: #caf7e3;
  font-weight: 650;
}

.event-sticky-price {
  margin: 0;
  color: #f2fbff;
  font-size: 0.92rem;
  font-weight: 760;
  white-space: nowrap;
}

.event-sticky-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 11px;
  padding: 0 16px;
  background: linear-gradient(130deg, var(--brand-green-bright), var(--brand-green));
  color: #04110d;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow:
    0 10px 20px rgba(0, 208, 132, 0.34),
    0 0 16px rgba(0, 255, 156, 0.2);
}

.event-sticky-cta:hover {
  box-shadow:
    0 14px 28px rgba(0, 208, 132, 0.4),
    0 0 24px rgba(0, 255, 156, 0.28);
}

.race-register-bar {
  display: grid;
  grid-template-columns: 0.9fr auto 1.2fr auto 1fr auto auto auto auto;
  gap: 0;
  align-items: center;
  position: relative;
  isolation: isolate;
  width: min(1180px, 100%);
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(216, 223, 232, 0.9);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 30px rgba(10, 14, 23, 0.34);
  padding: 10px;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.race-register-bar::before,
.race-register-bar::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.race-register-bar::before {
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(120deg, #ffffff, #f2d18a, #84c198, #ffffff);
  background-size: 220% 220%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: form-contour-flow 1.8s linear infinite;
}

.race-register-bar::after {
  inset: -3px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), rgba(242, 209, 138, 0.4), rgba(132, 193, 152, 0.35));
  filter: blur(10px);
  z-index: -1;
  animation: form-contour-flow 1.8s linear infinite;
}

.race-register-bar.form-focus-indicator {
  border-color: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.16),
    0 0 0 6px rgba(242, 209, 138, 0.12),
    0 18px 36px rgba(10, 14, 23, 0.4);
  animation: form-indicator-pulse 820ms ease 2;
}

.race-register-bar.form-focus-indicator::before,
.race-register-bar.form-focus-indicator::after {
  opacity: 1;
}

@keyframes form-indicator-pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes form-contour-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.race-meta {
  min-height: 44px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 0 8px;
}

.race-meta strong {
  font-size: 0.88rem;
  color: #1b2533;
}

.race-meta small {
  font-size: 0.76rem;
  color: #6c7a8e;
}

.race-divider {
  width: 1px;
  height: 34px;
  background: #d8dfeb;
}

.race-bar-input {
  min-height: 36px;
  border-radius: 8px;
  border: 1px solid #ccd5e3;
  background: #fff;
  padding: 0 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a2432;
  margin: 0 10px;
}

.race-register-cta {
  min-height: 42px;
  border-radius: 9px;
  border: 0;
  padding: 0 24px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease;
  margin-left: 6px;
}

.race-register-cta:hover {
  background: var(--primary-dark);
}

.race-google-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid #cfd7e4;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  margin-left: 4px;
}

.race-google-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.neon-event-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 195, 255, 0.12), transparent 25%),
    radial-gradient(circle at 80% 30%, rgba(255, 0, 170, 0.14), transparent 25%),
    linear-gradient(180deg, #07101c 0%, #0a1222 100%);
  padding: 120px 20px 72px;
}

.neon-event-container {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.neon-header {
  text-align: center;
  margin-bottom: 42px;
}

.neon-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #30d5ff;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(48, 213, 255, 0.6);
}

.neon-header h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.1),
    0 0 24px rgba(48, 213, 255, 0.18);
}

.neon-subtitle {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.6;
}

.neon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}

.neon-card {
  position: relative;
  background: rgba(9, 15, 31, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 24px rgba(0, 195, 255, 0.08),
    0 0 36px rgba(255, 0, 170, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.neon-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1.5px;
  background: linear-gradient(90deg, #1dd9ff, #ff29c3);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.95;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.neon-card:hover,
.neon-card:focus-visible,
.neon-card.is-selected {
  transform: translateY(-2px);
  border-color: rgba(67, 224, 255, 0.52);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 24px rgba(0, 195, 255, 0.26),
    0 0 44px rgba(255, 0, 170, 0.2),
    0 0 68px rgba(67, 224, 255, 0.2);
}

.neon-card:hover::before,
.neon-card:focus-visible::before,
.neon-card.is-selected::before {
  opacity: 1;
  filter: drop-shadow(0 0 9px rgba(67, 224, 255, 0.46));
}

.neon-card:active {
  transform: translateY(0);
}

.neon-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.54);
  outline-offset: 2px;
}

.neon-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #43e0ff;
  text-shadow: 0 0 8px rgba(67, 224, 255, 0.6);
}

.neon-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
}

.neon-section-title {
  text-align: center;
  margin: 34px 0 22px;
}

.neon-section-title h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 800;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.1),
    0 0 18px rgba(255, 41, 195, 0.15);
}

.neon-category {
  margin: 24px 0 28px;
  padding: 18px 22px;
  text-align: center;
  border-radius: 18px;
  background: rgba(11, 17, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 18px rgba(0, 195, 255, 0.08),
    0 0 26px rgba(255, 0, 170, 0.08);
}

.neon-category span {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: #43e0ff;
}

.neon-category strong {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: #ffffff;
  font-weight: 900;
}

.neon-note {
  margin: 10px 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.neon-legal {
  position: relative;
  background: rgba(7, 12, 25, 0.92);
  border-radius: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 0 18px rgba(255, 41, 195, 0.08),
    0 0 24px rgba(29, 217, 255, 0.08);
}

.neon-legal::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 1.5px;
  background: linear-gradient(90deg, #1dd9ff, #ff29c3);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.neon-legal h4 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
}

.neon-legal-layout {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  align-items: stretch;
}

.neon-legal-content {
  min-width: 0;
}

.neon-legal-media {
  border-radius: 12px;
  border: 1px solid rgba(67, 224, 255, 0.38);
  background: rgba(8, 14, 30, 0.7);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.neon-legal-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.neon-legal ol {
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.neon-inline-action {
  margin-top: 14px;
  border: 1px solid rgba(67, 224, 255, 0.45);
  background: rgba(9, 17, 32, 0.86);
  color: #d8f5ff;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.neon-inline-action:hover {
  border-color: rgba(255, 41, 195, 0.55);
  box-shadow: 0 0 14px rgba(67, 224, 255, 0.24);
}

.neon-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.neon-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #23d8ff, #ff2cbf);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  box-shadow:
    0 0 18px rgba(35, 216, 255, 0.35),
    0 0 26px rgba(255, 44, 191, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.neon-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 24px rgba(35, 216, 255, 0.45),
    0 0 34px rgba(255, 44, 191, 0.34);
}

.neon-collapsible[hidden] {
  display: none;
}

.neon-collapsible {
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  max-height: 0;
  will-change: max-height, opacity, transform;
  transition:
    max-height 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.neon-collapsible.is-expanded {
  opacity: 1;
  transform: translateY(0);
}

.neon-collapsible > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 320ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.neon-collapsible.is-expanded > * {
  opacity: 1;
  transform: translateY(0);
}

.neon-collapsible.is-expanded > :nth-child(1) {
  transition-delay: 35ms;
}

.neon-collapsible.is-expanded > :nth-child(2) {
  transition-delay: 85ms;
}

.neon-collapsible.is-expanded > :nth-child(3) {
  transition-delay: 135ms;
}

.neon-collapsible.is-expanded > :nth-child(4) {
  transition-delay: 185ms;
}

.neon-collapsible.is-expanded > :nth-child(5) {
  transition-delay: 235ms;
}

@media (prefers-reduced-motion: reduce) {
  .neon-collapsible > * {
    transition: none;
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 14, 0.72);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 100;
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal-dialog {
  width: min(860px, 100%);
  max-height: min(86vh, 760px);
  overflow: auto;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #d7dfeb;
  box-shadow: 0 22px 40px rgba(8, 14, 24, 0.35);
  padding: 18px 18px 16px;
  position: relative;
}

.modal-dialog h3 {
  margin: 0;
  color: #162030;
  font-family: "Sora", sans-serif;
}

.modal-dialog p {
  margin: 6px 0 12px;
  color: #4e627f;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #cad4e2;
  background: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.modal-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d2dbe8;
}

.modal-map-wrap iframe {
  width: 100%;
  height: min(62vh, 460px);
  border: 0;
}

.modal-dialog-gallery {
  width: min(980px, 100%);
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.modal-gallery img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d5dce9;
}

.modal-actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.modal-close-secondary {
  min-width: 120px;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid #cdd7e4;
  background: #ffffff;
  color: #223149;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 768px) {
  .neon-event-section {
    padding: 102px 16px 56px;
  }

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

  .neon-card,
  .neon-legal {
    padding: 20px;
  }

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

  .neon-legal-media {
    min-height: 180px;
  }

  .neon-category {
    padding: 16px;
  }

  .neon-cta {
    width: 100%;
  }

  .neon-cta-wrap {
    flex-direction: column;
    gap: 14px;
  }

  .modal-dialog {
    width: 100%;
    max-height: 90vh;
    padding: 16px 14px 14px;
  }

  .modal-gallery {
    grid-template-columns: 1fr;
  }
}

.race-or-separator {
  color: #7d8898;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0 8px 0 10px;
  line-height: 1;
}

.event-search {
  background: var(--surface);
  border: 1px solid rgba(52, 74, 69, 0.28);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.event-search h2 {
  margin: 0 0 14px;
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  color: var(--ink);
}

.event-search label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.84rem;
  color: var(--ink);
  font-weight: 700;
}

.event-search select,
.event-search input,
.filter-select,
.newsletter input,
.footer-newsletter input,
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #d5deeb;
  border-radius: 10px;
  min-height: 42px;
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

.event-search button {
  width: 100%;
  margin-top: 2px;
}

.event-poster {
  --hero-max-h: 1000px;
  position: relative;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: min(100%, calc(var(--hero-max-h) * 4 / 3));
  max-width: 100%;
  max-height: var(--hero-max-h);
  justify-self: end;
  align-self: start;
  border: 1px solid rgba(255, 178, 111, 0.45);
  box-shadow: 0 16px 40px rgba(6, 10, 18, 0.45);
}

.event-poster .btn {
  width: 100%;
}

.event-poster-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(14, 22, 18, 0.42);
  border: 0;
  box-shadow: none;
  margin: 0;
}

.event-poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  background: linear-gradient(180deg, rgba(14, 22, 18, 0.16), rgba(14, 22, 18, 0.36));
}

.event-poster-overlay h2 {
  margin: 0;
  color: #f2f7f3;
  font-family: "Sora", sans-serif;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.36);
}

.event-poster-overlay .btn {
  background: rgba(52, 74, 69, 0.76);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 8px 22px rgba(13, 17, 24, 0.46);
}

.event-poster-overlay .btn:hover {
  box-shadow: 0 12px 26px rgba(19, 28, 24, 0.4);
}

.section {
  padding: 44px 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(233, 238, 245, 0.92), rgba(233, 238, 245, 0.4));
}

.section-head {
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}

.section-head h2,
.section-title {
  margin: 4px 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--ink);
}

.eyebrow {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 800;
}

.inline-link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
}

.card-grid {
  display: grid;
  gap: 14px;
}

.card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-card,
.blog-card,
.benefit-card,
.series-card,
.contact-card,
.future-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.event-card,
.blog-card,
.benefit-card,
.series-card,
.contact-card,
.future-card,
.blog-entry,
.event-panel,
.sidebar-panel,
.pricing-card,
.faq-item,
.timeline-item {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.event-card:hover,
.blog-card:hover,
.benefit-card:hover,
.series-card:hover,
.contact-card:hover,
.future-card:hover,
.blog-entry:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(16, 23, 38, 0.16);
}

.event-card.is-locked {
  position: relative;
}

.event-card.is-locked::before {
  content: "Bloqueado";
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 5px 8px;
}

.event-locked-btn {
  background: linear-gradient(180deg, #d7dbe1, #bcc4cf);
  border: 1px solid #a5afb9;
  color: #334155;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  cursor: not-allowed;
  pointer-events: none;
}

.event-locked-btn::before {
  content: "🔒 ";
}

.event-card.is-locked::after {
  content: "Aún no está confirmada esta carrera.";
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%) translateY(6px);
  z-index: 4;
  width: max-content;
  max-width: calc(100% - 24px);
  font-size: 0.74rem;
  font-weight: 700;
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  text-align: center;
}

.event-card.is-locked:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.event-media {
  position: relative;
  height: 136px;
  border-radius: 16px 16px 0 0;
  background-size: cover;
  background-position: center;
}

.event-card.is-locked .event-media::after {
  content: "BLOQUEADA";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 10px;
  background: rgba(6, 11, 20, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.media-run {
  background-image:
    linear-gradient(145deg, rgba(52, 74, 69, 0.34), rgba(52, 74, 69, 0.34)),
    url("correr.jpg");
}

.media-trail {
  background-image:
    linear-gradient(145deg, rgba(103, 125, 104, 0.3), rgba(103, 125, 104, 0.3)),
    url("correr1.jpg");
}

.media-cycle {
  background-image:
    linear-gradient(145deg, rgba(52, 74, 69, 0.28), rgba(52, 74, 69, 0.28)),
    url("correr2.jpg");
}

.media-family {
  background-image:
    linear-gradient(145deg, rgba(222, 111, 32, 0.28), rgba(103, 125, 104, 0.28)),
    url("correr.jpg");
}

.media-night {
  background-image:
    linear-gradient(145deg, rgba(52, 74, 69, 0.4), rgba(52, 74, 69, 0.4)),
    url("correr1.jpg");
}

.media-tri {
  background-image:
    linear-gradient(145deg, rgba(52, 74, 69, 0.3), rgba(52, 74, 69, 0.3)),
    url("correr2.jpg");
}

.event-body,
.blog-card,
.benefit-card,
.series-card,
.contact-card,
.future-card {
  padding: 14px;
}

.event-body h3,
.blog-card h3,
.benefit-card h3,
.series-card h3,
.future-card h3,
.page-hero h1,
.content-title {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.event-body p,
.blog-card p,
.benefit-card p,
.series-card p,
.contact-card p,
.page-lead,
.notice {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.event-body .meta {
  font-size: 0.82rem;
}

.event-body .meta + .btn {
  margin-top: 14px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 14px;
}

.highlight-card {
  min-height: 180px;
  border-radius: 18px;
  padding: 22px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: end;
  box-shadow: var(--shadow-hard);
}

.highlight-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.highlight-card p {
  margin: 6px 0 0;
  max-width: 38ch;
  font-size: 0.9rem;
}

.highlight-a {
  background-image:
    linear-gradient(130deg, rgba(52, 74, 69, 0.74), rgba(52, 74, 69, 0.5)),
    url("https://images.unsplash.com/photo-1518609878373-06d740f60d8b?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.highlight-b {
  background-image:
    linear-gradient(130deg, rgba(103, 125, 104, 0.72), rgba(52, 74, 69, 0.45)),
    url("https://images.unsplash.com/photo-1556817411-31ae72fa3ea0?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.highlight-c {
  background-image:
    linear-gradient(130deg, rgba(222, 111, 32, 0.7), rgba(52, 74, 69, 0.5)),
    url("https://images.unsplash.com/photo-1471295253337-3ceaaedca402?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

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

.future-card {
  min-height: 118px;
  border-style: dashed;
  border-color: #a9bbb2;
}

.future-card span {
  display: inline-block;
  margin-bottom: 9px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e4ebe6;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.notice {
  background: #fdf1e8;
  border: 1px solid #efc39f;
  border-radius: 12px;
  padding: 10px 12px;
}

.final-cta {
  background: linear-gradient(125deg, var(--ink), var(--primary-dark));
  border-radius: 24px;
  color: #fff;
  padding: 26px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: center;
}

.final-cta .eyebrow {
  color: #e9e1d9;
}

.final-cta h2 {
  margin: 6px 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.home-blog-feed {
  background: #e6e7ea;
}

.home-blog-head {
  text-align: center;
}

.home-blog-head h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 3rem);
  color: #0b1424;
}

.home-blog-head p {
  margin: 8px 0 0;
  color: #111827;
  font-size: 1.02rem;
  font-weight: 600;
}

.home-blog-tabs {
  margin-top: 24px;
  background: #f4f5f7;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  padding: 10px 12px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-blog-tab {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.98rem;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.home-blog-tab.is-active {
  color: #0dc785;
  border-bottom-color: #0dc785;
  font-weight: 800;
}

.home-blog-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-blog-card {
  border: 1px solid #cdd3dc;
  border-radius: 8px;
  background: #f6f7f9;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  padding: 18px;
}

.home-blog-card-media {
  width: 112px;
  height: 112px;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
}

.home-blog-card-body {
  min-width: 0;
}

.home-blog-kicker {
  font-size: 0.82rem;
  color: #1f79d6;
  font-weight: 800;
}

.home-blog-card h3 {
  margin: 6px 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1.28;
}

.home-blog-card h3 a {
  color: #111827;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}

.home-blog-card time {
  font-size: 0.82rem;
  color: #5f6b79;
  font-weight: 700;
}

.home-blog-card p {
  margin: 12px 0 16px;
  color: #4b5563;
  font-size: 0.96rem;
  line-height: 1.45;
}

.home-blog-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-blog-share {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.94rem;
}

.home-blog-read {
  min-height: 30px;
  padding: 0 14px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #ff6a00;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.site-footer {
  margin-top: 28px;
  background: linear-gradient(108deg, #090d14 0 63%, #0dc785 63% 100%);
  color: #ebf1fb;
  overflow: hidden;
}

.footer-grid {
  padding: 38px 0 30px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 20px;
}

.footer-grid > div:last-child h3 {
  color: #05251a;
}

.footer-grid > div:last-child p {
  color: rgba(5, 37, 26, 0.8);
  font-weight: 600;
}

.footer-grid > div:last-child .footer-newsletter {
  grid-template-columns: 1fr auto;
  gap: 0;
  align-items: center;
}

.footer-grid > div:last-child .footer-newsletter input {
  border-radius: 4px 0 0 4px;
  border-right: 0;
  background: rgba(255, 255, 255, 0.92);
}

.footer-grid > div:last-child .footer-newsletter .btn {
  border-radius: 0 4px 4px 0;
  min-height: 42px;
  padding-inline: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-brand-block {
  max-width: 320px;
}

.footer-brand .brand-logo {
  width: 138px;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-legend {
  max-width: 28ch;
  margin: 0;
  color: #d5e2f3;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-social {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #f4f8ff;
  transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(13, 199, 133, 0.18);
  border-color: rgba(13, 199, 133, 0.48);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.site-footer h3 {
  margin: 0 0 10px;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin-bottom: 7px;
  text-decoration: none;
  color: #c8d6ea;
}

.site-footer p {
  margin: 0;
  color: #a8b8cf;
  font-size: 0.9rem;
}

.footer-newsletter {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #060a10;
}

.footer-bottom-shell {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer-links a {
  margin: 0;
  color: #b6c8e2;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page-hero {
  padding: 54px 0 18px;
}

.page-hero .container {
  background-image:
    linear-gradient(to bottom, rgba(6, 10, 18, 0.12) 0%, rgba(6, 10, 18, 0.72) 100%),
    url("correr2.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 40px rgba(4, 8, 16, 0.32);
  padding: 40px 28px 28px;
  min-height: 220px;
  display: grid;
  align-content: end;
}

/* Page-specific banner images */
body[data-page="blog"] .page-hero .container {
  background-image:
    linear-gradient(to bottom, rgba(6, 10, 18, 0.08) 0%, rgba(6, 10, 18, 0.75) 100%),
    url("correr.jpg");
  background-position: center 30%;
}

body[data-page="nosotros"] .page-hero .container {
  background-image:
    linear-gradient(to bottom, rgba(6, 10, 18, 0.08) 0%, rgba(6, 10, 18, 0.75) 100%),
    url("correr2.jpg");
  background-position: center 35%;
}

body[data-page="nosotros"] {
  background:
    radial-gradient(circle at top, rgba(222, 111, 32, 0.12), transparent 28%),
    linear-gradient(180deg, #f5f0e8 0%, #f4f7f4 20%, #f7f8fb 100%);
}

.about-hero-v2 {
  position: relative;
  overflow: hidden;
  padding: 54px 0 34px;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.12), transparent 18%),
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.14), transparent 16%),
    linear-gradient(180deg, rgba(222, 111, 32, 0.92), rgba(247, 197, 97, 0.92));
}

.about-hero-v2-inner {
  position: relative;
  text-align: center;
}

.about-hero-v2 .eyebrow {
  color: rgba(18, 25, 34, 0.72);
}

.about-hero-v2 h1 {
  margin: 10px 0 14px;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  color: #111827;
}

.about-hero-subtitle {
  width: min(700px, 100%);
  margin: 0 auto;
  color: rgba(17, 24, 39, 0.8);
  font-size: 1.02rem;
  line-height: 1.75;
}

.about-hero-decor {
  position: absolute;
  border: 2px solid rgba(17, 24, 39, 0.72);
  border-radius: 999px;
  opacity: 0.8;
}

.about-hero-decor-a {
  width: 10px;
  height: 10px;
  top: 40px;
  left: 34%;
}

.about-hero-decor-b {
  width: 14px;
  height: 14px;
  top: 56px;
  right: 30%;
}

.about-hero-decor-c {
  width: 8px;
  height: 8px;
  top: 98px;
  right: 27%;
}

.about-hero-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.about-hero-gallery-card {
  min-height: 176px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 30px rgba(18, 25, 34, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.about-hero-gallery-card-a {
  background-image: url("correr1.jpg");
}

.about-hero-gallery-card-b {
  background-image: url("exo1.jpeg");
}

.about-hero-gallery-card-c {
  background-image: url("correr2.jpg");
}

.about-hero-gallery-card-d {
  background-image: url("evento1.png");
}

.about-value-section-v2 {
  padding-top: 64px;
}

.about-value-grid-v2,
.about-impact-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  align-items: start;
}

.about-kicker-v2 {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(222, 111, 32, 0.12);
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-value-heading-v2 h2,
.about-impact-copy-v2 h2,
.about-benefits-head-v2 h2 {
  margin: 14px 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  color: #101926;
}

.about-value-copy-v2 {
  display: grid;
  gap: 18px;
  padding-top: 18px;
}

.about-value-copy-v2 p,
.about-impact-copy-v2 p,
.about-benefits-head-v2 p,
.about-benefit-card-v2 p {
  margin: 0;
  color: rgba(26, 35, 47, 0.76);
  line-height: 1.8;
}

.about-impact-section-v2 {
  padding-top: 18px;
}

.about-impact-media-v2 {
  position: relative;
}

.about-impact-photo-v2 {
  position: relative;
  min-height: 410px;
  border-radius: 26px;
  background:
    linear-gradient(to bottom, rgba(12, 18, 24, 0.06), rgba(12, 18, 24, 0.26)),
    url("exo.jpeg") center / cover no-repeat;
  box-shadow: 0 24px 40px rgba(18, 25, 34, 0.12);
}

.about-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f1722;
  box-shadow: 0 16px 30px rgba(15, 23, 34, 0.18);
}

.about-play-badge svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.about-impact-media-note {
  width: min(320px, calc(100% - 32px));
  margin: -34px auto 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(211, 219, 228, 0.85);
  box-shadow: 0 18px 26px rgba(18, 25, 34, 0.1);
  position: relative;
}

.about-impact-media-note strong {
  display: block;
  margin-bottom: 6px;
  color: #101926;
  line-height: 1.5;
}

.about-impact-media-note span {
  color: rgba(26, 35, 47, 0.6);
  font-size: 0.92rem;
}

.about-impact-copy-v2 {
  display: grid;
  gap: 18px;
  align-content: center;
}

.about-impact-quote-v2 {
  margin: 0;
  padding: 20px 22px;
  border-left: 4px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.72);
  color: #253244;
  font-weight: 700;
  line-height: 1.75;
  box-shadow: 0 16px 24px rgba(18, 25, 34, 0.06);
}

.about-benefits-section-v2 {
  padding-top: 34px;
}

.about-benefits-head-v2 {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.about-benefits-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.about-benefit-card-v2 {
  text-align: center;
  padding: 26px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(213, 221, 228, 0.82);
  box-shadow: 0 18px 30px rgba(18, 25, 34, 0.07);
}

.about-benefit-icon-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(247, 197, 97, 0.78), rgba(222, 111, 32, 0.28));
  color: #17202d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.about-benefit-icon-v2 svg {
  width: 30px;
  height: 30px;
}

.about-benefit-card-v2 h3 {
  margin: 0 0 10px;
  color: #101926;
}

@media (max-width: 980px) {
  .about-hero-gallery,
  .about-benefits-grid-v2,
  .about-value-grid-v2,
  .about-impact-grid-v2 {
    grid-template-columns: 1fr;
  }

  .about-hero-gallery {
    gap: 12px;
  }

  .about-hero-gallery-card {
    min-height: 220px;
  }

  .about-value-copy-v2 {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .about-hero-v2 {
    padding: 38px 0 24px;
  }

  .about-hero-decor-a {
    left: 14%;
    top: 28px;
  }

  .about-hero-decor-b {
    right: 16%;
    top: 44px;
  }

  .about-hero-decor-c {
    right: 11%;
    top: 86px;
  }

  .about-hero-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-hero-gallery-card {
    min-height: 138px;
  }

  .about-impact-photo-v2 {
    min-height: 300px;
  }

  .about-impact-media-note {
    width: calc(100% - 20px);
  }

  .about-benefit-card-v2 {
    padding: 22px 18px;
  }
}

.about-hero {
  background:
    linear-gradient(to bottom, rgba(13, 17, 24, 0.28) 0%, rgba(13, 17, 24, 0.58) 100%),
    linear-gradient(140deg, rgba(222, 111, 32, 0.9), rgba(247, 211, 110, 0.78)),
    url("banner foto.png") center 28% / cover no-repeat;
  padding: 56px 0 158px;
}

.about-hero .contact-hero-panel {
  color: #121922;
}

.about-hero .contact-hero-panel .eyebrow {
  color: rgba(18, 25, 34, 0.72);
}

.about-hero .contact-hero-panel h1 {
  color: #111827;
  text-transform: none;
  letter-spacing: -0.04em;
}

.about-hero .contact-hero-panel p {
  color: rgba(17, 24, 39, 0.82);
}

.about-shell-section {
  margin-top: -108px;
  padding-bottom: 32px;
}

.about-overview-card {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 28px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(247, 249, 252, 0.88);
  border: 1px solid rgba(193, 205, 216, 0.72);
  box-shadow: 0 28px 60px rgba(26, 35, 47, 0.12);
  backdrop-filter: blur(14px);
}

.about-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: end;
}

.about-mosaic-item {
  min-height: 124px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 28px rgba(13, 17, 24, 0.12);
}

.about-mosaic-item-a {
  grid-column: span 1;
  height: 168px;
  background-image: url("correr.jpg");
}

.about-mosaic-item-b {
  grid-column: span 1;
  height: 136px;
  background-image: url("correr1.jpg");
}

.about-mosaic-item-c {
  grid-column: span 1;
  height: 182px;
  background-image: url("correr2.jpg");
}

.about-mosaic-item-d {
  grid-column: span 1;
  height: 146px;
  background-image: url("evento1.png");
}

.about-overview-copy {
  display: grid;
  gap: 18px;
}

.about-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(222, 111, 32, 0.14);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-overview-copy h2,
.about-story-copy h2,
.about-values-section .section-head h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #0f1722;
}

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

.about-copy-columns p,
.about-story-copy > p,
.about-values-section .section-head p,
.about-stat-card span,
.about-principle-card p,
.about-value-card p {
  margin: 0;
  color: rgba(26, 35, 47, 0.76);
  line-height: 1.7;
}

.about-stat-row,
.about-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-stat-card,
.about-principle-card,
.about-value-card {
  padding: 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(202, 212, 221, 0.74);
  box-shadow: 0 16px 24px rgba(18, 25, 34, 0.06);
}

.about-stat-card strong,
.about-principle-card h3,
.about-value-card h3 {
  display: block;
  margin: 0 0 8px;
  color: #101926;
}

.about-story-section {
  padding-top: 28px;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.about-story-media {
  position: relative;
  padding-bottom: 24px;
}

.about-story-photo {
  min-height: 420px;
  border-radius: 28px;
  background:
    linear-gradient(to bottom, rgba(12, 18, 24, 0.08), rgba(12, 18, 24, 0.28)),
    url("exo.jpeg") center / cover no-repeat;
  box-shadow: 0 26px 46px rgba(18, 25, 34, 0.14);
}

.about-story-quote {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(212, 219, 226, 0.82);
  box-shadow: 0 18px 30px rgba(18, 25, 34, 0.12);
}

.about-story-quote strong {
  display: block;
  margin-bottom: 6px;
  color: #0f1722;
  line-height: 1.45;
}

.about-story-quote span {
  color: rgba(26, 35, 47, 0.62);
  font-size: 0.94rem;
}

.about-story-copy {
  display: grid;
  gap: 18px;
}

.about-principles {
  display: grid;
  gap: 14px;
}

.about-values-section .section-head {
  max-width: 780px;
  margin: 0 auto 28px;
  text-align: center;
}

.about-value-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 244, 0.94));
}

.about-value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(222, 111, 32, 0.16), rgba(0, 208, 132, 0.16));
  color: #0f1722;
  font-weight: 800;
}

@media (max-width: 980px) {
  .about-overview-card,
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .about-copy-columns,
  .about-stat-row,
  .about-value-grid {
    grid-template-columns: 1fr;
  }

  .about-story-photo {
    min-height: 340px;
  }
}

@media (max-width: 760px) {
  .about-hero {
    padding: 42px 0 132px;
  }

  .about-shell-section {
    margin-top: -88px;
  }

  .about-overview-card {
    padding: 18px;
    border-radius: 22px;
  }

  .about-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-mosaic-item-a,
  .about-mosaic-item-b,
  .about-mosaic-item-c,
  .about-mosaic-item-d {
    height: 130px;
  }

  .about-story-media {
    padding-bottom: 0;
  }

  .about-story-quote {
    position: static;
    margin-top: 14px;
  }
}

body[data-page="series"] .page-hero .container {
  background-image:
    linear-gradient(to bottom, rgba(6, 10, 18, 0.08) 0%, rgba(6, 10, 18, 0.75) 100%),
    url("banner foto.png");
  background-position: center top;
}

.page-hero .filter-bar {
  background: rgba(245, 248, 252, 0.9);
  border-color: rgba(168, 182, 198, 0.95);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.page-hero p:not(.eyebrow):not(.filter-bar *) {
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.page-lead {
  max-width: 64ch;
}

.filter-bar {
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.filter-box {
  display: grid;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}

.events-list {
  margin-top: 16px;
}

.event-detail-hero {
  margin-top: 28px;
  background-image:
    linear-gradient(to bottom, rgba(6, 10, 18, 0.05) 0%, rgba(6, 10, 18, 0.78) 100%),
    url("correr.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 22px;
  min-height: 300px;
  padding: 28px 28px 28px;
  color: #fff;
  display: grid;
  align-content: end;
  box-shadow: 0 16px 40px rgba(4, 8, 16, 0.28);
}

.event-detail-hero.axolote-hero {
  background-image:
    linear-gradient(to bottom, rgba(6, 10, 18, 0.05) 0%, rgba(6, 10, 18, 0.82) 100%),
    url("banner.png");
  background-position: center top;
}

.event-detail-hero h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.event-detail-hero p,
.event-detail-hero .eyebrow {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.quick-stats {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-stats span {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 0.82rem;
}

.event-layout {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.event-panel,
.sidebar-panel,
.pricing-card,
.faq-item,
.timeline-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

.event-panel,
.sidebar-panel {
  padding: 16px;
}

.convocatoria-media {
  margin: 12px 0 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.convocatoria-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
  aspect-ratio: 1/1;
  max-height: 300px;
}

.convocatoria-trigger {
  display: block;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.lightbox-overlay:target {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 23, 0.78);
  backdrop-filter: blur(2px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  width: min(960px, 92vw);
  max-height: 88vh;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  background: #0f1724;
}

.lightbox-content img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0b1320;
  background: rgba(255, 255, 255, 0.92);
}

.lightbox-close:hover {
  background: #ffffff;
}

.content-title {
  font-size: 1.2rem;
  color: var(--ink);
}

.info-list,
.key-points {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.pricing-grid,
.related-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pricing-card {
  padding: 12px;
}

.pricing-card strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
}

.faq-list,
.timeline {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.faq-item,
.timeline-item {
  padding: 11px;
}

.event-layout > div > .event-panel.is-collapsible > .content-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.event-layout > div > .event-panel.is-collapsible > .content-title::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid #38506f;
  border-bottom: 2px solid #38506f;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  margin-right: 2px;
}

.event-layout > div > .event-panel.is-collapsible.is-open > .content-title::after {
  transform: rotate(45deg);
}

.event-layout > div > .event-panel.is-collapsible > .content-title:focus-visible {
  outline: 2px solid rgba(56, 80, 111, 0.4);
  outline-offset: 3px;
  border-radius: 6px;
}

.event-layout > div > .event-panel .faq-item.is-collapsible {
  display: grid;
  gap: 8px;
}

.event-layout > div > .event-panel .faq-item.is-collapsible > strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.event-layout > div > .event-panel .faq-item.is-collapsible > strong::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #38506f;
  border-bottom: 2px solid #38506f;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  margin-right: 2px;
}

.event-layout > div > .event-panel .faq-item.is-collapsible.is-open > strong::after {
  transform: rotate(45deg);
}

.event-layout > div > .event-panel .faq-item.is-collapsible > strong:focus-visible {
  outline: 2px solid rgba(56, 80, 111, 0.38);
  outline-offset: 2px;
  border-radius: 4px;
}

.map-box {
  min-height: 170px;
  border-radius: 12px;
  border: 1px dashed #aebfb7;
  background:
    linear-gradient(transparent 23px, rgba(128, 149, 128, 0.24) 24px, transparent 25px),
    linear-gradient(90deg, transparent 23px, rgba(128, 149, 128, 0.24) 24px, transparent 25px);
  background-size: 24px 24px;
  display: grid;
  place-items: center;
  color: var(--ink);
  margin-top: 10px;
}

.blog-list,
.series-grid,
.contact-grid {
  margin-top: 16px;
}

.blog-list {
  display: grid;
  gap: 12px;
}

.blog-entry {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.blog-cover {
  min-height: 100%;
  background-image:
    linear-gradient(130deg, rgba(52, 74, 69, 0.42), rgba(52, 74, 69, 0.16)),
    url("correr.jpg");
  background-size: cover;
  background-position: center;
}

.blog-entry:nth-of-type(2) .blog-cover {
  background-image:
    linear-gradient(130deg, rgba(103, 125, 104, 0.44), rgba(103, 125, 104, 0.16)),
    url("correr1.jpg");
}

.blog-entry:nth-of-type(3) .blog-cover {
  background-image:
    linear-gradient(130deg, rgba(222, 111, 32, 0.38), rgba(52, 74, 69, 0.16)),
    url("correr2.jpg");
}

.blog-body {
  padding: 14px;
}

.blog-body h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.blog-body p {
  margin: 7px 0 0;
  color: var(--muted);
}

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

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

.contact-page {
  background: #e8eeea;
}

.contact-page .site-header {
  background: rgba(7, 12, 16, 0.95);
}

.contact-hero {
  background:
    linear-gradient(to bottom, rgba(6, 10, 18, 0.45) 0%, rgba(6, 10, 18, 0.72) 100%),
    url("banner foto.png") center 25% / cover no-repeat;
  padding: 52px 0 140px;
}

.contact-hero-panel {
  text-align: center;
  color: #f7f9fe;
}

.contact-hero-panel .eyebrow {
  color: #f0b88d;
}

.contact-hero-panel h1 {
  margin: 8px 0;
  text-transform: uppercase;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.contact-hero-panel p {
  margin: 0 auto;
  max-width: 52ch;
  color: #e2ebe7;
  font-weight: 600;
}

.contact-shell-section {
  margin-top: -94px;
  padding-bottom: 72px;
}

.contact-form-shell {
  max-width: 760px;
  margin: 0 auto;
  background: #f4f7f4;
  border-radius: 12px;
  border: 1px solid #d1dbd5;
  box-shadow: 0 16px 34px rgba(52, 74, 69, 0.2);
  padding: 22px;
}

.contact-form-grid {
  display: grid;
  gap: 9px;
}

.contact-form-grid label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ink);
}

.contact-form-grid input,
.contact-form-grid select,
.contact-form-grid textarea {
  width: 100%;
  min-height: 42px;
  border-radius: 2px;
  border: 1px solid #c8d3cd;
  background: #f2f6f3;
  padding: 10px 12px;
  font-size: 0.92rem;
  font-family: "Manrope", sans-serif;
}

.contact-form-grid textarea {
  min-height: 112px;
  resize: vertical;
}

.contact-row-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.required-mark {
  color: var(--accent);
}

.contact-submit {
  margin-top: 16px;
  min-width: 132px;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 10px;
}

.auth-page {
  background: #dedfe2;
  min-height: 100vh;
}

.auth-page .site-header {
  background: #111827;
  border-bottom: 0;
}

.auth-page .site-header::before {
  height: 100%;
  background: linear-gradient(to bottom, #19c88b 0 72%, #0a1422 72% 100%);
  opacity: 1;
  animation: none;
}

.auth-main {
  padding: 52px 0 74px;
}

.auth-shell {
  width: min(700px, 92vw);
  margin: 0 auto;
}

.auth-card {
  background: #f7f7f8;
  border-radius: 14px;
  border: 1px solid #d7d9de;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  padding: 18px;
}

.auth-session-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 9, 15, 0.62);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 18px;
  z-index: 120;
}

.auth-session-modal {
  width: min(460px, 94vw);
  background: #ffffff;
  border: 1px solid #d7d9de;
  border-radius: 14px;
  box-shadow: 0 20px 42px rgba(6, 14, 24, 0.35);
  padding: 18px;
}

.auth-session-modal h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.2rem;
  font-family: "Sora", sans-serif;
}

.auth-session-modal p {
  margin: 10px 0 0;
  color: #4b5563;
}

.auth-session-email {
  display: inline-flex;
  margin-top: 10px;
  background: rgba(13, 199, 133, 0.12);
  border: 1px solid rgba(13, 199, 133, 0.35);
  border-radius: 999px;
  padding: 5px 10px;
  color: #0a6e48;
  font-weight: 700;
}

.auth-session-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.auth-session-btn {
  min-height: 40px;
  border-radius: 9px;
  border: 1px solid #d0d5dd;
  background: #ffffff;
  color: #111827;
  font-weight: 700;
  padding: 0 12px;
  cursor: pointer;
}

.auth-session-btn-primary {
  border-color: #0dc785;
  background: rgba(13, 199, 133, 0.14);
  color: #075f3e;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.auth-tab {
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid #ced4de;
  background: #ffffff;
  color: #1e293b;
  font-weight: 750;
  cursor: pointer;
}

.auth-tab.is-active {
  border-color: #0dc785;
  background: rgba(13, 199, 133, 0.12);
  color: #076e47;
}

.auth-panel {
  display: none;
  padding: 4px 8px;
}

.auth-panel.is-active {
  display: block;
}

.auth-panel h1 {
  margin: 4px 0 2px;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-family: "Inter", "Sora", sans-serif;
  color: #0f172a;
}

.auth-panel p {
  margin: 0;
  color: #4b5563;
}

.auth-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.auth-login-step {
  display: none;
  gap: 10px;
}

.auth-login-step.is-active {
  display: grid;
}

.auth-email-lock {
  min-height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid #8c919b;
  border-radius: 2px;
  background: #ffffff;
  padding: 0 10px;
  font-weight: 700;
  color: #111827;
}

.auth-link-inline {
  justify-self: end;
  margin-top: -2px;
  border: 0;
  background: transparent;
  color: #374151;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}

.auth-password-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
}

.auth-password-wrap input {
  border-right: 0;
}

.auth-password-toggle {
  width: 44px;
  border: 1px solid #0dc785;
  background: #ffffff;
  color: #1f2937;
  cursor: pointer;
}

.auth-password-toggle svg {
  width: 22px;
  height: 22px;
}

.auth-login-row {
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f2937;
  font-weight: 600;
}

.auth-inline-link {
  color: #1f2937;
  font-weight: 700;
  text-decoration: underline;
}

.auth-form label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1f2937;
}

.auth-form input,
.auth-form select {
  width: 100%;
  min-height: 44px;
  border-radius: 2px;
  border: 1px solid #8c919b;
  background: #ffffff;
  padding: 10px 12px;
  font-size: 0.92rem;
  font-family: "Inter", "Manrope", sans-serif;
}

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

.auth-terms {
  margin: 6px 0 0;
  font-size: 0.84rem;
  color: #556070;
}

.auth-submit {
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(130deg, #0dc785, #0da56f);
  color: #04110d;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.auth-form-status {
  min-height: 20px;
  margin: 6px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0a9e6a;
}

.auth-form-status.is-error {
  color: #c2410c;
}

.auth-global-status {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #e8fff5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.92rem;
  font-weight: 700;
}

.auth-global-status.is-error {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}

.auth-google {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  width: 100%;
  border-radius: 4px;
  border: 1px solid #cfd5df;
  background: #ffffff;
  text-decoration: none;
  color: #1f2937;
  font-weight: 700;
}

.auth-google img {
  width: 18px;
  height: 18px;
}

.auth-switch-copy {
  margin-top: 14px;
  text-align: center;
  font-size: 0.95rem;
  color: #374151;
}

.auth-link-btn {
  border: 0;
  background: transparent;
  color: #0a9e6a;
  font-weight: 800;
  cursor: pointer;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}

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

@media (max-width: 1100px) {
  .nav-shell {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    min-height: 86px;
  }

  .site-nav {
    grid-column: auto;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .site-nav a {
    padding: 7px 0;
    font-size: 0.83rem;
  }

  .nav-actions {
    justify-self: end;
    gap: 8px;
  }

  .nav-actions .btn {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .ghost-link {
    font-size: 0.8rem;
  }

  .site-header .brand-copy small {
    display: none;
  }

  .card-grid-4,
  .series-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .event-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-overlay {
    padding: 14px;
  }

  .lightbox-content {
    width: 96vw;
  }

  .hero-banner-shell {
    min-height: 360px;
  }

  .event-spotlight-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
    transform: translateY(70px);
  }

  .event-spotlight-divider {
    width: 100%;
    height: 1px;
  }

  .event-spotlight-pricing {
    justify-items: start;
  }

  .event-spotlight-actions {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .event-spotlight-price {
    font-size: 1.45rem;
  }

  body.theme-light .hero-white-bridge {
    min-height: 120px;
  }

  .event-sticky-inner {
    grid-template-columns: 48px minmax(220px, 1fr) auto auto;
    gap: 10px;
  }

  .event-sticky-price {
    font-size: 0.86rem;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }

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

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

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

@media (max-width: 1024px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "nav nav";
    min-height: 94px;
    padding: 11px 0;
    row-gap: 6px;
  }

  .site-header .brand {
    grid-area: brand;
  }

  .site-nav {
    grid-area: nav;
    justify-content: flex-start;
    gap: 14px;
  }

  .nav-actions {
    grid-area: actions;
  }

  .hero-banner-shell {
    min-height: 330px;
    padding: 8px 0 0;
  }

  .hero-banner-title {
    font-size: clamp(2rem, 6vw, 3rem);
    max-width: 17ch;
    margin-inline: auto;
  }

  .event-spotlight-card {
    transform: translateY(66px);
  }

  .event-spotlight-main {
    grid-template-columns: 80px 1fr;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
    min-height: 76px;
    gap: 10px;
    padding: 9px 0;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    min-width: 82px;
    padding: 8px 10px;
    border: 1px solid rgba(0, 255, 156, 0.4);
    background: rgba(0, 208, 132, 0.14);
    color: #d6ffe7;
    border-radius: 10px;
    justify-self: end;
  }

  .site-nav {
    display: none;
    width: 100%;
    grid-column: 1 / -1;
    padding: 8px 0 12px;
    gap: 12px;
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    width: max-content;
    min-height: 38px;
    color: #f3f8ff;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 8px 0;
    text-shadow: none;
  }

  .site-nav a.is-active {
    color: #c7ffe4;
  }

  .nav-actions {
    display: none;
  }

  .site-nav .nav-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(130deg, #0dc785, #0da56f);
    border-color: rgba(0, 255, 156, 0.38);
    color: #04110d;
    font-weight: 800;
    border-radius: 10px;
    padding: 0 14px;
  }

  .ghost-link {
    display: none;
  }

  .card-grid-3,
  .benefit-grid,
  .future-grid,
  .newsletter,
  .filter-bar,
  .blog-entry {
    grid-template-columns: 1fr;
  }

  .hero-banner-shell {
    min-height: 320px;
  }

  .hero-banner-title {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
  }

  .hero-sport {
    background-position: center 8%;
  }

  .hero-banner-shell {
    min-height: 300px;
    padding-top: 0;
  }

  .event-spotlight-card {
    border-radius: 14px;
    padding: 14px;
    gap: 12px;
    transform: translateY(48px);
  }

  .event-spotlight-main {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
  }

  .event-spotlight-thumb {
    width: 74px;
    height: 74px;
  }

  .event-spotlight-details {
    gap: 9px;
  }

  .event-spotlight-price {
    font-size: 1.25rem;
  }

  .event-spotlight-cta {
    width: 100%;
    min-height: 46px;
  }

  body.theme-light .hero-white-bridge {
    min-height: 90px;
  }

  .whatsapp-panel {
    display: none;
  }

  .whatsapp-button {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }

  .whatsapp-button svg {
    width: 30px;
    height: 30px;
  }

  .whatsapp-button img {
    width: 30px;
    height: 30px;
  }

  .event-sticky-banner {
    width: min(96vw, 560px);
  }

  .event-sticky-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "main cta"
      "meta cta";
    min-height: 56px;
    padding: 10px;
    gap: 4px 10px;
  }

  .event-sticky-thumb,
  .event-sticky-distance,
  .event-sticky-price {
    display: none;
  }

  .event-sticky-main {
    grid-area: main;
  }

  .event-sticky-name {
    font-size: 0.88rem;
  }

  .event-sticky-meta {
    grid-area: meta;
    margin-top: 1px;
    font-size: 0.75rem;
    color: #c1d4e6;
  }

  .auth-main {
    padding: 26px 0 46px;
  }

  .auth-card {
    padding: 14px;
  }

  .auth-grid-2 {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .auth-login-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-sticky-cta {
    grid-area: cta;
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .mascot-spotlight {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mascot-image {
    margin: 0 auto;
    max-width: 180px;
  }

  .final-cta {
    grid-template-columns: 1fr;
    padding: 22px;
  }


  .home-blog-tabs {
    overflow-x: auto;
    white-space: nowrap;
  }

  .home-blog-grid {
    grid-template-columns: 1fr;
  }

  .home-blog-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-blog-card-media {
    width: 100%;
    height: 180px;
  }
  .contact-row-two {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .contact-hero {
    padding: 42px 0 120px;
  }

  .contact-shell-section {
    margin-top: -80px;
    padding-bottom: 52px;
  }

  .contact-form-shell {
    padding: 16px;
  }

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

  .footer-bottom-shell {
    min-height: 76px;
    flex-direction: column;
    justify-content: center;
  }
}

/* ================================================
   PROFILE / DASHBOARD PAGE
   ================================================ */

.profile-page {
  background: #e9ecf0;
  min-height: 100vh;
}

/* --- Cover banner --- */
.profile-cover {
  position: relative;
  width: 100%;
  height: 280px;
  background: url("banner.png") center 12% / cover no-repeat;
  overflow: hidden;
}

.profile-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(0, 0, 0, 0.55) 70%,
    rgba(0, 0, 0, 0.78) 100%
  );
  pointer-events: none;
}

.profile-cover-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(4px);
  border-radius: 7px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-cover-btn:hover {
  background: rgba(0, 0, 0, 0.72);
}

.profile-cover-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.profile-cover-adjust-btn {
  position: absolute;
  top: 56px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  background: rgba(7, 14, 28, 0.58);
  backdrop-filter: blur(4px);
  border-radius: 7px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.profile-cover-adjust-btn:hover {
  background: rgba(7, 14, 28, 0.78);
}

.profile-cover.is-adjusting {
  cursor: ns-resize;
  user-select: none;
}

.profile-file-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* --- Shell --- */
.profile-shell {
  width: min(1100px, 94vw);
  margin: 0 auto;
  padding: 28px 0 72px;
}

/* --- Identity row (avatar + info) --- */
.profile-identity {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 16px 20px 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #c4c9d4 center / cover no-repeat;
  border: 3px solid rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile-avatar svg {
  width: 52px;
  height: 52px;
  color: #6b7280;
}

.profile-avatar-edit-btn {
  position: absolute;
  bottom: 2px;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0dc785;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid #ffffff;
}

.profile-avatar-edit-btn svg {
  width: 13px;
  height: 13px;
  color: #ffffff;
}

.profile-ident-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 8px;
}

.profile-username {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.profile-ident-meta {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* --- Two-column layout --- */
.profile-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
}

/* --- Sidebar --- */
.profile-sidebar {
  background: #111827;
  border-radius: 0;
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.profile-nav-item {
  display: block;
  padding: 13px 20px;
  color: #c8d3e0;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
}

.profile-nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.profile-nav-item.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-left-color: #0dc785;
  font-weight: 800;
}

/* --- Content --- */
.profile-content {
  min-width: 0;
}

.profile-reminder-shell {
  background: linear-gradient(100deg, #0b1730, #10233f);
  border-bottom: 1px solid rgba(148, 173, 204, 0.24);
}

.profile-reminder-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.profile-reminder-title {
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9fb3d1;
  font-weight: 800;
}

.profile-reminder-copy {
  margin: 2px 0 0;
  color: #e8f3ff;
  font-weight: 700;
  font-size: 0.94rem;
}

.profile-reminder-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 10px;
  padding: 0 16px;
  text-decoration: none;
  color: #03150f;
  font-weight: 800;
  background: linear-gradient(130deg, #66ebb4, #3ad091);
  box-shadow: 0 12px 24px rgba(26, 222, 156, 0.28);
}

.profile-reminder-cta:hover {
  filter: brightness(1.03);
}

.profile-panel {
  display: none;
}

.profile-panel.is-active {
  display: block;
}

.profile-section-title {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.profile-sub-title {
  margin: 22px 0 10px;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  border-bottom: 1px solid #e2e5ea;
  padding-bottom: 6px;
}

.profile-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #d8dce4;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* --- Form --- */
.profile-form {
  display: grid;
  gap: 14px;
}

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

.profile-field {
  display: grid;
  gap: 5px;
}

.profile-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #374151;
}

.profile-field input,
.profile-field select {
  width: 100%;
  min-height: 44px;
  border-radius: 6px;
  border: 1px solid #cdd2db;
  background: #ffffff;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-family: "Manrope", sans-serif;
  color: #0f172a;
  transition: border-color 0.18s;
}

.profile-field input:focus,
.profile-field select:focus {
  outline: none;
  border-color: #0dc785;
  box-shadow: 0 0 0 3px rgba(13, 199, 133, 0.15);
}

.profile-input-suffix {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
}

.profile-input-suffix input {
  border-right: 0;
  border-radius: 6px 0 0 6px;
}

.profile-input-suffix span {
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #cdd2db;
  border-radius: 0 6px 6px 0;
  background: #f4f6f9;
  font-size: 0.85rem;
  color: #4b5563;
  font-weight: 700;
}

.profile-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.profile-emergency-intro {
  margin-bottom: 16px;
  color: #5b6573;
  line-height: 1.6;
}

.profile-emergency-intro p {
  margin: 0;
}

.profile-emergency-saved-actions {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 14px;
}

.profile-secondary-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid #c8d3df;
  background: #f4f7fb;
  color: #1e2f46;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.profile-secondary-btn:hover {
  border-color: #9fb5cb;
}

.profile-save-btn {
  min-height: 42px;
  padding: 0 28px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(130deg, #0dc785, #0da56f);
  color: #04110d;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.18s;
}

.profile-save-btn:hover {
  opacity: 0.88;
}

.profile-save-status {
  min-height: 20px;
  margin: 8px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.profile-save-status.is-error {
  color: #c2410c;
}

.profile-save-status.is-success {
  color: #0a9e6a;
}

#profileEmergencySavedCard {
  margin-bottom: 14px;
}

/* --- Empty state --- */
.profile-empty-state {
  text-align: center;
  padding: 50px 20px;
  color: #6b7280;
}

.profile-empty-state svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  color: #9ca3af;
  display: block;
}

.profile-empty-state p {
  font-size: 0.95rem;
  max-width: 360px;
  margin: 0 auto;
  line-height: 1.6;
}

.profile-race-card {
  display: grid;
  gap: 14px;
}

.profile-race-item {
  border: 1px solid #d8dce4;
  border-radius: 12px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.profile-race-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.profile-race-name {
  margin: 0;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 800;
}

.profile-race-meta {
  margin: 8px 0 0;
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.55;
}

.profile-race-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.profile-race-status.is-pending {
  background: #fff6e5;
  color: #925f00;
  border: 1px solid #f3d28f;
}

.profile-race-status.is-paid {
  background: #e6fbf2;
  color: #0c6f4a;
  border: 1px solid #93e3bf;
}

.profile-race-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.profile-race-pay-btn,
.profile-race-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 10px;
  padding: 0 16px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
}

.profile-race-pay-btn {
  color: #03150f;
  background: linear-gradient(130deg, #66ebb4, #3ad091);
  box-shadow: 0 10px 20px rgba(26, 222, 156, 0.2);
}

.profile-race-detail-btn {
  color: #0f172a;
  background: #f2f5f9;
  border: 1px solid #d3dbe6;
}

.profile-race-register-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 10, 19, 0.66);
  backdrop-filter: blur(4px);
}

.profile-race-register-overlay[hidden] {
  display: none !important;
}

.profile-race-register-modal {
  width: min(620px, 100%);
  border-radius: 18px;
  border: 1px solid #d7dfeb;
  background: #ffffff;
  box-shadow: 0 26px 44px rgba(8, 14, 24, 0.36);
  padding: 24px 56px 24px 24px;
  position: relative;
}

.profile-race-register-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #cad4e2;
  background: #ffffff;
  color: #2b3f5c;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.profile-race-register-modal h3 {
  margin: 0;
  color: #121e30;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.1;
}

.profile-race-register-copy {
  margin: 12px 0 0;
  color: #3d516f;
  line-height: 1.65;
}

.profile-race-register-highlights {
  display: grid;
  gap: 6px;
  margin: 14px 0 0;
  color: #1c2d45;
  font-weight: 700;
}

.profile-race-register-actions {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 18px;
}

.profile-race-register-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 10px;
  padding: 0 16px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  color: #03150f;
  background: linear-gradient(130deg, #66ebb4, #3ad091);
  box-shadow: 0 12px 24px rgba(26, 222, 156, 0.24);
}

.checkout-saved-emergency {
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid rgba(13, 199, 133, 0.22);
  background: linear-gradient(135deg, rgba(13, 199, 133, 0.08), rgba(13, 199, 133, 0.03));
  padding: 14px;
}

.checkout-saved-emergency-title {
  margin: 0 0 10px;
  color: #152537;
  font-size: 0.94rem;
  font-weight: 800;
}

.checkout-saved-emergency-copy {
  margin: 0;
  color: #506173;
  font-size: 0.88rem;
  line-height: 1.55;
}

.checkout-saved-emergency-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  color: #152537;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.checkout-saved-emergency-toggle input {
  margin-top: 3px;
}

@media (max-width: 768px) {
  .profile-cover {
    height: 220px;
  }
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .profile-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
  }
  .profile-nav-item {
    white-space: nowrap;
    border-left: 0;
    border-bottom: 3px solid transparent;
  }
  .profile-nav-item.is-active {
    border-left-color: transparent;
    border-bottom-color: #0dc785;
  }
  .profile-form-grid {
    grid-template-columns: 1fr;
  }
  .profile-identity {
    padding: 12px 14px 14px;
  }

  .profile-reminder-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-race-register-actions {
    flex-direction: column;
  }
}

  /* Payment & Distance Selection */
  .payment-section {
    margin: 16px 0;
    padding: 12px 0;
  }

  .payment-section label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 8px;
  }

  .payment-section select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.95rem;
    background-color: #fff;
    color: var(--ink);
    cursor: pointer;
  }

  .payment-section select:hover {
    border-color: var(--brand-green);
  }

  .payment-section select:focus {
    outline: none;
    border-color: var(--brand-green);
    box-shadow: 0 0 0 3px rgba(13, 199, 133, 0.1);
  }

  #payment-btn {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }


/* ─── Orbital Semicircle Section ───────────────────────── */
.orbit-section {
  padding: 84px 0;
  background: linear-gradient(180deg, #f8fafb 0%, #f1f4f7 100%);
}

.orbit-stage {
  position: relative;
  width: min(1120px, 100%);
  height: 640px;
  margin: 0 auto;
  border-radius: 36px;
  background: #f8fafb;
  border: 1px solid rgba(16, 24, 40, 0.05);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.orbit-center-copy {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: min(700px, calc(100% - 40px));
  z-index: 3;
}

.orbit-heading {
  margin: 8px 0 12px;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--primary);
  text-transform: uppercase;
}

.orbit-description {
  margin: 0 auto;
  max-width: 52ch;
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  line-height: 1.6;
  color: #4e5f76;
}

.orbit-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  clip-path: inset(0 0 50% 0);
  mask-image: linear-gradient(to bottom, #000 0%, #000 44%, rgba(0, 0, 0, 0.28) 49%, transparent 54%, transparent 100%);
}

.orbit-viewport::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 120px;
  background: linear-gradient(to bottom, rgba(248, 250, 251, 0), #f8fafb 74%);
  pointer-events: none;
}

.orbit-ring {
  --orbit-radius: 340px;
  --orbit-size: 860px;
  position: absolute;
  width: var(--orbit-size);
  height: var(--orbit-size);
  left: 50%;
  top: 57%;
  transform: translate(-50%, -50%);
  animation: orbit-spin 44s linear infinite;
}

@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-arm {
  position: absolute;
  inset: 0;
  transform: rotate(calc(var(--i) * 30deg));
}

.orbit-card {
  --base-rotation: calc((var(--i) * -30deg) + var(--tilt, 0deg));
  position: absolute;
  left: 50%;
  top: 50%;
  width: 106px;
  height: 106px;
  transform: translate(-50%, calc(-1 * var(--orbit-radius))) rotate(var(--base-rotation));
  animation: orbit-card-upright 44s linear infinite;
  border-radius: 22px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.12);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #152236;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@keyframes orbit-card-upright {
  from { transform: translate(-50%, calc(-1 * var(--orbit-radius))) rotate(var(--base-rotation)); }
  to { transform: translate(-50%, calc(-1 * var(--orbit-radius))) rotate(calc(var(--base-rotation) - 360deg)); }
}

.orbit-card:hover {
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
}

.orbit-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
}

.orbit-card span {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
  color: #253750;
}

@media (max-width: 1024px) {
  .orbit-stage {
    height: 560px;
  }

  .orbit-ring {
    --orbit-radius: 285px;
    --orbit-size: 720px;
    top: 58%;
  }

  .orbit-center-copy {
    top: 60%;
  }

  .orbit-card {
    width: 90px;
    height: 90px;
    border-radius: 18px;
  }

  .orbit-card img {
    width: 44px;
    height: 44px;
  }

  .orbit-card span {
    font-size: 0.58rem;
  }
}

@media (max-width: 680px) {
  .orbit-section {
    padding: 56px 0;
  }

  .orbit-stage {
    height: 480px;
    border-radius: 26px;
  }

  .orbit-ring {
    --orbit-radius: 205px;
    --orbit-size: 520px;
    top: 60%;
  }

  .orbit-center-copy {
    top: 62%;
    width: min(94%, 440px);
  }

  .orbit-heading {
    font-size: clamp(1.3rem, 7vw, 2rem);
    line-height: 1.1;
  }

  .orbit-description {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .orbit-card {
    width: 74px;
    height: 74px;
    border-radius: 15px;
    gap: 3px;
  }

  .orbit-card img {
    width: 34px;
    height: 34px;
  }

  .orbit-card span {
    font-size: 0.5rem;
  }
}

/* ╔════════════════════════════════════════════════════════════════╗ */
/* ║  RESULTS DASHBOARD SECTION - Premium Sports Dashboard         ║ */
/* ╚════════════════════════════════════════════════════════════════╝ */

.results-dashboard-section {
  background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
  padding: 64px 0;
  margin-bottom: 0;
}

.results-dashboard-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header Row (Logo + Text + CTA) ── */
.dashboard-header-row {
  display: grid;
  grid-template-columns: 100px minmax(360px, 1.45fr) minmax(240px, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 20px;
  background: white;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Logo Block */
.dashboard-logo-block {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dashboard-logo-block svg {
  width: 56px;
  height: 56px;
  color: white;
}

/* Text Main */
.dashboard-text-main {
  flex: 1;
}

.dashboard-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  font-family: 'Sora', sans-serif;
  letter-spacing: -0.5px;
}

/* Text Secondary */
.dashboard-text-secondary {
  flex: 1;
}

.dashboard-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 500;
}

/* CTA Block */
.dashboard-cta-block {
  flex-shrink: 0;
}

.dashboard-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  padding: 10px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(222, 111, 32, 0.28);
  white-space: nowrap;
}

.dashboard-btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 24px rgba(222, 111, 32, 0.36);
  transform: translateY(-2px);
}

/* ── Cards Grid ── */
.dashboard-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 10px;
  align-items: stretch;
}

/* Base Card Styles */
.dashboard-card {
  background: white;
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  gap: 10px;
}

.dashboard-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* Card Header Label (for cards 2-5) */
.dashboard-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-card-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--primary);
  text-transform: uppercase;
}

/* Card Icon Circle (for profile card) */
.dashboard-card-icon-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(222, 111, 32, 0.12) 0%, rgba(52, 74, 69, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto;
}

.dashboard-card-icon-circle svg {
  width: 34px;
  height: 34px;
  color: var(--primary);
  stroke-width: 1.7;
}

/* Card Icon (for other cards) */
.dashboard-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(52, 74, 69, 0.08) 0%, rgba(222, 111, 32, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-card-icon svg {
  width: 30px;
  height: 30px;
  color: var(--primary);
  stroke-width: 1.7;
}

/* Card Title */
.dashboard-card-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  font-family: 'Sora', sans-serif;
  text-align: center;
}

/* Card Subtitle */
.dashboard-card-subtitle {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  font-family: 'Sora', sans-serif;
}

/* Card Text */
.dashboard-card-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

/* Card Link/CTA */
.dashboard-card-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  align-self: flex-start;
  border-bottom: 2px solid transparent;
}

.dashboard-card-link:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
}

/* Gallery Preview Grid */
.dashboard-gallery-preview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  padding: 8px 0;
}

.gallery-placeholder {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.dashboard-card:hover .gallery-placeholder {
  background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
}

/* ── Responsive Tablet ── */
@media (max-width: 1024px) {
  .dashboard-header-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px;
    margin-bottom: 22px;
  }

  .dashboard-logo-block {
    margin: 0 auto;
  }

  .dashboard-title {
    font-size: 24px;
  }

  .dashboard-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* ── Responsive Mobile ── */
@media (max-width: 640px) {
  .results-dashboard-section {
    padding: 48px 0;
  }

  .dashboard-header-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
    margin-bottom: 16px;
    text-align: center;
  }

  .dashboard-logo-block {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }

  .dashboard-logo-block svg {
    width: 48px;
    height: 48px;
  }

  .dashboard-title {
    font-size: 20px;
  }

  .dashboard-subtitle {
    font-size: 13px;
  }

  .dashboard-btn-primary {
    width: 100%;
    padding: 12px 24px;
    font-size: 13px;
  }

  .dashboard-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dashboard-card {
    padding: 24px;
    gap: 12px;
  }

  .dashboard-card-title {
    font-size: 16px;
  }

  .dashboard-card-text {
    font-size: 12px;
  }

  .dashboard-card-link {
    font-size: 12px;
  }
}

/* Blog Hero Section */
.blog-hero {
  background: linear-gradient(135deg, #FF7F50 0%, #FF6B35 100%);
  padding: 60px 0 40px;
}

.blog-hero .container {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: auto;
  align-content: auto;
}

.blog-hero-content {
  color: white;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.blog-hero-content .eyebrow {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.blog-hero-content h1 {
  color: white;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px 0;
}

.blog-hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.blog-hero-image-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.blog-hero-image-card:hover {
  transform: scale(1.05);
}

.blog-hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-hero-image-card:hover img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  transition: background 0.3s ease;
}

.blog-hero-image-card:hover .image-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.image-overlay span {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-transform: capitalize;
}

@media (max-width: 768px) {
  .blog-hero {
    padding: 40px 0 30px;
  }

  .blog-hero .container {
    gap: 30px;
  }

  .blog-hero-content h1 {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .blog-hero-subtitle {
    font-size: 1rem;
  }

  .blog-hero-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .image-overlay span {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .blog-hero {
    padding: 30px 0 20px;
  }

  .blog-hero-content h1 {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .blog-hero-subtitle {
    font-size: 0.9rem;
  }

  .blog-hero-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .blog-hero-image-card {
    border-radius: 8px;
  }

  .image-overlay span {
    font-size: 0.75rem;
  }
}

/* ================================================
   TIPS DESTACADOS — Cloudflare Stream vertical feed
   ================================================ */

.tips-section {
  background: var(--ink);
  padding: 56px 0 60px;
}

/* Header row */
.tips-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.tips-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tips-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: 8px;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}

.tips-title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: #ffffff;
}

.tips-show-all {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.tips-show-all:hover {
  opacity: 0.75;
}

/* Carousel shell */
.tips-carousel-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tips-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.tips-track {
  display: flex;
  gap: 14px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Arrow buttons */
.tips-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.tips-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.tips-arrow:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

/* Individual tip card */
.tips-card {
  flex: 0 0 210px;
  cursor: pointer;
  border-radius: 14px;
  background: #1a222f;
  outline-offset: 3px;
}

.tips-card:focus-visible {
  outline: 2px solid var(--accent);
}

/* Card media area (9:16 portrait) */
.tips-card-media {
  position: relative;
  width: 210px;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #7b3644;
}

.tips-card-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.28s;
}

.tips-card:hover .tips-card-poster {
  opacity: 0;
}

/* Hover preview iframe container */
.tips-card-preview-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.tips-card-preview-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Play hint icon */
.tips-play-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  color: #fff;
  transition: opacity 0.28s;
}

.tips-card:hover .tips-play-hint {
  opacity: 0;
}

/* Card user info strip */
.tips-card-user {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 8px 12px;
}

.tips-card-avatar-ring {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tips-card-avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tips-card-avatar-placeholder {
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: "Sora", sans-serif;
  text-transform: uppercase;
  user-select: none;
  line-height: 1;
}

.tips-card-user-info {
  flex: 1;
  min-width: 0;
}

.tips-card-username {
  display: block;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tips-card-bio {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.74rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Lift on hover */
.tips-card {
  transition: transform 0.22s;
}
.tips-card:hover {
  transform: translateY(-4px);
}

/* ──────────────────────────────────────
   TIPS VIDEO MODAL
────────────────────────────────────── */

.tips-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tips-modal-overlay[hidden] {
  display: none;
}

.tips-modal-box {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  width: 100%;
  max-width: 370px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
  animation: tipsModalIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes tipsModalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.tips-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.tips-modal-close:hover {
  background: rgba(0, 0, 0, 0.88);
}

.tips-modal-video-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
  max-height: 60vh;
}

.tips-modal-video-shell iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.tips-modal-user {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px 18px;
}

.tips-modal-avatar-ring {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--line);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tips-modal-avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tips-modal-avatar-placeholder {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: "Sora", sans-serif;
  text-transform: uppercase;
  user-select: none;
  line-height: 1;
}

.tips-modal-user-info {
  flex: 1;
  min-width: 0;
}

.tips-modal-username {
  display: block;
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
}

.tips-modal-bio {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .tips-card {
    flex: 0 0 175px;
  }

  .tips-card-media {
    width: 175px;
  }

  .tips-arrow {
    width: 34px;
    height: 34px;
  }

  .tips-modal-video-shell {
    max-height: 55vh;
  }
}
