/* Saenploeng Muay Thai — demo site styles
   Concept: Thai fight-poster vernacular. Poster yellow, red and blue ring corners,
   three ring ropes as the only recurring ornament. */

:root {
  --yellow: #FFD60A;      /* poster yellow */
  --red: #C8102E;         /* red corner */
  --blue: #1B2F8F;        /* blue corner */
  --ink: #000000;         /* poster ink */
  --paper: #FFFFFF;
  --canvas: #E9ECF2;      /* ring canvas */
  --muted: #45474D;
  --line-green: #06C755;
  --wa-green: #25D366;
  --focus: #1B2F8F;

  --display: "Noto Sans Thai", "Arial Narrow", "Thonburi", sans-serif;
  --body: "Bai Jamjuree", "Thonburi", "Leelawadee UI", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: 16px;
  --border: 3px solid var(--ink);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  overflow-wrap: break-word;
  padding-bottom: 68px; /* room for the mobile sticky bar */
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; }

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

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; font-weight: 600;
}
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Display type ---------- */
.display, h1, h2, .num {
  font-family: var(--display);
  font-stretch: 62.5%;
  font-weight: 900;
  letter-spacing: 0;
}
h2 {
  font-size: clamp(2.4rem, 9vw, 4.6rem);
  line-height: 1.15;
  margin-bottom: 0.35em;
}
:lang(en) h2 { line-height: 1.02; }
h3 { font-size: 1.2rem; line-height: 1.5; font-weight: 600; }

.lede { font-size: 1.125rem; max-width: 40em; color: var(--muted); }

/* ---------- Ring ropes ---------- */
.ropes {
  height: 21px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: linear-gradient(to bottom,
    var(--red) 0, var(--red) 33.3%, var(--paper) 33.3%, var(--paper) 66.6%, var(--blue) 66.6%, var(--blue) 100%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px;
  font-family: var(--body); font-weight: 600; font-size: 1.0625rem; line-height: 1.4;
  text-decoration: none; text-align: center;
  border: var(--border);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .08s ease, box-shadow .08s ease;
  cursor: pointer;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--ink); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--red { background: var(--red); color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--line { background: var(--line-green); color: var(--ink); }
.btn--wa { background: var(--wa-green); color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: var(--border);
  position: relative; z-index: 20;
}
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "brand tools" "nav nav";
  align-items: center; column-gap: 16px;
}
.brand { grid-area: brand; display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 64px; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-name { display: block; font-size: 1.75rem; line-height: 1.1; }
.brand-sub { display: block; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); font-weight: 600; }

.lang { grid-area: tools; display: flex; align-items: center; font-weight: 600; font-size: 0.9375rem; }
.lang a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 6px; text-decoration: none;
}
.lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.lang .sep { padding: 0 2px; color: var(--muted); }

.main-nav {
  grid-area: nav;
  border-top: 1px solid #d5d8de;
  margin: 0 calc(-1 * var(--gutter));
}
.main-nav ul {
  list-style: none; display: flex; gap: 2px; align-items: center;
  overflow-x: auto; scrollbar-width: none;
  padding: 4px var(--gutter);
  -webkit-overflow-scrolling: touch;
}
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 0.9375rem;
}
.main-nav a:hover { background: var(--yellow); }
.main-nav .nav-cta a { background: var(--red); color: var(--paper); border: 2px solid var(--ink); margin-left: 6px; }
.main-nav .nav-cta a:hover { background: var(--ink); }

.concept {
  background: var(--canvas);
  border-bottom: 1px solid #c9ced8;
  font-size: 0.8125rem; line-height: 1.6; font-weight: 600;
  padding: 6px 0;
}
.concept span {
  display: inline-block; border: 1.5px solid var(--ink); padding: 1px 10px; background: var(--paper);
}

