:root {
  --teal-deep: #0b3645;
  --teal: #134a5c;
  --teal-mid: #1a5f73;
  --teal-soft: #2a7a8f;
  --gold: #f0b429;
  --gold-bright: #ffc94a;
  --mint: #a8e0c0;
  --lime: #c8e86a;
  --navy: #071820;
  --cream: #f7f4ef;
  --ink: #12252e;
  --muted: #5a6f78;
  --white: #ffffff;
  --font-sans: "Montserrat", system-ui, sans-serif;
  --font-script: "Great Vibes", cursive;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* —— Nav —— */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 0.7rem 0 0;
  background: rgba(7, 24, 32, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  transition: padding 0.3s var(--ease), background 0.3s var(--ease);
}

.site-nav.is-scrolled {
  padding: 0.45rem 0 0;
  background: rgba(7, 24, 32, 0.98);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  padding-bottom: 0.7rem;
}

.site-nav.is-scrolled .site-nav__inner {
  padding-bottom: 0.45rem;
}

.site-nav__accent {
  height: 4px;
  width: 100%;
  background: linear-gradient(
    90deg,
    #f0b429 0%,
    #d4e85c 35%,
    #7ec8a8 70%,
    #5bb8c9 100%
  );
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  min-width: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__text strong {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.brand__text span {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--gold-bright);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  padding: 0.55rem 1.15rem !important;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%) !important;
  color: var(--navy) !important;
  border-radius: 999px;
  font-weight: 800 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(240, 180, 41, 0.35);
}

.nav-cta:hover {
  filter: brightness(1.05);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%) !important;
  color: var(--navy) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--teal-deep);
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.02);
  animation: slow-zoom 22s ease-in-out infinite alternate;
}

.hero__media-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(11, 54, 69, 0.15) 0%,
      rgba(11, 54, 69, 0.35) 40%,
      rgba(11, 54, 69, 0.82) 68%,
      rgba(7, 24, 32, 0.94) 100%
    ),
    linear-gradient(180deg, rgba(7, 24, 32, 0.2) 0%, transparent 30%, transparent 72%, rgba(7, 24, 32, 0.45) 100%);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36 2 L70 20 L70 52 L36 70 L2 52 L2 20 Z' fill='none' stroke='rgba(255,255,255,0.55)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 42%, transparent 72%);
  mask-image: linear-gradient(90deg, #000 0%, #000 42%, transparent 72%);
}

.hero__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6.5rem 0 6.5rem;
}

.hero__copy {
  position: relative;
  width: min(520px, 100%);
  padding: 0.5rem 0 1rem;
  animation: rise-in 0.95s var(--ease) both;
}

.hero__crest {
  display: block;
  width: clamp(84px, 11vw, 118px);
  height: auto;
  margin: 0 0 1rem;
  background: var(--white);
  border-radius: 50%;
  object-fit: contain;
  padding: 5px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  animation: float-y 5.5s ease-in-out infinite;
}

