/* Body Contouring Treatments — warm boutique, editorial pass.
   Two section backgrounds only (cream + sand), display serif for all
   headings, script reserved for the single hero accent phrase. */

:root {
  /* One theme only. This also stops browsers auto-darkening form controls
     and the dialog, so the salon's palette is what everybody sees. */
  color-scheme: only light;

  --cream:    #F7F3ED; /* page background — the only base */
  --sand:     #EFE7DC; /* the only alternating section background */
  --taupe:    #B7A695; /* hairlines and borders only */
  --cocoa:    #6E5D4E; /* eyebrows, labels, secondary text */
  --espresso: #2C241D; /* all body text and headings */
  --accent:   #A05B43; /* terracotta — buttons and links only */

  --font-body: Jost, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-script: "Ms Madi", cursive;

  --wide: 1200px;
  --narrow: 1000px;
  --gutter: 24px;
  --section-y: clamp(80px, 9vw, 104px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  /* Anchors land below the sticky-ish header rather than under it. */
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }
figure { margin: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--espresso); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--cream);
  padding: 12px 20px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.skip-link:focus { left: 8px; top: 8px; color: var(--cream); }

/* ---------- shared bits ---------- */

/* One label system for the whole page: quiet sans, uppercase, tracked. */
.overline {
  margin: 0;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cocoa);
}
.overline-accent { color: var(--cocoa); }

.btn {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-solid {
  color: var(--cream);
  background: var(--accent);
  padding: 16px 34px;
  border: 1px solid transparent;
}
.btn-solid:hover { background: var(--espresso); color: var(--cream); }
.btn-outline {
  color: var(--espresso);
  border: 1px solid var(--taupe);
  padding: 15px 34px;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.pill {
  border-radius: 999px;
  overflow: hidden;
}
.pill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Scroll reveal — neutralised when the visitor prefers reduced motion. */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
[data-reveal].on { opacity: 1; transform: none; }

/* ---------- header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 22px clamp(24px, 5vw, 64px);
}

/* Text wordmark — stays crisp at any size, no artwork collisions. */
.brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--espresso);
}
.brand:hover { color: var(--espresso); }
.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-sub {
  font-size: 10px;
  line-height: 1;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--cocoa);
}

.site-nav {
  display: flex;
  gap: clamp(16px, 3vw, 36px);
  align-items: center;
  flex-wrap: wrap;
}
.site-nav > a {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cocoa);
  padding: 12px 0;
  transition: color .25s var(--ease);
}
.site-nav > a:hover { color: var(--accent); }

/* Booking CTA lives here only once the nav becomes the mobile dropdown.
   .site-nav > a's cocoa text, .18em tracking and 0-side padding all
   beat .btn-solid on specificity, so every property that matters gets
   an explicit, equally-specific override here. display/width stay in
   the mobile media query below — unscoped here they'd beat
   .nav-booking's display:none and show the button on desktop too. */
.nav-booking { display: none; }
.site-nav > a.nav-booking,
.site-nav > a.nav-booking:hover {
  color: var(--cream);
  letter-spacing: .15em;
  padding: 16px 34px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-actions .btn-solid {
  letter-spacing: .15em;
  padding: 14px 28px;
}

/* Three-line trigger, revealed only once the nav collapses on mobile. */
.nav-toggle {
  display: none;
  flex: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--espresso);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.nav-toggle span:nth-child(1) { width: 13px; }
.nav-toggle span:nth-child(2) { width: 19px; }
.nav-toggle span:nth-child(3) { width: 26px; }
/* Collapses into a close (X) mark while the mobile panel is open. */
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 22px; }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 22px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  letter-spacing: .16em;
}
.lang-switch > * { padding: 12px 0; }
.lang-switch a { color: var(--cocoa); transition: color .25s var(--ease); }
.lang-switch a:hover { color: var(--accent); }
.lang-switch [aria-current] { color: var(--espresso); }
/* Divider between the two locales. */
.lang-switch > * + *::before {
  content: "/";
  margin-right: 8px;
  color: var(--taupe);
}

/* Below this, the links/lang-switch tuck into the hamburger; the brand
   and Zakažite/Book + toggle stay put as the visible top row. */
