/* ==========================================================================
   Goodfellas Barber Shop Louny
   Monochromatický systém: antracit / téměř černá / bílá / světle šedé panely
   ========================================================================== */

:root {
  --ink: #404040;
  --black: #131313;
  --white: #ffffff;
  --panel: #ebebeb;
  --line: #e4e4e4;
  --line-dark: rgba(255, 255, 255, 0.18);
  --muted: #6b6b6b;
  --muted-on-dark: #b3b3b3;

  --font-sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --frame: 20px;
  --gutter: clamp(20px, 3.2vw, 48px);
  --section: clamp(72px, 10vw, 152px);
  --header-h: 80px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 200ms;
  --dur: 400ms;
  --dur-slow: 900ms;

  --z-header: 100;
  --z-menu: 90;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--white);
  color: var(--black);
  padding: 12px 20px;
  font-weight: 600;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typografie ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.h-xl {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.h-lg {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.h-md {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 1rem;
  line-height: 1.65;
  max-width: 68ch;
  text-wrap: pretty;
}

.text-link {
  display: inline-block;
  padding: 10px 0 4px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 2px no-repeat;
  transition: background-size var(--dur) var(--ease-out);
}
@media (hover: hover) {
  .text-link:hover { background-size: 0% 2px; background-position: right bottom; }
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }

.framed { margin-inline: var(--frame); }

.center { text-align: center; }
.center .lead { margin-inline: auto; }

.stack > * + * { margin-top: 20px; }
.stack > .eyebrow + * { margin-top: 14px; }
.stack > .btn, .stack > .text-link { margin-top: 28px; }

/* ---------- Tlačítka ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  overflow: hidden;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--black);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(0.97); }

/* dvojitý text - přetočení při hoveru */
.btn__label { display: block; position: relative; overflow: hidden; }
.btn__label > span { display: block; padding: 4px 0; transition: transform var(--dur) var(--ease-out); }
.btn__label > span + span { position: absolute; left: 0; top: 100%; }
@media (hover: hover) {
  .btn:hover .btn__label > span { transform: translateY(-100%); }
}

.btn--outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--black);
}
@media (hover: hover) {
  .btn--outline:hover { background: var(--ink); color: var(--white); }
}

