/* RALEX — online prodavnica. Dark palette inspired by the Aurum Atelier teardown. */
:root {
  --bg: #0d0d0d;
  --panel: #181818;
  --panel-2: #121212;
  --text: #eaeaea;
  --muted: rgba(234, 234, 234, 0.55);
  --line: rgba(235, 235, 235, 0.16);
  --line-strong: #353535;
  --pill: rgba(234, 234, 234, 0.5);
  --gold: #c9a55c;
  --white: #ffffff;
  --ink: #0d0d0d;
  --font: "Geist", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: min(1376px, 100% - 32px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
.wrap { width: var(--wrap); margin-inline: auto; }
.upper { text-transform: uppercase; letter-spacing: 0.02em; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(13, 13, 13, 0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase; }
.logo img { width: 36px; height: 36px; border-radius: 50%; }
.nav { display: none; gap: 36px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.nav a { padding: 12px 0; opacity: 0.85; transition: opacity 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--pill); background: transparent;
  display: grid; place-items: center;
}
.icon-btn svg { width: 18px; height: 18px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--gold); color: var(--ink); font-size: 11px; line-height: 20px; text-align: center;
}
.cart-count[hidden] { display: none; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--text); margin: 4px auto; transition: transform 0.3s var(--ease), opacity 0.2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-nav {
  display: none; border-top: 1px solid var(--line); padding: 8px 16px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-transform: uppercase; font-size: 14px; letter-spacing: 0.06em; }

/* ---------- Buttons (pill + circle, from the template) ---------- */
.btn-row { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pill {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 8px 26px; border-radius: 43px;
  border: 1px solid var(--pill); background: transparent;
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap;
  transition: color 0.45s var(--ease);
}
.pill::before {
  content: ""; position: absolute; z-index: -1; right: 0; top: 50%;
  width: 4px; height: 4px; border-radius: 50%; background: var(--white);
  transform: translateY(-50%) scale(0); transition: transform 0.6s var(--ease);
}
.pill:hover { color: var(--ink); }
.pill:hover::before { transform: translateY(-50%) scale(120); }
.pill.solid { background: var(--white); color: var(--ink); border-color: var(--white); }
.pill.solid::before { background: var(--gold); }
.pill[disabled] { opacity: 0.5; pointer-events: none; }
.circle {
  width: 44px; height: 44px; border-radius: 50%; background: var(--white);
  display: grid; place-items: center; flex-shrink: 0; transition: transform 0.35s var(--ease);
}
.circle svg { width: 18px; height: 18px; }
a:hover > .circle, .btn-row:hover .circle { transform: rotate(45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: saturate(0.9); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,0.55) 0%, rgba(13,13,13,0.2) 30%, rgba(13,13,13,0.85) 55%, rgba(13,13,13,0.96) 80%, var(--bg) 100%);
}
.hero-boxes { position: relative; z-index: 1; display: grid; border-top: 1px solid var(--line-strong); margin-top: 220px; }
.hero-box { padding: 24px 16px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.hero-box + .hero-box { border-top: 1px solid var(--line-strong); }
.hero h1 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -0.01em; max-width: 18ch; }
.hero .lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 46ch; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-stats strong { display: block; font-size: 28px; font-weight: 400; color: var(--text); }
.hero-stats span { font-size: 12px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.divider { height: 1px; background: var(--line); width: var(--wrap); margin-inline: auto; }
.section-title { font-size: clamp(32px, 4vw, 54px); line-height: 1.08; text-align: center; letter-spacing: -0.01em; }
.section-sub { text-align: center; color: var(--muted); max-width: 60ch; margin: 14px auto 0; font-size: 17px; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); }

/* ---------- Featured ---------- */
.featured { display: grid; gap: 32px; align-items: center; }
.featured-img { background: var(--panel); aspect-ratio: 3 / 4; overflow: hidden; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-info { display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.featured-info h2 { font-size: clamp(24px, 2.4vw, 32px); text-transform: uppercase; line-height: 1.2; }
.featured-info .desc { color: var(--muted); }
.price-big { font-size: 26px; text-transform: uppercase; }
.spec-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; text-transform: uppercase; color: var(--muted); }
.spec-list li b { font-weight: 400; color: var(--text); text-align: right; }

/* ---------- Catalogue ---------- */
.catalog-head { display: flex; flex-direction: column; align-items: center; gap: 28px; margin-bottom: 40px; }
.tabs {
  display: inline-flex; gap: 4px; padding: 4px; border-radius: 50px; background: var(--panel);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  border: 0; background: transparent; color: #8a8a8a; border-radius: 25px;
  padding: 10px 18px; min-height: 44px; font-size: 15px; white-space: nowrap; transition: color 0.3s, background 0.3s;
}
.tab[aria-selected="true"] { background: var(--white); color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; }
.field {
  min-height: 44px; padding: 0 18px; border-radius: 42px; border: 1px solid var(--pill);
  background: transparent; color: var(--text); font: 400 14px var(--font);
}
.field option { background: var(--panel); }
.field::placeholder { color: var(--muted); }
.result-count { font-size: 12px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.04em; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.card { background: var(--panel); display: flex; flex-direction: column; position: relative; }
.card-top { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px 0; font-size: 12px; text-transform: uppercase; }
.card-top .title { line-height: 1.3; min-height: 2.6em; }
.card-top > span { white-space: nowrap; }
.card-media { display: block; aspect-ratio: 3 / 4; overflow: hidden; margin: 12px 0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease); }
@media (hover: hover) { .card:hover .card-media img { scale: 1.05; } }
.card .spec-list { margin: 0 12px; border-top: 0; }
.card .spec-list li { font-size: 10px; padding: 3px 0; border: 0; line-height: 16px; }
.card-btn {
  margin-top: 12px; min-height: 44px; border: 0; border-top: 1px solid #818181; background: transparent;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.4s var(--ease);
}
.card-btn::before { content: ""; position: absolute; z-index: -1; inset: 50% 50%; border-radius: 999px; background: var(--white); transition: inset 0.5s var(--ease); }
.card-btn:hover { color: var(--ink); }
.card-btn:hover::before { inset: -120px -20px; }
.card-btn.in-cart { color: var(--gold); }
.badge {
  position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 20px; background: var(--ink); border: 1px solid var(--line-strong);
}
.card.sold .card-media img { filter: grayscale(0.7) brightness(0.6); }
.card.sold .badge { color: var(--muted); }
.more-row { display: flex; justify-content: center; margin-top: 40px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 0; color: var(--muted); }

/* ---------- Story / wordmark ---------- */
.story { text-align: center; }
.wordmark {
  font-size: clamp(88px, 22vw, 320px); line-height: 0.85; text-transform: uppercase; letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--text) 30%, rgba(234,234,234,0.08) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none;
}
.story-portrait { width: min(220px, 50%); aspect-ratio: 1; border-radius: 50%; margin: -40px auto 40px; overflow: hidden; border: 1px solid var(--line-strong); position: relative; }
.story-portrait img { width: 100%; height: 100%; object-fit: cover; }
.story-text { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); }
.story-text p:first-child { color: var(--text); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; }

/* ---------- Panels (template "features" grid) ---------- */
.panels-head { max-width: 763px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.panels-head h2 { font-size: clamp(28px, 3vw, 34px); }
.panels { display: grid; grid-template-columns: 1fr; gap: 10px; }
.panel { background: var(--panel); padding: 20px; display: flex; flex-direction: column; gap: 13px; }
.panel h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.panel h3::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.panel p { color: var(--muted); font-size: 16px; }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; padding: 72px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(13,13,13,0.72); }
.cta-banner h2 { font-size: clamp(28px, 4vw, 54px); }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: clamp(16px, 1.6vw, 22px); }

