/* ============================================
   Alice ?echov? ? Design System
   Mockup-faithful: light, monochrome, premium
   ============================================ */

:root {
  --color-white: #FFFFFF;
  --color-bg: #F7F7F7;
  --color-bg-alt: #F0F0F0;
  --color-bg-warm: #F7F7F7;
  --color-graphite: #111111;
  --color-graphite-soft: #2A2A2A;
  --color-text: #2C2C2C;
  --color-text-muted: #777777;
  --color-border: #E4E4E4;
  --color-border-light: #EEEEEE;
  --color-error-bg: #fff5f5;
  --color-error-border: #d15252;
  --color-error-text: #8f2a2a;

  /* Accent follows mockup chrome (black); soft sage kept for form focus only */
  --color-accent: #111111;
  --color-accent-light: #888888;
  --color-accent-sage: #5B7B6A;
  --color-accent-hover: #000000;
  --color-accent-blue: #888888;
  --color-accent-blue-light: #B0B0B0;
  --color-focus: #5B7B6A;

  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;

  --space-xs: 0.4rem;
  --space-sm: 0.8rem;
  --space-md: 1.2rem;
  --space-lg: 1rem;
  --space-xl: 1.8rem;
  --space-2xl: 2.8rem;
  --space-3xl: 3.6rem;

  --container-max: 1240px;
  --header-height: 72px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.35s var(--ease-out);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: clip;
  overscroll-behavior-x: none;
  position: relative;
  width: 100%;
  max-width: 100%;
}

body::before {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: max(0.75rem, env(safe-area-inset-left, 0px));
  top: max(0.75rem, env(safe-area-inset-top, 0px));
  z-index: 10060;
  padding: 0.85rem 1.25rem;
  background: var(--color-graphite);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 4px;
  transform: translateY(calc(-100% - 1.5rem));
  transition: transform 0.2s ease;
  pointer-events: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  pointer-events: auto;
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.btn:focus:not(:focus-visible),
.nav__link:focus:not(:focus-visible),
.form__input:focus:not(:focus-visible),
.form__select:focus:not(:focus-visible),
.form__textarea:focus:not(:focus-visible) {
  outline: none;
}

address {
  font-style: normal;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding: 0 max(var(--space-lg), env(safe-area-inset-right, 0px));
    padding-left: max(var(--space-lg), env(safe-area-inset-left, 0px));
    padding-right: max(var(--space-lg), env(safe-area-inset-right, 0px));
  }
}

.container--narrow {
  max-width: 860px;
}

.section-lead {
  margin-top: var(--space-sm);
  max-width: 32rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.section-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

.page-content--muted {
  background: var(--color-bg-alt);
}

/* Typography */
.label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.label::before {
  display: none;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.7rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--color-graphite);
  letter-spacing: -0.02em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn--dark {
  background: var(--color-graphite);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.btn--dark::after {
  display: none;
}

.btn--dark:hover {
  background: var(--color-graphite-soft);
  transform: none;
}

.btn--ghost {
  background: transparent;
  color: var(--color-graphite);
  padding: 0.875rem 0;
  letter-spacing: 0.14em;
  gap: 0.75rem;
}

.btn--ghost:hover {
  color: var(--color-text-muted);
}

.btn--outline {
  background: transparent;
  color: var(--color-graphite);
  border: 1px solid var(--color-graphite);
}

.btn--outline:hover {
  background: var(--color-graphite);
  color: var(--color-white);
}

.btn--light {
  background: var(--color-white);
  color: var(--color-graphite);
}

.btn--light:hover {
  background: var(--color-bg);
}

.btn__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  flex-shrink: 0;
}

.btn__play svg {
  width: 11px;
  height: 11px;
  margin-left: 2px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-graphite);
  transition: gap var(--transition), color var(--transition);
}

.link-arrow::after {
  content: '?';
  transition: transform var(--transition);
}

.link-arrow:hover {
  color: var(--color-accent);
  gap: 0.75rem;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: transparent;
  overflow: visible;
  transition: background var(--transition), box-shadow var(--transition);
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 var(--color-border-light);
}

.lang-switch.lang-switch--mobile {
  display: none;
}

@media (max-width: 1023px) {
  .lang-switch.lang-switch--mobile {
    display: flex;
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .header__logo {
    justify-self: start;
  }

  .nav {
    justify-self: center;
  }

  .header__end {
    justify-self: end;
  }
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-graphite);
  flex-shrink: 0;
  z-index: 1;
}

.header__wordmark {
  font-family: var(--font-serif);
  font-size: clamp(0.92rem, 2.8vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.1;
  max-width: min(42vw, 11rem);
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 480px) {
  .header__wordmark {
    max-width: none;
  }
}

.logo {
  width: 28px;
  height: 34px;
}

.nav {
  display: flex;
  justify-content: center;
}

.nav__list {
  display: none;
  gap: 2rem;
  justify-content: center;
}

@media (min-width: 1024px) {
  .nav__list {
    display: flex;
  }
}

.header__end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

@media (min-width: 1024px) {
  .header__end {
    margin-left: 0;
  }
}

.nav__link {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-graphite);
  position: relative;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.nav__link:hover {
  color: var(--color-accent);
}

.nav__link:hover::after {
  width: 100%;
}

.header__actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .header__actions {
    display: flex;
  }
}

.header__cta {
  display: inline-flex;
}

/* Language switch */
.lang-switch {
  display: flex;
  border: 1px solid var(--color-border);
}

.lang-switch__btn {
  padding: 0.35rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.lang-switch__btn--active {
  background: var(--color-graphite);
  color: var(--color-white);
}

.nav__link--active {
  color: var(--color-accent);
}

.nav__link--active::after {
  width: 100%;
}

/* Burger menu */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 10055;
  -webkit-tap-highlight-color: transparent;
}

.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--color-graphite);
  transition: transform var(--transition), opacity var(--transition);
}

.burger--active span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.burger--active span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

body.nav-open .burger span {
  background: var(--color-graphite);
}

@media (min-width: 1024px) {
  .burger {
    display: none;
  }
}

/* Mobile nav drawer ? must NOT be trapped by header containing block */
.nav--open,
.nav.nav--open {
  display: flex !important;
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100dvh !important;
  height: 100vh !important;
  margin: 0;
  padding: calc(var(--header-height) + 1.25rem) 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  background: #fff !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  z-index: 10040 !important;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: none;
  transform: none !important;
  filter: none !important;
}

.nav--open .nav__list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 0.5rem 0 2rem;
}

.nav--open .nav__list li {
  border-bottom: 1px solid var(--color-border-light);
}

.nav--open .nav__link {
  display: block;
  width: 100%;
  padding: 1rem 0.25rem;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav--open .nav__link::after {
  display: none;
}

body.nav-open {
  overflow: hidden !important;
}

body.nav-open .header {
  z-index: 10050;
  background: #fff;
}

body.nav-open .m-rail,
body.nav-open .sticky-cta {
  visibility: hidden;
  pointer-events: none;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: var(--color-bg);
}

.hero__glow,
.hero__deco {
  display: none !important;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl) 0 var(--space-2xl);
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 6vw, 5rem);
    padding: var(--space-xl) 0 var(--space-2xl);
  }
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--color-graphite);
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

.hero__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 420px;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.hero__image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.hero__image .img-frame,
.hero__frame {
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  margin-inline: auto;
}

.hero__image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  max-height: none;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(100%);
  border-radius: 50%;
}

.hero__corner {
  display: none;
}

@media (min-width: 1024px) {
  .hero__image .img-frame,
  .hero__frame {
    width: min(100%, 560px);
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  right: clamp(0.75rem, 2vw, 1.5rem);
  top: 50%;
  transform: translateY(-40%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

@media (min-width: 1024px) {
  .scroll-indicator {
    display: flex;
  }
}

.scroll-indicator span {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  writing-mode: vertical-rl;
}

.scroll-indicator__line {
  width: 1px;
  height: 72px;
  background: linear-gradient(to bottom, var(--color-graphite), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.85); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   Values
   ============================================ */
.values {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}

.values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .values__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value {
  text-align: left;
  padding: var(--space-lg) 0;
  position: relative;
}

@media (min-width: 768px) {
  .value {
    padding: var(--space-md) var(--space-lg);
  }

  .value:first-child {
    padding-left: 0;
  }

  .value:last-child {
    padding-right: 0;
  }

  .value:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--color-border);
  }
}

.value__icon {
  width: 40px;
  height: 40px;
  margin: 0 0 var(--space-md);
  color: var(--color-graphite);
}

.value__icon svg {
  width: 100%;
  height: 100%;
}

.value__num {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.value__title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-graphite);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.value__text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ============================================
   Services
   ============================================ */
.services {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-xl);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.section-header .link-arrow {
  margin-bottom: 0.35rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }
}

@media (min-width: 1100px) {
  .services__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: opacity var(--transition);
  height: 100%;
}

.service-card__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.service-card:hover {
  transform: none;
  opacity: 0.92;
}

.service-card__image {
  overflow: hidden;
  margin-bottom: 0.85rem;
  aspect-ratio: 3 / 4;
  background: var(--color-bg-alt);
}

.service-card__num {
  display: none;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.04);
  transition: transform 0.7s var(--ease-out), filter 0.5s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.04);
  filter: saturate(1.18) contrast(1.05);
}

.service-card__title {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-graphite);
  margin-bottom: 0.25rem;
  line-height: 1.3;
  min-height: 2.6em;
}

.service-card__desc {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-top: auto;
}

/* ============================================
   About
   ============================================ */
.about {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(2rem, 5vw, 4.5rem);
  }
}

.about__text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  max-width: 40ch;
}

.about__content .section-title {
  margin-bottom: var(--space-md);
}

.about__content .btn,
.about__content .link-arrow {
  margin-top: var(--space-sm);
}

.about__image {
  position: relative;
}

.about__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  object-fit: cover;
  filter: grayscale(100%);
}

.about__stamp {
  position: absolute;
  top: 8%;
  right: 6%;
  width: 110px;
  height: 110px;
  color: var(--color-white);
  opacity: 0.95;
}

.about__stamp svg {
  width: 100%;
  height: 100%;
}

/* ============================================
   Stats
   ============================================ */
.stats {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
}

.stat {
  text-align: center;
  padding: var(--space-md) var(--space-sm);
  position: relative;
}

@media (min-width: 768px) {
  .stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 48px;
    background: var(--color-border);
  }
}

.stat__number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 400;
  color: var(--color-graphite);
  line-height: 1;
  margin-bottom: 0.65rem;
}

.stat__label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ============================================
   Technology
   ============================================ */
.technology {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
}

.technology__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 1024px) {
  .technology__grid {
    grid-template-columns: 1.1fr 1fr 0.55fr;
    gap: clamp(1.5rem, 3vw, 2.75rem);
    align-items: start;
  }
}

.technology__images {
  position: relative;
  width: 100%;
}

.technology__img--main {
  width: 82%;
}

.technology__img--main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  object-fit: cover;
  filter: grayscale(100%);
}

.technology__img--secondary {
  position: absolute;
  bottom: 6%;
  right: 0;
  width: min(46%, 200px);
  aspect-ratio: 1;
  border: 8px solid var(--color-white);
  border-radius: 50%;
  overflow: hidden;
  box-sizing: content-box;
}

.technology__img--secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  filter: grayscale(20%) contrast(1.05);
}

.technology__content .section-title {
  margin-bottom: var(--space-md);
}

.technology__text {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  max-width: 38ch;
}

.technology__list {
  margin-bottom: var(--space-lg);
}

.technology__list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 0.45rem;
}

.technology__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-graphite);
}

.technology__stats {
  display: none;
}

@media (min-width: 1024px) {
  .technology__stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    border-left: 1px solid var(--color-border);
    padding-left: var(--space-md);
    padding-top: 0;
  }
}

.tech-stat {
  text-align: left;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
}

.tech-stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tech-stat__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-graphite);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.tech-stat__label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ============================================
   Pricing
   ============================================ */
.pricing {
  position: relative;
  padding: clamp(3rem, 7vw, 5rem) 0;
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(0, 0, 0, 0.035), transparent 55%),
    linear-gradient(180deg, #fafafa 0%, #f3f3f3 100%);
  overflow: clip;
}

.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 90%);
  opacity: 0.7;
}

.pricing > .container {
  position: relative;
  z-index: 1;
}

.section-header--pricing {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 36rem;
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .pricing__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1100px) {
  .pricing__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.1rem;
  }
  .pricing__grid > .pricing-card:nth-child(-n + 4) {
    grid-column: span 3;
  }
  .pricing__grid > .pricing-card:nth-child(n + 5) {
    grid-column: span 4;
  }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  padding: 1.35rem 1.3rem 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease, box-shadow 0.35s ease;
}

.pricing-card--soft {
  background: #111;
  border-color: #111;
  color: #fff;
  box-shadow: 0 22px 44px -26px rgba(0, 0, 0, 0.55);
}

.pricing__grid--embed {
  margin-top: 0;
}

.pricing-card[data-booking-url] {
  cursor: pointer;
}

.pricing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 17, 17, 0.2);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.4);
}

.pricing-card--soft:hover {
  border-color: #111;
}

.pricing-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.pricing-card__num {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--color-graphite);
  opacity: 0.28;
  font-variant-numeric: tabular-nums;
}

.pricing-card--soft .pricing-card__num {
  color: #fff;
  opacity: 0.35;
}

.pricing-card__badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  border: 1px solid currentColor;
  opacity: 0.72;
}

.pricing-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-graphite);
  margin: 0 0 0.35rem;
  line-height: 1.15;
}

