/* Lily Madérothérapie — mobile-first, scales to desktop */

:root {
  --gold: #c9a36b;
  --gold-deep: #9a7544;
  --gold-bright: #e4c892;
  /* Tamne površine (footer, video) — ostaje #141210 u obje teme */
  --ink: #141210;
  --ink-soft: #1f1c19;
  --cream: #f7f3ed;
  --surface: #f7f3ed;
  --cream-muted: #ebe4d9;
  --blush: #e6b7d8;
  --text: #2a2622;
  --text-muted: #5c564e;
  --text-heading: #141210;
  --btn-on-gold: #141210;
  --white: #fff;
  --card-bg: #ffffff;
  --card-media-bg: var(--cream-muted);
  --page-bg: var(--surface);
  --header-bar-bg: rgba(252, 249, 244, 0.97);
  --header-bar-border: rgba(154, 117, 68, 0.28);
  --header-bar-inset: rgba(255, 255, 255, 0.65);
  --lang-btn-bg: rgba(255, 255, 255, 0.5);
  --section-wash: rgba(247, 243, 237, 0.35);
  --section-band-bg: #221f1b;
  --section-band-wash: rgba(30, 26, 22, 0.72);
  --section-band-lead: rgba(247, 243, 237, 0.75);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(20, 18, 16, 0.12);
  /* Zlatna sjena kartica — tanja, svjetlija */
  --shadow-card-gold: 3px 4px 0 rgba(200, 175, 138, 0.2),
    6px 8px 14px rgba(168, 145, 112, 0.1);
  --font-serif: "Cormorant Garamond", "Georgia", serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --header-bar-h: 4.15rem;
  --header-h: var(--header-bar-h);
  --max: 66rem;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --gold: #c9a36b;
  --gold-deep: #d4b07a;
  --gold-bright: #e8d4a8;
  --ink-soft: #121110;
  /* --cream ostaje svijetla za hero / tamne trake; pozadine = --surface */
  --cream: #ebe6df;
  --surface: #1c1a17;
  --cream-muted: #b5a99a;
  --text: #e8e2d9;
  --text-muted: #a39a8e;
  --text-heading: #f0ebe3;
  --btn-on-gold: #141210;
  --card-bg: #252320;
  --card-media-bg: #2e2a26;
  --page-bg: #121110;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  --shadow-card-gold: 3px 4px 0 rgba(200, 175, 138, 0.1),
    6px 8px 14px rgba(0, 0, 0, 0.35);
  --header-bar-bg: rgba(22, 20, 18, 0.92);
  --header-bar-border: rgba(201, 163, 107, 0.22);
  --header-bar-inset: rgba(255, 255, 255, 0.04);
  --lang-btn-bg: rgba(48, 42, 36, 0.55);
  --section-wash: rgba(22, 20, 18, 0.88);
  --section-band-bg: #1a1714;
  --section-band-wash: rgba(20, 18, 16, 0.58);
  --section-band-lead: rgba(240, 235, 227, 0.78);
}

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

html {
  scroll-behavior: smooth;
  /* Veći „rem“ od pretpostavljenih 16px u pregledniku (~17.6px) — sve što koristi rem čitljivije je na ekranu. */
  font-size: 110%;
  min-height: 100%;
  background-color: var(--page-bg);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: transparent;
  padding-top: var(--header-h);
  position: relative;
  z-index: 1;
}

.site-main {
  position: relative;
  z-index: 2;
}

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

a {
  color: var(--gold-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--text-heading);
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: transform 0.32s ease;
}

.site-header.site-header--hidden {
  transform: translateY(-100%);
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: none;
  }
}

.site-header__bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--header-h);
  box-sizing: border-box;
  background: var(--header-bar-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--header-bar-border);
  box-shadow: 0 1px 0 var(--header-bar-inset) inset;
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: var(--header-bar-h);
  box-sizing: border-box;
}

.site-header__cluster {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.65rem;
  row-gap: 0.5rem;
  margin-left: auto;
}

@media (min-width: 860px) {
  .site-header__cluster {
    flex-wrap: nowrap;
    gap: 1.15rem;
  }
}

/* Jezični prekidač */
.site-header__tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-drawer-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0 0.55rem;
  margin-bottom: 0.45rem;
  border-bottom: 1px solid rgba(201, 163, 107, 0.24);
}