/* ---------- Product page ---------- */
.product { display: grid; gap: 40px; padding-top: 40px; }
.gallery { background: var(--panel); aspect-ratio: 3 / 4; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-info { display: flex; flex-direction: column; gap: 20px; }
.product-info h1 { font-size: clamp(26px, 3vw, 40px); text-transform: uppercase; line-height: 1.15; }
.product-desc { color: var(--muted); white-space: pre-line; }
.breadcrumbs { font-size: 12px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.04em; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--text); }
.trust { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.trust div { display: flex; gap: 10px; align-items: center; }
.trust div::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.specs-full { columns: 1; list-style: none; padding: 0; margin: 0; }
.specs-full li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; break-inside: avoid; }

.gallery-wrap { display: flex; flex-direction: column; gap: 8px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.thumb { padding: 0; border: 1px solid transparent; background: var(--panel); aspect-ratio: 3 / 4; min-height: 44px; overflow: hidden; opacity: 0.6; transition: opacity 0.25s, border-color 0.25s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb[aria-current="true"] { opacity: 1; border-color: var(--gold); }
.product-lead { color: var(--muted); font-size: 17px; }
.product-more { display: grid; gap: 48px; padding: 80px 0 0; }
.product-more h2, .product-specs h2, .buy-info h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 20px; }
.about-watch { display: flex; flex-direction: column; gap: 16px; color: var(--muted); font-size: 17px; max-width: 68ch; }
.about-watch h2 { color: var(--text); margin-bottom: 4px; }
.about-watch h3 { color: var(--text); font-size: 16px; margin-top: 16px; text-transform: uppercase; letter-spacing: 0.04em; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 30px; font-size: 14px; color: var(--text); }
.details-col h2 + .details { margin-bottom: 40px; }
.details { width: 100%; border-collapse: collapse; font-size: 15px; }
.details th, .details td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--line); }
.details th { width: 42%; padding-right: 16px; font-weight: 400; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.product-specs { padding: 80px 0 0; }
.buy-info { padding: 80px 0 0; }
.buy-steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.buy-steps li { counter-increment: s; background: var(--panel); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.buy-steps li::before { content: "0" counter(s); color: var(--gold); font-size: 12px; letter-spacing: 0.06em; }
.buy-steps b { font-weight: 500; }
.buy-steps span { color: var(--muted); }
.post-meta { font-size: 14px; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; gap: 40px; }
.cart-list { display: flex; flex-direction: column; gap: 4px; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center; background: var(--panel); padding: 12px; }
.cart-item img { width: 88px; height: 88px; object-fit: cover; }
.cart-item .t { text-transform: uppercase; font-size: 14px; }
.remove { border: 0; background: transparent; color: var(--muted); font-size: 12px; text-transform: uppercase; min-height: 44px; padding: 0 8px; }
.remove:hover { color: var(--text); }
.summary { background: var(--panel); padding: 24px; display: flex; flex-direction: column; gap: 16px; align-self: start; }
.summary .row { display: flex; justify-content: space-between; font-size: 14px; text-transform: uppercase; }
.summary .total { font-size: 22px; border-top: 1px solid var(--line); padding-top: 16px; }

/* ---------- Forms / wizard ---------- */
.form-shell { max-width: 720px; margin: 0 auto; }
.progress { display: flex; gap: 6px; margin-bottom: 40px; }
.progress span { flex: 1; height: 2px; background: var(--line-strong); transition: background 0.4s; }
.progress span.on { background: var(--gold); }
.step { display: none; flex-direction: column; gap: 24px; }
.step.active { display: flex; animation: stepIn 0.5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.step h2 { font-size: clamp(24px, 3vw, 34px); }
.choices { display: grid; grid-template-columns: 1fr; gap: 8px; }
.choice {
  text-align: left; padding: 18px 20px; min-height: 56px; background: var(--panel); border: 1px solid transparent;
  font-size: 16px; transition: border-color 0.25s, background 0.25s;
}
.choice:hover { border-color: var(--line-strong); }
.choice[aria-pressed="true"] { border-color: var(--gold); background: #1d1a14; }
.choice small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.inputs { display: grid; gap: 12px; }
.inputs label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; text-transform: uppercase; color: var(--muted); letter-spacing: 0.04em; }
.inputs input, .inputs textarea {
  font: 400 16px var(--font); color: var(--text); background: var(--panel); border: 1px solid var(--line-strong);
  padding: 14px 16px; min-height: 48px; border-radius: 0;
}
.inputs textarea { min-height: 120px; resize: vertical; }
.inputs input:focus, .inputs textarea:focus, .field:focus { outline: none; border-color: var(--gold); }
.step-nav { display: flex; justify-content: space-between; gap: 8px; }
.form-msg { padding: 32px; background: var(--panel); border-left: 2px solid var(--gold); display: none; flex-direction: column; gap: 10px; }
.form-msg.show { display: flex; }
.form-error { color: #e48b7c; font-size: 14px; min-height: 1em; }

/* ---------- Page head / legal ---------- */
.page-head { padding: 72px 0 32px; }
.page-head h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.01em; }
.page-head p { color: var(--muted); margin-top: 14px; max-width: 60ch; font-size: 17px; }
.legal { max-width: 760px; display: flex; flex-direction: column; gap: 16px; color: var(--muted); }
.legal h2 { color: var(--text); font-size: 22px; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-grid { display: grid; gap: 40px; }
.footer-grid h2 { font-size: 16px; margin-bottom: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a, .footer-grid p { color: var(--muted); line-height: 2.2; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { margin-top: 56px; text-align: center; font-size: 12px; color: var(--muted); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 120px);
  background: var(--white); color: var(--ink); padding: 14px 22px; border-radius: 40px; font-size: 14px;
  transition: transform 0.5s var(--ease); white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- Scroll reveal (template "Vane Motion") ---------- */
.js [data-reveal] { opacity: 0; translate: 0 40px; filter: blur(8px); transition: opacity 0.7s var(--ease), translate 0.7s var(--ease), filter 0.7s var(--ease); }
.js [data-reveal].in { opacity: 1; translate: 0 0; filter: none; }
.js [data-reveal-img] { clip-path: inset(12%); transition: clip-path 0.9s var(--ease); }
.js [data-reveal-img] img { scale: 1.06; transition: scale 0.9s var(--ease); }
.js [data-reveal-img].in { clip-path: inset(0); }
.js [data-reveal-img].in img { scale: 1; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal-img] { opacity: 1; translate: none; filter: none; clip-path: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Tablet / desktop ---------- */
@media (min-width: 768px) {
  :root { --wrap: min(1376px, 100% - 64px); }
  .nav { display: flex; }
  .burger, .mobile-nav, .mobile-nav.open { display: none; }
  .hero-boxes { grid-template-columns: 446px 1fr; border-bottom: 1px solid var(--line-strong); }
  .hero-box { padding: 32px; min-height: 240px; }
  .hero-box + .hero-box { border-top: 0; border-left: 1px solid var(--line-strong); }
  section { padding: 120px 0; }
  .featured { grid-template-columns: 1fr 1fr; gap: 64px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .card-top { flex-direction: row; justify-content: space-between; padding: 16px 16px 0; font-size: 14px; }
  .card-top .title { min-height: 0; }
  .card .spec-list { margin: 0 16px; }
  .card .spec-list li { font-size: 12px; }
  .panels { grid-template-columns: 1fr 1fr; }
  .choices { grid-template-columns: 1fr 1fr; }
  .product { grid-template-columns: 1.1fr 1fr; gap: 64px; padding-top: 56px; }
  .specs-full { columns: 2; column-gap: 32px; }
  .product-more { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .buy-steps { grid-template-columns: repeat(3, 1fr); }
  .gallery-wrap { position: sticky; top: 96px; align-self: start; }
  .cart-layout { grid-template-columns: 1fr 380px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .cta-banner { padding: 96px 56px; }
}
@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .panels { grid-template-columns: repeat(3, 1fr); }
}

/* =====================================================================
   RALEX — motion + visual upgrade (loaded after styles.css)
   ===================================================================== */

/* Film grain over the whole page for a richer, less flat black */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

}
@keyframes grain { 0%,100% { transform: translate(0,0); } 10% { transform: translate(-5%,-10%); } 30% { transform: translate(3%,-15%); } 50% { transform: translate(12%,9%); } 70% { transform: translate(9%,4%); } 90% { transform: translate(-1%,7%); } }

/* Scroll progress line */
.progress-line { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 70; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #8a6c33, var(--gold), #f3dfae); }

/* Intro curtain (home only) */
.intro { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: grid; place-items: center; pointer-events: none; transition: opacity 0.7s var(--ease) 0.2s, visibility 0s 0.9s; }
.intro img { width: 72px; height: 72px; border-radius: 50%; animation: introSpin 1.1s var(--ease) both; }
.intro::after { content: ""; position: absolute; left: 50%; top: calc(50% + 60px); width: 120px; height: 1px; margin-left: -60px; background: var(--gold); transform-origin: 0 50%; animation: introLine 0.9s var(--ease) 0.15s both; }
.intro.done { opacity: 0; visibility: hidden; }
@keyframes introSpin { from { opacity: 0; transform: scale(0.6) rotate(-90deg); } to { opacity: 1; transform: none; } }
@keyframes introLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Hero v2 ---------- */
.hero2 { position: relative; min-height: calc(100svh - 72px); display: flex; align-items: center; padding: 48px 0 96px; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 72% 45%, rgba(201,165,92,0.20), transparent 70%), radial-gradient(40% 40% at 10% 90%, rgba(201,165,92,0.07), transparent 70%); }
.hero2-grid { position: relative; display: grid; gap: 56px; align-items: center; }
.hero2-copy { display: flex; flex-direction: column; gap: 24px; }
.hero2 h1 { font-size: clamp(44px, 7.2vw, 108px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 400; }
.hero2 .lead { color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); max-width: 44ch; }
.hero2 .hero-stats { border-top: 1px solid var(--line); padding-top: 24px; gap: 40px; }
.hero2 .hero-stats strong { font-size: clamp(28px, 2.6vw, 38px); font-variant-numeric: tabular-nums; }

/* word-by-word headline rise */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease) calc(250ms + var(--i) * 90ms); }
.split .w:last-child > span { color: var(--gold); font-style: italic; }
.loaded .split .w > span { transform: none; }
.hero-in { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 0.9s var(--ease) var(--d, 0ms), transform 0.9s var(--ease) var(--d, 0ms), filter 0.9s var(--ease) var(--d, 0ms); }
.loaded .hero-in { opacity: 1; transform: none; filter: none; }

/* watch visual with rotating bezel */
.hero2-visual { position: relative; width: min(100%, 520px); margin-inline: auto; aspect-ratio: 1; will-change: transform; }
.bezel { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 60s linear infinite; opacity: 0; transition: opacity 1.2s var(--ease) 0.6s; }
.loaded .bezel { opacity: 1; }
.bezel line { stroke: rgba(234,234,234,0.35); stroke-width: 0.4; }
.bezel line.major { stroke: var(--gold); stroke-width: 0.9; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero2-frame { position: absolute; inset: 9%; border-radius: 50%; overflow: hidden;
  box-shadow: 0 40px 120px -20px rgba(0,0,0,0.9), 0 0 0 1px rgba(201,165,92,0.35), inset 0 0 0 1px rgba(255,255,255,0.05);
  clip-path: circle(0% at 50% 50%); transition: clip-path 1.4s var(--ease) 0.35s; }
.loaded .hero2-frame { clip-path: circle(50% at 50% 50%); }
.hero2-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transform: scale(1.18); animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.18) translateY(0); } to { transform: scale(1.3) translateY(-3%); } }
.hero2-tag { position: absolute; left: 0; bottom: 6%; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 40px;
  background: rgba(24,24,24,0.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-strong); font-size: 13px;
  opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease) 1.3s, transform 0.8s var(--ease) 1.3s; }
.hero2-tag span { background: var(--gold); color: var(--ink); border-radius: 20px; padding: 3px 10px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.loaded .hero2-tag { opacity: 1; transform: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--pill); border-radius: 20px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; border-radius: 2px; background: var(--gold); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Brand marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-size: clamp(22px, 3vw, 40px); text-transform: uppercase; letter-spacing: 0.04em; padding: 0 28px; color: transparent;
  -webkit-text-stroke: 1px rgba(234,234,234,0.45); white-space: nowrap; display: flex; align-items: center; transition: color 0.3s; }
.marquee span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-left: 56px; }
.marquee span:hover { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Card upgrades ---------- */
.card { transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid transparent; transition: border-color 0.5s var(--ease); }
@media (hover: hover) {
  .card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9), 0 0 40px -20px rgba(201,165,92,0.35); }
  .card:hover::after { border-color: rgba(201,165,92,0.45); }
  }
.card-media { position: relative; }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.12) 50%, transparent 65%); transform: translateX(-120%); transition: transform 0.9s var(--ease); }
.card:hover .card-media::after { transform: translateX(120%); }
/* slide-in uses its own `translate` property so hover/touch states (which use `transform`) can never cancel it */
.js .grid .card:not(.done) { will-change: opacity, translate; } /* layer exists before the slide starts */
.js .grid .card:not(.in) { opacity: 0; translate: 0 48px; }
.js .grid .card.in { opacity: 1; translate: 0 0; transition: opacity 0.8s var(--ease) var(--d, 0ms), translate 0.9s var(--ease) var(--d, 0ms), transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }

/* custom cursor over watch photos */
.cursor { position: fixed; left: 0; top: 0; z-index: 80; width: 96px; height: 96px; margin: -48px 0 0 -48px; pointer-events: none; border-radius: 50%;
  background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
  transform: translate3d(var(--x, -200px), var(--y, -200px), 0) scale(0); transition: transform 0.35s var(--ease); }
.cursor.on { transform: translate3d(var(--x), var(--y), 0) scale(1); }

/* tabs: sliding indicator */
.tab { position: relative; z-index: 1; }
.tab[aria-selected="true"] { background: transparent; }
.tab-ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; border-radius: 25px; background: var(--white); transition: transform 0.5s var(--ease), width 0.5s var(--ease); }
.tabs { position: relative; }

/* featured */
.featured-img img { transform: scale(1.12) translateY(var(--py, 0px)); }
.featured-info h2 { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.05; letter-spacing: -0.02em; }

/* wordmark fills with gold while scrolling */
.wordmark { background: linear-gradient(90deg, var(--gold) 0 var(--fill, 0%), rgba(234,234,234,0.12) var(--fill, 0%) 100%); -webkit-background-clip: text; background-clip: text; }

/* panels hover */
.panel { position: relative; overflow: hidden; transition: background 0.4s var(--ease); }
.panel::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.6s var(--ease); }
.panel:hover { background: #1d1d1d; }
.panel:hover::before { transform: scaleX(1); }

/* ---------- Scroll-expanding CTA ---------- */
.expand { height: 220vh; padding: 0; position: relative; }
.expand-sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.expand-card { position: relative; overflow: hidden; width: calc(var(--w, 40) * 1%); height: calc(var(--h, 40) * 1vh); border-radius: calc(var(--r, 32) * 1px); background: #000; min-width: 280px; }
.expand-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.35 - var(--k, 0) * 0.35)); filter: brightness(0.55); }
.expand-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; padding: 24px;
  opacity: var(--k, 0); transform: translateY(calc((1 - var(--k, 0)) * 30px)); filter: blur(calc((1 - var(--k, 0)) * 10px)); }