.pricing-card__title a {
  color: inherit;
  text-decoration: none;
}

.pricing-card--soft .pricing-card__title {
  color: #fff;
}

.pricing-card__price {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.6vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--color-graphite);
  margin: 0 0 1rem;
  line-height: 1.1;
}

.pricing-card--soft .pricing-card__price {
  color: #fff;
}

.pricing-card__list {
  flex: 1;
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pricing-card__list li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--color-text-muted);
  border: 0;
}

.pricing-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}

.pricing-card--soft .pricing-card__list li {
  color: rgba(255, 255, 255, 0.72);
}

.pricing-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-graphite);
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
}

.pricing-card__cta::after {
  content: "?";
  transition: transform 0.3s var(--ease-out);
}

.pricing-card__cta:hover::after {
  transform: translateX(4px);
}

.pricing-card--soft .pricing-card__cta {
  color: #fff;
}

.pricing__note {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  max-width: 48ch;
}

.pricing__note {
  text-align: center;
  margin-top: var(--space-lg);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-alt);
}

.testimonials__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.testimonials__quote-mark {
  font-family: var(--font-serif);
  font-size: 7rem;
  line-height: 0.45;
  color: var(--color-border);
  margin-bottom: var(--space-md);
}

.testimonials__text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-graphite);
  margin-bottom: var(--space-md);
}

.testimonials__author {
  display: block;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.testimonials__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .testimonials__footer {
    flex-direction: row;
    justify-content: space-between;
  }
}

.testimonials__avatars {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonials__avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-white);
  margin-left: -8px;
  filter: grayscale(100%);
}

.testimonials__avatars img:first-child {
  margin-left: 0;
}

.testimonials__count {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-left: var(--space-sm);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-bg);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr 1.2fr;
  }
}

.footer__heading {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-graphite);
  margin-bottom: var(--space-md);
}

.footer__col:first-child .footer__heading {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
}

.footer__list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.footer__list a:hover {
  color: var(--color-graphite);
}

.footer__list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.footer__address {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.footer__social a {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.footer__social a:hover {
  color: var(--color-graphite);
}

.footer__booking {
  background: var(--color-graphite);
  color: var(--color-white);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.footer__booking::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(255, 255, 255, 0.06) 100%);
  pointer-events: none;
}

.footer__booking > * {
  position: relative;
  z-index: 1;
}

.footer__booking-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

.footer__booking-text {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: var(--space-md);
}

.footer__bottom {
  border-top: 1px solid var(--color-border-light);
  padding: var(--space-md) 0;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

.footer__legal a {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: var(--color-graphite);
}

/* ============================================
   Sticky dock + mobile quick rail
   ============================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0.45rem 0.65rem;
  padding-bottom: calc(0.45rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease-out);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
}

.sticky-cta--visible {
  transform: translateY(0);
}

.sticky-cta--hidden,
.sticky-cta[hidden],
.sticky-cta--menu-hidden {
  display: none !important;
}

.sticky-cta__dock {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.25rem;
  max-width: 420px;
  margin: 0 auto;
}

.sticky-cta__dock:not(.sticky-cta__dock--compact) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sticky-cta__dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 52px;
  padding: 0.35rem 0.2rem;
  border-radius: 0;
  color: var(--color-text-muted);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.sticky-cta__dock-item svg {
  width: 20px;
  height: 20px;
}

.sticky-cta__dock-item:active {
  transform: scale(0.96);
}

.sticky-cta__dock-item--primary {
  background: var(--color-graphite);
  color: var(--color-white);
  box-shadow: none;
}

.sticky-cta__dock-item--primary:hover {
  background: var(--color-graphite-soft);
  color: var(--color-white);
}

.sticky-cta__dock-item:not(.sticky-cta__dock-item--primary):hover {
  color: var(--color-graphite);
  background: rgba(0, 0, 0, 0.04);
}

/* Legacy row (unused) */
.sticky-cta__row {
  display: none;
}

.m-rail {
  display: none;
}

@media (min-width: 1024px) {
  .sticky-cta,
  .m-rail {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  /* Dock clearance only ? full phone chrome lives in Production mobile shell */
  body:not([data-page="booking"]) {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}

/* Desktop / mobile copy toggles */
.hero__text--mobile,
.service-card__title-short,
.u-mobile {
  display: none;
}

@media (max-width: 1023px) {
  .hero__text--desktop,
  .service-card__title-full,
  .u-desktop {
    display: none !important;
  }

  .hero__text--mobile,
  .service-card__title-short,
  .u-mobile {
    display: block;
  }

  .u-mobile--inline {
    display: inline;
  }
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  transition-delay: 0.15s;
}

.reveal--delay-2 {
  transition-delay: 0.3s;
}

.reveal--delay-3 {
  transition-delay: 0.45s;
}

.reveal--delay-4 {
  transition-delay: 0.6s;
}

/* Parallax subtle effect on hero image */
@media (min-width: 1024px) {
  .hero__image img {
    transition: transform 0.1s linear;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-fade {
    opacity: 1;
    transform: none;
  }

  html { scroll-behavior: auto; }

  .marquee__track { animation: none; }
  .text-reveal .text-reveal-word { opacity: 1; transform: none; animation: none; }
  .stagger-item { opacity: 1; transform: none; animation: none; }
  .hero__deco { animation: none; }
  .testimonials__quote-mark { animation: none; }
}

/* ============================================
   Page layouts, forms, booking, gallery, blog
   ============================================ */
.page-hero {
  padding: calc(var(--header-height) + var(--space-sm)) 0 var(--space-xs);
  background: var(--color-bg);
  text-align: center;
}

.page-hero .label {
  margin-bottom: 0.25rem;
}

.page-hero .section-title {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.page-hero__text {
  max-width: 560px;
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.page-content {
  padding: calc(var(--space-2xl) * 0.5) 0;
}

/* Forms */
.form {
  max-width: 640px;
  margin: 0 auto;
}

.contact-grid .form {
  max-width: none;
  margin: 0;
}

.form__group {
  margin-bottom: var(--space-md);
}

.form__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-graphite);
  margin-bottom: 0.5rem;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-graphite);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--color-focus);
}

.form__input[aria-invalid="true"],
.form__select[aria-invalid="true"],
.form__textarea[aria-invalid="true"] {
  border-color: var(--color-error-border);
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.date-field {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.date-field .form__input {
  padding-right: 2.75rem;
}

.date-field__calendar {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}

.date-field__calendar:hover,
.date-field__calendar:focus-visible {
  color: var(--color-accent);
  background: rgba(91, 123, 106, 0.08);
}

.date-field__picker {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
  border: 0;
  padding: 0;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.form--booking {
  max-width: 560px;
  margin: 0 auto;
}

.form-success {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-accent);
  max-width: 560px;
  margin: 0 auto;
}

.form-success__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-graphite);
  margin-bottom: 0.75rem;
}

.form-success__next {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.form-success__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.form-error {
  margin: 0 auto 1rem;
  max-width: 640px;
  background: var(--color-error-bg);
  border-left: 3px solid var(--color-error-border);
  padding: 0.85rem 1rem;
}

.form-error p {
  color: var(--color-error-text);
  font-size: 0.9rem;
}

.form__meta {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-bottom: 0.8rem;
}

.form__hidden-trap {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.btn--success {
  background: var(--color-accent) !important;
  cursor: default;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  padding: var(--space-lg);
  background: var(--color-bg-alt);
}

.contact-info__item {
  margin-bottom: var(--space-md);
}

.contact-info__item strong {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.contact-map {
  background: var(--color-bg-alt);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg);
  color: var(--color-text-muted);
  border: 1px dashed var(--color-border);
  margin-top: var(--space-md);
}

/* Booking */
.booking-progress {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.booking-progress__step {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
}

.booking-progress__step--active {
  color: var(--color-white);
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.booking-progress__step--done {
  color: var(--color-accent);
  border-color: var(--color-accent-light);
  background: rgba(91, 123, 106, 0.08);
}

.booking-progress__step--clickable {
  cursor: pointer;
}

.booking-progress__step--clickable:hover {
  border-color: var(--color-accent);
}

.form__field-error {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--color-error-text);
}

.form__consent {
  margin-bottom: 1rem;
}

.form__consent-label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  cursor: pointer;
}

.form__consent-label input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.form__consent-label a {
  color: var(--color-accent);
  text-decoration: underline;
}

.faq-list {
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* FAQ editorial */
.faq-section {
  padding: var(--space-2xl) 0;
  background:
    linear-gradient(180deg, var(--color-bg-alt) 0%, #fff 48%, var(--color-bg) 100%);
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: 'FAQ';
  position: absolute;
  top: 8%;
  right: -2%;
  font-family: var(--font-serif);
  font-size: clamp(6rem, 18vw, 14rem);
  line-height: 0.8;
  color: rgba(17, 17, 17, 0.035);
  pointer-events: none;
  letter-spacing: -0.04em;
  user-select: none;
}

.faq-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: start;
  position: relative;
}

@media (min-width: 1024px) {
  .faq-section__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
  }
}

.faq-section__lead {
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
  max-width: 28rem;
}

.faq-section__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  margin-bottom: var(--space-lg);
  background: var(--color-bg-alt);
}

.faq-section__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 1s var(--ease-out), filter 0.6s ease;
}

.faq-section__visual:hover img {
  transform: scale(1.04);
  filter: grayscale(40%);
}

.faq-section__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid var(--color-border);
}

.faq-section__badge span {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-graphite);
}

.faq-section__badge small {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.faq-section__link {
  margin-top: 0.25rem;
}

.faq-item {
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  padding: 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-item__q {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-graphite);
  transition: color var(--transition);
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::after {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background:
    linear-gradient(var(--color-graphite), var(--color-graphite)) center / 18px 1.5px no-repeat,
    linear-gradient(var(--color-graphite), var(--color-graphite)) center / 1.5px 18px no-repeat;
  transition: transform 0.35s var(--ease-out);
}

.faq-item[open] .faq-item__q::after {
  transform: rotate(45deg);
}

.faq-item__q:hover {
  color: var(--color-text-muted);
}

.faq-item__num {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
}

.faq-item__a {
  padding: 0 0 1.5rem 2.6rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 38rem;
  animation: faqOpen 0.4s var(--ease-out);
}

@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .faq-item__a {
    padding-left: 0;
  }
}

/* CTA banner rich */
.cta-banner {
  padding: 0;
  background: var(--color-graphite);
  color: var(--color-white);
  text-align: left;
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 58vh, 620px);
  display: flex;
  align-items: stretch;
}

.cta-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transform: scale(1.04);
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.72) 48%, rgba(10, 10, 10, 0.45) 100%);
}

.cta-banner__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: end;
  width: 100%;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

@media (min-width: 900px) {
  .cta-banner__inner {
    grid-template-columns: 1.4fr 0.75fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
  }
}

.cta-banner__copy {
  max-width: 34rem;
}

.label--on-dark {
  color: rgba(255, 255, 255, 0.65);
}

.cta-banner__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 var(--space-md);
  line-height: 1.1;
  letter-spacing: -0.02em;
  position: relative;
}

.cta-banner__text {
  opacity: 0.85;
  margin: 0 0 var(--space-lg);
  max-width: 28rem;
  font-size: 1.02rem;
  line-height: 1.7;
  position: relative;
}

.cta-banner__phone {
  display: inline;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  margin-left: 0.35rem;
  transition: border-color var(--transition), opacity var(--transition);
}

.cta-banner__phone:hover {
  border-color: #fff;
}

.cta-banner__actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.cta-banner__panel {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  padding: clamp(1.25rem, 3vw, 1.85rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cta-banner__panel-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.25rem;
}

.cta-banner__panel-link {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.3;
  transition: opacity var(--transition);
}

.cta-banner__panel-link:hover {
  opacity: 0.7;
}

.cta-banner__panel-note {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0.85rem;
}

.cta-banner::before {
  display: none;
}

.cta-banner .btn--outline:hover {
  background: var(--color-white);
  color: var(--color-graphite);
  border-color: var(--color-white);
}

.booking-step {
  display: none;
}

.booking-step.booking-step--active,
.booking-step--active {
  display: block !important;
}

.booking-step__actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.booking-note {
  background: var(--color-bg-alt);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  border-left: 3px solid var(--color-accent);
}

.booking-note__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-graphite);
  margin-bottom: 0.5rem;
}

.contact-form-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--color-graphite);
}