/* ---------- Hero (fight poster) ---------- */
.hero {
  background: var(--yellow);
  overflow: clip;
}
.hero-grid {
  display: grid; gap: 28px;
  padding-top: 28px; padding-bottom: 36px;
}
.hero .hero-kicker {
  font-weight: 600; font-size: 0.9375rem;
  display: inline-block; background: var(--ink); color: var(--yellow);
  padding: 4px 12px; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(3.1rem, 15vw, 6.6rem);
  line-height: 1.12;
  margin-bottom: 20px;
}
:lang(en) .hero h1 { line-height: 1; font-size: clamp(2.8rem, 12vw, 5.6rem); }
.hero h1 .l { display: block; }
.hero h1 .l2 { color: var(--red); }
.hero h1 .l3 { color: var(--blue); }
.hero-text p { font-size: 1.125rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 16px; margin: 24px 0 0; }
.hero-text .tickets { margin-top: 30px; }

.hero-photo {
  position: relative;
  margin: 0 6px;
}
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 4px solid var(--ink);
  transform: rotate(-1.6deg);
  background: var(--ink);
}
.sticker {
  position: absolute; right: -4px; top: -16px;
  width: 112px; height: 112px; border-radius: 50%;
  background: var(--red); color: var(--paper);
  border: 3px solid var(--ink);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-weight: 600; font-size: 0.875rem; line-height: 1.35; padding: 10px;
  transform: rotate(8deg);
}

