/* ══════════════════════════════════════════════════════════
   Smash Padel Rajka
   ══════════════════════════════════════════════════════════ */

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  --bg:   #080809;
  --bg2:  #0f0f12;
  --text: #eeebe3;
  --dim:  rgba(238,235,227,0.45);
  --line: rgba(238,235,227,0.1);
  --mag:  #f818c9;
  --mag-d:rgba(248,24,201,0.12);
  --max:  1280px;
}

/* ─── Reset ──────────────────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { overflow-x:hidden; scroll-behavior:auto; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display:block; max-width:100%; }
a   { color:inherit; text-decoration:none; }
ul  { list-style:none; }
figure { margin: 0; }

/* ─── Shared background container ────────────────────────── */
.sec-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.sec-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Loader ─────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--mag);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
#loader.ld-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.ld-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Bounce wrap: handles vertical movement (ease-in down, ease-out up via alternate reversal) */
.ld-bounce-wrap {
  animation: ld-y 0.62s cubic-bezier(0.32, 0, 0.67, 0) infinite alternate;
}
.ld-ball {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a2a2a, #000);
  animation: ld-squash 1.24s ease-in-out infinite;
}
.ld-shadow {
  width: 40px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.22);
  margin-top: 8px;
  animation: ld-shadow-anim 1.24s ease-in-out infinite;
}
.ld-brand {
  margin-top: 40px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.38);
}

@keyframes ld-y {
  from { transform: translateY(-34px); }
  to   { transform: translateY(34px); }
}
@keyframes ld-squash {
  0%, 42%, 58%, 100% { transform: scaleX(1)    scaleY(1); }
  50%                { transform: scaleX(1.38) scaleY(0.62); }
}
@keyframes ld-shadow-anim {
  0%, 42%, 58%, 100% { transform: scaleX(0.65); opacity: 0.18; }
  50%                { transform: scaleX(1.38); opacity: 0.38; }
}

/* ─── Navigation ─────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 62px;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(8,8,9,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--line);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700;
}
.nav-brand img { border-radius: 50%; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 13px; font-weight: 600;
  color: var(--dim); transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-book {
  display: inline-flex; align-items: center;
  height: 36px; padding: 0 18px;
  border-radius: 999px;
  background: var(--mag); color: #fff;
  font-size: 13px; font-weight: 700;
  transition: filter 0.2s, transform 0.2s;
}
.nav-book:hover { filter: brightness(1.1); transform: scale(1.04); }

/* ─── Language switcher ──────────────────────────────────── */
.lang-switcher {
  display: flex;
  gap: 1px;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--dim);
  padding: 5px 7px;
  border-radius: 4px;
  transition: color 0.2s;
  line-height: 1;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.lang-active { color: var(--mag); }

