/* ==========================================================================
   WOKULSKI OPTYK — Main Stylesheet
   Teal & Cormorant Garamond brand system.
   ========================================================================== */
:root {
  /* ─── Brand: teal (single hue dominates) ─── */
  --teal: #2a9d9a; /* primary — UNCHANGED */
  --teal-deep: #134e4c; /* deeper for stronger contrast on dark sections */
  --teal-soft: #d8ecea; /* gentle accent surface */
  /* Teal tier — full pale-to-deep scale (page + sections all live here) */
  --teal-mist: #ecf3f2; /* lightest — between page & teal-soft */
  --teal-mist-2: #f1f6f5;
  --teal-pale: #c5dedb; /* mid-tinted section bg */
  --teal-pale-2: #d8e8e6;
  --teal-pale-3: #9bccc9; /* mid teal accent */
  /* ─── Sand tier (warm break — used SPARINGLY) ─── */
  --cream: #f0e8d4; /* sand — only for deliberate warm-section break */
  --cream-2: #e3d6b9; /* deeper sand */
  --cream-mist: #f7f1e2;
  --cream-warm: #ede5cd;
  --cream-warm-2: #e7dcc0;
  --cream-deep: #dfd2b5;
  --cream-tan: #e9dfc6;
  /* ─── Brass + Stone — kept as tokens, not used on homepage ─── */
  --brass: #b88a3e;
  --brass-soft: #d8b572;
  --stone: #9a8e78;
  --stone-soft: #cdc4b1;
  /* ─── Neutrals & ink ─── */
  --ink: #1f2a2e;
  --ink-2: #3b4a4f;
  --muted: #7d8a8e;
  --line: #cfd8d4; /* cool hairline — sits with teal family */
  --paper: #eef3f0; /* PAGE FOUNDATION — pale mint-grey, teal family */
  --paper-fine: #f5f8f6; /* card surfaces on mint */
  --paper-pure: #f7f7f7; /* deliberate accent surface */
  --color-primary: var(--teal);
  --color-primary-light: var(--teal-deep);
  --color-accent: var(--teal);
  --color-accent-hover: var(--teal-deep);
  --color-accent-light: var(--teal-soft);
  --color-text: var(--ink);
  --color-text-light: var(--ink-2);
  --color-text-muted: var(--muted);
  --color-border: var(--line);
  --color-border-light: var(--cream-2);
  --color-bg: var(--paper);
  --color-bg-warm: var(--cream);
  --color-bg-dark: var(--ink);
  --color-bg-darker: #141a1d;
  --color-success: #27ae60;
  --color-success-bg: #eafaf1;
  --color-error: #c0392b;
  --color-error-bg: #fdecea;
  --font-body: 'Manrope', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --max-width: 1200px;
  --max-width-sm: 720px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 2px 12px rgba(20, 40, 40, 0.06);
  --shadow-lg: 0 16px 40px -12px rgba(20, 40, 40, 0.18);
  --transition: 0.25s ease;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  counter-reset: section-marker;
  overflow-x: clip; /* contains decorative overflow without breaking sticky/parallax */
}

html {
  overflow-x: clip;
}

/* Subtle grain — fixed overlay, neutral tone, multiplies onto every surface. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.6' numOctaves='1' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.50  0 0 0 0 0.50  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.055;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

.serif {
  font-family: var(--font-heading);
}

/* ==========================================================================
   SEAM — artistic chapter break between sections
   Centered hairline that fades at both ends with a small lens-cross glyph in the middle.
   Lives between sections; bg-transparent so it adopts whichever side it sits on.
   ========================================================================== */
/* Seam takes 0 document height so neighbouring sections touch directly —
   no body-bg stripe leaking between two same-toned sections. The glyph
   and hairlines render absolutely, straddling the section boundary. */
/* Subpage page-hero ends with a 120-140px paper-feather; pull the seam up so the
   glyph lands in the middle of the visual color transition, not at the box edge. */
.page-hero + .seam {
  margin-top: -10px;
}

@media (max-width: 880px) {
  .page-hero + .seam {
    margin-top: 0;
  }
}
.seam {
  position: relative;
  height: 0;
  z-index: 5;
  pointer-events: none;
  color: var(--teal-deep);
}

.seam::before, .seam::after {
  content: "";
  position: absolute;
  top: 0;
  width: 140px;
  max-width: 22vw;
  height: 1px;
  opacity: 0.9;
}

.seam::before {
  right: calc(50% + 38px);
  background: linear-gradient(90deg, transparent 0%, currentColor 100%);
  opacity: 0.25;
}

.seam::after {
  left: calc(50% + 38px);
  background: linear-gradient(90deg, currentColor 0%, transparent 100%);
  opacity: 0.25;
}

.seam__glyph {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  pointer-events: auto;
  transition: transform 0.4s ease, color 0.25s ease;
}

.seam__glyph svg {
  display: block;
}

.seam:hover .seam__glyph {
  transform: translate(-50%, -50%) scale(1.06);
  color: var(--teal);
}

/* Variant — drops onto a dark section. Use light hairline + light glyph. */
.seam--on-dark {
  color: var(--teal-pale-3);
}

.seam--on-dark::before {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.25) 100%);
}

.seam--on-dark::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
}

/* ==========================================================================
   EDITORIAL UTILITIES
   ========================================================================== */
/* Auto-numbered section marker — typeset above section <h2>. */
.section-marker {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 18px;
  counter-increment: section-marker;
}

.section-marker::before {
  content: counter(section-marker, decimal-leading-zero) "  /  ";
  color: var(--teal);
  font-weight: 700;
  margin-right: 4px;
}

/* Variant — manual override (e.g. when counter shouldn't fire) */
.section-marker--plain {
  counter-increment: none;
}

.section-marker--plain::before {
  content: "";
  margin: 0;
}

/* Drop cap — first letter of a paragraph styled as editorial drop.
   Tuned to blend with the body text rather than pop: same ink color as the
   paragraph, smaller scale, italic for an editorial feel, slightly tighter
   leading so it doesn't dominate the visual hierarchy. */
.drop-cap::first-letter {
  float: left;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 3.2em;
  line-height: 0.88;
  /* margin-top slightly negative pulls the W up so its mid-x-height aligns
     with the body line — feels centered against the first line rather
     than sitting on its baseline. Text reflows around the shifted box. */
  margin: -0.24em 0.08em -0.05em 0;
  color: var(--ink);
  font-weight: 500;
}

/* Page content above the grain overlay (which sits at z-index:1). */
main, header, .nav-wrap, footer, .strip, .features, .mobile-menu, .devcp {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.container--sm {
  max-width: var(--max-width-sm);
}

.text-center {
  text-align: center;
}

.flex {
  display: flex;
}

.gap-md {
  gap: var(--space-md);
}

.flex-wrap {
  flex-wrap: wrap;
}

/* ==========================================================================
   NAV / HEADER
   ========================================================================== */
.nav-wrap {
  position: relative;
  z-index: 30;
  background: var(--paper-pure);
  border-bottom: 1px solid rgba(20, 40, 40, 0.035);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  flex-shrink: 0;
  min-width: 0;
}

.logo img {
  height: 54px;
  width: auto;
  max-width: 100%;
  display: block;
  /* Replaced-element + flex parent will squeeze width while keeping height
     fixed. flex-shrink: 0 + object-fit: contain preserves aspect. */
  flex-shrink: 0;
  object-fit: contain;
}

/* On narrow screens, scale the logo down so it still fits next to the
   menu button without overflowing. height alone keeps the aspect ratio. */
@media (max-width: 640px) {
  .logo img {
    height: 48px;
  }
  /* Hide the header booking CTA on phone — the mobile drawer still has it
     at the bottom of the menu, so the button is reachable in one tap. */
  .nav-right .btn {
    display: none;
  }
}
@media (max-width: 380px) {
  .logo img {
    height: 42px;
  }
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-links a.active {
  color: var(--teal);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--teal);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-right .btn {
  padding: 11px 18px;
  font-size: 13px;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  align-items: center;
  justify-content: center;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: #fff;
  position: relative;
}

.menu-btn span::before, .menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.6px;
  background: #fff;
}

.menu-btn span::before {
  top: -6px;
}

.menu-btn span::after {
  top: 6px;
}

.lang-switch {
  display: flex;
  gap: 8px;
  margin-left: 12px;
  align-items: center;
  font-size: 12px;
}

.lang-switch a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.lang-switch a.active {
  background: var(--teal-soft);
  color: var(--teal);
}

/* mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(20, 40, 40, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu .panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 86vw);
  background: var(--paper-pure);
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -12px 0 40px rgba(20, 40, 40, 0.18);
  overflow-y: auto;
}

.mobile-menu.open .panel {
  transform: translateX(0);
}

.mobile-menu .close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.mobile-menu .close svg {
  width: 16px;
  height: 16px;
}

.mobile-menu a:not(.btn) {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

.mobile-menu a.active {
  color: var(--teal);
}

.mobile-menu .btn {
  margin-top: 18px;
  justify-content: center;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary, .btn--primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover, .btn--primary:hover {
  background: var(--teal-deep);
  color: #fff;
}

.btn-outline, .btn--outline {
  border: 1.5px solid var(--teal);
  color: var(--teal);
  background: transparent;
}

.btn-outline:hover, .btn--outline:hover {
  background: var(--teal-soft);
}

.btn .arr {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline .arr, .btn--outline .arr {
  background: var(--teal-soft);
}

.btn .arr svg {
  width: 11px;
  height: 11px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 13.5px;
  border-bottom: 1.5px solid var(--teal);
  padding: 6px 2px;
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  color: var(--teal);
}

/* ==========================================================================
   HERO (homepage carousel)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 30px 0 130px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg .wave {
  position: absolute;
  left: -10%;
  top: 10%;
  width: 55%;
  height: 75%;
  background: linear-gradient(135deg, var(--teal-pale) 0%, var(--teal-mist) 60%, transparent 100%);
  border-radius: 60% 40% 55% 45%/60% 50% 50% 40%;
  filter: blur(2px);
  opacity: 0.9;
}

.hero-bg .wave-lines {
  position: absolute;
  left: -5%;
  top: 30%;
  width: 50%;
  height: 55%;
  background: repeating-linear-gradient(120deg, transparent 0 14px, rgba(42, 157, 154, 0.06) 14px 15px);
  border-radius: 50% 50% 60% 40%/60% 50% 50% 40%;
  -webkit-mask: radial-gradient(ellipse at 30% 50%, #000 30%, transparent 75%);
  mask: radial-gradient(ellipse at 30% 50%, #000 30%, transparent 75%);
}

.hero-bg .arc {
  position: absolute;
  right: -8%;
  top: -6%;
  width: 62%;
  height: 90%;
  background: linear-gradient(180deg, var(--teal-pale-2) 0%, var(--cream-mist) 100%);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: 500px;
}

.eyebrow, .label {
  color: var(--teal);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  counter-increment: section-marker;
}

.label::before {
  content: counter(section-marker, decimal-leading-zero);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0;
  color: var(--teal-deep);
  line-height: 1;
}

.label::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--teal);
  display: inline-block;
}

.hero-copy .eyebrow {
  margin-bottom: 26px;
}

.hero-copy h1 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  color: var(--ink);
}

.hero-copy p.lede {
  color: var(--ink-2);
  font-size: 15px;
  max-width: 430px;
  margin: 0 0 34px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

/* slider mechanics */
.slides {
  position: relative;
  min-height: 330px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}

.hero-visual {
  position: relative;
  height: 560px;
}

.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: 300px 300px 24px 24px/320px 320px 24px 24px;
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 35%, #e8d6c4 0%, #d8bfa8 30%, #b89a85 60%, #8a7363 100%);
}

.hero-stage {
  position: absolute;
  inset: 0;
}

.slide-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  border-radius: inherit;
  overflow: hidden;
}

.slide-img.active {
  opacity: 1;
}

.slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-arrow {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(20, 40, 40, 0.12);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.slider-arrow:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

.slider-arrow svg {
  width: 18px;
  height: 18px;
}

.slider-arrow.prev {
  left: 14px;
}

.slider-arrow.next {
  right: 14px;
}

.dots {
  position: absolute;
  right: -22px;
  top: 48%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 6;
}

.dots .d {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfd6d4;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dots .d.on {
  background: var(--teal);
  width: 10px;
  height: 10px;
}

.dots .d:hover {
  background: var(--teal);
}

.video-pill {
  position: absolute;
  right: -14px;
  bottom: 90px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(20, 40, 40, 0.12);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.3;
}

.video-pill .play {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.video-pill .play::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 9px solid var(--ink);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-left: 3px;
}

/* placeholder slide images */
.ph-glasses {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e9e2d4 0%, #cfc3a8 100%);
}

.ph-glasses::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 62%;
  height: 22%;
  background: radial-gradient(circle at 25% 50%, transparent 38%, #2a2620 39%, #2a2620 41%, transparent 42%), radial-gradient(circle at 75% 50%, transparent 38%, #2a2620 39%, #2a2620 41%, transparent 42%);
}

.ph-lenses {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal-pale-3) 0%, #9bc2c0 100%);
}

.ph-lenses::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  height: 45%;
  background: radial-gradient(circle at 30% 60%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 30%, transparent 50%), radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 30%, transparent 50%);
}

.ph-promo {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2a9d9a 0%, #1f807e 100%);
}

.ph-promo::before {
  content: "-30%";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 88px;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.02em;
}

.ph-salon {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--cream-tan) 0%, #d8c9b2 100%);
}

.ph-salon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  width: 34%;
  height: 62%;
  background: linear-gradient(180deg, var(--cream-warm), #d9c8b0);
  border-radius: 50% 50% 0 0/65% 65% 0 0;
}

.ph-salon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18%;
  background: linear-gradient(180deg, #d6c9b7, #b8a78f);
}

