/* =========================================================
   template-salon – SELLTIQUE WEB
   Brand colours live in :root – change them per client.
   ========================================================= */

/* ---------- Fonts (self-hosted, latin + cyrillic subsets) ---------- */
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(../fonts/manrope-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(../fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/cormorant-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/cormorant-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #241c18;          /* main text */
  --ink-soft: #5e5149;     /* secondary text (≥ 4.5:1 on cream) */
  --dark: #2b211c;         /* dark sections, buttons */
  --dark-2: #3a2d26;
  --cream: #f8f4ee;        /* page background */
  --sand: #efe6da;         /* alternate section background */
  --line: #e0d4c5;
  --gold: #c9a27e;         /* accent on dark backgrounds */
  --gold-ink: #85603d;     /* accent on light backgrounds (≥ 4.5:1) */
  --white: #fff;

  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 4px;
  --header-h: 68px;
  --bar-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Language switching: both languages live in the HTML ---------- */
html[lang="bg"] .en,
html[lang="en"] .bg { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--dark); color: var(--white); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }
.center { text-align: center; }

.eyebrow {
  margin: 0 0 .9rem; font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink);
}
.section { padding-block: clamp(4.5rem, 11vw, 8rem); }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto clamp(2.5rem, 6vw, 4rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .85rem 1.7rem; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 .82rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: .6rem 1.1rem; font-size: .72rem; }
.btn-lg { min-height: 56px; padding: 1rem 2.4rem; }
.btn-dark { background: var(--dark); color: var(--cream); }
.btn-dark:hover { background: var(--dark-2); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #d8b592; }
.btn-ghost-light { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.link-arrow { font-weight: 600; font-size: .9rem; color: var(--gold-ink); text-underline-offset: 4px; }
.link-arrow::after { content: " →"; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(248, 244, 238, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(36, 28, 24, .5); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1rem; }
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; margin-right: auto; min-width: 0; }
.logo-mark { width: 26px; height: 26px; fill: var(--gold-ink); flex: none; }
.logo-text { font: 600 1.45rem/1 var(--font-display); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-actions { display: flex; align-items: center; gap: .5rem; }

.lang-switch {
  display: flex; align-items: center; gap: .2rem; min-height: 40px; padding: 0 .6rem;
  background: none; border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  font: 600 .72rem/1 var(--font-body); letter-spacing: .08em; color: var(--ink-soft);
}
.lang-sep { opacity: .4; }
html[lang="bg"] .lang-opt[data-l="bg"], html[lang="en"] .lang-opt[data-l="en"] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; } .burger::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .burger { background: transparent; }
.menu-toggle[aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }

.header-cta { display: none; }

/* mobile nav panel */
.nav {
  position: fixed; inset: var(--header-h) 0 auto 0; background: var(--cream); border-bottom: 1px solid var(--line);
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.nav.open { transform: none; opacity: 1; visibility: visible; }
.nav ul { padding: .5rem var(--gutter) 1.25rem; }
.nav a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 500 1.5rem/1.2 var(--font-display); }

@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .nav { position: static; transform: none; opacity: 1; visibility: visible; background: none; border: 0; }
  .nav ul { display: flex; gap: 1.8rem; padding: 0; }
  .nav a { padding: .4rem 0; border: 0; font: 500 .82rem/1 var(--font-body); letter-spacing: .06em; position: relative; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .3s var(--ease); }
  .nav a:hover::after { transform: scaleX(1); }
  .logo { margin-right: 0; }
  .header-inner { justify-content: space-between; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  min-height: calc(100svh - var(--header-h) - var(--bar-h)); color: var(--white); background: var(--dark);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30, 22, 18, .25) 0%, rgba(30, 22, 18, .55) 45%, rgba(30, 22, 18, .88) 100%);
}
.hero-content { position: relative; z-index: 1; padding-block: 4rem 3rem; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(3rem, 12vw, 6.4rem); font-weight: 400; line-height: .98; margin-bottom: 1.4rem; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-sub { max-width: 32rem; font-size: 1.05rem; color: rgba(255, 255, 255, .9); margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 768px) {
  .hero { min-height: min(calc(100svh - var(--header-h)), 900px); align-items: center; }
  .hero::after { background: linear-gradient(90deg, rgba(30, 22, 18, .88) 0%, rgba(30, 22, 18, .55) 50%, rgba(30, 22, 18, .15) 100%); }
  .hero-content { padding-block: 6rem; }
}

/* ---------- About ---------- */
.about-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text > p:not(.eyebrow) { color: var(--ink-soft); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; font-size: .82rem; color: var(--ink-soft); line-height: 1.35; }
.facts strong { font: 500 2.4rem/1 var(--font-display); color: var(--ink); margin-bottom: .35rem; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 5fr 6fr; } }

