/* 1. Barvy, rozměry a společné prvky */
:root {
  --purple: #916e97;
  --purple-dark: #916e97;
  --lavender: #f4e6ff;
  --text: #181818;
  --radius: 20px;
  --page-width: 1380px;
  --page-padding: 50px;
  --section-gap: 150px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font:
    18px/1.5 "Figtree",
    Arial,
    sans-serif;
}
body.menu-open {
  overflow: hidden;
}
img,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}
h1,
h2,
h3 {
  /* Dlouhá slova se na úzkém displeji zalomí, místo aby přetekla stránku. */
  overflow-wrap: break-word;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}
h1 {
  font-size: 40px;
}
h2 {
  font-size: 36px;
}
h3 {
  font-size: 26px;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
address {
  font-style: normal;
}
.container {
  width: 100%;
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: var(--page-padding);
}
.section {
  margin-top: var(--section-gap);
}
.section--lavender {
  padding-block: 100px;
  background: var(--lavender);
}
.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}
.section-heading--center {
  align-items: center;
  text-align: center;
}
.section-heading--center h2 {
  max-width: 760px;
}
.section-heading--center p {
  max-width: 690px;
}
.center-heading {
  max-width: 760px;
  margin: 0 auto 57px;
  text-align: center;
}
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  min-height: 70px;
  padding: 18px 30px;
  border: 1px solid transparent;
  border-radius: 50px;
  background: var(--purple);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.1;
  transition: background 0.2s;
}
.button > span {
  font-size: 32px;
  line-height: 1;
}
.button:hover {
  background: var(--purple-dark);
}
.button--outline {
  border-color: currentColor;
  background: transparent;
  color: var(--text);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.text-link > img {
  width: 14px;
  height: 13px;
  transition: transform 0.25s;
}
a:hover .text-link > img {
  transform: translateX(4px);
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 20px;
  background: white;
  color: var(--purple-dark);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}

/* 2. Navigace, mobilní menu a úvod */
/* Hlavička: nahoře průhledná, při scrollu dolů se schová, při scrollu nahoru
   vyjede s bílým pozadím a jemným stínem (třídy přidává js/header.js). */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  padding-block: 25px;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s,
    box-shadow 0.35s,
    padding 0.35s;
}
.site-header.is-solid {
  padding-block: 10px;
  background: white;
  box-shadow: 0 10px 30px #2a1d2e14;
}
.site-header.is-hidden {
  transform: translateY(-110%);
}
.menu-open .site-header {
  transform: none;
}
.header-cta {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 50px;
  background: var(--purple);
  color: white;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.3s;
}
.header-cta img {
  width: 14px;
  height: 13px;
  transition: transform 0.3s;
}
.header-cta:hover {
  background: #7d5c83;
}
.header-cta:hover img {
  transform: translateX(4px);
}
.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  flex: none;
}
.brand img {
  width: 124px;
  height: 80px;
  object-fit: contain;
  transition:
    width 0.35s,
    height 0.35s;
}
.is-solid .brand img {
  width: 93px;
  height: 60px;
}
.navigation__links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.navigation__links a {
  display: block;
  padding-block: 8px;
  font-weight: 500;
  white-space: nowrap;
}
.navigation__links a,
.footer-grid a,
.footer-bottom a {
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px
    no-repeat;
  transition:
    background-size 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.25s;
}
.navigation__links a:hover,
.footer-grid a:hover,
.footer-bottom a:hover {
  background-size: 100% 1px;
}
.footer-company a {
  background: none;
}
.navigation__links a:hover {
  color: var(--purple-dark);
}
/* Na desktopu je panel jen obal odkazů; kontakty patří do mobilního menu. */
.navigation__panel {
  display: contents;
}
.navigation__contact {
  display: none;
}
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 0;
  background: transparent;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin-block: 6px;
  background: var(--purple-dark);
  transition:
    transform 0.25s,
    opacity 0.25s;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f0ebef;
}
.hero__video {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Úvod je vysoký skoro jako obrazovka, obsah má kolem sebe víc vzduchu. */
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  min-height: max(760px, calc(100vh - 100px));
  padding-top: 200px;
  padding-bottom: 130px;
}
.hero h1 {
  max-width: 1002px;
  color: var(--purple-dark);
}
.hero__intro {
  max-width: 532px;
}
.hero__proof {
  display: grid;
  gap: 15px;
}
.google-rating {
  display: flex;
  align-items: center;
  gap: 15px;
}
.google-rating img {
  width: 136px;
  height: 31px;
  object-fit: contain;
}
.google-rating span {
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero__proof p {
  font-size: 16px;
}

/* 3. Pás výhod */
.benefits-strip {
  overflow: hidden;
  background: var(--purple);
  color: white;
}
.benefits-strip__track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  min-height: 97px;
  padding-inline: 40px;
  list-style: none;
}
.benefits-strip__track li {
  display: flex;
  align-items: center;
  gap: 25px;
  white-space: nowrap;
}
.benefits-strip__track li::before {
  content: "";
  width: 28px;
  height: 28px;
  background: url("../assets/icons/check.svg") center / contain no-repeat;
}
.benefits-strip.is-animated .benefits-strip__track {
  animation: benefits-marquee 48s linear infinite;
}
.benefits-strip:hover .benefits-strip__track {
  animation-play-state: paused;
}
@keyframes benefits-marquee {
  to {
    transform: translateX(var(--marquee-distance, -50%));
  }
}