.nav-drawer-tools__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.nav-drawer-tools__select {
  flex: 1;
  min-height: 2.05rem;
  border-radius: 8px;
  border: 1px solid rgba(201, 163, 107, 0.5);
  background: var(--surface);
  color: var(--text-heading);
  font-family: var(--font-sans);
  font-weight: 600;
  padding: 0.25rem 0.5rem;
}

.nav-drawer-tools__theme {
  width: 2.05rem;
  height: 2.05rem;
  min-width: 2.05rem;
  min-height: 2.05rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.lang-switch__btn {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.4rem;
  min-width: 2.35rem;
  min-height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 163, 107, 0.45);
  border-radius: 6px;
  background: var(--lang-btn-bg);
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.lang-switch__flag {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
}

.lang-switch__btn:hover {
  border-color: var(--gold);
  color: var(--text-heading);
  transform: scale(1.06);
}

.lang-switch__btn--active {
  background: var(--gold);
  border-color: var(--gold-deep);
  color: var(--btn-on-gold);
}

.lang-switch__btn:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}

/* Tamna / svijetla tema */
.theme-toggle {
  font-family: var(--font-sans);
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 163, 107, 0.45);
  border-radius: 6px;
  background: var(--lang-btn-bg);
  color: var(--text-heading);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.theme-toggle:hover {
  border-color: var(--gold);
  transform: scale(1.06);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}

.theme-toggle__icon {
  display: none;
  font-size: 1.15rem;
  line-height: 1;
}

html:not([data-theme="dark"]) .theme-toggle__icon--moon {
  display: block;
}

html[data-theme="dark"] .theme-toggle__icon--sun {
  display: block;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 1.35rem;
  margin: 0 auto;
  background: var(--text-heading);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  position: fixed;
  top: calc(var(--header-h) + 0.35rem);
  left: auto;
  right: 0;
  width: min(74vw, 300px);
  max-height: min(78vh, 30rem);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid rgba(201, 163, 107, 0.28);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: var(--shadow);
  z-index: 110;
  transform: translateX(108%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.24s ease, opacity 0.2s ease;
}

.nav.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

body.nav-drawer-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.32);
  z-index: 90;
}

.nav a {
  font-size: 0.95rem;
  padding: 0.55rem 0;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  color: var(--gold-deep);
  border-bottom-color: rgba(201, 163, 107, 0.5);
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 1.35rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    width: auto;
    max-height: none;
    overflow: visible;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }

  .nav a {
    padding: 0.25rem 0;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
  }

  .nav-drawer-tools {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav {
    transition: none;
  }
}

/* ——— Sections ——— */
/* Svijetle sekcije: SVG ispod + prozirna krem — inače gotovo neprozirna .section prekrije cijeli html::before */
.section {
  padding: 3.25rem 1.25rem;
  background-color: var(--surface);
  background-image:
    linear-gradient(var(--section-wash), var(--section-wash)),
    url("../assets/bg-vertical.svg");
  background-size: auto, cover;
  background-position: center top, center top;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, fixed;
}

@media (max-width: 768px) {
  .section {
    background-image:
      linear-gradient(var(--section-wash), var(--section-wash)),
      url("../assets/bg-horizontal.svg");
  }
}

@media (prefers-reduced-motion: reduce) {
  .section {
    background-attachment: scroll, scroll;
  }
}