.contact-book-hint {
  margin: 1.25rem 0 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.btn--on-dark {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn--on-dark:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.article-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.footer__social-soon {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.pricing-card[data-booking-url] {
  cursor: pointer;
}

.pricing-card[data-booking-url]:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

/* Gallery */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.gallery-filter__btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-filter__btn--active,
.gallery-filter__btn:hover {
  background: var(--color-graphite);
  color: var(--color-white);
  border-color: var(--color-graphite);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: zoom-in;
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform 0.6s var(--ease-out), filter var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.gallery-item {
  position: relative;
}

.gallery-item__cap {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.35rem 0.55rem;
  background: rgba(17, 17, 17, 0.72);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  pointer-events: none;
}

.gallery-item:hover .gallery-item__cap,
.gallery-item:focus-visible .gallery-item__cap {
  opacity: 1;
  transform: translateY(0);
}

.gallery-grid--masonry {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.gallery-grid--masonry .gallery-item {
  aspect-ratio: 3 / 4;
}

@media (min-width: 768px) {
  .gallery-grid--masonry {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }
}

@media (min-width: 1024px) {
  .gallery-grid--masonry {
    grid-template-columns: repeat(4, 1fr);
  }
}

.page-hero--gallery {
  padding-bottom: var(--space-sm);
}

.gallery-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.75rem;
  margin-top: 0.45rem;
}

.gallery-stats__item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 4.25rem;
}

.gallery-stats__item strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-graphite);
  line-height: 1;
}

.gallery-stats__item span {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.gallery-cta {
  margin-top: var(--space-2xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--color-bg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.gallery-cta p {
  max-width: 36rem;
  color: var(--color-text-muted);
  margin: 0;
}

.gallery-empty {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

/* Homepage gallery preview */
.gallery-preview {
  padding: var(--space-2xl) 0 0;
  background: var(--color-bg);
  overflow: hidden;
}

.gallery-preview .section-lead {
  margin-top: var(--space-sm);
  max-width: 28rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.gallery-preview__stage {
  position: relative;
  margin-top: var(--space-lg);
}

.gallery-preview__track {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: minmax(200px, 26vw) minmax(200px, 26vw);
  grid-template-areas:
    "hero lips eyes"
    "hero tattoo result";
  gap: var(--space-sm);
  will-change: transform;
}

.gallery-preview__cell {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-bg-alt);
  text-decoration: none;
  color: inherit;
  min-height: 0;
  clip-path: inset(12% 0 12% 0);
  opacity: 0.35;
  transform: scale(0.96);
  transition:
    clip-path 0.9s var(--ease-out),
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.gallery-preview__cell--visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: scale(1);
}

.gallery-preview__cell--hero { grid-area: hero; }
.gallery-preview__cell--lips { grid-area: lips; }
.gallery-preview__cell--eyes { grid-area: eyes; }
.gallery-preview__cell--tattoo { grid-area: tattoo; }
.gallery-preview__cell--result { grid-area: result; }

.gallery-preview__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(35%);
  transform: scale(1.08);
  transition: transform 1.1s var(--ease-out), filter 0.5s ease;
}

.gallery-preview__cell:hover img,
.gallery-preview__cell:focus-visible img {
  transform: scale(1);
  filter: grayscale(0%);
}

.gallery-preview__tag {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(17, 17, 17, 0.7);
  padding: 0.4rem 0.6rem;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.gallery-preview__cell:hover .gallery-preview__tag,
.gallery-preview__cell:focus-visible .gallery-preview__tag,
.gallery-preview__cell--visible .gallery-preview__tag {
  opacity: 1;
  transform: translateY(0);
}

.gallery-preview__marquee {
  margin-top: var(--space-xl);
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 0.85rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.gallery-preview__marquee-inner {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: galleryMarquee 28s linear infinite;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.gallery-preview__marquee-inner span::after {
  content: '?';
  margin-left: 2.5rem;
  opacity: 0.4;
}

@keyframes galleryMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.gallery-preview__footer {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-2xl);
  text-align: center;
}

@media (max-width: 900px) {
  .gallery-preview__track {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(180px, 40vw) minmax(160px, 36vw) minmax(160px, 36vw);
    grid-template-areas:
      "hero hero"
      "lips eyes"
      "tattoo result";
  }
}

@media (max-width: 560px) {
  .gallery-preview__track {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: var(--space-xs);
    grid-template-areas:
      "hero"
      "lips"
      "eyes"
      "tattoo"
      "result";
  }

  .gallery-preview__cell {
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-preview__cell {
    clip-path: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gallery-preview__marquee-inner {
    animation: none;
  }

  .gallery-preview__cell img {
    transform: none;
  }
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.blog-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
}

.blog-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__body .link-arrow {
  margin-top: auto;
  padding-top: var(--space-sm);
}

.blog-card__link {
  color: inherit;
}

.blog-card__date {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.blog-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-graphite);
  margin-bottom: 0.5rem;
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* How it works */
.how-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: none;
  margin: 0;
}

@media (min-width: 768px) {
  .how-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.how-step {
  padding: var(--space-lg);
  border: 1px solid var(--color-border-light);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.how-step__num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.how-step__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-graphite);
  margin-bottom: var(--space-sm);
}

.how-step__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-card {
  padding: var(--space-lg);
  background: var(--color-bg-alt);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--color-graphite);
  opacity: 0.2;
}

.review-card__quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--color-graphite);
  margin-bottom: var(--space-md);
  flex: 1;
}

.review-card__author {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: auto;
}

/* Teaser cards on homepage */
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .teaser-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .teaser-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.teaser-card {
  padding: var(--space-lg);
  background: var(--color-bg-alt);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  transition: transform var(--transition);
}

.teaser-card:hover {
  transform: translateY(-3px);
}

.teaser-card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-graphite);
  margin-bottom: var(--space-sm);
}

.teaser-card__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

/* Service options in select */
.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%233A3A3A' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ============================================
   Visual enhancements ? graphics & motion
   ============================================ */

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-blue));
  z-index: 10001;
  transition: width 0.1s linear;
}

/* Hero decorations */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 70%) var(--mouse-y, 40%),
    rgba(91, 123, 106, 0.06),
    transparent 60%
  );
  transition: background 0.3s ease;
}

.hero__deco {
  position: absolute;
  pointer-events: none;
  color: var(--color-accent);
  opacity: 0.12;
  z-index: 0;
}

.hero__deco--rings {
  width: 280px;
  height: 280px;
  top: 10%;
  right: 5%;
  animation: floatSlow 12s ease-in-out infinite;
}

.hero__deco--lines {
  width: 60px;
  height: 200px;
  left: 3%;
  bottom: 15%;
  color: var(--color-accent-blue);
  opacity: 0.15;
  animation: floatSlow 10s ease-in-out infinite reverse;
}

.hero__grid {
  position: relative;
  z-index: 1;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

/* Text reveal animation */
.text-reveal .text-reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(1.1em);
  animation: wordReveal 0.9s var(--ease-out) forwards;
  animation-delay: calc(0.08s * var(--word-i) + 0.2s);
}

@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Image frame with corner accents */
.img-frame {
  position: relative;
  display: block;
}

.img-reveal {
  position: relative;
  overflow: hidden;
  display: block;
}

.img-frame::before,
.img-frame::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--color-accent);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.img-frame::before {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}

.img-frame::after {
  bottom: 0;
  right: 0;
  border-width: 0 1px 1px 0;
}

.img-frame:hover::before,
.img-frame:hover::after,
.reveal--visible .img-frame::before,
.reveal--visible .img-frame::after {
  opacity: 1;
}

/* Image clip reveal */
.img-reveal img {
  transform: scale(1.08);
  transition: transform 1.2s var(--ease-out);
  width: 100%;
  display: block;
}

.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-white);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1s var(--ease-out);
  z-index: 1;
}

.img-reveal--visible::after {
  transform: scaleX(0);
}

.img-reveal--visible img {
  transform: scale(1);
}

/* Reveal variants */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-left--visible,
.reveal-left.reveal-left--visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-right--visible,
.reveal-right.reveal-right--visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-scale--visible,
.reveal-scale.reveal-scale--visible {
  opacity: 1;
  transform: scale(1);
}

.gallery-item.reveal-scale,
.gallery-item.stagger-item {
  opacity: 1;
  transform: none;
  animation: none;
}

.blog-card.stagger-item {
  opacity: 1;
  transform: none;
  animation: none;
}

.page-hero .reveal,
.page-content .gallery-filter.reveal {
  opacity: 1;
  transform: none;
}

.reveal-fade {
  opacity: 0;
  transition: opacity 1s var(--ease-out);
}

.reveal-fade--visible {
  opacity: 1;
}

/* Stagger children */
.stagger-item {
  opacity: 0;
  transform: translateY(24px);
  animation: staggerIn 0.7s var(--ease-out) forwards;
  animation-delay: calc(0.1s * var(--stagger-i));
}

@keyframes staggerIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Section divider */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: var(--space-lg) 0;
}

.section-divider__line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.section-divider__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.6;
}

/* Marquee strip */
.marquee {
  display: none !important;
}

.marquee__track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 4rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.marquee__item::after {
  content: '?';
  font-size: 0.5rem;
  color: var(--color-accent);
  font-style: normal;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Visual editorial strip */
.visual-strip {
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.visual-strip__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: var(--space-sm);
  min-height: 420px;
}

.section-header--portfolio {
  align-items: flex-end;
}

.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: -1rem 0 1.25rem;
}

.portfolio-meta__item {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.7);
}

.portfolio-meta__item:nth-child(odd) {
  border-color: var(--color-accent-light);
}

.portfolio-meta__item:nth-child(even) {
  border-color: var(--color-accent-blue-light);
}

@media (max-width: 768px) {
  .visual-strip__grid {
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
  }
  .visual-strip__item--tall { grid-row: span 2; }
}

.visual-strip__item {
  overflow: hidden;
  position: relative;
}

.visual-strip__item img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  filter: grayscale(25%);
  transition: transform 0.8s var(--ease-out), filter 0.6s ease;
}

.visual-strip__item:hover img {
  transform: scale(1.06);
  filter: grayscale(0%);
}

.visual-strip__item--tall img {
  min-height: 420px;
}

.visual-strip__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(26,26,26,0.7));
  color: var(--color-white);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}

.visual-strip__item:hover .visual-strip__caption {
  transform: translateY(0);
}

/* Enhanced value cards */
.value {
  position: relative;
  transition: transform var(--transition);
}

.value::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color var(--transition);
}

.value:hover {
  transform: translateY(-4px);
}

.value:hover::before {
  border-color: var(--color-accent-light);
}

.value__icon {
  transition: transform 0.5s var(--ease-out), color var(--transition);
}

.value:hover .value__icon {
  transform: scale(1.1);
  color: var(--color-accent-sage);
}

/* Enhanced service cards */
.service-card__image {
  position: relative;
}

.service-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.18) 0%, transparent 42%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.service-card:hover .service-card__image::after {
  opacity: 1;
}

.service-card__num {
  position: absolute;
  bottom: var(--space-sm);
  left: var(--space-sm);
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-white);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 1;
}

.service-card:hover .service-card__num {
  opacity: 1;
  transform: translateY(0);
}

/* Page hero graphics */
.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,123,106,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

/* Stats enhanced */
.stat__number.count-glow {
  background: linear-gradient(135deg, var(--color-graphite), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Testimonials enhanced */
.testimonials {
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,139,150,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials__quote-mark {
  animation: pulseQuote 4s ease-in-out infinite;
}

@keyframes pulseQuote {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Teaser cards with icon */
.teaser-card {
  position: relative;
  overflow: hidden;
}

.teaser-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-accent-blue));
  transition: height 0.5s var(--ease-out);
}

.teaser-card:hover::before {
  height: 100%;
}

.teaser-card__icon {
  width: 32px;
  height: 32px;
  margin-bottom: var(--space-sm);
  color: var(--color-accent);
  opacity: 0.7;
}

/* How steps connector */
.how-step {
  transition: border-color var(--transition), box-shadow var(--transition);
}

.how-step:hover {
  border-color: var(--color-accent-light);
  box-shadow: 0 12px 40px rgba(91, 123, 106, 0.08);
}

/* Gallery lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(26, 26, 26, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.4s var(--ease-out);
}

.lightbox--open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: border-color var(--transition);
}

.lightbox__close:hover {
  border-color: var(--color-white);
}

/* Blog card image zoom */
.blog-card__image {
  overflow: hidden;
}

.blog-card__image img {
  transition: transform 0.6s var(--ease-out);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.08);
}

/* One-page sections */
.onepage-section {
  scroll-margin-top: var(--header-height);
}

.blog-grid--preview {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .blog-grid--preview {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cta-banner .btn--outline:hover {
  background: var(--color-white);
  color: var(--color-graphite);
  border-color: var(--color-white);
}

.article-content {
  max-width: 860px;
  background: linear-gradient(145deg, #fff, #fcfcfc);
  border: 1px solid var(--color-border-light);
  padding: clamp(1.2rem, 3vw, 2.5rem);
  position: relative;
}

.article-content::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(91, 123, 106, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.article-content h2 {
  font-family: var(--font-serif);
  margin: 1.25rem 0 0.5rem;
  color: var(--color-graphite);
}

.article-content p,
.article-content li {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.article-content ul,
.article-content ol {
  padding-left: 1.1rem;
  margin: 0.35rem 0 0.75rem;
}

/* Technology detail page */
.tech-page__hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(var(--space-lg) * 0.4);
  margin-bottom: calc(var(--space-xl) * 0.4);
  align-items: center;
}

@media (min-width: 900px) {
  .tech-page__hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.5rem, 4vw, 3rem);
  }
}

.tech-page__visual {
  overflow: hidden;
  background: var(--color-bg-alt);
}

.tech-page__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(40%);
}

.tech-page__subheading {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  font-weight: 400;
  color: var(--color-graphite);
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.tech-page__lead p {
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 42ch;
}

.tech-page__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(var(--space-md) * 0.4);
  margin-bottom: calc(var(--space-xl) * 0.4);
}

@media (min-width: 768px) {
  .tech-page__cards {
    grid-template-columns: 1fr 1fr;
  }
}

.tech-page__card {
  position: relative;
  padding: var(--space-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
}

.tech-page__num {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.tech-page__card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--color-graphite);
  margin-bottom: var(--space-sm);
}

.tech-page__card-text {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.tech-page__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tech-page__list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.1rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border-light);
}

.tech-page__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-graphite);
}

.tech-page__inline-media {
  margin: 0 0 var(--space-md);
  overflow: hidden;
  background: #fff;
}

.tech-page__inline-media img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  filter: grayscale(20%);
}