/* ─── Shared buttons ─────────────────────────────────────── */
.btn-mag {
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 28px;
  border-radius: 999px;
  background: var(--mag); color: #fff;
  font-size: 14px; font-weight: 700;
  transition: filter 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn-mag:hover { filter: brightness(1.1); transform: scale(1.04); }
.btn-mag-lg { height: 58px; padding: 0 36px; font-size: 16px; }
.btn-mag-ghost {
  background: transparent;
  border: 1.5px solid var(--mag);
  color: var(--mag);
}
.btn-mag-ghost:hover { background: var(--mag-d); }

/* ─── Shared typography ──────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mag);
  margin-bottom: 18px;
}
.eyebrow-sm { font-size: 10px; }
.eyebrow-dark { color: rgba(15,15,18,0.45); }

.section-h2 {
  font-size: clamp(38px, 5.5vw, 76px);
  font-weight: 900; letter-spacing: -0.03em;
  line-height: 1.0; margin-bottom: 20px;
}

.body-text {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--dim); line-height: 1.65;
  max-width: 480px; margin-bottom: 32px;
}

.info-stack { display: flex; flex-direction: column; margin-bottom: 32px; }
.info-row {
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.info-row:first-child { border-top: 1px solid var(--line); }
.ir-label {
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--mag);
}
.ir-value { font-size: clamp(13px, 1.3vw, 15px); font-weight: 500; }

.contact-row {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 6px 28px;
  margin-top: 32px;
  font-size: 12px; font-weight: 600;
  color: rgba(238,235,227,0.3);
}
.contact-row a { transition: color 0.2s; }
.contact-row a:hover { color: var(--text); }

/* ─── HERO ───────────────────────────────────────────────── */

/* clip-path clips children (including hero-exit below screen) without
   the overflow:hidden + position:fixed browser quirks from GSAP pin */
#hero {
  position: relative;
  height: 100svh; min-height: 620px;
  display: flex; align-items: flex-end;
  clip-path: inset(0);
}
.hero-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-img-dark,
.hero-img-lit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}
.hero-lit-bg,
.hero-lit-mouse {
  position: absolute;
  inset: 0;
  opacity: 0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transform: translateZ(0);
}
/* Full lit overlay used during exit — fades in on scroll, scaled with hero-inner */
.hero-lit-full {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity;
  z-index: 1;
}
.hero-lit-full img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 88% 80% at 50% 50%,
    transparent 30%, rgba(8,8,9,0.72) 100%);
  pointer-events: none;
}
.hero-text-grade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(8,8,9,0.30) 0%, transparent 28%,
    transparent 52%, rgba(8,8,9,0.55) 76%,
    rgba(8,8,9,0.88) 100%);
  pointer-events: none;
}
.hero-body {
  position: relative; z-index: 2;
  padding: 0 clamp(24px, 6vw, 80px) clamp(72px, 12vh, 128px);
  width: 100%; max-width: var(--max); margin: 0 auto;
}
.hero-title {
  display: flex; flex-direction: column;
  overflow: hidden;
  margin: 0 0 22px;
}
.ht {
  display: block;
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 900; letter-spacing: 0.06em; line-height: 1.1;
  opacity: 0; transform: translateY(105%);
  will-change: transform, opacity;
  text-transform: uppercase;
}
.ht-2 { color: rgba(238,235,227,0.42); }
.ht-3 {
  -webkit-text-stroke: 1px rgba(238,235,227,0.25);
  color: transparent;
  text-transform: none;
}
#hero-eyebrow { opacity: 0; }
#hero-cta     { opacity: 0; }
.hero-title   { margin-bottom: 22px; }

.hero-foot {
  position: absolute; bottom: 24px;
  left: clamp(24px, 6vw, 80px); right: clamp(24px, 6vw, 80px);
  z-index: 2;
  display: flex; gap: 28px; flex-wrap: wrap;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(238,235,227,0.32);
  opacity: 0;
}
.scroll-indicator {
  position: absolute; right: clamp(24px, 4vw, 48px);
  bottom: 0; z-index: 2; opacity: 0;
}
.si-line {
  width: 1px; height: 80px;
  background: linear-gradient(180deg, transparent, rgba(238,235,227,0.5));
  animation: si-drop 1.8s ease-in-out infinite;
}
@keyframes si-drop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── HERO EXIT TRANSITION ───────────────────────────────── */

/* Inner wrapper: scales + fades out over bg-purple */
.hero-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  will-change: transform, opacity;
  transform-origin: 50% 50%;
  display: flex;
  align-items: flex-end;
}

/* bg-purple background layer — fades in on scroll behind hero-inner */
.hero-exit {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
}
.hero-exit-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-exit-brand {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  pointer-events: none;
  user-select: none;
  opacity: 0;
}

.hero-exit-line {
  width: 0;
  height: 2px;
  margin-bottom: 20px;
  background: var(--mag);
  box-shadow: 0 0 24px rgba(248,24,201,0.5);
}