/* 4. Karty služeb */
.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 27px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 25px;
  width: 100%;
}
.service-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-width: 0;
  height: 366px;
  padding: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  color: white;
  grid-column: span 3;
}
.service-card--2 {
  grid-column: span 6;
}
.service-card--4,
.service-card--5,
.service-card--6 {
  grid-column: span 4;
}
.service-card__photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.service-card h3 {
  overflow-wrap: normal;
}
.service-card__icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
/* Jednotný fialový přechod přes všechny fotky (originály mají různé odstíny). */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    #916e9700 30%,
    #916e97d9 58%,
    var(--purple) 78%
  );
  pointer-events: none;
}
.service-card:hover .service-card__photo {
  transform: scale(1.04);
}
.service-card .text-link {
  font-weight: 400;
  font-size: 16px;
}
/* Další služby se ukážou po kliknutí na „Zobrazit všechny služby“. */
.services:not(.is-expanded) .service-card--extra {
  display: none;
}
.service-card.is-entering {
  animation: service-card-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--enter-delay, 0s);
}
@keyframes service-card-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }
}

/* 5. Před a po: sticky prostor a posun řízený scrollováním */
.results {
  overflow: clip;
}
.results h2 {
  max-width: 520px;
  margin-bottom: 50px;
}
.results-scroll {
  position: relative;
}
/* Levý okraj lícuje s obsahem stránky, karty pokračují až k pravému okraji okna. */
.results-sticky {
  padding-inline: max(
    var(--page-padding),
    calc((100% - var(--page-width)) / 2 + var(--page-padding))
  );
}
.results-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.results-track::-webkit-scrollbar {
  display: none;
}
.results:has(.is-scroll-driven) {
  margin-top: 50px;
}
.results-scroll.is-scroll-driven {
  height: var(--scroll-height);
}
.is-scroll-driven .results-sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  height: 100svh;
}
.is-scroll-driven .results-track {
  overflow: visible;
  scroll-snap-type: none;
  will-change: transform;
}
.results-progress {
  height: 8px;
  margin-top: 40px;
  overflow: hidden;
  border-radius: 8px;
  background: #e7dcea;
}
.results-progress span {
  display: block;
  width: calc(var(--results-thumb, 0.3) * 100%);
  height: 100%;
  margin-left: calc(
    var(--results-progress, 0) * (1 - var(--results-thumb, 0.3)) * 100%
  );
  border-radius: inherit;
  background: var(--purple);
}
.comparison-card {
  flex: 0 0 min(84vw, clamp(280px, calc(100svh - 300px), 500px));
  min-width: 0;
  scroll-snap-align: start;
}
.comparison-card__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.comparison-card figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.comparison-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 0.6;
  object-fit: cover;
}
.comparison-card figcaption {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 22px;
  border-radius: 50px;
  background: white;
  color: var(--purple-dark);
  font-weight: 600;
}
.comparison-card h3 {
  margin-top: 24px;
  text-align: center;
  color: var(--purple-dark);
}
/* 6. Důvody, recenze a postup */
.trust .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 57px;
}
.trust .center-heading {
  margin-bottom: 0;
  max-width: 550px;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}
