/* =====================================================================
   Sweet 2 Hair Studio — base.css  (REDIZAJN: jezik dizajna Spoke & Weal)
   Tokeni, tipografija, pill dugmad, teme sekcija, header + fullscreen meni,
   footer, sticky bar, media kartice, accordion, karusel, statistika,
   before/after, preloader, reveal.
   ===================================================================== */

:root {
  /* paleta (BRIEF) */
  --ivory: #F5EFE6;
  --cream: #EDE4D6;
  --paper: #FAF7F2;
  --espresso: #2E1F18;
  --charcoal: #2B2826;
  --night: #121010;
  --taupe: #9C8A7A;
  --nude: #D9C4B0;

  /* akcent: topli zlatni taupe */
  --gold-dark: #C9A27E;     /* na tamnom */
  --gold-light: #85613F;    /* na svetlom, tekst (AA 4.9:1 na ivory) */
  --gold-display: #9A7552;  /* samo veliki italic naslovi (>=24px) */

  /* kontekst (menja se po temi sekcije) */
  --bg: var(--ivory);
  --surface: var(--cream);
  --ink: var(--espresso);
  --ink-soft: #54453A;
  --fg: var(--ink);
  --fg-soft: var(--ink-soft);
  --accent: var(--gold-light);
  --accent-display: var(--gold-display);
  --line: rgba(46, 31, 24, 0.16);
  --ph: #766556;
  --hover-fg: var(--ivory);
  --on-dark: var(--ivory);
  --on-dark-soft: rgba(245, 239, 230, 0.8);
  --ph-on-dark: #C9B8A6;

  /* radius */
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 20px;
  --r-pill: 999px;

  /* tip */
  --font-display: "Noto Serif Display", Georgia, "Times New Roman", serif;
  --font-ui: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-label: 0.75rem;
  --fs-small: 0.875rem;
  --fs-body: clamp(1rem, 0.95rem + 0.15vw, 1.0625rem);
  --fs-lead: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  --fs-head: clamp(2.125rem, 1rem + 3.6vw, 4.5rem);
  --fs-display: clamp(2.75rem, 1rem + 6.2vw, 6.5rem);

  /* prostor */
  --gutter: clamp(20px, 7.2vw, 112px);
  --gap-section: clamp(88px, 11vw, 176px);
  --header-h: 72px;
  --bar-h: 60px;
  --max: 1680px;

  /* pokret */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --t-fast: 160ms;
  --t-med: 260ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-ui); font-size: var(--fs-body); line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--espresso); color: var(--ivory); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--gutter); top: -80px; z-index: 100; background: var(--ink); color: var(--ivory); padding: 12px 18px; text-decoration: none; border-radius: var(--r-pill); }
.skip-link:focus { top: 12px; }

@media (min-width: 900px) { :root { --header-h: 90px; } }