/* ticket row — like the price strip at the foot of a stadium poster */
.tickets {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: var(--border); background: var(--paper);
}
.tickets li { padding: 10px 10px 12px; border-left: var(--border); }
.tickets li:first-child { border-left: 0; }
.tickets .t-label { display: block; font-size: 0.8125rem; line-height: 1.6; font-weight: 600; color: var(--muted); }
.tickets .num { display: block; font-size: clamp(1.6rem, 7vw, 2.4rem); line-height: 1.15; }
.tickets .t-unit { font-size: 0.8125rem; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--canvas { background: var(--canvas); }
.section--ink { background: var(--ink); color: var(--paper); --focus: var(--yellow); }
.section--ink .lede { color: #C9CBD1; }
.section--yellow { background: var(--yellow); }
.section-head { margin-bottom: 32px; }

/* ---------- Packages ---------- */
.packages { list-style: none; display: grid; gap: 18px; }
.pkg {
  border: var(--border); background: var(--paper);
  padding: 20px 20px 22px;
  display: flex; flex-direction: column;
}
.pkg-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pkg h3 { font-size: 1.25rem; }
.pkg .pkg-term { font-size: 0.9375rem; color: var(--muted); margin: 0; }
.pkg .price { text-align: right; margin: 0; white-space: nowrap; }
.pkg .price .num { font-size: 3rem; line-height: 1.05; display: block; }
.pkg .price small { font-size: 0.875rem; font-weight: 600; }
.pkg ul { list-style: none; margin-top: 14px; border-top: 2px solid var(--ink); padding-top: 12px; }
.pkg li { padding-left: 22px; position: relative; margin-bottom: 4px; }
.pkg li::before {
  content: ""; position: absolute; left: 2px; top: 0.72em;
  width: 10px; height: 10px; background: var(--red);
}
.pkg--feature { background: var(--yellow); border-width: 4px; }
.pkg--feature .flag {
  align-self: flex-start;
  background: var(--ink); color: var(--yellow);
  font-size: 0.875rem; font-weight: 600; padding: 2px 10px; margin-bottom: 12px;
}
.pkg--feature .price .num { font-size: 3.6rem; }
.pkg-notes {
  margin-top: 28px; display: grid; gap: 12px;
  border-left: 6px solid var(--blue); padding: 4px 0 4px 16px;
}
.pkg-notes p { margin: 0; }

/* ---------- Schedule ---------- */
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 20px; }
.chip {
  display: inline-block; padding: 2px 10px; font-size: 0.9375rem; font-weight: 600; line-height: 1.6;
  border: 2px solid var(--ink); background: var(--paper);
}
.chip--basic { background: var(--blue); color: var(--paper); border-color: var(--blue); }
.chip--women { background: var(--red); color: var(--paper); border-color: var(--red); }
.chip--kids { background: var(--yellow); }
.chip--spar { background: var(--ink); color: var(--paper); }
.chip--closed { border-style: dashed; color: var(--muted); border-color: var(--muted); background: transparent; }
.chip small { font-weight: 400; }

.timetable { width: 100%; border-collapse: collapse; background: var(--paper); }
.timetable caption { text-align: left; font-size: 0.9375rem; color: var(--muted); padding-bottom: 10px; caption-side: bottom; padding-top: 12px; }
.timetable th, .timetable td { border: 2px solid var(--ink); padding: 10px 12px; text-align: left; vertical-align: top; }
.timetable thead th { background: var(--ink); color: var(--paper); font-weight: 600; line-height: 1.6; }
.timetable thead th span { display: block; font-weight: 400; font-size: 0.875rem; color: #D7D9DE; }
.timetable tbody th { font-weight: 600; white-space: nowrap; }
.timetable td .chip + .chip { margin-top: 6px; }
.timetable .time { display: block; font-size: 0.875rem; color: var(--muted); }

@media (max-width: 719px) {
  .timetable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .timetable, .timetable tbody, .timetable tr, .timetable th, .timetable td { display: block; }
  .timetable tr { border: var(--border); margin-bottom: 12px; background: var(--paper); }
  .timetable tbody th { background: var(--ink); color: var(--paper); border: 0; padding: 8px 12px; }
  .timetable td {
    border: 0; border-top: 1px solid #c9ced8;
    display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; align-items: start;
    padding: 10px 12px;
  }
  .timetable tbody th + td { border-top: 0; }
  .timetable td::before {
    content: attr(data-label);
    font-size: 0.875rem; font-weight: 600; color: var(--muted); line-height: 1.6; padding-top: 3px;
  }
  .timetable td .time { grid-column: 2; }
  .timetable td .chip { justify-self: start; }
  .timetable td.empty { display: none; }
  .timetable { background: transparent; }
}

/* ---------- Trainers ---------- */
.fighters { list-style: none; display: grid; gap: 22px; }
.fighter { background: var(--paper); color: var(--ink); border: 3px solid var(--paper); }
.fighter-plate { padding: 18px 18px 16px; color: var(--paper); }
.fighter--red .fighter-plate { background: var(--red); }
.fighter--blue .fighter-plate { background: var(--blue); }
.fighter-role {
  display: inline-block; font-size: 0.875rem; font-weight: 600;
  background: var(--paper); color: var(--ink); padding: 1px 10px; margin-bottom: 8px;
}
.fighter h3 {
  font-family: var(--display); font-stretch: 62.5%; font-weight: 900;
  font-size: clamp(2.8rem, 12vw, 3.8rem); line-height: 1.15;
}
.fighter-name { margin: 2px 0 0; font-size: 0.9375rem; }
.fighter-body { padding: 16px 18px 20px; }
.record {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0;
  border: 2px solid var(--ink);
}
.record div { padding: 6px 8px 8px; border-left: 2px solid var(--ink); }
.record div:first-child { border-left: 0; }
.record dt { font-size: 0.8125rem; font-weight: 600; color: var(--muted); line-height: 1.6; }
.record dd { margin: 0; font-family: var(--display); font-stretch: 62.5%; font-weight: 900; font-size: 2rem; line-height: 1.15; }
.record-bar { display: flex; height: 12px; margin: 10px 0 4px; border: 2px solid var(--ink); }
.record-bar .w { background: var(--ink); }
.record-bar .l { background: var(--red); }
.record-bar .d { background: var(--canvas); }
.record-key { font-size: 0.8125rem; color: var(--muted); margin: 0 0 12px; }
.fighter-facts { list-style: none; }
.fighter-facts li { padding: 6px 0; border-top: 1px solid #d5d8de; display: grid; grid-template-columns: 5.2em 1fr; gap: 8px; }
.fighter-facts b { font-weight: 600; }

/* ---------- Facilities ---------- */
.facility-grid { display: grid; gap: 28px; }
.facility-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facility-photos figure { margin: 0; }
.facility-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: var(--border); }
.facility-photos figure:first-child { grid-column: 1 / -1; }
.facility-photos figure:first-child img { aspect-ratio: 16 / 10; }
.facility-photos figcaption { font-size: 0.875rem; color: var(--muted); padding-top: 6px; }
.facilities { list-style: none; display: grid; gap: 0; border-top: var(--border); }
.facilities li {
  display: grid; grid-template-columns: 5.4rem 1fr; gap: 14px; align-items: start;
  padding: 14px 0; border-bottom: 2px solid var(--ink);
}
.facilities .num { font-size: 2.6rem; line-height: 1.1; color: var(--blue); }
.facilities h3 { font-size: 1.125rem; }
.facilities p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- First time ---------- */
.first-grid { display: grid; gap: 36px; }
.bring { list-style: none; border: var(--border); background: var(--paper); }
.bring li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px 16px; border-top: 2px solid var(--ink); }
.bring li:first-child { border-top: 0; }
.bring .tick {
  width: 26px; height: 26px; border: 2px solid var(--ink); margin-top: 3px;
  display: flex; align-items: center; justify-content: center; background: var(--yellow);
}
.bring .tick svg { width: 16px; height: 16px; }
.bring li.no .tick { background: var(--paper); }
.bring strong { font-weight: 600; }
.bring p { margin: 0; font-size: 0.9375rem; color: var(--muted); }

.class-flow { list-style: none; position: relative; }
.class-flow li {
  display: grid; grid-template-columns: 5.6rem 1fr; gap: 14px;
  padding: 0 0 18px; position: relative;
}
.class-flow .mins {
  font-family: var(--display); font-stretch: 62.5%; font-weight: 900;
  font-size: 1.6rem; line-height: 1.2; color: var(--red);
}
.class-flow h3 { font-size: 1.0625rem; }
.class-flow p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.class-flow li + li { border-top: 2px dashed #9aa0ab; padding-top: 14px; }
.h3-sub { font-family: var(--display); font-stretch: 62.5%; font-weight: 900; font-size: 2rem; line-height: 1.2; margin-bottom: 14px; }

/* ---------- Reviews ---------- */
.score { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.score .num { font-size: 4rem; line-height: 1; }
.stars { color: var(--red); font-size: 1.25rem; letter-spacing: 2px; }
.reviews { list-style: none; display: grid; gap: 18px; }
.review { border: var(--border); padding: 20px; margin: 0; background: var(--paper); display: flex; flex-direction: column; }
.review blockquote { margin: 0 0 14px; font-size: 1.0625rem; }
.review blockquote p { margin: 0; }
.review figcaption { margin-top: auto; font-size: 0.9375rem; border-top: 2px solid var(--ink); padding-top: 10px; }
.review figcaption b { font-weight: 600; display: block; }
.review figcaption span { color: var(--muted); }
.review--big { background: var(--blue); color: var(--paper); border-color: var(--blue); }
.review--big blockquote { font-family: var(--display); font-stretch: 62.5%; font-weight: 900; font-size: clamp(1.7rem, 6vw, 2.4rem); line-height: 1.3; }
.review--big figcaption { border-color: var(--paper); }
.review--big figcaption span { color: #D6DBF2; }
.review--big .stars { color: var(--yellow); }

/* ---------- FAQ ---------- */
.faq { border-top: var(--border); max-width: 52em; }
.faq details { border-bottom: 2px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 32px; gap: 12px; align-items: center;
  min-height: 56px; padding: 12px 0; font-weight: 600; font-size: 1.0625rem; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  width: 32px; height: 32px; border: 2px solid var(--ink); position: relative; background: var(--paper);
}
.faq summary .pm::before, .faq summary .pm::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink);
  width: 14px; height: 3px; transform: translate(-50%, -50%);
  transition: transform .2s ease;
}
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm { background: var(--yellow); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 44px 18px 0; color: #24262B; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Location ---------- */
.loc-grid { display: grid; gap: 32px; }
.address { font-size: 1.1875rem; font-weight: 600; line-height: 1.6; margin-bottom: 18px; }
.hours { margin: 0 0 22px; border: var(--border); background: var(--paper); }
.hours div { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; padding: 10px 14px; border-top: 2px solid var(--ink); }
.hours div:first-child { border-top: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 14px 16px; margin: 0 0 30px; }
.getting-here { list-style: none; margin-top: 22px; }
.getting-here li { padding: 10px 0 10px 26px; position: relative; border-top: 1px solid #c9ced8; }
.getting-here li::before { content: ""; position: absolute; left: 4px; top: 1.15em; width: 12px; height: 12px; background: var(--blue); border-radius: 50%; }
.map-sketch { border: var(--border); background: var(--paper); margin: 0; }
.map-sketch svg { display: block; width: 100%; height: auto; }
.map-sketch figcaption { font-size: 0.875rem; color: var(--muted); padding: 8px 12px; border-top: 2px solid var(--ink); }

/* ---------- Booking ---------- */
.book-grid { display: grid; gap: 28px; }
.book-aside p { font-size: 1.0625rem; }
.book-aside .contact-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.book-photo { margin: 0; }
.book-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: var(--border); }
.book-photo figcaption { font-size: 0.9375rem; font-weight: 600; padding-top: 8px; }
.book-grid > .book-photo { order: 3; }
.form-card { background: var(--paper); border: 4px solid var(--ink); padding: 22px 18px 24px; box-shadow: 8px 8px 0 var(--ink); }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; line-height: 1.6; }
.field .hint { display: block; font-weight: 400; font-size: 0.875rem; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 10px 12px;
  font: inherit; font-size: 1.0625rem; line-height: 1.6;
  border: 2px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink);
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { margin: 0; font-weight: 600; }
.radios input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radios span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 6px 14px;
  border: 2px solid var(--ink); cursor: pointer; background: var(--paper);
}
.radios input:checked + span { background: var(--ink); color: var(--yellow); }
.radios input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.form-card .btn { width: 100%; }
.form-error { border: 2px solid var(--red); border-left-width: 8px; padding: 8px 12px; font-weight: 600; color: var(--red); margin-bottom: 16px; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--red); border-width: 3px; }
.form-small { font-size: 0.875rem; color: var(--muted); margin: 14px 0 0; }