.hero-exit-brand p {
  font-size: clamp(48px, 9vw, 138px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.86;
  color: var(--text);
}

.hero-exit-brand strong {
  font-size: clamp(44px, 8vw, 122px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(238,235,227,0.55);
}

/* ─── STATEMENT ──────────────────────────────────────────── */
#statement {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(100px, 14vh, 160px) clamp(24px, 6vw, 80px);
  overflow: hidden;
}
.stmt-bg-img img { opacity: 0.38; }

.stmt-body {
  position: relative; z-index: 2;
  text-align: center;
}
.stmt-word {
  display: block;
  font-size: clamp(64px, 11.5vw, 165px);
  font-weight: 900; letter-spacing: -0.04em; line-height: 0.88;
  color: var(--text);
  will-change: opacity, transform;
}
.stmt-mag { color: var(--mag); }

.stmt-tagline {
  position: relative; z-index: 2;
  margin-top: clamp(28px, 4vh, 52px);
  font-size: clamp(13px, 1.3vw, 16px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  will-change: opacity, transform;
}

/* ─── PADEL INTRO ────────────────────────────────────────── */
#padel-intro {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--bg2);
}
.padel-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
}
.padel-text {
  padding: clamp(100px, 14vh, 160px) clamp(24px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.padel-img {
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.padel-img img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.55) saturate(0.5) contrast(1.1);
}

.padel-facts {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.padel-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pf-num {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--mag);
}
.pf-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .padel-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 50svh auto;
  }
  .padel-img { order: -1; }
  .padel-text { padding: 48px clamp(24px, 6vw, 48px) 80px; }
  .padel-facts { gap: 20px; }
}

/* ─── GALLERY ────────────────────────────────────────────── */
#gallery {
  position: relative;
  min-height: 100svh;
  padding: clamp(80px, 12vh, 140px) 0 clamp(60px, 8vh, 100px);
  overflow: hidden;
}
.gal-bg-img img { opacity: 0.88; }

.gal-header {
  position: relative; z-index: 2;
  padding: 0 clamp(24px, 6vw, 80px);
  margin-bottom: clamp(36px, 5vh, 64px);
}
.gal-h2 {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.0;
  color: #0f0f12;
  margin-top: 14px;
}

/* Horizontal scroll track — GSAP x-driven, no overflow scroll */
.gal-track {
  position: relative; z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: clamp(14px, 1.8vw, 24px);
  padding: 0 clamp(24px, 6vw, 80px) 4px;
  will-change: transform;
}

.gal-item {
  flex-shrink: 0;
  width: clamp(220px, 26vw, 400px);
  height: clamp(300px, 38vh, 520px);
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 3px;
}
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gal-item:hover img { transform: scale(1.05); }
.gal-tall { height: clamp(380px, 52vh, 660px); }
.gal-wide { width: clamp(340px, 40vw, 580px); height: clamp(240px, 30vh, 380px); }

.gal-hint {
  position: relative; z-index: 2;
  padding: 14px clamp(24px, 6vw, 80px) 0;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(15,15,18,0.3);
}

/* ─── PRICES ─────────────────────────────────────────────── */
#prices {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.prices-layout {
  position: relative; z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  min-height: 100svh;
}
.prices-side {
  overflow: hidden;
  will-change: transform;
}
.prices-side img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.55);
}
.prices-center {
  padding: clamp(80px, 12vh, 140px) clamp(20px, 3.5vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.price-rows {
  width: 100%;
  margin-top: 20px;
}
.price-col {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.price-col:first-child { border-top: 1px solid var(--line); }
.price-type {
  display: block;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mag); margin-bottom: 10px;
}
.price-val {
  display: block;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 14px;
}
.price-val small {
  font-size: 13px; font-weight: 500;
  color: var(--dim); letter-spacing: 0;
}
.price-list {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 20px;
}
.price-list li {
  font-size: 13px; color: var(--dim);
  padding-left: 14px; position: relative;
}
.price-list li::before { content:'–'; position:absolute; left:0; opacity:0.45; }

/* ─── ACTION PHOTO ───────────────────────────────────────── */
#action {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.action-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform;
}
.action-bg img {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.48) saturate(0.7);
}
.action-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(8,8,9,0.88) 28%,
    rgba(8,8,9,0.45) 60%,
    rgba(8,8,9,0.1) 100%);
}
.action-content {
  position: relative; z-index: 2;
  padding: clamp(100px, 14vh, 160px) clamp(24px, 6vw, 80px);
  max-width: min(580px, 55%);
}

/* ─── SOCIAL ─────────────────────────────────────────────── */
#social {
  position: relative;
  padding: clamp(80px, 12vh, 160px) clamp(24px, 6vw, 80px);
  overflow: hidden;
}
#social .sec-bg img { opacity: 0.14; }

.social-body {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto;
}
.social-h2 { margin-bottom: clamp(32px, 5vh, 56px); }