.tech-page__process {
  padding: calc(var(--space-xl) * 0.4) 0;
  border-top: 1px solid var(--color-border-light);
}

.tech-page__steps {
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .tech-page__steps {
    grid-template-columns: 1fr 1fr;
  }
}

.tech-page__steps li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
}

.tech-page__steps strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-graphite);
}

.tech-page__steps span {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.tech-page__cta {
  margin-top: calc(var(--space-lg) * 0.4);
  padding-top: calc(var(--space-xl) * 0.4);
  border-top: 1px solid var(--color-border-light);
}

.tech-page__cta-text {
  max-width: 36ch;
  margin: 0 auto var(--space-md);
  color: var(--color-text-muted);
}

.tech-page__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (max-width: 1023px) {
  .tech-page__card {
    padding: 1.15rem 1rem;
  }

  .tech-page__cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tech-page__cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   Mobile responsiveness (complete pass)
   ============================================ */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: clip;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

.container {
  padding-left: max(var(--space-md), env(safe-area-inset-left, 0px));
  padding-right: max(var(--space-md), env(safe-area-inset-right, 0px));
}

@media (max-width: 1023px) {
  :root {
    --header-height: 64px;
    --space-xl: 1.3rem;
    --space-2xl: 1.8rem;
    --space-3xl: 2.2rem;
  }

  .header__inner {
    gap: 0.5rem;
    min-width: 0;
  }

  .header__logo {
    min-width: 0;
    max-width: calc(100% - 7.5rem);
  }

  .header__end {
    flex-shrink: 0;
    gap: 0.5rem;
  }

  .lang-switch--mobile .lang-switch__btn {
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0.45rem 0.55rem;
  }

  .burger {
    width: 44px;
    height: 44px;
    align-items: center;
  }

  .nav--open,
  .nav.nav--open {
    top: 0 !important;
    padding-top: calc(var(--header-height) + 1rem);
  }

  .hero {
    min-height: 0;
  }

  .hero__grid {
    gap: var(--space-lg);
    padding: var(--space-lg) 0 calc(var(--space-xl) + 0.5rem);
  }

  .hero__title {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
    margin-bottom: var(--space-sm);
  }

  .hero__text {
    font-size: 0.92rem;
    max-width: none;
    margin-bottom: var(--space-md);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__actions .link-arrow {
    justify-content: center;
  }

  .hero__image img {
    max-height: min(62vh, 520px);
    aspect-ratio: 4 / 5;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
  }

  .section-title {
    font-size: clamp(1.1rem, 4.8vw, 1.35rem);
  }

  .services__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .service-card__title {
    font-size: 0.95rem;
    min-height: 0;
  }

  .service-card__desc {
    font-size: 0.62rem;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .technology__grid {
    gap: var(--space-lg);
  }

  .technology__images {
    left: auto;
    width: 100%;
    max-width: 100%;
  }

  .technology__img--main {
    width: 100%;
  }

  .technology__img--main img {
    max-height: 420px;
  }

  .technology__img--secondary {
    width: min(38%, 140px);
    border-width: 5px;
    bottom: 4%;
    right: 4%;
  }

  .technology__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .tech-stat {
    padding-bottom: var(--space-sm);
  }

  .about__grid {
    gap: var(--space-lg);
  }

  .about__text {
    max-width: none;
  }

  .about__stamp {
    width: 72px;
    height: 72px;
    top: 4%;
    right: 4%;
  }

  .gallery-preview__track {
    gap: 0.65rem;
  }

  .gallery-preview__tag {
    font-size: 0.6rem;
    left: 0.55rem;
    bottom: 0.55rem;
    padding: 0.3rem 0.45rem;
  }

  .faq-section__grid {
    gap: var(--space-lg);
  }

  .faq-item__q {
    grid-template-columns: auto 1fr auto;
    gap: 0.65rem;
    padding: 1.1rem 0;
    font-size: clamp(1.05rem, 4.5vw, 1.25rem);
  }

  .faq-item__a {
    padding: 0 0 1.15rem;
    font-size: 0.9rem;
  }

  .cta-banner {
    min-height: 0;
  }

  .cta-banner__inner {
    gap: var(--space-lg);
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }

  .cta-banner__title {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .cta-banner__text {
    font-size: 0.95rem;
    max-width: none;
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-banner__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-banner__panel-link {
    font-size: 1.1rem;
    word-break: break-word;
  }

  .footer__grid {
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
  }

  .footer__booking {
    padding: var(--space-md);
  }

  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .sticky-cta__btn {
    min-height: 48px;
    padding: 0.85rem 0.5rem;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .page-hero {
    padding: 0.25rem 0 0.2rem;
    text-align: left;
  }

  body[data-page="booking"] .page-hero {
    padding-top: calc(var(--header-height) + 0.25rem);
  }

  .page-hero .label {
    margin-bottom: 0.08rem;
  }

  .page-hero .section-title,
  .page-hero h1 {
    font-size: clamp(1.05rem, 4.6vw, 1.25rem);
    line-height: 1.15;
    margin-bottom: 0.12rem;
  }

  .page-hero__text {
    margin-left: 0;
    max-width: none;
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .page-content {
    padding: 0.4rem 0 0.65rem;
  }

  .contact-grid {
    gap: var(--space-xl);
  }

  .contact-map {
    min-height: 220px;
  }

  .booking-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    margin-bottom: var(--space-lg);
  }

  .booking-progress__step {
    text-align: center;
    padding: 0.55rem 0.25rem;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    min-width: 0;
  }

  .booking-step__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .booking-step__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem;
    overflow: visible;
    margin: 0 0 var(--space-lg);
    padding: 0;
  }

  .gallery-filter::-webkit-scrollbar {
    display: none;
  }

  .gallery-filter__btn {
    flex: 0 0 auto;
    min-height: 0;
    padding: 0.55rem 1rem;
    border-radius: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .visual-strip__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .visual-strip__item--tall {
    grid-row: auto;
  }

  .visual-strip__item img,
  .visual-strip__item--tall img {
    min-height: 220px;
    aspect-ratio: 4 / 5;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .marquee__item {
    gap: 2rem;
  }

  .marquee__track {
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }

  .values__grid {
    gap: 0;
  }

  .value {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border-light);
  }

  .value:last-child {
    border-bottom: 0;
  }

  .how-steps {
    grid-template-columns: 1fr;
  }

  .how-step {
    padding: var(--space-md);
  }

  .testimonials__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-preview__cell--hero,
  .gallery-preview__cell--lips,
  .gallery-preview__cell--eyes,
  .gallery-preview__cell--tattoo,
  .gallery-preview__cell--result {
    min-height: 220px;
  }

  .lightbox__img,
  .lightbox img {
    max-width: 100%;
    max-height: 80vh;
  }
}

@media (max-width: 480px) {
  .btn {
    min-height: 0;
  }

  .sticky-cta__row {
    grid-template-columns: 1fr 1.35fr;
    gap: 0.4rem;
  }

  .technology__stats {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Production mobile shell (final)
   Single source of truth for phones / tablets < 1024px
   ============================================ */

.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

.text-clamp { display: contents; }

.text-expand {
  display: none;
  margin: 0.35rem 0 0.85rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-graphite);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

@media (min-width: 1024px) {
  .hero__veil,
  .hero__ornaments { display: none !important; }

  .text-clamp { display: contents; }
  .text-clamp .about__text--more { display: block; }
  .text-expand { display: none !important; }
}

@media (max-width: 360px) {
  .header__wordmark { max-width: 7.25rem; }
  .booking-progress__step {
    font-size: 0.58rem;
    padding: 0.5rem 0.2rem;
  }
}

@media (max-width: 1023px) {
  :root {
    --header-height: 58px;
    --space-xs: 0.32rem;
    --space-sm: 0.64rem;
    --space-md: 0.96rem;
    --space-lg: 0.8rem;
    --space-xl: 0.8rem;
    --space-2xl: 1.04rem;
    --space-3xl: 1.76rem;
    --phone-chrome: var(--header-height);
  }

  html {
    scroll-padding-top: calc(var(--header-height) + 12px);
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overscroll-behavior-x: none;
  }

  body {
    font-size: 15px;
    -webkit-tap-highlight-color: transparent;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overscroll-behavior-x: none;
    position: relative;
  }

  /* Fixed header spacer (replaces removed m-rail offset) */
  #site-header {
    display: block;
    min-height: var(--header-height);
  }

  /* Quick rail removed ? was duplicating sticky dock */
  .m-rail {
    display: none !important;
  }

  /* Lock viewport ? no sideways rubber-band / swipe drift */
  #site-header,
  #main-content,
  #main,
  #site-footer,
  .header,
  .footer,
  .sticky-cta,
  .hero,
  .page-hero,
  .container,
  .marquee,
  .gallery-preview__marquee {
    max-width: 100%;
    overflow-x: clip;
  }

  .page-hero::before,
  .page-hero::after {
    display: none;
  }

  .marquee,
  .gallery-preview__marquee {
    overflow: hidden;
  }

  /* Never leave content invisible */
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-fade,
  .stagger-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .text-reveal .text-reveal-word {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .gallery-preview__cell,
  .gallery-preview__cell[data-reveal-clip] {
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .gallery-preview__tag {
    opacity: 1 !important;
    transform: none !important;
  }

  .img-reveal img {
    opacity: 1 !important;
    transform: none !important;
  }

  .img-reveal::after { display: none !important; }

  /* ---------- Header ---------- */
  .header {
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    overflow: visible;
  }

  .header__wordmark {
    font-size: 0.92rem;
    max-width: min(9.5rem, 44vw);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header__logo svg.logo,
  .header__logo .logo {
    width: 26px;
    height: 30px;
    flex-shrink: 0;
  }

  .header__cta { display: none !important; }

  .lang-switch--mobile .lang-switch__btn {
    min-width: 2.4rem;
    min-height: 2.4rem;
  }

  /* ---------- Hero: image stage + overlay copy ---------- */
  .hero {
    min-height: 0 !important;
    height: auto;
    display: block;
    padding-top: 0 !important;
    background: #111;
  }

  .hero__grid {
    position: relative;
    display: block !important;
    padding: 0 !important;
    width: 100%;
    gap: 0;
  }

  .hero .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none;
  }

  .hero__image {
    position: relative;
    z-index: 0;
  }

  .hero__frame {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    min-height: min(68vh, 520px);
  }

  .hero__image .img-frame::before,
  .hero__image .img-frame::after {
    display: none;
  }

  .hero__image img {
    width: 100%;
    height: min(68vh, 520px);
    max-height: none;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 18%;
    filter: grayscale(100%) contrast(1.06);
  }

  .hero__veil {
    display: block;
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.08) 38%, rgba(0, 0, 0, 0.7) 76%, rgba(0, 0, 0, 0.9) 100%),
      radial-gradient(90% 55% at 80% 18%, rgba(255, 255, 255, 0.07), transparent 55%);
    pointer-events: none;
  }

  .hero__ornaments {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .hero__ring {
    position: absolute;
    top: 11%;
    right: 7%;
    width: 78px;
    height: 78px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
  }

  .hero__ring::after {
    content: "";
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
  }

  .hero__corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: rgba(255, 255, 255, 0.4);
    border-style: solid;
  }

  .hero__corner--tl {
    top: 0.9rem;
    left: 0.9rem;
    border-width: 1px 0 0 1px;
  }

  .hero__corner--br {
    right: 0.9rem;
    bottom: 0.9rem;
    border-width: 0 1px 1px 0;
  }

  .hero__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1.15rem 1.05rem 1.35rem;
    padding-left: max(1.05rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.05rem, env(safe-area-inset-right, 0px));
    color: #fff;
  }

  .hero__eyebrow,
  .hero__content .label {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.4rem;
  }

  .hero__title {
    color: #fff !important;
    font-size: clamp(1.95rem, 8.5vw, 2.45rem) !important;
    line-height: 1.05;
    margin-bottom: 0.4rem;
    max-width: 11ch;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }

  .hero__text {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.88rem;
    line-height: 1.4;
    max-width: 28ch;
    margin-bottom: 0.95rem;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
  }

  .hero__actions .btn--dark {
    background: #fff;
    color: #111;
    border-radius: 0;
    min-height: 0;
    flex: 0 0 auto;
    width: auto;
    justify-content: center;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    padding: 0.95rem 1.4rem;
  }

  .hero__actions .btn--dark:hover {
    background: #f0f0f0;
  }

  .hero__secondary { display: none !important; }
  .scroll-indicator { display: none !important; }

  /* ---------- Values ---------- */
  .values {
    padding: 0.55rem 0 0.15rem;
    background: #fff;
  }

  .values__grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.5rem !important;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .value {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "num icon"
      "title title"
      "text text";
    gap: 0.15rem 0.65rem;
    align-items: center;
    padding: 0.9rem 0 !important;
    border-radius: 0;
    background: transparent;
    border: 0 !important;
    border-bottom: 1px solid var(--color-border-light) !important;
    box-shadow: none;
  }

  .value:hover { transform: none; }
  .value::before { display: none; }
  .value:last-child { border-bottom: 0 !important; }

  .value__num { grid-area: num; margin: 0; font-size: 0.62rem; }
  .value__icon { grid-area: icon; justify-self: end; margin: 0; width: 26px; height: 26px; }
  .value__icon svg { width: 26px; height: 26px; }
  .value__title { grid-area: title; margin: 0.15rem 0 0; font-size: 1.02rem; }
  .value__text { grid-area: text; margin: 0; font-size: 0.8rem; line-height: 1.4; }

  /* ---------- Services mosaic ---------- */
  .services {
    padding-top: 0.5rem;
    padding-bottom: 0.15rem;
  }

  .services .section-header {
    margin-bottom: 0.25rem;
    flex-direction: row;
    align-items: flex-end;
    gap: 0.35rem;
  }

  .section-title {
    font-size: clamp(1.1rem, 4.8vw, 1.35rem);
    text-wrap: balance;
    max-width: 16ch;
  }

  .services__grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 0.5rem;
  }

  .service-card {
    position: relative;
    display: block;
    height: auto;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    background: #111;
    box-shadow: none;
  }

  .service-card:hover {
    opacity: 1;
    transform: none;
  }

  .service-card:nth-child(1) { grid-row: span 2; }
  .service-card:nth-child(1) .service-card__image { aspect-ratio: 3 / 4.15; }
  .service-card:nth-child(5) { grid-column: 1 / -1; }
  .service-card:nth-child(5) .service-card__image { aspect-ratio: 16 / 8.5; }

  .service-card__image {
    position: relative;
    aspect-ratio: 1 / 1;
    margin: 0 !important;
    overflow: hidden;
  }

  .service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(28%) contrast(1.05);
  }

  .service-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.18) 45%, transparent 72%);
    pointer-events: none;
  }

  .service-card__num {
    display: block !important;
    position: absolute;
    top: 0.55rem;
    left: 0.65rem;
    bottom: auto;
    z-index: 2;
    opacity: 0.9;
    transform: none;
    font-size: 0.95rem;
    color: #fff;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  }

  .service-card__title {
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.6rem;
    z-index: 3;
    margin: 0;
    min-height: 0;
    color: #fff !important;
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.02rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    pointer-events: none;
  }

  .service-card:nth-child(1) .service-card__title { font-size: 1.18rem; }
  .service-card__desc { display: none !important; }
  .service-card__hit { z-index: 4; }

  /* ---------- Pricing rows ---------- */
  .pricing {
    padding: 2rem 0 2.25rem;
  }

  .pricing__grid,
  .pricing__grid--embed {
    margin-top: 0.35rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .pricing-card {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 1.1rem 1rem 1rem;
    border-radius: 0;
    transform: none;
  }

  .pricing-card:hover {
    transform: none;
  }

  .pricing-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
  }

  .pricing-card__price {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
  }

  .pricing-card__list {
    display: flex !important;
    margin-bottom: 0.9rem;
  }

  .pricing-card__list li {
    font-size: 0.82rem;
  }

  .pricing-card__cta {
    margin-top: 0;
    padding-top: 0;
    font-size: 0.7rem;
  }

  .pricing-card__cta::after {
    content: "?" !important;
  }

  .pricing__note {
    font-size: 0.78rem;
    margin-top: 0.7rem;
    line-height: 1.4;
  }

  /* ---------- About / tech / stats ---------- */
  .about,
  .technology,
  .stats {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .text-expand.u-mobile { display: inline-block; }

  .text-clamp {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s var(--ease-out), opacity 0.35s ease;
  }

  .text-clamp--open {
    max-height: 360px;
    opacity: 1;
  }

  .about__text--more { display: block !important; }

  .about__text {
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: none;
    margin-bottom: 0.75rem;
  }

  .about .section-title,
  .technology .section-title {
    font-size: clamp(1.1rem, 4.8vw, 1.35rem);
  }

  .about__stamp { width: 64px; height: 64px; }

  .technology__images {
    position: relative;
    width: 100%;
    max-width: 100%;
    left: auto;
    overflow: hidden;
  }

  .technology__img--main { width: 100%; }
  .technology__img--main img {
    max-height: 280px;
    aspect-ratio: 4 / 3;
    width: 100%;
  }

  .technology__img--secondary {
    width: min(34%, 110px);
    border-width: 4px;
    border-radius: 0;
    bottom: 6%;
    right: 4%;
    box-sizing: border-box;
  }

  .technology__text {
    font-size: 0.88rem;
    line-height: 1.5;
    max-width: none;
  }

  .technology__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .stats__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .stat {
    padding: 0.8rem 0.65rem;
    border-radius: 14px;
    background: #f5f5f5;
    text-align: center;
  }

  .stat__number { font-size: 1.25rem; }
  .stat__label { font-size: 0.65rem; }

  /* ---------- How / testimonials / gallery preview ---------- */
  #jak-to-funguje {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .how-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .how-step {
    position: relative;
    overflow: hidden;
    padding: 0.85rem 0 0.85rem 0.85rem;
    border-radius: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--color-border-light);
    box-shadow: none;
  }

  .how-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--color-graphite);
  }

  .how-step:hover { box-shadow: none; border-color: rgba(0, 0, 0, 0.05); }
  .how-step__num { font-size: 0.68rem; margin-bottom: 0.3rem; }
  .how-step__title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
  }
  .how-step__text { font-size: 0.76rem; line-height: 1.35; margin: 0; }

  .testimonials__text { font-size: 1.05rem; line-height: 1.45; }
  .testimonials__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .gallery-preview__stage { margin-top: 0.4rem; }

  .gallery-preview__track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-template-areas:
      "hero hero"
      "lips eyes"
      "tattoo result";
    gap: 0.25rem;
  }

  .gallery-preview__cell {
    height: 150px;
    min-height: 150px;
    border-radius: 0;
  }

  .gallery-preview__cell--hero {
    height: 190px;
    min-height: 190px;
  }

  .gallery-preview__cell img { transform: none; }

  .section-lead { font-size: 0.85rem; }

  .gallery-preview__footer .btn,
  .section-cta .btn {
    width: auto;
    justify-content: center;
    border-radius: 0;
    min-height: 0;
    font-size: 0.68rem;
  }

  /* ---------- FAQ / CTA ---------- */
  .faq-item__q {
    font-size: 0.98rem !important;
    padding: 0.9rem 0 !important;
    gap: 0.5rem !important;
  }

  .faq-item__a { font-size: 0.85rem !important; }
  .faq-section__visual { display: none; }

  .cta-banner__title {
    font-size: clamp(1.3rem, 6vw, 1.65rem) !important;
  }

  .cta-banner__text { font-size: 0.88rem !important; }
  .cta-banner__panel-note { display: none; }
  .cta-banner__actions .btn { border-radius: 0; }

  /* ---------- Inner pages ---------- */
  .page-hero {
    padding: 0.25rem 0 0.2rem;
    text-align: left;
  }

  body[data-page="booking"] .page-hero {
    padding-top: calc(var(--header-height) + 0.25rem);
  }

  .page-hero--gallery {
    padding-bottom: 0.25rem;
  }

  .page-hero .label {
    margin-bottom: 0.08rem;
    font-size: 0.56rem;
    letter-spacing: 0.14em;
  }

  .page-hero .section-title,
  .page-hero h1 {
    font-size: clamp(1.05rem, 4.6vw, 1.25rem) !important;
    line-height: 1.15;
    max-width: none;
    margin-bottom: 0.12rem;
  }

  .page-hero__text {
    font-size: 0.74rem;
    line-height: 1.35;
    max-width: none;
    margin: 0;
  }

  .page-content {
    padding: 0.4rem 0 0.65rem;
  }

  .page-content--gallery {
    padding-top: 0.3rem;
  }

  .section-title {
    font-size: clamp(1.1rem, 4.8vw, 1.35rem);
  }

  .section-cta {
    margin-top: var(--space-lg);
  }

  .gallery-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
    margin-top: 0.3rem;
    justify-content: stretch;
  }

  .gallery-stats__item {
    min-width: 0;
    padding: 0.35rem 0.25rem;
    border-radius: 0;
    background: #f5f5f5;
    text-align: center;
    align-items: center;
  }

  .gallery-stats__item strong {
    font-size: 0.95rem;
  }

  .gallery-stats__item span {
    font-size: 0.52rem;
    letter-spacing: 0.06em;
  }

  .tech-page__hero-grid {
    gap: 0.35rem;
    margin-bottom: 0.45rem;
  }

  .tech-page__subheading {
    font-size: clamp(1.1rem, 4.5vw, 1.3rem);
    margin-bottom: 0.35rem;
  }

  .tech-page__lead p {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .tech-page__card {
    padding: 0.85rem 0.75rem;
    border-radius: 0;
  }

  .tech-page__card-title {
    font-size: 1.05rem;
  }

  .tech-page__cards {
    gap: 0.4rem;
    margin-bottom: 0.55rem;
  }

  .tech-page__process {
    padding: 0.55rem 0;
  }

  .tech-page__cta {
    margin-top: 0.4rem;
    padding-top: 0.55rem;
  }

  .tech-page__cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tech-page__cta-actions .btn {
    width: 100%;
    justify-content: center;
    border-radius: 0;
  }

  .tech-page__visual { border-radius: 0; overflow: hidden; }

  .gallery-filter {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.35rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    max-width: 100%;
    margin: 0 0 0.4rem;
    padding: 0 0 0.35rem;
  }

  .gallery-filter::-webkit-scrollbar { display: none; }

  .gallery-filter__btn {
    flex: 0 0 auto;
    min-height: 0;
    border-radius: 0;
    padding: 0.4rem 0.75rem;
    font-size: 0.62rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .booking-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.2rem;
    margin-bottom: 0.65rem;
  }

  .booking-progress__step {
    text-align: center;
    padding: 0.6rem 0.3rem;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    border-radius: 0;
  }

  .booking-step__actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0.55rem;
  }

  .booking-step__actions .btn {
    width: 100%;
    justify-content: center;
    border-radius: 0;
  }

  .form__row { grid-template-columns: 1fr; }

  .form__input,
  .form__select,
  .form__textarea {
    min-height: 48px;
    font-size: 16px;
    border-radius: 0;
  }

  .form__textarea { min-height: 120px; }

  .form__consent-label {
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .form__consent-label input {
    width: 20px;
    height: 20px;
    margin-top: 0.1rem;
    flex-shrink: 0;
  }

  .contact-grid { gap: var(--space-xl); }
  .contact-map { min-height: 200px; border-radius: 0; }

  .reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .review-card {
    padding: 1.1rem 1rem;
    border-radius: 0;
  }

  .blog-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .blog-card { border-radius: 0; overflow: hidden; }

  /* ---------- Sticky dock (3 actions ? no gallery duplicate) ---------- */
  .sticky-cta {
    padding: 0.35rem 0.5rem;
    padding-bottom: calc(0.35rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--color-border-light);
    box-shadow: none;
  }

  .sticky-cta__dock,
  .sticky-cta__dock--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 400px;
    gap: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .sticky-cta__dock-item {
    min-height: 48px;
    border-radius: 0;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .sticky-cta__dock-item svg {
    width: 17px;
    height: 17px;
  }

  .sticky-cta__dock-item--primary { border-radius: 0; }

  body:not([data-page="booking"]):not([data-page="rezervace"]) {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  body[data-page="booking"],
  body[data-page="rezervace"] {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .btn { border-radius: 0 !important; }

  /* ---------- Footer: strip booking + nav duplicates ---------- */
  .footer__booking,
  .footer__list--links,
  .footer__social-soon,
  .footer__col:has(.footer__list--links) .footer__heading,
  .footer__col:has(.footer__social-soon) {
    display: none !important;
  }

  .footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding-bottom: 0.35rem;
  }

  .footer__heading {
    margin-bottom: 0.45rem;
    font-size: 0.68rem;
  }

  .footer__list a {
    font-size: 0.88rem;
    padding: 0.2rem 0;
  }

  .footer__address {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .footer__bottom {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }

  /* CTA / contact: phone+book already in sticky dock */
  .cta-banner__panel {
    display: none !important;
  }

  .cta-banner__phone {
    display: none !important;
  }

  .contact-book-hint,
  .contact-info > a.btn[href*="rezervace"],
  .contact-info a.btn--ghost {
    display: none !important;
  }

  body[data-page="kontakt"] .page-hero__text,
  body[data-page="rezervace"] .page-hero__text,
  body[data-page="booking"] .page-hero__text {
    display: none !important;
  }

  body[data-page="kontakt"] .contact-chips {
    display: none !important;
  }

  /* Contact aside: keep address, drop phone row (sticky + footer cover it) */
  body[data-page="kontakt"] .contact-info__item:first-child {
    display: none !important;
  }

  .page-hero__crumb {
    display: none !important;
  }

  .section-header .link-arrow {
    display: none !important;
  }

  /* Cleaner section rhythm */
  .onepage-section,
  .values,
  .services,
  .pricing,
  .about,
  .faq-section,
  .testimonials {
    padding-top: 1.15rem;
    padding-bottom: 1.15rem;
  }

  .stat {
    border-radius: 0;
    background: transparent;
    border: 1px solid var(--color-border-light);
    padding: 0.7rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero__frame,
  .hero__image img {
    height: min(62vh, 460px);
    min-height: min(62vh, 460px);
  }

  .hero__title {
    font-size: clamp(1.75rem, 8.5vw, 2.15rem) !important;
  }

  .how-steps { grid-template-columns: 1fr; }

  .gallery-preview__cell {
    height: 135px;
    min-height: 135px;
  }

  .gallery-preview__cell--hero {
    height: 170px;
    min-height: 170px;
  }

  .services__grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* --- Header social icons (visible in header bar) --- */
.header__social {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  flex-shrink: 0;
  z-index: 2;
}
.header__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  color: var(--color-graphite, #2c2c2c);
  text-decoration: none;
  opacity: 1;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.header__social-link:hover,
.header__social-link:focus-visible {
  color: var(--color-accent, #1a1a1a);
  opacity: 1;
  outline: none;
}
.header__social-icon {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
  flex-shrink: 0;
  overflow: visible;
}
.header__social-icon rect,
.header__social-icon circle[stroke],
.header__social-icon path {
  vector-effect: non-scaling-stroke;
}
@media (min-width: 1024px) {
  .header__social {
    margin-right: 0.25rem;
  }
  .header__social-link {
    width: 2rem;
    height: 2rem;
  }
}
@media (max-width: 1023px) {
  .header__social-link {
    width: 2.5rem;
    height: 2.5rem;
  }
  .header__social-icon {
    width: 1.2rem;
    height: 1.2rem;
  }
}
.logo--img {
  width: 28px;
  height: 32px;
  object-fit: contain;
  display: block;
}
.how-step--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}
.how-step--link:hover { background: rgba(0,0,0,0.02); }
.how-step__link {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--color-border-light);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.06);
}
.cookie-banner__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner__text {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-banner .btn {
  min-height: 0;
  padding: 0.7rem 1rem;
  font-size: 0.68rem;
}
body:has(.cookie-banner) {
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}
.order-qr {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--color-border-light);
  text-align: center;
}
.video-carousel {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.video-carousel__item {
  position: relative;
  padding-top: 56.25%;
  background: #111;
}
.video-carousel__item iframe,
.video-carousel__item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 1023px) {
  .m-rail { display: none !important; }
}

.booking-services__grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .booking-services__grid { grid-template-columns: 1fr 1fr; }
}
.booking-service {
  display: block;
  cursor: pointer;
  border: 1px solid var(--color-border-light, #e6e2dc);
  padding: 0.85rem 1rem;
  transition: border-color .2s ease, background .2s ease;
  background: #fff;
}
.booking-service:hover,
.booking-service--selected,
.booking-service:has(.booking-service__input:checked) {
  border-color: #111;
  background: rgba(0,0,0,0.02);
}
.booking-service__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.booking-service__title {
  display: block;
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.booking-service__note {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--color-text-muted, #666);
}
.video-carousel__cap {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: var(--color-text-muted, #666);
}

/* Home first section is hero again ? spacing handled by .hero */

/* --- Booking BR layout (monochrome) --- */
.booking-band {
  padding: 0 !important;
  background: #111;
  color: #fff;
}
.booking-br__inner {
  display: grid;
  gap: 2.5rem;
  padding: 3rem 0 2.5rem;
}
@media (min-width: 960px) {
  .booking-br__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}
.booking-br__title {
  margin: 0 0 1.35rem;
  text-align: center;
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 500;
  color: #fff;
}
.booking-br__table-wrap {
  overflow-x: auto;
}
.booking-br__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.92);
}
.booking-br__table th,
.booking-br__table td {
  padding: 0.7rem 0.45rem;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  text-align: left;
  vertical-align: top;
}
.booking-br__table th:last-child,
.booking-br__table td:last-child {
  text-align: right;
  white-space: nowrap;
}
.booking-br__table th {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.7;
}
.booking-br__side-text {
  margin: 1.75rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
  text-align: center;
}
.form--booking-br .form__label,
.form--booking-br .form__consent-label,
.booking-br__radios .form__label {
  color: rgba(255,255,255,0.92);
}
.form--booking-br .form__input,
.form--booking-br .form__select,
.form--booking-br .form__textarea {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 0;
}
.form--booking-br .form__input::placeholder,
.form--booking-br .form__textarea::placeholder {
  color: rgba(255,255,255,0.45);
}
.form--booking-br .form__select option {
  color: #111;
  background: #fff;
}
.form--booking-br .form__input:focus,
.form--booking-br .form__select:focus,
.form--booking-br .form__textarea:focus {
  outline: 1px solid #fff;
  border-color: #fff;
}
.booking-br__radio-box {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.45);
}
.booking-br__radio {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  color: #fff;
  font-size: 0.9rem;
}
.booking-br__file .form__input--file {
  padding: 0.55rem;
}
.form--booking-br .form__consent-label a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.btn--booking-submit {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.95rem 1.25rem;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn--booking-submit:hover {
  background: #fff;
  color: #111;
}
.booking-br__guides {
  background: #fff;
  color: #111;
  padding: 1rem 1.25rem;
  text-align: center;
}
.booking-br__guides p {
  margin: 0;
  font-size: 0.9rem;
}
.booking-br__guides a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.booking-br .form-success {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 1.25rem;
}
.booking-br .form-success .btn--dark {
  background: #fff;
  color: #111;
}
.booking-br .form-success .btn--outline {
  border-color: #fff;
  color: #fff;
}
.booking-br .form-error {
  color: #ffb4b4;
}
@media (max-width: 959px) {
  .booking-br__inner { padding: 2rem 0 1.5rem; }
  .booking-br__side-text { text-align: left; }
}

.booking-br__inner--form-only {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Gallery compare ? Pred / Po / Zahojeno
   ============================================ */
.gallery-compare {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  background:
    radial-gradient(120% 80% at 12% 0%, rgba(0, 0, 0, 0.045), transparent 55%),
    radial-gradient(90% 70% at 100% 20%, rgba(0, 0, 0, 0.03), transparent 50%),
    linear-gradient(180deg, #fafafa 0%, #f3f3f3 48%, #f7f7f7 100%);
  overflow: clip;
}

.gallery-compare::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 85%);
  opacity: 0.55;
}

.gallery-compare > .container {
  position: relative;
  z-index: 1;
}

.section-header--gallery-compare {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section-header--gallery-compare .section-title {
  max-width: 14ch;
  letter-spacing: -0.02em;
}

.section-header--gallery-compare .section-lead {
  max-width: 36ch;
  margin-top: 0.75rem;
  color: var(--color-text-muted);
}

.ba-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-auto-rows: minmax(0, auto);
  gap: 1rem 1.15rem;
}

.ba-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.ba-card--featured {
  grid-row: span 2;
}

.ba-card__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.85rem;
  align-items: baseline;
}

.ba-card__num {
  grid-row: span 2;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1;
  color: var(--color-graphite);
  opacity: 0.28;
  font-variant-numeric: tabular-nums;
}

.ba-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-graphite);
}

.ba-card__text {
  grid-column: 2;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  max-width: 34ch;
}

.ba-compare {
  --ba-pos: 50%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.ba-compare__stage {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #121212;
  isolation: isolate;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 18px 40px -28px rgba(0, 0, 0, 0.45);
  transform: translateZ(0);
}

.ba-card--featured .ba-compare__stage {
  aspect-ratio: 3 / 4;
  min-height: 100%;
}

.ba-compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  user-select: none;
  pointer-events: none;
  transform: scale(1.001);
}

.ba-compare__after-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--ba-pos));
  will-change: clip-path;
}

