/* ANNY studio — self-contained stylesheet (no external fonts, no CDN).
   Compatible with CSP: default-src 'self'; style-src 'self'.
   Palette: clean/editorial — white paper, warm gray, near-black ink. */

:root {
  --en: #8a6a37;
  --paper: #ffffff;
  --mist: #f6f5f4;
  --mist-2: #eceae8;
  --line: #e2dfdc;

  --ink: #16181a;
  --ink-2: #3a3d40;
  --muted: #6b7078;
  --muted-2: #8b9096;

  /* Jediná farebná výnimka na celom webe — len pre stavy v rezervačnom
     kalendári (voľné/obsadené/obed), kde je farba potrebná na rýchle
     odlíšenie. Zvyšok webu ostáva zámerne čiernobielo-sivý (viď BRAND.md). */
  --cal-free-bg: #eef4ef;
  --cal-free-border: #c9ddcd;
  --cal-free-ink: #2f5b3f;
  --cal-free-solid: #3f6b52;
  --cal-lunch-bg: #f6ede0;
  --cal-lunch-border: #e3cfa9;
  --cal-lunch-ink: #8a6a37;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(22, 24, 26, .05), 0 6px 16px rgba(22, 24, 26, .05);
  --shadow-md: 0 2px 6px rgba(22, 24, 26, .06), 0 18px 44px rgba(22, 24, 26, .1);
  --wrap: 1140px;
}

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

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.62;
}

img, svg { max-width: 100%; }

h1, h2, h3 {
  margin: 0 0 .6em;
  line-height: 1.14;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 4vw, 2.15rem); }
h3 { font-size: 1.12rem; }

p { margin: 0 0 1rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }

a { color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

@media (min-width: 700px) {
  .wrap { padding: 0 32px; }
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff;
  padding: .75rem 1.1rem; border-radius: 0 0 var(--radius-sm) 0; z-index: 100;
}
.skip-link:focus { left: 0; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .85rem 1.6rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-primary:disabled { background: var(--muted-2); cursor: not-allowed; }

.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-lg { min-height: 54px; padding: 1rem 2rem; font-size: 1.02rem; }
.btn-sm { min-height: 40px; padding: .5rem 1.15rem; font-size: .92rem; }
.btn-block { display: flex; width: 100%; }
.btn:active { transform: translateY(1px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px; padding-top: .6rem; padding-bottom: .6rem;
}

.brand { text-decoration: none; color: var(--ink); display: flex; align-items: center; }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-name { font-size: 1.24rem; font-weight: 600; letter-spacing: .01em; }
.brand-name-light { font-weight: 400; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav .btn { white-space: nowrap; }
.site-nav > a:not(.btn) {
  display: none; color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.site-nav > a:not(.btn):hover { color: var(--ink); }

@media (min-width: 900px) {
  .site-nav > a:not(.btn) { display: inline; }
}

.site-nav a.nav-phone { display: none; font-weight: 600; color: var(--ink); white-space: nowrap; }

@media (min-width: 620px) {
  .site-nav a.nav-phone { display: inline; }
}

/* Pravá skupina hlavičky (telefón, siete, jazyk, tlačidlo) je oddelená od
   odkazov jemnou čiarou, aby hlavička nebola jedna súvislá tlačenica. */
@media (min-width: 900px) {
  .site-nav a.nav-phone { margin-left: .5rem; padding-left: 1.5rem; border-left: 1px solid var(--line); }
}

/* Sociálne siete sú aj v pätičke — v hlavičke len tam, kde je miesto. */
.nav-social { display: none; align-items: center; gap: .7rem; }
.nav-social a { color: var(--muted); }
.nav-social a:hover { color: var(--ink); }
@media (min-width: 1360px) {
  .nav-social { display: inline-flex; }
}

/* Prepínač jazyka: malá tabletka s kódom druhého jazyka. */
.site-nav > a.nav-lang { display: none; }
@media (min-width: 620px) {
  .site-nav > a.nav-lang {
    display: inline-flex; align-items: center; min-height: 32px; padding: 0 .7rem;
    border: 1px solid var(--en); border-radius: 999px; background: var(--en); color: #fff;
    font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-decoration: none;
  }
  .site-nav > a.nav-lang:hover { background: #6f5429; border-color: #6f5429; }
}

/* ---------- Hero ---------- */

.hero { padding: 4.5rem 0 4rem; border-bottom: 1px solid var(--line); }

.hero-grid { display: grid; gap: 2.4rem; align-items: center; }

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
}

.hero-inner { max-width: 62ch; }

.hero-media {
  border-radius: var(--radius); overflow: hidden; order: -1;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-sm);
}
/* nivora-hero-pc.webp je už orezaná presne na pomer 4:5 (640×800) s tvárou
   v strede — object-position stačí center. Predtým bola tu iná, širšia
   fotka (1500×748), kde stred orezával tvár mimo záber, riešené cez 90%
   (nahlásené 25.9.2026); po výmene fotky (Rasťo: "vymeň foto aj pre PC
   web", rovnaký orez ako na /m — nástroj namiesto samotných prstov) už
   netreba dolaďovať. */
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

@media (min-width: 860px) {
  .hero-media { order: 0; }
}

.eyebrow {
  margin: 0 0 1.1rem; font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow-dark { color: var(--muted); }

.hero h1 { margin-bottom: .45em; }

.lead { font-size: clamp(1.05rem, 2.1vw, 1.2rem); color: var(--muted); max-width: 46ch; }

.hero-actions { display: flex; flex-direction: column; gap: .8rem; margin: 1.9rem 0 1.6rem; }

@media (min-width: 560px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { flex: 0 0 auto; }
}

.hero-phone { font-size: .95rem; color: var(--muted); }
.hero-phone a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.chat-preview { margin-top: 1.8rem; padding: 1.4rem 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); max-width: 420px; }
.chat-preview-label { margin: 0 0 .8rem; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.chat-preview-box {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .85rem 1rem; background: var(--mist); border: 1.5px solid var(--line); border-radius: 999px;
}
.chat-preview-input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  color: var(--ink); font-size: .95rem; font-family: inherit;
}
.chat-preview-input::placeholder { color: var(--muted); }
.chat-preview-send {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .9rem;
  border: 0; cursor: pointer;
}
.chat-preview-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.chat-chip {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: .45rem .8rem; font-size: .82rem; color: var(--ink); cursor: pointer;
}
.chat-chip:hover { border-color: var(--ink); }

@media (min-width: 860px) {
  .chat-preview { max-width: 560px; }
  .chat-preview-chips { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
  .chat-chip {
    border-radius: 12px; padding: .8rem .9rem; text-align: left; line-height: 1.3;
    display: flex; align-items: center; min-height: 3rem;
  }
}
.chat-preview-answer { margin-top: .9rem; }
.chat-answer-q { margin: 0 0 .3rem; font-size: .84rem; color: var(--muted); }
.chat-answer-title { margin: 0 0 .3rem; font-size: 1rem; font-weight: 600; color: var(--ink); }
.chat-answer-desc { margin: 0 0 .6rem; font-size: .88rem; color: var(--ink-2); }
.chat-answer-price { margin: 0 0 .8rem; font-weight: 600; color: var(--ink); }
.chat-answer-back {
  display: block; margin-top: .7rem; background: none; border: 0; padding: 0;
  font-size: .82rem; color: var(--muted); cursor: pointer; text-decoration: underline;
  text-underline-offset: 2px;
}
.chat-answer-back:hover { color: var(--ink); }

/* ---------- Sections ---------- */

.section { padding: 4rem 0; }
main > section[id] { scroll-margin-top: 84px; }

@media (min-width: 760px) {
  .section { padding: 5.5rem 0; }
}

.section-tint { background: var(--mist); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #b7bcc2; }

.section-title { max-width: 26ch; }

.section-lead { font-size: 1.05rem; max-width: 50ch; margin-bottom: 2rem; }
.section-lead-light { color: #c7cbd0; }

/* ---------- Why-us facts ---------- */

.why-us-layout { display: grid; gap: 1.6rem; margin-top: 2.25rem; }

@media (min-width: 860px) {
  .why-us-layout { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 2.2rem; }
}

.fact-list { display: grid; gap: 1.1rem; align-content: center; }

.studio-photo {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  position: relative; box-shadow: var(--shadow-sm); height: 100%;
}
.studio-photo img { width: 100%; height: 100%; min-height: 280px; max-height: 480px; object-fit: cover; display: block; }
.studio-photo figcaption {
  position: absolute; left: 0; bottom: 0; margin: 0; padding: .7rem 1.1rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent);
  color: #fff; font-size: .88rem; font-weight: 600;
}

.fact-card {
  padding: 1.6rem 1.4rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.fact-num { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; color: var(--muted-2); margin-bottom: .9rem; }
.fact-card h3 { font-size: 1.02rem; margin-bottom: .4em; }
.fact-card p { font-size: .93rem; margin: 0; }

/* ---------- Treatment cards ---------- */

.grid-3 { display: grid; gap: 1.1rem; margin-top: 2.25rem; }

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

.treatment-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm);
}
.treatment-photo {
  display: block; width: calc(100% + 3rem); max-width: calc(100% + 3rem);
  height: 160px; object-fit: cover;
  margin: -1.6rem -1.5rem 1.2rem; border-radius: var(--radius) var(--radius) 0 0;
}
.treatment-cat {
  margin: 0 0 .5rem; font-size: .74rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2);
}
.treatment-card h3 { margin-bottom: .4em; }
.treatment-desc { font-size: .93rem; margin-bottom: 1.1rem; }
.treatment-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 0; padding-top: .9rem; border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--muted);
}
.treatment-price { font-weight: 600; font-size: 1.05rem; color: var(--ink); }

/* Karta sa otvorí kliknutím kamkoľvek na ňu: natívny <details>, jeho <summary>
   sa rozťahuje cez celú kartu; tlačidlo "Pridať" je nad ním. */
.flagship-grid { align-items: start; }
.treatment-card { position: relative; }
.treatment-more { margin: 0 0 1.1rem; }
.treatment-more summary {
  cursor: pointer; list-style: none; font-size: .86rem; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: .4rem;
}
.treatment-more summary::-webkit-details-marker { display: none; }
.treatment-more summary::before {
  content: ""; width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg); transition: transform .2s; flex: 0 0 auto;
}
.treatment-more[open] summary::before { transform: rotate(45deg); }
.treatment-more summary::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.treatment-more summary:focus-visible { outline: none; }
.treatment-more summary:focus-visible::after { outline: 2px solid var(--ink); outline-offset: 2px; }
.treatment-more p { margin: .7rem 0 0; font-size: .9rem; line-height: 1.55; color: var(--ink-2); }
.treatment-card .treatment-add { position: relative; z-index: 2; }

.treatment-add { margin-top: 1rem; width: 100%; }
.treatment-add.is-added,
.price-add.is-added { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Price accordion ---------- */

.price-accordion { margin-top: 3rem; display: grid; gap: .8rem; align-items: start; }

/* Dva samostatné stĺpce: rozbalenie karty v jednom nesmie posunúť druhý. */
.price-col { display: contents; }
.price-col:first-child .price-group:nth-child(1) { order: 1; }
.price-col:first-child .price-group:nth-child(2) { order: 3; }
.price-col:first-child .price-group:nth-child(3) { order: 5; }
.price-col:first-child .price-group:nth-child(4) { order: 7; }
.price-col:last-child .price-group:nth-child(1) { order: 2; }
.price-col:last-child .price-group:nth-child(2) { order: 4; }
.price-col:last-child .price-group:nth-child(3) { order: 6; }

@media (min-width: 860px) {
  .price-accordion { grid-template-columns: 1fr 1fr; gap: 1rem 1.6rem; }
  .price-col { display: grid; gap: 1rem; align-content: start; }
}

.price-group {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; overflow: hidden;
}

.price-group summary {
  cursor: pointer; list-style: none; padding: 1.15rem 1.4rem;
  font-weight: 600; color: var(--ink); font-size: 1.02rem;
  display: flex; justify-content: space-between; align-items: center;
}
.price-group summary::-webkit-details-marker { display: none; }
.price-group summary::after { content: "+"; font-size: 1.3rem; color: var(--muted); font-weight: 400; }
.price-group[open] summary::after { content: "−"; }
.price-group summary:hover { background: var(--mist); }

.price-table { width: 100%; border-collapse: collapse; padding: 0 1.4rem 1.2rem; }
.price-table tbody { display: block; padding: 0 1.4rem 1.2rem; }
.price-table tr { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--mist-2); font-size: .93rem; }
.price-table tr:first-child { border-top: none; }
.price-table td:first-child { color: var(--ink-2); }
.price-table td:last-child.has-add { display: flex; align-items: center; gap: .6rem; }
.price-add {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1;
  cursor: pointer; flex: 0 0 auto;
}
.price-add:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.price-table td:last-child { color: var(--ink); font-weight: 600; white-space: nowrap; }

.price-note { padding: 0 1.4rem 1.2rem; font-size: .85rem; color: var(--muted-2); margin: 0; }

.price-fineprint { margin-top: 1.4rem; font-size: .86rem; color: var(--muted-2); }

/* ---------- Booking flow ---------- */

.booking { margin-top: 2.25rem; display: grid; gap: 1.5rem; }

.booking-step {
  border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem; margin: 0; background: rgba(255, 255, 255, .04);
  transition: opacity .15s ease;
}

@media (min-width: 700px) {
  .booking-step { padding: 2rem; }
}

.booking-step[disabled] { opacity: .4; }
.booking-step[disabled] * { pointer-events: none; }

.booking-step legend {
  float: left; width: 100%; box-sizing: border-box; /* nadpis vo vnútri rámika, nie na jeho čiare */
  display: flex; align-items: center; gap: .7rem; padding: 0 0 1.2rem;
  font-weight: 600; font-size: 1.05rem; color: #fff;
}

.booking-step legend + * { clear: both; }

.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--ink);
  font-size: .88rem; font-weight: 700; flex: 0 0 auto;
}

