/*
Theme Name: SZYJA Hair Academy
Theme URI: https://olekcodetech.pl
Author: OlekCodeTech.pl
Author URI: https://olekcodetech.pl
Description: Ekskluzywny, monochromatyczny, edytorialowy motyw WordPress + WooCommerce dla SZYJA Hair Academy (salon fryzjerski i akademia koloryzacji, Wrocław). Odwzorowanie design systemu 1:1.
Version: 1.3.1
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: szyja
WC requires at least: 7.0
WC tested up to: 9.4
*/

/* ============================================================
   SZYJA HAIR ACADEMY — DESIGN TOKENS
   Strictly monochrome editorial. All colour comes from imagery.
   ============================================================ */
:root {
  /* ---- Core ink + paper ---- */
  --ink: #0A0A0A;
  --ink-pure: #000000;
  --paper: #FFFFFF;
  --bone: #F6F4F1;

  /* ---- Neutral grey scale ---- */
  --grey-50: #F4F4F3;
  --grey-100: #EAE9E7;
  --grey-200: #DAD9D6;
  --grey-300: #C2C1BD;
  --grey-400: #9C9B97;
  --grey-500: #797874;
  --grey-600: #565552;
  --grey-700: #3C3B39;
  --grey-800: #262524;
  --grey-900: #161513;

  /* ---- Warm neutral (sand) ---- */
  --sand-100: #EFE9E1;
  --sand-300: #D8CCBC;
  --sand-500: #B8A88F;

  /* ---- Status ---- */
  --positive: #2E6F50;
  --negative: #9B2C2C;
  --info: #0A0A0A;

  /* ---- Semantic surfaces ---- */
  --surface-page: var(--paper);
  --surface-page-warm: var(--bone);
  --surface-inverse: var(--ink-pure);
  --surface-card: var(--paper);
  --surface-muted: var(--grey-50);
  --surface-sunken: var(--grey-100);

  /* ---- Text ---- */
  --text-strong: var(--ink-pure);
  --text-body: var(--ink);
  --text-muted: var(--grey-500);
  --text-faint: var(--grey-400);
  --text-on-inverse: #FFFFFF;
  --text-on-inverse-muted: rgba(255,255,255,0.62);

  /* ---- Lines ---- */
  --line: var(--grey-200);
  --line-strong: var(--ink);
  --line-on-inverse: rgba(255,255,255,0.18);

  /* ---- Buttons ---- */
  --btn-ink: var(--ink-pure);
  --btn-ink-hover: var(--grey-800);
  --btn-on-ink: #FFFFFF;

  /* ---- Typography families ---- */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-logo: 'Jost', 'Futura', 'Century Gothic', sans-serif;

  /* ---- Weights ---- */
  --fw-light: 300; --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600;
  --fw-bold: 700; --fw-extra: 800; --fw-black: 900;

  /* ---- Fluid display scale ---- */
  --text-mega: clamp(4rem, 13vw, 12rem);
  --text-display: clamp(3rem, 8vw, 6.5rem);
  --text-h1: clamp(2.25rem, 5vw, 4rem);
  --text-h2: clamp(1.75rem, 3.4vw, 2.75rem);
  --text-h3: clamp(1.35rem, 2.2vw, 1.75rem);
  --text-h4: 1.25rem;

  /* ---- Body + UI ---- */
  --text-lead: 1.3125rem;
  --text-body-size: 1.0625rem;
  --text-sm: 0.9375rem;
  --text-xs: 0.8125rem;
  --text-label: 0.6875rem;

  /* ---- Line heights ---- */
  --lh-tight: 0.92; --lh-snug: 1.08; --lh-normal: 1.5; --lh-relaxed: 1.7;

  /* ---- Letter spacing ---- */
  --ls-mega: -0.04em; --ls-tight: -0.02em; --ls-normal: 0em;
  --ls-label: 0.22em; --ls-logo: 0.16em; --ls-wide: 0.08em;

  /* ---- Spacing scale (8px) ---- */
  --space-0: 0; --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem; --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem;
  --space-8: 4rem; --space-9: 6rem; --space-10: 8rem; --space-11: 11rem;

  --section-y: clamp(4rem, 10vw, 9rem);
  --section-x: clamp(1.25rem, 5vw, 5rem);

  --container-prose: 44rem;
  --container-text: 60rem;
  --container: 80rem;
  --container-wide: 96rem;

  --grid-gap: clamp(1rem, 2.5vw, 2rem);

  /* ---- Radii ---- */
  --radius-0: 0; --radius-xs: 2px; --radius-sm: 4px;
  --radius-md: 8px; --radius-lg: 14px; --radius-pill: 999px;

  /* ---- Shadows ---- */
  --shadow-none: none;
  --shadow-xs: 0 1px 2px rgba(10,10,10,0.05);
  --shadow-sm: 0 2px 8px rgba(10,10,10,0.06);
  --shadow-md: 0 10px 30px -12px rgba(10,10,10,0.18);
  --shadow-lg: 0 28px 60px -24px rgba(10,10,10,0.28);
  --shadow-focus: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.30, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 160ms; --dur-base: 260ms; --dur-slow: 480ms; --dur-reveal: 800ms;

  --blur-panel: saturate(120%) blur(16px);
  --z-base: 1; --z-sticky: 100; --z-header: 200; --z-overlay: 800; --z-modal: 900; --z-toast: 1000;
}

