/* Playkite · liquid glass
   Палитра: фото лагуны + молочное стекло + кайтовый оранжевый акцент */

:root {
  --ink: #05243c;
  --ink-soft: #163f5b;
  --muted: #1f4a66;
  --on-dark: #f6fbff;

  --glass: rgba(255, 255, 255, 0.46);
  --glass-soft: rgba(255, 255, 255, 0.30);
  --glass-strong: rgba(255, 255, 255, 0.64);
  --glass-edge: rgba(255, 255, 255, 0.78);
  --glass-edge-soft: rgba(255, 255, 255, 0.40);
  --tint: rgba(6, 44, 74, 0.30);

  --accent: #ff7a2f;
  --accent-deep: #d4560f;
  --link: #0a4e85;

  --font: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;

  --t-h1: clamp(34px, 6.4vw, 82px);
  --t-h2: clamp(25px, 3.1vw, 42px);
  --t-h3: clamp(19px, 1.6vw, 23px);
  --t-lead: clamp(17px, 1.35vw, 20px);
  --t-body: 17px;
  --t-small: 14px;
  --lh-tight: 1.04;
  --lh-body: 1.6;

  --r-xl: 34px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 11px;

  --blur: blur(26px) saturate(165%);
  --shadow: 0 34px 70px -34px rgba(4, 30, 52, .55), 0 10px 26px -14px rgba(4, 30, 52, .30);
  --edge: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(255, 255, 255, .32), inset 1px 0 0 rgba(255, 255, 255, .45), inset -1px 0 0 rgba(255, 255, 255, .45);

  --line: calc(var(--t-body) * var(--lh-body));
  --s-1: calc(var(--line) * .25);
  --s-2: calc(var(--line) * .5);
  --s-3: calc(var(--line) * .75);
  --s-4: var(--line);
  --s-5: calc(var(--line) * 1.5);
  --s-6: calc(var(--line) * 2);
  --s-7: calc(var(--line) * 3);
  --s-8: clamp(calc(var(--line) * 3), 7vw, calc(var(--line) * 5));
  --pad: clamp(18px, 3vw, 38px);
  --measure: 62ch;
  --width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html[lang='zh'] { --font: 'Inter Tight', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif; }
html[lang='ar'] { --font: 'Noto Kufi Arabic', 'Segoe UI', Tahoma, 'Geeza Pro', system-ui, sans-serif; }
html[lang='ar'] { --t-h1: clamp(26px, 3.6vw, 46px); --t-h2: clamp(22px, 2.4vw, 32px); }
html[lang='ar'] h1, html[lang='ar'] h2, html[lang='ar'] h3, html[lang='ar'] h4 { letter-spacing: 0; line-height: 1.35; }
html[lang='ar'] .hero h1 { line-height: 1.38; }
html[lang='ar'] .hero__left { max-width: min(100%, 540px); }
html[lang='ar'] .brand { letter-spacing: .02em; }
html[lang='zh'] { --t-h1: clamp(32px, 5.4vw, 68px); }
html[lang='zh'] .hero h1 { line-height: 1.18; letter-spacing: -.01em; }
html[lang='zh'] .hero__left { max-width: min(100%, 640px); }
[dir='rtl'] body { text-align: right; }
[id] { scroll-margin-top: 100px; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--t-body);
  line-height: var(--lh-body);
  color: var(--ink);
  overflow-wrap: break-word;
  background: #0b2f4a;
  min-height: 100%;
}
body::before {
  content: '';
  position: fixed;
  inset: -2px;
  background: url('img/hero.jpg') center 30% / cover no-repeat;
  z-index: -2;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 8% 0%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, rgba(5, 38, 62, .18) 0%, rgba(5, 38, 62, .34) 40%, rgba(5, 34, 56, .52) 100%);
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: var(--lh-tight); text-wrap: balance; }
h1 { font-size: var(--t-h1); letter-spacing: -.035em; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -.012em; line-height: 1.22; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--link); }
img, svg, iframe { display: block; max-width: 100%; height: auto; }
:where(figure, picture, img, table, iframe) { min-width: 0; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }

/* ---------- glass surfaces ---------- */
.glass {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--glass-edge-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow), var(--edge);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  overflow: hidden;
  isolation: isolate;
}
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(80% 120% at 12% -10%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 38%);
  mix-blend-mode: screen;
  opacity: .8;
  z-index: 0;
}
.glass > * { position: relative; z-index: 1; }
.glass-soft { background: var(--glass-soft); }
.glass-strong { background: var(--glass-strong); }

/* specular sweep on the hero panel only */
.sheen::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -30%;
  width: 55%;
  height: 220%;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .38) 48%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(8deg);
  animation: sweep 2.2s cubic-bezier(.3, .7, .2, 1) .35s both;
}
@keyframes sweep {
  from { transform: translateX(0) rotate(8deg); opacity: 0; }
  35% { opacity: 1; }
  to { transform: translateX(320%) rotate(8deg); opacity: 0; }
}

/* ---------- layout ---------- */
.wrap { width: min(var(--width), calc(100% - 32px)); margin-inline: auto; }
.page { padding-block: 96px var(--s-8); display: grid; gap: var(--s-6); }
.section-head { display: grid; gap: var(--s-2); max-width: var(--measure); }
.section-head h2, .section-head .lead { color: #fff; text-shadow: 0 1px 18px rgba(3, 24, 40, .55); }
.lead { font-size: var(--t-lead); color: var(--ink-soft); }
.muted { color: var(--muted); }
.small { font-size: var(--t-small); line-height: 1.5; }

/* ---------- top bar ---------- */
.top {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 40;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.top__inner {
  pointer-events: auto;
  width: min(var(--width), calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding-block: 8px;
  padding-inline: 18px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .30);
  border: 1px solid var(--glass-edge-soft);
  box-shadow: 0 18px 40px -24px rgba(4, 30, 52, .55), var(--edge);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
}
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 700; letter-spacing: .12em; font-size: 15px; }
.brand__mark { width: 22px; height: 22px; flex: none; }
.brand small { font-weight: 500; letter-spacing: .04em; opacity: .6; font-size: 11px; }
.top__links { display: flex; gap: 2px; margin-inline: auto; flex-wrap: nowrap; }
.top__links a {
  white-space: nowrap;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14.5px;
  padding: 9px 12px;
  border-radius: 999px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.top__links a:hover { background: rgba(255, 255, 255, .5); }
.top__right { display: flex; align-items: center; gap: 8px; }
/* min-height fix for links */
.top__right .btn { white-space: nowrap; }

.lang { display: flex; padding: 3px; gap: 2px; border-radius: 999px; background: rgba(255, 255, 255, .38); border: 1px solid var(--glass-edge-soft); }
.lang button, .lang a {
  border: 0; white-space: nowrap; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; background: transparent; cursor: pointer;
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  padding: 7px 9px; border-radius: 999px; color: var(--muted);
  min-height: 34px; min-width: 34px;
}
.lang button[aria-pressed='true'], .lang a[aria-current='page'] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -3px rgba(4, 30, 52, .4); }

.burger { display: none; width: 42px; height: 42px; border-radius: 999px; align-items: center; justify-content: center; background: rgba(255, 255, 255, .45); border: 1px solid var(--glass-edge-soft); cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600; font-size: 15.5px;
  text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn--solid { background: #062338; color: var(--on-dark); box-shadow: 0 14px 26px -16px rgba(4, 24, 40, .9); }
.btn--solid:hover { transform: translateY(-1px); }
.btn--glass {
  background: var(--glass-strong);
  color: var(--ink);
  border-color: var(--glass-edge);
  box-shadow: var(--edge), 0 10px 24px -18px rgba(4, 30, 52, .7);
  backdrop-filter: var(--blur);
}
.btn--glass:hover { background: rgba(255, 255, 255, .82); }
.btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.btn--accent { background: var(--accent); color: #2b1000; box-shadow: 0 14px 26px -18px rgba(180, 70, 10, .9); }
.btn--accent:hover { background: #ff8a49; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn:focus-visible, .lang button:focus-visible, .lang a:focus-visible, .burger:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(84px, 12vh, 118px); display: grid; gap: var(--s-5); min-height: 100svh; align-content: space-between; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .85fr; gap: var(--s-5); align-items: end; }
.hero__left { display: grid; gap: var(--s-3); align-content: start; max-width: min(100%, 600px); }
.hero h1 { color: #fff; text-shadow: 0 2px 34px rgba(3, 24, 40, .5), 0 1px 3px rgba(3, 24, 40, .4); }
.hero__card { padding: var(--pad); display: grid; gap: var(--s-2); max-width: 46ch; justify-self: end; color: var(--ink-soft); font-size: 16.5px; }
.hero__card p:first-child { color: var(--ink); font-weight: 500; }
.hero__lead {
  font-size: var(--t-lead);
  color: #eaf6ff;
  max-width: 52ch;
  text-shadow: 0 1px 14px rgba(3, 24, 40, .6);
}
.hero__lead p + p { margin-top: .7em; }
.hero__lead p:last-child { color: #fff; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: start; justify-self: start;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: var(--blur);
  color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .01em;
}
.kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.hero__bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: var(--s-2) var(--s-4);
  padding: 14px 14px 14px var(--pad);
  border-radius: 28px;
  margin-bottom: var(--s-4);
}
.fact { display: grid; gap: 2px; }
.fact b { font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.fact span { font-size: 14px; color: var(--ink-soft); }
.hero__cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--s-2); }

/* ---------- lesson ---------- */
.lesson { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s-5); padding: var(--pad); }
.lesson__body { display: grid; gap: var(--s-3); align-content: start; }
.lesson__body p { max-width: 46ch; color: var(--ink-soft); }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 8px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--glass-edge);
  font-size: 14px;
}
.tag b { font-weight: 600; }
.price-card {
  border-radius: var(--r-lg);
  padding: var(--s-4);
  display: grid; gap: var(--s-2); align-content: start;
  background: linear-gradient(160deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .42));
  border: 1px solid var(--glass-edge);
  box-shadow: var(--edge);
}
.price-card__label { font-size: 14px; color: var(--muted); }
.price-card__row { display: flex; align-items: baseline; gap: 7px; }
.price-card__value { font-size: clamp(40px, 5.4vw, 62px); font-weight: 700; letter-spacing: -.04em; line-height: .95; }
.price-card__unit { font-size: 17px; font-weight: 600; color: var(--ink-soft); }
.price-card hr { border: 0; border-top: 1px solid rgba(6, 44, 74, .14); margin: 4px 0; width: 100%; }
.price-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 15px; }
.price-card li { display: flex; justify-content: space-between; gap: 10px; }
.price-card li b { font-weight: 600; }

