/* ═══════════════════════════════════════════════════════════════
   ONYX BARBERSHOP — hex / ink-minimalist system
   Black, white, steel gray. Hexagon is the only container for
   photos and iconography on the site. No top nav bar.
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  /* surfaces */
  --c-bg:        #000000;
  --c-bg2:       #0D0D0D;
  --c-bg3:       #171717;
  --c-surface:   #111111;
  --c-border:    rgba(245,244,240,0.16);
  --c-border-strong: rgba(245,244,240,0.34);
  --c-dark:      #000000;
  --c-dark2:     #0D0D0D;
  --c-dark3:     #171717;

  /* ink / paper / accent */
  --c-red:       #F2F1EE;   /* primary action fill — paper white */
  --c-red-dark:  #D8D8D6;   /* primary hover — pale steel-white */
  --c-gold:      #8C8C8C;   /* steel gray accent */
  --c-gold-light:#B5B5B5;   /* bright gray, hover / emphasis */
  --c-text:      #F2F1EE;
  --c-muted:     #B8B8B4;
  --c-light:     #8C8C88;
  --c-white:     #FFFFFF;
  --c-error:     #E2604B;

  --r:           2px;
  --r-lg:        3px;
  --transition:  0.3s cubic-bezier(.4,0,.2,1);
  --shadow:      0 24px 64px rgba(0,0,0,0.55);

  --font-display: 'Anton', sans-serif;
  --font-body:    'Archivo', sans-serif;

  --hex-clip: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  --hexw: 172px;
  --hexh: 149px;

  --c-on-primary: #0A0A0A;
  --c-hover-tint: rgba(140,140,140,0.08);
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

#about, #services, #contact, #kariera { scroll-margin-top: 40px; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
svg { display: block; }

/* ─── UTILITIES ─── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 640px; }
.hidden { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.section { padding: 7rem 0; }
.section--light { background-color: var(--c-bg2); }
.section--dark { background: var(--c-dark); color: var(--c-white); }
.section--dark .section__eyebrow { color: var(--c-gold); }
.section--dark .section__title   { color: var(--c-white); }

.section__eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section__eyebrow::before { content:''; display:inline-block; width: 18px; height: 1px; background: var(--c-gold); }
.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
  color: var(--c-text);
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1rem;
}
.section__head .section__title { margin-bottom: 0; }
.section__head > div { display: flex; flex-direction: column; }

/* ─── HEX PRIMITIVE ───
   .hex        — bordered tile (background = border color, padding reveals ring)
   .hex__inner — the actual clipped content surface
──────────────────────── */
.hex {
  --hw: var(--hexw);
  --hh: var(--hexh);
  width: var(--hw);
  height: var(--hh);
  clip-path: var(--hex-clip);
  background: var(--c-border-strong);
  padding: 2px;
  flex-shrink: 0;
  transition: background var(--transition);
}
.hex__inner {
  width: 100%;
  height: 100%;
  clip-path: var(--hex-clip);
  background: #000;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hex-photo { width: 100%; height: 100%; }
.hex-photo .hex__inner { background: var(--c-bg3); }
.hex-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.6s ease;
}
.hex-photo:hover img { transform: scale(1.07); }

/* small hex icon badge, used inline with text (services list, cards) */
.hexicon {
  width: 44px; height: 38px;
  clip-path: var(--hex-clip);
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hexicon svg { width: 20px; height: 20px; stroke: var(--c-gold); fill: none; stroke-width: 1.5; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
  will-change: transform;
}

.btn--cta, .btn--cta-sm, .btn--nav, .btn--primary {
  background: var(--c-red);
  color: var(--c-on-primary);
  border-radius: var(--r);
}
.btn--cta { padding: 0.95rem 1.75rem; font-size: 0.92rem; }
.btn--cta:hover, .btn--cta-sm:hover, .btn--nav:hover, .btn--primary:hover {
  background: var(--c-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.5);
}
.btn--cta-sm { padding: 0.65rem 1.3rem; font-size: 0.85rem; }
.btn-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: rgba(10,10,10,0.14);
  border-radius: 50%;
  font-size: 0.82rem;
  flex-shrink: 0;
  transition: background var(--transition);
}
.btn--nav { padding: 0.55rem 1.3rem; font-size: 0.8rem; }
.btn--primary { padding: 0.8rem 1.9rem; font-size: 0.92rem; }
.btn--primary:disabled { opacity: 0.32; cursor: not-allowed; transform: none; box-shadow:none; }

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--c-gold);
  color: var(--c-gold);
  padding: 0.65rem 1.5rem;
  font-size: 0.85rem;
  border-radius: var(--r);
}
.btn--outline:hover { background: var(--c-gold); color: var(--c-on-primary); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.35); }