.benefit img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.benefit h3 {
  color: var(--purple-dark);
}
.benefit.reveal-visible:nth-child(2) {
  transition-delay: 0.15s;
}
.benefit.reveal-visible:nth-child(3) {
  transition-delay: 0.3s;
}
.benefit.reveal-pending img {
  transform: scale(0.4) rotate(-20deg);
}
.benefit.reveal-visible img {
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: inherit;
}
.review-card {
  flex: 0 0 100%;
  padding: 36px;
  background: #f4e6ff;
  border-radius: var(--radius);
  scroll-snap-align: start;
}
.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
}
.review-card figcaption img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.review-card figcaption a:hover {
  text-decoration: underline;
}
.review-card blockquote {
  margin-top: 24px;
  line-height: 1.6;
}
.stars {
  display: block;
  color: #e7ae36;
  letter-spacing: 3px;
  font-size: 22px;
}
.process {
  text-align: center;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 31px;
  margin-bottom: 60px;
  text-align: left;
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.process-step__image {
  position: relative;
  margin-bottom: 12px;
}
.process-step__image img {
  width: 100%;
  aspect-ratio: 1.8;
  object-fit: cover;
  border-radius: var(--radius);
}
.process-step__image span {
  position: absolute;
  bottom: 28px;
  left: 30px;
  color: white;
  font:
    700 44px/1 "Cormorant Garamond",
    Georgia,
    serif;
}
/* Nadpisy kroků používají výchozí styl H3 (Cormorant, verzálky) jako na Kariéře. */

/* 7. Letiště — případová studie: nadpis a příběh úklidu při scrollování. */
.airport__head {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: end;
  gap: 30px 80px;
  margin-bottom: 50px;
}
/* Záře za kroky nesmí přetéct mimo sekci; clip nerozbije sticky. */
.airport {
  overflow: clip;
}
.airport .section-heading {
  gap: 22px;
}
.airport h2 {
  font-size: clamp(30px, 3vw, 40px);
}
.airport__lead {
  max-width: 540px;
}
/* Scrollování: celá ukázka se zastaví na místě, prach z fotky mizí zleva
   doprava (--clean 0 → 1) a kroky vpravo plynule vyjíždějí nahoru. Posun
   i průhlednost kroků nastavuje js/main.js. Bez JS jsou kroky pod sebou. */
.airport__pin {
  --progress: 0;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
/* Měkká fialová záře za kroky, která se se scrollováním posouvá dolů. */
.airport__pin::before {
  content: "";
  position: absolute;
  top: 0;
  right: -6%;
  z-index: -1;
  width: min(560px, 50%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #d4b0de66, #ecd9f73d 45%, transparent 70%);
  transform: translateY(calc(var(--progress) * 35%));
  pointer-events: none;
}
/* Délka scrollování, po kterou sekce stojí; třída is-pinned přidává JS. */
/* Přesnou výšku sekce a odsazení shora (aby blok stál uprostřed obrazovky)
   dopočítá JS podle výšky fotky. */
.airport__story.is-pinned {
  height: calc(100vh + 85vh);
}
.airport__story.is-pinned .airport__pin {
  position: sticky;
  top: 90px;
  align-items: stretch;
}
.airport__story.is-pinned .airport__side {
  position: relative;
}
/* Výřez kroků je vysoký jako fotka. Aktivní krok (od prvního po poslední)
   stojí vždy ve stejné výšce (--anchor = podíl výšky výřezu), další pod ním. */
.airport__story.is-pinned .airport__viewport {
  --anchor: 0.28;
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
}
.airport__story.is-pinned .airport__steps {
  will-change: transform;
}
.airport__story.is-pinned .airport__step {
  will-change: opacity;
}
.airport__frame {
  --clean: 0;
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 1.2;
  max-height: calc(100vh - 200px);
  border-radius: 28px;
}
.airport__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(calc(0.35 + var(--clean) * 0.65))
    brightness(calc(0.86 + var(--clean) * 0.14));
  /* Fotka se při čištění pomalu oddaluje do plného záběru. */
  transform: scale(calc(1.08 - var(--clean) * 0.08));
}
/* Prach: nažloutlý závoj a smítka. Neviditelná hrana ho odkrývá zleva doprava;
   široký měkký přechod nevytváří žádnou viditelnou čáru. */
.airport__dust {
  position: absolute;
  inset: 0;
  /* Několik vrstev smítek s „lichými“ rozměry, aby nevznikl pravidelný vzor. */
  background:
    radial-gradient(circle at 13% 27%, #4a3b2e59 0 1px, transparent 1.6px) 0 0 /
      17px 23px,
    radial-gradient(circle at 71% 64%, #5b4a3a4d 0 1.2px, transparent 2px) 5px 9px /
      29px 31px,
    radial-gradient(circle at 37% 81%, #4c3d3040 0 1.8px, transparent 2.8px) 11px 3px /
      47px 53px,
    radial-gradient(circle at 83% 19%, #6b5a4633 0 2.6px, transparent 4.5px) 0 0 /
      113px 97px,
    radial-gradient(ellipse at 30% 70%, #6e5c4433, transparent 45%),
    radial-gradient(ellipse at 75% 25%, #6e5c4426, transparent 40%),
    radial-gradient(ellipse at center, #a8957500 40%, #6e5c444d 100%),
    linear-gradient(160deg, #c3b08f99, #9d8a6c8c);
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(
    100deg,
    transparent calc(var(--clean) * 160% - 60%),
    #000 calc(var(--clean) * 160% - 20%)
  );
  mask-image: linear-gradient(
    100deg,
    transparent calc(var(--clean) * 160% - 60%),
    #000 calc(var(--clean) * 160% - 20%)
  );
  pointer-events: none;
}
.airport__counter {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 18px;
  border-radius: 50px;
  background: white;
  font-size: 14px;
  font-weight: 600;
}
.airport__counter span {
  color: var(--purple);
}
.airport__done {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 12px;
  border-radius: 50px;
  background: white;
  font-size: 15px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.4s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.airport__done::before {
  content: "";
  width: 22px;
  height: 22px;
  background: url("../assets/icons/check-circle.svg") center / contain
    no-repeat;
}
.airport__frame.is-clean .airport__done {
  opacity: 1;
  transform: none;
}
/* Kroky bez linky; viditelnost řídí vzdálenost od aktivní pozice. */
.airport__steps {
  position: relative;
  list-style: none;
}
.airport__step {
  display: grid;
  gap: 14px;
  padding-block: 30px;
}
.airport__number {
  justify-self: start;
  color: var(--purple);
  font:
    700 76px/0.9 "Cormorant Garamond",
    Georgia,
    serif;
  font-variant-numeric: lining-nums;
}
/* Krátká čára mezi kroky; patří ke kroku nad ní, takže je vidět s aktivním. */
.airport__step:not(:last-child)::after {
  content: "";
  width: 56px;
  height: 2px;
  margin-top: 30px;
  border-radius: 2px;
  background: var(--purple);
  opacity: 0.6;
}
.check-list {
  display: grid;
  gap: 20px;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 32px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--purple-dark);
  font-weight: 700;
}

/* 8. Kontakt a časté otázky */
.inquiry {
  display: grid;
  gap: 33px;
}
.inquiry .section-heading p {
  max-width: 588px;
}
.direct-contact {
  text-align: center;
}
.direct-contact > div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 74px;
  margin-top: 12px;
}
.direct-contact a {
  color: var(--purple-dark);
  font-weight: 600;
}
.direct-contact a:hover {
  text-decoration: underline;
}
/* Nadpis dotazů je zarovnaný vlevo k otázkám. */
.faq .center-heading {
  margin: 0 0 25px;
  text-align: left;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 0 40px;
}
.faq-item {
  padding: 26px 0;
  border-bottom: 1px solid #916e9740;
  background: transparent;
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  line-height: 1;
  color: var(--purple-dark);
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin-top: 18px;
  transition: opacity 0.35s ease;
}
.faq-item.is-closing p {
  opacity: 0;
}

/* 9. O nás, kariéra a závěrečný banner */
.about {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  gap: 40px;
}
.about__photo {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
}
.about .section-heading {
  gap: 30px;
}
.careers__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.careers__photos {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 535px;
}
.careers__photos img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: var(--radius);
}
.careers__photos img:first-child {
  grid-row: 1 / 3;
}
.careers .text-link {
  font-size: 16px;
}
.closing__card {
  color: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 50px;
}
.closing__card picture {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.closing__card picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Mobilní verze banneru má zapečenou jinou fialovou (#92519d);
   přechod v primární barvě ji sjednotí s patičkou a zbytkem webu. */
@media (max-width: 600px) {
  .closing__card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
      180deg,
      #916e9700 22%,
      #916e97b3 42%,
      var(--purple) 62%
    );
    pointer-events: none;
  }
}
.closing__card .section-heading {
  max-width: 640px;
  gap: 22px;
}
.closing__card p {
  max-width: 540px;
}
.closing__card .button {
  background: white;
  color: var(--purple);
}
.closing__card .button:hover {
  background: var(--lavender);
}
.closing__card .button:not(.button--outline)::after {
  background: url("../assets/icons/koste-purple.svg") center / contain no-repeat;
}
.closing__card .button:not(.button--outline)::before {
  background:
    radial-gradient(circle at 6px 8px, var(--purple) 0 1.5px, transparent 2px),
    radial-gradient(circle at 17px 5px, var(--purple) 0 1px, transparent 1.5px),
    radial-gradient(circle at 27px 9px, var(--purple) 0 1.5px, transparent 2px);
}

/* 10. Patička — primární fialová, velký nápis značky dole */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 90px 28px;
  border-radius: 48px 48px 0 0;
  background: var(--purple);
  color: #ffffffd9;
}
/* Jemné světlo v rohu dodá plochu hloubku. */
.site-footer::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -160px;
  z-index: -1;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #ffffff24, #ffffff00);
  pointer-events: none;
}
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  border-radius: 50px;
  background: var(--purple);
  color: white;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.3s;
}
.footer-cta img {
  width: 14px;
  height: 13px;
  transition: transform 0.3s;
}
.footer-cta:hover {
  background: #7d5c83;
}
.footer-cta:hover img {
  transform: translateX(4px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 40px;
}
/* Logo je na fialovém pozadí bílé. */
.footer-company img {
  width: 140px;
  filter: brightness(0) invert(1);
}
.footer-company address {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.7;
}
.footer-grid h3 {
  margin-bottom: 20px;
  color: #f4e6ff;
  font:
    700 12px/1.2 "Figtree",
    Arial,
    sans-serif;
  letter-spacing: 0.14em;
}
.footer-grid ul {
  display: grid;
  justify-items: start;
  gap: 10px;
  list-style: none;
  font-size: 16px;
}
.site-footer :is(.footer-grid, .footer-bottom) a:hover {
  color: white;
}
/* Velký nápis v patičce: stejné ručně psané písmo jako v logu. Barva je přímo
   v SVG (assets/images/vyjimecno-napis.svg); obrázek na pozadí funguje i při
   otevření stránky ze souboru. Text v HTML je skrytý. */
.footer-wordmark {
  width: min(100%, 1040px);
  aspect-ratio: 1483.5 / 568.5;
  /* Spodní čtvrtina nápisu (smyčky j) se schová pod okraj patičky: záporný
     okraj = spodní odsazení patičky + 15 % výšky nápisu (výška = 0,383 × šířka). */
  margin: 48px auto calc(-28px - min(100%, 1040px) * 0.06);
  overflow: hidden;
  background: url("../assets/images/vyjimecno-napis.svg") center / contain
    no-repeat;
  color: transparent;
  font-size: 0;
  user-select: none;
}
.footer-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #ffffff33;
  font-size: 13px;
}
/* Vlevo copyright a právní odkazy, vpravo podpis autora webu. */
.footer-bottom {
  align-items: center;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
.footer-credit {
  color: inherit;
}

/* 11. Jemné animace při vstupu do obrazovky */
.reveal-pending {
  opacity: 0;
  transform: translateY(50px);
}
.reveal-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 12. Tablet a mobil — stejná HTML struktura */
@media (min-width: 1440px) {
  h1 {
    font-size: 50px;
  }
  h2 {
    font-size: 40px;
  }
}
/* 7 položek menu + tlačítko: na menších desktopech užší mezery. */
@media (max-width: 1320px) {
  .navigation__links {
    gap: 22px;
  }
  .header-cta {
    padding-inline: 16px;
  }
}
@media (max-width: 1100px) {
  .header-cta {
    display: none;
  }
  .navigation__links {
    gap: 20px;
    font-size: 16px;
  }
  .service-card {
    padding: 28px;
  }
  /* Úzké karty služeb na tabletu: menší nadpis, aby se nevylil z karty. */
  .service-card h3 {
    font-size: 24px;
  }
  .careers__layout {
    gap: 35px;
  }
  .airport__head {
    gap: 30px 40px;
  }
  .airport__pin {
    gap: 50px;
  }
  .benefits-grid {
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footer-grid > :last-child {
    grid-column: 2;
  }
}
@media (max-width: 809px) {
  :root {
    --section-gap: 100px;
    --page-padding: 30px;
  }
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 3;
  }
  .brand {
    position: relative;
    z-index: 3;
  }
  /* Mobilní menu: fialová opona a za ní bílý panel přes celou obrazovku zprava. */
  .navigation::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    background: var(--purple);
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1) 0.12s;
    pointer-events: none;
  }
  .navigation__panel {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    padding: 130px var(--page-padding) 40px;
    overflow-y: auto;
    background: white;
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.6s cubic-bezier(0.77, 0, 0.18, 1),
      visibility 0s linear 0.6s;
  }
  .menu-open .navigation::before {
    transform: none;
    transition-delay: 0s;
  }
  .menu-open .navigation__panel {
    transform: none;
    visibility: visible;
    transition:
      transform 0.7s cubic-bezier(0.77, 0, 0.18, 1) 0.12s,
      visibility 0s;
  }
  .navigation__links {
    display: grid;
    gap: 4px;
  }
  .navigation__links li {
    opacity: 0;
    transform: translateX(60px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }
  .navigation__links a {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding-block: 6px;
    font:
      700 clamp(30px, 8vw, 40px) / 1.15 "Cormorant Garamond",
      Georgia,
      serif;
    text-transform: uppercase;
    white-space: normal;
  }
  .navigation__contact {
    display: grid;
    justify-items: start;
    gap: 8px;
    padding-top: 28px;
    border-top: 1px solid #916e9740;
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }
  .navigation__contact p {
    color: var(--purple);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .navigation__contact a:not(.button) {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 500;
  }
  .navigation__contact a img {
    flex: none;
    width: 20px;
    height: 20px;
  }
  .navigation__contact .button {
    margin-top: 14px;
  }
  .menu-open .navigation__links li,
  .menu-open .navigation__contact {
    opacity: 1;
    transform: none;
    transition:
      opacity 0.5s ease,
      transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .menu-open .navigation__links li:nth-child(1) { transition-delay: 0.35s; }
  .menu-open .navigation__links li:nth-child(2) { transition-delay: 0.41s; }
  .menu-open .navigation__links li:nth-child(3) { transition-delay: 0.47s; }
  .menu-open .navigation__links li:nth-child(4) { transition-delay: 0.53s; }
  .menu-open .navigation__links li:nth-child(5) { transition-delay: 0.59s; }
  .menu-open .navigation__links li:nth-child(6) { transition-delay: 0.65s; }
  .menu-open .navigation__contact {
    transition-delay: 0.75s;
  }
  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .hero__content {
    min-height: 0;
    padding-top: 164px;
    padding-bottom: 100px;
    gap: 30px;
  }
  .airport__head {
    grid-template-columns: 1fr;
    margin-bottom: 36px;
  }
  /* Mobil: fotka nahoře, kroky pod ní vyjíždějí ve výřezu. */
  .airport__pin {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .airport__story.is-pinned .airport__pin {
    top: 80px;
    height: calc(100vh - 100px);
    grid-template-rows: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 10px;
  }
  /* Na mobilu je výřez vyšší, aktivní krok proto stojí blíž pod fotkou. */
  .airport__story.is-pinned .airport__viewport {
    --anchor: 0.1;
  }
  .airport__pin::before {
    top: 40%;
    width: 80%;
  }
  .airport__frame {
    aspect-ratio: 1.6;
    max-height: 38vh;
    width: 100%;
  }
  .airport__step {
    padding-block: 20px;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card {
    grid-column: auto;
  }
  .service-card--2 {
    grid-column: auto;
  }
  .about,
  .careers__layout {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .benefit {
    max-width: 540px;
    gap: 20px;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .process-step {
    max-width: 540px;
    margin-inline: auto;
  }
  .section--lavender {
    padding-block: 70px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .about__photo {
    min-height: 0;
    max-height: 560px;
    aspect-ratio: 1.4;
  }
  .closing__card {
    padding: 35px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :last-child {
    grid-column: auto;
  }
}
@media (max-width: 500px) {
  :root {
    --page-padding: 15px;
    --section-gap: 80px;
  }
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 30px;
  }
  h3 {
    font-size: 24px;
  }
  .hero__intro {
    font-size: 18px;
  }
  .hero__proof p {
    font-size: 13px;
  }
  .google-rating {
    gap: 8px;
    flex-wrap: wrap;
  }
  .google-rating span {
    font-size: 13px;
  }
  .button {
    min-height: 58px;
    padding: 15px 20px;
    gap: 15px;
    font-size: 16px;
  }
  .button-row {
    gap: 12px;
  }
  .airport__number {
    font-size: 56px;
  }
  .airport__counter,
  .airport__done {
    font-size: 13px;
  }
  .benefits-strip__track {
    min-height: 85px;
    gap: 45px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card {
    height: 300px;
    padding: 30px;
  }
  .service-card__content {
    gap: 20px;
  }
  .service-card h3 {
    font-size: 26px;
    max-width: 280px;
  }
  .services:not(.is-expanded) .service-card:nth-child(n + 4) {
    display: none;
  }
  .results h2 {
    margin-bottom: 32px;
  }
  .results-track {
    gap: 16px;
  }
  .results-progress {
    margin-top: 28px;
    height: 6px;
  }
  .comparison-card figcaption {
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    font-size: 14px;
  }
  .review-card {
    padding: 24px;
  }
  .direct-contact > div {
    gap: 16px;
  }
  .careers__photos {
    height: 360px;
  }
  .closing__card {
    padding: 30px 20px;
  }
  .closing__card .section-heading {
    max-width: 90%;
  }
  .footer-grid {
    gap: 30px 20px;
  }
  .footer-company {
    grid-column: 1 / -1;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal-pending {
    opacity: 1;
    transform: none;
  }
  .benefits-strip__track {
    flex-wrap: wrap;
    width: auto;
    padding: 20px;
    gap: 15px 30px;
  }
  .benefits-strip__track [aria-hidden] {
    display: none;
  }
}

/* Sdílené interakce tlačítek a porovnání realizací. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff 31%,
    #fffffff2 42%,
    #ffffffa6 68%,
    #ffffff70 100%
  );
}
.button {
  position: relative;
  overflow: hidden;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.button:not(.button--outline)::after {
  content: "";
  flex: 0 0 26px;
  width: 26px;
  height: 36px;
  background: url("../assets/icons/koste-button.svg") center / contain no-repeat;
  transition: transform 0.35s ease;
}
.button > span[aria-hidden="true"] {
  display: none;
}
.button:not(.button--outline)::before,
.form-button:not(.form-button--back)::before {
  content: "";
  position: absolute;
  right: 22px;
  bottom: calc(50% - 21px);
  width: 34px;
  height: 12px;
  background:
    radial-gradient(circle at 6px 8px, #fff 0 1.5px, transparent 2px),
    radial-gradient(circle at 17px 5px, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 27px 9px, #fff 0 1.5px, transparent 2px);
  opacity: 0;
  pointer-events: none;
}
.button:not(.button--outline):is(:hover, :focus-visible)::before,
.form-button:not(.form-button--back):is(:hover, :focus-visible)::before {
  animation: broom-dust 1.2s ease-in-out both;
}
.button:not(.button--outline)::after,
.form-button:not(.form-button--back)::after {
  transform-origin: 50% 20%;
}
.button:not(.button--outline):is(:hover, :focus-visible)::after,
.form-button:not(.form-button--back):is(:hover, :focus-visible)::after {
  animation: broom-sweep 1.2s ease-in-out both;
}
.button--outline:focus-visible {
  background: var(--purple);
  border-color: transparent;
  color: white;
}
@media (hover: hover) {
  .button--outline:hover {
    background: var(--purple);
    border-color: transparent;
    color: white;
  }
}
@keyframes broom-sweep {
  0%,
  100% {
    transform: translateX(0) rotate(0);
  }
  16% {
    transform: translateX(-5px) rotate(22deg);
  }
  36% {
    transform: translateX(6px) rotate(-28deg);
  }
  57% {
    transform: translateX(-5px) rotate(20deg);
  }
  78% {
    transform: translateX(7px) rotate(-24deg);
  }
}
@keyframes broom-dust {
  0%,
  12% {
    opacity: 0;
    transform: translateX(-5px) scale(1);
  }
  24% {
    opacity: 0.8;
    transform: translateX(0) scale(1);
  }
  42% {
    opacity: 0;
    transform: translate(12px, -3px) scale(0.6);
  }
  53% {
    opacity: 0;
    transform: translateX(-7px) scale(1);
  }
  64% {
    opacity: 0.7;
    transform: translateX(-3px) scale(1);
  }
  88%,
  100% {
    opacity: 0;
    transform: translate(17px, -5px) scale(0.4);
  }
}
.comparison-card.is-interactive {
  position: relative;
}
.is-interactive .comparison-card__photos {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  --comparison-position: 50%;
}
.is-interactive figure {
  position: absolute;
  inset: 0;
  border-radius: 0;
}
.is-interactive figure:first-child {
  z-index: 1;
  clip-path: inset(0 calc(100% - var(--comparison-position)) 0 0);
}
.is-interactive img {
  height: 100%;
  pointer-events: none;
}
.is-interactive figcaption {
  display: none;
}
.comparison-divider {
  position: absolute;
  z-index: 2;
  inset-block: 0;
  left: var(--comparison-position);
  width: 2px;
  background: white;
  transform: translateX(-50%);
  pointer-events: none;
}
.comparison-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: white;
  transform: translate(-50%, -50%);
  transition: box-shadow 0.2s;
}
.comparison-range {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
/* Bez rámečku kolem fotky; klávesnici ukazuje kroužek na táhle. */
.comparison-range:focus,
.comparison-range:focus-visible {
  outline: none;
}
.comparison-card__photos:has(.comparison-range:focus-visible)
  .comparison-divider::after {
  box-shadow: 0 0 0 3px var(--purple);
}
.is-interactive h3 {
  position: absolute;
  z-index: 4;
  bottom: 20px;
  left: 7%;
  right: 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 16px 22px;
  border-radius: 50px;
  background: white;
  color: var(--text);
  font:
    400 16px/1.3 "Figtree",
    Arial,
    sans-serif;
  text-transform: none;
  pointer-events: none;
}
.is-interactive h3::before {
  content: "Před";
}
.is-interactive h3::after {
  content: "Po";
}
.results + .trust {
  margin-top: clamp(48px, 6vw, 85px);
}
@media (max-width: 500px) {
  .hero::after {
    background: linear-gradient(90deg, #fffffff5, #ffffffbf);
  }
  .is-interactive h3 {
    left: 5%;
    right: 5%;
    bottom: 16px;
    padding: 14px;
    font-size: 13px;
  }
}
@media (max-width: 500px) {
  .site-footer {
    padding-top: 60px;
    border-radius: 28px 28px 0 0;
  }
  .site-footer::before {
    width: 420px;
    height: 420px;
  }
}

/* Tlačítko se šipkou v bílém kolečku (např. kariéra). */
.button.button--arrow:not(.button--outline) {
  padding-right: 18px;
}
.button.button--arrow:not(.button--outline)::after {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: white url("../assets/icons/arrow-purple.svg") center / 14px 13px
    no-repeat;
  transition: transform 0.3s;
}
.button.button--arrow:not(.button--outline)::before {
  content: none;
}
.button.button--arrow:not(.button--outline):is(:hover, :focus-visible)::after {
  animation: none;
  transform: translateX(3px);
}

/* Recenze: velké hodnocení vlevo, dva sloupce karet plynou proti sobě. */
.reviews-wall {
  overflow: hidden;
}
.reviews-wall__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  align-items: center;
  gap: 70px;
}
.reviews-wall__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.reviews-wall__score {
  display: flex;
  align-items: center;
  gap: 20px;
}
.reviews-wall__score strong {
  color: var(--purple);
  font:
    700 clamp(72px, 8vw, 110px) / 0.9 "Cormorant Garamond",
    Georgia,
    serif;
  font-variant-numeric: lining-nums;
}
.reviews-wall__score div {
  display: grid;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
}
.reviews-wall__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  height: 500px;
  /* Karty se nahoře i dole ztrácejí do pozadí. */
  -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
}
/* Malé odsazení, aby okraje karet nebyly oříznuté. */
.reviews-wall__column {
  overflow: hidden;
  padding: 4px 14px;
}
.reviews-wall:not(.is-animated) .reviews-wall__column {
  overflow-y: auto;
}
.reviews-wall__column ul {
  display: grid;
  gap: 20px;
  list-style: none;
}
/* Posun řídí js/main.js: sám plyne, při najetí stojí a jde posouvat
   kolečkem nebo tažením myši. */
.reviews-wall.is-animated .reviews-wall__column {
  cursor: grab;
}
.reviews-wall.is-animated .reviews-wall__column ul {
  will-change: transform;
}
.reviews-wall__column.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.reviews-wall .review-card {
  padding: 28px;
  border: 2px solid #e6dde9;
  background: white;
}
.reviews-wall .review-card blockquote {
  margin-top: 18px;
  font-size: 16px;
}
@media (max-width: 1100px) {
  .reviews-wall__layout {
    gap: 40px;
  }
}
@media (max-width: 809px) {
  .reviews-wall__layout {
    grid-template-columns: 1fr;
  }
  .reviews-wall__columns {
    grid-template-columns: 1fr;
    height: 440px;
  }
  .reviews-wall__column--down {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-wall__column {
    overflow-y: auto;
  }
  .reviews-wall__column [aria-hidden="true"] {
    display: none;
  }
}

/* Úvodní načítání: bílá plocha s logem a procenty. Po 100 % logo zmizí
   a plocha se ze středu rozjede do všech stran. */
html.is-loading {
  overflow: hidden;
}
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
}
/* Bez JavaScriptu se načítání nezobrazí vůbec. */
html:not(.is-loading) .preloader:not(.is-opening) {
  display: none;
}
/* „Okno“ uprostřed: bílá plocha je jeho obří stín. Když okno vyroste
   do všech stran, bílá se rozjede nahoru, dolů, doleva i doprava. */
.preloader__window {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  box-shadow: 0 0 0 150vmax white;
  transform: translate(-50%, -50%);
  transition:
    width 1.1s cubic-bezier(0.77, 0, 0.18, 1),
    height 1.1s cubic-bezier(0.77, 0, 0.18, 1);
}
.preloader.is-opening .preloader__window {
  width: 101vw;
  height: 101vh;
}
.preloader__content {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  transition:
    opacity 0.45s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.preloader__content img {
  width: 186px;
  height: auto;
  animation: preloader-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.preloader__percent {
  color: var(--purple);
  font:
    700 22px/1 "Cormorant Garamond",
    Georgia,
    serif;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: 0.08em;
}
.preloader.is-done .preloader__content {
  opacity: 0;
  transform: scale(0.94);
}
@keyframes preloader-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