.section--tight {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.section--dark {
  background-color: var(--section-band-bg);
  background-image:
    linear-gradient(var(--section-band-wash), var(--section-band-wash)),
    url("../assets/bg-vertical.svg");
  background-size: auto, cover;
  background-position: center top, center top;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, fixed;
  color: var(--cream-muted);
}

/* U light temi ova sekcija ne smije biti crna */
html:not([data-theme="dark"]) .section--dark {
  background-color: var(--surface);
  background-image:
    linear-gradient(var(--section-wash), var(--section-wash)),
    url("../assets/bg-vertical.svg");
  color: var(--text);
}

html:not([data-theme="dark"]) .section--dark .section__title {
  color: var(--text-heading);
}

html:not([data-theme="dark"]) .section--dark .section__lead,
html:not([data-theme="dark"]) .section--dark .section__title-note {
  color: var(--text-muted);
}

html:not([data-theme="dark"]) .section--dark .section__eyebrow {
  color: var(--gold-deep);
}

.section--dark .section__lead,
.section--dark .section__title-note {
  color: var(--section-band-lead);
}

@media (max-width: 768px) {
  .section--dark {
    background-image:
      linear-gradient(var(--section-band-wash), var(--section-band-wash)),
      url("../assets/bg-horizontal.svg");
  }

  html:not([data-theme="dark"]) .section--dark {
    background-image:
      linear-gradient(var(--section-wash), var(--section-wash)),
      url("../assets/bg-horizontal.svg");
  }
}

@media (prefers-reduced-motion: reduce) {
  .section--dark {
    background-attachment: scroll, scroll;
  }
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.section--dark .section__eyebrow {
  color: var(--gold-bright);
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--text-heading);
}

.section--dark .section__title {
  color: var(--cream);
}

.section__lead {
  max-width: 38rem;
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.intro-strip .section__lead--cred {
  margin-top: 0.85rem;
  margin-bottom: 0;
  font-size: 0.98rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: 5rem 1.25rem 3rem;
  background: var(--surface);
  color: var(--text);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: -1px;
  background: none;
  z-index: 1;
  pointer-events: none;
}

.hero__video-stack {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: -1px;
  z-index: 0;
  overflow: hidden;
  background: transparent;
}

.hero__bgvid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.85s ease;
  pointer-events: none;
}

.hero__bgvid.is-active {
  opacity: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero__brand-block {
  position: relative;
  isolation: isolate;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0;
  /* Cijeli blok (logo + naziv + Vevey) više i lijevo */
  transform: translate(-2.2rem, -clamp(4.6rem, 12vh, 7.8rem));
}

/* Donji dio heroa: naslov, opis, CTA — razmak od brenda (bez vidljive linije) */
.hero__intro {
  position: relative;
  z-index: 3;
  margin-top: -2rem;
  padding-top: 0;
}

.hero__logo-stage {
  position: absolute;
  left: 50%;
  top: -2rem;
  width: min(220vw, 110rem);
  height: clamp(34rem, 95vw, 62rem);
  transform: translateX(-50%);
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

.hero__logo {
  position: relative;
  z-index: 1;
  width: min(185px, 46vw);
  height: auto;
  margin: 0;
  display: block;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.25))
    drop-shadow(0 6px 28px rgba(0, 0, 0, 0.5));
}

.hero__brand-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.32rem;
  /* Širina = najširi red (naziv) → Vevey se vizualno centrira ispod „Lily Madérothérapie“ */
  width: fit-content;
  max-width: 100%;
}

.hero__brand-name {
  font-family: var(--font-serif);
  font-size: clamp(1.28rem, 4.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.18;
  color: var(--text-heading);
  text-shadow: none;
  text-align: center;
}

.hero__brand-loc {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.85vw, 1.3rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-shadow: none;
  text-align: center;
}

.hero__intro-column {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  padding: 0.85rem 0.9rem 1rem;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(20, 18, 16, 0.44) 0%,
    rgba(20, 18, 16, 0.28) 55%,
    rgba(20, 18, 16, 0.18) 100%
  );
  backdrop-filter: blur(1px);
}

.hero__intro h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  max-width: 18ch;
  text-align: left;
  color: var(--cream);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

/* Opis + CTA u jednoj „stupčanoj“ širini → lijevi rub teksta = lijevi rub prvog gumba */
.hero__intro-cta {
  display: grid;
  row-gap: 1.75rem;
  justify-items: start;
  width: 100%;
  max-width: 100%;
}

.hero__intro .hero__tagline {
  margin: 0;
  font-size: 1.05rem;
  max-width: 32ch;
  color: rgba(247, 243, 237, 0.92);
  line-height: 1.55;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.hero .btn--ghost {
  color: var(--cream);
  border-color: rgba(228, 200, 146, 0.55);
}

.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-bright);
}