/* ============================================================
   BASE LAYER
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body-size);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--ink); color: var(--paper); }
img, video { max-width: 100%; display: block; height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: var(--fw-black);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

/* ---- Editorial lockups ---- */
.szyja-mega {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: var(--text-mega); line-height: var(--lh-tight);
  letter-spacing: var(--ls-mega); text-transform: uppercase; color: var(--text-strong);
}
.szyja-display {
  font-family: var(--font-display); font-weight: var(--fw-black);
  font-size: var(--text-display); line-height: var(--lh-tight);
  letter-spacing: var(--ls-mega); text-transform: uppercase;
}

/* ---- Eyebrow ---- */
.szyja-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-sans); font-size: var(--text-label); font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--text-muted);
}
.szyja-eyebrow__num { color: var(--text-faint); }
.szyja-eyebrow__rule { width: 40px; height: 1px; background: currentColor; opacity: 0.4; }
.szyja-eyebrow--inverse { color: rgba(255,255,255,0.7); }
.szyja-eyebrow--inverse .szyja-eyebrow__num { color: rgba(255,255,255,0.4); }
.szyja-eyebrow--ink { color: var(--ink-pure); }

/* ---- Logo lockup ---- */
.szyja-logo {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-logo); font-weight: var(--fw-regular);
  text-transform: uppercase; color: var(--ink-pure); line-height: 1; white-space: nowrap;
  font-size: 17px;
}
.szyja-logo--lg { font-size: 20px; }
.szyja-logo--inverse { color: #fff; }
.szyja-logo__mark { font-size: 1.55em; letter-spacing: var(--ls-logo); }
.szyja-logo__slash { font-weight: var(--fw-light); font-size: 1.7em; transform: skewX(-6deg); opacity: 0.85; margin: 0 0.05em; }
.szyja-logo__sub { font-size: 0.66em; letter-spacing: 0.12em; line-height: 1.02; text-align: left; }

/* ---- Layout helpers ---- */
.szyja-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--section-x); }
.szyja-container--wide { max-width: var(--container-wide); }
.szyja-container--text { max-width: var(--container-text); }
.szyja-rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.szyja-rule--ink { border-top-color: var(--ink); }

