/* ============================================================
   BREAK POINT BILLIARDS — Public cinematic landing styles
   Color system can be changed here (see :root)
   ============================================================ */

:root {
  --black:        #050605;
  --deep-green:   #07150F;
  --pool-green:   #123D2A;
  --billiard:     #1D6B45;
  --gold:         #C9A227;
  --white:        #F5F5F5;
  --muted:        #B7B7B7;

  --font-head: 'Bebas Neue', 'Oswald', sans-serif;
  --font-sub:  'Oswald', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.section { position: relative; padding: 120px 6vw; }
.container { max-width: 1240px; margin: 0 auto; }

.label {
  font-family: var(--font-sub);
  letter-spacing: 0.4em;
  font-size: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1.5rem;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 0.95; letter-spacing: 0.02em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-sub); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  font-size: 0.85rem; padding: 1rem 2.2rem; border-radius: 2px; cursor: pointer;
  border: 1px solid transparent; transition: all 0.4s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: #e0b530; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201,162,39,0.3); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(245,245,245,0.35); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------------- Navigation ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), padding 0.4s var(--ease), border-color 0.5s var(--ease);
  padding: 1.6rem 0; border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5,6,5,0.72); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__inner { max-width: 1340px; margin: 0 auto; padding: 0 6vw; display: flex; align-items: center; justify-content: space-between; }