.ph-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 8px;
  border-radius: 4px;
}

/* Tablet — keep the 2-col layout (image right of text) but shrink things
   so the narrow columns don't feel crowded. */
@media (max-width: 1024px) {
  .hero {
    padding: 28px 0 90px;
  }
  .hero-grid {
    gap: 28px;
    min-height: 0;
  }
  .hero-copy h1 {
    font-size: 48px;
  }
  .hero-copy p.lede {
    max-width: none;
  }
  .hero-visual {
    height: auto;
    aspect-ratio: 5/6;
    max-height: 560px;
    min-height: 380px;
  }
  .hero-photo {
    border-radius: 200px 200px 22px 22px/220px 220px 22px 22px;
  }
  .slider-arrow {
    width: 38px;
    height: 38px;
  }
  .slider-arrow.prev {
    left: 10px;
  }
  .slider-arrow.next {
    right: 10px;
  }
  .dots {
    right: -14px;
  }
  .hero-bg .wave-lines {
    opacity: 0.55;
  }
}
/* Mobile — now stack to single column and re-flow the carousel controls. */
@media (max-width: 640px) {
  .hero {
    padding: 20px 0 56px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-bg .wave-lines {
    display: none;
  }
  .hero-copy h1 {
    font-size: 42px;
  }
  .hero-cta {
    gap: 14px;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-cta .link-arrow {
    align-self: center;
  }
  .slides {
    min-height: 0;
  }
  .slide {
    transform: none;
  }
  .hero-visual {
    aspect-ratio: 4/5;
    max-height: 480px;
    max-width: 420px;
    margin: 0 auto;
  }
  .hero-photo {
    border-radius: 130px 130px 18px 18px/150px 150px 18px 18px;
  }
  .slider-arrow {
    width: 34px;
    height: 34px;
  }
  .slider-arrow.prev {
    left: 8px;
  }
  .slider-arrow.next {
    right: 8px;
  }
  .dots {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
  }
  .dots .d {
    width: 8px;
    height: 8px;
  }
  .dots .d.on {
    width: 22px;
    border-radius: 999px;
  }
}
/* ==========================================================================
   FEATURES STRIP (homepage)
   ========================================================================== */
.features {
  position: relative;
  z-index: 5;
  background: var(--paper-pure);
  border-radius: 18px;
  box-shadow: 0 24px 60px -22px rgba(20, 40, 40, 0.16), 0 1px 0 rgba(20, 40, 40, 0.04);
  padding: 24px 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: -150px;
}

.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 6px 16px;
  border-right: 1px solid var(--line);
  min-height: 76px;
}

.feature .txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 1;
  min-width: 0;
}

.feature:last-child {
  border-right: none;
}

.feature .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature .icon svg {
  width: 24px;
  height: 24px;
}

.feature h4 {
  margin: 3px 0 4px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  min-height: 1.25em;
}

.feature p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  /* Reserve room for two lines so cards visually align even when one
     phrase wraps to a third line; the text-wrap: balance softens long lines. */
  min-height: 3em;
  text-wrap: balance;
}

/* Mobile/tablet — collapse 4-col to 2x2; the inline grid-template-columns
   from the template would otherwise force four narrow columns on a phone. */
@media (max-width: 880px) {
  .features {
    grid-template-columns: repeat(2, 1fr) !important;
    margin-top: -90px;
    padding: 20px 12px;
    gap: 8px 0;
  }
  .feature {
    padding: 12px;
    min-height: 0;
  }
  .feature:nth-child(2n) {
    border-right: none;
  }
  .feature:nth-last-child(-n+2) {
    padding-bottom: 6px;
  }
  .feature p {
    min-height: 0;
  }
}
@media (max-width: 480px) {
  .features {
    grid-template-columns: 1fr !important;
    margin-top: -60px;
  }
  .feature {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .feature:last-child {
    border-bottom: none;
  }
}
/* ==========================================================================
   ABOUT / GENERIC SECTIONS
   ========================================================================== */
.about {
  padding: 90px 0 80px;
  position: relative;
  isolation: isolate;
  overflow: visible;
  /* Top fades from paper-pure (the floating .features card area) into teal-mist;
     bottom stays solid teal-mist so it blends directly into .services (which
     starts at teal-mist). No paper layer at the about → services seam. */
  background: radial-gradient(circle 50% at 100% 0%, var(--teal-mist) 0%, transparent 55%), radial-gradient(circle 55% at 0% 100%, var(--teal-soft) 0%, transparent 50%), linear-gradient(180deg, var(--paper) 0%, var(--teal-mist) 80px, var(--teal-mist) 100%);
}

.about:has(.about-grid--flip) {
  background: radial-gradient(circle 50% at 0% 0%, var(--teal-mist) 0%, transparent 55%), radial-gradient(circle 55% at 100% 100%, var(--teal-soft) 0%, transparent 50%), var(--paper);
}

.about > .container {
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 80px;
  align-items: center;
}

.about-grid--flip {
  grid-template-columns: 1.35fr 1fr;
}

.about-grid--flip .about-text {
  order: 1;
  padding-right: 0;
  padding-left: 8px;
}

.about-grid--flip .about-photo {
  order: 0;
}

.about-text {
  padding-right: 8px;
}

.about h2,
.about-text h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  color: var(--ink);
}

.about p,
.about-text p {
  color: var(--ink-2);
  max-width: 340px;
  margin: 0 0 30px;
  line-height: 1.7;
  font-size: 14px;
}

.about-text .label,
.about-text > .section__label {
  color: var(--teal);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.about-text > .section__label::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--teal);
  display: inline-block;
}

.about-photo {
  position: relative;
  height: 480px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream-tan) 0%, #e6dfd4 100%);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo .interior {
  position: absolute;
  inset: 0;
}

.about-photo .floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18%;
  background: linear-gradient(180deg, #d6c9b7, #b8a78f);
}

.about-photo .arch {
  position: absolute;
  left: 50%;
  top: 14%;
  transform: translateX(-50%);
  width: 34%;
  height: 62%;
  background: linear-gradient(180deg, var(--cream-warm) 0%, #d9c8b0 100%);
  border-radius: 50% 50% 0 0/65% 65% 0 0;
  box-shadow: inset 0 -20px 40px rgba(120, 90, 50, 0.15);
}

.about-photo .shelf-l, .about-photo .shelf-r {
  position: absolute;
  top: 15%;
  width: 24%;
  height: 65%;
  background: repeating-linear-gradient(0deg, transparent 0 24px, rgba(120, 90, 50, 0.18) 24px 25px), linear-gradient(180deg, #ece2d2, #d6c8b0);
  border-radius: 6px;
}

.about-photo .shelf-l {
  left: 6%;
}

.about-photo .shelf-r {
  right: 6%;
}

.about-photo .desk {
  position: absolute;
  left: 34%;
  right: 34%;
  bottom: 18%;
  height: 18%;
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream-deep) 100%);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(60, 40, 20, 0.1);
}

.about-photo .lamp {
  position: absolute;
  right: 32%;
  top: 30%;
  width: 6%;
  height: 30%;
}

.about-photo .lamp::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8d8 0%, #f0d8a0 70%);
  box-shadow: 0 0 30px rgba(255, 220, 140, 0.5);
}

.about-photo .plant2 {
  position: absolute;
  left: 18%;
  bottom: 18%;
  width: 12%;
  height: 30%;
  background: radial-gradient(ellipse at 50% 80%, #5e7c5a 0%, #3f5b3c 60%, transparent 80%);
}

.about-photo .brand-mark-img {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translateX(-50%);
  width: 38%;
  height: auto;
}

/* Consecutive .about sections (e.g. Story + Mission on /o-firmie) would
   otherwise stack 80px + 90px = 170px of dead vertical space between them.
   Tighten when two .about sections are adjacent — directly or through a seam. */
.about:has(+ .seam + .about),
.about:has(+ .about) {
  padding-bottom: 32px;
}

.about + .seam + .about,
.about + .about {
  padding-top: 32px;
}

/* Mobile/tablet — the about-grid stacks at ≤1024px in _responsive.scss.
   Once stacked, the eyebrow + h2 + paragraphs read better centered. */
@media (max-width: 1024px) {
  /* Once stacked, lead every photo/text block with the PHOTO on top — both the
     normal and the --flip variant — so the page alternates photo→text→photo→text
     instead of burying images below paragraphs (and the two photos no longer
     collide back-to-back between consecutive sections). */
  .about-photo,
  .about-grid--flip .about-photo {
    order: -1;
  }
  .about-text,
  .about-grid--flip .about-text {
    order: 0;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
  }
  .about-text p,
  .about p {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  .about-photo {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
  /* shorter image panels read better stacked on phones */
  .about-photo {
    height: 300px;
  }
}
/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
  background: linear-gradient(180deg, var(--teal-mist) 0%, var(--paper) 35%, var(--paper) 60%, #f3eddf 100%);
  padding: 60px 0 24px;
}

.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 38px;
  gap: 20px;
  flex-wrap: wrap;
}

.services-head h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 6px 0 0;
  color: var(--ink);
}

.see-all {
  color: var(--teal);
  font-weight: 600;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.see-all svg {
  width: 14px;
  height: 14px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service {
  background: var(--paper-pure);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -12px rgba(20, 40, 40, 0.18);
}

.service .img {
  position: relative;
  aspect-ratio: 1.55/1;
  overflow: hidden;
}

.service .img .bg {
  position: absolute;
  inset: 0;
}

.service .ic {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service .ic svg {
  width: 18px;
  height: 18px;
}

.service .body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service h4 {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.service p {
  margin: 0 0 14px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  min-height: 34px;
}

.service .go {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  margin-top: auto; /* button sits bottom-right of the card */
}

.service .go svg {
  width: 13px;
  height: 13px;
}

.img-eyewear {
  background: linear-gradient(135deg, #e9e4d8 0%, #d6cdb8 100%);
}

.img-eyewear::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 30%;
  background: radial-gradient(circle at 25% 50%, transparent 38%, #2a2620 39%, #2a2620 41%, transparent 42%), radial-gradient(circle at 75% 50%, transparent 38%, #2a2620 39%, #2a2620 41%, transparent 42%);
}

.img-lenses {
  background: linear-gradient(135deg, var(--teal-pale-3) 0%, #b8d3d1 100%);
}

.img-lenses::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 50%;
  background: radial-gradient(circle at 30% 60%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 30%, transparent 50%), radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 30%, transparent 50%);
}

.img-exam {
  background: linear-gradient(135deg, #2c3a3e 0%, #4a5d62 100%);
}

.img-exam::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 55%;
  aspect-ratio: 1.6/1;
  background: radial-gradient(circle at 30% 50%, #1a2326 0%, #1a2326 28%, transparent 30%), radial-gradient(circle at 70% 50%, #1a2326 0%, #1a2326 28%, transparent 30%), linear-gradient(180deg, #6b7d83 0%, #455257 100%);
  border-radius: 8px;
}

.img-sun {
  background: linear-gradient(135deg, #e8dfd0 0%, #c4b69e 100%);
}

.img-sun::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 30%;
  background: radial-gradient(circle at 25% 50%, transparent 38%, #1a1612 39%, #1a1612 41%, rgba(120, 90, 60, 0.6) 42%, rgba(120, 90, 60, 0.6) 78%, transparent 80%), radial-gradient(circle at 75% 50%, transparent 38%, #1a1612 39%, #1a1612 41%, rgba(120, 90, 60, 0.6) 42%, rgba(120, 90, 60, 0.6) 78%, transparent 80%);
}

/* Tablet / mobile — defeat the inline grid-template-columns from the template
   so cards wrap instead of crushing into one tight row. */
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: 1fr !important;
  }
}
/* ==========================================================================
   OFFER PAGE (/nasza-oferta)
   Calm, unified paper flow with a single warm accent band ("Jak wygląda
   badanie"). Scoped to .offer-page so the shared .services / .about classes
   keep their homepage gradients elsewhere.
   ========================================================================== */
.offer-page {
  /* page-lede + product grid + editorial panels share one calm paper ground,
     so section boundaries blend instead of banding between cream/mint/paper */
}
.offer-page .section.page-lede {
  background: var(--paper);
}
.offer-page .services {
  background: var(--paper);
  padding: 66px 0 58px;
}
.offer-page {
  /* editorial photo panels — feathered teal-mist, paper at both edges, exactly
     the homepage's vertical-gradient section language (cf. .section--cool /
     .section--warm). Paper top & bottom means every seam meets on paper. */
}
.offer-page .about {
  background: linear-gradient(180deg, var(--paper) 0%, var(--teal-mist) 110px, var(--teal-mist) calc(100% - 110px), var(--paper) 100%);
  padding: 104px 0 92px;
}
.offer-page {
  /* one consistent heading scale for every section on the page */
}
.offer-page .services-head h2,
.offer-page .about-text h2,
.offer-page .section__header h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.offer-page .services-head {
  margin-bottom: 32px;
}
.offer-page {
  /* exam-process steps — icon + faint step number watermark */
}
.offer-page .step-card .card__body {
  position: relative;
}
.offer-page .step-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  margin-bottom: 18px;
}
.offer-page .step-card__icon svg {
  width: 26px;
  height: 26px;
}
.offer-page .step-card__num {
  position: absolute;
  top: 2px;
  right: 4px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 30px;
  line-height: 1;
  color: var(--teal-pale-3);
}
.offer-page {
  /* technologies feature list — stays left-aligned & tidy even when the
     column centres on mobile */
}
.offer-page .tech-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.offer-page .tech-list__item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.offer-page .tech-list__ic {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.offer-page .tech-list__ic svg {
  width: 14px;
  height: 14px;
}
.offer-page .tech-list__text strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 3px;
}
.offer-page .tech-list__text span {
  display: block;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* mobile: the .about column centres — keep the tech list as a tidy
   left-aligned block centred within the column */
@media (max-width: 1024px) {
  .offer-page .tech-list {
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }
  .offer-page .step-card__num {
    font-size: 26px;
  }
}
/* ==========================================================================
   OFFER TABS — interactive offer catalogue (Co oferujemy). A row of category
   tabs + a left-right photo/text panel per offer (same photo language as the
   editorial .about panels).
   ========================================================================== */
.offer-catalog .section__header {
  text-align: center;
}

.offer-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}

.offer-tabs__tab {
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-fine);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.offer-tabs__tab:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.offer-tabs__tab.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.offer-tabs__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  animation: offer-fade 0.4s ease;
}

.offer-tabs__panel[hidden] {
  display: none;
}

.offer-tabs__media {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1.3/1;
  box-shadow: 0 18px 44px -20px rgba(20, 40, 40, 0.3);
  order: 2; /* photo on the right — alternates with the equipment block above */
}

.offer-tabs__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-tabs__body h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 16px;
}

.offer-tabs__body p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 26px;
  max-width: 46ch;
}

@keyframes offer-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 880px) {
  .offer-tabs__panel {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .offer-tabs__media {
    order: -1;
    aspect-ratio: 1.6/1;
    max-width: 560px;
    margin: 0 auto;
  }
  .offer-tabs__body {
    text-align: center;
  }
  .offer-tabs__body p {
    margin-left: auto;
    margin-right: auto;
  }
  .offer-tabs__tab {
    padding: 9px 16px;
    font-size: 12.5px;
  }
}
/* Offer-tabs slider controls — arrows + dots in one centered row UNDER the panel
   (kept out of the panel so they never overlap the photo/text). */
.offer-tabs__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 32px;
}