/* ---------- teme sekcija ---------- */
.section--dark, .on-dark {
  background: var(--night); color: var(--on-dark);
  --fg: var(--on-dark); --fg-soft: var(--on-dark-soft); --ink: var(--on-dark); --ink-soft: var(--on-dark-soft);
  --accent: var(--gold-dark); --accent-display: var(--gold-dark); --line: rgba(245, 239, 230, 0.16); --ph: var(--ph-on-dark); --hover-fg: var(--night);
}
.section--dark-alt { background: #1B1512; }
.section--cream { background: #F0EBE0; color: var(--espresso); }
.section--light, .on-paper { background: #FAF7F2; color: var(--espresso); }
.on-cream { background: var(--cream); }
.on-espresso { background: var(--espresso); color: var(--on-dark); --fg: var(--on-dark); --fg-soft: var(--on-dark-soft); --ink: var(--on-dark); --ink-soft: var(--on-dark-soft); --accent: var(--gold-dark); --accent-display: var(--gold-dark); --line: rgba(245,239,230,.16); --ph: var(--ph-on-dark); }

/* ---------- tipografija ---------- */
h1, .h-display {
  font-family: var(--font-display); font-weight: 300; font-size: var(--fs-display);
  line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance;
}
h2, .h-head {
  font-family: var(--font-display); font-weight: 300; font-size: var(--fs-head);
  line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance;
}
h3, .h-title {
  font-family: var(--font-display); font-weight: 400; font-size: var(--fs-lead);
  line-height: 1.15; letter-spacing: -0.01em;
}
/* potpis stila: jedna reč u italiku i zlatnom akcentu */
h1 em, h2 em, h3 em, .accent {
  font-style: italic; font-weight: 300; color: var(--accent-display);
}
.caps { text-transform: uppercase; letter-spacing: 0.02em; }
.lead { font-size: var(--fs-lead); line-height: 1.4; font-family: var(--font-display); font-weight: 400; max-width: 34ch; }
.small { font-size: var(--fs-small); }
.soft { color: var(--fg-soft); }
.measure { max-width: 46ch; }
.label, .small-title {
  display: block; font-family: var(--font-ui); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); line-height: 1.5;
}
.label--center { text-align: center; }
.label--soft { color: var(--fg-soft); }
.label--ink { color: var(--fg); }
.rule { display: block; width: 100%; height: 1px; margin: 0; border: 0; background: var(--line); }
.rule--v { width: 1px; height: auto; align-self: stretch; }

/* ---------- raspored ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--gap-section); }
.section--tight { padding-block: clamp(64px, 8vw, 120px); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); }
.center { text-align: center; }
.stack { display: grid; gap: 20px; }

/* ---------- dugmad: pill ---------- */
.btn {
  --btn-bg: var(--night); --btn-fg: var(--ivory); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 30px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd); border-radius: var(--r-pill);
  font-family: var(--font-ui); font-size: var(--fs-label); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; text-align: center; line-height: 1.2;
  cursor: pointer;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
.btn:hover { --btn-bg: var(--charcoal); }
.btn:active { transform: scale(0.97); }
.btn--solid { }
.btn--outline { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: color-mix(in srgb, currentColor 40%, transparent); color: inherit; }
.btn--outline:hover { --btn-bg: color-mix(in srgb, currentColor 10%, transparent); --btn-bd: currentColor; }
.btn--sm { min-height: 40px; padding: 10px 22px; }
.btn--lg { min-height: 56px; padding-inline: 38px; }
/* na tamnoj pozadini: primarno = krem fill */
.section--dark .btn:not(.btn--outline), .on-dark .btn:not(.btn--outline), .btn--light { --btn-bg: var(--ivory); --btn-fg: var(--night); }
.section--dark .btn:not(.btn--outline):hover, .on-dark .btn:not(.btn--outline):hover, .btn--light:hover { --btn-bg: #fff; }
/* legacy */
.btn--soft { --btn-bg: var(--cream); --btn-fg: var(--espresso); }
.btn--soft:hover { --btn-bg: var(--nude); }
.on-dark .btn--soft { --btn-bg: #26201c; --btn-fg: var(--ivory); }
.btn--dim { --btn-bg: rgba(18, 16, 16, 0.55); --btn-fg: var(--ivory); --btn-bd: rgba(245,239,230,.3); }
.btn__arrow { transition: transform var(--t-med) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .btn-row--stack .btn { flex: 1 1 100%; } }

/* tekstualni link sa strelicom (akcent) */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; color: var(--accent);
}
.link-arrow span { transition: transform var(--t-med) var(--ease-out); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- placeholderi ---------- */
.is-placeholder { color: var(--ph); text-decoration: underline dashed var(--taupe); text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* ---------- foto: media kartica, slot, okvir ---------- */
.media, .frame, .photo-slot { border-radius: var(--r-m); }
.media { position: relative; overflow: hidden; aspect-ratio: var(--ratio, 4 / 5); background: var(--nude); display: block; }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
@media (hover: hover) { a:hover > .media > img, .media:hover > img { transform: scale(1.03); } }
.media--arch { border-radius: 999px 999px var(--r-m) var(--r-m); }
.media--bleed, .frame--bleed { border-radius: 0; }
.frame { position: relative; overflow: hidden; background: var(--nude); aspect-ratio: var(--ratio, 4 / 5); }
.frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph { background: var(--nude); color: transparent; object-fit: cover; width: 100%; }

/* Foto-slot: fotografija koju mora da dostavi klijent. Zameniti: ubaciti <img> unutra. */
.photo-slot { --ratio: 4 / 5; position: relative; display: block; aspect-ratio: var(--ratio); background: var(--nude); color: var(--ph); overflow: hidden; }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot__label {
  position: absolute; left: 18px; bottom: 16px; right: 18px; font-size: var(--fs-small); font-weight: 500; line-height: 1.35;
  text-decoration: underline dashed var(--taupe); text-decoration-thickness: 1px; text-underline-offset: 5px; width: fit-content; max-width: calc(100% - 36px);
}
.photo-slot--dark, .section--dark .photo-slot, .on-dark .photo-slot { background: #26201c; color: var(--ph-on-dark); }

/* ---------- header (hamburger · wordmark · pill) ---------- */
.site-header {
  --h-fg: var(--espresso); --h-bg: rgba(245, 239, 230, 0.96);
  position: sticky; top: 0; z-index: 60; color: var(--h-fg); background: var(--h-bg);
  transition: background-color 400ms ease, color 400ms ease;
}
.site-header[data-over] { position: fixed; left: 0; right: 0; --h-fg: var(--ivory); --h-bg: transparent; }
.site-header[data-over].is-scrolled { --h-fg: var(--espresso); --h-bg: rgba(245, 239, 230, 0.96); }
html.menu-open .site-header, html.menu-open .site-header.is-scrolled { --h-fg: var(--ivory); --h-bg: transparent; }
.site-header__bar {
  position: relative; z-index: 62; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  min-height: var(--header-h); max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
}
.site-header__bar > :last-child { justify-self: end; }
.wordmark { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; justify-self: center; }
.wordmark__name { font-family: var(--font-ui); font-weight: 200; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem); letter-spacing: 0.42em; margin-right: -0.42em; line-height: 1; }
.wordmark__sub { display: none; }

.menu-btn { display: none; align-items: center; gap: 14px; min-width: 48px; min-height: 48px; justify-self: start; }
.js .menu-btn { display: inline-flex; }
.menu-btn__icon { position: relative; width: 26px; height: 12px; }
.menu-btn__icon::before, .menu-btn__icon::after, .menu-btn__icon i { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform var(--t-med) var(--ease-out), top var(--t-med) var(--ease-out), opacity var(--t-fast) ease; }
.menu-btn__icon::before { top: 0; }
.menu-btn__icon i { top: 5px; }
.menu-btn__icon::after { top: 10px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon::before { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon::after { top: 5px; transform: rotate(-45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i { opacity: 0; }
.menu-btn__text { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; display: none; }
@media (min-width: 900px) { .menu-btn__text { display: inline; } }
.site-header .header-cta { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: color-mix(in srgb, currentColor 45%, transparent); }
.site-header .header-cta:hover { --btn-bg: var(--ivory); --btn-fg: var(--night); --btn-bd: var(--ivory); }
.site-header.is-scrolled .header-cta, .site-header:not([data-over]) .header-cta { --btn-bg: var(--night); --btn-fg: var(--ivory); --btn-bd: transparent; }
.site-header.is-scrolled .header-cta:hover, .site-header:not([data-over]) .header-cta:hover { --btn-bg: var(--charcoal); --btn-fg: var(--ivory); }
html.menu-open .site-header .header-cta { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-bd: rgba(245, 239, 230, 0.4); }

/* meni: bez JS je običan red linkova ispod trake; sa JS ceo ekran */
.site-nav { padding: 0 var(--gutter) 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.site-nav__list { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-nav__list a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-nav__tools { display: flex; align-items: center; gap: 16px; }
.site-nav__foot { display: none; }
.site-nav__ig { display: none; }
.lang { display: inline-flex; gap: 2px; }
.lang button { min-width: 48px; min-height: 44px; font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.18em; color: inherit; opacity: 0.6; transition: opacity var(--t-fast) ease; }
.lang button:hover { opacity: 1; }
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }

.js .site-nav {
  position: fixed; inset: 0; z-index: 61; background: var(--night); color: var(--ivory); display: none;
  flex-direction: column; align-items: stretch; justify-content: center; flex-wrap: nowrap; gap: 36px;
  padding: calc(var(--header-h) + 16px) var(--gutter) calc(36px + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
}
.js .site-nav.is-open { display: flex; animation: navin 450ms var(--ease-out) both; }
.js .site-nav.is-closing { display: flex; animation: navout 300ms ease both; pointer-events: none; }
@keyframes linkrise { from { transform: translateY(44px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes navin { from { opacity: 0; } to { opacity: 1; } }
@keyframes navout { from { opacity: 1; } to { opacity: 0; } }
.js .site-nav__list { flex-direction: column; gap: 0; width: 100%; max-width: var(--max); margin-inline: auto; }
.js .site-nav__list li { overflow: hidden; }
.js .site-nav__list a {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(2.25rem, 1rem + 5vw, 4.75rem); line-height: 1.12; letter-spacing: -0.02em; min-height: 56px;
  transition: transform 700ms var(--ease-out), opacity 500ms ease, color var(--t-fast) ease;
}
@media (prefers-reduced-motion: no-preference) {
  .js .site-nav.is-open .site-nav__list a { animation: linkrise 800ms var(--ease-out) both; }
}
.js .site-nav.is-open .site-nav__list li:nth-child(2) a { animation-delay: 60ms; }
.js .site-nav.is-open .site-nav__list li:nth-child(3) a { animation-delay: 120ms; }
.js .site-nav.is-open .site-nav__list li:nth-child(4) a { animation-delay: 180ms; }
.js .site-nav.is-open .site-nav__list li:nth-child(5) a { animation-delay: 240ms; }
.js .site-nav.is-open .site-nav__list li:nth-child(6) a { animation-delay: 300ms; }
.js .site-nav__list a:hover, .js .site-nav__list a[aria-current="page"] { color: var(--gold-dark); font-style: italic; }
.js .site-nav__tools { width: 100%; max-width: var(--max); margin-inline: auto; justify-content: space-between; flex-wrap: wrap; }
.js .site-nav__foot { display: block; color: var(--on-dark-soft); font-size: var(--fs-small); }
.js .site-nav__ig { display: inline; }
.site-nav__tools .btn { display: none; }
.site-nav a[aria-current="page"] { text-decoration: none; }
html.menu-open { overflow: hidden; }
@media (min-width: 900px) {
  .js .site-nav.is-open, .js .site-nav.is-closing { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; }
  .js .site-nav__list { width: auto; margin: 0; }
  .js .site-nav__tools { width: auto; margin: 0; flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ---------- mobilni sticky action bar ---------- */
.action-bar { display: none; }
@media (max-width: 899.98px) {
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: repeat(3, 1fr);
    height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--night); border-top: 1px solid rgba(245, 239, 230, 0.12);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 6px;
    color: var(--on-dark); text-decoration: none; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    transition: background-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
  }
  .action-bar a + a { border-left: 1px solid rgba(245, 239, 230, 0.14); }
  .action-bar a:active { transform: scale(0.97); background: var(--charcoal); }
  html.menu-open .action-bar { visibility: hidden; }
  html:lang(ru) .action-bar a { letter-spacing: 0.08em; font-size: 0.65625rem; }
}

/* ---------- footer (levo logo + tekst, desno kolone) ---------- */
.site-footer { background: var(--night); color: var(--on-dark); --fg: var(--on-dark); --fg-soft: var(--on-dark-soft); --ink: var(--on-dark); --ink-soft: var(--on-dark-soft); --accent: var(--gold-dark); --line: rgba(245,239,230,.16); --ph: var(--ph-on-dark); padding-top: clamp(72px, 9vw, 128px); }
.site-footer > .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 28px); row-gap: 36px; }
.site-footer__top { grid-column: 1 / 7; grid-row: 1 / span 4; display: flex; flex-wrap: wrap; align-items: center; align-content: start; gap: 24px 16px; }
.site-footer__name, .site-footer__tag { flex: 0 0 100%; }
.site-footer__cols { display: contents; }
.site-footer__cols > div { grid-column: span 3; }
.site-footer__cols > div:nth-child(1) { grid-column: 7 / 10; grid-row: 1 / span 4; }
.site-footer__cols > div:nth-child(2) { grid-column: 10 / 13; grid-row: 1; }
.site-footer__cols > div:nth-child(3) { grid-column: 10 / 13; grid-row: 2; }
.site-footer__cols > div:nth-child(4) { grid-column: 10 / 13; grid-row: 3; }
.site-footer > .wrap > .rule, .site-footer__copy { grid-column: 1 / -1; }
.site-footer > .wrap > .rule { margin-top: clamp(24px, 4vw, 64px); }
.site-footer__name { font-family: var(--font-ui); font-weight: 200; font-size: clamp(2.25rem, 0.8rem + 4.2vw, 5rem); white-space: nowrap; letter-spacing: 0.22em; margin-right: -0.22em; line-height: 1; }
.site-footer__tag { font-family: var(--font-ui); font-size: var(--fs-body); color: var(--on-dark-soft); padding-right: 24%; line-height: 1.6; }
.site-footer__social { display: flex; gap: 12px; }
.social { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(245,239,230,.35); color: var(--ivory); transition: background-color var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-fast) var(--ease-out); }
.social svg { width: 18px; height: 18px; }
a.social:hover { background: var(--ivory); color: var(--night); }
a.social:active { transform: scale(0.95); }
.social.is-placeholder { border-style: dashed; opacity: 0.6; text-decoration: none; }
.site-footer h2 { font-family: var(--font-ui); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.5; color: var(--on-dark-soft); opacity: 0.8; margin-bottom: 16px; }
.site-footer address { font-style: normal; color: var(--on-dark-soft); }
.site-footer p { color: var(--on-dark-soft); }
.site-footer a { text-underline-offset: 5px; }
.site-footer__links a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; color: var(--on-dark-soft); }
.site-footer__links a:hover { color: var(--ivory); }
.site-footer__copy { padding-block: 8px 32px; text-align: center; color: var(--on-dark-soft); font-size: var(--fs-label); letter-spacing: 0.18em; text-transform: uppercase; }
@media (max-width: 899.98px) {
  .site-footer > .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer__top { grid-column: 1 / -1; grid-row: auto; }
  .site-footer__cols > div:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .site-footer__cols > div:nth-child(1) { grid-column: 1 / -1; }
  .site-footer__cols > div:nth-child(4) { grid-column: 1 / -1; }
  .site-footer__name { font-size: clamp(2.25rem, 11vw, 4.5rem); }
}

/* ---------- accordion ---------- */
.accordion { display: grid; }
.accordion--grid { display: block; column-count: 2; column-gap: clamp(32px, 6vw, 96px); }
.accordion--grid .acc-item { break-inside: avoid; border-top: 1px solid var(--line); border-bottom: 0; }
.accordion--grid .acc-item:first-child { border-top: 1px solid var(--line); }
.accordion--grid .acc-item:nth-child(3n) { border-bottom: 1px solid var(--line); }
@media (max-width: 767.98px) { .accordion--grid { column-count: 1; } .accordion--grid .acc-item:nth-child(3n) { border-bottom: 0; } .accordion--grid .acc-item:last-child { border-bottom: 1px solid var(--line); } }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:first-child { border-top: 1px solid var(--line); }
.acc-item > h3, .acc-item > .acc-heading { font: inherit; letter-spacing: 0; }
.acc-trigger {
  width: 100%; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; text-align: left;
  font-family: var(--font-display); font-weight: 300; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); line-height: 1.2; color: inherit;
}
.acc-trigger__label { display: flex; align-items: baseline; gap: 18px; }
.acc-num { min-width: 2.2em; font-family: var(--font-ui); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.2em; color: var(--accent); }
.acc-trigger:hover .acc-icon { color: var(--accent); }
.acc-icon { position: relative; flex: none; width: 20px; height: 20px; color: var(--fg-soft); transition: color var(--t-fast) ease; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform var(--t-med) var(--ease-out); }
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 1fr; }
.js .acc-panel { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 450ms var(--ease-out), visibility 0s linear 450ms; }
.js .acc-panel.is-open { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.acc-panel__inner { overflow: hidden; min-height: 0; }
.acc-panel__inner > :last-child { padding-bottom: 24px; }
.acc-panel p { color: var(--fg-soft); max-width: 52ch; }

/* ---------- karusel (scroll-snap) ---------- */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: clamp(14px, 2vw, 28px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.carousel__track.is-dragging a { pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .carousel__track { cursor: grab; } }
.carousel__slide { flex: 0 0 min(80vw, 420px); scroll-snap-align: start; min-width: 0; }
.carousel__ui { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto; }
.carousel__hint { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-soft); }
.carousel__arrows { display: none; gap: 10px; margin-left: auto; }
.carousel__btn { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); transition: background-color var(--t-fast) ease, color var(--t-fast) ease, opacity var(--t-fast) ease, transform var(--t-fast) var(--ease-out); }
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__btn:hover:not(:disabled) { background: var(--fg); color: var(--hover-fg); }
.carousel__btn:active:not(:disabled) { transform: scale(0.94); }
.carousel__btn:disabled { opacity: 0.3; cursor: default; }
@media (hover: hover) and (pointer: fine) { .carousel__arrows { display: flex; } .carousel__hint--touch { display: none; } }
@media (hover: none) { .carousel__hint--drag { display: none; } }
.no-js .carousel__track, :not(.js) .carousel__track { scroll-snap-type: x proximity; }

/* ---------- statistika: kolone sa vertikalnim razdelnicima ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { padding: 8px clamp(16px, 3vw, 48px); border-left: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__fig { font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 1rem + 6vw, 6.5rem); line-height: 1; letter-spacing: -0.03em; color: var(--accent-display); white-space: nowrap; font-variant-numeric: lining-nums; }
.stat__desc { color: var(--fg-soft); max-width: 24ch; }
@media (max-width: 599.98px) {
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:first-child { border-left: 0; padding: 28px 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; padding-top: 0; }
}

/* ---------- before / after slider ---------- */
.ba { --pos: 50%; --ratio: 16 / 10; position: relative; aspect-ratio: var(--ratio); overflow: hidden; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; background: var(--nude); border-radius: var(--r-m); }
.ba__layer { position: absolute; inset: 0; }
.ba__layer > .photo-slot, .ba__layer > img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag { position: absolute; top: 14px; padding: 6px 16px; background: var(--ivory); color: var(--espresso); border-radius: var(--r-pill); font-size: var(--fs-small); font-weight: 600; pointer-events: none; z-index: 2; }
.ba__before .ba__tag { left: 14px; }
.ba__after .ba__tag { right: 14px; }
.ba__cap { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2; max-width: calc(100% - 28px); padding: 6px 14px; border-radius: var(--r-pill); background: rgba(18, 16, 16, 0.55); color: var(--ph-on-dark); font-size: var(--fs-small); text-align: center; white-space: nowrap; pointer-events: none; }
@media (max-width: 400px) { .ba__cap { white-space: normal; width: max-content; } }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 56px; margin-left: -28px; z-index: 3; display: flex; align-items: center; justify-content: center; cursor: ew-resize; outline-offset: -4px; }
.ba__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--ivory); }
.ba__knob { position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--ivory); color: var(--espresso); display: flex; align-items: center; justify-content: center; transition: transform var(--t-fast) var(--ease-out); }
.ba.is-drag .ba__knob, .ba__handle:focus-visible .ba__knob { transform: scale(1.08); }
.ba__handle:focus-visible { outline: 2px solid var(--ivory); }
.ba__knob svg { width: 26px; height: 26px; }

/* ---------- marquee traka (brendovi) ---------- */
.marquee { overflow: hidden; padding-block: clamp(28px, 4vw, 52px); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.75rem, 1rem + 2.6vw, 3.25rem); line-height: 1.2; white-space: nowrap; padding-inline: clamp(20px, 3vw, 48px); }
.marquee__sep { width: 16px; height: 16px; flex: none; fill: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } .marquee__track { animation: none; } }

/* ---------- veliki kružni portret (slot dok ne stigne fotografija) ---------- */
.portrait-circle { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--nude); }
.portrait-circle::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.portrait-circle > img, .portrait-circle > .photo-slot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; aspect-ratio: auto; }
.portrait-circle .photo-slot__label { left: 50%; bottom: 50%; right: auto; transform: translate(-50%, 50%); text-align: center; max-width: 70%; }
.portrait-ring { position: relative; width: min(100%, 560px); padding: 18px; }
.portrait-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); pointer-events: none; }
.section--dark .portrait-circle, .on-dark .portrait-circle { background: #26201c; }

/* ---------- kartica usluge u karuselu: broj · cena · naziv · ZAKAŽI → ---------- */
.svc-card { display: grid; gap: 0; }
.svc-card__media { position: relative; }
.svc-card__num { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 4px 12px; border-radius: var(--r-pill); background: rgba(18, 16, 16, 0.5); font-family: var(--font-display); font-size: 1rem; color: var(--ivory); }
.svc-card__price { display: block; margin-top: 18px; text-align: right; font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.svc-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 8px; padding-bottom: 14px; }
.svc-card__name { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); font-weight: 300; }
.svc-card__book { flex: none; font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; color: var(--accent); white-space: nowrap; min-height: 32px; }
.svc-card__book:hover { text-decoration: underline; text-underline-offset: 5px; }
.svc-card > .rule { margin-bottom: 16px; }
.svc-card__text { color: var(--fg-soft); font-size: var(--fs-small); line-height: 1.7; }
.svc-card__more { margin-top: 10px; }

