/* Kosmetika Břevnov - sdílený styl podstránek */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
:root {
  --bg:        #F7EEE0;
  --bg-mid:    #EFE1CF;
  --stone:     #EAD9C6;
  --beige:     #4A3A2E;
  --beige-mid: #8A7460;
  --white:     #2E241C;
  --black:     #2E241C;
  --btn:       #8A6E58;
  --line:      rgba(74,58,46,0.16);
  --nav-h:     56px;
}
body {
  font-family: 'Work Sans', Arial, sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .nav-logo, .footer-col-title, .sec-title { font-family: 'Work Sans', Arial, sans-serif; font-weight: 900; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* NAV */
nav.topnav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  background: var(--bg-mid); display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 0 32px; z-index: 9999; border-bottom: 1px solid var(--line);
}
.nav-logo { font-size: 16px; color: var(--black); }
.nav-center { display: flex; align-items: center; gap: 28px; list-style: none; margin-left: auto; }
.nav-center a { font-size: 13px; color: var(--black); transition: opacity 0.2s; }
.nav-center a:hover { opacity: 0.55; }
.nav-sep { width: 1px; height: 20px; background: var(--line); margin-left: 20px; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-right a { color: var(--black); display: flex; }
.nav-right svg { width: 18px; height: 18px; }
.nav-tel { font-size: 13px; font-weight: 600; color: var(--black); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: opacity .2s; }
.nav-tel:hover { opacity: 0.6; }
.nav-tel svg { width: 14px; height: 14px; flex-shrink: 0; }
.nav-cta {
  background: #1A1714; color: #F8F4F0 !important; font-size: 12px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase; padding: 9px 20px; border-radius: 50px;
  white-space: nowrap; transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--btn); transform: translateY(-1px); }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--bg-mid); padding: 16px 26px calc(24px + env(safe-area-inset-bottom));
  flex-direction: column; gap: 6px; z-index: 9998;
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto; box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 16px; color: var(--black); padding: 6px 0; min-height: 30px; display: flex; align-items: center; }

/* BREADCRUMB */
.crumbs { max-width: 1000px; margin: 0 auto; padding: 18px 48px 0; font-size: 12.5px; color: rgba(74,58,46,0.6); letter-spacing: 0.03em; }
.crumbs a { text-decoration: underline; text-underline-offset: 2px; color: var(--beige); }
.crumbs span { margin: 0 7px; opacity: 0.5; }