.btn--ghost {
  background: transparent;
  border: 1.5px solid var(--c-border);
  color: var(--c-muted);
  padding: 0.7rem 1.4rem;
  font-size: 0.88rem;
  border-radius: var(--r);
}
.btn--ghost:hover { border-color: var(--c-text); color: var(--c-text); transform: translateY(-2px); }

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--c-bg), 0 0 0 4px var(--c-gold);
}

.btn--lg {
  background: var(--c-red);
  color: var(--c-on-primary);
  padding: 1rem 2.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--r);
  letter-spacing: 0.06em;
  box-shadow: 0 4px 24px rgba(242,241,238,0.16);
}
.btn--lg:hover {
  background: var(--c-gold);
  color: var(--c-on-primary);
  box-shadow: 0 10px 32px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}

/* ─── INTRO / HEX NAV (first viewport) ─── */
.intro {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg);
  overflow: hidden;
}
.intro__stage {
  --stage-size: min(92vw, 92dvh, 1100px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--stage-size);
  height: var(--stage-size);
}
.intro__logo {
  position: relative;
  z-index: 2;
  width: min(92%, 1120px);
  height: auto;
  opacity: 0;
  transform: scale(0.88);
  animation: logoIn 1.1s cubic-bezier(.16,1,.3,1) 0.15s forwards;
}
@keyframes logoIn { to { opacity: 1; transform: scale(1); } }

/* Abstract corner washes: bloom in the middle distance, fading out both
   toward the logo (inner edge) and toward the far corner/edges (outer
   edge) so there's no hard rectangle anywhere -- just a soft glow that
   reads as part of the background. */
.intro__bg-abstract {
  position: absolute;
  z-index: 0;
  width: min(95vw, 1500px);
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}
.intro__bg-abstract--tl {
  top: 0;
  left: 0;
  mask-image: radial-gradient(circle at bottom right, transparent 0%, white 82%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at bottom right, transparent 0%, white 82%, transparent 100%);
}
.intro__bg-abstract--br {
  bottom: 0;
  right: 0;
  mask-image: radial-gradient(circle at top left, transparent 0%, white 82%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at top left, transparent 0%, white 82%, transparent 100%);
}

.intro__bg-flourish {
  position: absolute;
  z-index: 0;
  width: min(65vw, 1050px);
  height: auto;
  fill: none;
  stroke: rgba(255,255,255,0.16);
  stroke-width: 1.5;
  stroke-linecap: round;
  pointer-events: none;
  mask-image: linear-gradient(to right, white 0%, white 40%, transparent 95%);
  -webkit-mask-image: linear-gradient(to right, white 0%, white 40%, transparent 95%);
}
.intro__bg-flourish--tl { top: 0; left: 0; }
.intro__bg-flourish--br { bottom: 0; right: 0; transform: rotate(180deg); }

/* Flat-top hex-grid tiling with a small gap: columns spaced horizontally
   by 0.75 * hexw (plus a gap), the a/b columns offset vertically by half
   a hex height (plus half the gap) so they stay evenly separated instead
   of touching. */