.szyja-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--ink-pure); color: #fff; padding: 12px 20px; font-size: 13px;
}
.szyja-skip-link:focus { left: 8px; top: 8px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.szyja-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 24px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  letter-spacing: var(--ls-wide); text-transform: uppercase; line-height: 1;
  border-radius: var(--radius-sm); cursor: pointer; white-space: nowrap;
  border: 1px solid var(--ink-pure); background: var(--ink-pure); color: #fff;
  transition: background var(--dur-base) var(--ease-std), color var(--dur-base) var(--ease-std),
              border-color var(--dur-base) var(--ease-std), transform var(--dur-fast) var(--ease-std);
}
.szyja-btn:hover { background: var(--grey-800); border-color: var(--grey-800); color: #fff; }
.szyja-btn:active { transform: translateY(1px); }
.szyja-btn--sm { height: 36px; padding: 0 16px; font-size: 12px; }
.szyja-btn--lg { height: 56px; padding: 0 34px; font-size: 14px; }
.szyja-btn--full { width: 100%; }

.szyja-btn--secondary { background: transparent; color: var(--ink-pure); border-color: var(--ink); }
.szyja-btn--secondary:hover { background: var(--ink-pure); color: #fff; }
.szyja-btn--ghost { background: transparent; color: var(--ink-pure); border-color: transparent; }
.szyja-btn--ghost:hover { background: var(--grey-50); color: var(--ink-pure); }
.szyja-btn--inverse { background: #fff; color: var(--ink-pure); border-color: #fff; }
.szyja-btn--inverse:hover { background: transparent; color: #fff; }
.szyja-btn[disabled], .szyja-btn.disabled { opacity: 0.4; cursor: not-allowed; }
.szyja-btn__icon { display: inline-flex; font-size: 1.15em; }

/* ============================================================
   BADGE
   ============================================================ */
.szyja-badge {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px;
  font-family: var(--font-sans); font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; border-radius: var(--radius-xs); line-height: 1; white-space: nowrap;
  background: var(--ink-pure); color: #fff; border: 1px solid var(--ink-pure);
}
.szyja-badge--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.szyja-badge--muted { background: var(--grey-100); color: var(--grey-700); border-color: transparent; }
.szyja-badge--inverse { background: #fff; color: var(--ink-pure); border-color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.szyja-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--paper); border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-base) var(--ease-std);
}
.szyja-header.is-scrolled { box-shadow: var(--shadow-sm); }
.szyja-header__inner {
  max-width: var(--container-wide); margin: 0 auto;
  padding: 0 var(--section-x); height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.szyja-nav { display: flex; gap: 30px; align-items: center; }
.szyja-navlink {
  position: relative; font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink); white-space: nowrap;
}
.szyja-navlink::after {
  content: ''; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0;
  background: var(--ink); transition: width var(--dur-base) var(--ease-out);
}
.szyja-navlink:hover::after { width: 100%; }
.szyja-header__actions { display: flex; align-items: center; gap: 16px; }
.szyja-icon-link { display: inline-flex; align-items: center; color: var(--ink); position: relative; }
.szyja-cart-count {
  position: absolute; top: -7px; right: -8px; min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--ink-pure); color: #fff; font-size: 10px; font-weight: 700; border-radius: 999px;
  display: grid; place-items: center;
}
.szyja-burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--ink); }
.szyja-mobile-menu { display: none; background: var(--paper); border-top: 1px solid var(--line); padding: 12px 0; }
.szyja-mobile-menu.is-open { display: block; }
.szyja-mobile-menu a:not(.szyja-btn) {
  display: block; padding: 13px var(--section-x); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
}
.szyja-mobile-menu .szyja-btn { margin: 12px var(--section-x); width: calc(100% - 2 * var(--section-x)); color: #fff; }
.szyja-mobile-menu .szyja-btn:hover { color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.szyja-hero { position: relative; background: var(--paper); }
.szyja-hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 77px); align-items: stretch; }
.szyja-hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem,6vw,6rem) clamp(1.5rem,5vw,5.5rem) clamp(2.5rem,6vw,5rem);
}
.szyja-hero-h1 {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.04em; line-height: 0.9; color: var(--ink-pure); margin: 22px 0 0;
  font-size: clamp(2.4rem, 5.4vw, 5rem);
}
.szyja-hero-lead {
  margin-top: 26px; max-width: 44ch; font-size: var(--text-lead); line-height: 1.5;
  color: var(--text-muted); font-weight: 400;
}
.szyja-hero-cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.szyja-hero-stats {
  margin-top: clamp(2.5rem,5vw,4rem); display: flex; align-items: center;
  gap: clamp(1.5rem,4vw,3rem); flex-wrap: wrap;
}
.szyja-stat-num {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(1.7rem,3vw,2.6rem);
  letter-spacing: -0.02em; color: var(--ink-pure); display: flex; align-items: center; gap: 7px;
}
.szyja-stat-label { margin-top: 4px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); }
.szyja-stat-sep { width: 1px; align-self: stretch; min-height: 48px; background: var(--line); }
.szyja-hero-media { position: relative; overflow: hidden; background: var(--bone); min-height: 52vh; }
.szyja-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

/* ============================================================
   IMAGE ZOOM + REVEAL
   ============================================================ */
.szyja-zoomwrap { overflow: hidden; }
.szyja-zoom { transition: transform var(--dur-slow) var(--ease-out); }
.szyja-zoomwrap:hover .szyja-zoom { transform: scale(1.05); }

.szyja-reveal { opacity: 1; transform: none; }
html.szyja-anim .szyja-reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out);
}
html.szyja-anim .szyja-reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   ABOUT
   ============================================================ */
