/* Lumière – kosmetický salon */
:root {
  --paper: #f8f4ef;
  --white: #ffffff;
  --ink: #2d2926;
  --muted: #5f564e;
  --gold: #8b672e;
  --gold-dark: #6f5224;
  --line: #e6dccd;
  --display: "Gilda Display", "Times New Roman", serif;
  --body: "Jost", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html.lenis, html.lenis body { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 em { font-style: normal; color: var(--gold); }
h3 { font-size: 1.75rem; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 1px solid transparent; font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: .02em; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-dark); color: #fff; }
.btn-secondary { border-color: #c7b190; color: var(--gold-dark); background: transparent; }
.btn-secondary:hover { border-color: var(--gold); background: #f1e8da; color: var(--gold-dark); }
.btn-small { min-height: 44px; padding: 8px 20px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 244, 239, .72); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { font-family: var(--display); font-size: 30px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); text-decoration: none; margin: 0; line-height: 1; }
.logo-star { font-size: .45em; vertical-align: super; margin-left: 2px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; padding: 10px 0; }
.nav a:hover { color: var(--gold); }
.mobile-menu { display: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .header-inner > .btn { margin-left: auto; }
  .mobile-menu { display: block; position: static; }
  .mobile-menu summary { list-style: none; cursor: pointer; width: 48px; height: 48px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 50%; border: 1px solid var(--line); }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 18px; height: 1.5px; background: var(--ink); }
  .mobile-menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 24px 24px; display: grid; gap: 4px; }
  .mobile-menu nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .mobile-menu nav .btn { margin-top: 12px; }
}

/* Hero */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.kicker { color: var(--gold); font-size: 15px; margin-bottom: 18px; }
.lead { font-size: 19px; color: var(--muted); max-width: 30em; }
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--muted); font-size: 15px; text-decoration: none; }
.rating:hover { color: var(--gold-dark); }
.stars { color: var(--gold); letter-spacing: 2px; }

/* The arch echoes the salon's arched window */
.hero { position: relative; overflow: hidden; }
.hero-grid { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: 1.02; letter-spacing: -.02em; font-weight: 400; }
.hero-photo { position: relative; margin: 0; max-width: 440px; justify-self: center; width: 100%; }
.arch { aspect-ratio: 3 / 4; border-radius: 999px 999px 22px 22px; overflow: hidden; outline: 1px solid var(--line); outline-offset: 10px; }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hero-photo:hover .arch img { transform: scale(1.03); }
.chip { position: absolute; left: -28px; bottom: 36px; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: rgba(255,255,255,.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 10px 30px rgba(80,58,30,.12); font-size: 14px; color: var(--ink); }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(139,103,46,.18); }
@media (max-width: 860px) { .chip { left: 50%; transform: translateX(-50%); bottom: -18px; white-space: nowrap; } }

