/* ==========================================================================
   Royal Padel Tamatave — stylesheet
   ========================================================================== */

:root{
  /* Brand colors — sampled from the club logo */
  --navy-950: #0a1730;
  --navy-900: #0f1f3d;
  --navy-800: #16294f;
  --navy-700: #1d3564;
  --navy-600: #2a468a;
  --green-500: #8cc63f;
  --green-600: #74ab2c;
  --green-400: #a3d968;

  --white: #ffffff;
  --gray-50: #f6f7f9;
  --gray-100: #eef0f3;
  --gray-200: #e1e4e9;
  --gray-400: #9aa1ae;
  --gray-500: #6b7280;
  --gray-700: #3a4150;
  --ink: #10131c;

  --font-display: 'Bricolage Grotesque', 'Manrope', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  --container: 1240px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;

  --shadow-sm: 0 2px 10px rgba(10, 23, 48, .06);
  --shadow-md: 0 12px 32px rgba(10, 23, 48, .10);
  --shadow-lg: 0 24px 60px rgba(10, 23, 48, .16);

  --ease: cubic-bezier(.16,.8,.24,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  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; }
h1,h2,h3,p{ margin: 0; }
button{ font: inherit; cursor: pointer; }

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

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: .8rem 1.2rem;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

:focus-visible{
  outline: 2px solid var(--green-500);
  outline-offset: 3px;
}

.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

section[id]{ scroll-margin-top: 84px; }

/* ---------- Type scale ---------- */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: .9rem;
}
.eyebrow::before{
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green-500);
  display: inline-block;
}