.offer-tabs__arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(20, 40, 40, 0.28);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.offer-tabs__arrow:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.offer-tabs__arrow svg {
  width: 18px;
  height: 18px;
}

.offer-tabs__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
}

.offer-tabs__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: var(--line);
  transition: background 0.2s ease, width 0.2s ease;
}

.offer-tabs__dot:hover {
  background: var(--teal-pale-3);
}

.offer-tabs__dot.is-active {
  background: var(--teal);
  width: 24px;
}

/* ==========================================================================
   PARTNERS / SALONS ROW
   ========================================================================== */
.partners {
  padding: 8px 0 30px;
  background: #f3eddf;
}

.partners .label {
  margin-bottom: 24px;
}

.partners-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 32px;
  align-items: start;
}

.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 6px 0;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
  transition: color 0.2s ease;
}

.partner:hover {
  color: var(--teal);
}

.partner__photo {
  display: block;
  width: 244px;
  height: 244px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-2);
  /* subtle white ring + hairline border + soft drop shadow (box-shadow rings = no layout shift) */
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(20, 40, 40, 0.1), 0 18px 38px -16px rgba(20, 40, 40, 0.26);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  flex-shrink: 0;
}

.partner__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.partner:hover .partner__photo {
  transform: translateY(-3px);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--teal), 0 24px 44px -16px rgba(20, 40, 40, 0.3);
}

.partner:hover .partner__photo img {
  transform: scale(1.06);
}

.partner .stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
}

.partner .stack {
  margin-top: 6px;
}

.partner .stack .name {
  font-family: var(--font-heading);
  font-size: 27px;
  color: var(--ink);
  font-weight: 500;
}

.partner .stack .sub {
  font-family: var(--font-body);
  font-size: 14.5px;
  letter-spacing: 0;
  font-weight: 500;
  margin-top: 8px;
  color: var(--muted);
  text-transform: none;
  line-height: 1.4;
}

.partner__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--teal);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.partner__more svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.partner:hover .partner__more svg {
  transform: translateX(3px);
}

.partners-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* Tablet & below: defeat the inline grid-template-columns:repeat(5, 1fr)
   from the template so the salon row wraps instead of overflowing. */
@media (max-width: 900px) {
  .partners-row {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 44px 20px;
  }
  .partner__photo {
    width: 182px;
    height: 182px;
  }
  .partner .stack .name {
    font-size: 23px;
  }
}
@media (max-width: 560px) {
  .partners-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px 18px;
  }
  .partner__photo {
    width: 152px;
    height: 152px;
  }
  .partner .stack .name {
    font-size: 21px;
  }
  .partner .stack .sub {
    font-size: 13px;
  }
}
/* ==========================================================================
   STRIP (footer-strip)
   ========================================================================== */
.strip {
  background: var(--paper-pure);
  border-top: 1px solid var(--line);
  padding: 26px 0;
}

.strip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.strip-item {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

a.strip-item:hover {
  transform: translateY(-2px);
}

a.strip-item:hover .ic {
  background: var(--teal);
  color: #fff;
}

a.strip-item:hover h5 {
  color: var(--teal);
}

.strip-item .ic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.strip-item .ic svg {
  width: 20px;
  height: 20px;
}

.strip-item h5 {
  margin: 0 0 2px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.strip-item p {
  margin: 0;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* ==========================================================================
   PAGE HERO — used by every sub-page as the editorial opener
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 130px;
  background: radial-gradient(ellipse 70% 80% at 10% 30%, rgba(42, 157, 154, 0.14) 0%, transparent 55%), radial-gradient(ellipse 50% 60% at 95% 75%, rgba(255, 255, 255, 0.6) 0%, transparent 60%), linear-gradient(180deg, var(--paper-pure) 0%, var(--teal-soft) 140px, var(--teal-soft) calc(100% - 120px), var(--paper) 100%);
  isolation: isolate;
}

.page-header {
  background: linear-gradient(180deg, var(--paper-pure) 0%, var(--teal-soft) 120px, var(--teal-soft) calc(100% - 100px), var(--paper) 100%);
  border-bottom: none;
  padding: 90px 0 110px;
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -200px;
  top: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(42, 157, 154, 0.14) 0%, rgba(42, 157, 154, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

.page-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}

.page-hero__copy {
  max-width: 640px;
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(42, 157, 154, 0.22);
  border-radius: 999px;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.page-hero__eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 22px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--teal-deep);
  font-weight: 400;
}

.page-hero__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 560px;
  margin: 0;
}

.page-hero__visual {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero__mark {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(42, 157, 154, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 25%, var(--paper) 0%, transparent 60%), radial-gradient(circle at 70% 80%, var(--cream) 0%, transparent 65%), var(--teal-soft);
  box-shadow: 0 12px 40px -16px rgba(42, 157, 154, 0.35);
}

.page-hero__mark::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px dashed rgba(42, 157, 154, 0.25);
}

.page-hero__mark::after {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--teal) 50%, transparent 100%);
}

.page-hero__mark-letter {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 150px;
  color: var(--teal-deep);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(42, 157, 154, 0.15);
}

.page-hero__mark-sub {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* Photo variant — circular sample image inside the brand mark.
   Letter becomes a small monogram in the bottom-right corner. */
.page-hero__mark--photo {
  overflow: hidden;
  background: radial-gradient(circle at 30% 25%, var(--paper) 0%, transparent 60%), var(--teal-soft);
}

.page-hero__mark-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 0;
  /* Soft vignette so the photo blends into the page */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 60%, transparent 100%);
  mask-image: radial-gradient(circle at 50% 50%, #000 60%, transparent 100%);
  transition: transform 0.8s ease;
}

.page-hero__mark--photo::before {
  /* Stronger inner ring to hold the photo crisply */
  inset: 8px;
  border-color: rgba(255, 255, 255, 0.55);
  border-style: solid;
  z-index: 2;
}

.page-hero__mark--photo::after {
  /* Hairline cue extends from the right side now since copy is on the left */
  z-index: 2;
}

.page-hero__mark-monogram {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  right: 22px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 36px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 0 18px rgba(42, 157, 154, 0.55);
  letter-spacing: -0.02em;
}

/* Tiny caption disc behind the monogram so it reads on any photo */
.page-hero__mark-monogram::before {
  content: "";
  position: absolute;
  inset: -8px -10px -6px -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 42, 46, 0.55) 0%, transparent 70%);
  z-index: -1;
}

.page-hero--with-photo .page-hero__mark-sub {
  color: var(--ink-2);
}

@media (hover: hover) {
  .page-hero__mark--photo:hover .page-hero__mark-image {
    transform: scale(1.04);
  }
}
/* Backwards-compat shim: keep .page-header working until every template is migrated.
   (bg + blend defined in the canonical .page-header rule above.) */
.page-header {
  position: relative;
  padding: 60px 0 50px;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 12px;
}

.page-header p {
  color: var(--ink-2);
  margin: 0;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 880px) {
  .page-hero {
    padding: 80px 0 64px;
  }
  .page-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .page-hero__visual {
    display: none;
  }
  .page-hero__mark {
    width: 220px;
    height: 220px;
  }
  .page-hero__mark-letter {
    font-size: 110px;
  }
}
/* ==========================================================================
   GENERIC SECTION
   ========================================================================== */
.section {
  padding: 70px 0;
}

.section--warm,
.section--cool {
  /* Generous top padding so the heading lands after the gradient has settled. */
  padding: 110px 0 90px;
}

/* Solid colored fill — no white→colored→white gradient anymore.
   Color variation now comes from the decorative pseudo-elements. */
/* Feathered edges — every colored section fades in/out of the page bg over ~120px
   so sections read as floating panels with soft transitions. */
.section--warm {
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 120px, var(--cream) calc(100% - 120px), var(--paper) 100%);
  padding: 110px 0 90px;
  position: relative;
}

/* Paper-fibre texture on warm/brown sections only.
   The generic .section::after later in the cascade renders a "watch-dial"
   ring decoration — to win specificity we double up the warm class so this
   rule's (0,2,1) beats the generic (0,1,1). */
.section--warm.section--warm::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  right: 0;
  top: 0;
  width: auto;
  aspect-ratio: auto;
  /* Greyscale fractal noise — desaturated, so multiply blend darkens
     the cream gradient in proportion to the noise pattern instead of
     flattening it with a uniform tint. */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch' seed='4'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23p)' opacity='0.32'/></svg>");
  background-repeat: repeat;
  background-size: 260px 260px;
  opacity: 1;
  mix-blend-mode: multiply;
  rotate: none;
  translate: none;
  /* Match the gradient feather (paper→cream 120px top, cream→paper 120px bottom)
     so the noise doesn't darken the transition bands into a visible hard edge. */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 120px, #000 calc(100% - 120px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 120px, #000 calc(100% - 120px), transparent 100%);
}

/* Variant masks — mirror each variant's gradient so noise fades exactly
   where the background fades to paper. */
main > .section--warm.section--warm:last-child::after {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 120px, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 120px, #000 100%);
}

.section--warm + .section--warm.section--warm::after {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 82%, transparent 100%);
}

/* #promotions starts at a sand solid (#f3eddf) — without a top mask the noise
   makes the boundary with the partners section above look harsh. Fade in
   the noise over the first 120px so the section above flows in cleanly. */
#promotions.section--warm.section--warm::after {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 120px, #000 calc(100% - 120px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 120px, #000 calc(100% - 120px), transparent 100%);
}

.section--warm > .container {
  position: relative;
  z-index: 1;
}

.section--cool {
  background: linear-gradient(180deg, var(--paper) 0%, var(--teal-soft) 120px, var(--teal-soft) calc(100% - 120px), var(--paper) 100%);
  padding: 110px 0 90px;
}

.section--lens-mist {
  background: linear-gradient(180deg, var(--paper) 0%, var(--teal-pale) 120px, var(--teal-pale) calc(100% - 120px), var(--paper) 100%);
  padding: 110px 0 90px;
}

.section--ink {
  background: linear-gradient(180deg, var(--paper) 0%, var(--ink) 140px, var(--ink) calc(100% - 140px), var(--paper) 100%);
  color: var(--paper);
  padding: 180px 0 160px;
}

.section--ink h2, .section--ink h3, .section--ink h4 {
  color: var(--paper);
}

.section--ink p {
  color: var(--paper);
  opacity: 0.85;
}

.section--ink .section-marker, .section--ink .section__label {
  color: var(--paper);
  opacity: 0.65;
}

.section--ink .section__label::before {
  color: var(--teal-pale-3);
  opacity: 1;
}

.section--lens {
  background: linear-gradient(180deg, var(--paper) 0%, var(--teal-deep) 140px, var(--teal-deep) calc(100% - 140px), var(--paper) 100%);
  color: var(--paper);
  padding: 180px 0 160px;
}

/* Homepage promotions sits directly under partners (flat sand-whisper #f3eddf).
   Top of promotions matches partners' bottom for a seamless warm blend; no
   paper layer at the seam. */
#promotions.section--warm {
  background: linear-gradient(180deg, #f3eddf 0%, var(--cream) 120px, var(--cream) calc(100% - 120px), var(--paper) 100%);
}

/* Last colored section before the .strip — hold the solid colour to the bottom
   edge instead of fading back to paper. The strip's own border-top hairline
   provides a clean visible boundary into the footer. */
main > .section--warm:last-child {
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 120px, var(--cream) 100%);
}

main > .section--cool:last-child {
  background: linear-gradient(180deg, var(--paper) 0%, var(--teal-soft) 120px, var(--teal-soft) 100%);
}

main > .section--ink:last-child {
  background: linear-gradient(180deg, var(--paper) 0%, var(--ink) 140px, var(--ink) 100%);
}

main > .section--lens:last-child {
  background: linear-gradient(180deg, var(--paper) 0%, var(--teal-deep) 140px, var(--teal-deep) 100%);
}

.section--lens h2,
.section--lens h3,
.section--lens h4 {
  color: #f5fbf9 !important;
}

.section--lens p {
  color: #f5fbf9 !important;
  opacity: 0.92;
}

