/* URBNIQ — site styles. Brand: navy #0A0E14, amber #FFC531, Poppins + DM Serif Display */
:root {
  --bg: #0A0E14;
  --bg2: #121A26;
  --bg3: #1A2433;
  --line: #243045;
  --ink: #FFFFFF;
  --text: #D6DEE8;
  --muted: #9AA7B8;
  --accent: #FFC531;
  --accent-ink: #0A0E14;
  --cyan: #33D6FF;
  --green: #2EE59D;
  --red: #FF3B4E;
  --radius: 14px;
  --max: 1160px;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.hl { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
.section-alt { background: var(--bg2); }
.kicker {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--text); max-width: 720px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 20, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; }
.logo:hover { text-decoration: none; }
.logo .mark { width: 34px; height: 34px; }
.logo b { color: var(--accent); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button {
  color: var(--text); font: 500 .95rem var(--sans);
  padding: 8px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer;
}
.nav > a:hover, .nav .dd > button:hover, .nav a.active { color: var(--ink); background: var(--bg3); text-decoration: none; }
.dd { position: relative; }
.dd-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 8px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; }
.dd-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: .93rem; }
.dd-menu a:hover { background: var(--bg3); color: var(--ink); text-decoration: none; }
.dd-menu a span { display: block; color: var(--muted); font-size: .8rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg2); border-bottom: 1px solid var(--line); padding: 10px 20px 20px;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .dd-menu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; background: none; }
  .nav .btn { margin-top: 10px; text-align: center; }
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px;
  font: 600 .95rem var(--sans); cursor: pointer; border: 2px solid transparent;
  transition: transform .15s, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ffd35c; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; padding: 96px 0 80px;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(255,197,49,.16), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(51,214,255,.10), transparent 60%),
    var(--bg);
}
.hero h1 { max-width: 820px; }
.hero .lead { font-size: 1.2rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 48px; }
.hero-stats div { border-left: 3px solid var(--accent); padding-left: 14px; }
.hero-stats b { display: block; color: var(--ink); font-size: 1.5rem; }
.hero-stats span { color: var(--muted); font-size: .9rem; }
.page-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 80% at 90% 0%, rgba(255,197,49,.12), transparent 60%), var(--bg); }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }

/* ── Cards & grids ────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color .2s, transform .2s;
}
.section-alt .card { background: var(--bg3); }
a.card { display: block; color: var(--text); }
a.card:hover { border-color: var(--accent); transform: translateY(-3px); text-decoration: none; }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,197,49,.12); color: var(--accent); font-size: 1.35rem; margin-bottom: 16px;
}
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.card .more { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 600; font-size: .9rem; }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 99px; background: rgba(255,197,49,.14); color: var(--accent); margin-bottom: 10px;
}
.tag.cyan { background: rgba(51,214,255,.12); color: var(--cyan); }
.tag.green { background: rgba(46,229,157,.12); color: var(--green); }
.tag.soon { background: rgba(154,167,184,.15); color: var(--muted); }

/* ── Steps / lists ────────────────────────────────────── */
.steps { counter-reset: s; display: grid; gap: 16px; }
.steps li {
  list-style: none; position: relative; padding: 18px 18px 18px 66px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 12px;
}
.steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; display: grid; place-items: center;
}
.steps li b { color: var(--ink); display: block; }
.steps { padding: 0; margin: 0; }
.ticks { padding: 0; margin: 0 0 1em; }
.ticks li { list-style: none; padding-left: 28px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* ── Callouts ─────────────────────────────────────────── */
.note {
  border-left: 4px solid var(--accent); background: var(--bg2);
  padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 20px 0; font-size: .95rem;
}
.note.warn { border-color: var(--red); }
.note.info { border-color: var(--cyan); }
.cta-band {
  background: linear-gradient(120deg, #1c1a0f, #121A26 60%);
  border: 1px solid rgba(255,197,49,.35); border-radius: 20px; padding: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--muted); }

/* ── Forms & tools ────────────────────────────────────── */
.tool { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .tool { grid-template-columns: 1fr; } }
.panel { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.field { margin-bottom: 18px; }
.field label { display: flex; justify-content: space-between; font-size: .88rem; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.field label output { color: var(--accent); font-weight: 600; }
input[type=number], input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: 11px 13px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font: 400 1rem var(--sans);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
input[type=range] { width: 100%; accent-color: var(--accent); }
.result-big { font-size: 2.4rem; font-weight: 700; color: var(--accent); line-height: 1.1; margin: 4px 0 6px; }
.result-label { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin-top: 18px; font-size: .95rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.kv .total { border-top: 1px solid var(--line); padding-top: 8px; }
.bar { height: 12px; border-radius: 99px; background: var(--bg3); overflow: hidden; display: flex; margin-top: 16px; }
.bar i { display: block; height: 100%; }
.legend { display: flex; gap: 16px; font-size: .82rem; color: var(--muted); margin-top: 8px; flex-wrap: wrap; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: var(--c); }
.segmented { display: flex; gap: 6px; flex-wrap: wrap; }
.segmented label { margin: 0; }
.segmented input { display: none; }
.segmented span { display: inline-block; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); cursor: pointer; font-size: .9rem; }
.segmented input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }

/* ── Tables ───────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { background: var(--bg3); color: var(--ink); font-weight: 600; font-size: .85rem; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; }
tr.fit td { background: rgba(46,229,157,.06); }
tr.nofit td { color: var(--muted); }

/* ── Articles ─────────────────────────────────────────── */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin-top: 1.6em; font-size: 1.8rem; }
.article h3 { margin-top: 1.4em; }
.article p, .article li { font-size: 1.05rem; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .5em; }
.meta { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.factbox { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 24px 0; }
.factbox div { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.factbox b { display: block; color: var(--accent); font-size: 1.5rem; line-height: 1.2; }
.factbox span { color: var(--muted); font-size: .85rem; }

/* ── Instagram chat ───────────────────────────────────── */
.btn-ig { background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888); color: #fff; }
.btn-ig:hover { filter: brightness(1.08); }
.chat-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 99px;
  background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
  color: #fff; font-weight: 600; font-size: .95rem; box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.chat-fab:hover { text-decoration: none; transform: translateY(-2px); }
.chat-fab svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .chat-fab span { display: none; } .chat-fab { padding: 14px; } }

/* ── Footer ───────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: #070A0F; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--accent); }
.legal { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; color: var(--muted); font-size: .8rem; }