.social-btns {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
}
.social-btn {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  transition: color 0.25s, border-color 0.25s;
}
.social-btn:first-child { border-top: 1px solid var(--line); }
.social-btn:hover { color: var(--mag); }
.social-btn:hover .social-icon { border-color: var(--mag); background: var(--mag-d); }
.social-btn:hover .social-arr { transform: translateX(6px); }

.social-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex-shrink: 0;
  transition: border-color 0.25s, background 0.25s;
}
.social-info {
  display: flex; flex-direction: column; gap: 3px; flex: 1;
}
.social-platform {
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--dim);
}
.social-handle {
  font-size: clamp(18px, 2.4vw, 28px); font-weight: 700;
}
.social-arr {
  font-size: 20px;
  transition: transform 0.25s;
}

/* ─── MAP ────────────────────────────────────────────────── */
#map {
  position: relative;
  height: 65vh; min-height: 400px;
  overflow: hidden;
}
.map-iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
  filter: grayscale(0.25) contrast(1.05);
}
.map-card {
  position: absolute;
  top: 50%; left: clamp(24px, 6vw, 80px);
  transform: translateY(-50%);
  background: rgba(8,8,9,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 40px);
  z-index: 10;
  max-width: 300px;
}
.map-card-title {
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.01em; line-height: 1.15;
  margin: 12px 0 14px;
}
.map-card-addr {
  font-size: 13px; color: var(--dim);
  line-height: 1.65; margin-bottom: 22px;
}

/* ─── CLOSING ────────────────────────────────────────────── */
#closing {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
#closing .sec-bg img { opacity: 0.2; }

.closing-body {
  position: relative; z-index: 2;
  padding: clamp(100px, 14vh, 160px) clamp(24px, 6vw, 80px);
  max-width: var(--max); width: 100%; margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.closing-h2 {
  display: flex; flex-direction: column;
  font-size: clamp(56px, 10vw, 140px);
  font-weight: 900; letter-spacing: -0.04em;
  line-height: 0.9; margin-bottom: 24px;
  overflow: hidden;
}
.closing-h2 span {
  display: block;
  opacity: 0; transform: translateY(100%);
  will-change: transform, opacity;
}
.closing-sub { text-align: center; max-width: 100%; }

/* ─── Footer ─────────────────────────────────────────────── */
#footer {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  padding: 28px clamp(24px, 4vw, 48px);
}
.footer-row {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700;
}
.footer-brand img { border-radius: 50%; }
.footer-links { display: flex; gap: 22px; }
.footer-links a {
  font-size: 12px; font-weight: 600;
  color: var(--dim); transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 11px; color: rgba(238,235,227,0.22); }

/* ─── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .si-line { animation: none; opacity: 0.4; }
  .ht, .stmt-word, .stmt-tagline, .closing-h2 span,
  #padel-img, #price-left, #price-right {
    opacity: 1 !important; transform: none !important;
  }
}

/* ─── Tablet (769px – 1100px) ────────────────────────────── */
@media (min-width: 769px) and (max-width: 1100px) {
  .prices-layout { grid-template-columns: 0.5fr 1.6fr 0.5fr; }

  .padel-text {
    padding: clamp(80px, 10vh, 120px) clamp(24px, 4vw, 52px);
  }
}