/* ---------- Services ---------- */
.services { background: var(--sand); }
.svc-grid { display: grid; gap: 2.8rem 4rem; }
.svc-group h3 { padding-bottom: .8rem; margin-bottom: .4rem; border-bottom: 1px solid var(--ink); }
.svc { display: flex; align-items: baseline; gap: .75rem; padding: .95rem 0; border-bottom: 1px dashed var(--line); }
.svc-name { flex: 1; }
.svc-price { flex: none; font: 600 1.25rem/1 var(--font-display); white-space: nowrap; }
.svc-price > span { font: 400 .78rem var(--font-body); color: var(--ink-soft); margin-right: .2rem; }
.svc-note { max-width: 40rem; margin: 3rem auto 0; text-align: center; font-size: .88rem; color: var(--ink-soft); }
@media (min-width: 860px) { .svc-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Team ---------- */
.team-grid { display: grid; gap: 2.5rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.member { text-align: center; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.1rem; }
.member h3 { margin-bottom: .2rem; }
.member p { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }

/* ---------- Gallery ---------- */
.gallery { padding-top: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.g-item { display: block; overflow: hidden; border-radius: var(--radius); }
.g-item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: .75rem; } }

/* lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 15, 12, .96); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(20, 15, 12, .8); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: .8rem; padding: 3.5rem 1rem 1.5rem; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 80vh; width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { font-size: .85rem; opacity: .8; text-align: center; }
.lb-btn { position: fixed; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Reviews ---------- */
.reviews { background: var(--dark); color: var(--cream); }
.reviews .eyebrow { color: var(--gold); }
.review-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 2.5rem; }
.review { padding: 2rem; border: 1px solid rgba(201, 162, 126, .3); border-radius: var(--radius); display: flex; flex-direction: column; }
.stars { color: var(--gold); letter-spacing: .2em; margin-bottom: 1rem; }
.review blockquote { margin: 0 0 1.5rem; flex: 1; font: italic 400 1.35rem/1.45 var(--font-display); }
.review-by { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.reviews .link-arrow { color: var(--gold); }
.placeholder-banner {
  max-width: 40rem; margin: -1.5rem auto 2.5rem; padding: .8rem 1.2rem; text-align: center;
  border: 2px dashed #f0b866; color: #ffd79c; font-size: .8rem; font-weight: 700; letter-spacing: .1em;
}

/* ---------- Visit: hours + location ---------- */
.visit-grid { display: grid; gap: 3rem; }
.visit h3 { margin-bottom: 1.2rem; }
.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .8rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { font-weight: 700; color: var(--gold-ink); }
.hours tr.today th::after { content: " •"; }
.location address { margin-bottom: 1.4rem; font-size: 1.1rem; }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sand); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 1rem; text-align: center;
  background: radial-gradient(circle at 50% 40%, #f6efe6, var(--sand)); }
.map-facade svg { width: 40px; height: 40px; fill: var(--gold-ink); }
@media (min-width: 860px) { .visit-grid { grid-template-columns: 5fr 7fr; gap: 5rem; } }

/* ---------- Contact ---------- */
.contact { background: var(--sand); text-align: center; }
.contact-inner { max-width: 60rem; }
.contact h2 { margin-bottom: 1rem; }
.contact-lead { color: var(--ink-soft); margin-bottom: 2rem; }
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .75rem; margin-top: 3rem; text-align: left; }
.channels a {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; font-weight: 600; transition: border-color .25s, transform .25s var(--ease); overflow-wrap: anywhere;
}
.channels a:hover { border-color: var(--gold-ink); transform: translateY(-2px); }
.channels svg { width: 24px; height: 24px; fill: var(--gold-ink); flex: none; }
.channels small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(248, 244, 238, .78); padding: 3.5rem 0 calc(3rem + var(--bar-h)); font-size: .88rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { margin-bottom: .4rem; }
.footer-logo { font: 500 1.8rem/1.2 var(--font-display); color: var(--cream); margin-bottom: .8rem !important; }
.footer-grid { display: grid; gap: 2rem; }
.credit { opacity: .7; font-size: .78rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr auto; align-items: end; } .footer-legal { text-align: right; } }

/* ---------- Mobile bottom bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr;
  height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--dark); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .4);
}
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .55rem; text-decoration: none; font: 700 .8rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.mobile-bar svg { width: 20px; height: 20px; fill: currentColor; }
.mb-call { color: var(--cream); }
.mb-book { background: var(--gold); color: var(--ink); }
@media (min-width: 960px) {
  :root { --bar-h: 0px; }
  .mobile-bar { display: none; }
}