.intro__cluster {
  --intro-gap: 16px;
  position: absolute;
  z-index: 2;
  width: calc(var(--hexw) * 1.75 + var(--intro-gap));
  height: calc(var(--hexh) * 2 + var(--intro-gap));
}
.intro__cluster--tr { top: 4%; right: 1%; }
.intro__tile {
  position: absolute;
  width: var(--hexw);
  height: var(--hexh);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform var(--transition);
}
.intro__tile:hover { transform: scale(1.06); }
.intro__tile:focus-visible { outline: none; }
.intro__tile:focus-visible .hexnav__badge { filter: drop-shadow(0 0 6px var(--c-gold)); }
.intro__tile--a  { left: 0;                                              top: calc((var(--hexh) + var(--intro-gap)) * 0.5); }
.intro__tile--b1 { left: calc(var(--hexw) * 0.75 + var(--intro-gap));    top: 0; }
.intro__tile--b2 { left: calc(var(--hexw) * 0.75 + var(--intro-gap));    top: calc(var(--hexh) + var(--intro-gap)); }

.intro__cluster--bl { bottom: 4%; left: 1%; }
.intro__tile--bl-a1 { left: 0; top: 0; }
.intro__tile--bl-a2 { left: 0; top: calc(var(--hexh) + var(--intro-gap)); }
.intro__tile--bl-b  { left: calc(var(--hexw) * 0.75 + var(--intro-gap)); top: calc((var(--hexh) + var(--intro-gap)) * 0.5); }

.hexnav__item {
  --orbit-r: calc((var(--stage-size) / 2) - (var(--hexw) / 2) - 10px);
  position: absolute;
  top: 50%; left: 50%;
  width: var(--hexw);
  height: var(--hexh);
  margin: calc(var(--hexh) / -2) 0 0 calc(var(--hexw) / -2);
  transform: rotate(var(--angle)) translateY(calc(var(--orbit-r) * -1)) rotate(calc(var(--angle) * -1));
  display: flex;
  align-items: center;
  justify-content: center;
}
.hexnav__badge {
  position: absolute;
  top: -15%; left: -15%;
  width: 130%;
  height: 130%;
  overflow: visible;
  transition: transform var(--transition), filter var(--transition);
  will-change: transform;
}
.hexnav__item:hover .hexnav__badge { transform: scale(1.08); filter: drop-shadow(0 0 6px var(--c-gold)); }
.services__item .hexnav__badge {
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.55));
}
.services__item:hover .hexnav__badge {
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.55)) drop-shadow(0 0 8px var(--c-gold));
}
.services__item .hexnav__badge use {
  stroke: rgba(0,0,0,0.55);
  stroke-width: 2;
}
.hexnav__item__label {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-on-primary);
  text-align: center;
  padding: 0 0.9rem;
  text-shadow: 0 1px 1px rgba(255,255,255,0.5), 0 2px 3px rgba(0,0,0,0.25);
}
.hexnav__item:focus-visible { outline: none; }
.hexnav__item:focus-visible .hexnav__badge { filter: drop-shadow(0 0 6px var(--c-gold)); }
/* ─── CORNER NAV (post-scroll wayfinding, no bar) ─── */
.nav {
  position: fixed;
  top: 1.5rem; left: 1.5rem;
  z-index: 200;
}
.corner-nav {
  position: relative;
  width: 58px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.nav.scrolled .corner-nav { opacity: 1; transform: translateY(0); pointer-events: auto; }
.corner-nav:focus-visible { outline: none; }
.corner-nav:focus-visible .hexnav__badge { filter: drop-shadow(0 0 6px var(--c-gold)); }
.corner-nav__arrow-icon {
  position: relative;
  z-index: 2;
  width: 18px;
  height: 18px;
  stroke: var(--c-on-primary);
  stroke-width: 2.5;
}

/* legacy hooks kept harmless (app.js no-ops if absent; unused ids removed from markup) */

/* ─── STATEMENT / ABOUT ─── */
.about.section { position: relative; overflow: hidden; padding: 8rem 0; }
.about .container { max-width: 1450px; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(380px, 560px) 1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}
.about__portrait-wrap { width: 100%; }
.about__photo { width: 100%; height: auto; display: block; }
.about__credit {
  margin-top: 1.5rem;
  text-align: center;
}
.about__credit strong { display:block; font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; letter-spacing: 0.15em; color: var(--c-text); }
.about__credit span { font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-gold); }