.ba-compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  width: 0;
  z-index: 3;
  pointer-events: none;
  transform: translateX(-50%);
}

.ba-compare__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.95) 12%,
    rgba(255, 255, 255, 0.95) 88%,
    transparent 100%
  );
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.ba-compare__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, #fff 0%, #f2f2f2 42%, #d8d8d8 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.ba-compare__knob::before,
.ba-compare__knob::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid #222;
  border-right: 1.5px solid #222;
  opacity: 0.7;
}

.ba-compare__knob::before {
  left: 11px;
  transform: translateY(-50%) rotate(-135deg);
}

.ba-compare__knob::after {
  right: 11px;
  transform: translateY(-50%) rotate(45deg);
}

.ba-compare__range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
  background: transparent;
}

.ba-compare__label {
  position: absolute;
  bottom: 0.85rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(10, 10, 10, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

.ba-compare__label--before { left: 0.85rem; }
.ba-compare__label--after { right: 0.85rem; }

.ba-compare__modes {
  display: inline-flex;
  align-self: flex-start;
  gap: 0;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.72);
}

.ba-mode {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.ba-mode + .ba-mode {
  border-left: 1px solid var(--color-border);
}

.ba-mode:hover {
  color: var(--color-graphite);
}

.ba-mode.is-active {
  color: #fff;
  background: var(--color-graphite);
}

.ba-compare--pulse .ba-compare__stage {
  animation: baPulse 0.5s var(--ease-out);
}

.ba-compare--intro .ba-compare__after-wrap,
.ba-compare--intro .ba-compare__handle {
  transition: clip-path 1.1s var(--ease-out), left 1.1s var(--ease-out);
}

.ba-hint {
  margin-top: 1.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  opacity: 0.85;
}

@keyframes baPulse {
  0% { filter: brightness(1); }
  40% { filter: brightness(1.08); }
  100% { filter: brightness(1); }
}

@media (max-width: 959px) {
  .ba-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ba-card--featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .ba-card--featured .ba-compare__stage {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 639px) {
  .section-header--gallery-compare {
    flex-direction: column;
    align-items: flex-start;
  }
  .ba-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .ba-card__text {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ba-compare--pulse .ba-compare__stage,
  .ba-compare--intro .ba-compare__after-wrap,
  .ba-compare--intro .ba-compare__handle {
    animation: none !important;
    transition: none !important;
  }
}

.ba-phases {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.ba-phases span {
  position: relative;
  padding-left: 0.85rem;
}

.ba-phases span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.ba-phases span:nth-child(1)::before { opacity: 0.35; }
.ba-phases span:nth-child(2)::before { opacity: 0.7; }
.ba-phases span:nth-child(3)::before { background: var(--color-graphite); opacity: 1; }

/* Doc tabs + FAQ stack (care / legal-style pages) */
.doc-tabs-section .section-header { margin-bottom: 1.5rem; }
.doc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.doc-tabs__btn {
  appearance: none;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  cursor: pointer;
  transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.doc-tabs__btn:hover { color: var(--color-graphite); border-color: #ccc; }
.doc-tabs__btn.is-active {
  color: #fff;
  background: var(--color-graphite);
  border-color: var(--color-graphite);
}
.doc-tabs__panel-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}
.doc-tabs__panel-lead { margin-bottom: 1.25rem; }
.doc-tabs__note {
  margin-top: 1.5rem;
  max-width: 62ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}
.faq-section--stack .faq-list--stack { max-width: 820px; }
.faq-section--stack .section-header { margin-bottom: 1.5rem; }

/* ============================================
   Hero ? kulat? portr?t (override mobile stage)
   ============================================ */
.hero__image .img-frame::before,
.hero__image .img-frame::after {
  display: none !important;
}

.hero__veil {
  border-radius: 50%;
}

@media (max-width: 1023px) {
  .hero {
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    padding-top: var(--header-height) !important;
    background: var(--color-bg) !important;
  }

  .hero__grid {
    position: relative !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: center !important;
    gap: 1.35rem !important;
    padding: 1.1rem 0 2rem !important;
    width: 100% !important;
  }

  .hero .container {
    padding-left: max(1.05rem, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(1.05rem, env(safe-area-inset-right, 0px)) !important;
    max-width: var(--container-max) !important;
  }

  .hero__image {
    width: 100%;
    z-index: 0;
  }

  .hero__frame,
  .hero__image .img-frame {
    width: min(72vw, 320px) !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
  }

  .hero__image img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center 18% !important;
    border-radius: 50% !important;
    filter: grayscale(100%) !important;
  }

  .hero__veil,
  .hero__ornaments {
    display: none !important;
  }

  .hero__content {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 1;
    width: 100%;
    padding: 0 !important;
    color: inherit !important;
    text-align: left;
  }

  .hero__eyebrow,
  .hero__content .label {
    color: var(--color-text-muted) !important;
    margin-bottom: 0.45rem;
  }

  .hero__title {
    color: var(--color-graphite) !important;
    font-size: clamp(2.1rem, 9vw, 2.75rem) !important;
    line-height: 1.05 !important;
    margin-bottom: 0.55rem !important;
    max-width: 12ch !important;
    text-shadow: none !important;
  }

  .hero__text {
    color: var(--color-text-muted) !important;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    max-width: 34ch !important;
    margin-bottom: 1.1rem !important;
  }

  .hero__actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .hero__actions .btn--dark {
    background: var(--color-graphite) !important;
    color: #fff !important;
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.08em !important;
    padding: 0.95rem 1.25rem !important;
  }

  .hero__actions .btn--dark:hover {
    background: #000 !important;
  }

  .hero__secondary {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .hero__frame,
  .hero__image .img-frame {
    width: min(78vw, 280px) !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .hero__image img {
    height: 100% !important;
    min-height: 0 !important;
  }
}

/* Lightbox nav + caption */
.lightbox__figure {
  margin: 0;
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.lightbox__img {
  max-width: 92vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.lightbox__cap {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 40ch;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.lightbox__nav:hover {
  border-color: #fff;
  background: rgba(0, 0, 0, 0.55);
}
.lightbox__nav--prev { left: max(0.75rem, env(safe-area-inset-left)); }
.lightbox__nav--next { right: max(0.75rem, env(safe-area-inset-right)); }
@media (max-width: 639px) {
  .lightbox__nav { width: 42px; height: 42px; font-size: 1.45rem; }
}

/* ===== Reviews showcase (live + expand) ===== */
.reviews-showcase {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(28, 28, 28, 0.04), transparent 55%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  overflow: clip;
}
.reviews-showcase__header {
  margin-bottom: 1.75rem;
}
.reviews-showcase__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.1rem 0;
  border-block: 1px solid rgba(28, 28, 28, 0.1);
}
.reviews-showcase__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.reviews-showcase__stat strong {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.reviews-showcase__stat span {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.reviews-showcase__featured {
  margin-bottom: 1.75rem;
}
.reviews-showcase__featured-inner {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2.75rem);
  background: var(--color-bg);
  border: 1px solid rgba(28, 28, 28, 0.08);
}
.reviews-showcase__featured .testimonials__text {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  margin: 0 0 1rem;
}
.reviews-showcase__featured .testimonials__author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.reviews-showcase__meta {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}
.reviews-showcase__avatar {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--color-graphite);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.reviews-showcase__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .reviews-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .reviews-showcase__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.review-card--live {
  background: var(--color-bg);
  border: 1px solid rgba(28, 28, 28, 0.08);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.review-card--live:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 28, 28, 0.18);
}
.review-card--live.is-mine {
  border-color: rgba(28, 28, 28, 0.28);
  background: linear-gradient(180deg, #fff 0%, #f7f6f4 100%);
}
.review-card__top {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}
.review-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}
.review-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(28, 28, 28, 0.18);
  color: var(--color-text-muted);
}
.review-badge--verified {
  border-color: rgba(28, 28, 28, 0.45);
  color: var(--color-graphite);
}
.review-badge--mine {
  background: var(--color-graphite);
  color: #fff;
  border-color: transparent;
}
.reviews-showcase__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.75rem;
}
.review-form__trust-note {
  margin: 0 0 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 42rem;
}
.form__optional {
  font-weight: 400;
  color: var(--color-text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85em;
}
.form__row--2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form__row--2 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 639px) {
  .reviews-showcase__trust {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .review-card--live { transition: none; }
  .review-card--live:hover { transform: none; }
}

/* ===== Mobile audit fixes 2026-08-30 ===== */

/* Cookie banner: clear sticky dock + dynamic height */
body:has(.cookie-banner),
body.has-cookie-banner {
  padding-bottom: calc(
    68px + var(--cookie-banner-h, 160px) + env(safe-area-inset-bottom, 0px)
  ) !important;
}
@media (max-width: 1023px) {
  body:has(.cookie-banner) .sticky-cta,
  body.has-cookie-banner .sticky-cta {
    bottom: calc(var(--cookie-banner-h, 140px));
  }
  .cookie-banner {
    padding: 0.75rem 0.85rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  }
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .cookie-banner__actions {
    width: 100%;
  }
  .cookie-banner__actions .btn {
    flex: 1;
    min-height: 44px;
  }
}

/* Video captions not covered by iframe */
.video-carousel__item {
  position: relative;
  padding-top: 0;
  background: transparent;
}
.video-carousel__media {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #111;
  overflow: hidden;
}
.video-carousel__media iframe,
.video-carousel__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-carousel__cap {
  margin: 0.5rem 0 0;
  padding: 0 0.1rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--color-text-muted, #666);
}

/* Gallery captions on touch devices */
@media (hover: none), (max-width: 1023px) {
  .gallery-item__cap {
    opacity: 1;
    transform: none;
  }
}

/* Footer legal wrap */
.footer__legal {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1rem;
  max-width: 100%;
}
.footer__legal a {
  white-space: normal;
}

/* Header: free space for brand on phone */
@media (max-width: 1023px) {
  .header__social {
    display: none;
  }
  .header__wordmark {
    max-width: min(14rem, 58vw) !important;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
  }
  .header__end {
    gap: 0.25rem;
  }
}

/* Sticky dock readability */
@media (max-width: 1023px) {
  .sticky-cta__dock-item {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    min-height: 52px;
    gap: 0.2rem;
  }
  .page-hero__text {
    font-size: clamp(0.88rem, 3.6vw, 1rem);
    line-height: 1.55;
  }
  .gallery-filter__btn {
    min-height: 44px;
    font-size: 0.75rem;
    padding: 0.55rem 0.85rem;
  }
  .gallery-stats__item span {
    font-size: 0.68rem;
  }
}

/* About expand: full text */
@media (max-width: 1023px) {
  .text-clamp--open {
    max-height: none;
    overflow: visible;
  }
}

/* Booking price table: scrollable, not clipped */
.booking-br__inner,
.booking-br__prices,
.booking-br__table-wrap {
  min-width: 0;
  max-width: 100%;
}
.booking-br__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
@media (max-width: 640px) {
  .booking-br__table {
    min-width: 28rem;
    font-size: 0.8rem;
  }
  .booking-br__table th,
  .booking-br__table td {
    padding: 0.65rem 0.4rem;
  }
}

/* Services mosaic: equal columns on very small phones */
@media (max-width: 430px) {
  .services__grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .service-card__title,
  .service-card__short {
    font-size: clamp(0.78rem, 3.4vw, 0.95rem);
    white-space: normal;
  }
}

/* Buttons: allow wrap for long labels */
@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding-block: 0.85rem;
  }
}

/* Reviews showcase: no clipping of long quotes */
@media (max-width: 639px) {
  .reviews-showcase {
    overflow: visible;
  }
  .reviews-showcase__featured-inner {
    padding: 1.25rem 1rem;
  }
  .reviews-showcase__featured .testimonials__text {
    font-size: 1.05rem;
  }
  .reviews-showcase__trust {
    gap: 0.75rem;
  }
  .reviews-showcase__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .reviews-showcase__actions .btn {
    width: 100%;
  }
}

/* Price cards / forms: prevent horizontal bleed */
@media (max-width: 639px) {
  .price-card,
  .pricing-grid,
  .reviews-showcase__grid,
  .form__row--2 {
    min-width: 0;
  }
  .container,
  .container--narrow {
    max-width: 100%;
    padding-inline: max(1rem, env(safe-area-inset-left), env(safe-area-inset-right));
  }
  img,
  iframe,
  video {
    max-width: 100%;
  }
}

/* Doc tabs: scrollable chips */
@media (max-width: 639px) {
  .doc-tabs__nav,
  [data-doc-tabs] .doc-tabs__list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.4rem;
    padding-bottom: 0.35rem;
    max-width: 100%;
  }
}


/* ============================================
   Mobile audit fixes (2026-08-31)
   ============================================ */

/* Services mosaic: no holes on phone (equal 2-col, no span traps) */
@media (max-width: 639px) {
  .services__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.45rem !important;
  }
  .service-card:nth-child(1),
  .service-card:nth-child(5) {
    grid-row: auto !important;
    grid-column: auto !important;
  }
  .service-card:nth-child(1) .service-card__image,
  .service-card:nth-child(5) .service-card__image {
    aspect-ratio: 1 / 1 !important;
  }
  .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .service-card:last-child:nth-child(odd) .service-card__image {
    aspect-ratio: 16 / 10 !important;
  }
}

/* Header: align brand / lang / burger, bigger logo hit area */
@media (max-width: 1023px) {
  .header__inner {
    align-items: center;
    min-height: var(--header-height);
  }
  .header__logo {
    min-height: 44px;
    padding: 0.15rem 0;
  }
  .header__end {
    align-items: center;
    gap: 0.4rem;
  }
  .lang-switch--mobile {
    align-items: center;
  }
  .lang-switch--mobile .lang-switch__btn {
    min-width: 2.55rem;
    min-height: 2.55rem;
  }
  .burger {
    margin: 0;
  }
}

/* Gallery stats: readable labels */
@media (max-width: 430px) {
  .gallery-stats {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .gallery-stats__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.55rem;
    align-items: center;
    text-align: left;
    padding: 0.55rem 0.75rem;
  }
  .gallery-stats__item strong {
    font-size: 1.05rem;
  }
  .gallery-stats__item span {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    line-height: 1.25;
  }
}

@media (min-width: 431px) and (max-width: 1023px) {
  .gallery-stats__item span {
    font-size: 0.58rem;
    line-height: 1.2;
    white-space: normal;
  }
}

/* Gallery filters: horizontal scroll chips, no jagged wrap */
@media (max-width: 1023px) {
  .gallery-filter {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.4rem;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
    max-width: 100%;
  }
  .gallery-filter__btn {
    flex: 0 0 auto;
  }
}

/* Booking table: card stack instead of wide table on phones */
@media (max-width: 640px) {
  .booking-br__table {
    min-width: 0 !important;
    width: 100%;
    display: block;
  }
  .booking-br__table thead {
    display: none;
  }
  .booking-br__table tbody {
    display: grid;
    gap: 0.75rem;
  }
  .booking-br__table tr {
    display: grid;
    gap: 0.25rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.18);
  }
  .booking-br__table th,
  .booking-br__table td {
    display: block;
    width: 100% !important;
    text-align: left !important;
    white-space: normal !important;
    padding: 0.15rem 0 !important;
    border: 0 !important;
  }
  .booking-br__table td:first-child {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
  }
  .booking-br__table td:last-child {
    font-size: 0.82rem;
    opacity: 0.88;
    line-height: 1.45;
  }
  .booking-br__side-text {
    padding-inline: 0.15rem;
    text-align: left;
  }
  .booking-br__inner {
    padding-inline: 0.15rem;
  }
}

/* Booking form: larger radios / file / consent */
@media (max-width: 1023px) {
  .booking-br__radio {
    min-height: 44px;
    align-items: center;
    gap: 0.55rem;
  }
  .booking-br__radio input {
    width: 1.15rem;
    height: 1.15rem;
  }
  .form--booking-br .form__consent-label {
    align-items: flex-start;
    gap: 0.65rem;
    line-height: 1.45;
    font-size: 0.82rem;
  }
  .form--booking-br .form__consent-label input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
  }
  .form__input--file,
  .booking-br__file .form__input--file {
    min-height: 48px;
    padding: 0.65rem;
    border: 1px dashed rgba(255,255,255,0.45);
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.04);
  }
  .footer__legal a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.1rem;
  }
}

/* Sticky CTA: keep content clear */
@media (max-width: 1023px) {
  body:not([data-page="booking"]) {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .sticky-cta__dock-item {
    min-height: 56px;
  }
}

/* Reviews / contact forms on mobile */
@media (max-width: 639px) {
  .reviews-form,
  .contact-form,
  .form {
    max-width: 100%;
  }
  .form__row,
  .form__row--2 {
    grid-template-columns: 1fr !important;
  }
}


/* ============================================
   Contact form ? mobile layout fix
   ============================================ */
html {
  scroll-padding-top: calc(var(--header-height, 64px) + 12px);
}

.form__hidden-trap {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

@media (max-width: 1023px) {
  body[data-page="kontakt"] {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body[data-page="kontakt"] .page-content {
    padding: 1rem 0 2rem;
  }

  body[data-page="kontakt"] .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    min-width: 0;
    max-width: 100%;
  }

  body[data-page="kontakt"] .contact-grid > div {
    min-width: 0;
    max-width: 100%;
  }

  body[data-page="kontakt"] .contact-form-title {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
    margin-bottom: 0.65rem;
  }

  body[data-page="kontakt"] .section-lead {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 1.35rem !important;
  }

  body[data-page="kontakt"] #contactForm.form,
  body[data-page="kontakt"] .form {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  body[data-page="kontakt"] .form__group {
    margin-bottom: 1.05rem;
    min-width: 0;
  }

  body[data-page="kontakt"] .form__row {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    grid-template-columns: none !important;
  }

  body[data-page="kontakt"] .form__label {
    margin-bottom: 0.4rem;
    font-size: 0.72rem;
  }

  body[data-page="kontakt"] .form__input,
  body[data-page="kontakt"] .form__select,
  body[data-page="kontakt"] .form__textarea {
    width: 100%;
    max-width: 100%;
    min-height: 52px;
    font-size: 16px !important; /* prevent iOS zoom */
    line-height: 1.35;
    padding: 0.9rem 0.95rem;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
  }

  body[data-page="kontakt"] .form__textarea {
    min-height: 140px;
    resize: vertical;
  }

  body[data-page="kontakt"] .form__select {
    background-image: linear-gradient(45deg, transparent 50%, #111 50%),
      linear-gradient(135deg, #111 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.4rem;
  }

  body[data-page="kontakt"] .form__consent {
    margin: 0.35rem 0 1.15rem;
  }

  body[data-page="kontakt"] .form__consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  body[data-page="kontakt"] .form__consent-label input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
  }

  body[data-page="kontakt"] #contactForm button[type="submit"],
  body[data-page="kontakt"] #contactForm .btn {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center;
    min-height: 52px;
    white-space: normal;
    text-align: center;
    margin-top: 0.25rem;
  }

  /* Keep labels visible under sticky header when focusing fields */
  body[data-page="kontakt"] .form__group,
  body[data-page="kontakt"] .form__input,
  body[data-page="kontakt"] .form__select,
  body[data-page="kontakt"] .form__textarea {
    scroll-margin-top: calc(var(--header-height, 64px) + 16px);
  }

  /* Show phone/email block again (was hidden; sticky dock is not enough) */
  body[data-page="kontakt"] .contact-info__item:first-child {
    display: block !important;
  }

  body[data-page="kontakt"] .contact-info {
    padding: 1.15rem 1rem;
  }

  body[data-page="kontakt"] .contact-info__item {
    margin-bottom: 1.1rem;
  }

  body[data-page="kontakt"] .contact-info__item a {
    display: inline-block;
    padding: 0.2rem 0;
    word-break: break-word;
  }

  body[data-page="kontakt"] .contact-book-hint,
  body[data-page="kontakt"] .contact-info > a.btn[href*="rezervace"] {
    display: block !important;
  }

  body[data-page="kontakt"] .contact-info > a.btn[href*="rezervace"] {
    width: 100%;
    text-align: center;
    justify-content: center;
    min-height: 48px;
  }
}

/* ============================================
   Mobile audit follow-up (galerie filters + review form)
   ============================================ */
@media (max-width: 1023px) {
  .gallery-filter {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 1.5rem), transparent 100%);
  }
  .gallery-filter__btn {
    flex: 0 0 auto !important;
  }
  .section-header,
  .gallery .container,
  .page-content .container {
    min-width: 0;
    max-width: 100%;
  }

  /* Review form: same mobile treatment as contact */
  #reviewForm.form,
  #reviewForm {
    width: 100%;
    max-width: 100%;
  }
  #reviewForm .form__row,
  #reviewForm .form__row--2 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  #reviewForm .form__input,
  #reviewForm .form__select,
  #reviewForm .form__textarea {
    width: 100%;
    min-height: 52px;
    font-size: 16px !important;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
  }
  #reviewForm .form__textarea {
    min-height: 120px;
    resize: vertical;
  }
  #reviewForm button[type="submit"],
  #reviewForm .btn {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center;
    min-height: 52px;
    white-space: normal;
    text-align: center;
  }
  #reviewForm .form__group,
  #reviewForm .form__input,
  #reviewForm .form__select,
  #reviewForm .form__textarea {
    scroll-margin-top: calc(var(--header-height, 64px) + 16px);
  }

  body[data-page="recenze"],
  body[data-page="kontakt"] {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .header__end {
    gap: 0.55rem !important;
  }
}

