/* ==========================================================
   Kosmetický salon K.F. – společné styly
   Barvy a písma převzaté z letáků salonu
   ========================================================== */
:root {
  --cream: #f6f2ea;
  --cream-light: #fbf8f2;
  --beige: #ebe4d6;
  --brush: #ddd5c4;
  --olive: #3d4535;
  --olive-2: #4d5741;
  --sage: #7d8b6f;
  --gold: #b08d48;
  --gold-light: #d4bf92;
  --text: #3a3a36;
  --muted: #6e6c64;
  --white: #fff;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', Arial, sans-serif;
  --script: 'Great Vibes', cursive;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(61, 69, 53, .09);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* ---------- hlavička a menu ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 242, 234, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--beige);
}
.site-header .wrap { max-width: 1320px; display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 58px; height: 58px; }
.brand span { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); line-height: 1.15; }
.brand small { display: block; font-family: var(--sans); font-size: .58rem; letter-spacing: .3em; color: var(--gold); }

.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav a {
  display: block; padding: 10px 12px; border-radius: 30px;
  font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase;
  text-decoration: none; color: var(--olive); transition: background .2s, color .2s;
}
.main-nav a:hover { color: var(--gold); }
.main-nav a.active { background: var(--beige); color: var(--olive); }
.main-nav a.nav-cta { background: var(--olive); color: var(--cream); margin-left: 8px; }
.main-nav a.nav-cta:hover, .main-nav a.nav-cta.active { background: var(--gold); color: var(--white); }

.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer; width: 46px; height: 46px;
  border-radius: 50%; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 24px; height: 2px; background: var(--olive); position: relative; transition: transform .25s, background .25s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- úvod stránky ---------- */
.page-head { position: relative; text-align: center; padding: 64px 0 50px; overflow: hidden; }
.page-head h1 {
  font-family: var(--serif); font-weight: 500; text-transform: uppercase; letter-spacing: .05em;
  font-size: clamp(2.3rem, 6vw, 3.8rem); line-height: 1.05; color: var(--olive);
}
.script { font-family: var(--script); color: var(--gold); font-weight: 400; }
.page-head .script { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.1; margin-top: -4px; }
.page-head .lead { margin-top: 18px; }
.leaf { position: absolute; pointer-events: none; opacity: .9; }
.leaf-l { top: -10px; left: -40px; width: 230px; }
.leaf-r { bottom: -40px; right: -40px; width: 210px; transform: rotate(180deg); }

.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px auto 26px; max-width: 360px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--gold-light); }
.divider svg { width: 20px; height: 20px; flex: none; }

.lead {
  font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--olive); max-width: 640px; margin: 0 auto; line-height: 2;
}
.kicker { font-family: var(--sans); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

section { padding: 60px 0; }
.band { background: var(--cream-light); }
.section-title {
  font-family: var(--serif); font-weight: 500; text-transform: uppercase; letter-spacing: .05em;
  font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--olive); text-align: center; line-height: 1.1;
}
.section-title + .script { display: block; text-align: center; font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1.2; }

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 40px; border: 1px solid var(--olive);
  font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
  background: var(--olive); color: var(--cream);
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn-ghost { background: transparent; color: var(--olive); }
.btn-ghost:hover { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.link-arrow {
  font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--olive); text-decoration: none; border-bottom: 1px solid var(--gold-light); padding-bottom: 3px;
}
.link-arrow:hover { color: var(--gold); }