.section--lens .section-marker,
.section--lens .section__label {
  color: #f5fbf9 !important;
  opacity: 1;
}

.section--lens .section__label::before {
  color: var(--teal-pale-3) !important;
  opacity: 1;
}

.section--lens .section__label::after {
  background: #f5fbf9 !important;
  opacity: 0.55;
}

/* Lens divider — a small centered optical accent that sits at the boundary
   between two sections. Rendered as a section's top decoration; the page bg
   shows through above and below, giving a "chapter break" feel. */
.section--warm + .section--warm,
.section--cool + .section--cool,
.section + .section--ink,
.section + .section--lens,
.section--ink + .section--lens,
.section--lens + .section--ink {
  /* When two same-treatment sections stack, just collapse the feathering — no double mint band */
}

/* Stack two same-coloured sections with no double border between them. */
.section--warm + .section--warm,
.section--cool + .section--cool {
  border-top: none;
  margin-top: 0;
}

/* Lens divider — small centered circle + hairline, sits AT the seam between
   different-coloured sections. Drawn via section's ::before, positioned at top. */
.section + .section--ink::before,
.section + .section--lens::before,
.section--ink + .section::before,
.section--lens + .section::before {
  /* Override the corner-ring decoration when this section sits next to a dark one. */
}

/* Stack two same-tone sections back-to-back without a white seam between them.
   These start at the colored fill (no white at top), so they get a hairline border. */
.section--warm + .section--warm {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 82%, var(--paper) 100%);
  margin-top: -40px;
  border-top: 1px solid var(--line);
}

.section--cool + .section--cool {
  background: linear-gradient(180deg, var(--teal-soft) 0%, var(--teal-soft) 82%, var(--paper) 100%);
  margin-top: -40px;
  border-top: 1px solid var(--line);
}

/*
 * When the last block in <main> is a colored section, hold the colored fill solid
 * to its bottom edge instead of fading back to white. The follow-on .strip (white,
 * with icons) then reads as a deliberate band rather than a redundant white sliver.
 */
/* (Old solid-bg last-child rules removed — the feathered last-child gradients
   above now own this responsibility, so the contact section keeps its top
   paper→teal-soft fade-in.) */
/* Top hairline on .page-hero — the colored gradient starts at the very top, so we need
   a clean line under the nav rather than an indistinct color-bleed. */
/* page-hero border-top removed — .nav-wrap now carries a border-bottom across all pages */
/* Visible decorative blobs inside .page-hero — mirror the homepage .hero-bg shapes
   so every colored hero has the same editorial weight. */
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-hero-bg__arc {
  position: absolute;
  right: -10%;
  top: -8%;
  width: 56%;
  height: 96%;
  background: linear-gradient(160deg, var(--teal-pale-2) 0%, var(--cream-mist) 100%);
  border-radius: 50%;
  opacity: 0.9;
  animation: wokulski-arc-drift 28s ease-in-out infinite alternate;
}

.page-hero-bg__wave {
  position: absolute;
  left: -8%;
  bottom: -8%;
  width: 50%;
  height: 70%;
  background: linear-gradient(135deg, var(--teal-pale) 0%, var(--teal-mist) 60%, transparent 100%);
  border-radius: 60% 40% 55% 45%/60% 50% 50% 40%;
  filter: blur(2px);
  opacity: 0.85;
  animation: wokulski-drift 24s ease-in-out infinite alternate;
}

.page-hero-bg__lines {
  position: absolute;
  left: -3%;
  top: 25%;
  width: 45%;
  height: 55%;
  background: repeating-linear-gradient(120deg, transparent 0 14px, rgba(42, 157, 154, 0.07) 14px 15px);
  border-radius: 50% 50% 60% 40%/60% 50% 50% 40%;
  -webkit-mask: radial-gradient(ellipse at 30% 50%, #000 30%, transparent 75%);
  mask: radial-gradient(ellipse at 30% 50%, #000 30%, transparent 75%);
  opacity: 0.8;
}

/* ===========================================================================
   OSM EMBED CROP — hide the "Wyświetl większą mapę / Zgłoś błąd" footer that
   OpenStreetMap injects at the bottom of every embedded map. It's fixed ~30px
   tall, so on smaller cards it eats a huge fraction of the visible map.
   The iframe is positioned absolute and stretches 36px past the container's
   bottom edge — the OSM bar lives in those clipped 36px below.
   =========================================================================== */
.salon-detail-v2__map,
.salon-3d__media,
.salon-card__media .salon-map,
.salon-detail__map {
  position: relative;
  overflow: hidden;
}

.salon-detail-v2__map iframe,
.salon-3d__media iframe,
.salon-card__media .salon-map iframe,
.salon-detail__map iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  /* iframes are replaced elements — `height: auto` falls back to the
     intrinsic 150px instead of computing from top/bottom. Compute it. */
  height: calc(100% + 36px);
  border: 0;
  display: block;
}

/* ===========================================================================
   AMBIENT BACKGROUND ANIMATIONS — slow, ambient motion on decorative shapes
   so the page doesn't read as static. Disabled under prefers-reduced-motion.
   =========================================================================== */
@keyframes wokulski-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-24px, 18px) scale(1.06);
  }
  100% {
    transform: translate(14px, -10px) scale(0.97);
  }
}
@keyframes wokulski-drift-rev {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -16px) scale(1.04);
  }
  100% {
    transform: translate(-12px, 8px) scale(0.98);
  }
}
@keyframes wokulski-bob {
  from {
    transform: translateY(-4px);
  }
  to {
    transform: translateY(6px);
  }
}
@keyframes wokulski-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes wokulski-mark-glow {
  from {
    box-shadow: 0 12px 40px -16px rgba(42, 157, 154, 0.35), 0 0 0 0 rgba(42, 157, 154, 0);
  }
  to {
    box-shadow: 0 18px 48px -18px rgba(42, 157, 154, 0.42), 0 0 36px 6px rgba(42, 157, 154, 0.12);
  }
}
@keyframes wokulski-wave-pulse {
  from {
    opacity: 0.85;
    transform: translate(0, 0) scale(1);
  }
  to {
    opacity: 1;
    transform: translate(8px, -6px) scale(1.03);
  }
}
@keyframes wokulski-arc-drift {
  from {
    transform: translate(0, 0) rotate(0deg);
  }
  to {
    transform: translate(-10px, 14px) rotate(-3deg);
  }
}
/* Page-hero teal bloom — slow figure-8 drift */
.page-hero::before {
  animation: wokulski-drift 22s ease-in-out infinite alternate;
}

/* Brand mark — gentle vertical bob + breathing glow */
.page-hero__mark {
  animation: wokulski-bob 6s ease-in-out infinite alternate, wokulski-mark-glow 7s ease-in-out infinite alternate;
}

/* Dashed inner ring on the brand mark — very slow rotation */
.page-hero__mark::before {
  animation: wokulski-rotate 90s linear infinite;
}

/* The horizontal teal hairline cue next to the mark — subtle pulse */
.page-hero__mark::after {
  animation: wokulski-wave-pulse 4s ease-in-out infinite alternate;
}

/* Footer teal bloom — drifts in the opposite direction so it doesn't sync with the hero */
.site-footer::before {
  animation: wokulski-drift-rev 26s ease-in-out infinite alternate;
}

/* Homepage hero shapes — soft drift for the wave + arc decorative blobs */
.hero-bg .wave {
  animation: wokulski-drift 24s ease-in-out infinite alternate;
}

.hero-bg .arc {
  animation: wokulski-arc-drift 28s ease-in-out infinite alternate;
}

/* ===========================================================================
   AMBIENT PATTERNS — faint geometric texture inside gradient blocks
   so the colored zones don't read as flat. Masked to fade out at the gradient
   transition edges so the pattern never crosses into white.
   =========================================================================== */
@keyframes wokulski-dots-drift {
  0% {
    background-position: 0 0;
    opacity: 0.75;
  }
  25% {
    background-position: 18px 6px;
    opacity: 1;
  }
  50% {
    background-position: 36px 24px;
    opacity: 0.85;
  }
  75% {
    background-position: 24px 36px;
    opacity: 1;
  }
  100% {
    background-position: 48px 48px;
    opacity: 0.75;
  }
}
@keyframes wokulski-dots-breathe {
  0%, 100% {
    transform: scale(1);
    filter: blur(0);
  }
  50% {
    transform: scale(1.04);
    filter: blur(0.2px);
  }
}
@keyframes wokulski-stripe-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 60px 60px;
  }
}
/* Every .section gets positioning context + content z-indexed above patterns.
   overflow stays visible so the lens decorations can bleed across section seams,
   creating a continuous bg system. Horizontal scroll prevented by html/body overflow-x:clip. */
.section {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.section > .container {
  position: relative;
  z-index: 1;
}

/* ─── Fancy fading-line decorative system ───
   Each section gets two horizontal SVG marks: a 3-line fading bundle with a focal
   dot at the dense end. The lines fade from transparent on one side toward teal
   on the other, with a small filled dot anchoring the dense edge. Subtle, editorial,
   never decorative noise. Scroll-driven via --p (data-parallax) for gentle drift. */
/* Top-right mark — editorial-luxury composition: thin arc, three fading hairlines
   anchored by a haloed dot, and a small dashed compass crosshair in the corner. */
.section::before,
.about::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  top: 48px;
  right: 24px;
  width: clamp(260px, 36vw, 420px);
  aspect-ratio: 4.6/1;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 460 100' preserveAspectRatio='none'><defs><linearGradient id='g' x1='0' x2='1'><stop offset='0' stop-color='%232a9d9a' stop-opacity='0'/><stop offset='1' stop-color='%232a9d9a' stop-opacity='1'/></linearGradient></defs><line x1='60' y1='40' x2='420' y2='40' stroke='url(%23g)' stroke-width='1'/><line x1='160' y1='56' x2='420' y2='56' stroke='url(%23g)' stroke-width='1'/><line x1='250' y1='72' x2='420' y2='72' stroke='url(%23g)' stroke-width='1'/><circle cx='428' cy='56' r='3.5' fill='%232a9d9a'/><circle cx='428' cy='56' r='8' fill='none' stroke='%232a9d9a' stroke-width='.5' stroke-opacity='.4'/></svg>");
  opacity: 0.72;
  translate: 0 calc(var(--p, 0) * 14px);
  transition: translate 0.3s linear;
}

/* Floating "watch dial" ring — concentric rings + cardinal tick marks + minor
   ticks + center hub. Anchored to the section TOP so it bleeds UP into the
   previous panel; section paints over previous in document order so the dial
   renders above both seams without being clipped. */
.section::after,
.about::after {
  content: "";
  position: absolute;
  pointer-events: none;
  /* Sit BEHIND content. The original z-index: 2 was placing this watch-dial
     ring decoration on top of section text/panels. The container above is
     z-index: 1; we want this at 0 (behind). isolation:isolate on .section
     keeps it scoped within the section. */
  z-index: 0;
  right: -110px;
  top: -150px;
  width: 320px;
  aspect-ratio: 1;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 320'><g fill='none' stroke='%232a9d9a'><circle cx='160' cy='160' r='148' stroke-width='1' stroke-opacity='.13'/><circle cx='160' cy='160' r='100' stroke-width='.9' stroke-opacity='.09'/><circle cx='160' cy='160' r='56' stroke-width='.7' stroke-opacity='.06'/></g><circle cx='160' cy='160' r='3.5' fill='%232a9d9a' fill-opacity='.55'/></svg>");
  rotate: calc(var(--p, 0) * 14deg);
  translate: 0 calc(var(--p, 0) * -22px);
  transition: rotate 0.3s linear, translate 0.3s linear;
}

/* Alternate the ring side per section so they don't all stack at the same edge */
main > section:nth-of-type(2n)::after {
  right: auto;
  left: -90px;
}

/* Per-page rhythm: nudge the top fading mark vertically so they don't pin at identical y */
main > section:nth-of-type(2n)::before {
  top: 80px;
  right: 64px;
}

main > section:nth-of-type(3n)::before {
  top: 38px;
}

/* Dark variants — lines and rings lean luminous against the deep ground */
.section--ink::before,
.section--lens::before {
  opacity: 0.55;
  filter: brightness(1.5) saturate(1.2);
}

.section--ink::after,
.section--lens::after {
  background: radial-gradient(circle, transparent 0%, transparent 30%, rgba(255, 255, 255, 0.16) 30.2%, rgba(255, 255, 255, 0.16) 30.8%, transparent 31%, transparent 50%, rgba(255, 255, 255, 0.1) 50.2%, rgba(255, 255, 255, 0.1) 50.7%, transparent 51%, transparent 70%, rgba(255, 255, 255, 0.06) 70.2%, rgba(255, 255, 255, 0.06) 70.6%, transparent 71%);
}

/* ===========================================================================
   PAGE LEDE — short intro paragraph that sits between the hero and content.
   Centered narrow text with a small teal indicator above it.
   =========================================================================== */
/* page-lede acts as a transition between page-hero (ends paper) and the section
   that follows (typically .services starting at teal-mist on subpages). */
.section.page-lede {
  padding: 56px 0 48px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 35%, var(--teal-mist) 100%);
}

/* When page-lede is not followed by services/about (no teal-mist neighbor),
   restore plain paper bg so it doesn't fade into a phantom teal band. */
.section.page-lede:last-child,
.section.page-lede:has(+ .section--warm),
.section.page-lede:has(+ .section--cool),
.section.page-lede:has(+ .section--ink),
.section.page-lede:has(+ .section--lens) {
  background: var(--paper);
}

.section.page-lede::before {
  opacity: 0.4;
}

.section.page-lede::after {
  display: none;
}

.page-lede .container--sm {
  position: relative;
  padding-top: 18px;
}

.page-lede .container--sm::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 2px;
  background: var(--teal);
  opacity: 0.85;
}

