/* Fonts */
@font-face {
  font-family: 'Agharti';
  src: url('../fonts/agharti-blackultrawide.woff2') format('woff2'),
     url('../fonts/agharti-blackultrawide.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fat Chubby Sans';
  src: url('../fonts/fatchubbysans.woff2') format('woff2'),
     url('../fonts/fatchubbysans.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Variables */
:root {
  --scale: 1;
  --scale-spacing: 1;

  --color-blue-bright: #0050EF;
  --color-blue-dark: #043A99;
  --color-blue-extra-dark: #000062;
  --color-green: #8aea1b;

  --font-body: "Poppins", sans-serif;
  --font-heading: 'Agharti', sans-serif;
  --font-super-heading: 'Fat Chubby Sans', sans-serif;

  --font-tiny: clamp(0.825rem, 0.825rem + 1vh, calc(0.95rem * var(--scale)));
  --font-xs: clamp(0.9rem, 0.7rem + 2vh, calc(1.15rem * var(--scale)));
  --font-s: clamp(1.1rem, 1rem + 3vh, calc(1.5rem * var(--scale)));
  --font-reg: clamp(1.3rem, 1.1rem + 5vh, calc(2rem * var(--scale)));
  --font-m: clamp(1.6rem, 1.2rem + 6vh, calc(4rem * var(--scale)));
  --font-l: clamp(2rem, 1.5rem + 6vh, calc(6rem * var(--scale)));
  --font-xl: clamp(3rem, 2rem + 8vh, calc(7rem * var(--scale)));
  --font-jumbo: clamp(3.5rem, 3rem + 12vh, calc(14rem * var(--scale)));

  --jumbo: calc(14rem * var(--scale-spacing));
  --xl: calc(8rem * var(--scale-spacing));
  --l: calc(6rem * var(--scale-spacing));
  --m: calc(5rem * var(--scale-spacing));
  --s: calc(3rem * var(--scale-spacing));
  --xs: calc(2rem * var(--scale-spacing));
  --xxs: calc(1rem * var(--scale-spacing));
  --tiny: calc(.5rem * var(--scale-spacing));

  --offset: -12px 12px 0 0 var(--color-blue-dark);
  --transition: 0.3s ease-in-out;
}

/* Reset */
*, *::before, *::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { font-size: 16px; }

html, body {
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  width: 100%;
}

body {
  color: var(--color-blue-extra-dark);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--font-xs);
  line-height: 1.25;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select { font: inherit; }

a, button {
  background: none;
  border: none;
  color: currentColor;
  cursor: pointer;
  outline: none;
  text-decoration: none;
}

p {
  font-weight: 500;
  margin: 0;
  line-height: 1.25;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
  -webkit-animation-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
  -webkit-animation-iteration-count: 1 !important;
  animation-iteration-count: 1 !important;
  -webkit-transition-duration: 0.01ms !important;
  -o-transition-duration: 0.01ms !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
  }
}

/* Animations */
@keyframes slideDown {
  from { top: -100%; }
  to { top: 0; }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.fade-in {
  -webkit-animation: fadeIn;
  animation: fadeIn;
  animation-timeline: view();
}

/* Layout */
@media (min-width: 1025px) {
  .hide-dt { display: none !important; }
}

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

.flex { display: flex; }
.flex-col { flex-direction: column; }
.grid { display: grid; }
.col-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end;}
.justify-between { justify-content: space-between; }

.relative { position: relative; }
.absolute { position: absolute; } 
.fixed { position: fixed; } 

.inset-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.inset-top-center {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.top-layer { z-index: 1; }

/* Spacing */
.gap-l { gap: var(--l); }
.gap-m { gap: var(--m); }
.gap-s { gap: var(--s); }
.gap-xs { gap: var(--xs); }
.gap-tiny { gap: var(--tiny); }
.gap-none { gap: 0; }
.rgap-xs { row-gap: var(--xs); }

.mt-l { margin-top: var(--l); }
.mt-m { margin-top: var(--m); }
.mt-s { margin-top: var(--s); }
.mt-xs { margin-top: var(--xs); }
.mt-tiny { margin-top: var(--tiny); }
.mb-l { margin-bottom: var(--l); }
.mb-m { margin-bottom: var(--m); }
.mb-s { margin-bottom: var(--s); }
.mb-xs { margin-bottom: var(--xs); }
.mb-tiny { margin-bottom: var(--tiny); }
.ml-l { margin-left: var(--l); }

.pt-l { padding-top: var(--l); }
.pt-m { padding-top: var(--m); }
.pt-s { padding-top: var(--s); }
.pb-l { padding-bottom: var(--l); }
.pb-m { padding-bottom: var(--m); }
.pb-s { padding-bottom: var(--s); }
.pl-l { padding-left: var(--l); }
.pr-l { padding-right: var(--l); }
.p-none { padding: 0 !important; }
.p-xs { padding: var(--xs); }
.p-s { padding: var(--s); }
.p-m { padding: var(--m); }
.p-l { padding: var(--l); }

.page-padding {
  padding-left: var(--s);
  padding-right: var(--s);
}

.section-padding {
  padding-bottom: var(--l);
  padding-top: var(--l);
}

.above-foot .section-padding {
  padding-bottom: var(--xs);
}

.center {
  margin-left: auto;
  margin-right: auto;
}

.over-top { 
  top: calc(var(--xs) * -1); 
  margin-bottom: calc(var(--xs) * -1); 
}

.over-bottom  { 
  bottom: calc(var(--xs) * -1); 
  margin-top: calc(var(--xs) * -1); 
}

/* Sizing */
.page-wrapper { max-width: 1728px; margin-left: auto; margin-right: auto; }
.page-wrapper-sm { max-width: 1400px; margin-left: auto; margin-right: auto; }
.cover { object-fit: cover; }
.contain { object-fit: contain; }
.constrain { overflow: hidden; }
.overflown { overflow: visible; }
.overflow-x { overflow-x: visible; }
.full-h { height: 100%; }
.full-w { width: 100%; }

.full-screen {
  width: 100dvw;
  height: 100dvh;
}

/* Colors */
.text-blue { color: var(--color-blue-dark); }
.text-bright { color: var(--color-blue-bright); }
.text-dark { color: var(--color-blue-extra-dark); }
.text-green { color: var(--color-green); }
.text-white { color: white; }
.text-red { color: #ff0000; }

.bg-blue { background: var(--color-blue-dark); }
.bg-blue-dark { background: var(--color-blue-extra-dark); }
.bg-blue-bright { background: var(--color-blue-bright); }
.bg-white { background: white; }
.bg-gradient { background: url('../assets/texture-gradient.avif') no-repeat center / cover; }
.bg-green { background: url('../assets/texture-green.avif') repeat; }
.bg-texture-lite { background: url('../assets/texture-blue-lite.avif') repeat; }
.bg-texture-dk { background: url('../assets/texture-blue-dk.avif') repeat; }
.bg-texture-blue { background: url('../assets/texture-blue.avif') repeat; }

.bg-texture-radial { 
  background: url('../assets/maraton-los-mochis-textura-radial.svg') no-repeat center / cover; 
  mix-blend-mode: overlay; 
  opacity: .075; 
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.bg-wave {
  position: absolute;
  top: -35%;
  left: 0;
  width: 100%;
  opacity: .15;
}

.section-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.card .bg-wave {
  left: -35%;
  min-width: 170%;
  opacity: .25;
  top: -5%;
}

.card-content {
    width: 100%;
    height: 100%;
}

.card-content p { margin-bottom: 0 !important; }
.card.bg-green .bg-wave { opacity: .45; }
.card-list { flex-wrap: wrap; }
.card-list .card { flex: 0 0 26rem; }
.card-list .card-img { height: 20rem; }
.card-img {
  width: 100%;
  height: 100%;
  max-height: 20rem;
}

.card-img-sm {
  height: 100%;
  max-height: 20rem;
  max-width: 16rem;
  min-width: 16rem;
  width: 100%;
}

.card-img-title {
  bottom: 2rem;
  font-family: var(--font-heading);
  left: 0;
  line-height: 110%;
  padding: 0 2rem;
  letter-spacing: 3%;
}

.card-tip {
    background: var(--color-green);
    padding: .5rem 1rem .75rem;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 3%;
    color: var(--color-blue-bright);
}

/* Typography */
.section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: calc(var(--font-m) * 1);
  letter-spacing: 2px;
  line-height: 1;
  word-spacing: normal;
}

.section-title.text-jumbo { font-size: var(--font-jumbo); }
.section-title.text-s { font-size: calc(var(--font-s) * 1.25); }

h1, h2, h3, h4, h5, h6 {
  line-height: 1;
  margin: 0;
}

h1, .h1 {
  font-family: var(--font-super-heading);
  font-weight: 400;
  line-height: 85%;
}

h2, .h2 {
  font-family: var(--font-super-heading);
  font-weight: 400;
  line-height: 85%;
}

.h2-title {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 85%;
}

.h2-body, h3 {
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 85%;
}

.text-tooltip { font-size: 12px; }
.text-tiny { font-size: var(--font-tiny); }
.text-xs { font-size: var(--font-xs); }
.text-s { font-size: var(--font-s); }
.text-reg { font-size: var(--font-reg); }
.text-m { font-size: var(--font-m); }
.text-l { font-size: var(--font-l); }
.text-xl { font-size: var(--font-xl); }
.text-jumbo { font-size: var(--font-jumbo); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-shadow { text-shadow: 1px 1px rgba(0, 0, 0, 0.1); }
.text-compress { line-height: 1; }
.uppercase { text-transform: uppercase; }

.text-box {
  margin: -.5rem auto 1rem;
  transform: rotate(-4deg);
  padding: var(--tiny) calc(var(--tiny) * 2) calc(var(--tiny) * 2);
  width: fit-content;
}

h1 .text-box, h2 .text-box {
  display: block;
  margin: 0 auto;
  width: fit-content;
  line-height: 85%;
}

.text-box.flat {
  transform: none;
}

/* Header */
header {
  left: 0;
  overflow: visible;
  right: 0;
  top: 0;
  transition: position 0.5s ease-in-out;
  z-index: 999;
}

header.fixed {
  position: fixed;
  animation: slideDown 1s ease-in-out forwards;
  box-shadow: 0 10px 10px rgba(0,0,0,0.15);
}

.nav {
  align-items: flex-start;
  gap: var(--xs);
  height: 70px;
  overflow: visible;
  z-index: 1000;
}

.nav a, .dropbtn, .nav-drawer-menu button, .drawer-submenu button {
  font-family: var(--font-body);
  font-size: var(--font-tiny);
  font-weight: 600;
  border: none;
  outline: none;
  margin: 0;
  height: 100%;
  background: none;
  cursor: pointer;
}

.nav a:hover, .dropbtn:hover { color: var(--color-blue-bright); }

.nav .logo {
  border-radius: 100rem;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15);
  height: auto;
  left: 50%;
  max-height: 7dvw;
  max-width: 7dvw;
  position: absolute;
  top: .5rem;
  transform: translateX(-50%);
  width: 100%;
  z-index: 101;
}

.index .nav .logo { display: none; }
header.fixed.index .nav .logo, .dropdown:hover .dropdown-content { display: block; }

.dropdown {
  background: none;
  float: left;
}

.dropdown-content {
  box-shadow: 0px 20px 16px 0px rgba(0,0,0,0.35);
  display: none;
  position: fixed;
  top: 70px;
  left: 0px;
  width: 100%;
  max-height: 20rem;
}

.dropdown-content:before {
  background: linear-gradient(180deg, rgba(138, 234, 27, 1) 0%, rgba(138, 234, 27, 0) 100%);
  content: '';
  height: 5rem;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
}

.dropdown .submenu { gap: var(--tiny); }
.dropdown .submenu a:hover { color: var(--color-blue-bright); }
.dropdown .submenu a img, .megamenu a img { transition: transform var(--transition); }
.dropdown .submenu a:hover img, .megamenu a:hover img { transform: translateX(3px) scale(1.1); }

.megamenu-item {
  height: 100%;
  max-height: 20rem;
  align-self: center;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.megamenu-item a { 
  height: auto; 
  padding: var(--tiny) 0;
  max-width: 20rem;
}

.megamenu-item a img {
  height: auto;
  width: .75rem;
  transition: transform var(--transition);
}

.megamenu-item a:hover img {
  transform: translateX(-.5rem);
}

.megamenu-item h2 {
  font-size: var(--font-m);
  margin-bottom: 1rem;
  text-align: center;
}

.megamenu-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-icon {
  width: 1.05rem;
  color: var(--color-blue-dark);
}

.header-icon:hover { color: var(--color-blue-bright); }

/* Footer */
.foot-logo {
  width: var(--jumbo);
}

.foot-lower {
  border-top: 1px solid var(--color-blue-extra-dark);
  padding-bottom: var(--xs);
  padding-top: var(--xs);
}

footer ul { list-style-type: none; }
footer ul li {
  margin: 0;
  padding: 0;
}

/* Elements */
.inline-logo {
  height: auto;
  width: var(--xl);
}

.inline-logo.over-top {
  top: -1rem;
}

.border-12r {
  border-radius: 12px;
}

.btn {
  border-radius: 100px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  max-width: 100%;
  padding: 1.5rem 3rem;
  text-align: center;
  min-width: 16rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary { border: 1px solid currentColor; }

.btn-close {
  right: 1rem;
  top: 1rem;
  width: var(--xs);
  height: var(--xs);
  padding: var(--tiny);
  border-radius: 50px;
  -webkit-box-shadow: 0 0 20px rgba(39, 68, 5, .35);
  box-shadow: 0 0 20px rgba(0, 0, 0, .5);
}

.floating-btn {
  position: absolute;
  top: 70px;
  left: var(--s);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.35);
  font-weight: 600;
  font-size: 1rem;
  max-width: 100%;
  padding: 1rem 3rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.register .floating-btn { display: none; }

.dot {
  display: inline-block;
  margin: 0 1rem;
  height: 1.25rem;
  max-height: 1.25rem;
  max-width: 1.25rem;
  width: 1.25rem;
  border-radius: 100px;
}

.twin-dot {
  align-self: flex-start;
  border-radius: 1rem;
  box-shadow: 0 1.25rem 0 0 var(--color-blue-dark);
  height: .75rem;
  margin-top: 2.5rem;
  width: .75rem;
}

.whatsapp {
  background: var(--color-green);
  border-radius: 50px;
  bottom: 1.5dvw;
  box-shadow: 0 0 20px rgba(39, 68, 5, .35);
  left: auto;
  position: fixed;
  right: 1.5dvw;
  top: auto;
  z-index: 100;
}

.whatsapp a {
  height: var(--s);
  width: var(--s);
}

.whatsapp svg {
  fill: white;
  height: 2rem;
  width: 2rem;
}

.separator {
  background: currentColor;
  display: inline-block;
  height: 1rem;
  margin: 0 var(--xs);
  width: 1px;
}

video {
  border-radius: .75rem;
  box-shadow: var(--offset);
  height: 35rem;
  max-width: 60rem;
  width: 100%;
}

.shadow-img {
  box-shadow: var(--offset);
  object-fit: cover;
  max-width: 60rem;
}

.bg-blend-img {
  top: 0;
  left: 0;
  mix-blend-mode: overlay;
  opacity: .075;
}

.hero {
  height: calc(100dvh - 70px);
  max-height: 1000px;
  min-height: 650px;
}

.hero-imgs img {
  max-width: 750px;
  width: 40%;
}

.hero-logo {
  -webkit-transform: scale(1.5);
  -ms-transform: scale(1.5);
  transform: scale(1.5);
  margin-bottom: 3rem;
  height: var(--l);
  width: var(--l);
  max-width: 9dvw;
  max-height: 9dvw;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-height: 700px;
  width: 100%;
}

.hero-content p {
  max-width: 50rem;
}

.hero-content.absolute {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 99;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-title {
  height: 100%;
  min-height: 25rem;
  max-height: none;
}

.hero-title h1 {
  font-size: calc(var(--font-xl) * 1.25);
}

.hero-title .text-sm {
  font-size: calc(var(--font-xl) * 1);
}

.hero-title img {
  max-height: 800px;
}

.lightbox {
  display: none;
  z-index: 1000;
  top: 0%;
  left: 0%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(3px);
  pointer-events: none;
  opacity: 0;
}

.lightbox.open {
  display: block;
  opacity: 1;
  pointer-events: all;
}

.lightbox-content { box-shadow: 0 10px 10px rgba(0,0,0,0.15); }
.lightbox-img { 
  transition: opacity 0.2s ease; 
  max-height: 90dvh;
}

body:has(.lightbox.open) { overflow: hidden }

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
}

.lightbox-nav img { width: 100%; }

.lightbox-nav.next {
  left: auto;
  right: 1rem;
}

.lightbox-nav.prev {
  left: 1rem;
  right: auto;
}

ul {
  list-style-type: disc;
  list-style-image: none;
  padding: 0;
}

ul li {
  font-weight: 500;
  margin-left: 1rem;
  padding: 1rem .5rem 0;
}

.star { list-style-image: url(../assets/icon-star.svg); }
.star-green { list-style-image: url(../assets/icon-star-green.svg); }

.gallery-item {
    width: 100%;
    height: auto;
    overflow: hidden;
    max-height: 28rem;
    min-height: 18rem;
}

.floating-social {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  z-index: 1;
  background: var(--color-blue-bright);
  padding: 1.25rem .85rem 1.25rem .65rem;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 0 20px rgba(39, 68, 5, .35);
}

.floating-social img { width: 1.25rem; }
.field { margin-bottom: var(--tiny); }

input[type=radio], input[type=checkbox] {
  visibility: hidden;
  position: absolute;
  -webkit-box-flex: 1;
    -ms-flex: 1;
      flex: 1;
}

input[type=checkbox].visible {
  visibility: visible;
  width: 1rem;
  border-radius: 0;
  position: static;
  flex: 0 0 auto;
}

input[type=radio] + label:before, input[type=checkbox] + label:before{
  padding: 0;
  content: " ";
  border: none;
  vertical-align: center;
}

input[type=radio]:checked + label:before,
input[type=checkbox]:checked + label:before{
  background: var(--color-green);
}

input[type=radio]:checked + label span {
  color: var(--color-blue-bright);
  font-weight: 600;
}

input[type=radio] + label:before {
  border-radius: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: white;
  border: none;
}

.input-box {
    border: none;
    border-radius: 3px;
    padding: 1rem;
    height: 55px;
    width: 100%;
    background: #f0f0f0;
    font-size: var(--font-tiny);
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.input-box.checked {
    background: var(--color-green);
    color: var(--color-blue-bright);
    font-weight: 600;
}

input, select, textarea {
  border: none;
  border-radius: 3px;
  font-size: var(--font-tiny);
  padding: 1rem;
  height: 50px;
  width: 100%;
}

textarea { height: 10rem; }
form { max-width: 45rem; }

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("../assets/icon-chevron.svg");
  background-repeat: no-repeat;
  background-size: 12px;
  background-position: right 15px center;
  padding-right: 40px; 
}

input:focus, select:focus {
  outline: none;
  border: 2px solid #8aea1b;
}

form label {
  color: white;
  font-size: var(--font-tiny);
  letter-spacing: normal;
  margin-bottom: .5rem;
  display: block;
}

form .instructions {
  letter-spacing: normal;
  font-size: var(--font-tiny);
  line-height: 1.1;
  margin-top: .5rem;
}

.checkbox-group {
  align-items: center;
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.form-message {
  margin-top: 1rem;
  text-align: center;
  font-weight: bold;
}

.talla-item {
  flex: 1;
  width: auto;
  height: 55px;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.talla-item label {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.talla-item label span {
    position: absolute;
    color: var(--color-blue-extra-dark);
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
}

.tab {
  width: auto;
  display: flex;
  padding: .5rem 2rem;
  text-align: center;
  text-transform: uppercase;
  border-radius: 100px;
  outline: none;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--color-blue-bright);
  color: var(--color-blue-bright);
  flex: 1;
  max-width: 8rem;
  height: 3.5rem;
}

.tab.active {
  background: var(--color-blue-bright);
  color: var(--color-green);
}

.table {
  width: 100%;
  margin: auto;
  border-collapse: collapse;
  background: var(--color-green);
}

.table .col { flex: 1 1 auto; }
.table td { border-bottom:1px solid white; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.table .col {
    background: white;
    flex: 1 0 auto;
}

.table-title {
  background: var(--color-blue-bright);
  color: white;
  text-align: center;
  font-weight: 600;
  padding: .5rem;
}

.table b {
  padding: .5rem 1rem;
  text-align: center;
  background: var(--color-green);
  width: 100%;
  display: block;
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
}

.table .data {
  gap: 1px;
}

.cell {
    text-align: center;
    padding: .5rem 1rem;
    border-bottom: 1px solid var(--color-green);
}

.timer p span {
  font-family: var(--font-body);
  font-size: var(--font-s);
  text-transform: uppercase;
}

.timer .h2 { font-size: var(--font-xl);}
.line { will-change: transform; }
.b-move { bottom: calc(-2rem * var(--scale)) }
.card { padding: var(--xs); }
.card p { margin-bottom: var(--xxs); }

.card-label {
  bottom: -3%;
  font-size: calc(var(--font-reg) * 1.5);
  position: absolute;
}

.inner-image {
  max-width: 50rem;
  max-height: 50rem;
  object-fit: contain;
}

.value-box {
  background: rgba(255,255,255,0.05);
  height: 50px;
  padding: .5rem 1rem;
  border-radius: 3px;
  margin-bottom: var(--tiny);
}

.hover-grow {
  transform: none;
  transition: transform var(--transition);
}

.hover-grow:hover { 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
}

.faq-item {
  background: var(--color-green);
  color: var(--color-blue-dark);
  border-radius: 3px;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
  background: var(--color-blue-bright);
  box-shadow: inset 0px 8px 7px -5px #0037a4;
  border-radius: 0 0 3px 3px;
  color: white;
}
  
.faq-item.open .faq-answer {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  padding: 2rem 1.5rem;
}

.faq-question img { transition: transform 0.4s ease; }
.faq-item.open .faq-question img { transform: rotate(-180deg); }

.faq-question {
  cursor: pointer;
  padding: 1rem 1.5rem;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
}

.faq-container {
  max-width: 50rem;
  margin: 0 auto;
  display: flex;
  flex-flow: column;
  gap: var(--tiny);
}

.login-form { max-width: 40rem; }

.profile-img {
    width: 12rem;
    height: 12rem;
}

.profile-img .avatar {
    background: var(--color-blue-extra-dark);
    border-radius: 100%;
    -webkit-box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.btn-round {
    width: 2rem;
    height: 2rem;
    border-radius: 50px;
    display: flex;
    padding: .5rem;
    position: absolute;
    bottom: -1rem;
    border: 3px solid white;
}

.picture .lightbox-content {
    min-width: 40rem;
    padding: var(--xsmall);
}

.picture > div {
    width: 100%;
    max-width: 40rem;
}

.img-upload { width: var(--xsmall); }
.card-bg { max-height: 9rem; }

.dotted { 
  border: 1px dotted var(--color-blue-extra-dark); 
  height: 16rem;
}

.dotted img { width: var(--s); }
/* Registro maratón */
.input-cancel-wrap {
  display: flex;
  gap: .5rem;
  align-items: stretch;
}

.input-cancel-wrap input { flex: 1; }

.input-cancel {
  background: var(--color-blue-extra-dark);
  border-radius: 3px;
  color: white;
  flex: 0 0 50px;
  font-size: 1.5rem;
  height: 50px;
  line-height: 1;
}

.field-help {
  color: white;
  display: block;
  font-size: .75rem;
  line-height: 1.2;
  margin-top: .5rem;
  opacity: .85;
}

.checkbox-line-field { margin-top: var(--xs); }

.checkbox-line {
  align-items: center;
  background: rgba(255, 255, 255, .12);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: .75rem;
  padding: 1rem;
}

.checkbox-line input {
  accent-color: var(--color-green);
  flex: 0 0 auto;
  height: 1.15rem;
  width: 1.15rem;
}

.checkbox-line span {
  color: white;
  font-size: var(--font-tiny);
  font-weight: 600;
}

.hidden-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows var(--transition), opacity var(--transition), margin-top var(--transition);
}

.hidden-panel > * { overflow: hidden; }

.hidden-panel.is-open {
  grid-template-rows: 1fr;
  margin-top: var(--tiny);
  opacity: 1;
}

.companion-grid {
  background: rgba(0, 0, 0, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  padding: var(--tiny);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid,
.talla-group.is-invalid {
  border: 2px solid #ff4b4b !important;
  box-shadow: 0 0 0 3px rgba(255, 75, 75, .15);
}

.talla-group.is-invalid {
  border-radius: 6px;
  padding: .25rem;
}

.form-message.error { color: #ffe45c; }
.form-message.success { color: #8aea1b; }
.form-message.info { color: white; }

button:disabled {
  cursor: not-allowed;
  opacity: .6;
}

.registro-alert-overlay {
  align-items: center;
  background: rgba(0, 19, 56, .72);
  backdrop-filter: blur(8px);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: var(--tiny);
  position: fixed;
  z-index: 9999;
}

.registro-alert {
  background: var(--color-blue-bright);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
  max-width: 28rem;
  padding: var(--small);
  text-align: center;
  width: 100%;
}

.registro-alert h3 {
  color: white;
  font-size: var(--font-medium);
  margin-bottom: var(--tiny);
}

.registro-alert p {
  color: white;
  font-size: var(--font-small);
  line-height: 1.35;
  margin-bottom: var(--xs);
}

.field select:disabled {
  cursor: not-allowed;
  opacity: .9;
}

/* Ajustes registro maratón v3 */
select[name="categoriaEdad"]:disabled {
  background-color: #fff;
  color: var(--color-blue-extra-dark);
  cursor: not-allowed;
  opacity: 1;
  -webkit-text-fill-color: var(--color-blue-extra-dark);
}

.checkbox-line input[type="checkbox"] {
  height: 1px;
  opacity: 0;
  position: absolute;
  visibility: hidden;
  width: 1px;
}

.checkbox-line .checkbox-box {
  align-items: center;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 4px;
  display: inline-flex;
  flex: 0 0 24px;
  height: 24px;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  width: 24px;
}

.checkbox-line .checkbox-box::after {
  color: var(--color-blue-bright);
  content: "✓";
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  transform: scale(.75);
  transition: opacity var(--transition), transform var(--transition);
}

.checkbox-line input[type="checkbox"]:checked + .checkbox-box {
  background: var(--color-green);
  border-color: var(--color-green);
  transform: scale(1.03);
}

.checkbox-line input[type="checkbox"]:checked + .checkbox-box::after {
  opacity: 1;
  transform: scale(1);
}

.companion-fields.hidden-panel {
  display: none;
  opacity: 0;
  overflow: visible;
}

.companion-fields.hidden-panel.is-open {
  display: grid;
  margin-top: var(--tiny);
  opacity: 1;
}

.companion-fields.hidden-panel > * {
  overflow: visible;
}

.companion-grid {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

/* Registro maratón API + estados */
.registro-status-screen {
  color: white;
  margin-inline: auto;
  max-width: 920px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.registro-status-screen::before {
  animation: registroGlow 4s ease-in-out infinite alternate;
  background: radial-gradient(circle, rgba(138, 234, 27, .24), transparent 55%);
  content: "";
  height: 18rem;
  left: 50%;
  position: absolute;
  top: -8rem;
  transform: translateX(-50%);
  width: 18rem;
}

.registro-status-screen > * { position: relative; z-index: 1; }

.registro-status-screen h2 {
  color: white;
  font-size: var(--font-medium);
  margin: var(--tiny) 0;
}

.registro-status-screen p {
  color: white;
  font-size: var(--font-small);
  line-height: 1.35;
  margin: 0 auto var(--xs);
  max-width: 34rem;
}

.registro-orbit {
  animation: registroPulse 1.8s ease-in-out infinite;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  height: 8rem;
  margin: 0 auto var(--tiny);
  position: relative;
  width: 8rem;
}

.registro-orbit::before {
  background: var(--color-green);
  border-radius: 999px;
  box-shadow: 0 0 30px rgba(138, 234, 27, .65);
  content: "";
  height: 2.6rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2.6rem;
}

.registro-orbit span {
  animation: registroOrbit 2.6s linear infinite;
  background: white;
  border-radius: 999px;
  height: .7rem;
  left: calc(50% - .35rem);
  position: absolute;
  top: -.35rem;
  transform-origin: .35rem 4.35rem;
  width: .7rem;
}

.registro-orbit span:nth-child(2) { animation-delay: -.85s; opacity: .7; }
.registro-orbit span:nth-child(3) { animation-delay: -1.7s; opacity: .45; }

.registro-progress {
  background: rgba(255, 255, 255, .18);
  border-radius: 999px;
  height: .6rem;
  margin: var(--xs) auto 0;
  max-width: 22rem;
  overflow: hidden;
}

.registro-progress span {
  animation: registroProgress 1.15s ease-in-out infinite;
  background: var(--color-green);
  border-radius: inherit;
  display: block;
  height: 100%;
  width: 42%;
}

.registro-result-icon {
  align-items: center;
  animation: registroPop .5s ease both;
  background: var(--color-green);
  border-radius: 999px;
  box-shadow: 0 18px 60px rgba(138, 234, 27, .35);
  color: var(--color-blue-bright);
  display: inline-flex;
  font-size: 3rem;
  font-weight: 900;
  height: 7rem;
  justify-content: center;
  margin-bottom: var(--tiny);
  width: 7rem;
}

.registro-waitlist-prompt .registro-result-icon,
.registro-waitlist .registro-result-icon {
  font-size: 2.4rem;
}

@keyframes registroOrbit {
  to { transform: rotate(360deg); }
}

@keyframes registroPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes registroProgress {
  0% { transform: translateX(-115%); }
  100% { transform: translateX(250%); }
}

@keyframes registroPop {
  from { opacity: 0; transform: scale(.65) translateY(1rem); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes registroGlow {
  from { opacity: .35; transform: translateX(-50%) scale(.9); }
  to { opacity: .8; transform: translateX(-50%) scale(1.15); }
}

/* Ajustes v5: pantallas de procesamiento / resultado */
.registro-status-screen {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .22);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: clamp(1.5rem, 5vw, 3.5rem) auto;
  min-height: clamp(26rem, 58vh, 38rem);
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 4rem) !important;
  text-align: center;
}

.registro-status-screen::before {
  height: 22rem;
  top: -9.5rem;
  width: 22rem;
}

.registro-status-screen::after {
  background: linear-gradient(135deg, rgba(255,255,255,.16), transparent 34%, rgba(255,255,255,.08));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.registro-status-screen h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
  margin: .35rem 0 .75rem;
  max-width: 46rem;
}

.registro-status-screen p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.5;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  max-width: 39rem;
}

.registro-status-screen .btn {
  min-height: 3.65rem;
  min-width: min(100%, 18rem);
  padding-inline: 1.5rem;
}

.registro-status-screen .flex:has([data-waitlist-yes]) {
  width: 100%;
}

.registro-status-screen [data-waitlist-yes],
.registro-status-screen [data-waitlist-no] {
  min-width: min(100%, 18.5rem);
}

.registro-orbit {
  height: clamp(7.25rem, 18vw, 10rem);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  width: clamp(7.25rem, 18vw, 10rem);
}

.registro-orbit::before {
  height: clamp(2.5rem, 7vw, 3.5rem);
  width: clamp(2.5rem, 7vw, 3.5rem);
}

.registro-orbit span {
  transform-origin: .35rem clamp(3.95rem, 9vw, 5.35rem);
}

.registro-progress {
  height: .7rem;
  margin-top: .75rem;
  max-width: min(100%, 25rem);
  width: 100%;
}

.registro-result-icon {
  flex: 0 0 auto;
  height: clamp(5.75rem, 15vw, 8rem);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  width: clamp(5.75rem, 15vw, 8rem);
}

.registro-already .registro-result-icon {
  background: white;
  color: var(--color-blue-bright);
}

@media (max-width: 767px) {
  .registro-status-screen {
    border-radius: 1rem;
    margin-top: 1.25rem;
    min-height: 72vh;
  }

  .registro-status-screen .flex {
    align-items: stretch;
  }

  .registro-status-screen .btn {
    width: 100%;
  }
}