/* HERO */
.sub-hero { padding-top: var(--nav-h); background: var(--bg-mid); }
.sub-hero-inner { max-width: 1000px; margin: 0 auto; padding: 34px 48px 54px; }
.sub-eyebrow { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--btn); font-weight: 600; margin-bottom: 14px; }
.sub-hero h1 { font-size: clamp(28px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -0.012em; color: #1A1714; margin-bottom: 18px; }
.sub-lead { font-size: clamp(15px, 1.6vw, 18px); color: var(--beige); line-height: 1.8; max-width: 760px; }
.sub-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn-primary {
  background: #1A1714; color: #F8F4F0; font-size: 12px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; padding: 14px 26px; border-radius: 50px; transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--btn); transform: translateY(-1px); }
.btn-ghost {
  border: 1.5px solid rgba(46,36,28,0.45); color: #1A1714; font-size: 12px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase; padding: 13px 26px; border-radius: 50px; transition: background .2s;
}
.btn-ghost:hover { background: rgba(46,36,28,0.07); }

/* FAKTA */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 1000px; margin: 0 auto; padding: 0 48px; }
.facts-wrap { background: var(--stone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.fact { padding: 6px 18px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: none; padding-left: 0; }
.fact-k { font-size: 11.5px; letter-spacing: 0.11em; text-transform: uppercase; color: rgba(74,58,46,0.6); margin-bottom: 6px; }
.fact-v { font-size: 16px; font-weight: 700; color: var(--beige); line-height: 1.4; }

/* OBSAH */
.sub-main { max-width: 1000px; margin: 0 auto; padding: 56px 48px 20px; }
.sub-main section { margin-bottom: 46px; }
.sec-title { font-size: clamp(17px, 2.1vw, 24px); letter-spacing: 0.04em; color: var(--beige); padding-bottom: 12px; border-bottom: 2px solid var(--black); margin-bottom: 22px; }
.sub-main h3 { font-size: 16px; color: var(--beige); margin: 26px 0 10px; }
.sub-main p { font-size: 15.5px; color: rgba(74,58,46,0.82); line-height: 1.9; margin-bottom: 14px; max-width: 860px; }
.sub-main p strong, .sub-main li strong { color: var(--beige); }
.sub-main ul { list-style: none; max-width: 860px; margin: 8px 0 18px; }
.sub-main ul li { position: relative; padding-left: 22px; font-size: 15px; color: rgba(74,58,46,0.82); line-height: 1.85; margin-bottom: 8px; }
.sub-main ul li::before { content: ''; position: absolute; left: 4px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--btn); }
.sub-main ol { max-width: 860px; margin: 8px 0 18px; padding-left: 20px; }
.sub-main ol li { font-size: 15px; color: rgba(74,58,46,0.82); line-height: 1.85; margin-bottom: 8px; }
.sub-main a.inline { color: var(--beige); text-decoration: underline; text-underline-offset: 3px; }
.note { padding: 16px 20px; background: rgba(138,110,88,0.22); border-left: 3px solid var(--btn); border-radius: 2px; margin: 20px 0; }
.note p { font-size: 14px; color: rgba(74,58,46,0.78); margin: 0; line-height: 1.8; }

/* CENOVÁ TABULKA */
.ptable { max-width: 860px; margin: 14px 0 6px; }
.prow { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: rgba(74,58,46,0.85); }
.prow .pamt { white-space: nowrap; font-weight: 700; color: var(--beige); }
.psub-note { font-size: 12.5px; color: rgba(74,58,46,0.5); display: block; margin-top: 2px; }

/* FAQ */
.faq-item { border-bottom: 1px solid rgba(74,58,46,0.15); }
.faq-btn {
  width: 100%; background: none; border: none; text-align: left; font-family: 'Work Sans', sans-serif;
  font-weight: 700; font-size: 15px; color: var(--white); padding: 20px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; line-height: 1.4; transition: opacity 0.2s;
}
.faq-btn:hover { opacity: 0.65; }
.faq-sign { flex-shrink: 0; font-size: 22px; color: var(--white); line-height: 1; opacity: 0.7; }
.faq-a { display: none; padding: 0 0 22px; font-size: 14.5px; color: var(--beige); line-height: 1.85; max-width: 860px; }
.faq-a.open { display: block; }
.faq-a p { font-size: 14.5px; margin-bottom: 10px; }
.faq-a p:last-child { margin-bottom: 0; }

/* CTA BLOK */
.cta-band { background: var(--stone); border-top: 1px solid var(--line); padding: 56px 48px; margin-top: 24px; }
.cta-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.cta-inner h2 { font-size: clamp(20px, 2.6vw, 30px); color: #1A1714; margin-bottom: 12px; line-height: 1.25; }
.cta-inner p { font-size: 15px; color: rgba(74,58,46,0.78); max-width: 620px; margin: 0 auto 26px; line-height: 1.8; }

/* SOUVISEJÍCÍ */
.related { background: var(--bg); border-top: 1px solid var(--line); padding: 50px 48px; }
.related-inner { max-width: 1000px; margin: 0 auto; }
.related h2 { font-size: clamp(15px, 1.8vw, 19px); letter-spacing: 0.06em; text-transform: uppercase; color: var(--beige); margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rel-card { display: block; border: 1px solid var(--line); border-radius: 4px; padding: 16px 18px; transition: background .2s, transform .15s; background: var(--bg-mid); }
.rel-card:hover { background: var(--stone); transform: translateY(-2px); }
.rel-card .rc-t { font-size: 14.5px; font-weight: 700; color: var(--beige); line-height: 1.4; margin-bottom: 5px; }
.rel-card .rc-d { font-size: 12.5px; color: rgba(74,58,46,0.6); line-height: 1.6; }

/* FOOTER */
footer { padding: 60px 48px 48px; background: var(--black); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr 1fr; gap: 28px; align-items: start; min-height: 180px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; }
.footer-tagline { font-weight: 600; font-size: 14px; color: var(--beige); text-align: center; line-height: 1.8; }
.footer-col-title { font-size: 16px; color: var(--beige); text-align: center; margin-bottom: 16px; }
.footer-col-body { font-size: 14px; color: rgba(74,58,46,0.65); text-align: center; line-height: 2.0; }
.footer-col-body strong { color: #F1E8DF; }
.footer-col-body a { text-decoration: underline; text-underline-offset: 2px; color: var(--beige); transition: opacity 0.2s; }
footer .footer-tagline, footer .footer-col-title { color: #FFFFFF; }
footer .footer-col-body { color: rgba(255,255,255,0.72); }
footer .footer-col-body a { color: #FFFFFF; }
footer .footer-col-body strong { color: #F1E8DF; }
.footer-col-body a:hover { opacity: 0.7; }
.footer-col-body a.footer-site { display: inline-flex; align-items: center; gap: 8px; text-decoration: none !important; }
.footer-site img { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; }
.footer-site span { text-decoration: underline; text-underline-offset: 2px; }

/* PLOVOUCÍ CTA */
.float-cta {
  position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 9990;
  display: inline-flex; align-items: center; gap: 9px; background: #1A1714; color: #F8F4F0;
  font-size: 13px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 50px; box-shadow: 0 10px 30px rgba(26,23,20,0.34);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background .2s;
}
.float-cta.show { opacity: 1; visibility: visible; transform: none; }
.float-cta:hover { background: var(--btn); }
.float-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

@media (max-width: 900px) {
  .facts { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .fact:nth-child(odd) { border-left: none; padding-left: 0; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 860px) {
  nav.topnav { padding: 0 20px; }
  nav.topnav .nav-center,
  nav.topnav .nav-sep,
  nav.topnav .nav-tel,
  nav.topnav .nav-cta { display: none; }
  .nav-logo { white-space: nowrap; font-size: 15px; }
  .nav-right { gap: 14px; margin-left: auto; }
  .hamburger { display: flex; }
  .crumbs { padding: 16px 20px 0; }
  .sub-hero-inner { padding: 26px 20px 40px; }
  .facts { padding: 0 20px; }
  .sub-main { padding: 40px 20px 16px; }
  .cta-band, .related { padding: 44px 20px; }
  .related-grid { grid-template-columns: 1fr; }
  footer { padding: 40px 20px calc(104px + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .float-cta { right: 12px; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    justify-content: center; padding: 16px 18px; border-radius: 14px; font-size: 13.5px; }
}