.page-lede__text {
  text-align: left;
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0 auto;
}

.page-lede__text::first-letter {
  float: left;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 4em;
  line-height: 0.85;
  margin: 0.05em 0.12em 0 0;
  color: var(--teal-deep);
}

/* Page-hero — sparse teal oval grid (consistent with the section dot patterns) */
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(ellipse 1.6px 1.1px, rgba(42, 157, 154, 0.22) 0%, rgba(42, 157, 154, 0.08) 55%, transparent 75%);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 80%, transparent 100%);
  animation: wokulski-dots-drift 26s ease-in-out infinite, wokulski-dots-breathe 9s ease-in-out infinite;
  transform-origin: 50% 50%;
  will-change: background-position, transform, opacity;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

/* ── Scroll-bound parallax ─────────────────────────────────────────────────
   --p is set by JS in base.html.twig: -1 .. 0 .. 1 across the viewport.
   Pseudo-elements continue with their CSS animations; we only transform
   real DOM nodes here so transforms never collide. */
[data-parallax] {
  --p: 0;
}

/* Page-hero brand mark column — drifts down ~50 px as the hero scrolls past */
.page-hero[data-parallax] .page-hero__visual {
  transform: translate3d(0, calc(var(--p) * 60px), 0);
  transition: transform 0.12s linear;
}

/* Hero copy — slower counter-drift for parallax depth */
.page-hero[data-parallax] .page-hero__copy {
  transform: translate3d(0, calc(var(--p) * -22px), 0);
  transition: transform 0.12s linear;
}

/* Footer columns — gentle upward drift as the user scrolls into the footer */
.site-footer[data-parallax] .footer__about-tag,
.site-footer[data-parallax] .footer__sig {
  transform: translate3d(0, calc(var(--p) * -18px), 0);
  transition: transform 0.12s linear;
}

@media (prefers-reduced-motion: reduce) {
  .section::before,
  .section:not(.section--warm):not(.section--cool):not(.section--ink):not(.section--lens)::after,
  .about::before,
  .about::after,
  .page-hero::before,
  .page-hero::after,
  .page-hero__mark,
  .page-hero__mark::before,
  .page-hero__mark::after,
  .section--warm::before,
  .section--warm::after,
  .section--cool::before,
  .section--cool::after,
  .site-footer::before,
  .hero-bg .wave,
  .hero-bg .arc,
  .page-hero-bg__arc,
  .page-hero-bg__wave {
    animation: none;
  }
  [data-parallax] .page-hero__visual,
  [data-parallax] .page-hero__copy,
  [data-parallax] .footer__about-tag,
  [data-parallax] .footer__sig {
    transform: none !important;
  }
}
/* ===========================================================================
   CONTACT SPLIT — details left, form right, equal-height columns
   =========================================================================== */
.contact-split__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: stretch;
}

.contact-split__intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 8px 0;
  position: relative;
}

.contact-split__intro::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 12px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg, var(--teal) 0%, transparent 100%);
}

.contact-split__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 6px 0 4px;
}

.contact-split__lede {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 8px;
  max-width: 460px;
}

.contact-split__facts {
  margin: auto 0 0; /* push to bottom of column to match form height */
  padding-top: 22px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-split__facts > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: baseline;
}

.contact-split__facts dt {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0;
}

.contact-split__facts dd {
  margin: 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
}

.contact-split__facts dd a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.contact-split__facts dd a:hover {
  border-bottom-color: var(--teal);
  color: var(--teal-deep);
}

.contact-split__form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 6px 24px -16px rgba(20, 40, 40, 0.14);
}

/* Inside section--cool the form card needs a slightly stronger shadow to lift off the teal tint */
.section--cool .contact-split__form {
  box-shadow: 0 14px 36px -20px rgba(20, 40, 40, 0.25);
}

@media (max-width: 880px) {
  .contact-split__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-split__intro::before {
    display: none;
  }
  .contact-split__intro {
    padding: 0;
  }
  .contact-split__form {
    padding: 24px;
  }
  .contact-split__facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
.section--dark {
  background: var(--ink);
  color: #fff;
}

.section--dark h2, .section--dark h3, .section--dark h4 {
  color: #fff;
}

.section--dark p {
  color: rgba(255, 255, 255, 0.8);
}

.section--dark .section__label {
  color: var(--teal);
}

.section__header {
  margin-bottom: 40px;
}

.section__header h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 8px 0 14px;
  color: inherit;
}

.section__label {
  color: var(--teal);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  counter-increment: section-marker;
}

.section__label::before {
  content: counter(section-marker, decimal-leading-zero);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0;
  color: var(--teal-deep);
  line-height: 1;
}

.section__label::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--teal);
  display: inline-block;
}

.section__header p {
  color: var(--ink-2);
  max-width: 640px;
  line-height: 1.7;
  margin: 0;
}

/* When the section header is centered (inline style="text-align:center" or .section__header--center),
   center the constrained paragraph box too — text-align alone leaves a 640px block pinned left. */
.section__header[style*=center] p,
.section__header--center p {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   GRID & CARDS (existing pages)
   ========================================================================== */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--paper-fine);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(20, 40, 40, 0.04), 0 4px 16px -8px rgba(20, 40, 40, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -12px rgba(20, 40, 40, 0.18);
}

.card__image {
  position: relative;
  aspect-ratio: 1.25/1;
  overflow: hidden;
  background: var(--cream-2);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
  color: var(--teal);
}

.card__image--placeholder svg {
  width: 48px;
  height: 48px;
}

.card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--ink);
}

.card__badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* Pinned to the bottom of a flex-column .card__body — keeps title baselines aligned across cards */
.card__badge--bottom {
  margin-top: auto;
  margin-bottom: 0;
  align-self: flex-start;
  border: 1px solid rgba(42, 157, 154, 0.25);
  background: var(--paper);
  color: var(--teal-deep);
}

.promo-card {
  color: inherit;
}

.promo-card .card__title {
  transition: color 0.2s ease;
}

.promo-card:hover .card__title {
  color: var(--teal-deep);
}

.card__text {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 14px;
}

.card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
}

.card__meta-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--teal);
}

/* ==========================================================================
   SALON LIST — info-rich vertical rows on /salony
   ========================================================================== */
.salon-list-section {
  padding: 80px 0 110px;
}

/* Sticky-ish jump bar — chip per city, anchor to #salon-{id} */
.salon-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 56px;
  padding: 10px 14px;
  background: var(--paper-pure);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.salon-jump__chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--paper-fine);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.salon-jump__chip:hover {
  color: var(--teal-deep);
  border-color: var(--teal);
  background: var(--teal-soft);
  transform: translateY(-1px);
}

.salon-jump__city {
  letter-spacing: 0.02em;
}

/* List of full-info rows */
.salon-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.salon-row {
  scroll-margin-top: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: stretch;
  background: var(--paper-fine);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px -32px rgba(31, 42, 46, 0.14);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.salon-row:hover {
  box-shadow: 0 32px 64px -28px rgba(31, 42, 46, 0.18);
}

.salon-row--flip {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.05fr);
}

.salon-row--flip .salon-row__media {
  order: 1;
}

.salon-row--flip .salon-row__body {
  order: 0;
}

.salon-row__media {
  position: relative;
  min-height: 420px;
  background: var(--teal-soft);
  overflow: hidden;
}

.salon-row__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.salon-row__media iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  /* iframe is a replaced element — `height: auto` falls back to intrinsic 150px.
     calc(100% + 36px) extends below the container's bottom so overflow:hidden
     on .salon-row__media clips the OSM "Wyświetl większą mapę" footer. */
  height: calc(100% + 36px);
  border: 0;
  display: block;
}

/* Static OSM tile as a fast, reliable substitute for the iframe embed.
   The map is a clickable <a> that opens the interactive OSM view in a new tab. */
.salon-row__map-static {
  position: absolute;
  inset: 0;
  display: block;
  background-color: var(--teal-soft);
  background-repeat: no-repeat;
  background-position: center, center;
  background-size: cover, cover;
  cursor: pointer;
}

.salon-row__map-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  color: var(--teal-deep);
  filter: drop-shadow(0 4px 6px rgba(20, 40, 40, 0.35));
  pointer-events: none;
}

.salon-row__map-marker svg {
  width: 36px;
  height: 36px;
}

.salon-row__placeholder {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, var(--paper) 0%, transparent 60%), radial-gradient(circle at 70% 70%, var(--cream) 0%, transparent 60%), var(--teal-soft);
}

.salon-row__map-pill {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 999px;
  box-shadow: 0 4px 12px -4px rgba(20, 40, 40, 0.2);
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease;
}

.salon-row__map-pill svg {
  width: 14px;
  height: 14px;
}

.salon-row__map-pill:hover {
  transform: translateY(-1px);
  color: var(--teal);
}

.salon-row__body {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.salon-row__head {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

.salon-row__head-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.salon-row__avatar {
  flex-shrink: 0;
  display: block;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: 0 12px 30px -12px rgba(20, 40, 40, 0.22), 0 0 0 1px var(--line) inset;
  margin-left: auto;
}

.salon-row__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.salon-row__eyebrow {
  color: var(--teal);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.salon-row__eyebrow::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--teal);
  display: inline-block;
}

.salon-row__city {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 6px;
}

.salon-row__name {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Facts list */
.salon-row__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.salon-row__fact {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}

.salon-row__fact dt {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.salon-row__fact dt svg {
  width: 14px;
  height: 14px;
}

.salon-row__fact dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.salon-row__fact dd strong {
  color: var(--ink);
  font-weight: 600;
}

.salon-row__fact dd a {
  color: var(--teal-deep);
  font-weight: 500;
}

.salon-row__fact dd a:hover {
  color: var(--teal);
}

/* Hours */
.salon-row__hours {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.salon-row__hours-title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

.salon-row__hours-title svg {
  width: 14px;
  height: 14px;
}

/* Actions row */
.salon-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.salon-row__actions .btn {
  padding: 12px 20px;
  font-size: 13px;
}

.salon-row__actions .btn svg {
  width: 16px;
  height: 16px;
}

.btn-ghost, .btn--ghost {
  color: var(--ink-2);
  background: transparent;
  border: 1.5px solid var(--line);
}

.btn-ghost:hover, .btn--ghost:hover {
  color: var(--teal-deep);
  border-color: var(--teal);
  background: var(--teal-soft);
}

/* Tablet & below: stack rows to full width — 2-col cramps the OSM map on iPad.
   Bumped to 1400px to cover all iPad landscape sizes (1133-1366). */
@media (max-width: 1400px) {
  .salon-list {
    gap: 48px;
  }
  .salon-row,
  .salon-row--flip {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .salon-row .salon-row__media,
  .salon-row .salon-row__body,
  .salon-row--flip .salon-row__media,
  .salon-row--flip .salon-row__body {
    order: initial;
  }
  /* No aspect-ratio here — combining aspect-ratio with min-height makes the
     element compute width FROM height, overflowing the parent on narrow
     screens. Use min-height alone so width follows parent at 100%. */
  .salon-row__media {
    min-height: 360px;
    aspect-ratio: auto;
  }
}
/* Show only the short "Więcej" label on phone so the button doesn't overflow. */
.salon-row__actions .btn .label-short {
  display: none;
}

@media (max-width: 640px) {
  .salon-row__actions .btn .label-full {
    display: none;
  }
  .salon-row__actions .btn .label-short {
    display: inline;
  }
  .salon-list {
    gap: 36px;
  }
  .salon-row__media {
    min-height: 240px;
    aspect-ratio: auto;
  }
  .salon-row__body {
    padding: 32px 24px;
    gap: 22px;
  }
  .salon-row__city {
    font-size: 30px;
  }
  .salon-jump {
    gap: 8px;
    padding: 8px 10px;
  }
  .salon-jump__chip {
    padding: 7px 14px;
    font-size: 12px;
  }
  .salon-row__actions .btn {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
  }
}
/* ==========================================================================
   SALON DETAIL
   ========================================================================== */
.salon-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.salon-info__row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

.salon-info__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 2px;
}

.salon-info__label {
  display: block;
  color: var(--teal);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.salon-info__row a {
  color: var(--teal);
}

.salon-info__row a:hover {
  color: var(--teal-deep);
}

.salon-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.salon-gallery__item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1.2/1;
  background: var(--cream-2);
}

.salon-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.salon-map {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: 0 4px 16px -8px rgba(20, 40, 40, 0.12);
  background: var(--cream-2);
}

.salon-map iframe {
  width: 100%;
  height: calc(100% + 36px);
  border: 0;
  display: block;
}

/* ── Editorial salon card — used on /salony and /kontakt ─────────────── */
.salon-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.salon-list--split {
  grid-template-columns: repeat(2, 1fr);
}

.salon-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.salon-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -16px rgba(20, 40, 40, 0.14);
  border-color: rgba(42, 157, 154, 0.35);
}

.salon-card__media {
  position: relative;
  min-height: 280px;
  background: var(--cream-2);
}

.salon-card__media .salon-map {
  aspect-ratio: auto;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}

.salon-card__media .salon-map iframe {
  height: calc(100% + 36px);
}

.salon-card__media .salon-gallery {
  aspect-ratio: auto;
  height: 100%;
  gap: 4px;
  padding: 0;
  grid-template-columns: 1fr 1fr;
}

.salon-card__media .salon-gallery__item {
  aspect-ratio: auto;
  border-radius: 0;
}

.salon-card__body {
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.salon-card__eyebrow {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.salon-card__eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--teal);
}

.salon-card__name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
}

.salon-card__name em {
  font-style: italic;
  color: var(--teal-deep);
  font-weight: 400;
}

.salon-card__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px dashed var(--line);
  padding-top: 18px;
}

.salon-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease;
}

.salon-card__pill:hover {
  background: var(--teal);
  color: #fff;
}

