/* UBBC — Ukrainian Beauty Business Community */
:root {
  --ink: #181c16;
  --ink-2: #20251e;
  --cream: #edeae6;
  --red: #cf0015;
  --gold: #c5a173;
  --muted: rgba(237, 234, 230, 0.62);
  --line: rgba(237, 234, 230, 0.14);
  --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(24, 28, 22, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
}
.logo img { height: 34px; width: auto; }
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}
.nav a { color: var(--muted); text-decoration: none; transition: color .18s; }
.nav a:hover { color: var(--cream); }

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 13px 26px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: .01em;
  transition: transform .18s, filter .18s;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); filter: none; }

.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  padding: 120px 0 100px;
  background:
    radial-gradient(900px 420px at 18% 0%, rgba(207, 0, 21, .20), transparent 62%),
    radial-gradient(700px 380px at 92% 12%, rgba(197, 161, 115, .16), transparent 60%);
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -.02em;
  margin: 0 0 22px;
  max-width: 15ch;
}
.hero h1 .accent { color: var(--red); }
.hero p.lead {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 38px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- sections ---------- */
section { padding: 92px 0; border-bottom: 1px solid var(--line); }
section.alt { background: var(--ink-2); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
h2 {
  font-size: clamp(27px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -.015em;
  margin: 0 0 18px;
  line-height: 1.15;
}
h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.section-lead { color: var(--muted); max-width: 68ch; margin: 0 0 46px; font-size: 18px; }

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  background: rgba(237, 234, 230, .03);
}
.stat .num {
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.stat .label { color: var(--muted); font-size: 16px; margin-top: 8px; }

/* ---------- lists ---------- */
.tasks { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.tasks li {
  position: relative;
  padding: 22px 24px 22px 58px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(237, 234, 230, .025);
}
.tasks li::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 30px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.service {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 30px;
  background: rgba(237, 234, 230, .03);
  transition: border-color .2s, transform .2s;
}
.service:hover { border-color: var(--gold); transform: translateY(-3px); }
.service .name {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--red);
  margin-bottom: 10px;
}
.service ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); }
.service ul li { margin-bottom: 6px; }

/* ---------- audience ---------- */
.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.audience .card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 14px;
  padding: 30px 28px;
  background: rgba(237, 234, 230, .025);
}
.audience .card h3 { color: var(--gold); font-size: 15px; letter-spacing: .12em; font-weight: 900; }
.audience ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }

/* ---------- team ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 26px;
}
.team.lead-row { grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); margin-bottom: 62px; }
.member { text-align: left; }
.photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #2a2f27, #1c211a);
  border: 1px solid var(--line);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::before {
  content: attr(data-initials);
  position: absolute;
  font-size: 44px;
  font-weight: 900;
  color: rgba(197, 161, 115, .45);
  letter-spacing: .04em;
}
.photo img { position: relative; z-index: 1; }
.badge {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
  background: var(--red);
  color: var(--cream);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 30px;
}
.member .name { font-weight: 700; font-size: 17px; }
.member .role { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin-top: 5px; }

/* ---------- contacts ---------- */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.contacts dl { margin: 0; }
.contacts dt { color: var(--gold); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; margin-top: 20px; }
.contacts dd { margin: 5px 0 0; }
.contacts a { color: var(--cream); text-decoration: none; border-bottom: 1px solid var(--line); }
.contacts a:hover { border-color: var(--red); }

.cta-box {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px 34px;
  background: linear-gradient(150deg, rgba(207, 0, 21, .14), rgba(197, 161, 115, .07));
}
.cta-box h3 { font-size: 24px; }
.cta-box p { color: var(--muted); margin: 0 0 24px; }

/* ---------- footer ---------- */
footer {
  padding: 44px 0;
  color: var(--muted);
  font-size: 14.5px;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--cream); }

/* ---------- legal page ---------- */
.legal { padding: 72px 0 92px; }
.legal .doc { max-width: 78ch; }
.legal h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -.02em; margin: 0 0 10px; }
.legal .updated { color: var(--muted); margin-bottom: 44px; }
.legal h2 { font-size: 22px; margin-top: 44px; }
.legal ul { color: var(--muted); padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal p { color: rgba(237, 234, 230, .82); }

@media (max-width: 800px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--ink-2);
    padding: 18px 24px 24px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
    background: none;
    border: 1px solid var(--line);
    color: var(--cream);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
  }
  .header-cta { display: none; }
  section { padding: 62px 0; }
  .hero { padding: 78px 0 66px; }
}