/* ============================================
   Mobile professional polish (audit-driven)
   ============================================ */

@media (max-width: 1023px) {
  :root {
    --header-height: 60px;
    --mobile-gutter: max(1.15rem, env(safe-area-inset-left, 0px));
    --mobile-gutter-r: max(1.15rem, env(safe-area-inset-right, 0px));
    --sticky-dock-h: 72px;
  }

  html {
    scroll-padding-top: calc(var(--header-height) + 12px);
    scroll-padding-bottom: calc(var(--sticky-dock-h) + env(safe-area-inset-bottom, 0px));
  }

  body:not([data-page="booking"]):not([data-page="rezervace"]) {
    padding-bottom: calc(var(--sticky-dock-h) + 88px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .container,
  .container--narrow {
    padding-left: var(--mobile-gutter) !important;
    padding-right: var(--mobile-gutter-r) !important;
    max-width: 100%;
    min-width: 0;
  }

  /* ----- Header ----- */
  .header {
    height: var(--header-height);
  }
  .header__inner {
    align-items: center;
    gap: 0.65rem;
    min-height: var(--header-height);
    padding-block: 0;
  }
  .header__logo {
    align-items: center;
    min-height: 44px;
    max-width: calc(100% - 8.25rem);
  }
  .header__wordmark {
    font-size: clamp(0.88rem, 3.6vw, 1rem);
  }
  .header__end {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem !important;
    flex-shrink: 0;
  }
  .lang-switch--mobile {
    display: inline-flex;
    align-items: center;
  }
  .lang-switch--mobile .lang-switch__btn {
    min-width: 2.6rem;
    min-height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .burger {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    flex-shrink: 0;
  }

  /* Fullscreen nav */
  body.nav-open .nav,
  .nav--open,
  .nav.nav--open {
    padding: calc(var(--header-height) + 1.25rem) var(--mobile-gutter)
      calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }
  body.nav-open .nav a,
  .nav--open .nav__link,
  .nav.nav--open .nav__link {
    min-height: 52px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
  }

  /* ----- Sticky dock ----- */
  .sticky-cta {
    padding: 0.4rem 0.55rem;
    padding-bottom: calc(0.4rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--color-border-light);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.06);
  }
  .sticky-cta__dock,
  .sticky-cta__dock--compact {
    max-width: 100%;
    gap: 0;
    border: 1px solid var(--color-border);
    overflow: hidden;
  }
  .sticky-cta__dock-item {
    min-height: 56px;
    gap: 0.15rem;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    background: #f6f6f6;
    border-right: 1px solid var(--color-border);
    color: var(--color-graphite);
  }
  .sticky-cta__dock-item:last-child {
    border-right: 0;
  }
  .sticky-cta__dock-item--primary {
    background: var(--color-graphite) !important;
    color: #fff !important;
    border-right: 0;
  }
  .sticky-cta__dock-item svg {
    width: 18px;
    height: 18px;
  }

  /* ----- Typography / sections ----- */
  .page-hero {
    padding: calc(var(--header-height) + 1.1rem) 0 1.15rem !important;
    text-align: left !important;
  }
  .page-hero .section-title {
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
    margin-bottom: 0.45rem !important;
  }
  .page-hero__text {
    margin-left: 0 !important;
    max-width: none !important;
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    display: block !important;
  }
  body[data-page="kontakt"] .page-hero__text,
  body[data-page="rezervace"] .page-hero__text,
  body[data-page="booking"] .page-hero__text {
    /* keep intentional hide from older mobile pass if present */
  }
  .page-content {
    padding: 1.25rem 0 2rem !important;
  }
  .section-lead,
  .hero__text {
    font-size: 0.94rem;
    line-height: 1.55;
  }
  .onepage-section,
  .values,
  .services,
  .pricing,
  .about,
  .faq-section,
  .testimonials,
  .reviews-showcase {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  /* ----- Hero ----- */
  .hero__grid {
    gap: 1.15rem;
    padding: 1.15rem 0 1.5rem;
  }
  .hero__title {
    font-size: clamp(2.1rem, 9.5vw, 2.85rem);
    line-height: 1.08;
    margin-bottom: 0.65rem;
  }
  .hero__text {
    margin-bottom: 1.15rem;
  }
  .hero__image img,
  .hero__frame img {
    max-height: min(52vh, 420px);
  }
  .hero__actions .btn {
    width: 100%;
    min-height: 52px;
  }

  /* ----- Cards / grids ----- */
  .services__grid {
    gap: 0.5rem !important;
  }
  .gallery-grid,
  .blog-grid,
  .reviews-grid {
    gap: 0.65rem;
  }
  .blog-card,
  .review-card,
  .service-card {
    min-width: 0;
  }
  .blog-card__title,
  .service-card__title {
    overflow-wrap: anywhere;
  }

  /* ----- Forms (all) ----- */
  form.form .form__row,
  form.form .form__row--2 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  form.form .form__input,
  form.form .form__select,
  form.form .form__textarea {
    width: 100%;
    max-width: 100%;
    min-height: 52px;
    font-size: 16px !important;
    line-height: 1.35;
    padding: 0.9rem 0.95rem;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    border-radius: 0;
  }
  form.form .form__textarea {
    min-height: 130px;
    resize: vertical;
  }
  form.form .form__select {
    background-image:
      linear-gradient(45deg, transparent 50%, #111 50%),
      linear-gradient(135deg, #111 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.4rem;
  }
  form.form .form__group {
    margin-bottom: 1rem;
    min-width: 0;
    scroll-margin-top: calc(var(--header-height) + 16px);
  }
  form.form .form__consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.86rem;
    line-height: 1.45;
  }
  form.form .form__consent-label input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.12rem;
    flex-shrink: 0;
  }
  form.form button[type="submit"],
  form.form .btn[type="submit"],
  form.form button.btn {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 52px;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  /* ----- Contact aside ----- */
  .contact-info {
    padding: 1.2rem 1.05rem !important;
  }
  .contact-info__item {
    margin-bottom: 1.15rem;
  }
  .contact-info__item a {
    word-break: break-word;
  }
  .contact-info > a.btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    margin-top: 0.5rem;
    margin-bottom: 0.35rem;
  }

  /* Bring back footer booking CTA as clean full-width block (no clipping) */
  .footer__booking {
    display: block !important;
    overflow: visible !important;
    padding: 1.25rem 1.1rem !important;
    margin-top: 0.35rem;
  }
  .footer__booking-title {
    font-size: 1.25rem !important;
    margin-bottom: 0.45rem !important;
  }
  .footer__booking-text {
    font-size: 0.9rem !important;
    margin-bottom: 0.95rem !important;
  }
  .footer__list--links {
    display: grid !important;
    gap: 0.15rem;
  }
  .footer__col:has(.footer__list--links) .footer__heading {
    display: block !important;
  }

  /* ----- Footer ----- */
  .footer {
    padding-bottom: 0.5rem;
  }
  .footer__grid {
    gap: 1.5rem;
    padding-bottom: 1.25rem;
  }
  .footer__heading {
    margin-bottom: 0.85rem;
  }
  .footer__list a,
  .footer__social a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 44px;
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
    color: var(--color-text);
  }
  .footer__list a svg,
  .footer__social a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  /* text-only social links align with icon+label rows */
  .footer__social a {
    padding-left: 0;
  }
  .footer__address {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--color-text);
  }
  .footer__booking {
    padding: 1.15rem 1.05rem;
  }
  .footer__booking .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  .footer__bottom {
    padding-bottom: 0.85rem;
    margin-bottom: 0.25rem;
  }
  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-block: 1.1rem 1.35rem;
  }
  .footer__bottom-inner > p {
    margin: 0;
    line-height: 1.45;
  }
  .footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    width: 100%;
  }
  .footer__legal a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
  }

  /* ----- Gallery filters ----- */
  .gallery-filter {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.4rem;
    margin-bottom: 0.75rem;
  }
  .gallery-filter__btn {
    flex: 0 0 auto;
    min-height: 42px;
  }

  /* ----- Reviews trust strip ----- */
  .reviews-showcase__trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .reviews-showcase__stat {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--color-border-light);
  }
  .reviews-showcase__stat:last-child {
    border-bottom: 0;
  }
  .reviews-showcase__featured-inner {
    padding: 1.25rem 1.05rem;
  }

  /* ----- FAQ ----- */
  .faq-item__q {
    min-height: 52px;
    align-items: center;
  }

  /* ----- Buttons general ----- */
  .btn {
    white-space: normal;
    line-height: 1.25;
  }

  /* Scroll progress: full bleed, no visual glitch */
  .scroll-progress {
    left: 0;
    right: 0;
    width: 0;
    max-width: 100%;
    height: 2px;
  }
}