.section-title{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  color: var(--navy-900);
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .96rem;
  border: 1.5px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.btn--primary{
  background: var(--green-500);
  color: var(--navy-950);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover{
  background: var(--green-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--ghost{
  background: rgba(255,255,255,.08);
  color: var(--white);
  border-color: rgba(255,255,255,.55);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover{
  background: rgba(255,255,255,.18);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn--light{
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}
.btn--light:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--ghost-light{
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn--ghost-light:hover{
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn--pill{ padding: .7rem 1.5rem; font-size: .9rem; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  padding-block: 1.1rem;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease), backdrop-filter .4s var(--ease);
}
.nav__inner{
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__brand{ display: inline-flex; align-items: center; margin-right: auto; }
.nav__logo{
  height: 56px;
  width: auto;
  object-fit: contain;
  transition: height .4s var(--ease);
}
.nav__links{
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.nav__links a{
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
  position: relative;
  padding-block: .3rem;
  transition: color .3s var(--ease);
}
.nav__links a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--green-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover{ color: var(--green-400); }
.nav__links a:hover::after{ transform: scaleX(1); }

.nav__cta{ margin-left: .5rem; }

.nav__burger{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  border-radius: 50%;
  flex-shrink: 0;
}
.nav__burger span{
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease), background-color .3s var(--ease);
}

/* Scrolled state */
.nav.is-scrolled{
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--shadow-sm);
  padding-block: .65rem;
}
.nav.is-scrolled .nav__logo{ height: 46px; }
.nav.is-scrolled .nav__links a{ color: var(--navy-900); }
.nav.is-scrolled .nav__links a:hover{ color: var(--green-600); }
.nav.is-scrolled .nav__burger span{ background: var(--navy-900); }

/* Menu open state (mobile, burger -> X) */
.nav__burger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2){ opacity: 0; }
.nav__burger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */
.mobile-menu{
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(360px, 86vw);
  background: var(--navy-950);
  z-index: 260;
  padding: 6.5rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
}
.mobile-menu.is-open{ transform: translateX(0); }

.mobile-menu__links{
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.mobile-menu__links a{
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
}
.mobile-menu__links a:hover{ color: var(--green-400); }

.mobile-menu__cta{ width: 100%; }

.mobile-menu__contact{
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.mobile-menu__contact a{
  color: var(--gray-200);
  font-weight: 600;
  font-size: .95rem;
}

.mobile-menu__backdrop{
  position: fixed;
  inset: 0;
  background: rgba(6,12,26,.55);
  backdrop-filter: blur(2px);
  z-index: 250;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.mobile-menu__backdrop.is-open{ opacity: 1; visibility: visible; }

body.menu-open,
body.lightbox-open{ overflow: hidden; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-950);
}
.hero__media{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.06);
}
.hero__overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,16,36,.55) 0%, rgba(8,16,36,.42) 38%, rgba(8,16,36,.78) 100%),
    linear-gradient(100deg, rgba(10,20,45,.86) 0%, rgba(10,20,45,.35) 55%, rgba(10,20,45,.15) 100%);
}

.hero__content{
  position: relative;
  z-index: 1;
  padding-top: 6rem;
  max-width: 760px;
}
.hero__kicker{
  color: var(--green-400);
  font-weight: 800;
  letter-spacing: .28em;
  font-size: .85rem;
  margin-bottom: 1.4rem;
}
.hero__title{
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.02;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  margin-bottom: 1.6rem;
}
.hero__text{
  color: rgba(255,255,255,.86);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 46ch;
  margin-bottom: 2.6rem;
}
.hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__scroll{
  position: absolute;
  left: 50%;
  bottom: clamp(1.5rem, 4vh, 2.6rem);
  transform: translateX(-50%);
  z-index: 1;
  width: 30px;
  height: 46px;
  border: 1.5px solid rgba(255,255,255,.55);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll span{
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--green-500);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot{
  0%{ transform: translateY(0); opacity: 1; }
  70%{ transform: translateY(14px); opacity: 0; }
  71%{ transform: translateY(0); opacity: 0; }
  100%{ transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   INTRO / LE CLUB
   ========================================================================== */
.intro{
  padding-block: clamp(5rem, 10vw, 8.5rem) clamp(3.5rem, 7vw, 5rem);
  background: var(--white);
}
.intro__inner{
  max-width: 820px;
}
.intro__text{
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--gray-700);
  max-width: 62ch;
}

/* ==========================================================================
   SECTION HEAD (shared)
   ========================================================================== */
.section-head{
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 640px;
}

/* ==========================================================================
   PADEL FEATURES
   ========================================================================== */
.padel{
  padding-block: clamp(3rem, 7vw, 5rem);
  background: var(--gray-50);
}
.padel__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature-card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.feature-card__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  margin-bottom: 1.4rem;
}
.feature-card__icon svg{ width: 28px; height: 28px; }
.feature-card__dot{ fill: var(--green-500); stroke: none; }
.feature-card__dot-outline{ stroke: var(--green-400) !important; }
.feature-card__bolt{ fill: rgba(140,198,63,.18); }
.feature-card__stroke-soft{ opacity: .55; }
.feature-card h3{
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: .55rem;
}
.feature-card p{
  color: var(--gray-500);
  font-size: .95rem;
}

/* ==========================================================================
   EXPERIENCE (split)
   ========================================================================== */
.experience{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 640px;
  background: var(--navy-950);
}
.experience__visual{
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.experience__visual img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% 50%;
}
.experience__visual::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,20,45,0) 55%, rgba(10,20,45,.9) 100%);
}
.experience__content{
  display: flex;
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem);
}
.experience__inner{ max-width: 480px; }
.experience .eyebrow{ color: var(--green-400); }
.experience .section-title{ color: var(--white); margin-bottom: 1.3rem; }
.experience__content > .experience__inner > p{
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}
.experience__list{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.experience__list li{
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  color: rgba(255,255,255,.9);
  font-weight: 500;
  font-size: .98rem;
}
.experience__list li span{
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green-500);
  margin-top: .45rem;
}

/* ==========================================================================
   FACILITIES / INSTALLATIONS
   ========================================================================== */
.facilities{
  padding-block: clamp(5rem, 9vw, 7.5rem);
  background: var(--white);
}
.facilities__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.facility-card{
  padding: 2.2rem 1.7rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.facility-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.facility-card__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--gray-50);
  color: var(--navy-800);
  margin-bottom: 1.3rem;
}
.facility-card__icon svg{ width: 26px; height: 26px; }
.facility-card h3{
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: .5rem;
}
.facility-card p{
  color: var(--gray-500);
  font-size: .93rem;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery{
  padding-block: clamp(3rem, 7vw, 5rem);
  background: var(--gray-50);
}
.gallery__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 1.25rem;
}
.gallery__item{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.gallery__item--tall{ grid-row: span 2; }
.gallery__item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery__item:hover img{ transform: scale(1.06); }

/* ==========================================================================
   REGLEMENT
   ========================================================================== */
.rules{
  padding-block: clamp(4.5rem, 8vw, 6.5rem);
  background: var(--white);
}
.rules__head{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(3rem, 6vw, 4rem);
}
.rules__badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
  color: var(--green-400);
  margin-bottom: 1.4rem;
  box-shadow: var(--shadow-md);
}
.rules__badge svg{ width: 30px; height: 30px; }
.eyebrow--center{ justify-content: center; }
.rules__head .section-title{ margin-bottom: 0; }
.rules__intro{
  color: var(--gray-500);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-top: .9rem;
}
.rules__rule{
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: var(--green-500);
  margin-top: 1.8rem;
}
.rules__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem 1.6rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
}
.rule-item{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem 1.4rem;
  background: var(--white);
  border-radius: var(--radius-md);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.rule-item:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.rule-item__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gray-50);
  color: var(--navy-800);
  flex-shrink: 0;
  margin-bottom: 1.1rem;
}
.rule-item__icon svg{ width: 24px; height: 24px; }
.rule-item h3{
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: .45rem;
}
.rule-item p{
  color: var(--gray-500);
  font-size: .9rem;
  line-height: 1.5;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta{
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 7rem);
  background: linear-gradient(155deg, var(--navy-950) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  overflow: hidden;
  text-align: center;
}
.cta::before{
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140,198,63,.22), transparent 70%);
  top: -220px;
  right: -160px;
}
.cta__inner{
  position: relative;
  max-width: 680px;
}
.cta__title{
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  margin-bottom: 1.1rem;
}
.cta__text{
  color: rgba(255,255,255,.82);
  font-size: 1.15rem;
  margin-bottom: .6rem;
}
.cta__details{
  color: var(--green-400);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 2.4rem;
}
.cta__actions{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact{
  padding-block: clamp(5rem, 9vw, 7.5rem);
  background: var(--gray-50);
}
.contact__inner{ text-align: center; }
.contact__inner .eyebrow{ justify-content: center; }
.contact__inner .section-title{ margin-bottom: 3rem; }

.contact__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: left;
}
.contact-card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .3rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
a.contact-card:hover{
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.contact-card--static{ cursor: default; }
.contact-card__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--green-400);
  margin-bottom: 1rem;
}
.contact-card__icon svg{ width: 20px; height: 20px; }
.contact-card__label{
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
}
.contact-card__value{
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy-900);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer{
  background: var(--navy-950);
  color: var(--gray-200);
  padding-top: clamp(3.5rem, 7vw, 5rem);
}
.footer__inner{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__logo{
  height: 68px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.1rem;
}
.footer__brand p{
  max-width: 42ch;
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  margin-bottom: 1.3rem;
}
.footer__contact{
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.footer__contact a{
  font-weight: 700;
  color: var(--white);
  font-size: .98rem;
}
.footer__socials{
  display: flex;
  gap: .8rem;
  margin-top: 1.4rem;
}
.footer__social-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--white);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.footer__social-icon svg{ width: 18px; height: 18px; }
.footer__social-icon:hover{
  background: var(--green-500);
  color: var(--navy-950);
  transform: translateY(-2px);
}
.footer__contact a:hover{ color: var(--green-400); }

.footer__links{
  display: flex;
  flex-direction: column;
  gap: .85rem;
  justify-self: end;
}
.footer__links a{
  color: rgba(255,255,255,.72);
  font-weight: 600;
  font-size: .95rem;
  transition: color .3s var(--ease);
}
.footer__links a:hover{ color: var(--green-400); }

.footer__bottom{
  padding-block: 1.6rem;
}
.footer__bottom p{
  color: rgba(255,255,255,.45);
  font-size: .84rem;
  text-align: center;
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
[data-reveal]{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.gallery__item{ cursor: zoom-in; }

.lightbox{
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6,12,26,.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
  padding: clamp(1rem, 5vw, 3rem);
}
.lightbox.is-open{ opacity: 1; visibility: visible; }

.lightbox__img{
  max-width: 100%;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: scale(.97);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.lightbox.is-open .lightbox__img{ opacity: 1; transform: scale(1); }

.lightbox__close,
.lightbox__nav{
  position: fixed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--white);
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover{
  background: var(--green-500);
  color: var(--navy-950);
}

.lightbox__close{
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 46px;
  height: 46px;
}
.lightbox__close svg{ width: 20px; height: 20px; }

.lightbox__nav{
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
}
.lightbox__nav svg{ width: 24px; height: 24px; }
.lightbox__nav--prev{ left: clamp(.75rem, 3vw, 2rem); }
.lightbox__nav--next{ right: clamp(.75rem, 3vw, 2rem); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px){
  .padel__grid{ grid-template-columns: repeat(2, 1fr); }
  .facilities__grid{ grid-template-columns: repeat(2, 1fr); }
  .contact__grid{ grid-template-columns: repeat(2, 1fr); max-width: 620px; margin-inline: auto; }
  .experience{ grid-template-columns: 1fr; }
  .experience__visual{ min-height: 320px; }
  .experience__visual::after{ background: linear-gradient(180deg, rgba(10,20,45,0) 55%, rgba(10,20,45,.95) 100%); }
  .gallery__grid{ grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .rules__grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px){
  .nav__links, .nav__cta{ display: none; }
  .nav__burger{ display: flex; }

  .footer__inner{ grid-template-columns: 1fr; }
  .footer__links{ justify-self: start; }
}

@media (max-width: 640px){
  .hero__content{ padding-top: 4.5rem; }
  .hero__actions{ flex-direction: column; align-items: stretch; }
  .hero__actions .btn{ width: 100%; }

  .padel__grid{ grid-template-columns: 1fr; }
  .facilities__grid{ grid-template-columns: 1fr; }
  .contact__grid{ grid-template-columns: 1fr; max-width: 380px; }

  .gallery__grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: .8rem; }
  .gallery__item--tall{ grid-row: span 2; }
  .rules__grid{ grid-template-columns: 1fr; }

  .cta__actions{ flex-direction: column; align-items: stretch; }
  .cta__actions .btn{ width: 100%; }

  .lightbox__nav{ width: 42px; height: 42px; }
  .lightbox__nav svg{ width: 19px; height: 19px; }
  .lightbox__close{ width: 40px; height: 40px; }
}

@media (max-width: 400px){
  .container{ padding-inline: 1.1rem; }
}

/* ==========================================================================
   STATIC NAV (pages with no dark hero behind it, e.g. the legal pages —
   always shows the "scrolled" light appearance instead of white-on-white)
   ========================================================================== */
.nav--static{
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--shadow-sm);
}
.nav--static .nav__logo{ height: 46px; }
.nav--static .nav__links a{ color: var(--navy-900); }
.nav--static .nav__links a:hover{ color: var(--green-600); }
.nav--static .nav__burger span{ background: var(--navy-900); }

.footer__bottom a{
  color: rgba(255,255,255,.65);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__bottom a:hover{ color: var(--green-400); }

/* ==========================================================================
   LEGAL PAGE (Privacy Policy, etc.)
   ========================================================================== */
.legal{
  padding-block: clamp(7.5rem, 12vw, 10rem) clamp(4rem, 7vw, 6rem);
}
.legal__inner{
  max-width: 760px;
}
.legal__updated{
  color: var(--gray-500);
  font-size: .92rem;
  margin-top: -.5rem;
  margin-bottom: 2.5rem;
}
.legal__body h2{
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-top: 2.6rem;
  margin-bottom: .9rem;
}
.legal__body h2:first-child{ margin-top: 0; }
.legal__body p{
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}
.legal__body ul{
  margin-bottom: 1.1rem;
  padding-left: 1.3rem;
  list-style: disc;
}
.legal__body li{
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: .5rem;
}
.legal__body a{
  color: var(--navy-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal__body a:hover{ color: var(--green-600); }
.legal__body strong{ color: var(--navy-900); }