.szyja-about { background: var(--paper); }
.szyja-about__intro { padding: var(--section-y) 0 clamp(3rem,6vw,5rem); }
.szyja-about-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--section-x);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center;
}
.szyja-about-media-img {
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-md); background: var(--grey-100);
}
.szyja-about-media-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.szyja-about-h2 { font-size: var(--text-h1); text-transform: uppercase; letter-spacing: -0.03em; line-height: 1.0; margin: 20px 0 0; }
.szyja-about-lead { margin-top: 26px; font-size: var(--text-lead); line-height: 1.6; color: var(--text-body); font-weight: 500; }
.szyja-about-p { margin-top: 18px; font-size: var(--text-body-size); line-height: 1.7; color: var(--text-muted); }
.szyja-about-techniques { margin-top: 34px; display: flex; gap: 40px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 26px; }
.szyja-technique { max-width: 180px; }
.szyja-technique__t { font-family: var(--font-display); font-weight: 800; font-size: var(--text-h4); text-transform: uppercase; letter-spacing: -0.01em; }
.szyja-technique__d { margin-top: 6px; font-size: var(--text-sm); color: var(--text-muted); }

/* gallery */
.szyja-gallery-wrap { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--section-x) clamp(3.5rem,7vw,6rem); }
.szyja-gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 10px; height: clamp(360px, 46vw, 580px); }
.szyja-gallery a, .szyja-gallery > div { overflow: hidden; border-radius: var(--radius-md); position: relative; display: block; }
.szyja-gallery img { width: 100%; height: 100%; object-fit: cover; }
.szyja-g1 { grid-row: span 2; }
.szyja-g1 .szyja-gallery__cap {
  position: absolute; left: 18px; bottom: 16px; color: #fff; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

/* team */
.szyja-team { background: var(--bone); padding: var(--section-y) 0; }
.szyja-team__head, .szyja-section-head {
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 44px;
}
.szyja-section-title { font-size: var(--text-display); text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.92; margin: 18px 0 0; }
.szyja-section-note { font-size: var(--text-sm); color: var(--text-muted); max-width: 30ch; line-height: 1.6; }
.szyja-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem,2vw,1.6rem); }

.szyja-teamcard { display: block; color: inherit; }
.szyja-teamcard__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--grey-100); border-radius: var(--radius-md); }
.szyja-teamcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform var(--dur-slow) var(--ease-out); }
.szyja-teamcard:hover .szyja-teamcard__media img { transform: scale(1.035); }
.szyja-teamcard__footer {
  position: absolute; inset-inline: 0; bottom: 0; padding: 48px 18px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.78), rgba(0,0,0,0));
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.szyja-teamcard:hover .szyja-teamcard__footer { opacity: 1; transform: translateY(0); }
.szyja-teamcard__role { font-size: 10px; letter-spacing: var(--ls-label); text-transform: uppercase; color: rgba(255,255,255,0.7); }
.szyja-teamcard__spec { margin-top: 4px; font-size: var(--text-sm); color: #fff; font-weight: 500; line-height: 1.3; }
.szyja-teamcard__arrow { color: #fff; font-size: 18px; line-height: 1; flex: none; }
.szyja-teamcard__name { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: var(--ls-tight); font-size: var(--text-h4); color: var(--ink-pure); line-height: 1; }

/* reviews */
.szyja-reviews { background: var(--paper); padding: var(--section-y) 0; }
.szyja-reviews__rating {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 28px; padding: 24px clamp(1.25rem,3vw,2rem); border: 1px solid var(--line);
  border-radius: var(--radius-md); background: var(--bone);
}
.szyja-reviews__score { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem,5vw,3.4rem); letter-spacing: -0.03em; line-height: 1; color: var(--ink-pure); }
.szyja-reviews__stars { display: flex; gap: 3px; color: var(--ink-pure); }
.szyja-reviews__count { margin-top: 9px; font-size: var(--text-sm); color: var(--text-muted); }
.szyja-reviews__count strong { color: var(--ink); font-weight: 700; }
.szyja-reviews__link {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1.5px solid var(--ink); padding-bottom: 4px;
}
.szyja-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem,3vw,3rem); margin-top: 44px; }
.szyja-review { margin: 0; border-top: 1px solid var(--line); padding-top: 26px; }
.szyja-review__quotemark { font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: 0.6; color: var(--ink-pure); }
.szyja-review blockquote { margin: 20px 0 0; font-size: var(--text-h4); line-height: 1.45; font-weight: 500; color: var(--text-strong); letter-spacing: -0.01em; }
.szyja-review figcaption { margin-top: 22px; display: flex; align-items: baseline; gap: 10px; }
.szyja-review__name { font-weight: 700; font-size: var(--text-sm); color: var(--ink); }
.szyja-review__svc { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }

/* ============================================================
   SERVICES
   ============================================================ */