.btn--ghost {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
@media (hover: hover) {
  .btn--ghost:hover { background: var(--white); color: var(--black); }
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
@media (hover: hover) {
  .btn--dark:hover { background: var(--black); border-color: var(--black); }
}

/* ---------- Hlavička ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  color: var(--white);
  background: transparent;
  transition: background-color var(--dur) ease, transform var(--dur) var(--ease-out);
}
.header--overlay { top: var(--frame); padding-inline: calc(var(--frame) + 20px); transition: background-color var(--dur) ease, top var(--dur) var(--ease-out), padding var(--dur) var(--ease-out); }
.header.is-solid,
.header--solid { background: var(--ink); top: 0; padding-inline: var(--gutter); }
body.menu-open .header { background: transparent; }

.header__logo { display: inline-flex; align-items: center; min-height: 44px; }
.header__logo img { height: 46px; width: auto; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header .btn { min-height: 48px; }

.burger {
  position: relative;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
}
.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--white);
  transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) ease;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 30px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Celoobrazovkové menu ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
  background: var(--black);
  color: var(--white);
  overflow-y: auto;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 600ms var(--ease-in-out), visibility 0s linear 600ms;
}
.menu.is-open {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path 600ms var(--ease-in-out), visibility 0s;
}

.menu__list { display: grid; gap: 4px; }
.menu__list li { overflow: hidden; }
.menu__link {
  display: inline-flex;
  align-items: baseline;
  gap: 18px;
  padding: 6px 0;
  font-size: clamp(2.1rem, 6.4vw, 4.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-decoration: none;
  transform: translateY(110%);
  transition: transform 700ms var(--ease-out), opacity var(--dur-fast) ease;
  transition-delay: 0ms;
}
.menu__link small {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--muted-on-dark);
}
.menu.is-open .menu__link { transform: none; transition-delay: calc(180ms + var(--i, 0) * 60ms), 0ms; }
.menu__link[aria-current="page"] { color: var(--muted-on-dark); }
@media (hover: hover) {
  .menu__list:hover .menu__link { opacity: 0.45; }
  .menu__list .menu__link:hover { opacity: 1; }
}

.menu__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  opacity: 0;
  transition: opacity var(--dur) ease;
}
.menu.is-open .menu__meta { opacity: 1; transition-delay: 500ms; }
.menu__meta a { text-decoration: none; display: inline-block; padding: 10px 0; }
.menu__meta .eyebrow { color: var(--muted-on-dark); display: block; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  margin: var(--frame);
  height: calc(100vh - var(--frame) * 2);
  height: calc(100svh - var(--frame) * 2);
  min-height: 480px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transform: scale(1.04);
  animation: kenburns 24s ease-in-out infinite alternate;
  will-change: transform;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 19, 19, 0.85) 0%, rgba(19, 19, 19, 0.15) 45%, rgba(19, 19, 19, 0.35) 100%);
}
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-1.2%, -1.5%, 0); }
}

.hero__tag {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(clamp(20px, 3vw, 40px) + 5.4vw + 22px);
  padding-inline: clamp(20px, 3vw, 40px);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--white);
}
.hero__tag .eyebrow { color: inherit; opacity: 0; animation: fade-in 900ms ease 900ms forwards; }

.wordmark {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(20px, 3vw, 40px);
  padding-inline: clamp(20px, 3vw, 40px);
  display: flex;
  gap: 4.2vw;
  font-size: 4.3vw;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.wordmark__word {
  flex: 1;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  padding-block: 0.06em;
}
.wordmark__word span {
  display: block;
  transform: translateY(115%);
  animation: rise 1100ms var(--ease-out) forwards;
  animation-delay: calc(250ms + var(--i) * 45ms);
}
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade-in { to { opacity: 1; } }

/* ---------- Pruh výhod ---------- */

.perks {
  border-bottom: 1px solid var(--line);
}
.perks__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 22px;
  font-size: 0.875rem;
}
.perks__list li { display: inline-flex; align-items: center; gap: 10px; }
.perks__list svg { width: 18px; height: 18px; flex: none; }

/* ---------- Karty s odkazem ---------- */

.tiles {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--frame);
}
.tile {
  position: relative;
  display: block;
  height: clamp(320px, 42vw, 620px);
  overflow: hidden;
  background: var(--panel);
  color: var(--white);
  text-decoration: none;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease-out), opacity var(--dur) ease;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 19, 19, 0.8), rgba(19, 19, 19, 0) 50%);
}
.tile__label {
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(20px, 2.6vw, 40px);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 600;
  line-height: 1.1;
}
.tile__label svg { width: 28px; height: 28px; flex: none; transition: transform var(--dur) var(--ease-out); }
@media (hover: hover) {
  .tile:hover img { transform: scale(1.06); }
  .tile:hover .tile__label svg { transform: translateX(8px); }
}

/* ---------- Velký obraz s posuvným nápisem ---------- */

.banner {
  position: relative;
  height: clamp(420px, 108vh, 980px);
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}
.banner__img {
  position: absolute;
  inset: -12% 0;
  will-change: transform;
}
.banner__img img { width: 100%; height: 100%; object-fit: cover; }
.banner__word {
  position: absolute;
  left: 0;
  white-space: nowrap;
  font-size: clamp(2rem, 8.4vw, 9rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  will-change: transform;
}
.banner__word--top { top: -0.02em; }
.banner__word--bottom { bottom: -0.02em; left: auto; right: -0.34em; }

/* ---------- Galerie ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--frame);
}
.gallery figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Tmavý pás s výzvou ---------- */

.band {
  background: var(--ink);
  color: var(--white);
}
.band__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: clamp(56px, 9vw, 150px) clamp(24px, 4vw, 64px) clamp(40px, 4.5vw, 64px);
}
.band .eyebrow { color: var(--muted-on-dark); }