/* ---------- courses ---------- */
.courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.course { display: grid; gap: var(--s-3); padding: var(--pad); align-content: start; }
.course__top { display: grid; gap: 4px; }
.course__meta { font-size: 14px; color: var(--muted); }
.course__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.course__price b { font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.course__price span { font-size: 14px; color: var(--muted); }
.chip-discount { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: rgba(255, 122, 47, .18); border: 1px solid rgba(212, 86, 15, .35); color: var(--accent-deep); font-size: 12.5px; font-weight: 600; }
.course p { color: var(--ink-soft); font-size: 16px; }
.course ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15.5px; color: var(--ink-soft); }
.course ul li { position: relative; padding-inline-start: 20px; }
.course ul li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
details.more { border-top: 1px solid rgba(6, 44, 74, .12); padding-top: var(--s-2); }
details.more summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex; align-items: center; gap: 8px; min-height: 40px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease; margin-inline-start: auto; }
details.more[open] summary::after { transform: rotate(-135deg); }
details.more .more-body { display: grid; gap: var(--s-2); padding-top: var(--s-2); }
details.more .more-body p { font-size: 15.5px; }
.after-note { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }

/* ---------- rental ---------- */
.rental { padding: var(--pad); display: grid; gap: var(--s-4); }
.rental__head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-3); flex-wrap: wrap; }
.rental__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.rental__col { display: grid; gap: 2px; align-content: start; }
.rental__col h4 { font-size: 15px; font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid rgba(6, 44, 74, .16); }
.rental__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(6, 44, 74, .08); font-size: 15px; }
.rental__row:last-child { border-bottom: 0; }
.rental__row b { font-weight: 600; white-space: nowrap; }
.rental__row .d { font-size: 12px; color: var(--accent-deep); background: rgba(255, 122, 47, .16); padding: 2px 7px; border-radius: 999px; margin-inline-start: 6px; }