.about .section__eyebrow { font-size: 0.85rem; }
.about__text p {
  color: var(--c-muted);
  margin-bottom: 1.5rem;
  max-width: 800px;
  line-height: 1.9;
  font-size: 1.3rem;
}
.about__statement {
  color: var(--c-text);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.about__text .btn--cta {
  margin-top: 0.5rem;
  padding: 1.1rem 2.1rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

.about__bg-flourish {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  width: min(85vw, 1400px);
  height: auto;
  fill: none;
  stroke: rgba(255,255,255,0.14);
  stroke-width: 1.5;
  stroke-linecap: round;
  pointer-events: none;
  mask-image: linear-gradient(to right, white 0%, white 40%, transparent 95%);
  -webkit-mask-image: linear-gradient(to right, white 0%, white 40%, transparent 95%);
}
.about__bg-flourish--l { left: 0; }
.about__bg-flourish--r { right: 0; width: min(55vw, 900px); transform: translateY(-50%) rotate(180deg); }

/* ─── SERVICES (radial ring, like the intro hex nav) ─── */
.services.section { position: relative; overflow: hidden; padding: 2.5rem 0 3rem; }
.services__bg-edge {
  position: absolute;
  top: 4%;
  bottom: 4%;
  width: 2px;
  z-index: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.4) 15%, rgba(255,255,255,0.4) 85%, transparent 100%);
  pointer-events: none;
}
.services__bg-edge--l { left: 4%; }
.services__bg-edge--r { right: 4%; }
.services__header { text-align: center; margin-bottom: 1.25rem; }
.services__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--c-white);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.services__stage {
  --stage-size: min(70vw, 660px);
  --hexw: 250px;
  --hexh: 218px;
  position: relative;
  width: var(--stage-size);
  height: var(--stage-size);
  margin: 0 auto;
}
.services__ring { position: absolute; inset: 0; }
.services__bg-abstract {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 190%;
  max-width: none;
  height: auto;
  opacity: 0.75;
  pointer-events: none;
  user-select: none;
  mask-image: linear-gradient(to bottom, transparent 0%, white 18%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, white 18%);
}
.services__item__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.8rem;
  width: 100%;
  max-width: 82%;
  min-width: 0;
  box-sizing: border-box;
}
.services__item__label strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.9vw, 1.6rem);
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--c-on-primary);
  line-height: 1.2;
  max-width: 100%;
  overflow-wrap: break-word;
  text-shadow: 0 1px 1px rgba(255,255,255,0.5), 0 2px 3px rgba(0,0,0,0.25);
}
.services__item__label-sub {
  display: inline-block;
  font-size: 0.62em;
  white-space: nowrap;
}
.services__item__label em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--c-on-primary);
  background: var(--c-gold-light);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  max-width: 100%;
  white-space: nowrap;
}

/* ─── BOOKING (rezervacia.html) ─── */
.steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 2.5rem; flex-wrap: nowrap; }
.step { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 0.7rem; color: var(--c-light); font-weight: 500; flex-shrink: 0; }
.step span {
  width: 34px; height: 30px;
  clip-path: var(--hex-clip);
  border: none;
  background: var(--c-bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 600;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  color: var(--c-light);
}
.step--active span { background: var(--c-gold); color: var(--c-on-primary); }
.step--done span { background: transparent; border: 1.5px solid var(--c-gold); color: var(--c-gold); clip-path: var(--hex-clip); }
.step--active { color: var(--c-text); }
.step--done:hover span { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.35); }
.step[data-step]:focus-visible { outline: none; }
.step[data-step]:focus-visible span { box-shadow: 0 0 0 2px var(--c-bg), 0 0 0 4px var(--c-gold); }
.step__line { flex: 1; height: 1px; background: var(--c-border); margin: 0 0.5rem; margin-bottom: 14px; min-width: 30px; }

.booking-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow);
}
.book-step__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1.75rem;
  color: var(--c-text);
}
.book-step__actions { display: flex; justify-content: flex-end; gap: 0.75rem; margin-top: 2rem; }

