/* ==========================================================================
   UWR World — Marcas: a brand's page (/marcas/<brand>/) and the directory (/marcas/) with its form.
   Same tokens as the site (assets/css/main.css of «UWR World — Home»): abyssal navy, cyan, turquoise,
   Rajdhani / Roboto / JetBrains Mono. A brand's own colour (--bp-accent) only tints its own page.
   ========================================================================== */
:root {
  --abyss: #020812; --deep: #04142A; --navy: #081B31; --surface: #122B47; --surface-2: #0C2240;
  --cyan: #38BDF8; --turquoise: #2DD4BF; --text: #F8FAFC; --text-2: #CBD5E1; --muted: #94A3B8;
  --line: rgba(148, 163, 184, .16); --line-strong: rgba(148, 163, 184, .32); --gold: #F5C451; --signal: #FF4081;
  --font-display: 'Rajdhani', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px); --radius: 14px; --radius-lg: 22px;
  --bp-accent: var(--cyan);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.bp-page { margin: 0; background: var(--abyss); color: var(--text); font: 400 1rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.bp-page h1, .bp-page h2, .bp-page h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: .01em; }
.bp-page p { margin: 0; }
.bp-page a { color: var(--cyan); }
.bp-page img { max-width: 100%; display: block; }
.bp-page :focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.bp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bp-wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Top bar ---------- */
.bp-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px; min-height: 64px; padding-inline: var(--gutter); background: rgba(2, 8, 18, .84); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text) !important; text-decoration: none; font: 500 1.25rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.bp-brand b { font-weight: 700; margin-right: .18em; }
.bp-brand-mark { width: 30px; height: 30px; display: grid; }
.bp-top-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.bp-top-nav > a { padding: 10px 12px; border-radius: 999px; color: var(--text-2); text-decoration: none; font: 600 .98rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.bp-top-nav > a:hover { color: var(--text); background: rgba(148, 163, 184, .1); }
@media (max-width: 520px) { .bp-top-nav > a:nth-child(2) { display: none; } }

.bp-preview { position: sticky; top: 64px; z-index: 30; padding: 10px var(--gutter); background: var(--gold); color: #1A1204; font-weight: 500; text-align: center; }

/* ---------- Buttons, chips ---------- */
.bp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(8, 27, 49, .7); color: var(--text) !important; text-decoration: none; cursor: pointer; font: 600 1.02rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; transition: border-color .18s, background .18s, transform .18s; }
.bp-btn:hover { border-color: var(--text-2); transform: translateY(-1px); }
.bp-btn.is-primary { background: var(--bp-accent); border-color: var(--bp-accent); color: #021018 !important; }
.bp-btn.is-primary:hover { filter: brightness(1.08); }
.bp-btn.is-quiet { background: transparent; border-color: transparent; color: var(--text-2) !important; }
.bp-btn.is-small { min-height: 40px; padding: 9px 16px; font-size: .92rem; }
.bp-btn[disabled] { opacity: .55; cursor: default; transform: none; }

/* ---------- A brand's page ---------- */
.bp-hero { position: relative; overflow: hidden; padding: clamp(56px, 10vw, 120px) 0 clamp(40px, 6vw, 72px); background: radial-gradient(120% 90% at 80% 0%, color-mix(in srgb, var(--bp-accent) 26%, transparent), transparent 60%), linear-gradient(180deg, var(--deep), var(--abyss)); border-bottom: 1px solid var(--line); }
.bp-hero.has-cover { min-height: min(78vh, 680px); display: flex; align-items: flex-end; }
.bp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bp-hero.has-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 8, 18, .2) 0%, rgba(2, 8, 18, .55) 45%, rgba(2, 8, 18, .96) 100%); }
.bp-hero-in { position: relative; z-index: 1; display: grid; gap: 24px; align-items: end; }
@media (min-width: 760px) { .bp-hero-in { grid-template-columns: auto 1fr; gap: 36px; } }
.bp-logo { width: clamp(96px, 16vw, 148px); aspect-ratio: 1; border-radius: 28px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); color: #0B1B2E; font: 700 2.4rem/1 var(--font-display); }
.bp-logo img { width: 86%; height: 86%; object-fit: contain; }
.bp-logo.is-empty { background: var(--surface); color: var(--text); }
.bp-hero-t { display: grid; gap: 14px; max-width: 760px; }
.bp-hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); text-transform: uppercase; }
.bp-lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--text-2); max-width: 62ch; }
.bp-where { color: var(--muted); }
.bp-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bp-tags li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(2, 8, 18, .55); border: 1px solid color-mix(in srgb, var(--bp-accent) 55%, transparent); color: var(--text); font: 600 .86rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.bp-tags i { color: var(--bp-accent); }
.bp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.bp-sec { padding-block: clamp(48px, 7vw, 88px); }
.bp-sec + .bp-sec { border-top: 1px solid var(--line); }
.bp-k { color: var(--bp-accent); margin-bottom: 10px !important; }
.bp-sec h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); text-transform: uppercase; margin-bottom: 24px; }
.bp-text { color: var(--text-2); font-size: 1.06rem; max-width: 68ch; }
.bp-text p + p { margin-top: 1em; }
.bp-about { display: grid; gap: 28px; }
@media (min-width: 900px) { .bp-about { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.bp-perk { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); background: color-mix(in srgb, var(--gold) 10%, var(--navy)); border: 1px solid rgba(245, 196, 81, .4); }
.bp-perk i { color: var(--gold); font-size: 1.4rem; margin-top: 4px; }
.bp-perk small { display: block; color: var(--gold); margin-bottom: 6px; }
.bp-perk p { font-size: 1.08rem; }

.bp-products { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.bp-product { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); }
.bp-product-img { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; }
.bp-product-img img { width: 100%; height: 100%; object-fit: contain; }
.bp-product-img.is-empty { aspect-ratio: 16 / 7; background: var(--surface-2); color: var(--muted); font-size: 2rem; }
.bp-product-t { display: grid; align-content: start; gap: 8px; padding: 18px; }
.bp-product h3 { font-size: 1.4rem; }
.bp-price { color: var(--gold); font-size: .84rem; }
.bp-product p { color: var(--text-2); }
.bp-product .bp-btn { justify-self: start; margin-top: 6px; }

.bp-clubs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.bp-clubs a, .bp-clubs div { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy); color: var(--text); text-decoration: none; }
.bp-clubs a:hover { border-color: var(--line-strong); }
.bp-club-logo { width: 52px; height: 52px; flex: none; border-radius: 12px; background: var(--surface); display: grid; place-items: center; overflow: hidden; font: 700 1.1rem/1 var(--font-display); }
.bp-club-logo img { width: 100%; height: 100%; object-fit: contain; }
.bp-club-logo.is-round { border-radius: 50%; }
.bp-club-logo.is-round img { object-fit: cover; }
.bp-clubs strong { display: block; font: 700 1.2rem/1.1 var(--font-display); }
.bp-clubs small { color: var(--muted); }
.bp-verified { margin-left: auto; color: var(--turquoise); }
.bp-note { margin-top: 16px !important; color: var(--muted); font-size: .92rem; }