/* ---------- lists / chips ---------- */
.list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.list li { position: relative; padding-inline-start: 22px; color: var(--ink-soft); font-size: 16px; }
.list li::before { content: ''; position: absolute; inset-inline-start: 1px; top: .58em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--accent); }
.list a { color: var(--link); }

/* ---------- about / spot ---------- */
.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s-5); padding: var(--pad); align-items: start; }
.prose { display: grid; gap: var(--s-2); max-width: 56ch; }
.prose p { color: var(--ink-soft); }
.figure { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--glass-edge); box-shadow: var(--edge), 0 20px 50px -30px rgba(4, 30, 52, .6); background: rgba(255, 255, 255, .3); }
.figure img { width: 100%; }
.figure figcaption { padding: 11px 14px; font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, .45); }
.locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-3); }
.loc { padding: var(--s-3); border-radius: var(--r-md); background: rgba(255, 255, 255, .42); border: 1px solid var(--glass-edge-soft); display: grid; gap: 6px; }
.loc h4 { font-size: 16px; font-weight: 600; }
.loc p { font-size: 14.5px; color: var(--muted); }
.loc a { font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(10, 78, 133, .35); align-self: end; }

/* ---------- sleep ---------- */
.sleep { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--s-5); padding: var(--pad); align-items: start; }
.rooms { display: grid; gap: 8px; margin-top: var(--s-2); }
.room { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .5); border: 1px solid var(--glass-edge-soft); }
.room span { font-size: 14.5px; color: var(--ink-soft); }
.room b { font-weight: 700; font-size: 19px; white-space: nowrap; }
.room i { font-style: normal; font-size: 12.5px; color: var(--muted); }
.hotels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hotels a { font-size: 13.5px; text-decoration: none; color: var(--ink-soft); padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .45); border: 1px solid var(--glass-edge-soft); }
.hotels a:hover { background: #fff; }
.subhead { font-size: 15px; font-weight: 600; margin-top: var(--s-3); }

/* ---------- gallery ---------- */
.gallery { padding: var(--pad); display: grid; gap: var(--s-4); }
.gal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gal-grid a { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--glass-edge); box-shadow: var(--edge); aspect-ratio: 4 / 3; }
.gal-grid picture, .gal-grid picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
  .gal-grid a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}
@media (max-width: 640px) {
  .gal-grid a:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
}
.gal-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gal-grid a:hover img { transform: scale(1.04); }
.gal-grid a span { position: absolute; inset-block-end: 8px; inset-inline: 8px; font-size: 12px; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.embeds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.embeds .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; border-radius: var(--r-md) !important; }