/* legacy barber/svc-cat pickers — retained, retheme only */
.barber-grid { display: flex; flex-direction: column; gap: 0.75rem; }
.barber-btn {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--c-text);
  font-family: var(--font-body);
  text-align: left;
}
.barber-btn:hover { border-color: var(--c-gold); }
.barber-btn.selected { border-color: var(--c-gold); background: var(--c-hover-tint); }
.barber-btn:focus-visible { outline: none; border-color: var(--c-gold-light); box-shadow: 0 0 0 2px var(--c-bg), 0 0 0 4px var(--c-gold); }
.barber-btn__avatar {
  width: 48px; height: 42px;
  clip-path: var(--hex-clip);
  flex-shrink: 0;
  background-size: cover;
  background-position: center top;
}
.barber-btn__info { flex: 1; }
.barber-btn__info strong { display: block; font-size: 0.95rem; color: var(--c-text); }
.barber-btn__info span { font-size: 0.8rem; color: var(--c-light); }
.barber-btn__check {
  width: 24px; height: 21px;
  clip-path: var(--hex-clip);
  background: var(--c-bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: transparent;
  transition: all var(--transition);
}
.barber-btn.selected .barber-btn__check { background: var(--c-gold); color: var(--c-on-primary); }

.svc-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 1rem; }
.svc-cat {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 1.25rem 0.75rem;
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--c-text);
  font-family: var(--font-body);
  text-align: center;
  width: 100%;
}
.svc-cat:hover { border-color: var(--c-gold); }
.svc-cat.selected { border-color: var(--c-gold); background: var(--c-hover-tint); }
.svc-cat__icon { font-size: 1.4rem; }
.svc-cat__label { font-size: 0.88rem; font-weight: 600; color: var(--c-text); }

.svc-subs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0.5rem; padding: 0.25rem 0; }
.svc-sub {
  padding: 0.55rem 1.2rem;
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 0.88rem;
}
.svc-sub:hover { border-color: var(--c-gold); }
.svc-sub.selected { border-color: var(--c-gold); background: var(--c-gold); color: var(--c-on-primary); font-weight: 700; }

/* CALENDAR */
.calendar { user-select: none; }
.calendar__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.calendar__month { font-weight: 600; font-size: 1rem; text-transform: capitalize; color: var(--c-text); font-family: var(--font-display); }
.cal-nav {
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  border-radius: var(--r);
  width: 44px; height: 44px;
  cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.cal-nav:hover { border-color: var(--c-gold); color: var(--c-gold); transform: translateY(-2px); }
.cal-nav:focus-visible { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 2px var(--c-bg), 0 0 0 4px var(--c-gold); }
.calendar__weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr);
  text-align: center; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--c-light); margin-bottom: 0.5rem;
}
.calendar__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day {
  aspect-ratio: 1;
  border-radius: var(--r);
  border: 1px solid transparent;
  background: var(--c-bg3);
  color: var(--c-text);
  font-size: 0.88rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.cal-day:hover:not(.cal-day--disabled):not(.cal-day--empty) { background: rgba(140,140,140,0.14); border-color: var(--c-gold); transform: translateY(-1px); }
.cal-day--today { border-color: var(--c-gold); color: var(--c-gold); }
.cal-day--selected { background: var(--c-gold) !important; border-color: var(--c-gold) !important; color: var(--c-on-primary) !important; font-weight: 700; }
.cal-day--disabled {
  color: rgba(245,244,240,0.22);
  cursor: not-allowed;
  background: transparent;
  border: 1px solid var(--c-border);
  text-decoration: line-through;
}
.cal-day--empty { cursor: default; background: transparent; }
.cal-day:focus-visible { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 2px var(--c-bg), 0 0 0 4px var(--c-gold); }

/* SLOTS */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 0.6rem; }
.slot-btn {
  padding: 0.6rem;
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  color: var(--c-text);
  font-size: 0.88rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  font-weight: 500;
  text-align: center;
}
.slot-btn:hover:not(:disabled) { border-color: var(--c-gold); background: var(--c-hover-tint); transform: translateY(-2px); }
.slot-btn.selected { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-on-primary); font-weight: 700; }
.slot-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.slot-btn:focus-visible { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 2px var(--c-bg), 0 0 0 4px var(--c-gold); }
.slot-btn--taken { text-decoration: line-through; color: var(--c-light); }
.slots--empty { text-align: center; color: var(--c-light); padding: 2rem 0; font-size: 0.9rem; }