.hero__intro .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* PC: cijeli blok (naslov + opis + CTA) uz desni rub, lijevo poravnato unutra */
@media (min-width: 768px) {
  .hero__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .hero__intro-column {
    width: max-content;
    max-width: 100%;
    align-self: flex-end;
  }

  .hero__intro h1 {
    max-width: 18ch;
    text-align: left;
  }

  .hero__intro-cta {
    width: max-content;
    max-width: 100%;
  }

  /* Stupac = širina retka gumba kad je ona veća od opisa → lijevi rub teksta i žutog gumba u istoj vertikali */
  .hero__intro .hero__tagline {
    max-width: 32ch;
    text-align: left;
  }

  .hero__intro .hero__actions {
    justify-content: flex-start;
    max-width: 100%;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background: var(--gold);
  color: var(--btn-on-gold);
  border-color: var(--gold);
}

.btn--primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--btn-on-gold);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(228, 200, 146, 0.55);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-bright);
}

/* ——— Image / media placeholders ——— */
.image-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card-gold);
  border: 2px dashed rgba(201, 163, 107, 0.5);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(201, 163, 107, 0.12) 50%,
    rgba(230, 183, 216, 0.1) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  overflow: hidden;
}

.section--dark .image-slot {
  border-color: rgba(228, 200, 146, 0.35);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(201, 163, 107, 0.08) 100%
  );
}

.image-slot__label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  max-width: 12rem;
  line-height: 1.4;
}

.section--dark .image-slot__label {
  color: var(--gold-bright);
}

.image-slot__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: none;
  font-weight: 400;
  color: var(--text-muted);
  opacity: 0.85;
}

.section--dark .image-slot__hint {
  color: rgba(247, 243, 237, 0.55);
}

html[data-theme="dark"] .section:not(.section--dark) .image-slot {
  border-color: rgba(201, 163, 107, 0.38);
  background: linear-gradient(
    145deg,
    rgba(42, 38, 34, 0.95) 0%,
    rgba(201, 163, 107, 0.1) 50%,
    rgba(90, 70, 100, 0.07) 100%
  );
}

html[data-theme="dark"] .placeholder-line {
  background: linear-gradient(
    90deg,
    rgba(201, 163, 107, 0.22),
    rgba(230, 183, 216, 0.12)
  );
}

/* Square slots for gallery */
.image-slot--square {
  aspect-ratio: 1;
}

.image-slot--wide {
  aspect-ratio: 16 / 9;
}

.image-slot--photo {
  padding: 0;
  border-style: solid;
  border-color: rgba(201, 163, 107, 0.22);
  background: #141210;
}

.image-slot__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ——— Services grid ——— */
.services-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    gap: 2.25rem 2rem;
  }
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-gold);
  overflow: hidden;
  border: 1px solid rgba(201, 163, 107, 0.15);
}

.service-card__media {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--card-media-bg);
  overflow: hidden;
}

/* Slideshow (laserska depilacija, njega lica, …) */
.service-card__slideshow {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--card-media-bg);
  overflow: hidden;
}

.service-card__slideshow--single .service-card__nav {
  display: none;
}

.service-card__slides {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 12rem;
}

.service-card__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Fade out, zatim skrivanje (bolji prijelaz) */
  transition:
    opacity 0.85s ease-in-out,
    visibility 0s linear 0.85s;
}

.service-card__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  pointer-events: auto;
  /* Fade in odmah vidljivo */
  transition: opacity 0.85s ease-in-out, visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
  .service-card__slide {
    transition: none;
  }
}

