/* Ministarstvo Odmora — modern gov-portal parody + streetwear shop */
:root {
  --navy: #0b2a55;
  --navy-2: #13386d;
  --navy-3: #071c3a;
  --ink: #0f1a2b;
  --muted: #5d6577;
  --line: #e4e7ee;
  --bg: #ffffff;
  --bg-2: #f3f5f9;
  --cream: #f4eed9;
  --red: #c8101e;
  --gold: #e6b800;
  --gold-2: #c9a227;
  --shop: #0d0f14;
  --shop-2: #161a22;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Fira Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --shadow: 0 1px 2px rgba(11, 42, 85, .06), 0 14px 34px -16px rgba(11, 42, 85, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; }
.wrap { width: min(1280px, 100% - 64px); margin-inline: auto; }
.pixel { font-family: var(--sans); font-size: 14px; letter-spacing: .01em; font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-gold { background: var(--gold); color: var(--navy-3); }
.btn-gold:hover { background: #f5c816; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-block { width: 100%; }

/* ---------- announcement ---------- */
.announce {
  background: var(--navy-3); color: var(--cream); text-align: center;
  padding: 8px 12px; font: 500 13px/1.5 var(--sans); letter-spacing: .01em;
}
.announce span { transition: opacity .3s; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .3s ease; will-change: transform; }
.header.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .header { transition: none; } }
.header-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 60px; height: auto; }
.brand-name { display: flex; flex-direction: column; padding-left: 12px; border-left: 2px solid var(--red); font: 600 15px/1.2 var(--sans); color: var(--ink); }
.header-tools { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; }
.lang button { border: 0; background: none; padding: 4px 6px; cursor: pointer; font-size: 13px; color: var(--muted); border-radius: 6px; }
.lang button.active { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.lang button:hover { background: var(--bg-2); }
.office { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: #e0505c; flex: none; }
.office.open .dot { background: #22b45a; }
.dot.live { background: var(--gold); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(230, 184, 0, .6); } 70% { box-shadow: 0 0 0 8px rgba(230, 184, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 184, 0, 0); } }
.mainnav { display: flex; gap: 26px; padding: 4px 0 12px; overflow-x: auto; scrollbar-width: none; }
.mainnav::-webkit-scrollbar { display: none; }
.mainnav a { text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--ink); padding: 4px 0; border-bottom: 2px solid transparent; }
.mainnav a:hover { border-color: var(--navy); }
.soon { margin-left: 4px; padding: 2px 7px; border-radius: 99px; background: #fff4cc; color: #7a5b00; font-size: 11px; font-weight: 600; }
.flagline { height: 4px; background: linear-gradient(90deg, var(--red) 0 88%, var(--gold) 88% 100%); }

/* ---------- portal hero ---------- */
.portal { background: var(--navy); color: #fff; padding: 52px 0 56px; }
.portal-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; }
.eyebrow { margin: 0 0 14px; color: var(--gold); }
.eyebrow.red { color: var(--red); }
.portal h1 { font: 700 clamp(26px, 3.4vw, 40px)/1.15 var(--sans); letter-spacing: -.01em; word-break: break-word; }
.portal h1 em { font-style: normal; color: var(--gold); }
.portal-lead { margin: 12px 0 24px; max-width: 34em; color: rgba(255, 255, 255, .78); }
.search { display: flex; max-width: 520px; }
.search input { flex: 1; min-width: 0; padding: 13px 16px; border: 0; border-radius: 8px 0 0 8px; font: 15px var(--sans); color: var(--ink); }
.search button { width: 52px; border: 0; border-radius: 0 8px 8px 0; background: var(--gold); color: var(--navy-3); cursor: pointer; display: grid; place-items: center; }
.search-result { min-height: 1.6em; margin: 10px 0 0; font-size: 14px; color: var(--cream); }
.links h2 { font: 600 18px var(--sans); margin-bottom: 12px; }
.links ul { list-style: none; margin: 0; padding: 0; }
.links li a { display: flex; gap: 10px; padding: 7px 0; text-decoration: none; font-weight: 600; font-size: 15px; }
.links li a::before { content: "→"; color: var(--gold); }
.links li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.links li a span { font-weight: 400; color: rgba(255, 255, 255, .6); }

/* ---------- ticker ---------- */
.ticker { display: flex; align-items: stretch; overflow: hidden; background: var(--red); color: #fff; }
.ticker-label { flex: none; text-transform: uppercase; letter-spacing: .12em; display: flex; align-items: center; padding: 0 16px; background: var(--navy-3); color: var(--gold); }
.ticker-track { overflow: hidden; flex: 1; }
.ticker-track p { display: inline-block; margin: 0; padding: 11px 0 11px 100%; white-space: nowrap; font-size: 14px; font-weight: 500; animation: ticker 38s linear infinite; }
.ticker-track b { margin: 0 14px; color: var(--gold); }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ---------- section titles (gov style: short bar above) ---------- */
.sec-title { position: relative; padding-top: 16px; margin-bottom: 22px; font: 700 24px/1.2 var(--sans); color: var(--ink); }
.sec-title::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 4px; background: var(--navy); }

/* ---------- agenda + news ---------- */
.feed { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding: 56px 0 64px; }
.agenda ol { list-style: none; margin: 0; padding: 0; }
.agenda li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.agenda time { flex: none; width: 46px; text-align: center; text-transform: uppercase; font-size: 12px; color: var(--muted); line-height: 1.1; }
.agenda time b { display: block; font-size: 28px; color: var(--navy); font-weight: 700; }
.agenda h3 { font: 600 15px/1.35 var(--sans); }
.where { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.where::before { content: "📍 "; }
.more { margin-top: 16px; border: 0; background: none; padding: 0; cursor: pointer; color: var(--navy); font-weight: 600; font-size: 14px; }
.news-item { display: grid; grid-template-columns: 190px 1fr; gap: 20px; padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.thumb { position: relative; display: block; border: 0; padding: 0; border-radius: 8px; overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 3; cursor: default; }
a.thumb, button.thumb { cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
a.thumb:hover img, button.thumb:hover img { transform: scale(1.04); }
.play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; color: #fff; }
.play::before { content: ""; position: absolute; width: 52px; height: 52px; border-radius: 50%; background: rgba(200, 16, 30, .92); z-index: -1; }
.play { z-index: 1; isolation: isolate; }
.news-item h3 { font: 700 18px/1.3 var(--sans); color: var(--navy); }
.news-item h3 a, .news-item h3 button { color: inherit; text-decoration: none; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; font: inherit; }
.news-item h3 a:hover, .news-item h3 button:hover { text-decoration: underline; }
.news-item p { margin: 6px 0 6px; color: #374151; font-size: 15px; }
.news-item time { font-size: 13px; color: var(--muted); }

/* ---------- grey band (eServisi, stats) ---------- */
.band { background: var(--bg-2); padding: 56px 0 64px; }
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.service {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto auto; align-items: start; text-align: left;
  min-height: 176px; padding: 18px 18px 16px; border: 0; border-radius: var(--r);
  color: #fff; text-decoration: none; cursor: pointer;
  background: var(--g);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 2px rgba(11, 42, 85, .12);
  transition: transform .2s, box-shadow .2s;
}
/* deck-chair stripes + soft light from the top-left */
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 255, 255, .22), transparent 55%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .07) 0 14px, transparent 14px 28px);
}
/* big faded icon in the corner */
.service::after {
  content: attr(data-ico); position: absolute; z-index: -1; right: -14px; bottom: -22px;
  font-size: 104px; line-height: 1; opacity: .2; transform: rotate(-12deg);
  filter: saturate(0) brightness(2.4); transition: transform .3s, opacity .3s;
}
.service:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 18px 34px -16px var(--sh); }
.service:hover::after { transform: rotate(-4deg) scale(1.08); opacity: .28; }
.service .ico { font-size: 24px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); backdrop-filter: blur(4px); }
.service b { grid-row: 3; font-size: 17px; letter-spacing: -.01em; }
.service small { grid-row: 4; font-size: 13px; opacity: .88; line-height: 1.35; min-height: 2.7em; padding-right: 18px; }
.service .go { position: absolute; top: 18px; right: 16px; font-weight: 700; opacity: .55; transition: transform .2s, opacity .2s; }
.service:hover .go { transform: translateX(3px); opacity: 1; }
.s1 { --g: linear-gradient(150deg, #0b2a55 0%, #1d5aa8 70%, #3d8fd1 100%); --sh: rgba(29, 90, 168, .7); }
.s2 { --g: linear-gradient(150deg, #6d0f18 0%, #c8101e 75%, #e2433e 100%); --sh: rgba(200, 16, 30, .6); }
.s3 { --g: linear-gradient(150deg, #3b2414 0%, #7a4a26 70%, #b07a45 100%); --sh: rgba(122, 74, 38, .6); }
.s4 { --g: linear-gradient(150deg, #0f1638 0%, #2f3a8f 70%, #6a6fd6 100%); --sh: rgba(47, 58, 143, .6); }
.s5 { --g: linear-gradient(150deg, #073f36 0%, #11806b 70%, #3bb393 100%); --sh: rgba(17, 128, 107, .6); }
.s6 { --g: linear-gradient(150deg, #6e5200 0%, #b98e00 65%, #e6b800 100%); --sh: rgba(185, 142, 0, .6); }

/* ---------- decree ---------- */
.decree-wrap { padding: 72px 0; }
.decree {
  max-width: 980px; margin: 0 auto; padding: 40px clamp(20px, 5vw, 60px) 32px;
  background: #fffdf6; border: 1px solid #e8e0c8; border-radius: 6px; box-shadow: var(--shadow);
  position: relative;
}
.decree::before { content: ""; position: absolute; inset: 8px; border: 1px solid #efe7cf; border-radius: 3px; pointer-events: none; }
.decree-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid #ebe3cb; font: 500 13px/1.6 var(--sans); color: var(--muted); }
.decree-head { display: grid; grid-template-columns: 1fr 150px; gap: 28px; align-items: start; padding: 26px 0 8px; }
.decree h2 { font: 800 clamp(30px, 4vw, 44px)/1.05 var(--sans); color: var(--navy); letter-spacing: -.02em; margin-bottom: 22px; }
.decree dl { margin: 0; }
.decree dl div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid #efe7cf; }
.decree dt { font: 500 14px/1.6 var(--sans); color: var(--muted); }
.decree dd { margin: 0; font-weight: 600; }
.portrait { margin: 0; text-align: center; }
.portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 1px #d9cfb2, 0 8px 18px -8px rgba(0, 0, 0, .35); }
.portrait figcaption { margin-top: 8px; color: var(--muted); font-size: 10px; }
.articles { list-style: none; margin: 18px 0 0; padding: 0; }
.articles li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #efe7cf; }
.articles .pixel { color: var(--red); font-size: 12px; padding-top: 3px; }
.articles p { margin: 0; font-size: 16px; }
.decree-sign { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; }
.sig { margin: 0; font: italic 400 30px var(--serif); color: var(--navy); border-bottom: 1px solid var(--ink); padding: 0 24px 2px 0; }
.decree-sign .small { margin: 6px 0 0; }
.decree-stamp { text-transform: uppercase; padding: 12px 14px; font-size: 13px; font-weight: 800; letter-spacing: .12em; line-height: 1.5; text-align: center; color: var(--red); border: 4px double var(--red); border-radius: 6px; transform: rotate(-10deg); opacity: .85; mix-blend-mode: multiply; }
.decree-hours { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: 11px; }

/* ---------- shop (dark streetwear) ---------- */
.shop { background: var(--shop); color: #e9ebf0; padding: 80px 0 72px; }
.shop-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 36px; }
.shop h2 { font: 800 clamp(40px, 5.5vw, 68px)/1 var(--sans); color: #fff; letter-spacing: -.03em; }
.shop-sub { margin: 14px 0 0; color: #a3a9b6; max-width: 32em; }
.shop-status { padding: 16px 18px; border-radius: 12px; background: var(--shop-2); border: 1px solid #262b36; }
.shop-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.pct { color: var(--gold); font-size: 13px; letter-spacing: .04em; }
.bar { height: 6px; border-radius: 99px; background: #262b36; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transition: width .8s cubic-bezier(.3, .7, .3, 1); }
.bar-note { margin: 10px 0 0; font-size: 13px; color: #8d94a3; min-height: 1.6em; }

.teaser { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 300px; border-radius: 14px; overflow: hidden; background: var(--shop-2); border: 1px solid #232833; }
.teaser-blur { display: grid; grid-template-columns: repeat(3, 1fr); height: 100%; min-height: 300px; overflow: hidden; }
.teaser-blur img { width: 100%; height: 100%; object-fit: cover; filter: blur(14px) saturate(.6) brightness(.8); transform: scale(1.2); }
.teaser-body { position: relative; padding: 36px clamp(22px, 4vw, 48px); }
.teaser-body .classified { position: static; display: inline-block; margin-bottom: 18px; transform: rotate(-4deg); }
.teaser h3 { font: 800 clamp(28px, 3vw, 38px)/1.1 var(--sans); color: #fff; letter-spacing: -.02em; }
.teaser p { margin: 12px 0 22px; color: #a3a9b6; max-width: 30em; }
.classified { text-transform: uppercase; letter-spacing: .12em; padding: 8px 10px; color: var(--red); border: 2px solid var(--red); border-radius: 4px; background: rgba(255, 255, 255, .9); font-size: 11px; }

.bundle {
  display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 32px; align-items: center;
  margin-top: 28px; padding: 28px 30px; border-radius: 14px;
  background: linear-gradient(120deg, #14213a, #0f1626 60%); border: 1px solid #2a3550;
  box-shadow: 0 0 60px -30px rgba(230, 184, 0, .45);
}
.bundle h3 { font: 800 clamp(24px, 2.6vw, 32px)/1.15 var(--sans); color: #fff; letter-spacing: -.02em; }
.bundle .shop-sub { margin-top: 8px; font-size: 15px; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: #c9ced8; }
.footnote { margin: 12px 0 0; font-size: 12px; color: #5d6472; }

/* ---------- form ---------- */
.form-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; padding: 80px 0; }
.display { font: 800 clamp(40px, 5.5vw, 66px)/1.02 var(--sans); color: var(--navy); letter-spacing: -.03em; }
.display em { color: var(--red); font-style: normal; }
.form-intro .muted { margin: 16px 0 0; font-size: 17px; }
.form-intro .small { font-size: 14px; margin-top: 10px; }
.form-card { position: relative; padding: 30px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.leave-form label { display: block; margin-bottom: 20px; font-weight: 600; font-size: 15px; color: var(--navy); }
.opt { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 6px; }
.leave-form output { float: right; font-weight: 700; font-size: 15px; color: var(--red); }
.leave-form input[type="text"], .leave-form select {
  display: block; width: 100%; margin-top: 8px; padding: 13px 14px;
  font: 400 16px var(--sans); color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; appearance: none;
}
.leave-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
.leave-form input[type="range"] { width: 100%; margin-top: 12px; accent-color: var(--navy); }
.decision { position: relative; font-size: 18px; line-height: 1.55; }
.doc-head { margin: 0 0 18px; font: 500 13px/1.6 var(--sans); color: var(--muted); }
.decision h3 { font: 800 36px/1 var(--sans); letter-spacing: -.02em; color: var(--navy); margin-bottom: 14px; }
.decision .muted { font-family: var(--sans); }
.decision .btn { margin-top: 10px; font-family: var(--sans); }
.decision-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.decision-actions .btn { margin-top: 0; }
.stamp { text-transform: uppercase; position: absolute; right: -6px; top: 6px; padding: 12px 14px; font-size: 13px; font-weight: 800; letter-spacing: .12em; line-height: 1.5; text-align: center; color: var(--red); border: 4px double var(--red); border-radius: 6px; opacity: 0; transform: rotate(-12deg) scale(2.6); mix-blend-mode: multiply; }
.stamp.hit { animation: stamp .35s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes stamp { to { opacity: .92; transform: rotate(-12deg) scale(1); } }
.shake { animation: shake .3s; }
@keyframes shake { 25% { transform: translate(3px, -2px); } 50% { transform: translate(-3px, 2px); } 75% { transform: translate(2px, 1px); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 24px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.stat strong { display: block; font: 800 clamp(34px, 3.6vw, 46px)/1 var(--sans); letter-spacing: -.02em; color: var(--navy); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }

/* ---------- footer ---------- */
.footer { background: var(--navy-3); color: rgba(255, 255, 255, .72); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 52px 0 32px; }
.footer-brand img { width: 200px; margin-bottom: 12px; }
.footer h4 { font: 600 14px var(--sans); color: #fff; margin-bottom: 12px; }
.footer-grid a { display: block; padding: 4px 0; text-decoration: none; font-size: 14px; }
.footer-grid a:hover { color: var(--gold); }
.disclaimer { padding: 18px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .5); }

/* ---------- modal + toast ---------- */
.modal { padding: 0; border: 0; border-radius: 20px; background: #000; width: min(380px, 92vw); overflow: visible; }
.modal::backdrop { background: rgba(4, 10, 22, .78); backdrop-filter: blur(4px); }
.modal video { width: 100%; aspect-ratio: 9 / 16; border-radius: 20px; }
.modal-close { position: absolute; top: -14px; right: -14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 22px; cursor: pointer; box-shadow: var(--shadow); z-index: 2; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translate(-50%, 20px);
  max-width: min(440px, 92vw); padding: 13px 18px; border-radius: 12px;
  background: var(--navy-3); color: #fff; font-size: 14px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- bigger on laptops and desktops (like browser zoom) ---------- */
@media (min-width: 1280px) { html { zoom: 1.15; } }
@media (min-width: 1440px) { html { zoom: 1.25; } }
@media (min-width: 1800px) { html { zoom: 1.4; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .bundle { grid-template-columns: 1fr 1fr; }
  .bundle .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 860px) {
  .office, .lang { display: none; }
  .portal-grid, .feed, .shop-head, .form-section { grid-template-columns: 1fr; }
  .feed { gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .brand img { width: 50px; }
  .brand-name { font-size: 14px; }
  .mainnav { gap: 18px; }
  .portal { padding: 36px 0 40px; }
  .news-item { grid-template-columns: 112px 1fr; gap: 14px; }
  .news-item h3 { font-size: 16px; }
  .news-item p { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .service { min-height: 150px; }
  .service::after { font-size: 84px; }
  .teaser { grid-template-columns: 1fr; }
  .teaser-blur { min-height: 150px; }
  .bundle { grid-template-columns: 1fr; padding: 22px; }
  .decree-head { grid-template-columns: 1fr; }
  .portrait { max-width: 160px; }
  .decree dl div { grid-template-columns: 1fr; gap: 2px; }
  .articles li { grid-template-columns: 1fr; gap: 6px; }
  .decree-sign { flex-direction: column; align-items: flex-start; }
  .form-card { padding: 22px 18px; }
  .stamp { right: -4px; top: 0; font-size: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .stamp.hit { opacity: .92; transform: rotate(-12deg); }
  .ticker-track p { padding-left: 16px; white-space: normal; }
}
