/* Inter Variable (wght + opsz), SIL OFL 1.1 (assets/fonts/OFL.txt) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-cyrillic-opsz-normal.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-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-ext-opsz-normal.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-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-opsz-normal.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: #1D1D1F;
  --gray: #6E6E73;
  --gray-dark-bg: #86868B;
  --white: #FFFFFF;
  --light: #F5F5F7;
  --black: #000000;
  --ph: #E8E8ED;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
  --nav-h: 52px;

  /* small: up to 734px (mobile first) */
  --h1: 44px;
  --h2: 36px;
  --text: 17px;
  --num: 64px;
  --tile-title: 28px;
  --section-pad: 88px;
}
@media (min-width: 735px) {
  :root {
    --h1: 64px;
    --h2: 48px;
    --text: 19px;
    --num: 72px;
    --tile-title: 32px;
    --section-pad: 120px;
  }
}
@media (min-width: 1069px) {
  :root {
    --h1: 80px;
    --h2: 56px;
    --text: 21px;
    --num: 80px;
    --tile-title: 32px;
    --section-pad: 148px;
  }
}

/* Language switching: elements with lang="sk" / lang="uk" */
html[data-lang="sk"] [lang="uk"],
html[data-lang="uk"] [lang="sk"] { display: none !important; }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--text);
  line-height: 1.4;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid #86868B;
  outline-offset: 3px;
}

/* Apple grid: 87.5% / 692px / 980px */
.content {
  width: 87.5%;
  margin: 0 auto;
}
@media (min-width: 735px) { .content { width: 692px; } }
@media (min-width: 1069px) { .content { width: 980px; } }

.section {
  padding: var(--section-pad) 0;
  text-align: center;
  scroll-margin-top: var(--nav-h);
}
.bg-white { background: var(--white); }
.bg-light { background: var(--light); }
.bg-black { background: var(--black); color: var(--white); }

.h1, .h2 {
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h1 { font-size: var(--h1); line-height: 1.06; }
.h2 { font-size: var(--h2); line-height: 1.08; }
.bg-black .h2 { color: var(--white); }

.lead {
  font-size: var(--text);
  line-height: 1.38;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
  text-wrap: pretty;
}
.bg-black .lead { color: var(--gray-dark-bg); }

.small {
  font-size: 14px;
  line-height: 1.43;
  letter-spacing: -0.006em;
  color: var(--gray);
}

/* ---------- Sticky nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: rgba(255, 255, 255, 0.96); }
}
.nav .content {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
  color: var(--ink);
}
.lang {
  display: flex;
  align-items: center;
  margin-right: -10px;
}
.lang button {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 0;
  background: none;
  color: var(--gray);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.lang .sep { color: #D2D2D7; font-size: 14px; }

/* ---------- Buttons & links ---------- */
.ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
@media (min-width: 735px) {
  .ctas { flex-direction: row; justify-content: center; gap: 32px; }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 980px;
  background: var(--ink);
  color: var(--white);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.011em;
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: #3A3A3C; }
.btn:active { background: #48484A; }
.bg-black .btn { background: var(--white); color: var(--ink); }
.bg-black .btn:hover { background: #E8E8ED; }
.bg-black .btn:active { background: #D2D2D7; }

.link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 17px;
  letter-spacing: -0.011em;
  color: var(--ink);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.link:hover { text-decoration: underline; }
.bg-black .link { color: var(--light); }
.link--chev::after { content: "\00a0\203A"; }

/* ---------- Media placeholders (replaced by files in assets/) ---------- */
.media {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--ph);
  color: var(--gray);
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}
.media > img,
.media > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.ph-label {
  font-size: 14px;
  font-weight: 500;
  display: grid;
  justify-items: center;
  gap: 14px;
}
.media.is-loaded { background: transparent; }
.media.is-loaded > img,
.media.is-loaded > video { opacity: 1; }
.media.is-loaded .ph-label { display: none; }

.media--phone {
  width: min(300px, 76vw);
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
}
@media (min-width: 1069px) { .media--phone { width: 380px; border-radius: 56px; } }
.media--phone.is-loaded {
  aspect-ratio: auto;
  border-radius: 0;
  overflow: visible;
}
.media--phone.is-loaded > img {
  position: static;
  height: auto;
  object-fit: contain;
}
.bg-black .media { background: #1D1D1F; color: var(--gray-dark-bg); }
.bg-black .media.is-loaded { background: transparent; }

/* ---------- Hero ---------- */
.hero { padding-top: 64px; padding-bottom: 0; }
@media (min-width: 1069px) { .hero { padding-top: 96px; } }
.hero .h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 32px; text-wrap: balance; }
.hero .small { margin-top: 16px; }
.hero-visual { padding: 56px 0 var(--section-pad); }
@media (min-width: 1069px) { .hero-visual { padding-top: 80px; } }

/* ---------- Video ---------- */
.section-head { margin-bottom: 48px; }
@media (min-width: 1069px) { .section-head { margin-bottom: 72px; } }
.media--video {
  width: min(340px, 87.5vw);
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  background: #E3E3E8;
}
@media (min-width: 1069px) { .media--video { width: 400px; } }
.media--video.is-loaded { background: #000; }
.media--video > video { object-fit: contain; }
.play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
}
.play svg { width: 24px; height: 24px; margin-left: 3px; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 56px;
}
@media (min-width: 1069px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
.step-num {
  display: block;
  font-size: var(--num);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.step-title {
  font-size: var(--tile-title);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.step .lead { max-width: 340px; }

/* ---------- Tiles ---------- */
.tiles {
  display: grid;
  gap: 20px;
}
@media (min-width: 1069px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.tile {
  background: var(--white);
  border-radius: 28px;
  padding: 48px 28px 52px;
}
@media (min-width: 1069px) { .tile { padding: 64px 36px 72px; } }
.tile .step-title { margin-bottom: 12px; }

/* ---------- Nearby (black) ---------- */
.eyebrow {
  font-size: var(--text);
  font-weight: 600;
  letter-spacing: -0.011em;
  color: var(--gray-dark-bg);
  margin-bottom: 12px;
}
.nearby .h2 { margin-bottom: 20px; }
.nearby .media { margin-top: 64px; }
@media (min-width: 1069px) { .nearby .media { margin-top: 88px; } }

/* ---------- Price ---------- */
.price .h2 { margin-bottom: 20px; }
.price .small { margin: 16px 0 36px; }

/* ---------- About ---------- */
.media--avatar {
  width: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  margin-bottom: 32px;
  background: #E3E3E8;
}
.media--avatar .ph-label { font-size: 12px; }
.about .lead { max-width: 600px; }
.about .hl { color: var(--ink); }

/* ---------- Contact (black) ---------- */
.contact .h2 { margin-bottom: 40px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--light);
  padding: 20px 0 28px;
  text-align: center;
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: -0.01em;
  color: var(--gray);
}
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