.service-card__nav {
  position: absolute;
  top: 50%;
  z-index: 10;
  transform: translateY(-50%);
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  color: var(--cream);
  background: rgba(20, 18, 16, 0.45);
  backdrop-filter: blur(4px);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.service-card__nav:hover {
  background: rgba(20, 18, 16, 0.68);
  color: var(--gold-bright);
}

.service-card__nav--prev {
  left: 0.4rem;
}

.service-card__nav--next {
  right: 0.4rem;
}

.service-card__nav-char {
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  display: block;
  margin-top: -0.12em;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
  display: block;
}

.service-card__img--b {
  object-position: 48% 38%;
}

.service-card__img--c {
  object-position: 50% 42%;
}

.service-card__img--d {
  object-position: 50% 48%;
}

.service-card__img--e {
  object-position: 52% 45%;
}

.service-card__img--visage {
  object-position: 50% 38%;
}

.service-card__img--visage-b {
  object-position: 48% 42%;
}

.service-card__img--visage-c {
  object-position: 50% 35%;
}

.service-card__img--visage-d {
  object-position: 50% 38%;
}

.service-card__img--visage-e {
  object-position: 50% 36%;
}

.service-card__img--visage-f {
  object-position: 50% 40%;
}

.service-card__body {
  padding: 1.35rem 1.25rem 1.5rem;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
  color: var(--text-heading);
}

.service-card__for {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  margin: 0 0 0.65rem;
  font-weight: 600;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ——— Intro strip ——— */
.intro-strip {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .intro-strip {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* ——— Video block ——— */
.video-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

.video-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201, 163, 107, 0.2);
  box-shadow: var(--shadow-card-gold);
}

.video-card__cap {
  padding: 1rem 1.15rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.video-card__cap strong {
  display: block;
  color: var(--text-heading);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.video-card__cap span {
  display: block;
}

.video-wrap video {
  width: 100%;
  background: var(--ink);
}

/* ——— Gallery ——— */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    gap: 1.15rem;
  }
}

.gallery-grid .image-slot {
  min-height: 0;
}

/* ——— Health / lists ——— */
.health-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(228, 200, 146, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-gold);
  padding: 1.5rem 1.35rem;
  margin-top: 1.5rem;
}

html[data-theme="dark"] .health-box {
  background: rgba(36, 31, 27, 0.68);
  border-color: rgba(201, 163, 107, 0.28);
}

.health-box p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: rgba(247, 243, 237, 0.82);
  line-height: 1.6;
}

.health-box ul {
  margin: 0;
  padding-left: 1.15rem;
  color: rgba(247, 243, 237, 0.78);
  font-size: 0.92rem;
  line-height: 1.65;
}

.health-box li {
  margin-bottom: 0.45rem;
}

.disclaimer {
  font-size: 0.82rem !important;
  color: rgba(247, 243, 237, 0.55) !important;
  margin-bottom: 0 !important;
  font-style: italic;
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 2rem;
  }
}

.contact-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 163, 107, 0.2);
  box-shadow: var(--shadow-card-gold);
}

.contact-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.contact-card p,
.contact-card a {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.contact-card a {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 600;
}

.contact-card a.btn--primary {
  color: var(--btn-on-gold);
  margin-top: 0;
}

.contact-card__salonkee {
  margin: 0 0 1.1rem;
}

.contact-card__btn-salonkee {
  width: 100%;
  box-sizing: border-box;
}

.placeholder-line {
  height: 1.1rem;
  margin: 0.4rem 0;
  max-width: 100%;
  background: linear-gradient(
    90deg,
    rgba(201, 163, 107, 0.2),
    rgba(230, 183, 216, 0.15)
  );
  border-radius: 4px;
}

.placeholder-line--short {
  max-width: 70%;
}

/* ——— Footer ——— (lijevo: veroSoft · sredina: Lily · desno: Vecteezy) */
.site-footer {
  padding: 0.7rem 1rem;
  padding-bottom: calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  color: rgba(247, 243, 237, 0.55);
  font-size: clamp(0.58rem, 1.65vw, 0.68rem);
  line-height: 1.3;
  overflow: visible;
}

.site-footer a {
  color: var(--gold-bright);
}

.site-footer__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem 0.85rem;
  max-width: var(--max);
  margin: 0 auto;
  overflow: visible;
}

.site-footer__left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  min-width: 0;
  white-space: nowrap;
}

.site-footer__center {
  justify-self: center;
  text-align: center;
  white-space: nowrap;
}

.site-footer__right {
  justify-self: end;
  text-align: right;
  min-width: 0;
}

.site-footer__right--legal {
  max-width: min(16rem, 100%);
  white-space: normal;
}

.site-footer__legal {
  position: relative;
  z-index: 40;
  text-align: right;
}

.site-footer__legal-toggle {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  color: var(--gold-bright);
  user-select: none;
  padding: 0;
  text-align: right;
  width: 100%;
}

/* Panel se otvara prema gore — strelica pokazuje smjer */
.site-footer__legal-toggle::after {
  content: " ▴";
  font-size: 0.75em;
  opacity: 0.85;
}

.site-footer__legal-toggle.is-open::after {
  content: " ▾";
}