/* ---------- Recenze ---------- */

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--frame);
  margin-top: clamp(40px, 5vw, 72px);
  text-align: left;
}
.review {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: clamp(28px, 3vw, 44px);
  background: var(--panel);
}
.stars { display: flex; gap: 6px; }
.stars svg { width: 26px; height: 26px; }
.review blockquote { margin: 0; font-size: 0.9375rem; line-height: 1.7; flex: 1; }
.review cite { font-style: normal; font-size: 0.875rem; font-weight: 500; }
.review cite small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8125rem; }

/* ---------- Sociální sekce ---------- */

.social {
  position: relative;
  min-height: clamp(440px, 62vw, 860px);
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}
.social__img { position: absolute; inset: -10% 0; will-change: transform; }
.social__img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.social__inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: clamp(40px, 9vw, 150px) clamp(24px, 4vw, 64px) 0;
}
.social .eyebrow { color: var(--white); }
.social__links { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Patička ---------- */

.footer {
  background: var(--ink);
  color: var(--white);
  padding: clamp(48px, 6vw, 96px) 0 28px;
  margin-top: var(--frame);
}
.footer a { text-decoration: none; }
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer__top img { height: 64px; width: auto; }
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  transition: opacity var(--dur-fast) ease;
}
.icon-link svg { width: 28px; height: 28px; }
@media (hover: hover) { .icon-link:hover { opacity: 0.65; } }

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
  margin-top: clamp(40px, 5vw, 72px);
}
.footer .eyebrow { color: var(--muted-on-dark); margin-bottom: 14px; display: block; }
.footer__links a,
.footer__contact a {
  display: inline-block;
  padding: 7px 0;
  font-weight: 500;
  transition: opacity var(--dur-fast) ease;
}
@media (hover: hover) {
  .footer__links a:hover, .footer__contact a:hover { opacity: 0.65; }
}
.footer__contact address { font-style: normal; padding: 7px 0; font-weight: 500; }
.footer__contact .text-link { padding-bottom: 4px; }
.footer__note { color: var(--muted-on-dark); font-size: 0.875rem; padding-top: 8px; }

.hours { display: grid; gap: 6px; font-size: 0.9375rem; color: var(--muted-on-dark); }
.hours div { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.hours dt, .hours dd { margin: 0; }
.hours .is-today { color: var(--white); font-weight: 600; }
.hours--light { color: var(--muted); }
.hours--light .is-today { color: var(--black); }

.footer .wordmark {
  position: static;
  padding: 0;
  margin-top: clamp(48px, 6vw, 88px);
  font-size: 4.3vw;
}
.footer .wordmark__word span { transform: none; animation: none; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--white);
  font-size: 0.8125rem;
}
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Podstránky ---------- */

.page-head {
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 112px));
  padding-bottom: clamp(36px, 4.5vw, 64px);
  text-align: center;
}
.page-head .eyebrow { display: block; margin-bottom: 16px; }

.page-image {
  height: clamp(280px, 52vw, 760px);
  overflow: hidden;
  background: var(--panel);
}
.page-image img { width: 100%; height: 100%; object-fit: cover; }

/* Ceník */

.price-note { font-weight: 600; font-size: 1.0625rem; }

.prices { margin-top: clamp(40px, 5vw, 72px); }
.prices__head,
.price {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  border-bottom: 1px solid var(--line);
}
.prices__head { padding-bottom: 18px; }
.price { padding: 22px 0; align-items: start; }
.price__name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}
.badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: var(--ink);
  color: var(--white);
}
.price__value {
  font-size: 1.125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}