.expand-copy h2 { font-size: clamp(32px, 5.5vw, 84px); line-height: 1; letter-spacing: -0.03em; }
/* "Kako kupujete": mechanism video as section background */
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.bg-video-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(14,14,14,.88) 0%, rgba(14,14,14,.62) 45%, rgba(14,14,14,.88) 100%); }
#kupovina .panel { background: rgba(20,20,20,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid var(--line-strong); }
@media (prefers-reduced-motion: reduce) { .bg-video { display: none; } }
.expand-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); transform: scale(calc(1.15 - var(--k, 0) * 0.15)); }
.expand-copy h2 em { color: var(--gold); }
.expand-copy p { color: rgba(255,255,255,0.8); font-size: clamp(16px, 1.6vw, 21px); }

/* product page: gold shimmer on price */
.price-big.gold { background: linear-gradient(100deg, var(--gold) 40%, #f6e4b5 50%, var(--gold) 60%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 4s ease-in-out infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* page-to-page fade */
main { animation: pageIn 0.8s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (min-width: 900px) {
  .hero2-grid { grid-template-columns: 1.1fr 1fr; gap: 40px; }
  .hero2-tag { left: -8%; }
  .scroll-cue { display: block; }
}
@media (hover: none) { .cursor { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .split .w > span, .hero-in, .hero2-frame, .hero2-tag, .bezel, .js .grid .card { transform: none !important; translate: none !important; opacity: 1 !important; filter: none !important; clip-path: none !important; }
  .marquee-track, .hero2-frame img, body::after, main { animation: none; }
  .intro { display: none; }
}

/* =====================================================================
   PHONE FIRST POLISH (most visitors come from Instagram on a phone)
   ===================================================================== */
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
.field, .inputs input, .inputs textarea, select.field { font-size: 16px; } /* 16px stops iOS from zooming into fields */
.pill:active, .card-btn:active, .tab:active, .choice:active, .icon-btn:active { transform: scale(0.97); }

/* swipeable gallery */
.gallery { position: relative; }
.slides { display: flex; width: 100%; height: 100%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; scroll-snap-stop: always; }
.slide-count { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 20px; font-size: 13px;
  background: rgba(13,13,13,0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-strong); }
.slide-count b { font-weight: 500; color: var(--gold); }

/* sticky buy bar (phones only) */
.buybar { display: none; }
.filter-toggle { display: none; }

/* touch devices: no sticky hover states after a tap */
@media (hover: none) {
  .pill:hover { color: inherit; }
  .pill.solid:hover { color: var(--ink); }
  .pill:hover::before { transform: translateY(-50%) scale(0); }
}

@media (max-width: 767px) {
  section { padding: 64px 0; }
  .site-header { background: rgba(13,13,13,0.97); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header .wrap { min-height: 60px; }
  .logo { font-size: 18px; gap: 10px; }
  .logo img { width: 32px; height: 32px; }

  /* full-screen menu */
  .mobile-nav { display: flex; position: fixed; inset: 61px 0 0; z-index: 39; background: var(--bg); padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
    display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s 0.35s; }
  .mobile-nav.open { display: flex; opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .mobile-nav a { font-size: 30px; text-transform: none; letter-spacing: -0.01em; padding: 16px 0; opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
  .mobile-nav.open a { opacity: 1; transform: none; }
  .mobile-nav.open a:nth-child(2) { transition-delay: 40ms; } .mobile-nav.open a:nth-child(3) { transition-delay: 80ms; }
  .mobile-nav.open a:nth-child(4) { transition-delay: 120ms; } .mobile-nav.open a:nth-child(5) { transition-delay: 160ms; } .mobile-nav.open a:nth-child(6) { transition-delay: 200ms; }
  body.menu-open { overflow: hidden; }

  /* hero: watch on top, text under it, everything in the first screen */
  .hero2 { min-height: auto; padding: 20px 0 56px; }
  .hero2-grid { gap: 28px; }
  .hero2-visual { order: -1; width: min(78vw, 340px); }
  .hero2-tag { left: 50%; bottom: -4%; transform: translate(-50%, 20px); white-space: nowrap; }
  .loaded .hero2-tag { transform: translate(-50%, 0); }
  .hero2-copy { gap: 18px; text-align: left; }
  .hero2 h1 { font-size: clamp(40px, 12.5vw, 56px); }
  .hero2 .btn-row .pill { flex: 1; }
  .hero2 .hero-stats { gap: 20px; justify-content: space-between; }
  .hero2 .hero-stats strong { font-size: 26px; }
  .hero2 .hero-stats span { font-size: 11px; }
  .marquee { padding: 16px 0; }
  .marquee span { font-size: 22px; }

  /* featured */
  .featured { gap: 24px; }
  .featured-info .btn-row .pill { flex: 1; }

  /* catalogue */
  .catalog-head { gap: 18px; margin-bottom: 24px; }
  .tabs { width: 100%; justify-content: space-between; }
  .tab { padding: 8px 10px; font-size: 14px; flex: 1; }
  .filter-toggle { display: inline-flex; width: 100%; }
  .filter-toggle::after { content: "+"; margin-left: 10px; font-size: 18px; line-height: 1; transition: transform 0.3s var(--ease); }
  .filter-toggle[aria-expanded="true"]::after { transform: rotate(45deg); }
  .filters { display: none; grid-template-columns: 1fr 1fr; }
  .filters.open { display: grid; animation: stepIn 0.4s var(--ease); }
  .filters #f-q { grid-column: 1 / -1; }
  .filters .field { width: 100%; padding: 0 14px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .card .spec-list { display: none; }
  .card-top { padding: 8px 8px 0; gap: 2px; }
  .card-top .title { font-size: 10px; line-height: 1.3; min-height: 3.9em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .card-top > span { font-size: 12px; }
  .card-media { margin: 8px 0 0; }
  .card-btn { margin-top: 0; min-height: 40px; font-size: 11px; border-top-color: var(--line-strong); }
  .more-row .pill { width: 100%; }

  /* story + panels + CTA */
  .story-portrait { margin: -24px auto 28px; }
  .panels-head { margin-bottom: 28px; }
  .expand { height: 170vh; }

  /* lighter rendering on phones: no full-screen grain layer, no shine layer per card, shorter slide */
  body::after { display: none; }
  .card-media::after { display: none; }
  .js .grid .card:not(.in) { translate: 0 32px; }
  .card-media img { transition: none; }

  /* product page */
  .product { gap: 20px; padding-top: 0; }
  .product .gallery-wrap { margin-inline: -16px; }
  .product .gallery { aspect-ratio: 4 / 5; }
  .product .thumbs { display: none; }
  .product-info { gap: 16px; }
  .product-info h1 { font-size: 26px; }
  .product-info .btn-row { gap: 8px; }
  .product-info .btn-row .pill { flex: 1 1 100%; min-height: 52px; font-size: 15px; }
  .product-more { padding-top: 56px; gap: 40px; }
  .about-watch { font-size: 16px; }
  .details th { width: 40%; font-size: 11px; }
  .details td { font-size: 15px; }
  .product-specs, .buy-info { padding-top: 56px; }
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(13,13,13,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line-strong); transform: translateY(110%); transition: transform 0.45s var(--ease); }
  .buybar.show { transform: none; }
  .buybar div { display: flex; flex-direction: column; line-height: 1.2; }
  .buybar span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
  .buybar b { font-weight: 500; font-size: 20px; }
  .buybar .pill { min-height: 48px; padding: 8px 28px; }
  body.has-buybar { padding-bottom: 76px; }
  body.has-buybar .toast { bottom: 96px; }

  /* cart + forms */
  .page-head { padding: 40px 0 20px; }
  .cart-item { grid-template-columns: 72px 1fr auto; gap: 12px; padding: 10px; }
  .cart-item img { width: 72px; height: 72px; }
  #order-form .pill, .step-nav .pill { flex: 1; min-height: 52px; }
  #order-form .pill { width: 100%; }

  .cart-layout { gap: 16px; }
  .cart-layout > div:first-child { display: contents; }
  #cart-list { order: 1; }
  #cart-summary { order: 2; }
  #order-form { order: 3; margin-top: 24px !important; }
  .footer-grid { gap: 28px; }
}

/* ---------- top watches, wrist photos, tracking ---------- */
.card .badge.top { background: var(--gold); color: var(--ink); }
#top { padding-bottom: 0; }
.on-wrist { margin-top: 64px; }
.on-wrist h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.wrist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
@media (min-width: 768px) { .wrist-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wrist-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--panel); }
/* AI "on wrist" illustration, below the product details */
.wrist-ai { margin-top: 40px; }
.wrist-ai h2 { margin-bottom: 8px; }
.wrist-ai figure { margin: 16px 0 0; max-width: 420px; border: 1px solid var(--line-strong); overflow: hidden; background: var(--panel); }
.wrist-ai img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
#order-num-wrap, #msg-num-wrap { margin-top: 12px; }
#order-num-wrap .pill, #msg-num-wrap .pill { display: inline-flex; }
.track-wrap { display: grid; gap: 32px; max-width: 760px; }
.track-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.track-form label { flex: 1 1 260px; }
.track-card { display: grid; gap: 20px; background: var(--panel); padding: 24px; }
.track-card .order-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: baseline; }
.track-card h2 { font-size: 24px; }
.track-card h3 { font-size: 18px; margin-top: 8px; }
.track-card .order-items { display: grid; gap: 8px; }
.track-card .order-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14px; }
.track-card .order-item img { width: 44px; height: 56px; object-fit: cover; }
.track-card .order-total { display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--line); }
.track-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; counter-reset: st; }
.track-steps li { counter-increment: st; padding: 12px 10px; border-top: 2px solid var(--line-strong); color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.track-steps li::before { content: counter(st) ". "; }
.track-steps li.on { border-top-color: var(--gold); color: var(--text); }
.thread { display: grid; gap: 8px; }
.bubble { max-width: 85%; padding: 12px 14px; background: var(--panel-2); border: 1px solid var(--line); }
.bubble span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.bubble p { white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.admin { justify-self: end; border-color: rgba(201, 165, 92, .5); }
.reply-form { display: grid; gap: 12px; }
.card-media { position: relative; }
.card .card-media .badge.top { top: 8px; left: 8px; right: auto; border: 0; }
#top .section-head { text-align: center; }

/* Video (Gemini/Veo) */
.hero2-frame .hero2-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transform: scale(1.18); }
.story-video { max-width: 760px; margin: 0 auto 40px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-strong); aspect-ratio: 16 / 9; background: #000; }
.story-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .hero2-video, .story-video video { display: none; } .story-video { display: none; } }

/* Hero v2: full-bleed video */
.hero2-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: 0; }
.hero2-shade { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(13,13,13,.92) 0%, rgba(13,13,13,.7) 38%, rgba(13,13,13,.15) 75%), linear-gradient(0deg, rgba(13,13,13,.85) 0%, transparent 35%); }
.hero2 .hero-glow { z-index: 0; opacity: .5; }
.hero2-grid, .hero2 .scroll-cue { z-index: 1; }
.hero2-grid { grid-template-columns: 1fr !important; }
.hero2-copy { max-width: 640px; }
.hero2-visual { display: none; }
@media (max-width: 720px) {
  .hero2 { align-items: flex-end; min-height: 100svh; }
  .hero2-bg { object-position: 62% center; }
  .hero2-shade { background: linear-gradient(0deg, rgba(13,13,13,.95) 0%, rgba(13,13,13,.75) 45%, rgba(13,13,13,.2) 100%); }
}
@media (prefers-reduced-motion: reduce) { .hero2-bg { display: none; } }

/* Hero v3: luxury editorial, centered */
.hero2 { align-items: center; justify-content: center; text-align: center; min-height: 100svh; padding: 120px 0 96px; }
.hero2-bg { object-position: center; }
.hero2-shade { background: radial-gradient(ellipse at center, rgba(8,8,8,.45) 0%, rgba(8,8,8,.78) 70%, rgba(8,8,8,.95) 100%), linear-gradient(0deg, rgba(8,8,8,.9) 0%, transparent 30%) !important; }
.hero2-grid { justify-items: center; }
.hero2-copy { align-items: center; max-width: 880px; gap: 28px; text-align: center !important; }
.hero2 .eyebrow { font-family: 'Jost', sans-serif; font-weight: 400; font-size: 12px; letter-spacing: .42em; color: var(--gold); display: inline-flex; align-items: center; gap: 18px; }
.hero2 .eyebrow::before, .hero2 .eyebrow::after { content: ''; width: 40px; height: 1px; background: var(--gold); opacity: .6; }
.hero2 h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: clamp(52px, 8.4vw, 124px); line-height: .96; letter-spacing: -0.01em; }
.hero2 h1 em, .hero2 h1 i, .hero2 .split .w:last-child > span { font-style: normal !important; color: var(--gold); font-weight: 400; }
.hero2 .lead { font-family: 'Jost', sans-serif; font-weight: 300; font-size: clamp(15px, 1.25vw, 18px); letter-spacing: .02em; line-height: 1.75; color: rgba(240,236,226,.78); max-width: 52ch; }
.hero2 .btn-row { justify-content: center; }
.hero2 .pill { font-family: 'Jost', sans-serif; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }
.hero2 .hero-stats { justify-content: center; border-top: 1px solid rgba(201,165,92,.25); padding-top: 28px; gap: 56px; }
.hero2 .hero-stats strong { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(32px, 3vw, 44px); color: var(--gold); }
.hero2 .hero-stats span { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .22em; }
@media (max-width: 720px) {
  .hero2 { align-items: center; padding: 96px 0 72px; }
  .hero2 h1 { font-size: clamp(46px, 14vw, 64px); }
  .hero2 .hero-stats { gap: 24px; }
  .hero2 .eyebrow::before, .hero2 .eyebrow::after { width: 18px; }
  .hero2 .eyebrow { letter-spacing: .28em; }
}