/* Panel u fixed sloju — nije u tijeku dokumenta, ne produžuje stranicu */
.site-footer__legal-body {
  position: fixed;
  z-index: 200;
  margin: 0;
  max-height: min(42vh, 14rem);
  overflow-y: auto;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  background: rgba(20, 18, 16, 0.97);
  border: 1px solid rgba(201, 163, 107, 0.28);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  -webkit-overflow-scrolling: touch;
  width: min(22rem, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
}

.site-footer__legal-note {
  margin: 0 0 0.25rem;
  font-size: 0.95em;
  color: rgba(247, 243, 237, 0.65);
}

.site-footer__legal-list {
  margin: 0;
  padding-left: 1rem;
  color: rgba(247, 243, 237, 0.7);
  font-size: 0.95em;
  line-height: 1.4;
}

.site-footer__legal-list a {
  color: rgba(228, 200, 146, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__legal-list a:hover {
  color: var(--gold-bright);
}

@media (max-width: 720px) {
  .site-footer__row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 0.45rem;
    justify-items: stretch;
  }

  .site-footer__left {
    justify-content: flex-start;
    order: 1;
  }

  .site-footer__center {
    order: 2;
    justify-self: center;
  }

  .site-footer__right {
    order: 3;
    justify-self: end;
    text-align: right;
  }

  .site-footer__right--legal {
    max-width: 100%;
    justify-self: stretch;
  }

  .site-footer__legal {
    width: 100%;
  }
}

.studio-credit {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(247, 243, 237, 0.82);
  text-decoration: none;
  transition: color 0.2s;
}

.studio-credit:hover {
  color: var(--gold-bright);
}

.studio-logo {
  flex: 0 0 auto;
  line-height: 0;
  opacity: 0.95;
  transition: opacity 0.2s, transform 0.2s;
}

.studio-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.studio-logo__img {
  display: block;
  width: clamp(26px, 5.5vw, 38px);
  height: auto;
  aspect-ratio: 900 / 980;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.35));
}

/* FINAL mobile override: hero/video must reach top behind header */
@media (max-width: 768px) {
  :root {
    --header-bar-h: 2.9rem;
    --header-bar-bg: var(--surface);
    --header-bar-border: rgba(154, 117, 68, 0.2);
    --header-bar-inset: rgba(255, 255, 255, 0.45);
  }

  body {
    padding-top: 0 !important;
  }

  .site-main {
    margin-top: 0 !important;
  }

  .site-header {
    background: var(--surface) !important;
  }

  .site-header__bar {
    background: var(--header-bar-bg) !important;
    border-bottom: 1px solid var(--header-bar-border) !important;
    box-shadow: 0 1px 0 var(--header-bar-inset) inset !important;
    backdrop-filter: none !important;
  }

  .site-header__inner {
    padding: 0.25rem 0.65rem !important;
    min-height: var(--header-bar-h) !important;
  }

  .site-header__tools {
    gap: 0.3rem !important;
  }

  .theme-toggle,
  .lang-switch__btn,
  .nav-toggle {
    min-width: 1.65rem !important;
    min-height: 1.65rem !important;
    width: 1.65rem !important;
    height: 1.65rem !important;
    padding: 0.12rem !important;
  }

  .lang-switch__flag {
    font-size: 1rem !important;
  }

  .theme-toggle__icon {
    font-size: 0.95rem !important;
  }

  .nav-toggle span {
    width: 0.95rem !important;
  }

  .hero {
    margin-top: calc(-1 * var(--header-h)) !important;
    padding-top: calc(5rem + var(--header-h)) !important;
  }

  .hero__video-stack {
    top: calc(-1 * var(--header-h)) !important;
    bottom: -1px !important;
    height: calc(100% + var(--header-h)) !important;
  }

  .hero__bgvid {
    left: 50% !important;
    right: auto !important;
    top: 0 !important;
    bottom: auto !important;
    width: 130vw !important;
    min-width: 130vw !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 100% !important;
    transform: translateX(-50%) !important;
    transform-origin: center center !important;
    object-fit: cover !important;
  }

  /* Dugmad odvojena od teksta, ali ostaju u video zoni */
  .hero__intro-cta {
    position: relative;
    padding-top: 3.25rem;
  }

  .hero__intro .hero__actions {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 6;
    margin: 0;
  }
}