.price details { grid-column: 1 / -1; }
.price summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  touch-action: manipulation;
}
.price summary::-webkit-details-marker { display: none; }
.price summary i { width: 5px; height: 5px; border: 1px solid currentColor; border-radius: 50%; }
.price summary u { text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat; transition: background-size var(--dur) var(--ease-out); padding-bottom: 2px; }
.price details[open] summary u { background-size: 100% 1px; }
@media (hover: hover) { .price summary:hover u { background-size: 100% 1px; } }
.price details p {
  max-width: 70ch;
  padding: 4px 0 6px;
  font-size: 0.9375rem;
  color: var(--ink);
  animation: detail-in var(--dur) var(--ease-out);
}
@keyframes detail-in { from { opacity: 0; transform: translateY(-6px); } }

/* Dvousloupcové panely */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--frame);
}
.split--wide-text { grid-template-columns: 4fr 5fr; }
.split--wide-media { grid-template-columns: 5fr 4fr; }
.split + .split { margin-top: var(--frame); }
.split__media { overflow: hidden; background: var(--panel); min-height: clamp(300px, 40vw, 600px); position: relative; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 88px);
  background: var(--panel);
}
.split__panel--plain { background: transparent; }
.split__panel p + p { margin-top: 16px; }
.split__panel .eyebrow { display: block; margin-bottom: 14px; }
.split__panel h2 { margin-bottom: 22px; }
@media (min-width: 861px) {
  .split--flip > :first-child { order: 2; }
}

.ticks { display: grid; gap: 12px; margin-top: 8px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.ticks svg { width: 20px; height: 20px; flex: none; }

/* Výhody (Proč právě my) */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--frame);
  margin-top: clamp(40px, 5vw, 72px);
  text-align: left;
}
.feature { padding: clamp(24px, 2.6vw, 40px); background: var(--panel); }
.feature h3 { margin-bottom: 12px; }
.feature p { font-size: 0.9375rem; }

/* Tým */

.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--frame);
  margin-top: clamp(40px, 5vw, 72px);
  text-align: left;
}
.member {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 2.5vw, 36px);
  align-items: start;
  padding: clamp(28px, 3.4vw, 56px);
  background: var(--panel);
}
.member img { width: clamp(96px, 11vw, 168px); aspect-ratio: 1; object-fit: cover; filter: grayscale(1); }
.member .eyebrow { display: block; margin: 6px 0 16px; color: var(--muted); }
.member p { font-size: 0.9375rem; }

/* Kontakt */

.map { position: relative; min-height: clamp(340px, 42vw, 600px); background: var(--panel); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; margin-top: 12px; }
.contact-grid .eyebrow { display: block; margin-bottom: 12px; color: var(--muted); }
.contact-grid a:not(.text-link) { display: inline-block; padding: 6px 0; font-weight: 500; text-decoration: none; }
.contact-grid a[href^="mailto"] { text-decoration: underline; text-underline-offset: 4px; word-break: break-word; }
.contact-grid address { font-style: normal; padding: 6px 0; font-weight: 500; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--frame);
  margin-top: clamp(40px, 5vw, 72px);
  text-align: left;
  counter-reset: step;
}
.step { padding: clamp(24px, 2.6vw, 40px); border-top: 1px solid var(--ink); }

/* ---------- Animace při scrollu ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ořez je na vnitřním prvku - samotný obal zůstává viditelný pro IntersectionObserver */
.js [data-reveal="img"] {
  opacity: 1;
  transform: none;
}
.js [data-reveal="img"] > :first-child {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.14);
  transition: clip-path 1200ms var(--ease-in-out), transform 1600ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js [data-reveal="img"].is-in > :first-child { clip-path: inset(0 0 0 0); transform: scale(1); }
.js .tile[data-reveal="img"] .tile__label { opacity: 0; transition: opacity var(--dur-slow) ease calc(500ms + var(--d, 0) * 110ms); }
.js .tile[data-reveal="img"].is-in .tile__label { opacity: 1; }
@media (hover: hover) {
  .js .tile[data-reveal="img"].is-in:hover > img { transform: scale(1.06); transition-duration: 1200ms; transition-delay: 0ms; }
}