/* Hero v4: bolder */
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes sealSpin { to { transform: rotate(360deg); } }
@keyframes goldShine { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes ghostDrift { from { transform: translate(-50%, -50%) translateX(-2%); } to { transform: translate(-50%, -50%) translateX(2%); } }
.hero2-bg { animation: heroZoom 24s ease-in-out infinite alternate; }
.hero2-ghost { position: absolute; z-index: 0; left: 50%; top: 52%; transform: translate(-50%, -50%); font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500;
  font-size: clamp(140px, 30vw, 460px); letter-spacing: .06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(201,165,92,.28); pointer-events: none; user-select: none; white-space: nowrap; animation: ghostDrift 18s ease-in-out infinite alternate; }
.hero2 h1 { text-shadow: 0 4px 40px rgba(0,0,0,.6); }
.hero2 .split .w:last-child > span { background: linear-gradient(100deg, #8a6b2c 0%, #f3dc9c 30%, #c9a55c 50%, #f3dc9c 70%, #8a6b2c 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: goldShine 5s linear infinite; text-shadow: none; }
.hero2-seal { position: absolute; z-index: 1; right: clamp(16px, 5vw, 80px); bottom: clamp(90px, 14vh, 150px); width: clamp(96px, 10vw, 150px); aspect-ratio: 1; display: grid; place-items: center; }
.hero2-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: sealSpin 22s linear infinite; }
.hero2-seal text { font-family: 'Jost', sans-serif; font-size: 13.5px; letter-spacing: .2em; fill: var(--gold); }
.hero2-seal-dot { width: 38%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(201,165,92,.6); background: radial-gradient(circle at 35% 30%, rgba(243,220,156,.35), rgba(201,165,92,.08)); box-shadow: 0 0 30px rgba(201,165,92,.25); }
.hero2 .hero-stats { border-top: 0; padding-top: 8px; gap: 16px; }
.hero2 .hero-stats > div { padding: 16px 28px; min-width: 130px; border: 1px solid rgba(201,165,92,.28); border-radius: 14px; background: rgba(255,255,255,.04); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-align: center; }
.hero2 .pill.solid { box-shadow: 0 0 0 1px rgba(201,165,92,.5), 0 10px 40px rgba(201,165,92,.25); }
@media (max-width: 720px) {
  .hero2-seal { right: 14px; bottom: auto; top: 84px; width: 78px; }
  .hero2 .hero-stats > div { padding: 12px 14px; min-width: 0; flex: 1; }
  .hero2 .hero-stats { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .hero2-bg, .hero2-ghost, .hero2-seal svg, .hero2 .split .w:last-child > span { animation: none; } }

/* Hero v5: statement font */
.hero2 h1 { font-family: 'Bodoni Moda', 'Didot', Georgia, serif; font-weight: 800; font-size: clamp(48px, 7.6vw, 116px); line-height: 1.02; letter-spacing: -0.02em; text-transform: none; }
.hero2 .hero-stats strong { font-family: 'Bodoni Moda', Georgia, serif; font-weight: 600; }
.hero2-ghost { font-family: 'Bodoni Moda', Georgia, serif; font-weight: 800; }
@media (max-width: 720px) { .hero2 h1 { font-size: clamp(40px, 12.5vw, 58px); } }

/* Hero v6: engraved Roman caps */
.hero2 h1 { font-family: 'Cinzel', 'Trajan Pro', Georgia, serif; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1.12; font-size: clamp(34px, 5.4vw, 82px); }
.hero2 .hero-stats strong { font-family: 'Cinzel', Georgia, serif; font-weight: 700; }
.hero2-ghost { font-family: 'Cinzel', Georgia, serif; font-weight: 900; letter-spacing: .1em; font-size: clamp(120px, 26vw, 400px); }
@media (max-width: 720px) { .hero2 h1 { font-size: clamp(30px, 9vw, 44px); } }

/* Sharp corners (no rounding) */
.hero2 .pill, .hero2 .circle, .hero2 .hero-stats > div, .hero2 .pill::before, .story-video, .hero2-tag { border-radius: 0 !important; }
.hero2 .circle { aspect-ratio: 1; }

/* Animated blurred background (reusable): add <div class="bg-aurora"><i></i><i></i><i></i></div> as first child of any section */
#prica, #kupovina, #ponuda { position: relative; overflow: hidden; isolation: isolate; }
#prica > .wrap, #kupovina > .wrap, #ponuda > .wrap { position: relative; z-index: 1; }
.bg-aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg-aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.bg-aurora i:nth-child(1) { width: 46vw; height: 46vw; min-width: 300px; min-height: 300px; left: -8%; top: -10%; background: radial-gradient(circle, rgba(201,165,92,.75), rgba(201,165,92,0) 70%); animation: auroraA 20s ease-in-out infinite alternate; }
.bg-aurora i:nth-child(2) { width: 38vw; height: 38vw; min-width: 260px; min-height: 260px; right: -6%; top: 25%; background: radial-gradient(circle, rgba(138,107,44,.8), rgba(138,107,44,0) 70%); animation: auroraB 26s ease-in-out infinite alternate; }
.bg-aurora i:nth-child(3) { width: 34vw; height: 34vw; min-width: 240px; min-height: 240px; left: 30%; bottom: -14%; background: radial-gradient(circle, rgba(243,220,156,.45), rgba(243,220,156,0) 70%); animation: auroraC 23s ease-in-out infinite alternate; }
@keyframes auroraA { to { transform: translate(18vw, 14vh) scale(1.2); } }
@keyframes auroraB { to { transform: translate(-16vw, -10vh) scale(1.25); } }
@keyframes auroraC { to { transform: translate(-12vw, -16vh) scale(0.85); } }
@media (max-width: 720px) { .bg-aurora i { filter: blur(60px); opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .bg-aurora i { animation: none; } }

/* Aurora stronger */
.bg-aurora i { filter: blur(70px); opacity: 1; }
.bg-aurora i:nth-child(1) { width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(232,190,100,.9), rgba(201,165,92,0) 68%); animation: auroraA 12s ease-in-out infinite alternate; }
.bg-aurora i:nth-child(2) { width: 52vw; height: 52vw; background: radial-gradient(circle, rgba(190,140,50,.95), rgba(138,107,44,0) 68%); animation: auroraB 15s ease-in-out infinite alternate; }
.bg-aurora i:nth-child(3) { width: 48vw; height: 48vw; background: radial-gradient(circle, rgba(255,230,160,.65), rgba(243,220,156,0) 68%); animation: auroraC 13s ease-in-out infinite alternate; }
@keyframes auroraA { to { transform: translate(35vw, 30vh) scale(1.3); } }
@keyframes auroraB { to { transform: translate(-35vw, -25vh) scale(1.35); } }
@keyframes auroraC { to { transform: translate(-28vw, -32vh) scale(0.8); } }

/* Extra animations */
.hero2-dust { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero2-cursor { position: absolute; left: 0; top: 0; width: 520px; height: 520px; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(circle, rgba(243,220,156,.22), rgba(201,165,92,0) 65%); mix-blend-mode: screen; will-change: transform; }
.card.is-tilt { transition: transform .12s ease-out, box-shadow .3s; box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(201,165,92,.45); z-index: 2; }
.card.is-tilt::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(243,220,156,.22), transparent 45%); }
.card .card-media img { transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.draw-line { position: relative; padding-bottom: 18px; }
.draw-line::after { content: ''; position: absolute; left: 50%; bottom: 0; height: 2px; width: 0; transform: translateX(-50%); background: linear-gradient(90deg, transparent, #c9a55c, transparent); transition: width 1.2s var(--ease) .2s; }
.draw-line.is-drawn::after { width: min(220px, 60%); }
.hero2 .pill.solid, .hero2 .circle { transition: transform .25s ease-out, color .3s; }
@media (prefers-reduced-motion: reduce) { .hero2-dust, .hero2-cursor { display: none; } }

/* O Ralexu: two videos side by side */
.story-video { max-width: 1040px; aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: none; border: 0; }
.story-video video { aspect-ratio: 16 / 10; border: 1px solid var(--line-strong); background: #000; }
@media (max-width: 720px) { .story-video { grid-template-columns: 1fr; } }

/* O Ralexu: single reveal video */
.story-video { max-width: 860px; grid-template-columns: 1fr; }
.story-video video { aspect-ratio: 16 / 9; }