/* ---------- press-stil kartica (tanka ivica, zaobljena) ---------- */
.press-card { display: grid; gap: 18px; padding: clamp(14px, 1.6vw, 22px); border: 1px solid var(--line); border-radius: var(--r-l); background: transparent; transition: border-color var(--t-med) ease, background-color var(--t-med) ease; }
.press-card:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.press-card > .ba, .press-card > .media { border-radius: var(--r-m); }
.press-card__body { display: grid; gap: 8px; padding: 4px 6px 6px; }
.press-card__cat { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.press-card__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.375rem, 1rem + 1vw, 1.875rem); line-height: 1.2; }

/* ---------- hero video (pozadina; poster dok video nije dostavljen) ---------- */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 800ms var(--ease-out) var(--d, 0ms), transform 900ms var(--ease-out) var(--d, 0ms); }

/* dugačke reči u prevodima (RUS) ne smeju da probiju raspored */
h1, h2, h3, .btn, .cat__title { overflow-wrap: break-word; hyphens: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .carousel__track { scroll-behavior: auto; }
}

@media (max-width: 480px) { .site-header .btn--sm { padding: 10px 16px; } .wordmark__name { letter-spacing: 0.34em; margin-right: -0.34em; } }
.site-header .header-cta { white-space: nowrap; }
html:lang(ru) .site-header .btn--sm { letter-spacing: 0.08em; padding-inline: 16px; font-size: 0.6875rem; }
@media (max-width: 480px) { html:lang(ru) .site-header .btn--sm { padding-inline: 12px; letter-spacing: 0.04em; } html:lang(ru) .wordmark__name { letter-spacing: 0.26em; margin-right: -0.26em; } }