.salon-card__pill svg {
  width: 13px;
  height: 13px;
}

.salon-card__pill--cta {
  background: var(--ink);
  color: #fff;
}

.salon-card__pill--cta svg {
  transition: transform 0.2s ease;
}

.salon-card {
  position: relative;
}

.salon-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius-lg);
}

.salon-card__body > *, .salon-card__media {
  position: relative;
  z-index: 2;
}

/* Re-elevate inner anchors above the card-wide link so phone/email tap through. */
.salon-card .salon-card__pill {
  position: relative;
  z-index: 3;
}

.salon-card:hover .salon-card__pill--cta svg {
  transform: translateX(3px);
}

@media (max-width: 980px) {
  .salon-list--split {
    grid-template-columns: 1fr;
  }
  .salon-card {
    grid-template-columns: 1fr;
  }
  .salon-card__media {
    min-height: 220px;
  }
  .salon-card__body {
    padding: 24px;
  }
  .salon-card__name {
    font-size: 26px;
  }
}
/* ── Salon mini cards (slider) ─────────────────────────────── */
.salon-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  padding: 4px 0 8px;
}

.salon-strip > * {
  min-width: 0;
}

/* Photo strip used on the salon detail page */
.salon-strip[data-slider] {
  padding: 0 0 12px;
}

.salon-strip__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}

.salon-strip__track::-webkit-scrollbar {
  display: none;
}

.salon-strip__item {
  margin: 0;
  flex: 0 0 auto;
  width: clamp(280px, 32vw, 420px);
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-2);
  scroll-snap-align: start;
  box-shadow: 0 6px 24px -12px rgba(20, 40, 40, 0.18);
}

.salon-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.salon-strip__item--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
  color: var(--teal);
}

.salon-strip__item--placeholder svg {
  width: 56px;
  height: 56px;
  opacity: 0.6;
}

.salon-strip[data-slider] {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.salon-strip__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper-pure);
  border: 1px solid var(--ink);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 8px 24px -10px rgba(20, 40, 40, 0.35);
  flex-shrink: 0;
  cursor: pointer;
}

.salon-strip__btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.salon-strip__btn svg {
  width: 18px;
  height: 18px;
}

.salon-strip--empty {
  padding: 24px 0;
}

.salon-strip--empty .salon-strip__item {
  width: clamp(220px, 26vw, 320px);
  aspect-ratio: 4/3;
}

/* The .salon-mini card (used in the contact slider + sibling strip) */
.salon-mini {
  flex: 0 0 auto;
  width: clamp(260px, 28vw, 320px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  color: var(--ink);
}

.salon-mini:hover {
  transform: translateY(-3px);
  border-color: rgba(42, 157, 154, 0.35);
  box-shadow: 0 18px 40px -16px rgba(20, 40, 40, 0.14);
}

.salon-mini__city {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.salon-mini__city::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--teal);
}

.salon-mini__name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-top: 4px;
}

.salon-mini__addr {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}

.salon-mini__cta {
  margin-top: auto;
  padding-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  border-top: 1px dashed var(--line);
}

.salon-mini__cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.salon-mini:hover .salon-mini__cta svg {
  transform: translateX(3px);
}

/* Larger mini for the contact slider — sized to fit exactly 3 in the track */
.salon-mini--lg {
  flex: 0 0 calc((100% - 32px) / 3); /* 3 cards + 2 × 16px gaps */
  min-width: 260px;
  padding: 26px 26px 22px;
  gap: 10px;
}

.salon-mini--lg .salon-mini__name {
  font-size: 26px;
}

.salon-mini__phone {
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* Contact-page salon slider — full carousel with arrows + dots */
.salon-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 16px;
  row-gap: 18px;
  align-items: center;
}

.salon-slider__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  /* proximity (not mandatory) so programmatic smooth-scroll glides instead of snapping mid-tween */
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 2px 18px;
  min-width: 0; /* allow grid item to shrink */
  scroll-padding-left: 2px;
}

.salon-slider__track::-webkit-scrollbar {
  display: none;
}

.salon-slider__track > * {
  scroll-snap-align: start;
}

.salon-slider__dots {
  grid-column: 1/-1;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.salon-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: 0;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.salon-slider__dot:hover {
  background: var(--teal-soft);
}

.salon-slider__dot.on {
  background: var(--teal);
  transform: scale(1.3);
}

.salon-strip__btn[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}

.salon-strip__btn[disabled]:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
  transform: none;
}

@media (max-width: 720px) {
  .salon-slider {
    grid-template-columns: 1fr;
  }
  .salon-slider .salon-strip__btn {
    display: none;
  }
  .salon-slider__track {
    padding: 8px 16px 16px;
  }
  .salon-mini--lg {
    flex: 0 0 80vw;
    min-width: 0;
  }
}
/* ===========================================================================
   3D COVERFLOW SALON CAROUSEL — perspective stage with auto-advance
   =========================================================================== */
.salon-3d-section {
  padding: 80px 0 90px;
}

.salon-3d {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 24px;
}

.salon-3d__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 24px -12px rgba(20, 40, 40, 0.25);
  z-index: 5;
  flex-shrink: 0;
}

.salon-3d__btn:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 14px 32px -14px rgba(42, 157, 154, 0.55);
}

.salon-3d__btn svg {
  width: 20px;
  height: 20px;
}

.salon-3d__stage {
  position: relative;
  height: clamp(480px, 60vw, 580px);
  perspective: 1500px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  overflow: visible;
}

.salon-3d__card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(320px, 44vw, 560px);
  height: clamp(440px, 54vw, 520px);
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.22, 0.65, 0.25, 1), opacity 0.65s ease, filter 0.65s ease;
  will-change: transform, opacity, filter;
  pointer-events: none;
}

.salon-3d__card[data-pos="0"] {
  transform: translate(-50%, -50%) translateZ(0) rotateY(0) scale(1);
  opacity: 1;
  filter: none;
  z-index: 5;
  pointer-events: auto;
}

.salon-3d__card[data-pos="-1"] {
  transform: translate(-50%, -50%) translateX(-58%) translateZ(-160px) rotateY(28deg) scale(0.92);
  opacity: 0.82;
  filter: saturate(0.85) blur(0.4px);
  z-index: 4;
  pointer-events: auto;
}

.salon-3d__card[data-pos="1"] {
  transform: translate(-50%, -50%) translateX(58%) translateZ(-160px) rotateY(-28deg) scale(0.92);
  opacity: 0.82;
  filter: saturate(0.85) blur(0.4px);
  z-index: 4;
  pointer-events: auto;
}

.salon-3d__card[data-pos="-2"] {
  transform: translate(-50%, -50%) translateX(-100%) translateZ(-340px) rotateY(40deg) scale(0.78);
  opacity: 0.35;
  filter: saturate(0.55) blur(1.5px);
  z-index: 3;
  pointer-events: auto;
}

.salon-3d__card[data-pos="2"] {
  transform: translate(-50%, -50%) translateX(100%) translateZ(-340px) rotateY(-40deg) scale(0.78);
  opacity: 0.35;
  filter: saturate(0.55) blur(1.5px);
  z-index: 3;
  pointer-events: auto;
}

/* anything farther — hidden behind */
.salon-3d__card:not([data-pos]),
.salon-3d__card[data-pos="3"], .salon-3d__card[data-pos="-3"],
.salon-3d__card[data-pos="4"], .salon-3d__card[data-pos="-4"] {
  transform: translate(-50%, -50%) translateZ(-500px) scale(0.6);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.salon-3d__inner {
  display: grid;
  grid-template-rows: 46% 54%;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(20, 40, 40, 0.35), 0 8px 22px -12px rgba(42, 157, 154, 0.12);
  color: var(--ink);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
  backface-visibility: hidden;
}

.salon-3d__card[data-pos="0"] .salon-3d__inner {
  border-color: rgba(42, 157, 154, 0.35);
  box-shadow: 0 40px 80px -28px rgba(20, 40, 40, 0.45), 0 18px 50px -20px rgba(42, 157, 154, 0.25);
}

.salon-3d__media {
  position: relative;
  overflow: hidden;
  background: var(--cream-2);
}

.salon-3d__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}

.salon-3d__media iframe {
  width: 100%;
  height: calc(100% + 36px);
  border: 0;
  display: block;
}

.salon-3d__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
  color: var(--teal);
}

.salon-3d__placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.55;
}

.salon-3d__body {
  padding: 22px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.salon-3d__body .salon-card__name {
  margin: 2px 0 6px;
}

.salon-3d__addr {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}

.salon-3d__phone {
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

.salon-3d__foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.salon-3d__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.salon-3d__cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.salon-3d__card[data-pos="0"]:hover .salon-3d__cta svg {
  transform: translateX(4px);
}

/* Compact 2-col hours grid for the 3D card body */
/* Full-width opening-hours table on salon detail — aligned 2-col grid, no bullets */
.opening-hours.opening-hours--list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: max-content max-content;
  column-gap: 18px;
  row-gap: 8px;
  justify-content: start;
}

.opening-hours.opening-hours--list .opening-hours__row {
  display: contents;
}

.opening-hours.opening-hours--list .opening-hours__day {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
}

.opening-hours.opening-hours--list .opening-hours__time {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.opening-hours-compact {
  list-style: none;
  padding: 0;
  margin: 2px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 14px;
  font-size: 11.5px;
  line-height: 1.35;
}

.opening-hours-compact li {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  color: var(--ink-2);
}

.opening-hours-compact__day {
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-width: 20px;
}

.opening-hours-compact__time {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.salon-3d__dots {
  grid-column: 1/-1;
  justify-self: center;
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.salon-3d__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.25s ease, width 0.25s ease;
}

.salon-3d__dot:hover {
  background: var(--teal-soft);
}

.salon-3d__dot.on {
  background: var(--teal);
  width: 28px;
  border-radius: 999px;
}

@media (max-width: 880px) {
  .salon-3d {
    grid-template-columns: 1fr;
  }
  .salon-3d__btn {
    display: none;
  }
  .salon-3d__stage {
    height: clamp(420px, 110vw, 560px);
  }
  .salon-3d__card {
    width: clamp(280px, 78vw, 420px);
    height: 440px;
  }
  .salon-3d__card[data-pos="-1"] {
    transform: translate(-50%, -50%) translateX(-46%) translateZ(-110px) rotateY(22deg) scale(0.86);
  }
  .salon-3d__card[data-pos="1"] {
    transform: translate(-50%, -50%) translateX(46%) translateZ(-110px) rotateY(-22deg) scale(0.86);
  }
  .salon-3d__card[data-pos="-2"] {
    transform: translate(-50%, -50%) translateX(-78%) translateZ(-220px) rotateY(34deg) scale(0.7);
  }
  .salon-3d__card[data-pos="2"] {
    transform: translate(-50%, -50%) translateX(78%) translateZ(-220px) rotateY(-34deg) scale(0.7);
  }
}
@media (prefers-reduced-motion: reduce) {
  .salon-3d__card {
    transition: opacity 0.25s ease;
  }
  .salon-3d__card[data-pos="-1"], .salon-3d__card[data-pos="1"],
  .salon-3d__card[data-pos="-2"], .salon-3d__card[data-pos="2"] {
    transform: translate(-50%, -50%) translateZ(0) rotateY(0) scale(1);
    opacity: 0;
    pointer-events: none;
  }
}
/* ── Compact variant — used on /kontakt where more cards should stay readable ── */
.salon-3d--compact .salon-3d__stage {
  height: clamp(360px, 38vw, 420px);
  perspective: 2000px;
}

.salon-3d--compact .salon-3d__card {
  width: clamp(220px, 24vw, 280px);
  height: clamp(330px, 36vw, 380px);
}

.salon-3d--compact .salon-3d__inner {
  grid-template-rows: 50% 50%;
  border-radius: 18px;
}

.salon-3d--compact .salon-card__name {
  font-size: 22px;
}

.salon-3d--compact .salon-3d__body {
  padding: 18px 20px 20px;
  gap: 6px;
}

.salon-3d--compact .salon-3d__cta {
  padding-top: 10px;
  font-size: 11px;
}

.salon-3d--compact .salon-3d__card[data-pos="-1"] {
  transform: translate(-50%, -50%) translateX(-78%) translateZ(-90px) rotateY(18deg) scale(0.94);
  opacity: 0.92;
  filter: none;
}

.salon-3d--compact .salon-3d__card[data-pos="1"] {
  transform: translate(-50%, -50%) translateX(78%) translateZ(-90px) rotateY(-18deg) scale(0.94);
  opacity: 0.92;
  filter: none;
}

.salon-3d--compact .salon-3d__card[data-pos="-2"] {
  transform: translate(-50%, -50%) translateX(-138%) translateZ(-200px) rotateY(28deg) scale(0.84);
  opacity: 0.65;
  filter: saturate(0.78);
}

.salon-3d--compact .salon-3d__card[data-pos="2"] {
  transform: translate(-50%, -50%) translateX(138%) translateZ(-200px) rotateY(-28deg) scale(0.84);
  opacity: 0.65;
  filter: saturate(0.78);
}

@media (max-width: 880px) {
  .salon-3d--compact .salon-3d__card {
    width: clamp(220px, 70vw, 320px);
    height: 360px;
  }
  .salon-3d--compact .salon-3d__card[data-pos="-2"], .salon-3d--compact .salon-3d__card[data-pos="2"] {
    opacity: 0;
    pointer-events: none;
  }
}
/* ── Salon detail page ─────────────────────────────────────── */
.salon-hero__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.salon-detail__media-section {
  padding: 36px 0 12px;
}

.salon-detail__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.salon-detail__map-wrap {
  position: relative;
}

.salon-detail__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 18px 48px -20px rgba(20, 40, 40, 0.25);
  background: var(--cream-2);
}

.salon-detail__map iframe {
  width: 100%;
  height: calc(100% + 36px);
  border: 0;
  display: block;
}

.salon-detail__map--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.salon-detail__map--placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.55;
}

.salon-detail__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.salon-detail__block {
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--line);
}