.booking-summary {
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--c-light);
  display: flex; flex-wrap: wrap; gap: 0.75rem 2rem;
}
.booking-summary strong { color: var(--c-text); }

/* CONTACT FORM */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: var(--c-muted); }
.form-group input, .form-group textarea {
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 0.7rem 0.9rem;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 0.93rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(140,140,140,0.14); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--c-light); }

/* SUCCESS */
.success { text-align: center; padding: 2rem 0; }
.success__icon {
  width: 64px; height: 56px;
  clip-path: var(--hex-clip);
  background: var(--c-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--c-on-primary);
  margin: 0 auto 1.5rem;
}
.success h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; margin-bottom: 0.75rem; color: var(--c-text); }
.success p { color: var(--c-muted); font-size: 0.93rem; margin-bottom: 2rem; line-height: 1.8; }

/* ─── LOCATION ─── */
.location { display: flex; min-height: 320px; background: var(--c-bg); }
.location__map { flex: 0 0 30%; position: relative; margin: 1.5rem; border-radius: 16px; overflow: hidden; }
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.location__info { flex: 1.1; background: var(--c-bg); padding: 2rem 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.location__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
.location__reviews-btn { margin-top: 1.25rem; align-self: flex-start; border-radius: 12px; }
.location__career {
  position: relative;
  flex: 0 0 26%;
  background: var(--c-bg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.location__career::before {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.4) 25%, rgba(255,255,255,0.4) 75%, transparent 100%);
}
.location__career-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--c-white);
  margin-bottom: 0.4rem;
}
.location__career-text {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--c-muted);
  margin-bottom: 0.7rem;
}
.location__career-form { display: flex; flex-direction: column; gap: 0.55rem; }
.location__career-row { display: flex; gap: 0.5rem; }
.location__career-row input,
.location__career-form textarea {
  flex: 1;
  width: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-size: 0.8rem;
  color: var(--c-white);
  font-family: var(--font-body);
}
.location__career-row input::placeholder,
.location__career-form textarea::placeholder { color: var(--c-light); }
.location__career-form textarea { resize: none; }
.location__career-submit { align-self: flex-start; padding: 0.55rem 1.2rem; font-size: 0.82rem; border-radius: var(--r); }
.location__col h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.location__col p { font-size: 1.2rem; color: var(--c-white); line-height: 1.6; font-weight: 500; margin-bottom: 0.15rem; }
.location__col p a { color: var(--c-white); text-decoration: none; transition: color var(--transition); font-weight: 500; }
.location__col p a:hover { color: var(--c-gold-light); }
.location__instagram-link { color: var(--c-white); text-decoration: none; font-size: 1.2rem; font-weight: 500; transition: color var(--transition); }
.location__instagram-link:hover { color: var(--c-gold-light); }

/* ─── SECTION DIVIDER (soft curved rule between sections) ─── */
.section-divider { width: 100%; line-height: 0; background: var(--c-bg); }
.section-divider svg {
  display: block;
  width: 100%;
  height: 48px;
  fill: none;
  stroke: rgba(255,255,255,0.45);
  stroke-width: 2.5;
}

/* ─── FOOTER ─── */
.footer { background: var(--c-bg); border-top: 1px solid var(--c-border); }
.footer__main { display: flex; justify-content: space-between; align-items: center; padding: 3rem 0 2.5rem; gap: 2rem; }
.footer__mark { width: 46px; height: 40px; clip-path: var(--hex-clip); background:#000; display:flex; align-items:center; justify-content:center; }
.footer__mark img { width: 24px; height: auto; filter: brightness(0) invert(1); }
.footer__links { list-style: none; display: flex; gap: 1.5rem; }
.footer__links a { color: var(--c-muted); text-decoration: none; font-size: 0.85rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--c-gold); }
.footer__social a { color: var(--c-muted); text-decoration: none; font-size: 0.85rem; transition: color var(--transition); }
.footer__social a:hover { color: var(--c-gold); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem;
  border-top: 1px solid var(--c-border); padding: 1.25rem 0; font-size: 0.76rem; color: var(--c-light);
}
.admin-link { color: rgba(245,244,240,0.22); font-size: 0.72rem; transition: color var(--transition); }
.admin-link:hover { color: var(--c-muted); }

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  .intro__logo { animation: none; opacity: 1; transform: scale(1); }
  .hex-photo img { transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── COOKIE BANNER ─── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: 1.1rem 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  z-index: 9999;
  box-shadow: 0 -12px 40px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}