/* Very small phones */
@media (max-width: 360px) {
  :root {
    --mobile-gutter: max(0.95rem, env(safe-area-inset-left, 0px));
    --mobile-gutter-r: max(0.95rem, env(safe-area-inset-right, 0px));
  }
  .header__wordmark {
    max-width: 9.5rem;
  }
  .hero__title {
    font-size: clamp(1.85rem, 9vw, 2.3rem);
  }
  .sticky-cta__dock-item {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
  }
}

/* Cookie + sticky clearance (must win over earlier body padding) */
@media (max-width: 1023px) {
  .cookie-banner {
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  }
  .cookie-banner__text {
    flex: 0 1 auto !important;
    font-size: 0.78rem;
    line-height: 1.4;
  }
  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    width: 100%;
    flex: 0 0 auto;
  }
  .cookie-banner .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  body:has(.cookie-banner):not([data-page="booking"]):not([data-page="rezervace"]),
  body.has-cookie-banner:not([data-page="booking"]):not([data-page="rezervace"]) {
    padding-bottom: calc(
      var(--sticky-dock-h, 72px) + var(--cookie-banner-h, 120px) + 24px +
        env(safe-area-inset-bottom, 0px)
    ) !important;
  }

  body:has(.cookie-banner) .sticky-cta,
  body.has-cookie-banner .sticky-cta {
    bottom: var(--cookie-banner-h, 120px);
  }
}