.szyja-services { background: var(--bone); padding: var(--section-y) 0; }
.szyja-services__note { max-width: 34ch; font-size: var(--text-sm); color: var(--text-muted); line-height: 1.6; }
.szyja-services__list { border-bottom: 1px solid var(--line); }
.szyja-servicecard {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 24px;
  padding: 26px 4px; border-top: 1px solid var(--line); color: var(--text-body);
}
.szyja-servicecard__main { display: flex; gap: 20px; min-width: 0; }
.szyja-servicecard__index { font-family: var(--font-display); font-weight: 900; font-size: 13px; color: var(--text-faint); padding-top: 6px; }
.szyja-servicecard__name {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: var(--ls-tight);
  font-size: var(--text-h3); color: var(--ink-pure); line-height: 1.05; margin: 0;
  background-image: linear-gradient(var(--ink), var(--ink)); background-repeat: no-repeat;
  background-position: 0 100%; background-size: 0% 1.5px; transition: background-size var(--dur-base) var(--ease-out);
}
.szyja-servicecard:hover .szyja-servicecard__name { background-size: 100% 1.5px; }
.szyja-servicecard__desc { margin-top: 10px; font-size: var(--text-sm); color: var(--text-muted); line-height: 1.55; max-width: 46ch; }
.szyja-servicecard__price { text-align: right; white-space: nowrap; padding-top: 4px; }
.szyja-servicecard__price-val { font-family: var(--font-display); font-weight: 800; font-size: var(--text-h4); color: var(--ink-pure); }
.szyja-servicecard__dur { margin-top: 4px; font-size: var(--text-xs); color: var(--text-faint); letter-spacing: 0.04em; }

/* ============================================================
   METAMORFOZY
   ============================================================ */
.szyja-meta { background: var(--ink-pure); color: #fff; padding: var(--section-y) 0; }
.szyja-meta h2 { color: #fff; }
.szyja-meta__intro { margin-top: 18px; max-width: 48ch; color: rgba(255,255,255,0.66); font-size: var(--text-body-size); line-height: 1.6; }
.szyja-meta__intro span { opacity: 0.6; }
.szyja-meta-grid { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: start; }
.szyja-ba {
  position: relative; aspect-ratio: 3 / 4; width: 100%; overflow: hidden;
  border-radius: var(--radius-md); cursor: ew-resize; user-select: none; background: var(--grey-100);
}
.szyja-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.szyja-ba__before { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.szyja-ba__before img { width: auto; height: 100%; min-width: 100%; }
.szyja-ba__tag {
  position: absolute; top: 14px; font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  padding: 4px 8px; text-transform: uppercase;
}
.szyja-ba__tag--before { left: 14px; background: rgba(0,0,0,0.65); color: #fff; }
.szyja-ba__tag--after { right: 14px; background: rgba(255,255,255,0.9); color: var(--ink); }
.szyja-ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transform: translateX(-1px); box-shadow: 0 0 0 1px rgba(0,0,0,0.15); }
.szyja-ba__knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 38px; height: 38px;
  border-radius: 999px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md);
}
.szyja-meta__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.szyja-meta__fig { margin: 0; }
.szyja-meta__fig-media { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-sm); }
.szyja-meta__fig-media img { width: 100%; height: 100%; object-fit: cover; }
.szyja-meta__fig figcaption { margin-top: 10px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* ============================================================
   SHOP TEASER (homepage)
   ============================================================ */
.szyja-shopteaser { background: var(--bone); padding: var(--section-y) 0; }
.szyja-shopteaser__lead { margin-top: 16px; font-size: var(--text-body-size); color: var(--text-muted); max-width: 44ch; line-height: 1.6; }
.szyja-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem,2.5vw,2rem); }
.szyja-shopteaser__more { margin-top: clamp(2.5rem,5vw,3.5rem); display: flex; justify-content: center; }
.szyja-shopteaser__empty { text-align: center; padding: clamp(2rem,5vw,4rem) 0 0; }
.szyja-shopteaser__empty p { margin: 0 auto 26px; max-width: 40ch; font-size: var(--text-lead); color: var(--text-muted); line-height: 1.5; }