.cookie-banner.hidden { transform: translateY(110%); }
.cookie-banner__text strong { display: block; font-size: 0.88rem; color: var(--c-text); margin-bottom: 0.2rem; }
.cookie-banner__text p { font-size: 0.8rem; color: var(--c-light); margin: 0; }
.cookie-banner__text a { color: var(--c-gold); }
.cookie-banner__actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__portrait-wrap { max-width: 280px; margin: 0 auto; }
  .location { flex-direction: column; }
  .location__map { flex: none; height: 260px; margin: 1.5rem 1.5rem 0; }
  .location__info { padding: 2rem 1.5rem; }
  .location__career { flex: none; }
  .location__career::before {
    top: 0; bottom: auto; left: 10%; right: 10%; width: auto; height: 2px;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.4) 25%, rgba(255,255,255,0.4) 75%, transparent 100%);
  }
}

@media (max-width: 768px) {
  :root { --hexw: 108px; --hexh: 94px; }
  .services__stage { --stage-size: min(90vw, 480px); --hexw: 140px; --hexh: 122px; }
  .nav { top: 1rem; left: 1rem; }
  .location__cols { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
  .footer__main { flex-direction: column; gap: 1.25rem; text-align: center; }
  .booking-card { padding: 1.5rem 1.25rem; }
  .steps { gap: 0; }
  .step { font-size: 0.72rem; }
  .step__line { min-width: 12px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 1.25rem; }
  .cal-day { min-height: 44px; font-size: 0.9rem; }
  .slot-btn { min-height: 48px; padding: 0.75rem 0.5rem; font-size: 0.9rem; }
  .btn--primary { padding: 0.9rem 1.75rem; font-size: 1rem; min-height: 50px; }
  .btn--ghost { padding: 0.9rem 1.25rem; font-size: 0.95rem; min-height: 50px; }
  .booking-summary { flex-direction: column; gap: 0.5rem; }
  .intro__tile .hexnav__badge {
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.22)) drop-shadow(0 8px 20px rgba(0,0,0,0.6));
  }
}

@media (max-width: 480px) {
  :root { --hexw: 92px; --hexh: 80px; }
  .services__stage { --stage-size: min(90vw, 372px); --hexw: 140px; --hexh: 122px; }
  .services__item__label { padding: 0 0.4rem; gap: 0.2rem; max-width: 76%; }
  .services__item__label strong { font-size: 0.95rem; letter-spacing: 0.02em; }
  .services__item__label em { font-size: 0.66rem; padding: 0.12rem 0.4rem; }
  .intro__logo { width: min(100%, 540px); }
  .intro__bg-abstract { width: min(180vw, 900px); }
  .hexnav__item__label { font-size: 0.7rem; letter-spacing: 0.1em; }
  .location__cols { grid-template-columns: 1fr; gap: 1.25rem; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .svc-cats { grid-template-columns: 1fr; }
  .barber-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .services__stage { --stage-size: min(100vw, 316px); --hexw: 118px; --hexh: 102px; }
  .services__item__label { max-width: 74%; }
  .services__item__label strong { font-size: 0.86rem; }
  .services__item__label em { font-size: 0.6rem; padding: 0.1rem 0.35rem; }
}

/* Tablet portrait (e.g. iPad 769–940px) — the desktop stage/hex ratio
   (min(70vw,660px) stage vs 250px hex) overlaps in this width range,
   so give it its own safe ratio without touching phone or desktop.
   (940px is where the desktop formula becomes safe again on its own.) */
@media (min-width: 769px) and (max-width: 940px) {
  .services__stage { --stage-size: min(75vw, 640px); --hexw: 210px; --hexh: 183px; }
}
