@charset "utf-8";
/* Kabakaba Resort — prototype
   Design: PREDMET (Figma Sites export). Type: TT Norms Pro, Inter as fallback. */

/* ---------- fonts ---------- */
/* TT Norms Pro — the typeface the design was drawn in (licensed, supplied by
   the project). Inter below is the metric-compatible fallback. */
@font-face {
  font-family: 'TT Norms Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/TTNormsPro-Light.woff2) format('woff2');
}
@font-face {
  font-family: 'TT Norms Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/TTNormsPro-Regular.woff2) format('woff2');
}
@font-face {
  font-family: 'TT Norms Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/TTNormsPro-Medium.woff2) format('woff2');
}
@font-face {
  font-family: 'TT Norms Pro';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/TTNormsPro-Italic.woff2) format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/inter-cyrillic-ext-italic.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/inter-cyrillic-italic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/inter-latin-ext-italic.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/inter-latin-italic.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: 'Inter';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/inter-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/inter-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 {
  --ink: #ffffff;
  --bg-0: #0c0e10;
  --bg-1: #15181b;
  --bg-2: #1f2326;
  --line: #3e4750;
  --mute: #878787;
  --wrap: 1140px;
  --pad: 24px;
  --font: 'TT Norms Pro', Inter, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.v { display: flex; flex-direction: column; min-width: 0; }
.sp { margin-top: var(--sp); }
.h { display: grid; align-items: start; min-width: 0; }
.h > div { min-width: 0; }
.h--center { justify-content: center; text-align: center; }
.h--center > div { display: flex; flex-direction: column; align-items: center; }

section.band {
  position: relative;
  padding-top: max(56px, var(--pt, 0px));
  padding-bottom: max(56px, var(--pb, 0px));
  background-color: var(--bg-0);
}

section.band--media {
  min-height: max(420px, min(var(--minh, 600px), 92svh));
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background-color: #000;
}
section.band--media > .wrap { width: 100%; position: relative; z-index: 2; }
.band__bg { position: absolute; inset: -1px; z-index: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
/* legibility scrim behind copy that sits on a photo */
section.band--media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .2) 42%, rgba(0, 0, 0, 0) 68%);
  pointer-events: none;
}
section.band--grad::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--grad);
  pointer-events: none;
}

/* ---------- type ---------- */
.t { margin: 0; font-weight: 300; letter-spacing: -0.03em; text-wrap: balance; }
.t--display { line-height: 1; }
.t--display em, .t--h2 em, .t--h3 em { font-style: italic; }
.t--h2 { line-height: 1.02; }
.t--h2s { line-height: 1.05; }
.t--h3, .t--h4 { line-height: 1.1; }
.t--stat { margin: 0; font-weight: 400; letter-spacing: -0.02em; }

.eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.eyebrow::before {
  content: "";
  width: 35px;
  height: 1px;
  flex: 0 0 35px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow--bare::before { display: none; }
.eyebrow--both { justify-content: center; }
.eyebrow--both::after {
  content: "";
  width: 35px;
  height: 1px;
  flex: 0 0 35px;
  background: currentColor;
  opacity: 0.55;
}

hr.rule {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.lead { margin: 0; font-weight: 400; color: rgba(255, 255, 255, 0.88); }
.body { margin: 0; font-weight: 300; color: rgba(255, 255, 255, 0.8); }
.small { margin: 0; color: rgba(255, 255, 255, 0.72); }
.label {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
}
.legal { margin: 0; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); font-weight: 300; }

.more {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: border-color .25s, gap .25s;
}
.more::after { content: "→"; transform: translateY(-1px); }
a:hover .more, .more:hover { gap: 16px; border-color: #fff; }

.ln { display: inline-block; transition: opacity .2s; }
.ln:hover { opacity: .62; }

.prose > p + p { margin-top: 1.1em; }

.panel {
  border: 1px solid rgba(255, 255, 255, .15);
  padding: 42px;
}
.panel > .sp:first-child { margin-top: 0; }
.panel--card {
  background: var(--bg-1);
  border-color: rgba(255, 255, 255, .08);
  padding: 26px 30px;
}

.back {
  display: inline-block;
  font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.62); transition: color .2s;
}
.back:hover { color: #fff; }

.cardlink { display: block; color: inherit; }
.cardlink:hover .more { gap: 16px; border-color: #fff; }
.cardlink:hover .ph img { transform: scale(1.035); }
.cardlink:hover .t { opacity: .82; }
.cardlink .t { transition: opacity .25s; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: #fff; color: #000; padding: 10px 16px; font-size: 12px;
}
.skip:focus { left: 8px; top: 8px; }

section.band--bar { padding-block: 30px; }
section.band--bar .h { align-items: center; }

/* ---------- media ---------- */
.ph { margin: 0; overflow: hidden; background: #101315; }
.ph--bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.6,.2,1); }
.ph:hover img { transform: scale(1.035); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn:hover { background: rgba(255, 255, 255, 0.12); }
.btn--solid { background: #fff; color: #000; border-color: #fff; }
.btn--solid:hover { background: rgba(255, 255, 255, 0.82); color: #000; }
.btn--sm { min-height: 30px; padding: 0 18px; font-size: 10px; }
.nav .nav__cta { display: none; }   /* shown only inside the mobile menu */

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition: background-color .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.nav__in {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 25px var(--pad);
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__logo { flex: 0 0 auto; width: 264px; color: #fff; }
.nav__logo svg { width: 100%; height: auto; }
.nav__links { display: flex; gap: 22px; margin-inline: auto; }
.nav__links a {
  position: relative;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: .78;
  transition: opacity .2s;
}
.nav__links a:hover { opacity: 1; }
.nav__links a.on { opacity: 1; }
.nav__links a.on::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}
.nav__right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 8px; }
.lang a {
  font-size: 10px; text-transform: uppercase; letter-spacing: .02em;
  opacity: .55; transition: opacity .2s;
}
.lang a:hover { opacity: 1; }
.lang a.on { opacity: 1; font-weight: 500; pointer-events: none; cursor: default; }

.burger { display: none; width: 34px; height: 34px; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; height: 1px; background: #fff; transition: transform .3s, opacity .3s; }
.nav.open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- footer ---------- */
.foot { background: var(--bg-0); padding: 64px 0 28px; border-top: 1px solid rgba(255,255,255,.07); }
.foot__top { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.foot__logo { width: 108px; color: #fff; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.fcol__h {
  margin: 0 0 16px; font-size: 10px; font-weight: 500;
  letter-spacing: .02em; text-transform: uppercase; color: var(--mute);
}
.fcol a { display: block; font-size: 12px; padding: 5px 0; opacity: .92; transition: opacity .2s; }
.fcol a:hover { opacity: .55; }
.foot__bar {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center;
}
.foot__bar .legal:last-child { text-align: right; }
/* gap 10 + padding 4 с каждой стороны = те же 18px на глаз, но палец попадает */
.foot__soc { display: flex; gap: 10px; align-items: center; color: var(--mute); margin: -6px 0; }
.foot__soc a { display: block; padding: 6px 4px; transition: color .2s; }
.foot__soc svg { height: 20px; width: auto; display: block; }
.foot__soc a:hover { color: #fff; }

/* ---------- booking modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: none; }
.modal:target, .modal.open { display: grid; place-items: center; }
.modal__bd { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.modal__box {
  position: relative; width: min(520px, calc(100vw - 32px)); max-height: 90vh; overflow: auto;
  background: var(--bg-1); border: 1px solid rgba(255,255,255,.12); padding: 34px;
}
.modal__x { position: absolute; top: 10px; right: 14px; font-size: 26px; line-height: 1; opacity: .6; }
.modal__x:hover { opacity: 1; }
.modal__box .eyebrow { margin-bottom: 14px; }
.modal__box .t { margin-bottom: 22px; font-size: 30px; }
.bkform { display: grid; gap: 14px; }
.bkform label { display: grid; gap: 7px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.bkform input, .bkform select, .bkform textarea {
  font: inherit; font-size: 14px; letter-spacing: 0; text-transform: none; color: #fff;
  background: transparent; border: 1px solid rgba(255,255,255,.22); padding: 11px 12px; border-radius: 0;
}
.bkform input:focus, .bkform select:focus, .bkform textarea:focus { outline: none; border-color: #fff; }
.bkform select option { background: #15181b; }
.h2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bkform .btn { margin-top: 6px; width: 100%; }
.ok { margin: 0; font-size: 13px; color: #b9f3c8; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .ph img { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 16px; }
  .nav__logo { width: 210px; }
}

@media (max-width: 900px) {
  :root { --pad: 20px; }
  .nav__in { padding: 16px var(--pad); }
  .nav__logo { width: 176px; }
  .burger { display: flex; }
  .nav__links {
    position: fixed; inset: 62px 0 auto; flex-direction: column; gap: 0;
    background: rgba(0,0,0,.97); padding: 8px var(--pad) 22px;
    transform: translateY(-120%); transition: transform .4s cubic-bezier(.2,.7,.2,1);
    margin: 0;
  }
  .nav.open .nav__links { transform: none; }
  .nav__links a { font-size: 13px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav.solid, .nav.open { background: rgba(0,0,0,.94); }
  .nav__right { margin-left: auto; }
  .nav__right .btn--sm { display: none; }
  .nav .nav__cta {
    display: inline-flex;
    margin-top: 20px;
    border-bottom: 0;
    font-size: 11px;
  }
  .nav__links a.nav__cta:hover { opacity: 1; }
  section.band--media { min-height: max(430px, min(var(--minh, 600px), 78svh)); }

  .h { grid-template-columns: 1fr !important; gap: 28px !important; }
  .h > div { grid-column: auto !important; }
  .h--table { gap: 34px !important; }
  .h--table .sp { margin-top: min(var(--sp), 10px); }
  section.band { padding-top: clamp(48px, 9vw, 96px) !important; padding-bottom: clamp(48px, 9vw, 96px) !important; }

  .sp { margin-top: min(var(--sp), 44px); }
  .foot__top { grid-template-columns: 1fr; gap: 34px; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .foot__bar { grid-template-columns: 1fr; text-align: left; margin-top: 38px; }
  .foot__bar .legal:last-child { text-align: left; }
  .modal__box { padding: 26px 20px; }
}

@media (max-width: 700px) {
  /* decorative line breaks from the design would overflow a phone: let it wrap */
  .dbr { display: none; }
}

@media (max-width: 560px) {
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .h2col { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .eyebrow { white-space: normal; }
}