/* ProductCard */
.szyja-productcard { display: flex; flex-direction: column; }
.szyja-productcard__media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--bone); overflow: hidden; border-radius: var(--radius-md); }
.szyja-productcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.szyja-productcard:hover .szyja-productcard__media img { transform: scale(1.04); }
.szyja-productcard__badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ink-pure); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--radius-xs); }
.szyja-productcard__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-faint); font-family: var(--font-logo); letter-spacing: var(--ls-logo); font-size: 13px; }
.szyja-productcard__body { padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.szyja-productcard__brand { font-size: var(--text-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--text-muted); }
.szyja-productcard__name { font-size: var(--text-body-size); font-weight: 600; color: var(--ink-pure); line-height: 1.3; }
.szyja-productcard__row { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.szyja-productcard__price { font-family: var(--font-display); font-weight: 800; font-size: var(--text-h4); color: var(--ink-pure); }
.szyja-productcard__add {
  height: 36px; padding: 0 14px; font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  letter-spacing: var(--ls-wide); text-transform: uppercase; cursor: pointer; border-radius: var(--radius-sm);
  border: 1px solid var(--ink); background: transparent; color: var(--ink-pure);
  transition: background var(--dur-base) var(--ease-std), color var(--dur-base) var(--ease-std);
}
.szyja-productcard__add:hover { background: var(--ink-pure); color: #fff; }

/* ============================================================
   BOOKING / CONTACT
   ============================================================ */
.szyja-booking { background: var(--ink-pure); color: #fff; padding: var(--section-y) 0; }
.szyja-booking h2, .szyja-booking h3 { color: #fff; }
.szyja-booking-grid { max-width: var(--container); margin: 0 auto; padding: 0 var(--section-x); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,6vw,6rem); }
.szyja-booking__title { font-size: var(--text-display); text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.92; margin: 18px 0 0; }
.szyja-booking__intro { margin-top: 24px; max-width: 40ch; color: rgba(255,255,255,0.66); font-size: var(--text-body-size); line-height: 1.6; }
.szyja-booking__map { margin-top: 32px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.16); background: var(--grey-900); }
.szyja-booking__map iframe { border: 0; width: 100%; height: 100%; display: block; filter: grayscale(1) contrast(1.05); }
.szyja-booking__details { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 28px; }
.szyja-booking__detail { display: flex; justify-content: space-between; gap: 16px; }
.szyja-booking__detail-k { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.szyja-booking__detail-v { font-size: var(--text-body-size); color: #fff; text-align: right; }
.szyja-booking__panel { border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-md); padding: clamp(1.75rem,3vw,2.5rem); }
.szyja-booking__panel-h3 { margin-top: 16px; font-size: var(--text-h2); text-transform: uppercase; letter-spacing: -0.03em; color: #fff; line-height: 1.0; }
.szyja-booking__panel-p { margin-top: 16px; color: rgba(255,255,255,0.66); font-size: var(--text-body-size); line-height: 1.6; }
.szyja-booking__or { display: flex; align-items: center; gap: 16px; margin: 26px 0; color: rgba(255,255,255,0.4); }
.szyja-booking__or span:first-child, .szyja-booking__or span:last-child { flex: 1; height: 1px; background: rgba(255,255,255,0.16); }
.szyja-booking__or-txt { flex: none !important; height: auto !important; background: none !important; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.szyja-booking__phone { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 2px; }
.szyja-booking__phone-label { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.szyja-booking__phone-num { display: block; margin-top: 6px; font-family: var(--font-display); font-weight: 800; font-size: var(--text-h3); letter-spacing: -0.01em; color: #fff; }
.szyja-booking__phone-ico { flex: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3); display: grid; place-items: center; color: #fff; }
.szyja-booking__chips-label { display: block; margin-bottom: 12px; font-size: var(--text-label); font-weight: 600; letter-spacing: var(--ls-label); text-transform: uppercase; color: rgba(255,255,255,0.5); }
.szyja-booking__chips { display: flex; flex-wrap: wrap; gap: 9px; }
.szyja-chip {
  height: 34px; display: inline-flex; align-items: center; padding: 0 14px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28); color: rgba(255,255,255,0.8);
}
.szyja-booking__svc-wrap { margin-top: 24px; }

/* ============================================================
   FOOTER
   ============================================================ */
.szyja-footer { background: var(--ink-pure); color: #fff; padding-top: clamp(3.5rem,7vw,6rem); }
.szyja-footer__inner { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--section-x); }
.szyja-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(2rem,4vw,3rem); padding-bottom: clamp(2.5rem,5vw,4rem); border-bottom: 1px solid rgba(255,255,255,0.16); }
.szyja-footer__about { margin-top: 20px; max-width: 30ch; color: rgba(255,255,255,0.55); font-size: var(--text-sm); line-height: 1.65; }
.szyja-footer__col-title { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 18px; }
.szyja-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.szyja-footlink { color: rgba(255,255,255,0.82); font-size: var(--text-sm); transition: color var(--dur-fast) var(--ease-std); }
.szyja-footlink:hover { color: #fff; }
.szyja-footer__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 26px 0 18px; font-size: 12px; color: rgba(255,255,255,0.4); }
.szyja-footer__bar-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.szyja-footer__bar-links a { color: rgba(255,255,255,0.6); }
.szyja-footer__credit { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0 40px; text-align: center; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.szyja-footer__credit a { color: rgba(255,255,255,0.7); font-weight: 600; }

/* ============================================================
   TOAST
   ============================================================ */
.szyja-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); opacity: 0;
  pointer-events: none; transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  background: var(--ink-pure); color: #fff; padding: 13px 20px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500; z-index: var(--z-toast); box-shadow: var(--shadow-lg);
  display: flex; gap: 10px; align-items: center;
}
.szyja-toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ============================================================
   GENERIC PAGE / PROSE
   ============================================================ */
.szyja-page-hero { background: var(--bone); border-bottom: 1px solid var(--line); }
.szyja-page-hero__inner { max-width: var(--container-text); margin: 0 auto; padding: clamp(2.5rem,5vw,4rem) var(--section-x); }
.szyja-breadcrumb { font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 18px; }
.szyja-breadcrumb a { color: var(--text-muted); }
.szyja-breadcrumb .sep { margin: 0 8px; }
.szyja-breadcrumb .current { color: var(--ink); }
.szyja-page-hero h1 { font-size: var(--text-h1); text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.98; margin: 0; }
.szyja-page-hero__updated { margin-top: 14px; font-size: var(--text-sm); color: var(--text-faint); }
.szyja-prose-wrap { max-width: var(--container-prose); margin: 0 auto; padding: clamp(2.5rem,5vw,4rem) var(--section-x) clamp(3rem,7vw,6rem); }
.szyja-prose { font-size: var(--text-body-size); line-height: 1.8; color: var(--text-muted); }
.szyja-prose h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; font-size: var(--text-h4); margin: 36px 0 12px; color: var(--ink-pure); }
.szyja-prose h2:first-child { margin-top: 0; }
.szyja-prose p { margin-bottom: 18px; }
.szyja-prose ul, .szyja-prose ol { margin: 0 0 18px; padding-left: 22px; }
.szyja-prose a { color: var(--ink); border-bottom: 1px solid var(--line); }

/* ============================================================
   404
   ============================================================ */
.szyja-404 { background: var(--paper); }
.szyja-404-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; min-height: calc(100vh - 77px); align-items: stretch; }
.szyja-404-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem,6vw,6rem) clamp(1.5rem,5vw,5.5rem); }
.szyja-404-mega {
	font-family: var(--font-display); font-weight: 900; font-size: clamp(6rem, 18vw, 16rem);
	line-height: 0.85; letter-spacing: -0.05em; color: var(--ink-pure); margin: 18px 0 0;
}
.szyja-404-title { font-size: var(--text-h1); text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.95; margin: 8px 0 0; }
.szyja-404-lead { margin-top: 22px; max-width: 46ch; font-size: var(--text-lead); line-height: 1.55; color: var(--text-muted); }
.szyja-404-search { margin-top: 30px; display: flex; gap: 10px; max-width: 460px; }
.szyja-404-search input[type="search"] {
	flex: 1; height: 56px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--radius-sm);
	font-family: var(--font-sans); font-size: var(--text-body-size); background: var(--paper);
}
.szyja-404-search input[type="search"]:focus { outline: none; border-color: var(--ink); }
.szyja-404-search .szyja-btn { height: 56px; padding: 0 22px; }
.szyja-404-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.szyja-404-links { margin-top: 38px; border-top: 1px solid var(--line); padding-top: 24px; }
.szyja-404-links__label { display: block; font-size: var(--text-label); font-weight: 600; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.szyja-404-links__row { display: flex; flex-wrap: wrap; gap: 9px; }
.szyja-404-chip {
	height: 34px; display: inline-flex; align-items: center; padding: 0 16px; font-size: 11px; font-weight: 600;
	letter-spacing: 0.08em; text-transform: uppercase; border-radius: 999px; border: 1px solid var(--line); color: var(--ink);
	transition: border-color var(--dur-fast) var(--ease-std), background var(--dur-fast) var(--ease-std);
}
.szyja-404-chip:hover { border-color: var(--ink); background: var(--bone); }
.szyja-404-media { position: relative; overflow: hidden; background: var(--bone); min-height: 40vh; }
.szyja-404-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .szyja-404-grid { grid-template-columns: 1fr; min-height: 0; }
  .szyja-404-media { order: -1; min-height: 38vh; }
}