/* ---------- reviews ---------- */
.reviews { padding: var(--pad); display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s-5); align-items: start; }
.score { display: grid; gap: 6px; }
.score__num { font-size: clamp(64px, 9vw, 104px); font-weight: 700; letter-spacing: -.05em; line-height: .85; }
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars svg { width: 20px; height: 20px; }
.score__meta { font-size: 14.5px; color: var(--muted); }
.review-list { display: grid; gap: 10px; }
.review { padding: var(--s-3); border-radius: var(--r-md); background: rgba(255, 255, 255, .46); border: 1px solid var(--glass-edge-soft); display: grid; gap: 6px; }
.review q { font-size: 15.5px; color: var(--ink-soft); font-style: normal; }
.review .who { font-size: 13.5px; color: var(--muted); }

/* ---------- form ---------- */
.booking { padding: var(--pad); display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--s-6); align-items: start; }
.form { display: grid; gap: var(--s-2); }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }
form, .field, .field input, .field textarea { text-align: start; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 15px; min-height: 50px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--glass-edge-soft);
  box-shadow: inset 0 1px 2px rgba(6, 44, 74, .06);
  appearance: none;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: #fff; background: rgba(255, 255, 255, .88); box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.form__foot { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; margin-top: 4px; }
.form__msg { font-size: 14.5px; color: var(--muted); }
.form__msg[data-state='ok'] { color: #0d5c2f; font-weight: 600; }
.form__msg[data-state='err'] { color: #97230f; font-weight: 600; }

/* ---------- footer ---------- */
.foot { padding: var(--pad) var(--pad) var(--s-4); display: grid; gap: var(--s-4); }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--s-4); }
.foot h4 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.foot a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.foot a:hover { color: var(--ink); }
.foot ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.foot__bottom { display: flex; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; border-top: 1px solid rgba(6, 44, 74, .14); padding-top: var(--s-3); font-size: 13px; color: var(--muted); }
.phone { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -.02em; text-decoration: none; color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .lesson, .two-col, .sleep, .reviews, .booking { grid-template-columns: 1fr; }
  .rental__grid { grid-template-columns: 1fr; }
  .rental__col h4 { padding-top: 6px; }
  .gal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .embeds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__bar { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 26px; }
  .hero__cta { grid-column: 1 / -1; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1560px) {
  .top__links a { padding: 8px 8px; font-size: 13.8px; }
  .lang button, .lang a { padding: 6px 7px; font-size: 12px; min-width: 30px; }
  .top__inner { padding-inline: 14px 6px; gap: 6px; }
  .top__right .btn--solid { padding: 0 14px !important; font-size: 14px; }
}
@media (max-width: 1300px) {
  .top__links { display: none; }
  .top__right .btn--solid { display: none; }
}
.top__inner { min-width: 0; }
.brand { white-space: nowrap; }
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
  .hero__card { justify-self: stretch; max-width: 62ch; }
  .hero__left { max-width: min(100%, 600px); }
}
@media (max-width: 900px) {
  .top__right .lang, .top__right .btn--solid { display: none; }
  .top__inner { justify-content: space-between; }
  .top__right { order: 0; margin-inline-start: auto; }
  .burger { margin-inline-start: auto; }
  .burger { display: inline-flex; }
  .top__inner { padding: 7px 7px 7px 14px; }
  .courses { grid-template-columns: 1fr; }
  .locations { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --t-body: 16px; }
  .page { padding-block: 84px var(--s-6); gap: var(--s-4); }
  .hero { min-height: auto; gap: var(--s-4); padding-top: 96px; padding-bottom: var(--s-4); }
  .hero__lead { font-size: 16.5px; }
  .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .embeds { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .fact b { font-size: 26px; }
  .price-card ul { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- mobile sheet ---------- */
.sheet {
  position: fixed; z-index: 45; inset-block-start: 74px; inset-inline: 12px; padding: 14px;
  border-radius: 26px;
  display: grid; gap: 4px;
}
.sheet a { padding: 13px 14px; border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 16px; }
.sheet a:hover { background: rgba(255, 255, 255, .55); }
.sheet__lang { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(6, 44, 74, .16); display: grid; gap: 8px; }
.sheet__lang-label { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-inline-start: 4px; }
.lang--sheet { justify-content: flex-start; flex-wrap: wrap; background: rgba(255, 255, 255, .55); }
.sheet a { margin-bottom: 2px; }

/* ---------- блог ---------- */
.blog-head { padding: var(--pad); display: grid; gap: var(--s-2); }
.blog-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.blog-card { text-decoration: none; color: inherit; display: grid; align-content: start; }
.blog-card__img { width: 100%; height: 210px; object-fit: cover; display: block; }
.blog-card__body { padding: var(--s-3) var(--pad); display: grid; gap: 8px; align-content: start; }
.blog-card__head { padding: var(--s-4) var(--pad) var(--s-3); }
.blog-card__head h2 { font-size: clamp(21px, 2.1vw, 27px); font-weight: 700; letter-spacing: -.025em; }
.blog-card__date { font-size: 13px; color: #456070; font-weight: 500; }
.blog-card h2 { font-size: clamp(19px, 1.9vw, 24px); }
.blog-card p { font-size: 15.5px; color: var(--ink-soft); }
.blog-card__more { font-size: 14px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; }
.blog-card:hover .blog-card__img { transform: scale(1.02); transition: transform .4s ease; }
.blog-post { padding: var(--pad); display: grid; gap: var(--s-3); max-width: 920px; margin-inline: auto; }
.blog-back { font-size: 14.5px; font-weight: 600; text-decoration: none; justify-self: start; }
.blog-post h1 { font-size: clamp(25px, 3.2vw, 40px); }
.blog-meta { font-size: 14px; color: var(--muted); }
.blog-cover { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--glass-edge); box-shadow: var(--edge); }
.blog-cover img { width: 100%; }
.blog-body { display: grid; gap: var(--s-2); max-width: 70ch; }
.blog-body h2 { font-size: clamp(20px, 2.2vw, 26px); margin-top: var(--s-3); }
.blog-body p { color: var(--ink-soft); font-size: 16.5px; }
.blog-cta { margin-top: var(--s-3); padding: var(--s-4); border-radius: var(--r-md); background: rgba(255, 255, 255, .5); border: 1px solid var(--glass-edge); display: grid; gap: 10px; justify-items: start; }
@media (max-width: 900px) { .blog-list { grid-template-columns: 1fr; } .blog-card img { height: 190px; } }

/* контраст в блоге: заголовки должны читаться на любом фото */
.blog-head, .blog-card, .blog-post { background: rgba(255, 255, 255, .97); }
.blog-head h1, .blog-card h2, .blog-post h1, .blog-body h2, .blog-cta h2 { color: #04223a; }
.blog-card p, .blog-body p, .blog-head .lead, .blog-card__date, .blog-meta { color: #21475f; }
.blog-card h2 { text-shadow: 0 1px 0 rgba(255, 255, 255, .6); }

/* правки по аудиту */
.course__old { font-size: 17px; color: var(--muted); text-decoration: line-through; font-weight: 500; margin-inline-end: 2px; }
.section-head h2 { color: #04223a; text-shadow: 0 1px 0 rgba(255, 255, 255, .55); }
.section-head .lead { color: #0d3b56; text-shadow: 0 1px 0 rgba(255, 255, 255, .45); }
.stars { margin-top: 8px; }
.score__num { line-height: .95; }
.foot__bottom a:hover { color: var(--ink); }

/* RTL: цифры, диапазоны и телефоны не переставляются */
[dir='rtl'] .phone, [dir='rtl'] .fact b, [dir='rtl'] .price-card__value,
[dir='rtl'] .rental__row b, [dir='rtl'] .room b, [dir='rtl'] .course__price b,
[dir='rtl'] .blog-meta, [dir='rtl'] .score__num {
  direction: ltr; unicode-bidi: isolate; display: inline-block;
}
[dir='rtl'] .course__price { flex-direction: row-reverse; }