.bp-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 18px; background: #000; }
.bp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bp-gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.bp-gallery a { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.bp-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bp-gallery a:hover img { transform: scale(1.04); }

.bp-ships { display: flex; gap: 10px; align-items: center; color: var(--text-2); margin-bottom: 18px !important; }
.bp-ships i { color: var(--bp-accent); }
.bp-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.bp-links a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 64px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy); color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.bp-links a:hover { border-color: var(--bp-accent); }
.bp-links i { font-size: 1.3rem; color: var(--bp-accent); width: 26px; text-align: center; flex: none; }
.bp-links small { display: block; color: var(--muted); font-size: .8rem; }
.bp-join-mini { text-align: center; color: var(--muted); padding-block: 36px; }

/* ---------- The directory ---------- */
.bp-dir-hero { padding: clamp(56px, 10vw, 120px) 0 clamp(32px, 5vw, 56px); background: radial-gradient(100% 80% at 85% 0%, rgba(45, 212, 191, .18), transparent 60%), linear-gradient(180deg, var(--deep), var(--abyss)); }
.bp-dir-hero .bp-wrap { display: grid; gap: 18px; justify-items: start; }
.bp-dir-hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); text-transform: uppercase; max-width: 14ch; }
.bp-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.bp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text-2); cursor: pointer; font: 600 .95rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.bp-chip.is-on { background: var(--surface); border-color: var(--turquoise); color: var(--text); }
.bp-select select, .bp-f input:not([type="checkbox"]), .bp-f select, .bp-f textarea { width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--navy); color: var(--text); font: inherit; }
.bp-select select { width: auto; min-width: 200px; }
.bp-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.bp-card a { display: flex; gap: 16px; align-items: center; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--navy); color: var(--text); text-decoration: none; transition: border-color .18s, transform .18s; }
.bp-card a:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.bp-card-logo { width: 72px; height: 72px; flex: none; border-radius: 16px; background: #fff; display: grid; place-items: center; overflow: hidden; color: #0B1B2E; font: 700 1.4rem/1 var(--font-display); }
.bp-card-logo img { width: 86%; height: 86%; object-fit: contain; }
.bp-card-t { display: grid; gap: 4px; min-width: 0; }
.bp-card-t strong { font: 700 1.35rem/1.1 var(--font-display); }
.bp-card-t > span { color: var(--text-2); font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-card-t small { color: var(--muted); font-size: .68rem; }
.bp-empty { padding: 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--text-2); text-align: center; }

.bp-join { background: linear-gradient(180deg, var(--abyss), var(--deep)); border-top: 1px solid var(--line); }
.bp-join-in { display: grid; gap: 36px; }
@media (min-width: 960px) { .bp-join-in { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.bp-join-pitch { display: grid; gap: 16px; }
.bp-ticks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.bp-ticks li { position: relative; padding-left: 30px; color: var(--text-2); }
.bp-ticks li::before { content: ''; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: rgba(45, 212, 191, .16); box-shadow: inset 0 0 0 1px var(--turquoise); }
.bp-ticks li::after { content: ''; position: absolute; left: 6px; top: calc(.35em + 4px); width: 6px; height: 9px; border: solid var(--turquoise); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bp-form { display: grid; gap: 18px; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(8, 27, 49, .7); }
.bp-form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .bp-form-grid { grid-template-columns: 1fr 1fr; } .bp-form-grid .is-wide { grid-column: 1 / -1; } }
.bp-f { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.bp-f > span, .bp-f legend { color: var(--text-2); font-size: .92rem; font-weight: 500; padding: 0; margin-bottom: 6px; }
.bp-f textarea { min-height: 110px; resize: vertical; }
.bp-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-checks label, .bp-consent { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 12px; cursor: pointer; color: var(--text-2); }
.bp-checks input, .bp-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--turquoise); flex: none; }
.bp-checks label:has(input:checked) { border-color: var(--turquoise); color: var(--text); background: rgba(45, 212, 191, .08); }
.bp-consent { border: 0; padding: 0; font-size: .92rem; }
.bp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bp-form-msg { min-height: 1.4em; color: var(--text-2); }
.bp-form-msg.is-bad { color: #FF9CC0; }
.bp-form-msg.is-ok { color: var(--turquoise); font-size: 1.1rem; }
.bp-form .bp-btn { justify-self: start; }

/* ---------- Footer ---------- */
.bp-foot { border-top: 1px solid var(--line); padding-block: 36px; color: var(--muted); }
.bp-foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.bp-foot-in > p:first-child { flex: 1 1 260px; }
.bp-foot b { color: var(--text); }
.bp-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.bp-foot nav a { color: var(--text-2); text-decoration: none; }
.bp-foot nav a:hover { color: var(--text); }
.bp-fine { font-family: var(--font-mono); font-size: .72rem; }