/* ─── Mobile + Tablet (max 900px) ────────────────────────── */
@media (max-width: 900px) {
  /* Nav */
  .nav-links { display: none; }

  /* Hero */
  #hero {
    min-height: 560px;
    background: #080809;
  }
  .hero-stage {
    background:
      radial-gradient(ellipse 88% 64% at 50% 62%, rgba(248,24,201,0.13), transparent 70%),
      #080809;
  }
  .hero-img-dark,
  .hero-img-lit,
  .hero-lit-full img {
    object-fit: cover;
    object-position: center 52%;
    transform: scale(1.04);
  }
  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(8,8,9,0.52) 0%, transparent 28%, transparent 58%, rgba(8,8,9,0.82) 100%),
      radial-gradient(ellipse 108% 88% at 50% 56%, transparent 32%, rgba(8,8,9,0.82) 100%);
  }
  .hero-text-grade {
    background: linear-gradient(180deg,
      rgba(8,8,9,0.42) 0%, transparent 32%,
      transparent 48%, rgba(8,8,9,0.46) 66%,
      rgba(8,8,9,0.94) 100%);
  }
  .hero-body {
    padding: 0 clamp(20px, 6vw, 48px) clamp(58px, 9vh, 84px);
  }
  .ht {
    font-size: clamp(25px, 7vw, 38px);
    line-height: 1.02;
  }

  /* Statement — prevent overflow on wide Hungarian words */
  .stmt-word { font-size: clamp(40px, 9.5vw, 120px); }

  /* Padel intro — stacked */
  .padel-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 52svh auto;
  }
  .padel-img  { order: -1; }
  .padel-text { padding: 48px clamp(24px, 6vw, 48px) 72px; }
  .padel-facts { gap: 20px; }
  .pf-num { font-size: clamp(26px, 6vw, 40px); }

  /* Gallery items — slightly narrower on tablet */
  .gal-item { width: clamp(200px, 38vw, 360px); }
  .gal-wide  { width: clamp(280px, 50vw, 480px); }

  /* Prices — stacked, side panels hidden */
  .prices-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .prices-side { display: none; }
  .prices-center { padding: 100px clamp(24px, 6vw, 48px) 60px; }

  /* Action */
  .action-content { max-width: 100%; }
  .action-overlay { background: rgba(8,8,9,0.75); }

  /* Map card — bottom bar on small screens */
  .map-card {
    top: auto; bottom: 20px;
    left: 20px; right: 20px;
    transform: none; max-width: 100%;
  }
  #map { height: 75vh; }

  /* Closing */
  .closing-h2 { font-size: clamp(52px, 12vw, 100px); }
}

/* ─── Small mobile (max 540px) ───────────────────────────── */
@media (max-width: 540px) {
  /* Nav */
  #nav { padding: 0 14px; height: 58px; }
  .nav-brand span { display: none; }
  .lang-switcher { gap: 0; margin-left: auto; }
  .lang-btn { padding: 5px; font-size: 10px; }
  .nav-book { height: 34px; padding: 0 13px; margin-left: 6px; }

  /* Hero */
  .hero-foot { display: none; }
  .ht { letter-spacing: 0.03em; }
  #hero {
    height: 100svh;
    min-height: 520px;
  }
  .hero-img-dark,
  .hero-img-lit,
  .hero-lit-full img {
    object-position: center 52%;
    transform: scale(1.06);
  }
  .hero-body {
    padding: 0 18px clamp(54px, 8vh, 70px);
  }
  .hero-title { margin-bottom: 16px; }
  #hero-eyebrow { margin-bottom: 12px; }
  #hero-cta { height: 44px; padding: 0 20px; }
  .scroll-indicator { right: 18px; }
  .si-line { height: 54px; }

  /* Statement — keep on screen on small phones */
  .stmt-word { font-size: clamp(36px, 11vw, 64px); letter-spacing: -0.05em; }
  .stmt-tagline { font-size: 11px; }

  /* Padel intro */
  .padel-layout { grid-template-rows: 44svh auto; }
  .padel-facts  { flex-wrap: wrap; gap: 14px 24px; }

  /* Gallery */
  .gal-item { width: clamp(160px, 62vw, 260px); }
  .gal-tall { height: clamp(280px, 42vh, 420px); }
  .gal-wide { width: clamp(240px, 75vw, 360px); height: clamp(200px, 28vh, 300px); }
  .gal-h2   { font-size: clamp(28px, 7vw, 52px); }

  /* Prices */
  .price-val { font-size: clamp(28px, 7vw, 44px); }

  /* Social */
  .social-handle { font-size: 18px; }

  /* Contact & footer */
  .contact-row { gap: 6px 16px; }
  .footer-row  { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 12px; }

  /* Closing */
  .closing-h2 { font-size: clamp(48px, 13vw, 80px); }
}

/* ─── Touch devices — skip GSAP scroll animations ────────── */
@media (pointer: coarse) {
  /* Hero: clip-path + will-change cause iOS Safari rendering glitch */
  #hero       { clip-path: none; }
  .hero-inner { will-change: auto; }
  .hero-exit  { display: none; }

  /* Closing heading has opacity:0 in CSS — override so it shows */
  .closing-h2 span { opacity: 1 !important; transform: none !important; }
}