@media (max-width: 860px) {
  .hero { padding: 32px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo { max-width: 340px; }
}

/* Sections */
.section { padding: 88px 0; }
.section-white { background: var(--white); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); }
@media (max-width: 700px) { .section { padding: 64px 0; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.service { background: var(--paper); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; }
.service:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(80,58,30,.10); }
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 22%; }
.service-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.service p { color: var(--muted); font-size: 16px; }
.service .note { font-size: 15px; border-top: 1px solid var(--line); padding-top: 12px; }
.from { margin: auto 0 0; font-family: var(--display); font-size: 24px; color: var(--gold) !important; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* Price list */
.price-group { font-size: 1.6rem; margin: 40px 0 8px; }
.prices { margin: 0; }
.prices div { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.prices div::after { content: none; }
.prices dt { flex: 1; }
.prices dd { margin: 0; font-weight: 500; white-space: nowrap; }
#cenik .center { margin-top: 44px; }

/* About + vouchers */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split p { color: var(--muted); }
.photo-card { margin: 0; border-radius: 18px; overflow: hidden; }
.photo-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.values { list-style: none; padding: 0; margin: 28px 0 32px; border-top: 1px solid var(--line); }
.values li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.values strong { color: var(--ink); font-weight: 500; }
.voucher-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.voucher-photos img { border-radius: 18px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.voucher-photos img:last-child { margin-top: 48px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-reverse .voucher-photos { order: -1; }
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.compare { margin: 0; background: #f1e9dd; border-radius: 18px; padding: 22px 18px 20px; }
.compare figcaption { font-family: var(--display); font-size: 1.6rem; text-align: center; margin-bottom: 14px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair span { display: block; text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.half { border-radius: 10px; overflow: hidden; aspect-ratio: 1000 / 889; }
.half img { width: 100%; height: 100%; object-fit: cover; }
.half.top img { object-position: center top; }
.half.bottom img { object-position: center bottom; }
.more { margin-top: 32px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.contact-card { background: var(--white); border-radius: 18px; padding: 36px; }
.contact-card dl { margin: 0 0 24px; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; }
.contact-card dt { color: var(--muted); font-size: 15px; padding-top: 2px; }
.contact-card dd { margin: 0; }
.map { border-radius: 18px; overflow: hidden; min-height: 360px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .contact-card { padding: 26px; } }
@media (max-width: 420px) { .contact-card dl { grid-template-columns: 1fr; gap: 2px; } .contact-card dd { margin-bottom: 10px; } }

/* Footer */
.footer { background: var(--white); border-top: 1px solid var(--line); padding: 48px 0 24px; font-size: 15px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.footer .logo { font-size: 26px; margin-bottom: 10px; }
.footer address { font-style: normal; line-height: 1.9; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer > .wrap > div > a { line-height: 1.9; }
.footer-bottom { margin-top: 32px; font-size: 14px; }
.footer-bottom p { margin: 0; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .header-inner { gap: 10px; }
  .logo { font-size: 23px; letter-spacing: .08em; }
  .btn-small { padding: 8px 14px; }
}

/* ---------- Shimmering booking buttons ---------- */
.btn[data-booking].btn-primary { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, #a07a38 0%, #8b672e 45%, #74561f 100%); box-shadow: 0 6px 20px rgba(139,103,46,.28), inset 0 1px 0 rgba(255,255,255,.25); }
.btn[data-booking].btn-primary::after { content: ""; position: absolute; inset: -40% auto -40% -60%; width: 45%; z-index: -1; background: linear-gradient(105deg, transparent 0%, rgba(255,240,205,.0) 20%, rgba(255,240,205,.75) 50%, rgba(255,240,205,0) 80%, transparent 100%); transform: skewX(-18deg); animation: shine 4.5s ease-in-out infinite; }
.btn[data-booking].btn-primary:hover { box-shadow: 0 8px 26px rgba(139,103,46,.38), inset 0 1px 0 rgba(255,255,255,.3); }
@keyframes shine { 0%, 62% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .btn[data-booking].btn-primary::after { animation: none; display: none; } }

/* ---------- Christmas (class .xmas set by main.js only in season) ---------- */
.snow { display: none; }
.xmas .snow { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.xmas-bar { background: #2f3b2f; color: #f4ecdd; font-size: 15px; }
.xmas-bar-inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; text-align: center; }
.xmas-bar p { margin: 0; }
.xmas-bar a { color: #e8c98a; font-weight: 500; }
.xmas-bar a:hover { color: #fff; }
.xmas-star { color: #e8c98a; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .45; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }
.xmas .logo-star { color: #c9a45c; animation: twinkle 3s ease-in-out infinite; display: inline-block; }
.xmas-tag { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: #2f3b2f; color: #f4ecdd; font-size: 14px; }
.xmas #poukazy { background: radial-gradient(1200px 400px at 80% 0%, #f3ead9 0%, var(--white) 60%); }
@media (prefers-reduced-motion: reduce) { .xmas-star, .xmas .logo-star { animation: none; } }
@media (max-width: 480px) { .xmas-bar .xmas-star { display: none; } .xmas-bar { font-size: 14px; } }

/* ---------- Visit steps ---------- */
.section-steps { background: var(--paper); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: none; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 16%; right: 16%; height: 1px; background: linear-gradient(90deg, transparent, #c7b190 15%, #c7b190 85%, transparent); }
.steps li { position: relative; text-align: center; padding: 0 12px; }
.step-num { position: relative; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 1px solid #c7b190; font-family: var(--display); font-size: 26px; color: var(--gold); margin-bottom: 18px; }
.steps h3 { font-size: 1.6rem; }
.steps p { color: var(--muted); font-size: 16px; max-width: 26em; margin: 0 auto; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 36px; } .steps::before { display: none; } }

/* ---------- Reviews ---------- */
.section-reviews { background: var(--white); }
.reviews-score { display: inline-flex; align-items: center; gap: 10px; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review { margin: 0; background: var(--paper); border-radius: 22px; padding: 34px 30px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; position: relative; }
.review::before { content: "“"; position: absolute; top: -6px; right: 22px; font-family: var(--display); font-size: 110px; line-height: 1; color: #e4d3b4; }
.review blockquote { margin: 0; font-family: var(--display); font-size: 1.4rem; line-height: 1.4; color: var(--ink); position: relative; }
.review figcaption { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 15px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #fff; font-weight: 500; font-size: 15px; }
.center-actions { justify-content: center; margin-top: 36px; }
@media (max-width: 900px) {
  .reviews { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 85%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -18px; padding-inline: 18px; scrollbar-width: none; }
  .reviews::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: center; }
}

/* ---------- Sticky booking bar on phones ---------- */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta { display: grid; grid-template-columns: auto 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(248,244,239,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s ease; }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { min-height: 48px; }
  body { padding-bottom: 76px; }
}

/* ---------- Seasonal tip ---------- */
.season { background: #efe6d8; padding: 36px 0; }
.season-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.season-badge { width: 76px; height: 76px; border-radius: 50%; background: var(--white); display: grid; place-items: center; border: 1px solid #d8c7ad; }
.season-icon { width: 34px; height: 34px; background: var(--gold); -webkit-mask: var(--season-icon) center / contain no-repeat; mask: var(--season-icon) center / contain no-repeat; }
.season-label { margin: 0 0 4px; color: var(--gold); font-size: 15px; }
.season h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0 0 6px; }
.season-text p:last-child { margin: 0; color: var(--muted); max-width: 46em; }
@media (max-width: 800px) { .season-inner { grid-template-columns: auto 1fr; } .season-cta { grid-column: 1 / -1; justify-self: start; } .season-badge { width: 60px; height: 60px; } .season-icon { width: 28px; height: 28px; } }

/* ---------- Quiz ---------- */
.section-quiz { background: var(--white); padding: 64px 0; }
.quiz-card { background: var(--paper); border: 1px solid #e4d6c0; border-radius: 26px; padding: 30px 34px; }
.quiz-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.quiz-intro h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 4px; }
.quiz-intro p { margin: 0; color: var(--muted); }
.quiz-toggle[aria-expanded="true"] { background: transparent; color: var(--gold-dark); border-color: #c7b190; }
.quiz-panel { overflow: hidden; transition: height .45s cubic-bezier(.2,.7,.2,1); }
.quiz { padding-top: 28px; margin-top: 26px; border-top: 1px solid var(--line); }
.quiz-progress { display: flex; gap: 6px; margin-bottom: 22px; }
.quiz-progress span { height: 3px; flex: 1; border-radius: 3px; background: #e4d6c0; transition: background-color .3s; }
.quiz-progress span.done { background: var(--gold); }
.quiz-step { animation: pop .35s ease; }
.quiz-back { margin-top: 4px; background: none; border: 0; padding: 10px 0; min-height: 44px; font: inherit; font-size: 15px; color: var(--gold-dark); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .quiz-card { padding: 24px 20px; } .quiz-toggle { width: 100%; } }
.quiz fieldset { border: 0; padding: 0; margin: 0 0 12px; }
.quiz legend { font-family: var(--display); font-size: 1.5rem; margin-bottom: 14px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opts label { position: relative; cursor: pointer; }
.opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 1px solid #d8c7ad; background: var(--white); font-size: 15px; transition: background-color .2s, border-color .2s, color .2s, transform .15s; }
.opts label:hover span { border-color: var(--gold); }
.opts input:checked + span { background: var(--gold); border-color: var(--gold); color: #fff; }
.opts input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.quiz-result { padding: 4px 0 0; animation: pop .45s ease; }
.quiz-result-label { color: var(--gold); margin: 0 0 4px; font-size: 15px; }
.quiz-result h3 { font-size: 2rem; margin-bottom: 10px; }
.quiz-result p { color: var(--muted); }
.quiz-price { font-family: var(--display); font-size: 1.4rem; color: var(--gold) !important; }
.quiz-note { font-size: 14px; margin: 18px 0 0; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .quiz-result, .quiz-step { animation: none; } .quiz-panel { transition: none; } }