.salon-detail__block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.salon-detail__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 14px;
}

.salon-detail__label::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--teal);
}

.salon-detail__addr {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}

.salon-detail__contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--ink-2);
}

.salon-detail__contact-row svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--teal);
}

.salon-detail__contact-row a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.salon-detail__contact-row a:hover {
  border-bottom-color: var(--teal);
  color: var(--teal-deep);
}

.salon-detail__about {
  margin-top: 56px;
  max-width: 760px;
}

.salon-detail__about-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 8px 0 16px;
}

.salon-detail__about-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0;
}

.salon-detail__siblings .salon-strip {
  padding-top: 8px;
}

/* Fit exactly 4 sibling salon cards in the slider track at desktop widths.
   The track width = strip width − 2× button (48px) − 2× gap (14px) = strip − 124px.
   Cards: (track − 3×12px gap) / 4. Below 720px viewport, drop to 2-up. */
.salon-detail__siblings .salon-mini {
  flex: 0 0 calc((100% - 36px) / 4);
  min-width: 200px;
  width: auto;
  scroll-snap-align: start;
}

@media (max-width: 980px) {
  .salon-detail__siblings .salon-mini {
    flex: 0 0 calc((100% - 12px) / 2);
  }
}
@media (max-width: 560px) {
  .salon-detail__siblings .salon-mini {
    flex: 0 0 86%;
  }
}
@media (max-width: 880px) {
  .salon-detail__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .salon-detail__about {
    margin-top: 32px;
  }
}
/* ===========================================================================
   SALON DETAIL — REDESIGN  (mosaic gallery + sticky info + tall map)
   =========================================================================== */
.salon-hero--compact {
  padding: 80px 0 60px;
}

/* Editorial 5-cell mosaic — large hero left, 2x2 thumbs right */
.salon-gallery-section {
  padding: 8px 0 24px;
  position: relative;
}

.salon-gallery-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: clamp(420px, 50vw, 580px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 48px -22px rgba(20, 40, 40, 0.25);
}

.salon-gallery-mosaic__cell {
  position: relative;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: var(--cream-2);
  overflow: hidden;
  transition: transform 0.35s ease;
}

.salon-gallery-mosaic__cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 42, 46, 0);
  transition: background 0.25s ease;
  z-index: 1;
  pointer-events: none;
}

.salon-gallery-mosaic__cell:hover::before {
  background: rgba(31, 42, 46, 0.15);
}

.salon-gallery-mosaic__cell:hover img {
  transform: scale(1.04);
}

.salon-gallery-mosaic__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.salon-gallery-mosaic__cell--hero {
  grid-row: 1/span 2;
  grid-column: 1;
}

.salon-gallery-mosaic__cell--1 {
  grid-row: 1;
  grid-column: 2;
}

.salon-gallery-mosaic__cell--2 {
  grid-row: 1;
  grid-column: 3;
}

.salon-gallery-mosaic__cell--3 {
  grid-row: 2;
  grid-column: 2;
}

.salon-gallery-mosaic__cell--4 {
  grid-row: 2;
  grid-column: 3;
}

.salon-gallery-mosaic__more {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, color 0.2s ease;
  z-index: 2;
  box-shadow: 0 4px 12px -8px rgba(20, 40, 40, 0.35);
}

.salon-gallery-mosaic__more:hover {
  background: var(--ink);
  color: #fff;
}

.salon-gallery-mosaic__more svg {
  width: 12px;
  height: 12px;
}

@media (max-width: 880px) {
  .salon-gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  /* aspect-ratio drives cell height so landscape photos aren't squashed into
     short, over-cropped strips on tablet/phone */
  .salon-gallery-mosaic__cell--hero {
    grid-row: 1;
    grid-column: 1/span 2;
    aspect-ratio: 16/10;
  }
  .salon-gallery-mosaic__cell--1,
  .salon-gallery-mosaic__cell--2,
  .salon-gallery-mosaic__cell--3,
  .salon-gallery-mosaic__cell--4 {
    aspect-ratio: 4/3;
  }
  .salon-gallery-mosaic__cell--1 {
    grid-row: 2;
    grid-column: 1;
  }
  .salon-gallery-mosaic__cell--2 {
    grid-row: 2;
    grid-column: 2;
  }
  .salon-gallery-mosaic__cell--3 {
    grid-row: 3;
    grid-column: 1;
  }
  .salon-gallery-mosaic__cell--4 {
    grid-row: 3;
    grid-column: 2;
  }
}
/* Lightbox overlay */
.salon-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 22, 26, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.salon-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
}

.salon-lightbox__stage {
  position: relative;
  max-width: 1200px;
  max-height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.salon-lightbox__stage img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  border-radius: 8px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.salon-lightbox__stage img.is-ready {
  opacity: 1;
}

.salon-lightbox__spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-top-color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1;
}

.salon-lightbox.is-loading .salon-lightbox__spinner {
  opacity: 1;
  animation: salon-lb-spin 0.7s linear infinite;
}

@keyframes salon-lb-spin {
  to {
    transform: rotate(360deg);
  }
}
.salon-lightbox__stage figcaption {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.salon-lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.salon-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.salon-lightbox__close svg {
  width: 20px;
  height: 20px;
}

.salon-lightbox__nav {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  margin: 0 12px;
  flex-shrink: 0;
}

.salon-lightbox__nav:hover {
  background: var(--teal);
  transform: scale(1.05);
}

.salon-lightbox__nav svg {
  width: 22px;
  height: 22px;
}

/* Split body — sticky info + tall map */
.salon-detail-v2 {
  padding: 60px 0 80px;
}

.salon-detail-v2__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.salon-detail-v2__info {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px;
  background: var(--paper-pure);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 24px -16px rgba(20, 40, 40, 0.14);
}

.salon-detail-v2__info .salon-detail__block {
  padding-bottom: 22px;
}

.salon-detail-v2__info .salon-detail__block:last-of-type {
  padding-bottom: 0;
}

.salon-detail-v2__info .salon-detail__addr {
  font-size: 20px;
  line-height: 1.4;
}

.salon-detail__addr-city {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  display: inline-block;
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.salon-detail-v2__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  margin-top: 4px;
}

.salon-detail-v2__cta .btn {
  justify-content: center;
}

.btn-link {
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
  border-bottom: 1px solid transparent;
  align-self: center;
  transition: border-color 0.2s ease;
}

.btn-link:hover {
  border-bottom-color: var(--teal);
}

.salon-detail-v2__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* No explicit height — the grid stretches this item to match the info column's intrinsic height. */
  min-height: 480px;
  box-shadow: 0 18px 48px -20px rgba(20, 40, 40, 0.25);
  background: var(--cream-2);
  position: relative;
  align-self: stretch;
}

.salon-detail-v2__map iframe {
  width: 100%;
  height: calc(100% + 36px);
  border: 0;
  display: block;
}

.salon-detail-v2__map-canvas {
  width: 100%;
  height: 100%;
  background: var(--cream-2);
}

/* Leaflet attribution + controls — tone down to fit the design. */
.salon-detail-v2__map-canvas .leaflet-control-attribution {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-2);
}

.salon-detail-v2__map-canvas .leaflet-control-attribution a {
  color: var(--teal-deep);
}

.salon-detail-v2__map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
}

.salon-detail-v2__map-placeholder svg {
  width: 96px;
  height: 96px;
  opacity: 0.45;
}

/* Tablet: keep the map BESIDE the info (to the right of the address + opening
   hours) inside one fused panel — the desktop split adapted to a narrower width.
   A definite stretched height (no aspect-ratio) also lets Leaflet size reliably. */
@media (min-width: 641px) and (max-width: 1100px) {
  .salon-detail-v2__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 0;
    align-items: stretch;
    background: var(--paper-pure);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 48px -32px rgba(31, 42, 46, 0.14);
  }
  .salon-detail-v2__info {
    order: 1;
    position: static;
    padding: 30px 28px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .salon-detail-v2__map {
    order: 2;
    margin: 0;
    aspect-ratio: auto;
    min-height: 360px;
    align-self: stretch;
    border-radius: 0;
    box-shadow: none;
  }
  .salon-lightbox {
    padding: 24px;
  }
}
/* Phone: stack into one column — map on top, info below. Explicit height (not
   aspect-ratio) so Leaflet/OSM reads a settled size at init. */
@media (max-width: 640px) {
  .salon-detail-v2__grid {
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--paper-pure);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 48px -32px rgba(31, 42, 46, 0.14);
  }
  .salon-detail-v2__map {
    order: 0;
    margin: 0;
    aspect-ratio: auto;
    height: 300px;
    min-height: 300px;
    border-radius: 0;
    box-shadow: none;
  }
  .salon-detail-v2__info {
    order: 1;
    position: static;
    padding: 24px 20px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .salon-lightbox {
    padding: 24px;
  }
}
/* ── Promotion detail page ─────────────────────────────────── */
.promotion-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.promotion-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.promotion-hero__chip svg {
  width: 14px;
  height: 14px;
  color: var(--teal);
}

.promotion-hero__chip--link {
  color: var(--ink);
}

.promotion-hero__chip--link:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.promotion-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.promotion-detail__image-wrap {
  position: relative;
}

.promotion-detail__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px -20px rgba(20, 40, 40, 0.25);
  background: var(--cream-2);
  display: block;
}

.promotion-detail__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%);
}

.promotion-detail__image--placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.55;
}

.promotion-detail__copy {
  padding-top: 8px;
}

.promotion-detail__text {
  margin: 18px 0 28px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}

.promotion-detail__text p {
  margin: 0 0 14px;
}

.promotion-detail__facts {
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  border-top: 1px dashed var(--line);
  padding-top: 22px;
}

.promotion-detail__facts > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: baseline;
}

.promotion-detail__facts dt {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0;
}

.promotion-detail__facts dd {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--ink);
}

.promotion-detail__facts dd a {
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.promotion-detail__facts dd a:hover {
  border-bottom-color: var(--teal);
  color: var(--teal-deep);
}

.promotion-detail__cta {
  margin-top: 8px;
}

@media (max-width: 880px) {
  .promotion-detail__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .promotion-detail__facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
/* ==========================================================================
   FORMS (contact, newsletter)
   ========================================================================== */
.contact-form, .newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* Split contact form — two flex columns inside a 2-col grid.
 *
 * Each column is a flex container that stretches to the row height (default
 * align-items: stretch on grid). The right-column message form-group uses
 * flex: 1 so the textarea expands to match the cumulative height of the four
 * stacked fields on the left — both columns end at the same y-coordinate.
 */
.contact-form--split form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto; /* cols / submit / feedback */
  column-gap: 32px;
  row-gap: 16px;
  width: 100%;
  margin: 0 auto;
}

.contact-form__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form__col > .form-group {
  margin-bottom: 0;
}

.contact-form__col--left {
  grid-column: 1;
  grid-row: 1;
}

.contact-form__col--right {
  grid-column: 2;
  grid-row: 1;
  display: flex;
}

/* Message form-group fills the remaining height of the right column,
 * so the textarea ends at the same y as the salon select on the left. */
.contact-form__col--right .form-group--message {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
}

.contact-form__col--right .form-group--message textarea {
  flex: 1;
  min-height: 200px;
}

/* Pull the (empty) error span out of the flex flow — otherwise its 1em min-height
 * leaves a gap between the textarea and the column bottom that doesn't appear under
 * the salon select on the left. Errors still display below the textarea on validation. */
.contact-form__col--right .form-group--message .form-error {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 4px;
  min-height: 0;
}

.contact-form__submit {
  grid-column: 1/-1;
  grid-row: 2;
  justify-self: center;
  margin-top: 8px;
}

.contact-form__feedback {
  grid-column: 1/-1;
  grid-row: 3;
}

@media (max-width: 720px) {
  .contact-form--split form {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .contact-form__col--left,
  .contact-form__col--right {
    grid-column: 1;
    grid-row: auto;
  }
  .contact-form__col--right .form-group--message {
    flex: none;
  }
  .contact-form__col--right .form-group--message textarea {
    min-height: 140px;
  }
}
.form-label,
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.form-control,
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel],
.contact-form select,
.contact-form textarea,
.newsletter-form input[type=text],
.newsletter-form input[type=email] {
  width: 100%;
  background: var(--paper-pure);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-control:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.newsletter-form input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}

textarea.form-control,
.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-inline {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.form-inline input {
  flex: 1;
}

.form-inline .btn {
  flex-shrink: 0;
}

.btn--sm {
  padding: 10px 16px;
  font-size: 13px;
}

.form-error {
  display: block;
  color: var(--color-error);
  font-size: 12px;
  margin-top: 6px;
  min-height: 1em;
}

.form-feedback,
.form-message {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 14px;
}

.form-feedback--success, .form-message--success {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.form-feedback--error, .form-message--error {
  background: var(--color-error-bg);
  color: var(--color-error);
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 8px;
}

.section--dark .form-group label,
.section--dark .form-label {
  color: rgba(255, 255, 255, 0.75);
}

.section--dark .form-control,
.section--dark .contact-form input,
.section--dark .contact-form select,
.section--dark .contact-form textarea,
.section--dark .newsletter-form input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.section--dark .form-control::placeholder,
.section--dark .contact-form input::placeholder,
.section--dark .contact-form textarea::placeholder,
.section--dark .newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.section--dark .form-control:focus,
.section--dark .contact-form input:focus,
.section--dark .contact-form select:focus,
.section--dark .contact-form textarea:focus,
.section--dark .newsletter-form input:focus {
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   GOOGLE REVIEWS COMPONENT
   ========================================================================== */
.google-reviews {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.google-reviews__header {
  background: var(--paper-pure);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 1px 0 rgba(20, 40, 40, 0.04), 0 4px 16px -8px rgba(20, 40, 40, 0.06);
}

.google-reviews__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--ink-2);
  font-size: 13px;
}

.google-reviews__rating {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1;
}

.google-reviews__stars, .google-reviews__item-stars {
  color: #f5b400;
  font-size: 16px;
  letter-spacing: 1px;
}

.google-reviews__star--empty {
  color: #e0e0e0;
}

.google-reviews__count {
  color: var(--muted);
  font-size: 12.5px;
}

.google-reviews__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.google-reviews__item {
  background: var(--paper-pure);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 1px 0 rgba(20, 40, 40, 0.04), 0 4px 16px -8px rgba(20, 40, 40, 0.06);
}

.google-reviews__item-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.google-reviews__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.google-reviews__avatar--placeholder {
  background: var(--teal-soft);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.google-reviews__item-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.google-reviews__author {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.google-reviews__time {
  font-size: 12px;
  color: var(--muted);
}

.google-reviews__item-stars {
  font-size: 14px;
  margin-bottom: 8px;
}

.google-reviews__text {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .google-reviews__list {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   GOOGLE REVIEWS
   ========================================================================== */
.reviews {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reviews__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  color: var(--ink-2);
  font-size: 14px;
}

.reviews__rating {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--ink);
  font-weight: 600;
}

.review {
  background: var(--paper-pure);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 0 rgba(20, 40, 40, 0.04), 0 4px 16px -8px rgba(20, 40, 40, 0.06);
}

.review__author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.review__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.review__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

.review__date {
  font-size: 12px;
  color: var(--muted);
}

.review__stars {
  color: #f5b400;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.review__text {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.65;
}

/* ==========================================================================
   CONTENT AREA (rich text)
   ========================================================================== */
.content-area p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 18px;
}

.content-area h2, .content-area h3 {
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}

.content-area h2 {
  font-size: 30px;
}

.content-area h3 {
  font-size: 22px;
}

.content-area ul, .content-area ol {
  padding-left: 24px;
  margin: 0 0 18px;
}

.content-area li {
  margin-bottom: 6px;
  color: var(--ink-2);
}

.content-area a {
  color: var(--teal);
}

.content-area a:hover {
  color: var(--teal-deep);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 26px;
  margin-top: 0;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: -180px;
  bottom: -200px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(42, 157, 154, 0.18) 0%, rgba(42, 157, 154, 0) 65%);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  right: 6%;
  top: 32px;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--teal) 50%, transparent 100%);
}

.site-footer .container {
  position: relative;
}

.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 36px;
  align-items: start;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 28px;
  color: #fff;
  line-height: 1;
  margin: 0 0 16px;
}

.footer__brand img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.92);
}

