/* GMP 247 Studios: shared styles for all public pages.
   Colours come from the logo: black, white, red. Dark theme only (brand choice). */

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat-latin-800-normal.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --bg: #000000;
  --panel: #0e0e0e;
  --panel-2: #161616;
  --line: #2a2a2a;
  --fg: #ffffff;
  --muted: #b8b8b8;
  --silver: #c9c9c9;
  --red: #ff0000;          /* logo red: accents, small marks, text on black */
  --red-btn: #d40000;      /* deeper red behind white text, easier to read in sunlight */
  --red-btn-hover: #ee0000;
  --display: 'Montserrat', 'Arial Black', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 10px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--fg); outline-offset: 3px;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: #000; padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 760px; }

/* Buttons */
.btn {
  display: inline-block; background: var(--red-btn); color: #fff; font-family: var(--display); font-weight: 700;
  text-decoration: none; text-align: center; padding: 13px 22px; border-radius: 999px; border: 1px solid var(--red-btn);
  letter-spacing: .02em; font-size: 15px; cursor: pointer;
}
.btn:hover { background: var(--red-btn-hover); border-color: var(--red-btn-hover); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { display: block; width: 100%; }
.btn-ghost { background: transparent; border-color: #555; color: var(--fg); }
.btn-ghost:hover { background: transparent; border-color: var(--fg); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Promo banner */
.banner { background: var(--red-btn); color: #fff; font-size: 14px; text-align: center; padding-block: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 8px; }
.brand img { width: 128px; }
.site-header nav { display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 600; }
.site-header nav a { text-decoration: none; color: var(--muted); }
.site-header nav a:hover { color: var(--fg); }
.site-header nav .nav-book { color: #fff; background: var(--red-btn); padding: 7px 16px; border-radius: 999px; }
@media (max-width: 520px) {
  .site-header .wrap { flex-direction: column; gap: 2px; padding-bottom: 10px; }
  .site-header nav { gap: 14px; font-size: 14px; }
  .brand img { width: 112px; }
}

/* Hero */
.hero { padding-block: 28px 56px; text-align: center; background: radial-gradient(ellipse at 50% 30%, #1a0000 0%, #000 65%); }
.hero-logo { width: min(560px, 92vw); margin: 0 auto; }
/* Background photos behind the logo. "screen" blending makes the logo's black box see-through. */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero .wrap { position: relative; } /* no z-index, so the logo can blend with the photos */
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s ease-out;
}
.hero-slides img.on { opacity: 1; transform: scale(1); }
.hero.has-slides::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.88) 100%);
}
.hero.has-slides .hero-logo { mix-blend-mode: screen; }
.hero.has-slides .rec { color: #e6e6e6; }
.hero.has-slides h1 { text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.hero.has-slides .facts li { background: rgba(0,0,0,.55); backdrop-filter: blur(4px); }
.hero.has-slides .btn-ghost { background: rgba(0,0,0,.35); }
.rec { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 8px 0 0; }
.rec i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.hero h1 {
  font-family: var(--display); font-weight: 800; font-size: clamp(26px, 5.4vw, 44px); line-height: 1.15;
  margin: 14px auto 26px; max-width: 30ch; text-wrap: balance;
}
.hero h1 .nw { white-space: nowrap; }
.hero h1 .dot { color: var(--red); }
.hero .cta { justify-content: center; }
.facts { list-style: none; padding: 0; margin: 36px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 640px; }
.facts li { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 8px; background: rgba(255,255,255,.02); }
.facts b { display: block; font-family: var(--display); font-size: clamp(17px, 5vw, 22px); color: var(--fg); white-space: nowrap; }
.facts span { font-size: 12px; color: var(--muted); line-height: 1.3; display: block; }

/* Sections */
.section { padding-block: 64px; }
.section-alt { background: var(--panel); border-block: 1px solid var(--line); }
.eyebrow { margin: 0 0 6px; color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 6vw, 46px); line-height: 1.1; margin: 0 0 10px; text-wrap: balance; }
.h3-section { font-family: var(--display); font-weight: 800; font-size: 26px; margin: 56px 0 6px; }
.sub { color: var(--muted); margin: 0 0 30px; max-width: 60ch; }
.empty { color: var(--muted); }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-pkgs { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); align-items: start; }
@media (max-width: 360px) { .grid-3, .grid-pkgs { grid-template-columns: 1fr; } }

/* Prices */
.price { margin: 6px 0 10px; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.2; }
.price .was { color: var(--muted); font-size: .62em; font-weight: 700; margin-right: 4px; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.price .unit { font-size: .55em; color: var(--muted); font-weight: 700; }

/* Service cards */
.svc, .pkg { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; display: flex; flex-direction: column; }
.section-alt .pkg { background: #111; }
.svc h3, .pkg h3 { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.25; margin: 0; }
.svc-room { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--silver); }
.svc-desc { color: var(--muted); font-size: 15px; margin: 8px 0 auto; padding-bottom: 12px; }
.svc .btn, .pkg .btn { margin-top: 14px; }

/* Package cards */
.pkg--premium { border-top: 3px solid var(--red); }
.pkg-tier { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.deposit { margin: 0 0 12px; font-size: 14px; color: var(--fg); background: rgba(255,0,0,.1); border: 1px solid rgba(255,0,0,.35); border-radius: 6px; padding: 6px 10px; }
.tagline { color: var(--muted); margin: 0 0 14px; font-size: 15px; }
.list-title { margin: 6px 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--silver); }
.incl { list-style: none; margin: 0 0 10px; padding: 0; font-size: 15px; }
.incl li { padding: 5px 0; border-bottom: 1px solid #222; }
.incl li:last-child { border-bottom: 0; }
.incl--compact { color: var(--muted); }
.closing { font-style: italic; color: var(--silver); font-size: 14px; margin: 6px 0 4px; }
.terms { margin-top: 8px; font-size: 13px; color: var(--muted); }
.terms summary { cursor: pointer; color: var(--silver); padding: 4px 0; }
.terms p { margin: 6px 0 0; }

/* Gallery */
.gallery-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ph { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--panel-2); aspect-ratio: 4 / 3; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; font-size: 14px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr 1fr; gap: 6px; } .ph figcaption { font-size: 12px; } }
.gallery-empty { border: 1px dashed #444; border-radius: var(--radius); padding: 40px 20px; text-align: center; color: var(--muted); }

/* Equipment */
.two-col { display: grid; gap: 24px; }
@media (min-width: 760px) { .two-col { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.gear { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.gear li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.gear small { color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--line); padding-top: 14px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 800; color: var(--red); font-size: 28px; display: block; line-height: 1; }
.steps b { display: block; margin: 10px 0 4px; font-size: 17px; }
.steps span { color: var(--muted); font-size: 15px; }

/* Book CTA */
.book-cta { background: linear-gradient(135deg, #1a0000, #000 60%); border-block: 1px solid var(--line); }
.book-cta .wrap { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.book-cta h2 { margin: 0; }
.book-cta p { color: var(--muted); margin: 8px 0 0; max-width: 48ch; }

/* FAQ */
#faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
#faq summary { cursor: pointer; font-weight: 700; font-size: 17px; }
#faq details p { color: var(--muted); margin: 8px 0 0; }
.more { margin-top: 20px; }
.more a { color: var(--fg); }

/* Find us */
.find-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 10px 0 26px; }
.find-grid p { margin: 0; }
.find-grid .label { font-size: 13px; color: var(--silver); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.find-grid a { color: var(--fg); }

/* Footer */
.site-footer { padding-block: 40px 120px; text-align: center; color: var(--muted); font-size: 14px; }
.site-footer img { width: 160px; margin: 0 auto 14px; }
.social { display: flex; justify-content: center; gap: 20px; margin-bottom: 12px; font-weight: 600; }
.social a { color: var(--fg); text-decoration: none; }
.social a:hover { color: var(--red); }
.legal a { color: var(--muted); }
.small { font-size: 13px; }

/* Sticky Book bar on phones */
.sticky-book {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(0,0,0,.92); border-top: 1px solid var(--line);
}
@media (min-width: 760px) { .sticky-book { display: none; } .site-footer { padding-bottom: 40px; } }

/* Simple text pages (terms, privacy, book placeholder) */
.page { padding-block: 40px 80px; }
.page h1 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 6vw, 44px); line-height: 1.1; margin: 0 0 8px; }
.page h2 { font-size: 22px; margin: 32px 0 8px; }
.page p, .page li { color: #ddd; }
.page .updated { color: var(--muted); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rec i { animation: none; }
  .hero-slides img { transition: none; transform: none; }
}

/* ---------- Booking pages ---------- */
.book-form .step { border-top: 1px solid var(--line); padding: 22px 0 8px; }
.book-form h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.step-no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red-btn); color: #fff; font-size: 15px; flex: none; }
.field-label { display: block; font-weight: 600; font-size: 15px; margin: 14px 0 6px; padding: 0; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: #111; border: 1px solid #444;
  border-radius: 8px; padding: 12px 14px; min-height: 48px;
}
input:focus, select:focus, textarea:focus { border-color: var(--fg); }
input[type=date] { color-scheme: dark; }
select { appearance: auto; }
.hint { color: var(--muted); font-size: 14px; margin: 8px 0; }
.center { text-align: center; }
.error { color: #ff6b6b; font-weight: 600; margin: 12px 0; }
.notice { border: 1px solid rgba(255,0,0,.45); background: rgba(255,0,0,.08); border-radius: var(--radius); padding: 12px 16px; margin: 16px 0; }
.notice p { margin: 6px 0; color: var(--fg); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.item-info { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin-top: 12px; }
.item-info p { margin: 4px 0; }
.item-name { font-weight: 700; }
.stepper { display: inline-flex; align-items: center; border: 1px solid #444; border-radius: 999px; overflow: hidden; }
.stepper button { width: 52px; height: 48px; font-size: 24px; background: #111; color: var(--fg); border: 0; cursor: pointer; }
.stepper button:disabled { color: #555; cursor: not-allowed; }
.stepper output { min-width: 96px; text-align: center; font-weight: 700; }

.times { margin-top: 14px; }
.time-group-label { margin: 14px 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--silver); }
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.time-btn { min-height: 46px; border-radius: 8px; border: 1px solid #444; background: #111; color: var(--fg); font: inherit; font-weight: 600; cursor: pointer; }
.time-btn:hover { border-color: var(--fg); }
.time-btn[aria-pressed="true"] { background: var(--red-btn); border-color: var(--red-btn); color: #fff; }

.pay { border: 0; padding: 0; margin: 18px 0 0; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #444; border-radius: var(--radius); padding: 12px 14px; margin-top: 8px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--red); background: rgba(255,0,0,.06); }
.radio-card input, .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red-btn); flex: none; }
.radio-card b { display: block; }
.radio-card small { color: var(--muted); font-size: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 6px; font-size: 15px; cursor: pointer; }
.check a { color: var(--fg); }

.summary { border: 1px solid var(--line); border-top: 3px solid var(--red); background: var(--panel-2); border-radius: var(--radius); padding: 16px; margin: 20px 0 12px; }
.summary-title { font-family: var(--display); font-weight: 800; margin: 0 0 8px; }
.summary dl, .details { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.summary dt, .details dt { color: var(--muted); }
.summary dd, .details dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin: 16px 0 20px; }
@media (max-width: 420px) {
  .summary dl, .details { grid-template-columns: 1fr; gap: 0; }
  .summary dd, .details dd { margin-bottom: 8px; }
}
.small-link a { color: var(--muted); }
#submit:disabled { opacity: .6; cursor: wait; }

.ref-line { font-size: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.ref { font-family: var(--display); letter-spacing: .06em; font-size: 22px; }
.copy-btn { background: transparent; color: var(--fg); border: 1px solid #555; border-radius: 999px; padding: 4px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.status { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.status-pending { background: #3a2a00; color: #ffd166; }
.status-ok { background: #0f3020; color: #6ee7a8; }
.status-bad { background: #3a0d0d; color: #ff8a8a; }
.resched { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 10px; }
.page .resched h2 { margin-top: 16px; }
.notice-ok { border-color: rgba(110,231,168,.5); background: rgba(110,231,168,.08); }
.pay-box { margin: 20px 0 8px; display: grid; gap: 10px; }
.pay-box .hint, .pay-box .error { margin: 2px 0; }
.receipt-btn { margin: 10px 0 18px; }

/* Payment method choice and bank transfer */
.pay-amounts { display: grid; gap: 8px; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.method-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 84px; justify-content: center;
  border: 1px solid #444; border-radius: var(--radius); background: #111; color: var(--fg); font: inherit; cursor: pointer; padding: 12px; }
.method-btn b { font-family: var(--display); font-size: 16px; }
.method-btn small { color: var(--muted); font-size: 13px; text-align: center; line-height: 1.3; }
.method-btn:hover { border-color: var(--fg); }
.method-btn[aria-pressed="true"] { border-color: var(--red); background: rgba(255,0,0,.08); }
@media (max-width: 360px) { .method-grid { grid-template-columns: 1fr; } }
.bank { border: 1px solid var(--line); border-top: 3px solid var(--red); background: var(--panel-2); border-radius: var(--radius); padding: 16px; margin-top: 12px; }
.bank-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #262626; flex-wrap: wrap; }
.bank-row:last-of-type { border-bottom: 0; }
.bank-row span { color: var(--muted); font-size: 14px; }
.bank-row b { font-size: 17px; overflow-wrap: anywhere; }
.bank-row .big { font-family: var(--display); font-size: 22px; letter-spacing: .04em; }
.bank-row .val { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.thanks { text-align: center; padding: 18px 0 6px; }
.thanks .tick { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center;
  background: #0f3020; color: #6ee7a8; font-size: 38px; font-weight: 800; }
.thanks h1 { margin-bottom: 6px; }
.thanks p { color: #ddd; }
.thanks .cta { justify-content: center; margin-top: 16px; }
.status-check { background: #1d2a3a; color: #9ecbff; }
.mt { margin-top: 14px; }
