/* AstroSlavica: javni sajt */
:root {
  --night: #1f1430;
  --night-2: #2d1f47;
  --navy: #2b1b3d;
  --ink: #1d1d22;
  --muted: #6a6862;
  --faint: #9a978f;
  --paper: #fffcf8;
  --cream: #f8f2ea;
  --cream-2: #efe7d6;
  --line: #e6dfcf;
  --gold: #a8803a;
  --gold-2: #dcc28f;
  --gold-3: #f3e6c6;
  --green: #2f7d4f;
  --green-bg: #e5f2ea;
  --amber: #a86a00;
  --amber-bg: #fbefd6;
  --red: #b3423b;
  --red-bg: #fbe8e6;
  --blue: #2b5fb8;
  --blue-bg: #e5edfb;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 20, 40, .05), 0 8px 24px rgba(20, 20, 40, .06);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", "Avenir Next", system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; }
h1, h2, .display { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.section.cream { background: var(--cream); }
.section.dark { background: var(--night); color: #efe9da; }
.eyebrow { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 12px; }
.dark .eyebrow { color: var(--gold-2); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.dark .lead { color: #c9c3b3; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.tiny { font-size: .76rem; }
.sym { font-family: "Apple Symbols", "Segoe UI Symbol", "Noto Sans Symbols", "DejaVu Sans", sans-serif; font-variant-emoji: text; }


/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 253, 248, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; letter-spacing: .02em; color: var(--navy); }
.logo .mark { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; margin-left: 8px; }
.nav a { white-space: nowrap; text-decoration: none; font-size: .94rem; font-weight: 500; color: #3b3a40; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--navy); border-color: var(--gold); }
.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; }
.mobile-nav { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; padding: 12px 22px; font: 600 .95rem var(--sans); text-decoration: none; cursor: pointer; transition: transform .12s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #3d2a55; box-shadow: 0 6px 18px rgba(43, 27, 61, .25); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9d7629; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--navy); }
.btn-ghost:hover { border-color: var(--gold); }
.dark .btn-ghost { color: #efe9da; border-color: rgba(216, 189, 130, .45); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold-2); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 80% -10%, #4a2f6b 0%, transparent 60%), radial-gradient(800px 500px at 0% 110%, #3a2050 0%, transparent 60%), var(--night); color: #f3eee2; padding: 96px 0 104px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,.7), transparent), radial-gradient(1px 1px at 120px 80px, rgba(255,255,255,.5), transparent), radial-gradient(1.5px 1.5px at 200px 160px, rgba(255,255,255,.6), transparent), radial-gradient(1px 1px at 300px 40px, rgba(255,255,255,.4), transparent), radial-gradient(1px 1px at 380px 210px, rgba(255,255,255,.5), transparent); background-size: 420px 260px; opacity: .55; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fbf7ee; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero .lead { color: #cfc8b6; font-size: 1.2rem; margin-bottom: 30px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-primary { background: var(--gold); }
.hero .btn-primary:hover { background: #c79c45; }
.hero .btn-ghost { color: #efe9da; border-color: rgba(216, 189, 130, .45); }
.hero .btn-ghost:hover { border-color: var(--gold-2); }
.hero .trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; font-size: .86rem; color: #b7b0a0; }
.hero .trust span::before { content: "✦"; color: var(--gold-2); margin-right: 8px; }
.hero-wheel { width: 100%; max-width: 470px; justify-self: end; filter: drop-shadow(0 20px 60px rgba(0,0,0,.35)); }
.page-hero { background: var(--night); color: #f3eee2; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 400px at 85% 0%, #4a2f6b 0%, transparent 60%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fbf7ee; font-size: clamp(2.2rem, 4.4vw, 3.3rem); }
.page-hero .lead { color: #cfc8b6; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g6 { grid-template-columns: repeat(6, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card h3 { color: var(--navy); }
.card .price { font-family: var(--serif); font-size: 1.9rem; color: var(--navy); font-weight: 600; line-height: 1; }
.card .price small { font-family: var(--sans); font-size: .82rem; color: var(--muted); font-weight: 400; }
.product-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.product-card:hover { transform: translateY(-3px); border-color: var(--gold-2); }
.product-card .meta { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.product-card p { color: var(--muted); font-size: .94rem; margin: 0; }
.pill { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--cream); color: var(--navy); width: fit-content; }
.pill.gold { background: var(--gold-3); color: #6d4f12; }
.pill.green { background: var(--green-bg); color: var(--green); }
.pill.amber { background: var(--amber-bg); color: var(--amber); }
.pill.red { background: var(--red-bg); color: var(--red); }
.pill.blue { background: var(--blue-bg); color: var(--blue); }
.pill.grey { background: #eeece6; color: #55534d; }

.sign-tile { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 8px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: all .15s ease; cursor: pointer; font: inherit; color: inherit; }
.sign-tile:hover, .sign-tile.active { border-color: var(--gold); background: var(--gold-3); }
.sign-tile .glyph { font-size: 1.9rem; color: var(--navy); line-height: 1; }
.sign-tile .name { font-weight: 600; font-size: .95rem; }
.sign-tile .dates { font-size: .72rem; color: var(--muted); }

.steps { counter-reset: s; }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif); font-size: 1.3rem; display: grid; place-items: center; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; }
.dark .step p { color: #b9b2a2; }
.dark .step h3 { color: #f6f1e4; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .84rem; font-weight: 600; color: #3b3a40; }
.field .hint { font-size: .76rem; color: var(--muted); }
input, select, textarea { font: inherit; padding: 12px 14px; border: 1px solid #d9d2c1; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-2); outline-offset: 1px; border-color: var(--gold); }
.row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: #3b3a40; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--navy); }
.dark input, .dark select { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(216,189,130,.35); }
.dark input::placeholder { color: #a8a190; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input, .inline-form select { flex: 1 1 200px; width: auto; }

/* ---------- tabs ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--cream); border-radius: 999px; border: 1px solid var(--line); flex-wrap: wrap; }
.tab { border: none; background: transparent; padding: 9px 18px; border-radius: 999px; font: 600 .9rem var(--sans); color: #4a4850; cursor: pointer; }
.tab.active { background: var(--navy); color: #fff; }

/* ---------- plans ---------- */
.plan { position: relative; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--navy); }
.plan .badge { position: absolute; top: -13px; left: 24px; background: var(--navy); color: #fff; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan .name { font-family: var(--serif); font-size: 1.8rem; color: var(--navy); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; font-size: .94rem; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.plan .btn { margin-top: auto; }

/* ---------- misc blocks ---------- */
.callout { background: var(--cream); border-left: 3px solid var(--gold); padding: 16px 20px; border-radius: 0 10px 10px 0; }
.notice { background: var(--blue-bg); color: #1f3f7a; padding: 12px 16px; border-radius: 10px; font-size: .88rem; }
.divider { height: 1px; background: var(--line); margin: 28px 0; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat .v { font-family: var(--serif); font-size: 2rem; color: var(--navy); font-weight: 600; line-height: 1.1; }
.stat .k { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.quote { font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; color: var(--navy); }
.quote-by { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.sample-tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); }
.meter { height: 8px; background: var(--cream-2); border-radius: 99px; overflow: hidden; }
.meter > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold)); border-radius: 99px; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th { text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); font-weight: 700; }
table.data td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:hover td { background: #fffaf0; }

/* ---------- order tracker ---------- */
.tracker { display: grid; gap: 0; }
.tracker .t-step { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding-bottom: 20px; position: relative; }
.tracker .t-step:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.tracker .dot { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; font-size: .9rem; color: var(--faint); }
.tracker .t-step.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.tracker .t-step.now .dot { border-color: var(--gold); color: var(--gold); animation: pulse 1.2s infinite; }
.tracker .t-step.done:not(:last-child)::after { background: var(--green); }
.tracker .t-title { font-weight: 600; }
.tracker .t-sub { font-size: .84rem; color: var(--muted); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(180,138,53,.35); } 50% { box-shadow: 0 0 0 8px rgba(180,138,53,0); } }

/* ---------- toast & modal ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--navy); color: #fff; padding: 13px 22px; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.25); opacity: 0; transition: all .25s ease; z-index: 100; font-size: .92rem; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.modal-bg { position: fixed; inset: 0; background: rgba(31, 20, 48, .55); display: none; align-items: center; justify-content: center; z-index: 90; padding: 16px; }
.modal-bg.open { display: flex; }
.modal { background: var(--paper); border-radius: 18px; padding: 28px; max-width: 520px; width: 100%; box-shadow: 0 30px 80px rgba(0,0,0,.3); }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #bdb6a6; padding: 64px 0 28px; font-size: .9rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #f3eee2; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #d6cfbf; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer .logo { color: #f3eee2; }
.site-footer .legal { border-top: 1px solid rgba(216,189,130,.18); margin-top: 40px; padding-top: 20px; font-size: .78rem; color: #8f897b; display: grid; gap: 8px; }

/* ---------- article ---------- */
.article { max-width: 720px; }
.article h2 { font-size: 2rem; margin-top: 1.6em; }
.article p, .article li { font-size: 1.06rem; color: #34333a; }
.toc-box { position: sticky; top: 96px; }
.toc-box a { display: block; text-decoration: none; padding: 6px 0; color: var(--muted); font-size: .92rem; border-left: 2px solid var(--line); padding-left: 14px; }
.toc-box a:hover { color: var(--navy); border-color: var(--gold); }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .nav { display: none; }
  .header-cta .hide-sm { display: none; }
  .menu-btn { display: inline-flex; margin-left: 0; }
  .mobile-nav.open { display: grid; padding: 8px 24px 18px; gap: 4px; border-top: 1px solid var(--line); background: var(--paper); }
  .mobile-nav a { text-decoration: none; padding: 10px 0; font-weight: 500; border-bottom: 1px solid var(--line); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g6 { grid-template-columns: repeat(4, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 56px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-wheel { justify-self: center; max-width: 320px; order: -1; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: 1fr 1fr; }
  .g6 { grid-template-columns: repeat(3, 1fr); }
  .row { grid-template-columns: 1fr; }
  .site-header .wrap { gap: 12px; }
  .header-cta .btn { padding: 8px 12px; font-size: .82rem; }
  .site-footer .cols { grid-template-columns: 1fr; }
  table.data { font-size: .84rem; }
  .table-scroll { overflow-x: auto; }
}

/* logo mark on dark backgrounds */
.site-footer .logo .mark path, .side .logo .mark path, .cover .logo .mark path { fill: var(--gold-2); }

/* ---------- AstroSlavica dodaci ---------- */
.flash { background: var(--gold-3); color: #5a3f0c; padding: 12px 16px; border-radius: 10px; margin: 16px 0; font-size: .92rem; }
.portrait { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; border-radius: 200px 200px 24px 24px; background: radial-gradient(120% 80% at 50% 0%, #4a2f6b 0%, #1f1430 70%); position: relative; overflow: hidden; justify-self: end; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.portrait .ph { position: absolute; inset: auto 0 0 0; padding: 22px; color: #cfc4b2; font-size: .8rem; text-align: center; }
.portrait .initial { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 9rem; color: rgba(220,194,143,.85); }
.portrait svg { position: absolute; inset: 8% 8% auto 8%; opacity: .35; }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-row .big { font-family: var(--serif); font-size: 2.6rem; color: var(--navy); font-weight: 600; line-height: 1; }
.badge-line { display: flex; gap: 18px; flex-wrap: wrap; font-size: .86rem; color: var(--muted); margin: 10px 0 0; }
.badge-line span::before { content: "✦"; color: var(--gold); margin-right: 6px; }
.order-form fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 0; display: grid; gap: 12px; }
.order-form legend { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); padding: 0 6px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--cream); }
.seg label { padding: 7px 14px; border-radius: 999px; cursor: pointer; font-size: .88rem; font-weight: 600; color: #4a4850; }
.seg input { display: none; }
.seg input:checked + span { color: #fff; }
.seg label:has(input:checked) { background: var(--navy); color: #fff; }
.big3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.big3 .card .glyph { font-size: 2rem; color: var(--navy); line-height: 1; }
.big3 .lbl { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 10px; }
.big3 .sg { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); font-weight: 600; }
.big3 p { font-size: .92rem; color: var(--muted); margin: 6px 0 0; }
.report-page { max-width: 820px; margin: 0 auto; background: #fff; padding: 60px 64px; box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.report-page h2 { font-size: 2rem; color: var(--navy); margin-top: 1.6em; }
.report-page p { font-size: 1.05rem; line-height: 1.8; color: #34333a; white-space: pre-line; }
@media (max-width: 900px) { .big3 { grid-template-columns: 1fr; } .portrait { justify-self: center; max-width: 300px; } .report-page { padding: 32px 20px; } }
@media print { .site-header, .site-footer, .no-print { display: none !important; } body { background: #fff; } .report-page { box-shadow: none; padding: 0; } }
@media (max-width: 520px) { .header-cta { display: none; } .menu-btn { margin-left: auto; } .logo { font-size: 1.45rem; } }