/* ---------- úvodní stránka ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 80px; text-align: center; }
.hero-logo { width: 230px; margin: 0 auto 6px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3rem); color: var(--olive); letter-spacing: .03em; }
.tagline { font-family: var(--sans); font-size: .78rem; letter-spacing: .38em; text-transform: uppercase; color: var(--olive); margin-top: 10px; }
.tagline b { color: var(--gold); font-weight: 400; margin: 0 .6em; }
.hero .place { font-style: italic; color: var(--muted); margin-top: 10px; }
.hero .script { font-size: 2.4rem; display: block; margin-top: 18px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; text-decoration: none; transition: transform .25s;
}
a.card:hover { transform: translateY(-4px); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 24px 24px 28px; text-align: center; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--olive); line-height: 1.2; }
.card p { font-size: 1.08rem; color: var(--muted); flex: 1; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img.round { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow); margin: 0 auto; }
.split h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 4vw, 2.4rem); text-transform: uppercase; letter-spacing: .05em; color: var(--olive); line-height: 1.1; }
.split .script { font-size: 2.2rem; display: block; margin-bottom: 14px; }
.split p + p { margin-top: 14px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--gold); line-height: 1.1; }
.stat span { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--olive); }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

/* ---------- záložky (přepínače) ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 40px; }
.tab {
  font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase;
  padding: 12px 20px; border-radius: 30px; border: 1px solid var(--gold-light); background: transparent; color: var(--olive);
  cursor: pointer; transition: all .2s;
}
.tab:hover { border-color: var(--gold); color: var(--gold); }
.tab.active { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.panel { display: none; animation: fade .35s ease; }
.panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- služby a ceník ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.service {
  background: var(--white); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.service h3 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1.2; color: var(--olive); text-transform: uppercase; letter-spacing: .02em; }
.service .sub { font-style: italic; color: var(--muted); }
.price-tag {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 16px 0 18px; padding: 10px 0; border-top: 1px solid var(--gold-light); border-bottom: 1px solid var(--gold-light);
}
.price-tag span { font-family: var(--sans); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--olive); }
.price-tag b { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--gold); }
.service .look { font-family: var(--script); font-size: 1.7rem; color: var(--gold); line-height: 1.2; margin-bottom: 6px; }
.hearts { list-style: none; font-size: 1.06rem; line-height: 1.45; flex: 1; }
.hearts li { position: relative; padding-left: 20px; margin-bottom: 7px; }
.hearts li::before { content: "♡"; position: absolute; left: 0; top: 1px; font-size: .78rem; color: var(--gold); }
.service .btn { margin-top: 22px; align-self: flex-start; padding: 12px 24px; }

.price-box {
  background: var(--white); border-radius: var(--radius); padding: 34px 34px 26px; box-shadow: var(--shadow);
  max-width: 760px; margin: 0 auto;
}
.price-box + .price-box { margin-top: 26px; }
.price-box h3 {
  font-family: var(--serif); font-weight: 600; font-size: 1.6rem; text-transform: uppercase; color: var(--gold);
  border-bottom: 1px solid var(--gold-light); padding-bottom: 6px; margin-bottom: 14px; letter-spacing: .02em;
}
.price-box h3 small { font-size: 1rem; color: var(--gold); }
.row { display: grid; grid-template-columns: 1fr auto 7em; gap: 14px; align-items: baseline; padding: 7px 0; border-bottom: 1px dashed var(--beige); }
.row:last-of-type { border-bottom: 0; }
.row i { font-style: normal; font-family: var(--sans); font-size: .74rem; color: var(--muted); }
.row b { text-align: right; font-weight: 600; font-size: 1.3rem; color: var(--gold); }
.note { font-style: italic; color: var(--muted); font-size: 1.02rem; margin: 6px 0 10px; line-height: 1.5; }
.price-box .btn { margin-top: 18px; }
.valid { text-align: center; margin-top: 34px; }
.order-box { max-width: 760px; margin: 40px auto 0; text-align: center; background: var(--beige); border-radius: var(--radius); padding: 28px 24px; }
.order-box .script { display: block; font-size: 2.2rem; line-height: 1.2; }
.order-box a { color: var(--olive); }

/* ---------- galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery button {
  border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery button[hidden] { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(30, 33, 26, .92);
  display: none; align-items: center; justify-content: center; padding: 60px 70px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-btn {
  position: absolute; background: rgba(246, 242, 234, .12); border: 0; color: var(--cream); cursor: pointer;
  width: 50px; height: 50px; border-radius: 50%; font-size: 1.6rem; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.lb-btn:hover { background: var(--gold); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- o mně ---------- */