.hero__kicker {
  margin: 0 0 0.55rem;
  color: var(--gold);
  font-family: inherit;
  font-size: clamp(0.9rem, 1.7vw, 1.1rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__slogan {
  margin: 0;
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.hero__slogan .line-white,
.hero__slogan .line-gold,
.hero__slogan .line-script {
  display: block;
}

.hero__slogan .line-gold {
  color: var(--gold-bright);
}

.hero__slogan .line-script {
  margin-top: -0.12em;
  margin-left: 0.08em;
  font-family: var(--font-script);
  font-size: 1.48em;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--white);
  transform: rotate(-5deg);
  transform-origin: left center;
  animation: script-in 1.1s 0.2s var(--ease) both;
}

.hero__lead {
  margin: 1.15rem 0 1.5rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy);
  box-shadow: 0 12px 32px rgba(240, 180, 41, 0.38);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 4;
  height: clamp(64px, 9vw, 96px);
  pointer-events: none;
  line-height: 0;
}

.hero__wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* —— Sections common —— */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section__eyebrow {
  margin: 0 0 0.5rem;
  color: var(--teal-mid);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head {
  margin-bottom: 2.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* —— About —— */
.about {
  background: var(--cream);
  position: relative;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.about__media {
  position: relative;
}

.about__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 4px;
  box-shadow: 0 24px 50px rgba(11, 54, 69, 0.22);
}

.about__media::after {
  content: "";
  position: absolute;
  inset: auto -12px -12px auto;
  width: 42%;
  height: 42%;
  background: linear-gradient(135deg, var(--gold), var(--lime));
  z-index: -1;
  border-radius: 4px;
}

.about__list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.85rem;
}

.about__list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-weight: 600;
  color: var(--ink);
}

.about__list li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

/* —— Offer —— */
.offer {
  background: linear-gradient(160deg, var(--teal-deep) 0%, var(--teal) 55%, var(--teal-mid) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.offer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 15 L60 45 L30 60 L0 45 L0 15 Z' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  pointer-events: none;
}

.offer .section__eyebrow {
  color: var(--gold);
}

.offer .section__title,
.offer .section__lead {
  color: var(--white);
}

.offer .section__lead {
  opacity: 0.85;
}

.offer__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.offer__item {
  padding: 1.5rem 1.25rem;
  border-top: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  transition: background 0.3s, transform 0.3s var(--ease);
}

.offer__item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.offer__item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

.offer__item p {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.75;
}

/* —— Clubs —— */
.clubs {
  background: var(--white);
}

.clubs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.club {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  isolation: isolate;
}

.club img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.club:hover img {
  transform: scale(1.08);
}

.club__label {
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1.1rem 1.1rem;
  background: linear-gradient(transparent, rgba(7, 24, 32, 0.88));
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 1;
}

/* —— Inscripciones —— */
.inscripciones {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.inscripciones__bg {
  position: absolute;
  inset: 0;
}

.inscripciones__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.35;
  filter: saturate(0.9);
}

.inscripciones__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 24, 32, 0.95) 0%,
    rgba(11, 54, 69, 0.88) 48%,
    rgba(19, 74, 92, 0.72) 100%
  );
}

.inscripciones__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.inscripciones .section__eyebrow {
  color: var(--gold);
}

.inscripciones .section__title {
  color: var(--white);
}

.inscripciones .section__lead {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.5rem;
}

.inscripciones__panel {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.inscripciones__panel h3 {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inscripciones__panel ul {
  display: grid;
  gap: 0.55rem;
}

.inscripciones__panel li {
  padding-left: 1.1rem;
  position: relative;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.inscripciones__panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}

/* —— Contact —— */
.contact {
  background: var(--cream);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contact__item h3 {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-mid);
  font-weight: 800;
}

.contact__item p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}

.contact__item a:hover {
  color: var(--teal);
}

.map-frame {
  margin-top: 2.5rem;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(11, 54, 69, 0.15);
}

.map-frame iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
  filter: grayscale(0.2) contrast(1.05);
}

/* —— Footer —— */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: 2.5rem 0 1.5rem;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .brand__text span {
  color: var(--gold);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-footer__links a:hover {
  color: var(--gold-bright);
}

.site-footer__copy {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  text-align: center;
}

/* —— Animations —— */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes slow-zoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1.14);
  }
}

@keyframes script-in {
  from {
    opacity: 0;
    transform: rotate(-5deg) translateY(12px);
  }
  to {
    opacity: 1;
    transform: rotate(-5deg) translateY(0);
  }
}

.brand img {
  background: var(--white);
  border-radius: 50%;
  object-fit: contain;
  padding: 4px;
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .hero__media-shade {
    background:
      linear-gradient(
        180deg,
        rgba(7, 24, 32, 0.45) 0%,
        rgba(11, 54, 69, 0.55) 35%,
        rgba(7, 24, 32, 0.92) 100%
      );
  }

  .hero__pattern {
    opacity: 0.12;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero__body {
    justify-content: center;
    padding: 6rem 0 6rem;
  }

  .hero__copy {
    text-align: center;
    width: min(560px, 100%);
  }

  .hero__crest {
    margin-inline: auto;
  }

  .hero__slogan .line-script {
    margin-left: 0;
    transform-origin: center;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .about__grid,
  .inscripciones__inner {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 0 0 auto;
    top: 72px;
    margin: 0 0.75rem;
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    background: rgba(7, 24, 32, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-links a {
    padding: 0.75rem;
  }

  .nav-cta {
    justify-content: center;
    margin-left: 0;
    margin-top: 0.35rem;
  }

  .offer__grid,
  .clubs__grid {
    grid-template-columns: 1fr;
  }
}
