/*
Theme Name: Royal Fitness
Version: 3.3.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: royal-fitness
Description: The approved Royal Fitness design, powered by native WordPress.
*/
/* Royal Fitness — shared tokens and components, ready for theme extraction. */
@font-face {
  font-family: Barlow;
  src: url("assets/barlow-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("assets/barlow-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("assets/barlow-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Bebas Neue";
  src: url("assets/bebas-neue.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  --background: #080909;
  --panel: #101111;
  --gold: #f6c75e;
  --gold-soft: #ffd882;
  --text: #f5f5f3;
  --muted: #d4d4d4;
  --border: #aa8238;
  --content: 1120px;
  --heading: "Bebas Neue", "Arial Narrow", sans-serif;
  --body: Barlow, Arial, sans-serif;
  --ease: 200ms ease;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 400 16px/1.35 var(--body);
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.05;
}
h2,
h3 {
  font-weight: 400;
}
h2 {
  font: 400 38px/1 var(--heading);
}
.container {
  width: calc(100% - 112px);
  max-width: var(--content);
  margin-inline: auto;
}
.section {
  padding-block: 16px;
}
.gold {
  color: var(--gold);
}
.svg-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  background: var(--gold);
  padding: 12px;
  color: #080909;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 5px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 37px;
  padding: 7px 26px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.56);
  box-shadow: inset 0 0 0 2px #ffffff07;
  color: var(--text);
  font-size: 13px;
  line-height: 1.1;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background var(--ease),
    color var(--ease),
    box-shadow var(--ease),
    transform var(--ease);
}
.button:hover {
  background: #f6c75e17;
  box-shadow: 0 0 15px #e8af3324;
  transform: translateY(-2px);
}
.button-gold {
  background: linear-gradient(110deg, #eeb957 0%, #ffda87 52%, #f1bd59 100%);
  border-color: #ffda83;
  color: #080909;
  font-weight: 700;
  box-shadow:
    inset 0 0 0 2px #fff2,
    0 3px 12px #0005;
}
.button-gold:hover {
  background: linear-gradient(110deg, #ffd075, #ffe3a0, #ffd075);
  box-shadow: 0 3px 22px #e8af3338;
}
.button-small {
  min-height: 29px;
  font-size: 12px;
  padding: 6px 22px;
  color: var(--gold);
}
/* Header, hero and branch tiles. */
.hero-shell {
  position: relative;
  isolation: isolate;
  padding-bottom: 15px;
  background:
    linear-gradient(180deg, #0003 0%, #0002 58%, #080909b3 100%),
    url("assets/hero.png") center 38% / cover no-repeat;
  background-color: #10100e;
}
.site-header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  width: calc(100% - 90px);
  max-width: 1170px;
}
.brand {
  width: 120px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  color: white;
  flex: none;
}
.brand-crown {
  width: 33px;
  height: 23px;
  color: var(--gold);
  stroke-width: 2;
}
.brand > span {
  font-family: Arial, sans-serif;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 3px;
}
.brand > small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 7px;
  margin-top: 4px;
  padding-left: 7px;
  color: var(--gold);
}
.primary-navigation {
  display: flex;
  align-items: center;
  gap: 22px;
}
.primary-navigation a {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 15px 0;
}
.primary-navigation a:after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--ease);
}
.primary-navigation a:hover:after,
.primary-navigation .is-active:after {
  transform: scaleX(1);
}
.header-join {
  padding-inline: 20px;
  font-size: 12px;
  min-height: 33px;
}
.menu-toggle {
  display: none;
}
.hero {
  text-align: center;
  padding: 25px 0 24px;
}
.hero-crown {
  width: 96px;
  height: 63px;
  color: var(--gold);
  margin-bottom: 15px;
}
.hero h1 {
  font-family: var(--heading);
  font-size: clamp(64px, 7.5vw, 98px);
  line-height: 0.98;
  letter-spacing: -0.8px;
  text-shadow: 0 3px 16px #0008;
}
.hero h1 span,
.offers h2 span {
  color: var(--gold);
}
.hero > p {
  color: var(--gold);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.65px;
  text-transform: uppercase;
  margin-top: 3px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 17px;
  margin-top: 19px;
}
.hero-actions .button {
  min-width: 164px;
  min-height: 44px;
}
.branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-inline: 7px;
}
.branch-card {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--gold);
  box-shadow:
    inset 0 0 0 3px #f7c56616,
    0 6px 16px #0004;
  border-radius: 6px;
  overflow: hidden;
  min-height: 214px;
  display: grid;
  place-items: center;
}
.reference-image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--w) / var(--h);
  background: #1a1a1a;
}
.reference-image img {
  position: absolute;
  max-width: none;
  width: calc(941 / var(--w) * 100%);
  height: auto;
  left: calc(-1 * var(--x) / var(--w) * 100%);
  top: calc(-1 * var(--y) / var(--h) * 100%);
}
.branch-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  width: 100%;
}
.branch-image img {
  top: calc(-1 * var(--y) / var(--w) * 100cqw);
}
.branch-card {
  container-type: inline-size;
}
.branch-card:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #0002, #0009 45%, #0005);
}
.branch-content {
  padding: 24px;
  text-align: center;
}
.branch-content h2 {
  font-size: 40px;
}
.branch-content p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-weight: 600;
  margin: 7px 0 14px;
}
.branch-content svg {
  color: var(--gold);
  width: 16px;
  height: 18px;
  stroke-width: 3;
}
.branch-content .button {
  min-width: 160px;
}
/* Compact benefit strip and reusable trainer cards. */
.benefits {
  background: linear-gradient(110deg, #101111, #141515 48%, #0e0f0f);
  padding: 16px 0;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: calc(100% - 50px);
  max-width: 1190px;
}
.benefits article {
  text-align: center;
  position: relative;
  padding: 0 14px;
}
.benefits article + article:before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 0;
  width: 1px;
  background: #454545;
}
.benefits article > svg {
  color: var(--gold);
  width: 43px;
  height: 38px;
  margin-bottom: 9px;
}
.benefits h2 {
  font: 600 14px/1.2 var(--body);
  text-transform: uppercase;
  margin-bottom: 7px;
}
.benefits p {
  font-size: 15px;
  line-height: 1.2;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
}
.eyebrow {
  display: block;
  font: 500 19px/1 var(--body);
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.2px;
  margin-bottom: 2px;
}
.trainer-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.trainer-card {
  overflow: hidden;
  border-radius: 3px;
  background: #030303;
  transition:
    transform var(--ease),
    box-shadow var(--ease);
}
.trainer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 20px #f6c75e12;
}
.trainer-info {
  text-align: center;
  padding: 6px 8px 9px;
}
.trainer-info h3 {
  font: 600 20px/1.2 var(--body);
}
.trainer-info p {
  color: var(--gold);
  font-size: 16px;
  margin: 1px 0 5px;
  white-space: nowrap;
}
.trainer-info .button {
  width: 100%;
  padding: 5px 3px;
  font-size: 12px;
  min-height: 29px;
}
/* Offers. */
.offers {
  background: linear-gradient(110deg, #101111, #0a0b0b);
  padding: 16px 0;
}
.offers-panel {
  width: calc(100% - 50px);
  max-width: 1190px;
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 1.12fr 1fr 1.06fr 1.1fr;
  gap: 16px;
}
.offers-intro {
  align-self: center;
  padding: 0 7px;
}
.offers h2 {
  font-size: 44px;
  white-space: nowrap;
}
.offer-tagline {
  font-size: 19px;
  font-weight: 500;
  margin: 2px 0 10px;
}
.offers-intro > p:not(.offer-tagline) {
  font-size: 16px;
  line-height: 1.3;
}
.offers-intro .button {
  margin-top: 19px;
  min-height: 39px;
}
.offer-card {
  border: 1px solid #8e6d2c;
  border-radius: 6px;
  overflow: hidden;
  background: #040505;
  transition:
    border-color var(--ease),
    transform var(--ease);
}
.offer-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.offer-card > :is(button, a) {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
  width: 100%;
  height: 100%;
}
.offer-copy {
  padding: 9px 4px 7px;
}
.offer-copy h3 {
  font: 400 22px/1.1 var(--heading);
}
.offer-copy p {
  font-size: 14px;
  line-height: 1.18;
  margin-top: 4px;
}
/* Membership selector and pricing cards. */
.membership {
  text-align: center;
  padding-top: 16px;
  padding-bottom: 0;
}
.membership h2 {
  font-size: 36px;
}
.membership-tagline {
  font-size: 17px;
  font-weight: 500;
}
.branch-switch {
  display: flex;
  max-width: 392px;
  margin: 8px auto 14px;
  padding: 2px;
  border: 1px solid #787878;
  border-radius: 30px;
  background: #080909;
}
.branch-switch button {
  flex: 1;
  border: 1px solid transparent;
  border-radius: 30px;
  background: transparent;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition:
    color var(--ease),
    background var(--ease);
}
.branch-switch svg {
  width: 18px;
  height: 20px;
}
.branch-switch .is-active {
  color: #080909;
  border-color: #ffdc92;
  background: linear-gradient(110deg, #edb24e, #ffdb86, #f3bd59);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  max-width: 900px;
  margin: auto;
}
.plan {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 31px 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at top, #14141488, transparent 65%);
  box-shadow: inset 0 0 0 3px #e3ba6710;
  text-align: center;
}
.plan h3 {
  font: 600 16px/1.1 var(--body);
  text-transform: uppercase;
}
.price {
  font-size: 35px;
  font-weight: 600;
  line-height: 1.05;
  margin: 1px 0 4px;
}
.price span {
  font-size: 22px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  text-align: left;
  font-size: 14px;
  line-height: 1.3;
}
.plan li {
  position: relative;
  padding-left: 25px;
}
.plan li:before {
  content: "✓";
  position: absolute;
  left: 3px;
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}
.plan > .button {
  width: 100%;
  margin-top: auto;
  min-height: 30px;
  padding: 4px 12px;
  font-size: 14px;
}
.plan-featured {
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px #d5a84444,
    inset 0 0 0 3px #e3ba6710;
}
.popular-label {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -45%);
  padding: 3px 24px;
  border-radius: 3px;
  color: #050505;
  background: linear-gradient(110deg, #f0b653, #ffe09b, #f3be64);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.membership-note {
  font-size: 12px;
  margin: 8px 0 0;
  color: var(--muted);
}
/* Gallery, locations and footer. */
.gallery {
  width: calc(100% - 82px);
  max-width: 1160px;
  margin-inline: auto;
  padding-top: 6px;
  padding-bottom: 7px;
}
.gallery .section-heading {
  padding-inline: 14px;
  margin-bottom: 7px;
}
.gallery h2 {
  font-size: 32px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.gallery-item {
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: #080909;
  transition:
    border-color var(--ease),
    transform var(--ease);
}
.gallery-item:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}
.gallery-item .reference-image {
  width: 100%;
}
.locations {
  background: linear-gradient(105deg, #131414, #0b0c0c 48%, #111212);
  padding: 7px 0;
}
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 36px;
  align-items: center;
  max-width: 1060px;
}
.location-card h3 {
  font: 600 13px/1.2 var(--body);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.location-card p,
.location-card > a:not(.button) {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  line-height: 1.5;
}
.location-card svg {
  color: var(--gold);
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}
.location-card .button {
  margin-top: 3px;
  min-height: 26px;
  padding: 4px 24px;
  font-size: 11px;
}
.location-card:last-child {
  justify-self: end;
}
.location-map {
  align-self: stretch;
  text-align: center;
  position: relative;
}
.location-map h2 {
  font-size: 26px;
  color: var(--gold);
}
.map-art {
  position: relative;
  height: 90px;
  overflow: hidden;
  margin: 0 -20px;
  background:
    repeating-linear-gradient(
      43deg,
      transparent 0 24px,
      #a57a211d 25px,
      transparent 26px 44px
    ),
    repeating-linear-gradient(
      -43deg,
      transparent 0 28px,
      #a57a2124 29px,
      transparent 30px 54px
    );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 20%,
    #000 80%,
    transparent
  );
}
.map-pin {
  position: absolute;
  top: 4px;
  background: none;
  border: none;
  color: var(--gold);
  padding: 5px;
}
.map-pin svg {
  width: 25px;
  height: 32px;
  fill: var(--gold);
  stroke: #080909;
  stroke-width: 1.3;
}
.map-pin-temka {
  left: 24%;
}
.map-pin-varketili {
  right: 20%;
  top: 11px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
  max-width: 1070px;
}
.brand-small {
  width: 65px;
}
.brand-small .brand-crown {
  width: 20px;
  height: 15px;
}
.brand-small > span {
  font-size: 17px;
  letter-spacing: 1.6px;
}
.brand-small > small {
  font-size: 6px;
  letter-spacing: 3px;
  margin-top: 2px;
  padding-left: 3px;
}
.site-footer > p {
  font-size: 13px;
  color: var(--muted);
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-links :is(button, a) {
  padding: 9px;
  border: 0;
  background: none;
  transition: color var(--ease);
}
.social-links :is(button, a):hover {
  color: var(--gold);
}
.social-links svg {
  width: 18px;
  height: 18px;
}
/* Detail overlays remain outside the page's reference layout. */
dialog {
  width: min(620px, calc(100% - 32px));
  max-height: 90dvh;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 34px;
  background: linear-gradient(130deg, #171818, #080909);
  color: var(--text);
  box-shadow: 0 20px 90px #000b;
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(5px);
}
.dialog-close {
  position: absolute;
  right: 9px;
  top: 7px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-size: 30px;
  color: var(--gold);
}
#dialog-content h2 {
  color: var(--gold);
  margin: 0 30px 12px 0;
  font-size: 36px;
}
#dialog-content p {
  margin-block: 10px;
}
#dialog-content .button {
  margin-top: 14px;
}
.dialog-portrait {
  width: 170px;
  margin: 0 auto 20px;
  border-radius: 5px;
}
.dialog-gallery {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.gallery-controls .button {
  min-height: 44px;
}
.dialog-list {
  display: grid;
  gap: 10px;
}
.dialog-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px;
  background: #ffffff06;
  border: 1px solid #ffffff20;
  border-radius: 4px;
  text-align: left;
}
.dialog-list button:hover {
  border-color: var(--gold);
}
.dialog-list span {
  color: var(--gold);
}
.join-form {
  display: grid;
  gap: 12px;
}
.join-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}
.join-form input,
.join-form select {
  width: 100%;
  padding: 11px;
  border: 1px solid #777;
  border-radius: 4px;
  background: #121313;
  color: #fff;
  min-height: 44px;
}
.demo-note {
  font-size: 13px;
  color: #bfbfbf;
}
.success-message {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.success-message strong {
  color: var(--gold);
}
/* Scale the compact reference proportionally at laptop widths. */
@media (min-width: 761px) and (max-width: 1100px) {
  .site-header {
    height: 74px;
    gap: 18px;
  }
  .brand {
    width: 91px;
  }
  .brand > span {
    font-size: 25px;
  }
  .brand-crown {
    height: 21px;
    width: 29px;
  }
  .brand > small {
    font-size: 8px;
    letter-spacing: 6px;
  }
  .primary-navigation {
    gap: 17px;
  }
  .primary-navigation a {
    font-size: 10px;
  }
  .hero {
    padding: 15px 0 19px;
  }
  .hero-crown {
    width: 80px;
    height: 52px;
    margin-bottom: 14px;
  }
  .hero h1 {
    font-size: 74px;
  }
  .hero > p {
    font-size: 14px;
  }
  .hero-actions {
    margin-top: 15px;
    gap: 14px;
  }
  .hero-actions .button {
    min-width: 132px;
    min-height: 36px;
    font-size: 11px;
    padding-inline: 18px;
  }
  .branch-card {
    min-height: 170px;
  }
  .branch-content {
    padding: 18px;
  }
  .branch-content h2 {
    font-size: 33px;
  }
  .branch-content p {
    font-size: 13px;
    margin: 5px 0 12px;
  }
  .branch-content .button {
    min-width: 127px;
    min-height: 30px;
    font-size: 12px;
  }
  .benefits {
    padding: 12px 0;
  }
  .benefits article > svg {
    width: 36px;
    height: 30px;
    margin-bottom: 7px;
  }
  .benefits h2 {
    font-size: 12px;
  }
  .benefits p {
    font-size: 13px;
  }
  .section {
    padding-block: 12px;
  }
  .section-heading {
    margin-bottom: 8px;
  }
  h2 {
    font-size: 34px;
  }
  .eyebrow {
    font-size: 16px;
  }
  .trainer-grid {
    gap: 12px;
  }
  .trainer-info {
    padding: 4px 9px 7px;
  }
  .trainer-info h3 {
    font-size: 17px;
  }
  .trainer-info p {
    font-size: 14px;
  }
  .trainer-info .button {
    font-size: 11px;
    min-height: 24px;
  }
  .button-small {
    font-size: 11px;
    min-height: 27px;
  }
  .offers-panel {
    padding: 14px 18px;
    gap: 12px;
  }
  .offers h2 {
    font-size: 36px;
  }
  .offer-tagline {
    font-size: 16px;
  }
  .offers-intro > p:not(.offer-tagline) {
    font-size: 14px;
  }
  .offers-intro .button {
    font-size: 12px;
    min-height: 32px;
    margin-top: 15px;
  }
  .offer-copy h3 {
    font-size: 19px;
  }
  .offer-copy p {
    font-size: 12px;
  }
  .offer-copy {
    padding: 7px 3px 5px;
  }
  .membership {
    padding-top: 14px;
    padding-bottom: 0;
  }
  .membership h2 {
    font-size: 30px;
  }
  .membership-tagline {
    font-size: 15px;
  }
  .branch-switch {
    max-width: 310px;
    margin: 6px auto 12px;
  }
  .branch-switch button {
    min-height: 23px;
    font-size: 11px;
  }
  .branch-switch svg {
    height: 17px;
    width: 16px;
  }
  .plans {
    max-width: 710px;
    gap: 12px;
  }
  .plan {
    padding: 13px 24px 10px;
  }
  .plan h3 {
    font-size: 13px;
  }
  .price {
    font-size: 29px;
  }
  .price span {
    font-size: 18px;
  }
  .plan ul {
    font-size: 12px;
  }
  .plan li {
    padding-left: 23px;
  }
  .plan > .button {
    font-size: 12px;
    min-height: 25px;
  }
  .popular-label {
    font-size: 10px;
    padding: 2px 20px;
  }
  .membership-note {
    font-size: 10px;
    margin-top: 6px;
  }
  .gallery {
    padding-top: 4px;
    padding-bottom: 5px;
  }
  .gallery h2 {
    font-size: 27px;
  }
  .locations-grid {
    gap: 28px;
    width: calc(100% - 158px);
  }
  .location-card h3 {
    font-size: 11px;
  }
  .location-card p,
  .location-card > a:not(.button) {
    font-size: 10px;
    gap: 9px;
  }
  .location-card .button {
    font-size: 10px;
    min-height: 23px;
    padding: 3px 20px;
  }
  .location-map h2 {
    font-size: 22px;
  }
  .map-art {
    height: 70px;
  }
  .site-footer {
    min-height: 50px;
    width: calc(100% - 144px);
  }
  .site-footer > p {
    font-size: 11px;
  }
}
@media (max-width: 900px) and (min-width: 761px) {
  .site-header {
    width: calc(100% - 54px);
    gap: 12px;
  }
  .primary-navigation {
    gap: 12px;
  }
  .header-join {
    padding-inline: 13px;
  }
  .container {
    width: calc(100% - 70px);
  }
  .offers-panel {
    grid-template-columns: 1.12fr 1fr 1fr 1fr;
    padding: 14px;
    gap: 10px;
  }
  .offers h2 {
    font-size: 30px;
  }
  .offers-intro .button {
    padding-inline: 16px;
  }
  .trainer-info {
    padding-inline: 5px;
  }
  .trainer-info p {
    font-size: 12px;
  }
  .plan {
    padding-inline: 18px;
  }
  .locations-grid {
    width: calc(100% - 90px);
    gap: 22px;
  }
  .gallery {
    width: calc(100% - 54px);
  }
}
/* Tablet and phone: preserve section order and all reference content. */
@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }
  .site-header {
    width: calc(100% - 40px);
    height: 80px;
    gap: 16px;
    position: relative;
    z-index: 5;
  }
  .brand {
    width: 100px;
  }
  .brand > span {
    font-size: 25px;
  }
  .brand-crown {
    width: 28px;
    height: 21px;
  }
  .brand > small {
    font-size: 8px;
    letter-spacing: 6px;
  }
  .header-join {
    margin-left: auto;
    min-height: 40px;
  }
  .menu-toggle {
    display: flex;
    order: 3;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 10px;
    width: 44px;
    height: 44px;
    border: 1px solid #bf933a70;
    background: #080909b3;
    border-radius: 4px;
  }
  .menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--gold);
    transition:
      transform var(--ease),
      opacity var(--ease);
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }
  .primary-navigation {
    display: none;
    position: absolute;
    top: 73px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: #090a0af5;
    box-shadow: 0 10px 30px #0009;
  }
  .primary-navigation.is-open {
    display: flex;
  }
  .primary-navigation a {
    width: 100%;
    font-size: 14px;
    padding: 12px 3px;
  }
  .hero {
    padding: 35px 0 30px;
  }
  .hero-crown {
    width: 80px;
    height: 54px;
    margin-bottom: 16px;
  }
  .hero h1 {
    font-size: clamp(57px, 10vw, 80px);
  }
  .hero > p {
    font-size: 13px;
    letter-spacing: 0.4px;
    margin: 8px auto 0;
    max-width: 410px;
  }
  .hero-actions {
    gap: 12px;
    margin-top: 22px;
  }
  .hero-actions .button {
    font-size: 12px;
    min-width: 145px;
    padding-inline: 15px;
  }
  .branches {
    gap: 14px;
    padding: 0;
  }
  .branch-card {
    min-height: 184px;
  }
  .branch-content {
    padding: 15px;
  }
  .branch-content h2 {
    font-size: 34px;
  }
  .branch-content p {
    font-size: 14px;
  }
  .branch-content .button {
    min-height: 40px;
    padding-inline: 18px;
    min-width: 130px;
  }
  .branch-image img {
    min-height: 100%;
  }
  .benefits {
    padding: 22px 0;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 25px;
  }
  .benefits article:nth-child(3):before {
    display: none;
  }
  .benefits h2 {
    font-size: 13px;
  }
  .benefits p {
    font-size: 14px;
  }
  .benefits article > svg {
    height: 34px;
    margin-bottom: 8px;
  }
  .section {
    padding-block: 25px;
  }
  .section-heading {
    margin-bottom: 16px;
  }
  h2 {
    font-size: 36px;
  }
  .eyebrow {
    font-size: 16px;
  }
  .button-small {
    min-height: 40px;
    padding: 8px 15px;
    font-size: 11px;
  }
  .trainer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .trainer-info h3 {
    font-size: 19px;
  }
  .trainer-info p {
    font-size: 14px;
  }
  .trainer-info .button {
    min-height: 36px;
    font-size: 11px;
    margin-top: 3px;
  }
  .offers-panel {
    width: calc(100% - 40px);
    padding: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .offers-intro {
    grid-column: 1/-1;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 16px;
  }
  .offers h2 {
    font-size: 38px;
  }
  .offer-tagline {
    font-size: 17px;
  }
  .offers-intro > p:not(.offer-tagline) {
    font-size: 14px;
  }
  .offers-intro .button {
    grid-column: 2;
    grid-row: 1/4;
    align-self: center;
    margin: 0;
    padding-inline: 18px;
  }
  .offer-copy h3 {
    font-size: 19px;
  }
  .offer-copy p {
    font-size: 12px;
  }
  .membership h2 {
    font-size: 36px;
  }
  .branch-switch {
    margin: 12px auto 24px;
  }
  .branch-switch button {
    min-height: 40px;
  }
  .plans {
    gap: 12px;
  }
  .plan {
    padding: 20px 13px 13px;
  }
  .plan h3 {
    font-size: 14px;
  }
  .price {
    font-size: 32px;
    margin-block: 5px;
  }
  .plan ul {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  .plan li {
    padding-left: 18px;
  }
  .plan li:before {
    left: 0;
    font-size: 16px;
    line-height: 1.2;
  }
  .plan > .button {
    min-height: 40px;
    font-size: 12px;
  }
  .popular-label {
    font-size: 10px;
    padding: 4px 12px;
  }
  .membership-note {
    margin-top: 12px;
    font-size: 12px;
  }
  .gallery {
    width: calc(100% - 40px);
    padding-top: 0;
  }
  .gallery .section-heading {
    padding: 0;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }
  .gallery h2 {
    font-size: 34px;
  }
  .locations {
    padding: 22px 0;
  }
  .locations-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .location-map {
    grid-column: 1/-1;
    grid-row: 1;
  }
  .location-map h2 {
    font-size: 29px;
  }
  .map-art {
    max-width: 430px;
    margin: auto;
    height: 80px;
  }
  .location-card:last-child {
    justify-self: end;
  }
  .location-card h3 {
    font-size: 13px;
  }
  .location-card p,
  .location-card > a:not(.button) {
    font-size: 12px;
  }
  .location-card .button {
    min-height: 40px;
    margin-top: 8px;
    font-size: 11px;
    padding-inline: 18px;
  }
  .site-footer {
    min-height: 85px;
    gap: 15px;
  }
  .site-footer > p {
    font-size: 12px;
    max-width: 170px;
    text-align: center;
  }
  .social-links {
    gap: 0;
  }
  .social-links :is(button, a) {
    padding: 9px;
    min-width: 38px;
    min-height: 44px;
  }
}
@media (max-width: 480px) {
  .container,
  .site-header,
  .offers-panel,
  .gallery {
    width: calc(100% - 32px);
  }
  .site-header {
    gap: 12px;
    height: 76px;
  }
  .header-join {
    font-size: 11px;
    padding-inline: 15px;
    min-height: 38px;
  }
  .brand {
    width: 87px;
  }
  .brand > span {
    font-size: 23px;
  }
  .hero {
    padding: 27px 0 30px;
  }
  .hero h1 {
    font-size: clamp(49px, 12.8vw, 63px);
  }
  .hero > p {
    max-width: 310px;
    font-size: 12px;
    line-height: 1.5;
  }
  .hero-crown {
    width: 72px;
    height: 49px;
    margin-bottom: 18px;
  }
  .hero-actions .button {
    min-width: 0;
    flex: 1;
    max-width: 170px;
    font-size: 11px;
    padding-inline: 10px;
  }
  .branches {
    grid-template-columns: 1fr;
  }
  .branch-card {
    min-height: 175px;
  }
  .branch-image {
    height: auto;
    bottom: auto;
  }
  .branch-content h2 {
    font-size: 37px;
  }
  .benefits h2 {
    font-size: 12px;
  }
  .benefits p {
    font-size: 13px;
  }
  .benefits article {
    padding-inline: 6px;
  }
  .section-heading {
    gap: 12px;
  }
  .section-heading > .button {
    padding-inline: 12px;
    max-width: 150px;
    white-space: normal;
    text-align: center;
  }
  .trainer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .trainer-info {
    padding: 8px 10px 10px;
  }
  .trainer-info p {
    font-size: 15px;
  }
  .trainer-info .button {
    min-height: 38px;
  }
  .offers-panel {
    grid-template-columns: 1fr;
    padding: 19px;
    gap: 16px;
  }
  .offers-intro {
    display: block;
    text-align: center;
    margin-bottom: 4px;
  }
  .offers h2 {
    font-size: 41px;
  }
  .offers-intro > p:not(.offer-tagline) {
    font-size: 15px;
  }
  .offers-intro .button {
    margin-top: 16px;
    min-height: 44px;
  }
  .offer-card > :is(button, a) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .offer-copy {
    padding: 9px 7px;
  }
  .offer-copy h3 {
    font-size: 20px;
  }
  .offer-copy p {
    font-size: 12px;
  }
  .offer-card .reference-image {
    height: 100%;
    min-height: 93px;
    aspect-ratio: auto;
    container-type: inline-size;
  }
  .offer-card img {
    top: calc(-1 * var(--y) / var(--w) * 100cqw);
  }
  .plans {
    grid-template-columns: 1fr;
    max-width: 350px;
    gap: 23px;
  }
  .plan {
    padding: 23px 28px 20px;
  }
  .plan h3 {
    font-size: 17px;
  }
  .price {
    font-size: 40px;
  }
  .price span {
    font-size: 25px;
  }
  .plan ul {
    font-size: 15px;
    line-height: 1.65;
  }
  .plan li {
    padding-left: 26px;
  }
  .plan li:before {
    font-size: 19px;
    line-height: 1.3;
  }
  .plan > .button {
    min-height: 43px;
    font-size: 14px;
  }
  .popular-label {
    font-size: 11px;
    padding: 5px 22px;
  }
  .membership-note {
    line-height: 1.5;
    max-width: 300px;
    margin: 14px auto 0;
  }
  .gallery-grid {
    gap: 10px;
  }
  .locations-grid {
    gap: 18px 12px;
  }
  .location-card h3 {
    font-size: 11px;
  }
  .location-card p,
  .location-card > a:not(.button) {
    font-size: 11px;
    gap: 5px;
  }
  .location-card svg {
    width: 12px;
    height: 12px;
  }
  .location-card .button {
    padding-inline: 13px;
    font-size: 10px;
  }
  .site-footer {
    flex-wrap: wrap;
    padding-block: 17px;
    gap: 8px;
  }
  .site-footer > p {
    order: 3;
    flex-basis: 100%;
    max-width: none;
    margin-top: 7px;
  }
  .social-links :is(button, a) {
    min-width: 44px;
  }
  .brand-small {
    width: 65px;
  }
  dialog {
    padding: 30px 22px;
  }
  .gallery-controls .button {
    padding-inline: 14px;
  }
  .dialog-list button {
    font-size: 14px;
  }
}
/* Final reference alignment and responsive image proportions. */
@font-face {
  font-family: Oswald;
  src: url("assets/oswald-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
:root {
  --heading: Oswald, "Arial Narrow", sans-serif;
}
h1,
h2,
h3,
.offer-copy h3,
.hero h1 {
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(64px, 7.1vw, 94px);
  letter-spacing: -1.5px;
  line-height: 1.08;
}
.hero-crown {
  display: block;
  margin-inline: auto;
}
.hero h2,
.branch-content h2 {
  line-height: 1.15;
}
.hero h1 span {
  margin-left: 4px;
}
.brand-small {
  width: 65px;
}
.brand-small .brand-crown {
  width: 20px;
  height: 15px;
}
.brand-small > span {
  font-size: 17px;
  letter-spacing: 1.6px;
}
.brand-small > small {
  font-size: 6px;
  letter-spacing: 3px;
  margin-top: 2px;
  padding-left: 3px;
}
.offers-intro .desktop-break {
  display: none;
}
.offers h2 {
  font-size: 36px;
}
.offer-copy h3 {
  font-size: 20px;
}
.section-heading h2 {
  line-height: 1.05;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hero {
    padding-top: 15px;
    padding-bottom: 19px;
  }
  .hero h1 {
    font-size: 65px;
    line-height: 1.06;
  }
  .hero-crown {
    height: 45px;
    margin-bottom: 13px;
  }
  .hero > p {
    margin-top: 4px;
  }
  .hero-actions {
    margin-top: 14px;
  }
  .benefits {
    padding-block: 10px;
  }
  .benefits h2 {
    margin-bottom: 5px;
  }
  .benefits article > svg {
    margin-bottom: 5px;
  }
  .trainers {
    padding-top: 10px;
    padding-bottom: 11px;
  }
  .trainers h2 {
    font-size: 30px;
  }
  .trainer-info {
    padding-top: 3px;
    padding-bottom: 7px;
  }
  .trainer-info p {
    line-height: 1.2;
    margin-bottom: 4px;
  }
  .trainer-info .button {
    line-height: 1;
    min-height: 24px;
    padding-block: 4px;
  }
  .offers-panel {
    padding-block: 13px;
    grid-template-columns: 1.13fr 1fr 1.06fr 1.1fr;
  }
  .offers h2 {
    font-size: 30px;
  }
  .offer-copy h3 {
    font-size: 16px;
    line-height: 1.15;
  }
  .offers-intro > p:not(.offer-tagline) {
    font-size: 13px;
  }
  .offer-tagline {
    margin-bottom: 8px;
  }
  .offers-intro .button {
    padding-inline: 22px;
  }
  .membership {
    padding-top: 10px;
  }
  .membership h2 {
    font-size: 26px;
    line-height: 1.15;
  }
  .membership-tagline {
    line-height: 1.2;
  }
  .branch-switch {
    margin: 6px auto 12px;
  }
  .plan {
    padding-top: 12px;
    padding-bottom: 10px;
  }
  .plan ul {
    line-height: 1.25;
    margin-bottom: 6px;
  }
  .plan .price {
    line-height: 1;
    margin-bottom: 4px;
  }
  .membership-note {
    line-height: 1.2;
  }
  .gallery h2 {
    font-size: 24px;
  }
  .gallery .section-heading {
    margin-bottom: 7px;
  }
  .location-map h2 {
    font-size: 20px;
  }
}
@media (min-width: 761px) and (max-width: 900px) {
  .offers h2 {
    font-size: 26px;
  }
  .offers-intro .button {
    padding-inline: 13px;
  }
  .offer-copy h3 {
    font-size: 14px;
  }
}
@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(52px, 9.3vw, 74px);
  }
  .offers h2 {
    font-size: 32px;
  }
  .offer-copy h3 {
    font-size: 17px;
  }
  .trainers h2 {
    font-size: 30px;
  }
  .membership h2 {
    font-size: 30px;
  }
  .gallery h2 {
    font-size: 29px;
  }
  .location-map h2 {
    font-size: 25px;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(43px, 11.9vw, 58px);
    letter-spacing: -1px;
  }
  .offers h2 {
    font-size: 32px;
  }
  .offer-card > :is(button, a) {
    display: block;
  }
  .offer-card .reference-image {
    height: auto;
    min-height: 0;
    aspect-ratio: var(--w) / var(--h);
  }
  .offer-card img {
    top: calc(-1 * var(--y) / var(--h) * 100%);
  }
  .offer-copy {
    padding: 13px 8px;
  }
  .offer-copy h3 {
    font-size: 23px;
  }
  .offer-copy p {
    font-size: 15px;
    line-height: 1.25;
  }
  .branch-content h2 {
    font-size: 32px;
  }
}
h1,
h2,
.offer-copy h3 {
  text-transform: uppercase;
}

/* Match the reference's dense desktop rhythm without constraining mobile. */
@media (min-width: 761px) and (max-width: 1100px) {
  .hero {
    padding-top: 10px;
    padding-bottom: 14px;
  }
  .benefits {
    padding-block: 8px;
  }
  .trainers {
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .trainer-info {
    padding-bottom: 5px;
  }
  .offers-panel {
    padding-block: 12px;
  }
  .membership {
    padding-top: 8px;
  }
  .membership .branch-switch {
    margin-top: 4px;
    margin-bottom: 10px;
  }
  .membership .branch-switch button {
    line-height: 1.1;
  }
  .membership .plans {
    margin-top: 0;
  }
  .plan {
    padding-top: 10px;
    padding-bottom: 9px;
  }
  .plan ul {
    margin-bottom: 4px;
  }
  .membership-note {
    margin-top: 5px;
  }
  .gallery {
    padding-top: 3px;
    padding-bottom: 4px;
  }
  .gallery .section-heading {
    margin-bottom: 5px;
  }
  .locations {
    padding-block: 4px;
  }
}

@font-face {
  font-family: "Noto Sans Georgian";
  src: url("assets/noto-sans-georgian.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
[lang="ka"],
.trainer-info h3[lang="ka"] {
  font-family: "Noto Sans Georgian", sans-serif;
}
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
}
.hero-shell {
  padding-top: 90px;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hero-shell {
    padding-top: 74px;
  }
  .membership {
    padding-top: 0;
  }
}
@media (max-width: 760px) {
  .hero-shell {
    padding-top: 80px;
  }
  .button,
  .trainer-info .button,
  .plan > .button,
  .location-card .button,
  .branch-switch button {
    min-height: 44px;
  }
  .dialog-close {
    width: 44px;
    height: 44px;
  }
}
@media (max-width: 480px) {
  .hero-shell {
    padding-top: 76px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .button:hover,
  .trainer-card:hover,
  .offer-card:hover,
  .gallery-item:hover {
    transform: none;
  }
}