.nav__logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-size: 1.5rem; letter-spacing: 0.14em; }
.nav__logo-mark { color: var(--gold); font-size: 0.8em; }
.nav__links { display: flex; gap: 2.2rem; }
.nav__links a { font-family: var(--font-sub); font-size: 0.82rem; letter-spacing: 0.18em; color: var(--muted); transition: color 0.3s; }
.nav__links a:hover { color: var(--white); }
.nav__cta { font-family: var(--font-sub); font-size: 0.8rem; letter-spacing: 0.16em; padding: 0.7rem 1.5rem; border: 1px solid var(--gold); color: var(--gold); border-radius: 2px; transition: all 0.4s var(--ease); }
.nav__cta:hover { background: var(--gold); color: var(--black); }
.nav__cta--mobile { display: none; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 1100; }
.nav__burger span { width: 26px; height: 2px; background: var(--white); transition: all 0.3s var(--ease); }
.nav__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero { position: relative; height: 100vh; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero__video, .hero__fallback {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero__fallback {
  background: radial-gradient(ellipse at center, #0d2a1c 0%, #050605 70%);
  z-index: -1;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(5,6,5,0.55) 0%, rgba(5,6,5,0.35) 45%, rgba(5,6,5,0.92) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 1340px; margin: 0 auto; padding: 0 6vw; width: 100%; }
.hero__label { opacity: 0; transform: translateY(20px); }
.hero__title {
  font-size: clamp(4rem, 14vw, 11rem); line-height: 0.86; margin-bottom: 1.5rem; letter-spacing: 0.01em;
}
.hero__title span { display: block; opacity: 0; transform: translateY(60px); }
.hero__title span:nth-child(2) { color: var(--gold); }
.hero__sub { font-size: clamp(1rem, 1.6vw, 1.35rem); color: var(--muted); max-width: 520px; margin-bottom: 2.5rem; opacity: 0; transform: translateY(30px); }
.hero__buttons { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; transform: translateY(30px); }
.hero__scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; font-family: var(--font-sub); font-size: 0.72rem; letter-spacing: 0.3em;
  color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 0.8rem; opacity: 0;
}
.hero__scroll .line { width: 1px; height: 48px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Hero intro load animation (staggered, JS adds .loaded) */
body.loaded .hero__label { animation: fadeUp 0.9s var(--ease) 0.2s forwards; }
body.loaded .hero__title span:nth-child(1) { animation: fadeUp 1s var(--ease) 0.5s forwards; }
body.loaded .hero__title span:nth-child(2) { animation: fadeUp 1s var(--ease) 0.7s forwards; }
body.loaded .hero__title span:nth-child(3) { animation: fadeUp 1s var(--ease) 0.9s forwards; }
body.loaded .hero__sub { animation: fadeUp 1s var(--ease) 1.1s forwards; }
body.loaded .hero__buttons { animation: fadeUp 1s var(--ease) 1.3s forwards; }
body.loaded .hero__scroll { animation: fadeUp 1s var(--ease) 1.6s forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Black intro curtain */
.intro-curtain {
  position: fixed; inset: 0; background: var(--black); z-index: 5000;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.intro-curtain.hide { opacity: 0; visibility: hidden; }

/* ---------------- Pool table section ---------------- */
.table-section {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--deep-green); overflow: hidden; padding: 120px 6vw;
}
.table-section__bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at 50% 40%, #16533a 0%, #0a2318 55%, #050605 100%);
  will-change: transform;
}
.table-section__felt {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) scale(var(--felt-scale, 1));
  width: min(1100px, 86vw); aspect-ratio: 2 / 1; border-radius: 14px; z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(145deg, #1d6b45, #0f3a26);
  box-shadow: 0 60px 120px rgba(0,0,0,0.6), inset 0 0 120px rgba(0,0,0,0.5);
  border: 14px solid #3a2518; outline: 4px solid #241610;
}
.table-section__felt::before,
.table-section__felt::after {
  content: ''; position: absolute; width: 26px; height: 26px; border-radius: 50%; background: #0c0c0c;
  box-shadow: inset 0 0 6px rgba(255,255,255,0.15);
}
.table-section__felt::before { top: 14px; left: 14px; box-shadow: 760px 0 0 #0c0c0c, 0 476px 0 #0c0c0c, 760px 476px 0 #0c0c0c; }
.ball {
  position: absolute; border-radius: 50%; z-index: 2;
  box-shadow: inset -6px -8px 14px rgba(0,0,0,0.55), 0 10px 18px rgba(0,0,0,0.5);
}
.ball::after { content: ''; position: absolute; top: 16%; left: 20%; width: 26%; height: 26%; border-radius: 50%; background: rgba(255,255,255,0.55); filter: blur(2px); }
.table-section__content { position: relative; z-index: 3; max-width: 1240px; margin: 0 auto; width: 100%; text-align: center; }
.table-section__content h2 { font-size: clamp(3rem, 8vw, 7rem); }
.table-section__content p { color: var(--muted); font-size: 1.15rem; max-width: 560px; margin: 1rem auto 0; }
.table-points { display: flex; justify-content: center; gap: 2.5rem; margin-top: 3.5rem; flex-wrap: wrap; }
.table-point { max-width: 220px; }
.table-point .num { font-family: var(--font-head); font-size: 2.5rem; color: var(--gold); }
.table-point h4 { font-family: var(--font-sub); letter-spacing: 0.2em; font-size: 0.85rem; margin-top: 0.4rem; }

/* ---------------- About ---------------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: center; background: var(--black); }
.about__img { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4/5; }
.about__img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.about__text h2 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 1.5rem; }
.about__text p { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.2rem; }

/* ---------------- Tables / Experience ---------------- */
.experience { background: var(--deep-green); }
.experience__head { text-align: center; margin-bottom: 4rem; }
.experience__head h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.exp-card { position: relative; height: 460px; overflow: hidden; border-radius: 4px; display: flex; align-items: flex-end; }
.exp-card__img { position: absolute; inset: 0; z-index: 0; transition: transform 0.8s var(--ease); background-size: cover; background-position: center; }
.exp-card:hover .exp-card__img { transform: scale(1.08); }
.exp-card__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 30%, rgba(5,6,5,0.9)); }
.exp-card__body { position: relative; z-index: 2; padding: 2rem; transition: transform 0.5s var(--ease); }
.exp-card:hover .exp-card__body { transform: translateY(-8px); }
.exp-card__num { font-family: var(--font-head); color: var(--gold); font-size: 1.6rem; }
.exp-card__title { font-family: var(--font-head); font-size: 2.4rem; }
.exp-card__line { width: 0; height: 2px; background: var(--gold); margin-top: 0.6rem; transition: width 0.5s var(--ease); }
.exp-card:hover .exp-card__line { width: 60px; }
.exp-card__price { color: var(--muted); font-size: 0.95rem; margin-top: 0.5rem; }

/* ---------------- The Break ---------------- */
.break-section {
  position: relative; height: 90vh; min-height: 560px; display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.break-section__bg {
  position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center;
  background-image: radial-gradient(ellipse at center, #15402b, #050605);
  will-change: transform;
}
.break-section__overlay { position: absolute; inset: 0; z-index: 1; background: rgba(5,6,5,0.55); }
.break-section__content { position: relative; z-index: 2; padding: 0 6vw; }
.break-section__content h2 { font-size: clamp(3rem, 9vw, 8rem); max-width: 14ch; margin: 0 auto; }

/* ---------------- Features (numbered) ---------------- */
.features { background: var(--black); }
.features__head { margin-bottom: 3rem; }
.features__head h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.feat-list { border-top: 1px solid rgba(255,255,255,0.08); }
.feat-row {
  display: grid; grid-template-columns: 100px 1fr auto; gap: 2rem; align-items: center;
  padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); transition: background 0.4s, padding-left 0.4s var(--ease);
}
.feat-row:hover { padding-left: 1.5rem; background: linear-gradient(90deg, rgba(29,107,69,0.12), transparent); }
.feat-row .num { font-family: var(--font-head); font-size: 2.4rem; color: var(--gold); }
.feat-row .name { font-family: var(--font-head); font-size: 2.2rem; }
.feat-row .desc { color: var(--muted); max-width: 320px; text-align: right; }

/* ---------------- Gallery ---------------- */
.gallery { background: var(--deep-green); }
.gallery__head { text-align: center; margin-bottom: 3.5rem; }
.gallery__head h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem;
}
.gal-item { position: relative; overflow: hidden; cursor: pointer; border-radius: 4px; }
.gal-item img, .gal-item .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gal-item .ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #123d2a, #07150f); color: rgba(255,255,255,0.25); font-family: var(--font-head); font-size: 2rem; }
.gal-item::after { content: '+'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--white); background: rgba(5,6,5,0.3); opacity: 0; transition: opacity 0.4s; }
.gal-item:hover img, .gal-item:hover .ph { transform: scale(1.1); }
.gal-item:hover::after { opacity: 1; background: rgba(5,6,5,0.55); }
.gal-item.wide { grid-column: span 2; }
.gal-item.tall { grid-row: span 2; }

/* ---------------- Booking ---------------- */
.booking { background: linear-gradient(160deg, var(--pool-green), var(--black)); }
.booking__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: center; }
.booking__intro h2 { font-size: clamp(2.8rem, 7vw, 6rem); }
.booking__intro p { color: var(--muted); font-size: 1.15rem; margin-top: 1rem; max-width: 420px; }
.booking__form { background: rgba(5,6,5,0.5); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.08); padding: 2.5rem; border-radius: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-family: var(--font-sub); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 0.5rem; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  color: var(--white); padding: 0.85rem 1rem; border-radius: 3px; font-family: var(--font-body); font-size: 0.95rem; transition: border-color 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field select option { background: var(--deep-green); }
.form-msg { margin-top: 1rem; font-size: 0.9rem; min-height: 1.2em; }
.form-msg.success { color: #74d79b; }
.form-msg.error { color: #ff8b8b; }

/* ---------------- Final CTA ---------------- */
.final {
  position: relative; height: 85vh; min-height: 520px; display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; background: var(--black);
}
.final__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.5; }
.final__fallback { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at center, #10402a, #050605); }
.final__overlay { position: absolute; inset: 0; z-index: 1; background: rgba(5,6,5,0.5); }
.final__content { position: relative; z-index: 2; }
.final__content h2 { font-size: clamp(3rem, 9vw, 7rem); margin-bottom: 2rem; }
.final__content .btn + .btn { margin-left: 1rem; }

/* ---------------- Footer ---------------- */
.footer { background: var(--black); border-top: 1px solid rgba(255,255,255,0.07); padding: 5rem 6vw 2rem; }
.footer__inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer__logo { font-family: var(--font-head); font-size: 1.6rem; letter-spacing: 0.12em; margin-bottom: 1rem; }
.footer__brand p { color: var(--muted); max-width: 300px; }
.footer__col h4 { font-family: var(--font-sub); letter-spacing: 0.2em; font-size: 0.78rem; color: var(--gold); margin-bottom: 1rem; }
.footer__col p { color: var(--muted); margin-bottom: 0.4rem; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { max-width: 1240px; margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.06); color: var(--muted); font-size: 0.85rem; text-align: center; }

/* ---------------- Lightbox ---------------- */
.lightbox { position: fixed; inset: 0; z-index: 4000; background: rgba(5,6,5,0.95); display: none; align-items: center; justify-content: center; padding: 5vw; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 4px; }
.lightbox__close { position: absolute; top: 2rem; right: 2.5rem; background: none; border: none; color: var(--white); font-size: 2.5rem; cursor: pointer; }

/* ---------------- Scroll progress ---------------- */
.scroll-progress { position: fixed; right: 24px; top: 50%; transform: translateY(-50%); height: 160px; width: 2px; background: rgba(255,255,255,0.12); z-index: 900; border-radius: 2px; }
.scroll-progress span { position: absolute; left: -3px; top: 0; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 10px var(--gold); }

/* ---------------- Scroll reveal (IntersectionObserver) ---------------- */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 1s var(--ease), transform 1s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-left.in { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-right.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(1.12); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal-scale.in { opacity: 1; transform: scale(1); }
[data-delay="1"] { transition-delay: 0.12s; }
[data-delay="2"] { transition-delay: 0.24s; }
[data-delay="3"] { transition-delay: 0.36s; }
[data-delay="4"] { transition-delay: 0.48s; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .section { padding: 90px 6vw; }
  .about { grid-template-columns: 1fr; gap: 2.5rem; }
  .exp-grid { grid-template-columns: 1fr; }
  .exp-card { height: 320px; }
  .booking__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .feat-row { grid-template-columns: 60px 1fr; }
  .feat-row .desc { display: none; }
}

@media (max-width: 820px) {
  .nav { padding: 1.1rem 0; }
  .nav.scrolled { padding: 0.9rem 0; }

  /* Full-height slide-in panel menu */
  .nav__links {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(82vw, 340px);
    background: linear-gradient(180deg, #0a140f 0%, #050605 100%);
    border-left: 1px solid rgba(201,162,39,0.18);
    box-shadow: -20px 0 60px rgba(0,0,0,0.6);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0;
    padding: 6rem 1.8rem 2rem;
    transform: translateX(105%);
    transition: transform 0.45s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav__links.open { transform: translateX(0); }

  /* Dim scrim behind the menu */
  .nav__links::before {
    content: ''; position: fixed; inset: 0; z-index: -1;
    background: rgba(5,6,5,0.6); backdrop-filter: blur(3px);
    opacity: 0; pointer-events: none; transition: opacity 0.45s var(--ease);
  }
  .nav__links.open::before { opacity: 1; pointer-events: auto; }

  /* Links as full-width rows with clear tap feedback */
  .nav__links a {
    font-family: var(--font-head);
    font-size: 1.3rem; letter-spacing: 0.08em;
    color: var(--white);
    padding: 1rem 0.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: flex; align-items: center; justify-content: space-between;
    transition: color 0.25s, padding-left 0.25s var(--ease);
    opacity: 0; transform: translateX(16px);
  }
  .nav__links a::after {
    content: '\2192'; color: var(--gold); opacity: 0;
    transition: opacity 0.25s, transform 0.25s var(--ease); transform: translateX(-6px);
  }
  .nav__links a:active { color: var(--gold); padding-left: 0.9rem; }
  .nav__links a:hover::after { opacity: 1; transform: translateX(0); }

  /* Staggered reveal when the menu opens */
  .nav__links.open a { animation: navItemIn 0.45s var(--ease) forwards; }
  .nav__links.open a:nth-child(1) { animation-delay: 0.06s; }
  .nav__links.open a:nth-child(2) { animation-delay: 0.11s; }
  .nav__links.open a:nth-child(3) { animation-delay: 0.16s; }
  .nav__links.open a:nth-child(4) { animation-delay: 0.21s; }
  .nav__links.open a:nth-child(5) { animation-delay: 0.26s; }
  .nav__links.open a:nth-child(6) { animation-delay: 0.31s; }
  .nav__links.open a:nth-child(7) { animation-delay: 0.36s; }
  .nav__links.open a:nth-child(8) { animation-delay: 0.41s; }
  @keyframes navItemIn { to { opacity: 1; transform: translateX(0); } }

  /* Distinct CTA button at the bottom of the menu */
  .nav__cta--mobile {
    display: flex !important; justify-content: center;
    margin-top: 1.6rem; padding: 1rem 1.4rem !important;
    background: var(--gold); color: #111 !important;
    border-radius: 6px; border: none;
    font-size: 1rem !important; letter-spacing: 0.14em;
  }
  .nav__cta--mobile::after { display: none; }
  .nav__cta--mobile:active { padding-left: 1.4rem; }

  .nav > .nav__inner > .nav__cta { display: none; }
  .nav__burger { display: flex; position: relative; z-index: 1200; }

  /* Lock body scroll while the menu is open (class toggled by JS) */
  body.nav-open { overflow: hidden; }

  .form-row { grid-template-columns: 1fr; }
  .table-points { gap: 1.5rem; }
  .scroll-progress { display: none; }
  .final__content .btn + .btn { margin-left: 0; margin-top: 1rem; }

  /* Use dynamic viewport height so mobile browser bars don't crop the hero */
  .hero { height: 100svh; min-height: 520px; }
  .hero__buttons { width: 100%; }
  .hero__buttons .btn { flex: 1; text-align: center; }
  .booking__form { padding: 1.6rem; }
}

@media (max-width: 520px) {
  .section { padding: 70px 5vw; }
  /* Prevent iOS zoom-on-focus by keeping inputs at 16px */
  .field input, .field select, .field textarea { font-size: 16px; }
  .nav__inner { padding: 0 5vw; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gal-item.wide { grid-column: auto; }
  .gal-item.tall { grid-row: auto; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; text-align: left; }
  .table-points { flex-direction: column; align-items: center; }
  .feat-row { grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.4rem 0; }
  .feat-row .name { font-size: 1.7rem; }
  .feat-row .num { font-size: 1.8rem; }
  .btn { padding: 0.9rem 1.6rem; }
  /* Disable heavy parallax transforms on small phones for smoothness */
  .about__img img { transform: none !important; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1 !important; transform: none !important; transition: opacity 0.4s ease; }
  .hero__label, .hero__title span, .hero__sub, .hero__buttons, .hero__scroll { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ---------------- How-to-use guide page ---------------- */
.guide { background: var(--black); }
.guide-hero {
  padding: 150px 6vw 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(29,107,69,0.25), transparent 60%), var(--deep-green);
  text-align: center;
}
.guide-hero__title { font-size: clamp(2.6rem, 7vw, 5rem); }
.guide-hero__sub { color: var(--muted); max-width: 640px; margin: 1rem auto 0; font-size: 1.1rem; }

.guide-body { padding-top: 60px; }

.guide-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 4rem;
}
.guide-card {
  background: linear-gradient(160deg, #0e1a14, #0b1510);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 1.6rem 1.4rem;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.guide-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.guide-card__ico { font-size: 1.8rem; display: block; margin-bottom: 0.8rem; }
.guide-card h3 { font-family: var(--font-head); font-size: 1.4rem; letter-spacing: 0.03em; margin-bottom: 0.4rem; }
.guide-card p { color: var(--muted); font-size: 0.9rem; }

.guide-step {
  display: grid; grid-template-columns: 110px 1fr; gap: 2rem; align-items: start;
  padding: 2.5rem 0; border-top: 1px solid rgba(255,255,255,0.08);
}
.guide-step__num {
  font-family: var(--font-head); font-size: 4rem; color: var(--gold); line-height: 0.8;
}
.guide-step__content h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.guide-step__content p { color: var(--muted); margin-bottom: 1rem; }
.guide-step__content ol { color: var(--white); padding-left: 1.2rem; margin-bottom: 1.4rem; }
.guide-step__content ol li { margin-bottom: 0.7rem; line-height: 1.6; }
.guide-step__content ol li strong { color: var(--white); }
.guide-step__content ol li em { color: var(--gold); font-style: normal; }
.guide-step__content code {
  background: rgba(201,162,39,0.12); color: var(--gold);
  padding: 0.12rem 0.5rem; border-radius: 4px; font-size: 0.9em; word-break: break-all;
}
.guide-step__content .btn { margin-right: 0.6rem; margin-top: 0.3rem; }
.guide-note {
  background: rgba(29,107,69,0.14); border-left: 3px solid var(--billiard);
  padding: 0.8rem 1rem; border-radius: 6px; color: var(--muted) !important; font-size: 0.92rem;
}
.guide-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.guide-table td { padding: 0.7rem 0.6rem; border-bottom: 1px solid rgba(255,255,255,0.07); vertical-align: middle; }
.guide-table td:first-child { color: var(--muted); white-space: nowrap; padding-right: 1.5rem; }

@media (max-width: 980px) {
  .guide-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .guide-cards { grid-template-columns: 1fr; }
  .guide-step { grid-template-columns: 1fr; gap: 0.5rem; padding: 2rem 0; }
  .guide-step__num { font-size: 2.6rem; }
  .guide-step__content .btn { display: block; width: 100%; margin: 0.5rem 0 0; }
  .guide-table td { display: block; border: none; padding: 0.2rem 0; }
  .guide-table td:first-child { padding-top: 0.8rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
  .guide-table tr { display: block; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 0.4rem 0; }
}
