:root {
  --kok-navy: #10232e;
  --kok-navy-deep: #0a1b24;
  --kok-paper: #f1e8da;
  --kok-paper-soft: #f8f2e9;
  --kok-ink: #172d37;
  --kok-muted: #84949a;
  --kok-line: rgba(23, 45, 55, .18);
  --kok-rust: #8d4a4d;
  --kok-coral: #c95449;
  --kok-blue: #24677d;
}

.kok-case,
.kok-case * { box-sizing: border-box; }

.kok-case {
  width: 100%;
  overflow: clip;
  color: var(--kok-ink);
  font-family: 'CMYKER Gilroy', Gilroy, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.4;
  background: var(--kok-paper);
}

.kok-case img { display: block; max-width: 100%; }
.kok-case figure { margin: 0; }
.kok-case a { color: inherit; text-decoration: none; }
.kok-case h1,
.kok-case h2,
.kok-case p { margin: 0; }

.kok-wrap {
  width: min(100% - 96px, 1300px);
  margin-inline: auto;
}

.kok-dark { background: var(--kok-navy); color: #ece9e1; }
.kok-paper { background: var(--kok-paper); color: var(--kok-ink); }

.kok-casebar {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.17);
  color: #98a6aa;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.kok-casebar a { color: #d8dcda; font-size: 15px; letter-spacing: .08em; }
.kok-casebar span:last-child { text-align: right; }

.kok-hero-grid {
  min-height: 295px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  align-items: center;
  gap: 70px;
  padding-block: 34px 28px;
}

.kok-kicker,
.kok-number,
.kok-tags {
  color: #91a2a8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kok-hero-grid h1 {
  margin-top: 15px;
  color: #f0ece4;
  font-size: clamp(58px, 6.4vw, 92px);
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: .96;
}

.kok-tags { margin-top: 18px; font-size: 10px; }

.kok-hero-note {
  color: #d2d5d0;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.35;
  justify-self: end;
  min-width: 310px;
}

.kok-panorama {
  position: relative;
  width: 100%;
  height: clamp(360px, 36vw, 560px);
  overflow: hidden;
  background: #0a3550;
}

.kok-panorama > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
}

.kok-panorama::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,27,36,.04), rgba(9,27,36,.13));
  pointer-events: none;
}

.kok-panorama .kok-panorama-logo {
  position: absolute;
  z-index: 1;
  width: clamp(290px, 27vw, 430px);
  height: auto;
  right: 7vw;
  top: 50%;
  transform: translateY(-50%);
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.12));
}

.kok-task {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: 92px;
  align-items: end;
  padding-block: 44px 34px;
}

.kok-task h2 {
  margin-top: 20px;
  font-size: clamp(38px, 4.1vw, 62px);
  font-weight: 300;
  letter-spacing: -.04em;
  line-height: 1.04;
}

.kok-task > p {
  color: #8fa0a6;
  font-size: 20px;
  line-height: 1.55;
  padding-bottom: 8px;
}

.kok-route {
  display: grid;
  grid-template-columns: repeat(11, auto);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px 28px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: #a2afb2;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
}

.kok-route i { color: #647980; font-style: normal; }

.kok-product { padding-block: 44px 70px; }

.kok-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 20px;
}

.kok-section-head h2 {
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1.03;
}

.kok-section-head p {
  color: #92a0a2;
  font-size: 13px;
  text-align: right;
}

.kok-screen-fragment {
  overflow: hidden;
  background: var(--kok-paper-soft);
  border: 1px solid rgba(23,45,55,.07);
}

.kok-screen-fragment img { width: 100%; height: auto; }

.kok-rooms-head {
  align-items: end;
  margin-top: 42px;
  padding-top: 40px;
  border-top: 1px solid var(--kok-line);
}

.kok-rooms-head h2 { font-size: clamp(44px, 5vw, 70px); }
.kok-rooms-head p { color: #465c65; font-weight: 600; letter-spacing: .08em; }

.kok-rooms-fragment {
  max-height: 1250px;
  border: 0;
}

.kok-prices-fragment {
  margin-top: 28px;
  border: 0;
}

.kok-themes {
  padding-block: 36px 88px;
  border-top: 1px solid var(--kok-line);
}

.kok-number-accent { color: var(--kok-rust); }

.kok-display {
  margin-top: 38px !important;
  font-size: clamp(56px, 6.4vw, 94px);
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: 1;
}

.kok-subtitle {
  margin-top: 18px !important;
  color: #829196;
  font-size: clamp(18px, 2vw, 28px);
}

.kok-theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-top: 42px;
}

.kok-browser figcaption {
  margin-bottom: 12px;
  color: #566a72;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.kok-browser {
  transition: transform .35s ease;
}

.kok-browser:hover { transform: translateY(-7px); }

.kok-browser-bar {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: #d7d2ca;
  color: #7d807d;
  font-size: 9px;
  letter-spacing: .1em;
}