@media (max-width: 899px) {
  .site-header { gap: 12px; }

  .brand { order: 1; }
  .header-actions { order: 2; gap: 12px; }
  /* The booking button moves into the nav dropdown on mobile instead
     of competing with the wordmark for space in the top row. */
  .header-actions .btn-solid { display: none; }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease), opacity .3s var(--ease);
  }
  .site-header.nav-open .site-nav {
    max-height: 380px;
    opacity: 1;
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--taupe);
  }
  .site-nav > a { padding: 10px 0; }
  .lang-switch { padding: 6px 0 2px; }

  .nav-toggle { display: flex; }

  .nav-booking {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    margin-top: 14px;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--taupe);
}
/* Ghost word sits behind the photography, away from the eyebrow. */
.hero-watermark {
  position: absolute;
  right: -3vw;
  bottom: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(150px, 24vw, 340px);
  line-height: .78;
  color: var(--accent);
  opacity: .09;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}
.hero-inner {
  position: relative;
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(32px, 9vw, 128px) var(--gutter) clamp(56px, 7vw, 96px);
  display: flex;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  flex-wrap: wrap;
}
.hero-copy { flex: 1 1 400px; min-width: 0; }

.eyebrow-script {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--cocoa);
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 6.8vw, 88px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: pretty;
}
/* The one and only script moment on the page. */
.hero-script {
  margin: 12px 0 0;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.3;
  color: var(--cocoa);
}
.lede {
  margin: 18px 0 28px;
  max-width: 50ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--espresso);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-media {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  gap: clamp(14px, 2vw, 24px);
  align-items: flex-end;
}
.pill-tall { flex: 1.2; height: clamp(300px, 38vw, 500px); }
.pill-short { flex: 1; height: clamp(220px, 28vw, 380px); }
/* Keep the face whole: anchor the crop near the top of the frame so the
   eyes stay in the upper third whatever the pill's proportions. */
.pill-tall img { object-position: 85% 15%; }

/* Compact hero rhythm on phones so the photography crests the fold. */
@media (max-width: 599px) {
  .hero-inner { padding-top: 24px; }
  .eyebrow-script { margin-bottom: 6px; }
  .hero-script { margin-top: 8px; font-size: 24px; }
  .lede { margin: 14px 0 22px; }
  .hero-actions { gap: 10px; }
  .pill-tall { height: 300px; }
  .pill-short { height: 220px; }
}

/* ---------- generic section ---------- */

.section {
  max-width: var(--wide);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter) 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.1;
}

/* ---------- gallery ---------- */

/* Sits directly under the hero rule — half the default breathing room. */
.section-gallery { padding-top: clamp(40px, 5vw, 64px); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 1.8vw, 22px);
}
@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

.gallery-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand);
}
.gallery-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Top layer crossfades over the outgoing frame underneath it. */
.gallery-tile .layer-top { transition: opacity .9s ease; }

/* ---------- philosophy split ---------- */

.section-split {
  display: flex;
  gap: clamp(32px, 6vw, 88px);
  flex-wrap: wrap;
  align-items: flex-start;
}
.split-aside { flex: 0 1 320px; min-width: 0; }
.split-aside .overline { margin-bottom: 12px; }
.split-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.15;
  color: var(--espresso);
}
.split-body { flex: 1 1 420px; min-width: 0; }
.split-body p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--espresso);
  max-width: 62ch;
}
.split-body p:last-child { margin-bottom: 0; }

/* ---------- services panel ---------- */

.panel {
  background: var(--sand);
  margin-top: var(--section-y);
}
.panel-inner {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.panel-head { margin-bottom: clamp(32px, 4vw, 48px); }
.panel-head h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.1;
}
.panel-head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--espresso);
  max-width: 60ch;
}

/* Category jump links — quiet text links between hairlines, not buttons. */
.service-jump {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--taupe);
  border-bottom: 1px solid var(--taupe);
}
/* Cocoa, not terracotta: small text on sand needs the 4.5:1 floor. */
.service-jump a {
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--cocoa);
  padding: 14px 22px 14px 0;
  transition: color .25s var(--ease);
}
.service-jump a + a {
  padding-left: 22px;
  border-left: 1px solid var(--taupe);
}
.service-jump a:hover {
  color: var(--espresso);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

@media (max-width: 639px) {
  .service-jump { flex-direction: column; }
  .service-jump a { padding: 12px 0; }
  .service-jump a + a {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--taupe);
  }
}

.service-group { scroll-margin-top: 24px; }
.service-group + .service-group { margin-top: 48px; }