.thanks { outline: none; }
.thanks h3 { font-family: var(--display); font-stretch: 62.5%; font-weight: 900; font-size: 2.6rem; line-height: 1.2; margin-bottom: 10px; }
.thanks .contact-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.thanks.is-in { animation: punch-in .35s cubic-bezier(.2, .9, .3, 1.2) both; }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 28px; background: var(--paper); }
.footer-grid { display: grid; gap: 22px; }
.footer-grid h2 { font-size: 2.4rem; margin: 0; }
.footer-grid p { margin: 0 0 6px; }
.footer-grid a { text-underline-offset: 3px; }
.footer-grid .small { font-size: 0.875rem; color: var(--muted); }

/* PV Dev strip — deliberately outside the demo's own look */
.pvdev {
  background: #1F2228; color: #E6E8EC;
  font-family: system-ui, -apple-system, "Segoe UI", "Leelawadee UI", "Thonburi", sans-serif;
  font-size: 0.8125rem; line-height: 1.6; text-align: center;
  padding: 12px var(--gutter);
  --focus: #9FC2FF;
}
.pvdev a { color: #FFFFFF; text-underline-offset: 3px; display: inline-block; padding: 6px 0; }

/* ---------- Mobile sticky bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr 1.6fr;
  border-top: var(--border); background: var(--ink);
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-bar--4 { grid-template-columns: 1.1fr 0.8fr 0.8fr 1.3fr; }
.sticky-bar a {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 60px; padding: 6px 4px; text-decoration: none;
  font-weight: 600; font-size: 0.9375rem; line-height: 1.35; text-align: center;
  border-left: 2px solid var(--ink);
}
.sticky-bar a:first-child { border-left: 0; }
.sticky-bar svg { width: 20px; height: 20px; flex: none; }
.sb-line { background: var(--line-green); color: var(--ink); }
.sb-wa { background: var(--wa-green); color: var(--ink); }
.sb-call { background: var(--paper); color: var(--ink); }
.sb-book { background: var(--red); color: var(--paper); }
.sticky-bar a:focus-visible { outline: 3px solid var(--yellow); outline-offset: -5px; }

/* ---------- Motion: one orchestrated moment (hero headline lands like a combo) ---------- */
@keyframes punch-in {
  from { opacity: 0; transform: translateX(-14%) skewX(-8deg); }
  to { opacity: 1; transform: none; }
}
.hero h1 .l { animation: punch-in .5s cubic-bezier(.2, .9, .3, 1.15) both; }
.hero h1 .l2 { animation-delay: .12s; }
.hero h1 .l3 { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* single-column grids on small screens never grow past the viewport */
.hero-grid, .facility-grid, .first-grid, .loc-grid, .book-grid, .footer-grid,
.packages, .fighters, .reviews { grid-template-columns: minmax(0, 1fr); }
.main-nav, .brand { min-width: 0; }

/* ---------- Breakpoints ---------- */
@media (min-width: 600px) {
  .reviews { grid-template-columns: 1fr 1fr; }
  .review--big { grid-column: 1 / -1; }
  .facility-photos img { aspect-ratio: 4 / 5; }
}

@media (min-width: 768px) {
  :root { --gutter: 28px; }
  .section { padding: 88px 0; }
  .packages { grid-template-columns: 1fr 1fr; }
  .pkg--feature { grid-column: 1 / -1; }
  .fighters { grid-template-columns: 1fr 1fr; }
  .first-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .loc-grid { grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .form-card { padding: 30px 30px 32px; }
  .tickets li { padding: 12px 16px 14px; }
}

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center; gap: 48px;
    padding-top: 56px; padding-bottom: 64px;
  }
  .hero-photo img { aspect-ratio: 4 / 5; }
  .hero-text .tickets { margin-top: 36px; }
  .sticker { width: 132px; height: 132px; font-size: 0.9375rem; right: -18px; top: -24px; }
  .packages { grid-template-columns: repeat(6, 1fr); }
  .pkg { grid-column: span 2; }
  .pkg--feature { grid-column: span 4; }
  .pkg--feature .price .num { font-size: 4.6rem; }
  .fighters { grid-template-columns: repeat(4, 1fr); }
  .facility-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .review--big { grid-column: span 2; grid-row: span 2; justify-content: space-between; }
  .book-grid { grid-template-columns: 0.9fr 1.1fr; column-gap: 56px; row-gap: 32px; align-items: start; }
  .book-aside { grid-column: 1; grid-row: 1; }
  .book-grid > .book-photo { grid-column: 1; grid-row: 2; }
  .form-card { grid-column: 2; grid-row: 1 / span 2; }
}

@media (min-width: 1180px) {
  .site-header { position: sticky; top: 0; }
  .header-inner { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand nav tools"; column-gap: 20px; }
  .brand { min-height: 76px; }
  .main-nav { border-top: 0; margin: 0; justify-self: end; }
  .main-nav ul { padding: 0; overflow: visible; }
  .main-nav a { padding: 0 9px; }
  html { scroll-padding-top: 90px; }
}

@media (max-width: 400px) {
  .sticky-bar--4 svg { display: none; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 1.5rem; }
  .brand-sub { display: none; }
  .tickets .t-label { font-size: 0.75rem; }
}
