/*
Theme Name: Individualki24
Theme URI: https://individualki24.com/
Author: Codex
Description: One-page premium relax portal theme for Individualki24.
Version: 1.3.9
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: individualki24-theme
*/

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url('fonts/d977650c60ba-manrope-cyrillic.woff2') format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url('fonts/c9a8184146a1-manrope-latin.woff2') format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('fonts/ceae0164c8de-oswald-cyrillic.woff2') format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('fonts/34ea349d6b1f-oswald-latin.woff2') format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #050403;
  --panel: #15100a;
  --panel-soft: #21170d;
  --text: #ffffff;
  --muted: #cfc1aa;
  --faint: #8b806f;
  --accent: #b8893e;
  --accent-2: #f0c879;
  --blue: #c08a37;
  --line: rgba(240, 200, 121, 0.18);
  --max: 1480px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  background: rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

body.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  min-height: 72px;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: 228px;
  height: auto;
}

.brand-logo-footer {
  width: 260px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(240, 200, 121, 0.42);
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(145deg, #080604 0%, #3d2a11 48%, #bd8c3d 100%);
  box-shadow: 0 0 24px rgba(240, 200, 121, 0.22);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 10px 13px 13px;
  border: 2px solid rgba(255, 247, 222, 0.94);
  border-bottom: 0;
  border-radius: 999px 999px 4px 4px;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 13px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 247, 222, 0.94);
  pointer-events: none;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 42px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav a:hover {
  color: #fff;
}

.city-switcher {
  position: relative;
}

.city-current {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  color: rgba(255, 255, 255, 0.74);
  background: transparent;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.city-current::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.city-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  display: none;
  min-width: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

.city-switcher:hover .city-menu,
.city-switcher:focus-within .city-menu {
  display: block;
}

.city-menu a {
  display: block;
  padding: 15px 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.city-menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, #c79a4d, #7f5522);
  box-shadow: 0 18px 42px rgba(184, 137, 62, 0.28);
}

.btn-blue {
  background: linear-gradient(135deg, #9d6b2c, #d7ad60);
  box-shadow: 0 18px 38px rgba(199, 154, 77, 0.24);
}

.hero {
  position: relative;
  min-height: 900px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 132px 0 82px;
  background: #060403;
}

.hero-image {
  position: absolute;
  z-index: 0;
  top: -28px;
  left: 50%;
  width: 104%;
  height: calc(100% + 56px);
  max-width: none;
  object-fit: cover;
  object-position: center 35%;
  transform: translateX(-47.2%);
}

.hero-video {
  display: block;
  background: #060403;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.hero-video.is-ready {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.14) 48%, rgba(0, 0, 0, 0.54)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.12) 52%, #030303 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 700px) 460px;
  align-items: center;
  gap: 58px;
  width: min(var(--max), calc(100% - 48px));
  margin: 130px auto 0;
  text-align: left;
}

.eyebrow {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.48em;
  text-transform: uppercase;
}

.hero h1,
.section-title,
.contacts-title {
  margin: 22px 0 0;
  font-family: Oswald, Impact, Arial Narrow, sans-serif;
  font-size: clamp(46px, 6.2vw, 96px);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(184, 137, 62, 0.24);
}

.hero-lead {
  width: min(680px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-badges,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.hero-badges {
  margin-top: 28px;
}

.hero-city-switcher {
  display: grid;
  grid-template-columns: 1fr;
  align-self: end;
  width: 460px;
  min-height: 180px;
  gap: 10px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(240, 200, 121, 0.1), rgba(0, 0, 0, 0.62)),
    rgba(0, 0, 0, 0.58);
}

.hero-city-switcher .city-tabs-link {
  min-height: 58px;
}

.city-tabs {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.city-tabs.hero-city-switcher {
  grid-template-columns: 1fr;
}

.city-tabs-label {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.city-tabs-link {
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.city-tabs-link.is-active {
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, #c79a4d, #7f5522);
  color: #fff;
  box-shadow: 0 12px 24px rgba(184, 137, 62, 0.28);
}

.section-city-switcher {
  display: none;
  width: min(100%, 520px);
  margin: 0 auto 34px;
}

.hero-actions {
  margin-top: 34px;
}

.badge {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.48);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.scroll-hint {
  display: inline-block;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding: 108px 0;
}

#masters {
  padding-top: 38px;
}

#programs {
  padding-bottom: 64px;
}

#rules {
  padding-top: 64px;
}

.section-soft {
  background: radial-gradient(circle at 18% 0%, rgba(240, 200, 121, 0.13), transparent 38%), #070503;
}

.section-head {
  width: min(980px, 100%);
  margin: 0 0 58px;
  text-align: left;
}

.section-head p {
  width: min(640px, 100%);
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.masters-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.master-card {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.master-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

.master-photo-link {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
}

.master-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.96) 100%);
  content: "";
  pointer-events: none;
}

.status {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.status::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #12dc72;
  box-shadow: 0 0 12px #12dc72;
  content: "";
}

.master-body {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  padding: 0 26px 28px;
}

.master-body h3,
.program-card h3,
.info-card h3,
.contact-card h3,
.about-box h2 {
  font-family: Oswald, Impact, Arial Narrow, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.master-body h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1;
}

.meta,
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.meta span {
  display: inline-grid;
  min-width: 54px;
  gap: 3px;
  line-height: 1.05;
}

.meta small {
  color: rgba(255, 247, 222, 0.62);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.practice {
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tags {
  margin-top: 12px;
}

.master-tags-bottom {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.master-tags-bottom .practice,
.master-tags-bottom .tags {
  margin-top: 0;
}

.master-tags-bottom .practice {
  color: rgba(255, 247, 222, 0.78);
}

.master-tags-bottom .tag {
  background: rgba(6, 4, 3, 0.62);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.tag {
  padding: 8px 10px;
  border: 1px solid rgba(240, 200, 121, 0.52);
  border-radius: 5px;
  background: rgba(184, 137, 62, 0.14);
  color: #f7e3b9;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.master-body .btn {
  width: 100%;
  margin-top: 18px;
  padding-inline: 18px;
  font-size: 14px;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.program-card,
.contact-card,
.about-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(240, 200, 121, 0.07), rgba(255, 255, 255, 0.018));
}

.program-card {
  min-height: 330px;
  padding: 28px 24px;
  border-top: 3px solid rgba(240, 200, 121, 0.34);
}

.program-top {
  display: grid;
  gap: 12px;
  align-items: start;
  font-weight: 950;
}

.program-top span:first-child {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-size: 13px;
}

.program-card h3 {
  margin: 24px 0 0;
  font-size: 35px;
  line-height: 1;
}

.program-card p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 700;
}

.program-note {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.interior-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.room {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 20px;
  margin: 0;
  background: #080506;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.room::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.22));
  content: "";
  pointer-events: none;
}

.room img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.room:nth-child(2) {
  min-height: 390px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px;
}

.info-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
}

.check {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(240, 200, 121, 0.45);
  border-radius: 5px;
  color: var(--accent-2);
}

.info-card h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1;
}

.info-card p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 26px;
  max-width: 1040px;
}

.contact-layout > div:first-child {
  position: relative;
  order: 1;
  min-height: 330px;
  padding: 58px 62px;
  overflow: hidden;
  border: 1px solid rgba(240, 200, 121, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(240, 200, 121, 0.12), transparent 46%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  text-align: center;
}

.contact-layout > div:first-child::after {
  content: none;
}

.contact-card {
  order: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 32px;
  background:
    radial-gradient(circle at 96% 0%, rgba(240, 200, 121, 0.18), transparent 34%),
    rgba(13, 10, 6, 0.94);
}

.contact-copy {
  width: min(620px, 100%);
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
}

.contact-card {
  padding: 34px 38px;
}

.contact-card h3 {
  grid-column: 1;
  margin: 0;
  font-size: 38px;
  line-height: 1.05;
}

.contact-card p {
  grid-column: 1;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.contact-card .btn {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  margin-top: 0;
}

.about-box {
  padding: 58px 64px;
}

.about-box h2 {
  margin: 0 0 32px;
  text-align: center;
  font-size: 46px;
  line-height: 1;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 700;
}

.about-single {
  grid-column: 1 / -1;
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.site-footer {
  padding: 78px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #020202;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
}

.footer-note {
  max-width: 430px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-service-note {
  grid-column: 2;
  margin: -34px 0 0;
  color: rgba(255, 255, 255, 0.62);
  text-align: right;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.disclaimer {
  margin-top: 58px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--faint);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.float-btn {
  position: fixed;
  z-index: 60;
  right: 28px;
  bottom: 28px;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #c79a4d, #7f5522);
  box-shadow: 0 16px 38px rgba(184, 137, 62, 0.34);
}

.menu-toggle {
  display: none;
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .brand-logo {
    width: 218px;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 24px;
    right: 24px;
    display: none;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.95);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .city-switcher {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .city-current {
    width: 100%;
    padding: 18px 22px;
  }

  .city-menu {
    position: static;
    display: block;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
  }

  .city-menu a {
    padding: 16px 34px;
  }

  .menu-toggle {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
  }

  .header-inner > .btn {
    display: none;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 34px;
  }

  .hero-city-switcher {
    width: 380px;
    min-height: 174px;
  }

  .masters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-service-note {
    grid-column: auto;
    margin: -46px 0 0;
    text-align: left;
  }
}

@media (max-width: 780px) {
  body.admin-bar .site-header {
    top: 0;
  }

  .container {
    width: min(100% - 28px, var(--max));
  }

  .brand-logo {
    width: 190px;
  }

  .hero {
    min-height: 720px;
    padding-top: 104px;
    padding-bottom: 34px;
  }

  .hero-image {
    top: -78px;
    left: 50%;
    width: 116%;
    height: calc(100% + 110px);
    object-position: 50% 18%;
    transform: translateX(-50%);
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 148px;
    text-align: center;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    margin-top: 18px;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
    line-height: 1.38;
  }

  .hero-badges {
    justify-content: center;
    margin-top: 22px;
    gap: 9px;
  }

  .hero-city-switcher {
    display: grid;
    width: min(100%, 360px);
    min-height: 0;
    margin: 18px auto 0;
  }

  .city-tabs.hero-city-switcher {
    grid-template-columns: 1fr 1fr;
  }

  .hero-city-switcher .city-tabs-link {
    min-height: 52px;
  }

  .section-city-switcher {
    display: none;
  }

  .hero-actions {
    justify-content: center;
    margin-top: 22px;
    gap: 12px;
  }

  .hero-actions .btn {
    min-height: 56px;
  }

  .hero h1,
  .section-title,
  .contacts-title {
    font-size: 46px;
  }

  .section-head {
    margin: 0 auto 42px;
    text-align: center;
  }

  .section-head p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions .btn,
  .contact-card .btn {
    width: 100%;
  }

  .section {
    padding: 78px 0;
  }

  #masters {
    padding-top: 28px;
  }

  #programs {
    padding-bottom: 46px;
  }

  #rules {
    padding-top: 46px;
  }

  .masters-grid,
  .programs-grid,
  .interior-grid,
  .about-columns {
    grid-template-columns: 1fr;
  }

  .master-card {
    min-height: 500px;
  }

  .room,
  .room:nth-child(2) {
    min-height: 260px;
  }

  .about-box,
  .contact-card {
    padding: 32px 22px;
  }

  .contact-layout > div:first-child {
    min-height: 0;
    padding: 34px 22px;
  }

  .contact-layout > div:first-child::after {
    display: none;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-card h3,
  .contact-card p,
  .contact-card .btn {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-card .btn {
    margin-top: 8px;
  }

  .info-card {
    grid-template-columns: 1fr;
  }

  .float-btn {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    width: 58px;
    height: 58px;
    transform: none;
  }
}