.service-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.service {
  border-top: 1px solid var(--taupe);
  padding: 20px 0;
}
/* Only the final group closes itself off with a bottom rule. */
.service-list-closed .service:last-child { border-bottom: 1px solid var(--taupe); }

.service h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.15;
}
.service p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--espresso);
  max-width: 58ch;
}

/* Manufacturer claims lifted straight from the salon's own material. */
.service-points {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-points li {
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--cocoa);
  border: 1px solid var(--taupe);
  border-radius: 999px;
  padding: 6px 14px;
  background: var(--cream);
}
.service .service-meta {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--cocoa);
}

.panel-foot {
  margin: clamp(32px, 4vw, 48px) 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--espresso);
  max-width: 60ch;
}
/* Same sand-background rule: the inline link keeps its affordance from
   the underline, and its color clears 4.5:1. */
.panel-foot a {
  color: var(--cocoa);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.panel-foot a:hover { color: var(--espresso); }

/* ---------- promise ---------- */

.section-promise {
  padding-top: clamp(48px, 6vw, 72px);
  display: flex;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  flex-wrap: wrap;
}
.promise-media { flex: 0 1 300px; min-width: 0; }
.promise-media .pill {
  height: clamp(300px, 34vw, 420px);
  max-width: 320px;
}
.promise-body { flex: 1 1 420px; min-width: 0; }
.promise-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.promise-points li {
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--cocoa);
  border: 1px solid var(--taupe);
  border-radius: 999px;
  padding: 9px 20px;
}
.promise-note {
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--espresso);
  max-width: 52ch;
}

/* ---------- pull quote ---------- */

.section-quote { text-align: center; }
.quote {
  margin: 0 auto;
  max-width: 680px;
  padding: clamp(8px, 2vw, 24px) 0;
}
.quote p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(25px, 3.4vw, 34px);
  line-height: 1.35;
  color: var(--espresso);
  text-wrap: balance;
}
.quote cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cocoa);
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: var(--section-y);
  border-top: 1px solid var(--taupe);
}
.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(64px, 7vw, 96px) var(--gutter) 56px;
}
.footer-cols {
  display: flex;
  gap: clamp(40px, 6vw, 96px);
  flex-wrap: wrap;
}
.footer-col { flex: 1 1 200px; min-width: 0; }
.footer-col-brand { flex: 1 1 340px; }

.footer-wordmark {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}
.footer-wordmark .brand-name { font-size: 25px; }
.footer-col-brand > p {
  margin: 0 0 30px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--espresso);
  max-width: 50ch;
}
.footer-col .overline { margin: 0 0 14px; }

.footer-text {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.7;
}
.footer-text a { color: var(--espresso); }
.footer-text a:hover { color: var(--accent); }

.phone-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-list a {
  font-size: 16px;
  color: var(--espresso);
  padding: 2px 0;
  transition: color .25s var(--ease);
}
.phone-list a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--taupe);
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--cocoa);
}
.footer-slogan {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px !important;
  color: var(--espresso) !important;
}

/* ---------- contact options (footer + booking sheet) ---------- */

.contact-options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
}
.contact-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--taupe);
  border-radius: 999px;
  color: var(--espresso);
  background: var(--cream);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.contact-option:hover {
  color: var(--espresso);
  border-color: var(--accent);
  background: var(--sand);
}
/* One monochrome icon style for all three channels. */
.contact-badge {
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--taupe);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--espresso);
  background: transparent;
  transition: border-color .25s var(--ease);
}
.contact-option:hover .contact-badge { border-color: var(--accent); }

.contact-label { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.contact-label strong {
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-label small { font-size: 13px; color: var(--cocoa); }

/* ---------- booking sheet ---------- */

.booking {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(460px, calc(100vw - 32px));
  width: 100%;
  color: var(--espresso);
}
.booking::backdrop {
  background: rgba(44, 36, 29, .55);
  backdrop-filter: blur(3px);
}
.booking-inner {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--taupe);
  border-radius: 26px;
  padding: clamp(28px, 5vw, 40px);
}
.booking-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--cocoa);
  cursor: pointer;
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.booking-close:hover { color: var(--espresso); background: var(--sand); }

.booking h2 {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 6vw, 40px);
  line-height: 1.1;
}
.booking-note {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--espresso);
}
.booking-options { max-width: none; }
.booking-email {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--espresso);
}

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .gallery-tile .layer-top { transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