.prose p + p { margin-top: 16px; }
.quote { font-family: var(--script); font-size: 2.2rem; color: var(--gold); text-align: center; line-height: 1.3; margin-top: 30px; }
.photos-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.photos-2 img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); }
.brand-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow); }
.brand-box img { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; }
.brand-box h2 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--olive); line-height: 1.15; margin-bottom: 14px; }

/* ---------- poukazy ---------- */
.voucher {
  max-width: 640px; margin: 0 auto; text-align: center; background: var(--white);
  border-radius: 22px; padding: 54px 34px 44px; box-shadow: var(--shadow); font-size: 1.3rem;
}
.icon-circle {
  width: 88px; height: 88px; border-radius: 50%; background: var(--olive);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 22px;
}
.icon-circle svg { width: 46px; height: 46px; }
.hl { font-family: var(--sans); font-weight: 500; font-size: 1.12rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.up { font-family: var(--sans); font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; color: var(--olive); }
.voucher strong { color: var(--olive); }
.thanks { background: var(--beige); border-radius: var(--radius); padding: 22px; margin-top: 28px; }
.thanks .script { font-size: 2.4rem; color: var(--olive); display: block; line-height: 1.2; }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.c-item { display: flex; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--beige); }
.c-item:last-child { border-bottom: 0; }
.c-icon { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--olive); display: flex; align-items: center; justify-content: center; }
.c-icon svg { width: 22px; height: 22px; }
.c-item small { display: block; font-family: var(--sans); font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.c-item a, .c-item span { font-size: 1.3rem; color: var(--olive); text-decoration: none; word-break: break-word; }
.c-item a:hover { color: var(--gold); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; background: var(--beige); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- patička ---------- */
.site-footer { background: var(--olive); color: var(--cream); padding: 50px 0 26px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
.site-footer img { width: 110px; filter: brightness(1.25); }
.site-footer h4 { font-family: var(--sans); font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 12px; font-weight: 500; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 6px; font-size: 1.08rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .script { color: var(--gold-light); font-size: 1.9rem; }
.copy { text-align: center; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(246, 242, 234, .15); font-family: var(--sans); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }

/* ---------- mobil a tablet ---------- */
.main-nav a, .brand span { white-space: nowrap; }
@media (max-width: 1200px) {
  .menu-toggle { display: inline-flex; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .main-nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: var(--cream);
    transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
  }
  .menu-open .main-nav { transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 20px; gap: 6px; }
  .main-nav a { font-size: .85rem; padding: 16px 20px; text-align: center; }
  .main-nav a.nav-cta { margin: 10px 0 0; }
  .menu-open { overflow: hidden; }
}
@media (max-width: 940px) {
  .cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .split, .brand-box, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 1.12rem; }
  .brand span { font-size: .95rem; }
  .brand img { width: 48px; height: 48px; }
  .page-head { padding: 44px 0 34px; }
  .leaf-l { width: 140px; left: -30px; }
  .leaf-r { width: 130px; }
  .lead { font-size: .7rem; letter-spacing: .12em; }
  .tagline { font-size: .64rem; letter-spacing: .22em; }
  .hero { padding: 44px 0 56px; }
  .hero-logo { width: 180px; }
  section { padding: 44px 0; }
  .services { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr 5.6em; gap: 8px; }
  .row i { display: none; }
  .tabs { gap: 8px; }
  .tab { padding: 10px 14px; font-size: .64rem; letter-spacing: .1em; }
  .gallery, .strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .photos-2 { grid-template-columns: 1fr; }
  .photos-2 img { height: 240px; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .foot-grid { grid-template-columns: 1fr; text-align: center; }
  .site-footer img { margin: 0 auto; }
  .lightbox { padding: 60px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
}
.credit { text-align: center; margin-top: 8px; font-family: var(--sans); font-size: .62rem; letter-spacing: .12em; opacity: .55; }
.credit a { border-bottom: 1px solid rgba(246, 242, 234, .3); }
.credit a:hover { color: var(--gold-light); }