.kok-browser:nth-child(2) .kok-browser-bar { background: #203541; color: #8b9ca1; }
.kok-browser-bar i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.kok-browser-bar span { margin-left: 8px; }

.kok-browser > img {
  width: 100%;
  aspect-ratio: 1.72;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 18px 48px rgba(18,40,51,.08);
}

.kok-mobile { padding-block: 48px 90px; }

.kok-mobile-head {
  display: grid;
  grid-template-columns: 1fr 330px;
  align-items: end;
  gap: 70px;
  margin-top: 24px;
}

.kok-mobile-head h2 {
  font-size: clamp(58px, 7vw, 102px);
  font-weight: 300;
  letter-spacing: -.05em;
  line-height: .96;
}

.kok-mobile-head p { color: #a4b0b3; font-size: 22px; line-height: 1.45; }

.kok-phones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 46px;
  padding-bottom: 58px;
  border-bottom: 1px solid rgba(255,255,255,.17);
}

.kok-phone figcaption {
  min-height: 30px;
  margin-bottom: 13px;
  color: #8d9da2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
}

.kok-phone figcaption b { color: #667c84; margin-right: 8px; }

.kok-phone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: .48;
  overflow: hidden;
  background: #eae1d5;
  box-shadow: 0 18px 50px rgba(0,0,0,.14);
}

.kok-phone-screen img {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: auto;
  max-width: none;
}

.kok-phone-rooms img { transform: translateY(-10%); }
.kok-phone-reviews img { transform: translateY(-57%); }
.kok-phone-contact img { transform: translateY(-81%); }

.kok-result { padding-block: 54px 68px; }

.kok-result h2 {
  max-width: 1270px;
  margin-top: 34px;
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.kok-result-tags { margin-top: 54px; color: #8b999c; }

.kok-final-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px minmax(180px, .5fr);
  align-items: end;
  gap: 26px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--kok-line);
}

.kok-final-row > div { display: flex; flex-direction: column; gap: 10px; }
.kok-final-row > div span,
.kok-all-cases { color: #809095; font-size: 11px; font-weight: 600; letter-spacing: .13em; }
.kok-final-row > div a { font-size: clamp(48px, 5vw, 72px); font-weight: 300; letter-spacing: -.035em; }

.kok-round-link {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff !important;
  background: var(--kok-rust);
  font-size: 28px;
  transition: transform .25s ease, background-color .25s ease;
}

.kok-round-link:hover { transform: translate(4px,-4px); background: var(--kok-coral); }
.kok-all-cases { justify-self: end; padding-bottom: 20px; color: var(--kok-ink); }
.kok-all-cases span { margin-left: 12px; }

.kok-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.kok-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .kok-reveal { opacity: 1; transform: none; transition: none; }
  .kok-browser, .kok-round-link { transition: none; }
}

@media (max-width: 900px) {
  .kok-wrap { width: min(100% - 40px, 760px); }
  .kok-casebar { grid-template-columns: 1fr 1fr; min-height: 62px; font-size: 9px; }
  .kok-casebar span:last-child { display: none; }
  .kok-casebar span:nth-child(2) { text-align: right; }
  .kok-hero-grid { grid-template-columns: 1fr; gap: 24px; min-height: auto; padding-block: 28px 32px; }
  .kok-hero-note { justify-self: start; min-width: 0; font-size: 18px; }
  .kok-task { grid-template-columns: 1fr; gap: 28px; }
  .kok-task > p { font-size: 17px; }
  .kok-route { grid-template-columns: repeat(6, 1fr); row-gap: 14px; }
  .kok-route i { display: none; }
  .kok-theme-grid { gap: 20px; }
  .kok-mobile-head { grid-template-columns: 1fr; gap: 26px; }
  .kok-phones { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 20px; }
}

@media (max-width: 560px) {
  .kok-wrap { width: calc(100% - 32px); }
  .kok-casebar { min-height: 60px; }
  .kok-casebar a { font-size: 11px; }
  .kok-hero-grid { padding-block: 30px 28px; }
  .kok-hero-grid h1 { font-size: clamp(47px, 15vw, 64px); line-height: .98; }
  .kok-kicker, .kok-number, .kok-tags { font-size: 9px; }
  .kok-hero-note br { display: none; }
  .kok-panorama { height: 250px; }
  .kok-panorama > img:first-child { object-position: 47% center; }
  .kok-panorama .kok-panorama-logo { width: 180px; right: 6px; top: 44%; }
  .kok-task { padding-block: 34px 26px; }
  .kok-task h2 { font-size: 31px; }
  .kok-task h2 br { display: none; }
  .kok-route { grid-template-columns: repeat(3,1fr); padding-block: 18px 24px; font-size: 9px; }
  .kok-product { padding-block: 32px 46px; }
  .kok-section-head { display: block; }
  .kok-section-head h2 { font-size: 30px; }
  .kok-section-head p { margin-top: 8px; text-align: left; }
  .kok-screen-fragment { margin-inline: 0; }
  .kok-rooms-head { margin-top: 28px; padding-top: 28px; }
  .kok-rooms-head h2 { font-size: 34px; }
  .kok-rooms-head p { font-size: 9px; }
  .kok-rooms-fragment { max-height: 1050px; }
  .kok-themes { padding-block: 30px 48px; }
  .kok-display { margin-top: 25px !important; font-size: 46px; }
  .kok-subtitle { font-size: 16px; }
  .kok-theme-grid { grid-template-columns: 1fr; margin-top: 28px; }
  .kok-mobile { padding-block: 38px 54px; }
  .kok-mobile-head h2 { font-size: 47px; }
  .kok-mobile-head p { font-size: 16px; }
  .kok-phones { margin-top: 32px; gap: 24px 12px; padding-bottom: 38px; }
  .kok-phone figcaption { font-size: 8px; margin-bottom: 8px; }
  .kok-result { padding-block: 38px 46px; }
  .kok-result h2 { margin-top: 23px; font-size: 30px; }
  .kok-result-tags { margin-top: 34px; line-height: 1.8; }
  .kok-final-row { grid-template-columns: 1fr 54px; gap: 14px; }
  .kok-final-row > div a { font-size: 37px; }
  .kok-round-link { width: 52px; height: 52px; font-size: 23px; }
  .kok-all-cases { grid-column: 1 / -1; justify-self: start; padding: 12px 0 0; }
}