/* ============================================================
   MOBILE POLISH (v1.2) — whole site
   ============================================================ */
html, body { overflow-x: hidden; }

@media (max-width: 768px) {
  /* Header: tighter, smaller logo so it never collides with icons */
  .szyja-header__inner { height: 64px; padding-inline: clamp(1rem, 5vw, 1.5rem); gap: 12px; }
  .szyja-logo { font-size: 15px; }
  .szyja-header__actions { gap: 12px; }
  .szyja-custom-logo img { max-height: 38px; width: auto; }

  /* Section headings: keep big but reined-in line length */
  .szyja-section-title { font-size: clamp(2.25rem, 11vw, 3rem); }
  .szyja-hero-h1 { font-size: clamp(2.1rem, 9vw, 3rem); }

  /* Stats row wraps comfortably */
  .szyja-hero-stats { gap: 1.5rem 2rem; }
  .szyja-stat-sep { display: none; }

  /* Reviews rating block stacks */
  .szyja-reviews__rating { flex-direction: column; align-items: flex-start; gap: 18px; }

  /* Booking details: labels above values */
  .szyja-booking__detail { flex-direction: column; gap: 2px; }
  .szyja-booking__detail-v { text-align: left; }

  /* Service card: price drops under the name */
  .szyja-servicecard { grid-template-columns: 1fr; gap: 10px; }
  .szyja-servicecard__price { text-align: left; }

  /* Buttons easier to tap; CTAs go full-width in hero */
  .szyja-hero-cta .szyja-btn { flex: 1 1 auto; }
}

