/* ============================================================
   Beauty Bridge Trade — firemný web
   Paleta: čierna + brúsené zlato. Typografia: Bodoni Moda / Montserrat
   ============================================================ */

@font-face {
  font-family: "Bodoni Moda";
  src: url("fonts/bodoni-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("fonts/bodoni-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}

:root {
  --ink: #07070a;
  --ink-2: #0c0c11;
  --ink-3: #101017;
  --gold: #c9a253;
  --gold-light: #f2dfb4;
  --gold-deep: #8a6a2f;
  --text: #ece7de;
  --muted: #9c968c;
  --line: rgba(201, 162, 83, 0.22);
  --line-soft: rgba(236, 231, 222, 0.08);
  --wrap: 1180px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: "Bodoni Moda", "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: #100c04;
  padding: 10px 18px;
  font-size: 0.82rem;
}
.skip:focus { left: 12px; top: 12px; }

.wrap {
  width: min(100% - 44px, var(--wrap));
  margin-inline: auto;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 7, 10, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav__inner {
  width: min(100% - 44px, var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand__mark {
  width: 44px;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(201, 162, 83, 0.3));
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: "Bodoni Moda", serif;
  font-size: 0.98rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand__sub {
  font-size: 0.56rem;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav__links a {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s var(--ease);
  position: relative;
  padding: 4px 0;
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  border: 1px solid var(--line);
  padding: 9px 18px !important;
  color: var(--gold) !important;
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav__cta:hover {
  background: var(--gold);
  color: #100c04 !important;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}
.lang__btn {
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  padding: 4px 2px;
  transition: color 0.25s var(--ease);
}
.lang__btn.is-active,
.lang__btn:hover { color: var(--gold); }
.lang__sep { color: rgba(236, 231, 222, 0.22); }

.burger {
  display: none;
  width: 40px;
  height: 34px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px 4px;
}
.burger span {
  display: block;
  height: 1px;
  background: var(--gold);
  margin: 5px 0;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

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

.hero {
  position: relative;
  padding: clamp(120px, 16vh, 200px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -30%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(201, 162, 83, 0.16) 0%, rgba(201, 162, 83, 0.05) 38%, transparent 66%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  text-align: center;
}
.hero__logo {
  width: clamp(200px, 27vw, 320px);
  margin: 0 auto clamp(26px, 4vw, 44px);
  height: auto;
  filter: drop-shadow(0 0 60px rgba(201, 162, 83, 0.16));
}

.eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero__title {
  font-size: clamp(2.1rem, 5.4vw, 3.9rem);
  max-width: 20ch;
  margin: 0 auto 26px;
}
.hero__lead {
  max-width: 62ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.3vw, 1.06rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn--gold {
  background: linear-gradient(160deg, var(--gold-light), var(--gold) 52%, var(--gold-deep));
  color: #120d04;
  font-weight: 600;
}
.btn--gold:hover {
  transform: translateY(-2px);
  background: linear-gradient(160deg, #fff3d6, #d8b46b 52%, #9a7736);
}
.btn--ghost {
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(56px, 8vw, 88px) auto 0;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  max-width: 900px;
}
.stats__item { padding: 0 12px; }
.stats__item + .stats__item { border-left: 1px solid var(--line-soft); }
.stats dt {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.stats dd {
  margin: 0;
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--gold-light);
  letter-spacing: 0.02em;
}

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

.section {
  padding: clamp(70px, 10vw, 130px) 0;
  position: relative;
}
.section--alt {
  background: linear-gradient(180deg, transparent, var(--ink-2) 18%, var(--ink-2) 82%, transparent);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  max-width: 26ch;
}

.section__lead {
  color: var(--muted);
  max-width: 64ch;
  margin-top: 20px;
}
.section__note {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 26px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

/* ---------- Brand cards ---------- */

.brands {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  margin-top: clamp(38px, 5vw, 58px);
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.card {
  background: var(--ink);
  padding: 34px 28px;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  text-align: left;
  border: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  width: 100%;
}
.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.card:hover {
  background: var(--ink-3);
  transform: translateY(-3px);
}
.card:hover::after { opacity: 1; }

.card__tag {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.card__name {
  font-family: "Bodoni Moda", serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  display: block;
}
.card__meta {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  display: block;
}
.card__go {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--gold-deep);
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}
.card:hover .card__go {
  color: var(--gold);
  transform: translateX(6px);
}

/* ---------- Features ---------- */

.grid4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(26px, 3.5vw, 46px);
  margin-top: clamp(38px, 5vw, 58px);
}
.feature__num {
  display: block;
  font-family: "Bodoni Moda", serif;
  font-size: 0.9rem;
  color: var(--gold-deep);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.feature h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}
.feature p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(30px, 4vw, 56px);
  margin: clamp(38px, 5vw, 58px) 0 0;
  padding: 0;
}
.step {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: "Bodoni Moda", serif;
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 20px;
}
.step h3 {
  font-size: 1.22rem;
  margin-bottom: 12px;
}
.step p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Catalog ---------- */

.section--gold {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(201, 162, 83, 0.12), transparent 58%),
    var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.catalog {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.catalog__text p:not(.eyebrow) {
  color: var(--muted);
  max-width: 52ch;
  margin-top: 20px;
}
.catalog__text .btn { margin-top: 32px; }
.catalog__small {
  font-size: 0.76rem !important;
  color: var(--muted) !important;
  margin-top: 16px !important;
  letter-spacing: 0.06em;
}

.catalog__visual { display: flex; justify-content: center; }
.catalog__sheet {
  width: min(300px, 78vw);
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(201, 162, 83, 0.14), transparent 46%),
    linear-gradient(0deg, var(--ink-3), #0a0a0f);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  transform: rotate(-2deg);
}
.catalog__sheetLabel {
  font-family: "Bodoni Moda", serif;
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 60%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.catalog__sheetDate {
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}
.catalog__sheetRule {
  width: 54px;
  height: 1px;
  background: var(--gold);
  margin: 10px 0;
}
.catalog__sheetMeta {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

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

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.contact__box {
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: clamp(26px, 3.4vw, 40px);
}
.contact__list {
  margin: 0;
  display: grid;
  gap: 20px;
}
.contact__list dt {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact__list dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  word-break: break-word;
}

/* ---------- Produkty ---------- */

.section--products {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(201, 162, 83, 0.07), transparent 55%),
    var(--ink);
  border-top: 1px solid var(--line-soft);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(32px, 4vw, 46px);
}
.chip {
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 18px;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chip span {
  font-size: 0.66rem;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
}
.chip:hover {
  color: var(--text);
  border-color: var(--line);
}
.chip.is-active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 162, 83, 0.07);
}
.chip.is-active span { color: var(--gold); }

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.search {
  position: relative;
  flex: 1 1 auto;
  max-width: 420px;
}
.search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--gold-deep);
  stroke-width: 1.6;
  stroke-linecap: round;
  pointer-events: none;
}
.search input {
  width: 100%;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  padding: 13px 16px 13px 42px;
  transition: border-color 0.25s var(--ease);
}
.search input::placeholder { color: rgba(156, 150, 140, 0.75); }
.search input:focus {
  border-color: var(--gold);
  outline: none;
}
.toolbar__count {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1px;
  margin-top: 26px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.product {
  background: var(--ink);
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: background 0.35s var(--ease);
}
.product:hover { background: var(--ink-3); }
.product__brand {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.product__name {
  font-family: "Bodoni Moda", serif;
  font-size: 1.06rem;
  line-height: 1.3;
  color: var(--text);
  margin-top: 2px;
}
.product__meta {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.badge {
  margin-top: 12px;
  align-self: flex-start;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--line-soft);
  color: var(--muted);
}
.badge--stock {
  border-color: rgba(201, 162, 83, 0.5);
  color: var(--gold);
}
.badge--stock::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 7px;
  vertical-align: middle;
}

.products__empty {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.88rem;
}
.products__footer {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.catalog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.catalog__text .catalog__actions .btn { margin-top: 0; }

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

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 54px 0 42px;
  background: #050508;
}
.footer__inner {
  display: grid;
  gap: 22px;
  justify-items: center;
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Bodoni Moda", serif;
  font-size: 0.86rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer__brand img {
  width: 30px;
  opacity: 0.9;
}
.footer__legal {
  font-size: 0.72rem;
  color: var(--muted);
  max-width: 74ch;
  line-height: 1.8;
}
.footer__copy {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(156, 150, 140, 0.7);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .catalog, .contact { grid-template-columns: 1fr; }
  .catalog__visual { order: -1; margin-bottom: 8px; }
  .nav__links {
    position: fixed;
    inset: 0 0 auto 0;
    padding: 96px 24px 34px;
    background: rgba(7, 7, 10, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    transform: translateY(-102%);
    transition: transform 0.45s var(--ease);
  }
  .nav__links.is-open { transform: none; }
  .nav__links a {
    width: 100%;
    padding: 14px 0;
    font-size: 0.82rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__cta {
    margin-top: 16px;
    text-align: center;
    border-bottom: 1px solid var(--line) !important;
  }
  .burger { display: block; }
}

@media (max-width: 620px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 0;
  }
  .stats__item:nth-child(odd) { border-left: 0; }
  .stats__item:nth-child(3),
  .stats__item:nth-child(4) {
    padding-top: 22px;
    border-top: 1px solid var(--line-soft);
  }
  .brand__text { display: none; }
  .hero { padding-top: 108px; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