/* ============================================
   Gallery by category — před / hojení / zahojeno
   ============================================ */
.gallery-categories {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.gallery-filter--cats {
  margin-bottom: 2rem;
  gap: 0.45rem;
}

.gallery-cats {
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 5vw, 3.75rem);
}

.gallery-cat[hidden] {
  display: none !important;
}

.gallery-cat__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--color-border-light, #ececec);
}

.gallery-cat__title {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-graphite, #1a1a1a);
  margin: 0 0 0.35rem;
}

.gallery-cat__text {
  margin: 0;
  max-width: 38rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-muted, #6b6b6b);
}

.gallery-sets {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.gallery-set {
  margin: 0;
}

.gallery-set__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.gallery-phase {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  cursor: zoom-in;
}

.gallery-phase__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #f4f4f5 0%, #ebe9e6 100%);
  border: 1px solid var(--color-border-light, #ececec);
}

.gallery-phase__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.gallery-phase__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-phase:hover .gallery-phase__frame img,
.gallery-phase:focus-within .gallery-phase__frame img {
  transform: scale(1.035);
}

.gallery-phase__cap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding-inline: 0.1rem;
}

.gallery-phase__tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-graphite, #1a1a1a);
}

.gallery-phase__tag::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
}

.gallery-phase[data-category="Hojení"] .gallery-phase__tag::before {
  opacity: 0.65;
}

.gallery-phase[data-category="Zahojeno"] .gallery-phase__tag::before {
  opacity: 1;
  background: var(--color-graphite, #1a1a1a);
}

.gallery-phase__note {
  font-size: 0.78rem;
  color: var(--color-text-muted, #6b6b6b);
}

.gallery-empty {
  text-align: center;
  color: var(--color-text-muted, #6b6b6b);
  padding: 2rem 1rem;
}

@media (max-width: 767px) {
  .gallery-cat__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-set__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .gallery-phase__frame {
    aspect-ratio: 3 / 4;
  }

  .gallery-phase__tag {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .gallery-phase__tag::before {
    width: 0.35rem;
    height: 0.35rem;
    margin-right: 0.3rem;
  }
}

@media (max-width: 420px) {
  .gallery-set__grid {
    gap: 0.3rem;
  }

  .gallery-phase__cap {
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-phase__frame img {
    transition: none;
  }
}