.booking-treatments { display: grid; gap: .6rem; }

@media (min-width: 700px) {
  .booking-treatments { grid-template-columns: 1fr 1fr; }
}

.treatment-check {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .8rem .9rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-sm);
  cursor: pointer; font-size: .92rem; color: #e7e8ea;
}
.treatment-check:hover { border-color: rgba(255, 255, 255, .4); }
.treatment-check input { margin-top: .2rem; width: 18px; height: 18px; flex: 0 0 auto; }
.treatment-check .tc-name { display: block; font-weight: 500; color: #fff; }
.treatment-check .tc-price { display: block; font-size: .84rem; color: #b7bcc2; }

.staff-options { display: grid; gap: .6rem; }

@media (min-width: 600px) {
  .staff-options { grid-template-columns: repeat(3, 1fr); }
}

.staff-option {
  display: flex; align-items: center; gap: .6rem;
  padding: .9rem 1rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-sm);
  cursor: pointer; font-size: .93rem; color: #e7e8ea;
}
.staff-option input { width: 18px; height: 18px; flex: 0 0 auto; }
.staff-option em { color: #a7abb1; font-style: normal; font-size: .82rem; display: block; }

.staff-avatar {
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #e7e8ea;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
}
.staff-avatar-any { background: rgba(255, 255, 255, .07); color: #b7bcc2; }

.field-hint { font-size: .84rem; color: #a7abb1; margin-top: .9rem; }

.calendar-demo { display: grid; gap: 1rem; }

.calendar-mode-toggle {
  display: inline-flex; gap: .15rem; padding: .2rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28); align-self: start;
}
.calendar-mode-btn {
  border: 0; background: transparent; color: #b7bcc2; font-size: .82rem; font-family: inherit;
  padding: .4rem .95rem; border-radius: 999px; cursor: pointer;
}
.calendar-mode-btn.is-active { background: #fff; color: var(--ink); font-weight: 700; }

.calendar-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  flex-wrap: wrap;
}
.calendar-nav {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28);
  background: transparent; color: #fff; font-size: 1rem; cursor: pointer;
}
.calendar-nav:hover { background: rgba(255, 255, 255, .12); }
.calendar-nav:disabled { opacity: .35; cursor: not-allowed; }
.calendar-nav:disabled:hover { background: transparent; }
.week-title { font-weight: 600; color: #fff; font-size: .95rem; text-align: center; }

.calendar-legend {
  display: flex; flex-wrap: wrap; gap: 1rem; font-size: .82rem; color: #b7bcc2;
}
.calendar-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.calendar-legend i {
  display: inline-block; width: 12px; height: 12px; border-radius: 3px; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .2);
}
.calendar-legend .legend-busy i { background: transparent; border-color: #6a6e73; }
.calendar-legend .legend-lunch i { background: rgba(255, 255, 255, .28); }

/* Klikacie záložky dní — vidno len na užšej obrazovke, kde prepínajú, ktorý
   stĺpec spoločnej tabuľky (viď .calendar-table nižšie) je viditeľný. */
.calendar-day-tabs { display: none; }

/* Jedna spoločná tabuľka — čas v riadkoch vľavo, dni v stĺpcoch hore, presne
   ako referenčná NIVORA šablóna (nie samostatné "kartičky" dní vedľa seba). */
.calendar-table-wrap { overflow-x: auto; }
.calendar-table { width: 100%; border-collapse: collapse; table-layout: fixed; }

.calendar-time-col { width: 58px; }
thead .calendar-time-col { border-bottom: 1px solid rgba(255, 255, 255, .16); }
tbody .calendar-time-col {
  text-align: right; padding: 0 .6rem .55rem 0; font-size: .78rem; font-weight: 500;
  color: #b7bcc2; white-space: nowrap; vertical-align: top;
}

.calendar-day-th {
  text-align: center; padding: 0 .3rem .8rem; border-bottom: 1px solid rgba(255, 255, 255, .16);
  vertical-align: bottom;
}
.calendar-day-th .cdt-name { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #b7bcc2; }
.calendar-day-th .cdt-date { display: block; font-size: .92rem; font-weight: 700; color: #fff; margin-top: .15rem; }
.calendar-day-th .cdt-today { display: block; font-size: .6rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; color: #b7bcc2; margin-top: .1rem; }
.cdt-today-hidden { visibility: hidden; }

.calendar-cell { padding: .18rem; vertical-align: middle; }
.calendar-row:first-child .calendar-cell { padding-top: .5rem; }

.calendar-cell.is-lunch { text-align: center; font-size: .76rem; color: #b7bcc2; background: rgba(255, 255, 255, .04); border-radius: 4px; }

.calendar-loading, .calendar-error { padding: 1.2rem .5rem; text-align: center; font-size: .88rem; color: #b7bcc2; }
.calendar-error { color: #e0958a; }

.slot {
  display: block; width: 100%; padding: .5rem .3rem; border-radius: 6px; border: 1px solid transparent;
  background: rgba(255, 255, 255, .07); color: #e7e8ea; font-size: .82rem; text-align: center; cursor: pointer;
}
.slot:hover { background: rgba(255, 255, 255, .15); }
.slot[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 700; }
.slot[disabled] { background: transparent; color: #6a6e73; text-decoration: line-through; cursor: not-allowed; }

/* Mesačná mriežka — len výber dňa; klik na deň prepne späť na "Týždeň" a
   otvorí výber času presne pre ten deň (viď app.js, renderMonth). */
.calendar-month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; }
.month-head { text-align: center; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #b7bcc2; padding-bottom: .3rem; }
.month-cell {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid transparent; background: rgba(255, 255, 255, .07);
  color: #e7e8ea; font-size: .85rem; cursor: pointer;
}
.month-cell:hover:not(:disabled) { background: rgba(255, 255, 255, .15); }
.month-cell:disabled { background: transparent; color: #6a6e73; cursor: not-allowed; }
.month-cell.is-iny-mesiac { opacity: .4; }
.month-cell.is-dnes { border-color: #fff; font-weight: 700; }

@media (max-width: 780px) {
  .calendar-day-tabs {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem;
    margin-bottom: .8rem;
  }
  .calendar-day-tab {
    display: grid; gap: .1rem; justify-items: center; padding: .5rem .3rem;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--paper); cursor: pointer;
  }
  .calendar-day-tab.is-active { background: var(--ink); border-color: var(--ink); }
  .calendar-day-tab.is-active .cdt-name,
  .calendar-day-tab.is-active .cdt-date,
  .calendar-day-tab.is-active .cdt-today { color: #fff; }
  .calendar-day-tab .cdt-name { font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
  .calendar-day-tab .cdt-date { font-size: .82rem; font-weight: 700; color: var(--ink); }
  .calendar-day-tab .cdt-today { font-size: .58rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; color: var(--muted); }

  /* Na užšej obrazovke ostáva viditeľný len stĺpec s časom a jeden (aktívny)
     deň — rovnaká tabuľka, len skryté stĺpce cez display:none na bunkách. */
  .calendar-day-th, .calendar-cell { display: none; }
  .calendar-day-th.is-active, .calendar-cell.is-active { display: table-cell; }
}

.booking .field-grid { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .booking .field-grid { grid-template-columns: 1fr 1fr; } }

.booking .field { display: grid; gap: .4rem; margin: 0 0 1.1rem; }
.booking .field label { font-size: .88rem; font-weight: 600; color: #fff; }

.booking .field input,
.booking .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .85rem; font: inherit; font-size: .98rem;
  color: var(--ink); background: #fff; border: 1.5px solid transparent; border-radius: var(--radius-sm);
}
.booking .field textarea { min-height: 90px; resize: vertical; }
.booking .field input:focus, .booking .field textarea:focus { outline: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .5); }

.field-consent-row { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .7rem; margin: 0; }
.field-consent-row input[type="checkbox"] { width: 20px; height: 20px; margin: .18rem 0 0; }
.field-consent-row label { font-size: .87rem; font-weight: 400; color: #d5d7da; }

.consent-details { margin: .6rem 0 0 2.1rem; }
.consent-details summary {
  cursor: pointer; list-style: none; font-size: .82rem; font-weight: 600;
  color: #d5d7da; text-decoration: underline; text-underline-offset: 2px; width: fit-content;
}
.consent-details summary::-webkit-details-marker { display: none; }
.consent-details summary:hover { color: #fff; }
.consent-text {
  margin-top: .7rem; padding: .9rem 1rem; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .06); font-size: .82rem; line-height: 1.55; color: #d5d7da;
}
.consent-text p { margin: 0 0 .7rem; }
.consent-text p:last-child { margin-bottom: 0; }
.consent-text strong { color: #fff; }
.consent-text a { color: #fff; }

/* Rezervácia v dvoch stĺpcoch: kroky vľavo, trvalý súhrn vpravo (na širšej
   obrazovke prilepený, ostáva na očiach pri skrolovaní) — rovnaký princíp
   ako čierny bočný panel v referenčnej NIVORA šablóne. */
.booking-layout { display: grid; gap: 1.75rem; align-items: start; }
@media (min-width: 960px) {
  .booking-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .booking-aside { position: sticky; top: 96px; }
}

.booking-summary {
  background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 1.6rem 1.7rem;
  display: grid; gap: .55rem;
}
.summary-eyebrow { margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #b7bcc2; }
.summary-line { display: flex; justify-content: space-between; margin: 0; font-size: .92rem; color: #c7cbd0; }
.summary-total { padding-top: .8rem; margin-top: .15rem; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 1.2rem; font-weight: 700; color: #fff; }
.summary-total span:last-child { color: #fff; }
.booking-summary .btn-primary { margin-top: .5rem; background: #fff; color: var(--ink); }
.booking-summary .btn-primary:hover { background: #e7e8ea; }
.booking-summary .btn-primary:disabled { background: rgba(255, 255, 255, .15); color: #8b9096; }
.summary-hint { margin: 0; font-size: .78rem; color: #8b9096; }

.form-success {
  padding: 2rem 1.6rem; text-align: center; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
}
.form-success:focus { outline: none; }
.form-success:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.form-success-mark {
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  margin: 0 auto 1rem; font-size: 1.5rem; font-weight: 700; color: #fff; background: var(--ink); border-radius: 50%;
}
.form-success h3 { font-size: 1.25rem; margin-bottom: .5em; }
.form-success p { margin: 0 auto; max-width: 40ch; }
.gcal-row {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin: 1.1rem auto 0;
}
.gcal-dismiss {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--paper); color: var(--muted); font-size: .85rem; line-height: 1;
  cursor: pointer; flex: 0 0 auto;
}
.gcal-dismiss:hover { background: var(--mist); color: var(--ink); }

.form-error {
  padding: 1.4rem 1.6rem; text-align: center; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  margin-top: 1.5rem; display: grid; gap: .9rem; justify-items: center;
}
.form-error:focus { outline: none; }
.form-error:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.form-error p { margin: 0; max-width: 40ch; color: var(--ink); }

/* Nevidí a nevypĺňa ho nikto skutočný — pasca na roboty (Code.gs, payload.website). */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: .8rem; margin-top: 1.8rem; max-width: 760px; }

.faq-item { padding: 0; background: var(--mist); border: 1px solid var(--mist-2); border-radius: var(--radius); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.4rem; font-size: 1.02rem; font-weight: 600; color: var(--ink);
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; font-size: 1.3rem; font-weight: 400; color: var(--muted-2);
  transition: transform .15s ease;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0; padding: 0 1.4rem 1.25rem; font-size: .95rem; }

.label-optional { margin-left: .4rem; font-size: .78rem; font-weight: 500; color: var(--muted-2); }

/* ---------- Contact / map ---------- */

.contact-layout { display: grid; gap: 1.4rem; margin-top: 1.8rem; }

@media (min-width: 900px) {
  .contact-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; align-items: start; }
}

.contact-photo { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); margin: 0 0 1.2rem; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.contact-row { display: grid; gap: .2rem; margin: 0 0 1.1rem; }
.contact-label { font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.contact-value { font-size: .97rem; color: var(--ink-2); line-height: 1.55; }
a.contact-value { text-decoration: none; }
a.contact-value:hover { text-decoration: underline; }
.contact-strong { font-weight: 600; color: var(--ink); }

.contact-card .btn-outline { margin-top: .4rem; }

.contact-map { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); box-shadow: var(--shadow-sm); }
.contact-map iframe { display: block; width: 100%; height: 320px; border: 0; }

@media (min-width: 900px) {
  .contact-map iframe { height: 100%; min-height: 420px; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #c7cbd0; padding: 2.5rem 0 1.75rem; font-size: .92rem; }

.footer-inner { display: grid; gap: 2rem; }

@media (min-width: 820px) {
  .footer-inner { grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; align-items: start; }
}

.footer-heading { margin: 0 0 .7rem; color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.footer-brand { margin: 0 0 .4rem; color: #fff; font-size: 1.1rem; }
.footer-line { margin: 0; color: #a7abb1; }

.footer-address { font-style: normal; color: #c7cbd0; line-height: 1.6; }
.footer-social { display: flex; gap: .8rem; margin-top: .9rem; }
.footer-social a { display: inline-flex; color: #c7cbd0; }
.footer-social a:hover { color: #fff; }

.contact-link { display: block; padding: .15rem 0; color: #e7e8ea; text-decoration: none; font-weight: 500; }
.contact-link:hover { color: #fff; text-decoration: underline; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.footer-nav a { color: #c7cbd0; text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between;
  font-size: .84rem; color: #8b9096;
}
.footer-bottom p { margin: 0; color: inherit; }
.footer-bottom a { color: #c7cbd0; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Booking section: light theme (matches NIVORA reference,
   not the site-wide dark-section pattern used elsewhere) ---------- */
#rezervacia .section-lead-light { color: var(--muted); }

#rezervacia .booking-step {
  border: 1px solid var(--line); background: var(--paper);
  box-shadow: var(--shadow-sm);
}
#rezervacia .booking-step legend { color: var(--ink); }
#rezervacia .step-num { background: var(--ink); color: #fff; }

.treatment-groups { display: grid; gap: .6rem; }

.treatment-group { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.treatment-group summary {
  cursor: pointer; list-style: none; padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: .8rem;
  font-weight: 600; color: var(--ink); font-size: .98rem;
}
.treatment-group summary::-webkit-details-marker { display: none; }
.treatment-group summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; color: var(--muted); font-weight: 400; }
.treatment-group[open] summary::after { content: "−"; }
.treatment-group summary:hover { background: var(--mist); }
.treatment-group.has-selection { border-color: var(--ink); }
.tg-count {
  font-size: .76rem; font-weight: 600; color: #fff; background: var(--ink);
  border-radius: 999px; padding: .15rem .6rem; white-space: nowrap;
}
.treatment-group .booking-treatments { padding: 0 1.2rem 1.2rem; }

#rezervacia .treatment-check {
  border: 1px solid var(--line); color: var(--ink-2);
}
#rezervacia .treatment-check:hover { border-color: var(--muted); }
#rezervacia .treatment-check .tc-name { color: var(--ink); }
#rezervacia .treatment-check .tc-price { color: var(--muted); }

#rezervacia .staff-option { border: 1px solid var(--line); color: var(--ink-2); }
#rezervacia .staff-option em { color: var(--muted-2); }
#rezervacia .staff-avatar { background: var(--mist-2); color: var(--ink-2); }
#rezervacia .staff-avatar-any { background: var(--mist); color: var(--muted); }

#rezervacia .field-hint { color: var(--muted-2); }

#rezervacia .calendar-mode-toggle { border: 1px solid var(--line); }
#rezervacia .calendar-mode-btn { color: var(--muted); }
#rezervacia .calendar-mode-btn.is-active { background: var(--ink); color: #fff; }

#rezervacia .calendar-nav {
  border: 1px solid var(--line); color: var(--ink);
}
#rezervacia .calendar-nav:hover { background: var(--mist); }
#rezervacia .week-title { color: var(--ink); }

#rezervacia .month-head { color: var(--muted); }
#rezervacia .month-cell { background: var(--cal-free-bg); border: 1px solid var(--cal-free-border); color: var(--cal-free-ink); }
#rezervacia .month-cell:hover:not(:disabled) { background: #e3ece5; border-color: var(--cal-free-solid); }
#rezervacia .month-cell:disabled { background: var(--mist); border-color: var(--line); color: var(--muted-2); }
#rezervacia .month-cell.is-dnes { border-color: var(--cal-free-solid); }

#rezervacia .calendar-legend { color: var(--muted); }
#rezervacia .calendar-legend i { background: var(--cal-free-bg); border: 1px solid var(--cal-free-border); }
#rezervacia .calendar-legend .legend-busy i { background: var(--mist); border-color: var(--line); }
#rezervacia .calendar-legend .legend-lunch i { background: var(--cal-lunch-bg); border-color: var(--cal-lunch-border); }

#rezervacia .slot {
  border: 1px solid var(--cal-free-border); background: var(--cal-free-bg); color: var(--cal-free-ink);
}
#rezervacia .slot:hover { background: #e3ece5; border-color: var(--cal-free-solid); }
#rezervacia .slot[aria-pressed="true"] { background: var(--cal-free-solid); border-color: var(--cal-free-solid); color: #fff; }
#rezervacia .slot[disabled] { background: var(--mist); border-color: var(--line); color: var(--muted-2); }

#rezervacia thead .calendar-time-col { border-bottom: 1px solid var(--line); }
#rezervacia .calendar-day-th { border-bottom: 1px solid var(--line); }
#rezervacia .calendar-day-th .cdt-name { color: var(--muted); }
#rezervacia .calendar-day-th .cdt-date { color: var(--ink); }
#rezervacia .calendar-day-th .cdt-today { color: var(--muted); }
#rezervacia tbody .calendar-time-col { color: var(--muted); }
#rezervacia .calendar-cell.is-lunch { background: var(--cal-lunch-bg); color: var(--cal-lunch-ink); }

#rezervacia .booking .field label { color: var(--ink); }
#rezervacia .booking .field input,
#rezervacia .booking .field textarea {
  background: var(--paper); border: 1.5px solid var(--line); color: var(--ink);
}
#rezervacia .booking .field input:focus,
#rezervacia .booking .field textarea:focus { box-shadow: 0 0 0 3px rgba(22, 24, 26, .12); }

#rezervacia .field-consent-row label { color: var(--ink-2); }
#rezervacia .consent-details summary { color: var(--ink-2); }
#rezervacia .consent-details summary:hover { color: var(--ink); }
#rezervacia .consent-text { background: var(--mist); color: var(--ink-2); }
#rezervacia .consent-text strong, #rezervacia .consent-text a { color: var(--ink); }
.summary-vop { margin-top: .5rem; }
.summary-vop a { color: inherit; text-decoration: underline; }

/* Termíny s kozmetičkou, ktorá hovorí po anglicky (EN). */
.slot[data-lang]::after { content: attr(data-lang); margin-left: .4em; font-size: .6rem; font-weight: 700; letter-spacing: .04em; opacity: .75; vertical-align: super; color: var(--en); }
.slot[data-lang][aria-pressed="true"]::after { opacity: 1; }
.slot-en::after { content: attr(data-lang); margin-left: .4em; font-size: .6rem; font-weight: 700; letter-spacing: .04em; opacity: .75; vertical-align: super; }
.slot-en[aria-pressed="true"]::after { opacity: 1; }
.lang-badge { display: inline-block; padding: 0 .35em; border-radius: 4px; border: 1px solid currentColor; font-size: .62rem; font-weight: 700; letter-spacing: .04em; vertical-align: middle; }
.legend-en b { display: inline-block; margin-right: .35em; padding: 0 .3em; border-radius: 4px; border: 1px solid currentColor; font-size: .6rem; letter-spacing: .04em; }
.only-english .slot[data-lang]:not(.slot-en)::after, .only-english .lang-badge-hide { display: none; }

/* Angličtina má vlastnú farbu, aby bola na prvý pohľad vidieť. */
.slot-en::after, .lang-badge, .legend-en b { color: var(--en); }
.lang-badge { border-color: var(--en); }
.legend-en b { border-color: var(--en); }

/* Dĺžka ošetrenia v cenníku vedľa ceny. */
.pt-desc { display: block; margin-top: .25rem; color: var(--muted); font-size: .84rem; line-height: 1.5; font-weight: 400; max-width: 46ch; }
.pt-dur { margin-right: .7rem; color: var(--muted); font-weight: 400; font-size: .9em; white-space: nowrap; }