.footer__about p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  max-width: 320px;
}

.footer__about-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--teal);
  font-size: 18px;
  margin-top: 16px;
  letter-spacing: -0.005em;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 8px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  transition: color var(--transition);
  position: relative;
}

.footer__links a:hover {
  color: var(--teal);
}

.footer__links a::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--teal);
  margin-right: 0;
  vertical-align: middle;
  transition: width 0.2s ease, margin-right 0.2s ease;
}

.footer__links a:hover::before {
  width: 12px;
  margin-right: 6px;
}

.footer__office-label {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.footer__contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--teal);
  margin-top: 3px;
}

.footer__bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  letter-spacing: 0.04em;
}

.footer__bottom .footer__sig {
  font-family: var(--font-heading);
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  letter-spacing: 0;
}

/* ==========================================================================
   PAGE SIMPLE (error, newsletter confirm)
   ========================================================================== */
.page-simple {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.page-simple__inner {
  max-width: 540px;
  text-align: center;
}

.page-simple__icon {
  font-family: var(--font-heading);
  font-size: 96px;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.page-simple h1 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 14px;
}

.page-simple p {
  color: var(--ink-2);
  font-size: 16px;
  margin: 0 0 28px;
}

/* ==========================================================================
   EMPTY STATE
   ========================================================================== */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--muted);
}

.empty-state svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  color: var(--teal);
}

.empty-state p {
  font-size: 15px;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.fade-up {
  animation: fadeUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-links {
    gap: 18px;
  }
  .nav-links a {
    font-size: 12.5px;
  }
}
@media (max-width: 1024px) {
  /* Hero grid stays 2-col on tablet — stacking moved to the mobile tier in _hero.scss. */
  .features {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }
  .feature:nth-child(2) {
    border-right: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-row {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 16px;
  }
  .strip-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 16px;
  }
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .grid--3, .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
  .hero-copy h1 {
    font-size: 44px;
  }
  .about h2, .services-head h2, .section__header h2 {
    font-size: 32px;
  }
  .page-header h1 {
    font-size: 36px;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .feature {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
  }
  .feature:last-child {
    border-bottom: none;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .partners-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .strip-row {
    grid-template-columns: 1fr;
  }
  .services-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .grid--2, .grid--3, .grid--4 {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .salon-gallery {
    grid-template-columns: 1fr;
  }
}
/* Tablet only — smaller section headings so long titles like
   "Kolekcje od najlepszych producentów" don't dominate the narrower layout.
   Desktop and phone sizes are left untouched. */
@media (min-width: 561px) and (max-width: 1024px) {
  .about h2, .about-text h2,
  .services-head h2,
  .section__header h2,
  .offer-page .services-head h2,
  .offer-page .about-text h2,
  .offer-page .section__header h2 {
    font-size: 26px;
    line-height: 1.18;
  }
  /* the left-right editorial photos stack on top on tablet — give them ~⅓
     more room so they read as a proper hero, not a thin strip */
  .about-photo {
    max-width: 720px;
    height: 400px;
  }
  .offer-tabs__media {
    max-width: 720px;
  }
}
/* ==========================================================================
   BOOKING — multistep "Umów badanie" form
   ========================================================================== */
.booking-section {
  padding: 60px 0 110px;
}

.booking {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  background: var(--paper-pure);
  border: 0;
  border-radius: 22px;
  padding: 64px 80px 72px;
  box-shadow: 0 32px 72px -32px rgba(31, 42, 46, 0.16);
}

/* ── Progress bar ─────────────────────────────────────────────────────── */
.booking-progress {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  counter-reset: bp;
}

.booking-progress::before,
.booking-progress::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}

.booking-progress::after {
  background: var(--teal);
  right: auto;
  width: calc((var(--booking-step, 1) - 1) * 25%);
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-progress__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.booking-progress__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--paper-pure);
  border: 2px solid var(--line);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s ease;
}

.booking-progress__step.is-done .booking-progress__num {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.booking-progress__step.is-done .booking-progress__num::before {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.booking-progress__step.is-done .booking-progress__num {
  font-size: 0;
}

.booking-progress__step.is-active .booking-progress__num {
  background: var(--teal-soft);
  border-color: var(--teal);
  color: var(--teal-deep);
  box-shadow: 0 0 0 6px rgba(42, 157, 154, 0.12);
}

.booking-progress__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}

.booking-progress__step.is-active .booking-progress__label,
.booking-progress__step.is-done .booking-progress__label {
  color: var(--teal-deep);
}

/* ── Steps (animated swap) ────────────────────────────────────────────── */
.booking-form {
  position: relative;
}

.booking-step {
  border: 0;
  margin: 0;
  padding: 0;
  display: none;
  opacity: 0;
  transform: translateX(28px);
  animation: none;
}

.booking-step.is-active {
  display: block;
  animation: booking-slide-in 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.booking-step.is-leaving {
  display: block;
  animation: booking-slide-out 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}

@keyframes booking-slide-in {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes booking-slide-out {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-28px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .booking-step.is-active, .booking-step.is-leaving {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
.booking-step__head {
  margin-bottom: 28px;
}

.booking-step__hint {
  color: var(--teal);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.booking-step__hint::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--teal);
  display: inline-block;
}

.booking-step__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 10px;
}

.booking-step__lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 56ch;
}

/* ── Step 1: salon cards ──────────────────────────────────────────────── */
.booking-salons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.booking-salon-card {
  position: relative;
  cursor: pointer;
  display: block;
}

.booking-salon-card input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.booking-salon-card__inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper-pure);
  transition: all 0.2s ease;
  cursor: pointer;
}

.booking-salon-card:hover .booking-salon-card__inner {
  border-color: var(--teal);
  background: var(--teal-soft);
  transform: translateY(-1px);
}

.booking-salon-card input:checked + .booking-salon-card__inner {
  border-color: var(--teal);
  background: var(--teal-soft);
  box-shadow: 0 0 0 3px rgba(42, 157, 154, 0.15);
}

.booking-salon-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.booking-salon-card__city {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.1;
  color: var(--ink);
}

.booking-salon-card__check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s ease;
}

.booking-salon-card__check svg {
  width: 12px;
  height: 12px;
}

.booking-salon-card input:checked + .booking-salon-card__inner .booking-salon-card__check {
  opacity: 1;
  transform: scale(1);
}

.booking-salon-card__addr,
.booking-salon-card__phone {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}

.booking-salon-card__phone {
  color: var(--muted);
  font-size: 12.5px;
}

/* ── Step 2: date + slot ──────────────────────────────────────────────── */
.booking-grid {
  display: grid;
  gap: 22px;
  margin-bottom: 22px;
}

/* minmax(0, 1fr) so columns can shrink past min-content — without this,
   iOS Safari's native date picker chrome forces the column wider than its
   share and overlaps the neighbouring input. */
.booking-grid--two {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.booking-grid .form-group {
  margin: 0;
  min-width: 0;
}

.booking-grid input[type=date],
.booking-grid input[type=text],
.booking-grid input[type=email],
.booking-grid input[type=tel] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper-pure);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

/* The native date-picker icon (Chromium/Safari) — keep it visible without
   eating into the input's content area. */
.booking-grid input[type=date]::-webkit-calendar-picker-indicator {
  margin-left: 6px;
  opacity: 0.6;
}

.booking-grid input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 154, 0.15);
}

.booking-slots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.booking-slot {
  position: relative;
  cursor: pointer;
}

.booking-slot input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.booking-slot__inner {
  display: block;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper-pure);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.booking-slot:hover .booking-slot__inner {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.booking-slot input:checked + .booking-slot__inner {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-weight: 600;
  box-shadow: 0 0 0 3px rgba(42, 157, 154, 0.15);
}

/* Disabled slot — salon doesn't open during this slot for the chosen day. */
.booking-slot.is-disabled {
  cursor: not-allowed;
}

.booking-slot.is-disabled .booking-slot__inner {
  opacity: 0.45;
  background: transparent;
  border-style: dashed;
  color: var(--muted);
}

.booking-slot.is-disabled:hover .booking-slot__inner {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.booking-slot__hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.4;
}

input[data-booking-date][aria-invalid=true] {
  border-color: var(--color-error) !important;
}

.booking-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--cream);
  border-left: 3px solid var(--teal);
  border-radius: 4px;
  margin-bottom: 24px;
}

.booking-notice svg {
  width: 20px;
  height: 20px;
  color: var(--teal-deep);
  flex-shrink: 0;
  margin-top: 1px;
}

.booking-notice p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ── Step 3: contact info ─────────────────────────────────────────────── */
.booking-grid .form-group--wide {
  grid-column: 1/-1;
}

.booking-grid label,
.booking-form .form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

/* ── Step 4: summary + notes + consent ────────────────────────────────── */
.booking-summary {
  list-style: none;
  margin: 0 0 24px;
  padding: 24px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-summary li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: baseline;
}

.booking-summary li span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.booking-summary li strong {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}

.booking-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper-pure);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booking-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 154, 0.15);
}

.booking-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 18px 0 6px;
  cursor: pointer;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.booking-consent input[type=checkbox] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--teal);
  cursor: pointer;
}

/* ── Action row ──────────────────────────────────────────────────────── */
.booking-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.booking-actions .btn {
  padding: 12px 22px;
  font-size: 13.5px;
}

.booking-actions .btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.booking-actions .btn-ghost svg {
  width: 16px;
  height: 16px;
}

/* ── Success state ───────────────────────────────────────────────────── */
.booking-success {
  text-align: center;
  padding: 32px 0 12px;
}

.booking-success__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  color: var(--teal);
}

.booking-success__icon svg {
  width: 100%;
  height: 100%;
}

.booking-success__check {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: booking-check-draw 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.15s;
}

@keyframes booking-check-draw {
  to {
    stroke-dashoffset: 0;
  }
}
.booking-success h2 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 12px;
}

.booking-success p {
  margin: 0 auto 8px;
  max-width: 56ch;
  color: var(--ink-2);
  line-height: 1.65;
}

.booking-success__ref {
  margin-top: 12px !important;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--teal-deep);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.booking-success .btn {
  margin-top: 24px;
}

/* ── Tablet & below ───────────────────────────────────────────────────── */
/* iPad portrait (768) and smaller — stack the two-column grid so the
   date picker and slot list each get full width. Two-col was cramped at
   that width and pushed the iOS native date chrome into the slot column. */
@media (max-width: 900px) {
  .booking-grid--two {
    grid-template-columns: 1fr;
  }
}
/* ── Mobile ──────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .booking {
    padding: 28px 22px;
    border-radius: 0;
  }
  .booking-progress__label {
    font-size: 9.5px;
  }
  .booking-progress__num {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .booking-step__title {
    font-size: 26px;
  }
  .booking-summary li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .booking-summary li strong {
    font-size: 14px;
  }
  .booking-actions {
    flex-direction: column-reverse;
  }
  .booking-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .booking-actions .btn[data-step-prev] {
    background: transparent;
  }
}
/* (Fading section divider hairlines removed — section transitions are now
   handled by the linear-gradient feathering in each section's bg, restored
   per user feedback for a softer cross-panel look.) */