.js [data-reveal="line"] {
  transform: none;
  opacity: 1;
}

/* ---------- Responzivita ---------- */

@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --frame: 10px; --header-h: 68px; }

  .header--overlay { padding-inline: calc(var(--frame) + 10px); }
  .header__logo img { height: 38px; }
  .header .btn { min-height: 44px; padding-inline: 16px; font-size: 0.9375rem; }

  .wordmark { flex-direction: column; gap: 0.12em; font-size: 8.4vw; }
  .footer .wordmark { font-size: 8.2vw; }
  .hero__tag { bottom: calc(20px + 17.6vw + 26px); }
  .hero__tag .eyebrow:last-child { display: none; }

  .perks__list { justify-content: flex-start; gap: 12px 24px; }
  .perks__list li { flex: 1 1 calc(50% - 24px); min-width: 150px; }

  .tiles, .gallery, .reviews, .split, .split--wide-text, .split--wide-media, .team, .steps { grid-template-columns: 1fr; }
  .tile { height: clamp(260px, 72vw, 420px); }
  .gallery figure { aspect-ratio: 3 / 2; }
  .banner { height: 78vh; min-height: 420px; }
  .banner__word { font-size: 9.4vw; letter-spacing: 0.22em; }
  .banner__word--bottom { right: -0.22em; }
  .band__inner { align-items: flex-start; flex-direction: column; }
  .social { min-height: 110vw; }
  .social__inner { flex-direction: column; align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .member { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }

  /* vyšší dlaždice pod sebou */
  .tile { height: min(118vw, 520px); }

  /* nápis přes fotku přetéká okraj jako na vzoru */
  .banner { height: 150vw; min-height: 0; max-height: 86vh; }
  .banner__word { font-size: 13.5vw; letter-spacing: 0.3em; }
  .banner__word--bottom { right: -0.3em; }

  /* tlačítka v obsahu přes celou šířku */
  .stack > div > .btn,
  .center > .btn,
  .band__inner .btn { display: flex; width: 100%; }
  .band__inner > div { width: 100%; }
  .band__inner { padding-top: 96px; gap: 40px; }

  /* sociální sítě: dvě tlačítka vedle sebe */
  .social__links { width: 100%; flex-wrap: nowrap; }
  .social__links .btn { flex: 1; padding-inline: 12px; }
  .social { min-height: 150vw; }
  .social__inner { padding-top: 48px; }

  /* patička: dva sloupce odkazů, kontakt a otevírací doba přes celou šířku */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer__grid > :nth-child(n+3) { grid-column: 1 / -1; }
  .footer .wordmark { flex-direction: row; gap: 4vw; font-size: 4vw; }
  /* výhody: vycentrovaný sloupec, ikona nad textem */
  .perks__list { flex-direction: column; align-items: center; gap: 22px; padding-block: 40px; }
  .perks__list li { flex: none; min-width: 0; flex-direction: column; gap: 8px; text-align: center; }
  .perks__list svg { width: 20px; height: 20px; }
  .btn-long { display: none; }
  .footer__top img { height: 52px; }
}
@media (min-width: 561px) {
  .btn-short { display: none; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 360px; }
  .menu { padding-top: calc(var(--header-h) + 12px); }
  .menu__link { font-size: 1.75rem; }
}

/* ---------- Omezený pohyb ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .hero__media img { animation: none; transform: none; }
  .js [data-reveal], .js [data-reveal="img"] { opacity: 1; transform: none; }
  .js [data-reveal="img"] > :first-child { transform: none; clip-path: none; }
  .js .tile[data-reveal="img"] .tile__label { opacity: 1; }
  .wordmark__word span { transform: none; }
  .hero__tag .eyebrow { opacity: 1; }
}

@media print {
  .header, .menu, .hero__media, .banner, .social { display: none; }
}