/* ---------- poziv: prozor sa brojem (računar) ---------- */
.callsheet { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: var(--gutter); }
.callsheet[hidden] { display: none; }
.callsheet__backdrop { position: absolute; inset: 0; background: rgba(18, 16, 16, 0.55); opacity: 0; transition: opacity 200ms var(--ease-out); }
.callsheet__card { position: relative; width: min(100%, 440px); padding: clamp(32px, 4vw, 44px); border-radius: var(--r-l); background: var(--ivory); color: var(--espresso); display: grid; gap: 18px; justify-items: center; text-align: center; box-shadow: 0 24px 60px rgba(18, 16, 16, 0.28); opacity: 0; transform: translateY(8px) scale(0.98); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.callsheet.is-open .callsheet__backdrop, .callsheet.is-open .callsheet__card { opacity: 1; transform: none; }
.callsheet__num { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem); line-height: 1.1; letter-spacing: -0.01em; color: inherit; text-decoration: none; font-variant-numeric: lining-nums; }
.callsheet__num:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.callsheet__hours { margin: 0; color: var(--fg-soft, #6b5b52); font-size: var(--fs-small); line-height: 1.7; }
.callsheet__btns { display: grid; gap: 10px; width: 100%; margin-top: 6px; }
.callsheet__btns .btn { width: 100%; justify-content: center; }
.callsheet__x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.callsheet__x:hover { background: rgba(46, 31, 24, 0.08); }
.callsheet__x:focus-visible { outline: 2px solid var(--espresso); outline-offset: 2px; }
.callsheet-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .callsheet__backdrop, .callsheet__card { transition: none; } }