@media (max-width: 480px) {
  .szyja-header__inner { gap: 8px; }
  .szyja-logo { font-size: 13px; }         /* full "SZYJA \ HAIR ACADEMY", just smaller */
  .szyja-header__actions { gap: 10px; }
  .szyja-hero-copy { padding: 2rem 1.25rem 2.5rem; }
  .szyja-gallery { grid-template-columns: 1fr !important; }
  .szyja-gallery > *:not(.szyja-g1) { aspect-ratio: 16 / 10; }
  .szyja-404-mega { font-size: clamp(5rem, 26vw, 8rem); }
  .szyja-404-search { flex-direction: column; }
  .szyja-404-search .szyja-btn { width: 100%; }
}

@media (max-width: 360px) {
  /* Smallest phones — keep the full logo lockup visible, never clipped */
  .szyja-header__inner { gap: 6px; padding-inline: 0.85rem; }
  .szyja-logo { font-size: 11.5px; }
  .szyja-header__actions { gap: 8px; }
  .szyja-icon-link svg { width: 18px; height: 18px; }
}
/* The logo may shrink but must never be cut off */
.szyja-logo-link, .szyja-logo { max-width: 100%; }
.szyja-logo { overflow: visible; }
@media (max-width: 1000px) {
  .szyja-nav, .szyja-cta-desktop { display: none !important; }
  .szyja-burger { display: inline-flex !important; }
  .szyja-hero-grid { grid-template-columns: 1fr !important; min-height: 0 !important; }
  .szyja-hero-media { order: -1; min-height: 46vh !important; }
  .szyja-about-grid, .szyja-booking-grid { grid-template-columns: 1fr !important; }
  .szyja-team-grid, .szyja-product-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .szyja-reviews-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .szyja-meta-grid { grid-template-columns: 1fr !important; }
  .szyja-footer-grid { grid-template-columns: 1fr 1fr !important; }
  .szyja-gallery { grid-template-columns: 1fr 1fr !important; grid-template-rows: auto !important; height: auto !important; }
  .szyja-gallery .szyja-g1 { grid-row: auto !important; grid-column: 1 / -1 !important; aspect-ratio: 16 / 10; }
  .szyja-gallery > *:not(.szyja-g1) { aspect-ratio: 4 / 3; }
  .szyja-shop-layout { grid-template-columns: 1fr !important; }
  .szyja-shop-aside { position: static !important; }
  .szyja-cart-layout { grid-template-columns: 1fr !important; }
  .szyja-prod-grid { grid-template-columns: 1fr !important; }
  .szyja-prod-gallery { position: static !important; }
}
@media (max-width: 560px) {
  .szyja-team-grid, .szyja-product-grid, .szyja-reviews-grid { grid-template-columns: 1fr !important; }
  .szyja-footer-grid { grid-template-columns: 1fr !important; }
  .szyja-cart-head { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html.szyja-anim .szyja-reveal { opacity: 1; transform: none; transition: none; }
}
