/* REMETAL – vzhľad webu
   Svet: výkupná tabuľa. Grafit, oceľové svetlé plochy, signálna oranžová len na akciu a stav.
   Každý kov má vlastný „ingot“ (farbu kovu), ktorý ho sprevádza v cenníku aj na lístku. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(/fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #16191c;
  --ink-2: #1f2327;
  --ink-3: #2a3036;
  --line-dark: #363d45;
  --on-ink: #f3f5f7;
  --on-ink-muted: #a9b2bc;

  --steel: #eef0f2;
  --steel-2: #e3e7eb;
  --line: #d2d8de;
  --paper: #ffffff;
  --text: #16191c;
  --muted: #545e69;

  --orange: #ff5e14;
  --orange-ink: #c2410c;
  --orange-soft: #ffe6d9;
  --ok: #3ccf7d;
  --ok-ink: #12753c;
  --todo: #fff0a0;
  --todo-ink: #4d3a00;

  /* farby kovov (ingoty) */
  --m-med: #b8622c;
  --m-kabel: #b8622c;
  --m-mosadz: #c8a034;
  --m-bronz: #8c6331;
  --m-hlinik: #c9cfd5;
  --m-nerez: #9fb0bf;
  --m-zelezo: #6a5548;
  --m-olovo: #4f5868;
  --m-zinok: #8aa4b0;
  --m-cin: #cfd4d8;
  --m-tvrdokov: #393d43;

  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 4px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dock-h: 0px;
  --hdr-h: 64px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 72px); }
body {
  margin: 0;
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  font-variant-numeric: tabular-nums;
  padding-bottom: var(--dock-h);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a[href^="tel:"], a[href^="mailto:"] { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
input, textarea { caret-color: var(--orange-ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
.i { width: 1.15em; height: 1.15em; flex: none; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--orange); color: var(--ink); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 8px; }
.hp { position: absolute; left: -9999px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 860px; }

/* ---------- typografia ---------- */
.h1, .h2, .h3 {
  font-stretch: 72%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -.005em;
}
.h1 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5.4rem); }
.h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }
.h3 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
.h4 { font-size: 1.15rem; font-weight: 700; line-height: 1.25; margin-bottom: .6em; }

mark.todo {
  background: var(--todo);
  color: var(--todo-ink);
  font: 600 .85rem/1.4 'Archivo', sans-serif;
  font-stretch: 100%;
  text-transform: none;
  letter-spacing: 0;
  padding: .15em .45em;
  border-radius: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.3em;
  border: 2px solid transparent; border-radius: var(--r);
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  cursor: pointer; background: none;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0 1em; font-size: .95rem; }
.btn--lg { min-height: 58px; font-size: 1.06rem; padding: 0 1.5em; }
.btn--block { display: flex; width: 100%; }
.btn--solid { background: var(--orange); color: var(--ink); }
.btn--solid:hover { background: #ff7a3d; }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink:hover { background: var(--ink-3); }
.btn--line { border-color: currentColor; color: inherit; }
.btn--line:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.btn--ghost { border-color: var(--line); color: var(--text); background: var(--paper); }
.btn--ghost:hover { border-color: var(--text); }
.linkbtn { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; color: inherit; }
.link { display: inline-flex; align-items: center; gap: .3em; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.link .i { width: 1em; height: 1em; }

/* ---------- stav otvorené / zatvorené ---------- */
.status { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .92rem; line-height: 1.2; }
.status__dot { width: .62em; height: .62em; border-radius: 50%; background: var(--on-ink-muted); flex: none; }
.status.is-open .status__dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(60, 207, 125, .6); animation: pulse 2.4s ease-out infinite; }
.status.is-closed .status__dot { background: #e5484d; }
.status.is-warn .status__dot { background: #f5b800; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(60, 207, 125, .55); } 70%, 100% { box-shadow: 0 0 0 .55em rgba(60, 207, 125, 0); } }
.status--block { margin: .2em 0 1em; font-size: 1rem; }
.sec:not(.sec--ink) .status--block .status__dot, .aside .status__dot { background: var(--muted); }
.sec:not(.sec--ink) .status.is-open .status__dot, .aside .status.is-open .status__dot, .contact .status.is-open .status__dot { background: #1fa35a; }
.sec:not(.sec--ink) .status.is-closed .status__dot, .aside .status.is-closed .status__dot { background: #d93036; }

/* ---------- hlavička ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--on-ink); border-bottom: 1px solid var(--line-dark); }
.hdr__in { display: flex; align-items: center; gap: 28px; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); height: var(--hdr-h); }
.hdr__logo { color: #fff; flex: none; display: flex; align-items: center; min-height: 48px; }
.hdr__logo .logo { width: 128px; height: auto; }
.hdr__nav { display: flex; gap: 4px; margin-right: auto; }
.hdr__nav a { padding: 10px 10px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--on-ink-muted); border-radius: var(--r); white-space: nowrap; }
.hdr__nav a:hover { color: #fff; }
.hdr__nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.hdr__act { display: flex; align-items: center; gap: 16px; }
.status--hdr { color: var(--on-ink-muted); font-size: .85rem; white-space: nowrap; }
.hdr__burger { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line-dark); border-radius: var(--r); cursor: pointer; color: #fff; }
.hdr__burger .i { width: 24px; height: 24px; }
.hdr__burger .i + .i, .hdr.is-open .hdr__burger .i:first-child { display: none; }
.hdr.is-open .hdr__burger .i + .i { display: block; }

@media (max-width: 1180px) {
  .status--hdr { display: none; }
}
@media (max-width: 1040px) {
  .hdr__burger { display: inline-flex; }
  .hdr__nav {
    position: absolute; left: 0; right: 0; top: var(--hdr-h);
    flex-direction: column; gap: 0; padding: 8px var(--gut) 20px;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    display: none;
  }
  .hdr.is-open .hdr__nav { display: flex; }
  .hdr__nav a { padding: 14px 0; font-size: 1.15rem; color: #fff; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .hdr__nav a[aria-current="page"] { box-shadow: none; font-weight: 800; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 8px; }
  .hdr__act { margin-left: auto; }
}
@media (max-width: 640px) {
  :root { --hdr-h: 58px; }
  .hdr__logo .logo { width: 112px; }
  .hdr__tel span { display: none; }
  .hdr__tel { width: 48px; padding: 0; min-height: 48px; }
  .hdr__tel .i { width: 22px; height: 22px; }
}

.notice { background: var(--orange); color: var(--ink); padding: 14px 0; }
.notice p { margin: 0; font-weight: 700; font-size: 1.05rem; }
.notice--reserve { min-height: 68px; }
@media (max-width: 640px) { .notice--reserve { min-height: 104px; } }
.notice .wrap { display: grid; gap: 8px; }
.notice__item { display: flex; align-items: center; gap: 14px; }
.notice__ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; background: var(--ink); color: var(--orange); }
.notice__ico svg { width: 22px; height: 22px; }
.notice__body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; font-size: 1.08rem; line-height: 1.35; }
.notice__title { font-weight: 800; }
.notice__title::after { content: ':'; }
.notice__main b { font-weight: 800; text-transform: uppercase; }
.notice__sub { font-weight: 500; }
@media (max-width: 640px) {
  .notice__item { align-items: flex-start; }
  .notice__body { font-size: 1rem; gap: 2px 8px; }
}
.notice[hidden] { display: none; }

/* ---------- mobilný panel ---------- */
.dock { display: none; }
@media (max-width: 760px) {
  :root { --dock-h: calc(64px + env(safe-area-inset-bottom)); }
  .dock {
    display: grid; grid-template-columns: 1.25fr 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    height: var(--dock-h); padding-bottom: env(safe-area-inset-bottom);
    background: var(--ink); border-top: 1px solid var(--line-dark);
  }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #fff; text-decoration: none; font-weight: 700; font-size: .82rem; border-left: 1px solid var(--line-dark); }
  .dock a .i { width: 22px; height: 22px; }
  .dock__call { background: var(--orange); color: var(--ink) !important; border-left: 0 !important; font-size: .95rem !important; }
}

/* ---------- ingoty (farba kovu) ---------- */
.ingot {
  --c: var(--m-zelezo);
  display: inline-block; flex: none;
  width: 26px; height: 16px;
  background:
    linear-gradient(175deg, rgba(255,255,255,.55) 0 18%, transparent 19%),
    linear-gradient(160deg, color-mix(in srgb, var(--c) 70%, #fff) 0%, var(--c) 48%, color-mix(in srgb, var(--c) 72%, #000) 100%);
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
  vertical-align: middle;
}
.ingot--lg { width: 44px; height: 26px; display: inline-grid; place-items: center; padding-top: 2px; }
.ingot b { font: 800 10px/1 'Archivo', sans-serif; font-stretch: 85%; letter-spacing: .02em; color: rgba(255,255,255,.92); text-shadow: 0 1px 1px rgba(0,0,0,.35); }
.ingot--hlinik b, .ingot--cin b, .ingot--mosadz b, .ingot--nerez b, .ingot--zinok b { color: rgba(22,25,28,.82); text-shadow: 0 1px 0 rgba(255,255,255,.4); }
.ingot--kabel b { display: none; }
.ingot--med { --c: var(--m-med); }
.ingot--kabel { --c: var(--m-kabel); background: linear-gradient(90deg, #1d1f22 0 22%, var(--m-kabel) 22% 40%, #1d1f22 40% 60%, var(--m-kabel) 60% 78%, #1d1f22 78%); }
.ingot--mosadz { --c: var(--m-mosadz); }
.ingot--bronz { --c: var(--m-bronz); }
.ingot--hlinik { --c: var(--m-hlinik); }
.ingot--nerez { --c: var(--m-nerez); background: repeating-linear-gradient(100deg, rgba(255,255,255,.18) 0 1px, transparent 1px 3px), linear-gradient(160deg, color-mix(in srgb, var(--c) 70%, #fff) 0%, var(--c) 48%, color-mix(in srgb, var(--c) 72%, #000) 100%); }
.ingot--zelezo { --c: var(--m-zelezo); }
.ingot--olovo { --c: var(--m-olovo); }
.ingot--zinok { --c: var(--m-zinok); }
.ingot--cin { --c: var(--m-cin); }
.ingot--tvrdokov { --c: var(--m-tvrdokov); }

/* ---------- úvod ---------- */
.hero { background: var(--ink); color: var(--on-ink); padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 7vw, 104px); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; }
.hero .h1 { color: #fff; max-width: 13ch; }
.hero__lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem); color: var(--on-ink-muted); max-width: 46ch; margin: 1.1em 0 1.6em; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { list-style: none; margin-top: 2em; display: grid; gap: .7em; color: var(--on-ink-muted); font-size: .98rem; }
.hero__facts li { display: flex; align-items: flex-start; gap: .65em; }
.hero__facts .i { color: var(--orange); margin-top: .2em; }
.hero__facts b { color: #fff; font-weight: 600; }
.hero__facts a { color: #fff; }
.status--hero { color: #fff; font-size: 1rem; }

/* tabuľa s cenami */
.board { background: var(--ink-2); border: 1px solid var(--line-dark); color: var(--on-ink); position: relative; }
.board::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 4px; background: var(--orange); }
.board__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 22px 24px 14px; border-bottom: 1px solid var(--line-dark); }
.board__title { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.board__date { font-size: .82rem; color: var(--on-ink-muted); }
.board__list { list-style: none; }
.board__row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 13px 24px; border-bottom: 1px solid var(--line-dark); }
.board__name { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.board__name b { font-weight: 700; }
.board__name span { font-size: .86rem; color: var(--on-ink-muted); }
.board__price { font-size: .86rem; color: var(--on-ink-muted); white-space: nowrap; }
.board__price b { font-size: 1.55rem; font-weight: 700; font-stretch: 85%; color: #fff; letter-spacing: -.01em; }
.board__more { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; font-weight: 700; color: #fff; text-decoration: none; }
.board__more:hover { background: var(--ink-3); }
.board__more .i { color: var(--orange); }
.board--compact .board__row { padding: 11px 20px; }
.board--compact .board__head { padding: 18px 20px 12px; }
.board .todo { display: inline-block; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero .h1 { max-width: 14ch; }
}
@media (max-width: 640px) {
  .hero { padding-top: 28px; }
  .hero__lead { margin: .8em 0 1.2em; }
  .hero__btns .btn--line { display: none; }
  .hero__facts { margin-top: 1.2em; gap: .45em; font-size: .92rem; }
  .hero__grid { gap: 24px; }
}
@media (max-width: 480px) {
  .board__row { padding: 12px 16px; gap: 12px; }
  .board__head { padding: 18px 16px 12px; }
  .board__more { padding: 15px 16px; }
  .board__price b { font-size: 1.3rem; }
  .hero__btns .btn { flex: 1 1 100%; }
}

/* ---------- sekcie ---------- */
.sec { padding: clamp(56px, 8vw, 112px) 0; }
.sec--steel { background: var(--steel); }
.sec--ink { background: var(--ink); color: var(--on-ink); }
.sec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.sec__head p { margin: 0; color: var(--muted); max-width: 52ch; }
.sec--ink .sec__head p { color: var(--on-ink-muted); }
.sec__more { margin: 32px 0 0; }
.sec--ink .link { color: #fff; }
@media (max-width: 760px) { .sec__head { grid-template-columns: 1fr; } }

/* zoznam materiálov */
.mats { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.mats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mat {
  display: grid; grid-template-columns: 112px 1fr auto; grid-template-areas: 'ing name price' 'ing meta meta';
  gap: 2px 18px; align-items: center;
  padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; height: 100%;
  transition: background-color .2s;
}
.mat:hover { background: color-mix(in srgb, var(--paper) 70%, transparent); }
.mat__ingots { grid-area: ing; display: flex; flex-wrap: wrap; gap: 4px; }
.mat__name { grid-area: name; font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }
.mat__price { grid-area: price; font-weight: 700; font-stretch: 85%; font-size: 1.1rem; white-space: nowrap; }
.mat__meta { grid-area: meta; display: flex; align-items: center; gap: .3em; color: var(--muted); font-size: .9rem; }
.mat__meta .i { width: 1em; height: 1em; color: var(--orange-ink); transition: transform .2s var(--ease); }
.mat:hover .mat__meta .i { transform: translateX(4px); }
.mats--3 .mat { grid-template-columns: 1fr; grid-template-areas: 'ing' 'name' 'price' 'meta'; gap: 8px; }
@media (max-width: 860px) {
  .mats, .mats--3 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .mat { grid-template-columns: 52px 1fr; grid-template-areas: 'ing name' 'ing price' 'ing meta'; gap: 2px 14px; padding: 18px 0; }
  .mat__ingots { flex-direction: column; }
  .mat__ingots .ingot--lg { width: 40px; height: 24px; }
  .mat__name { font-size: 1.4rem; }
  .mats--3 .mat { grid-template-columns: 52px 1fr; grid-template-areas: 'ing name' 'ing price' 'ing meta'; gap: 2px 14px; }
}

/* ---------- kroky ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--line-dark); }
.steps__item { padding: 28px 28px 8px 0; position: relative; }
.steps__item + .steps__item { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.steps__n { display: block; font-stretch: 72%; font-weight: 800; font-size: 3.6rem; line-height: 1; color: #fff; margin-bottom: 18px; }
.steps__item p { color: var(--on-ink-muted); margin: 0; }
.sec:not(.sec--ink) .steps { border-color: var(--line); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps__item:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps__item, .steps__item + .steps__item { padding: 22px 0 20px 64px; border-left: 0; border-top: 1px solid var(--line-dark); }
  .steps__item:first-child { border-top: 0; }
  .steps__n { position: absolute; left: 0; top: 18px; font-size: 2.8rem; }
}

/* ---------- prečo ---------- */
.why { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 64px; }
.why__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.why__list div { border-top: 2px solid var(--text); padding: 18px 0 28px; }
.why__list dt { font-weight: 800; font-size: 1.2rem; line-height: 1.25; margin-bottom: .4em; }
.why__list dd { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why__list { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); margin-top: 28px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; font-weight: 700; font-size: 1.12rem; line-height: 1.35; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .i { width: 22px; height: 22px; color: var(--orange-ink); transition: transform .25s var(--ease); }
.faq__item[open] summary .i { transform: rotate(45deg); }
.faq__item summary:hover span { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.faq__a { padding: 0 48px 22px 0; color: var(--muted); max-width: 70ch; }
.faq__a p:last-child { margin: 0; }
.faqgroup { margin-top: 48px; }
.faqgroup[hidden], .faq__item[hidden] { display: none; }

/* ---------- kontakt ---------- */
.contact { background: var(--ink-2); color: var(--on-ink); padding: clamp(56px, 8vw, 112px) 0; }
.contact__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 56px; margin: 36px 0 48px; }
.contact__col { border-top: 2px solid var(--orange); padding-top: 20px; }
.contact__h { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--on-ink-muted); margin: 0 0 14px; }
.contact__addr { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); line-height: 1.25; margin: 0 0 12px; }
.contact__addr b { font-weight: 800; }
.contact__note { color: var(--on-ink); font-size: 1rem; margin: 0 0 20px; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.contact__list { list-style: none; display: grid; gap: 2px; }
.contact__list a { display: inline-flex; align-items: center; gap: .6em; min-height: 44px; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.contact__list a:hover { color: var(--orange); }
.contact__list .i { color: var(--orange); }
.contact__small { font-size: .88rem; color: var(--on-ink-muted); display: flex; gap: 8px; margin: 14px 0 0; }
.contact__small .i { flex: none; margin-top: .2em; }
.hours { border-collapse: collapse; width: 100%; max-width: 320px; }
.hours th, .hours td { text-align: left; padding: 6px 0; font-weight: 400; border-bottom: 1px solid var(--line-dark); }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: #fff; font-weight: 700; }
.hours tr.is-exception td { color: var(--orange); font-weight: 700; }
.hours th small { color: var(--on-ink-muted); font-weight: 400; margin-left: 4px; }
.hours tr.is-today th::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--orange); margin-right: 8px; vertical-align: middle; }
.contact .status--block { color: #fff; }
.map { position: relative; aspect-ratio: 3 / 1; background: var(--ink-3); border: 1px solid var(--line-dark); overflow: hidden; }
@media (min-width: 761px) { .map { min-height: 280px; } }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__facade { position: absolute; inset: 0; }
.map__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(255, 94, 20, .25), 0 4px 14px rgba(22, 25, 28, .35); }
.map__pin .i { width: 26px; height: 26px; }
.map__bar { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; background: rgba(22, 25, 28, .9); border-radius: 10px; width: max-content; max-width: calc(100% - 32px); }
.map__note { font-size: .8rem; color: var(--on-ink-muted); max-width: 26ch; line-height: 1.3; }
.map__osm { position: absolute; right: 0; top: 0; padding: 2px 6px; font-size: .7rem; background: rgba(255, 255, 255, .85); color: #333; }
.map__osm a { color: inherit; }
@media (max-width: 520px) { .map__bar { bottom: 12px; padding: 0; background: none; } .map__note { display: none; } .map__bar .btn { box-shadow: 0 4px 14px rgba(22, 25, 28, .35); } }
.contact mark.todo { font-size: .8rem; }
.contact .h1, .contact .h2 { color: #fff; }
@media (max-width: 1100px) { .contact__cols { gap: 28px; } .contact__list a { font-size: 1rem; } .contact__addr { font-size: 1.25rem; } }
@media (max-width: 760px) { .contact__cols { grid-template-columns: 1fr; } .map { aspect-ratio: 4 / 3; } }
@media (max-width: 520px) { .contact__btns .btn { flex: 1 1 100%; } }

/* ---------- podstránky ---------- */
.phero { background: var(--ink); color: var(--on-ink); padding: 28px 0 clamp(44px, 6vw, 80px); }
.phero .h1 { color: #fff; max-width: 18ch; }
.phero__lead { font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); color: var(--on-ink-muted); max-width: 60ch; margin: 1em 0 0; }
.phero__lead a { color: #fff; }
.phero__meta { margin: 1.4em 0 0; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px 64px; align-items: end; }
.phero--mat .hero__btns { margin-top: 1.6em; }
.phero--center { text-align: center; padding: clamp(64px, 10vw, 140px) 0; }
.phero--center .h1 { margin: 0 auto; }
.phero--center .phero__lead { margin: 1em auto 2em; }
.phero--center .hero__btns { justify-content: center; }
@media (max-width: 900px) { .phero__grid { grid-template-columns: 1fr; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--on-ink-muted); margin-bottom: 28px; }
.crumbs a { color: var(--on-ink-muted); display: inline-flex; align-items: center; min-height: 44px; }
.crumbs > * { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs > * + *::before { content: '/'; margin-right: 6px; color: var(--line-dark); }
.crumbs { margin-bottom: 16px; }
.crumbs [aria-current] { color: #fff; }
.stamp { display: inline-flex; align-items: center; gap: .5em; border: 1.5px solid var(--line-dark); padding: 6px 12px; font-size: .9rem; color: #fff; }
.stamp::before { content: ''; width: 7px; height: 7px; background: var(--orange); }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px 72px; align-items: start; }
.aside { position: sticky; top: calc(var(--hdr-h) + 24px); background: var(--steel); padding: 26px; display: grid; gap: 4px; }
.aside p { margin: 0 0 .8em; font-size: .97rem; }
.aside .btn { margin-top: 6px; }
@media (max-width: 900px) { .article { grid-template-columns: 1fr; } .aside { position: static; } }

.prose { max-width: 68ch; }
.prose h2 { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1; margin: 1.8em 0 .7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: .45em 0; }
.prose li::marker { color: var(--orange-ink); }
.prose strong { font-weight: 700; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 72px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.formcard { background: var(--paper); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); }
.sec:not(.sec--steel) .formcard { background: var(--steel); border: 0; }
.formcard > p { color: var(--muted); }

.docs { display: grid; gap: 32px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.facts div { border-top: 1px solid var(--line); padding: 14px 0; }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }
.docs__files { display: flex; flex-wrap: wrap; gap: 12px; }
.file { display: inline-flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; min-width: 280px; }
.file:hover { border-color: var(--text); }
.file .i { width: 28px; height: 28px; color: var(--orange-ink); }
.file b { display: block; }
.file span { font-size: .85rem; color: var(--muted); }
.file span b { color: var(--text); font-size: 1rem; }

/* ---------- cenník ---------- */
.pricelist { padding: 8px 0 clamp(48px, 7vw, 96px); }
.search { position: relative; flex: 0 0 320px; }
.search .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; min-height: 48px; padding: 10px 14px 10px 44px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); }
.search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--orange-soft); }
.search--light { display: block; margin-bottom: 8px; }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 56px; padding-top: 16px; }
.pgroup { padding-top: 32px; break-inside: avoid; }
.pgroup__head { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--text); font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }
.pgroup__head a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.pgroup__head a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.ptable { width: 100%; border-collapse: collapse; }
.ptable th, .ptable td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.ptable th { font-weight: 500; font-size: 1.1rem; padding-right: 16px; }
.ptable th small { display: block; font-size: .88rem; color: var(--muted); margin-top: 2px; }
.ptable td { text-align: right; white-space: nowrap; }
.ptable td b { font-size: 1.5rem; font-weight: 700; font-stretch: 85%; }
@media (max-width: 860px) { .pgrid { grid-template-columns: 1fr; } }
.pdate { margin: 1em 0 0; font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); color: #fff; display: inline-flex; align-items: center; gap: .55em; border: 1.5px solid var(--line-dark); padding: 8px 16px; }
.pdate::before { content: ''; width: 9px; height: 9px; background: var(--orange); }
.pdate b { font-weight: 800; }
.pricelist__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; color: var(--muted); font-size: .95rem; }
.pricelist__foot p { margin: 0; max-width: 70ch; }

/* ---------- formuláre ---------- */
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-weight: 700; font-size: .95rem; padding: 0; }
.field i { font-style: normal; font-weight: 400; color: var(--muted); }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--text);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9aa5b0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--orange-soft); }
.field textarea { resize: vertical; }
.field :user-invalid { border-color: #c62828; }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }
.form__legal { font-size: .85rem; color: var(--muted); }
.form__msg { margin-top: 16px; }
.form__msg:empty { display: none; }
.form__msg.is-ok { padding: 16px 18px; background: #e6f6ec; color: #0e5a2e; font-weight: 600; }
.form__msg.is-err { padding: 16px 18px; background: #fdecea; color: #8a1c14; }
.form__msg a { color: inherit; font-weight: 700; }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
.form.is-done .form__grid, .form.is-done .form__legal, .form.is-done button[type="submit"] { display: none; }

/* ---------- pätička ---------- */
.ftr { background: var(--ink); color: var(--on-ink-muted); padding: 64px 0 24px; font-size: .94rem; }
.ftr__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.3fr; gap: 32px; }
.ftr__logo { color: #fff; display: inline-block; margin-bottom: 16px; }
.ftr__logo .logo { width: 150px; }
.ftr__h { font-size: .8rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.ftr a { color: var(--on-ink); text-decoration: none; display: inline-flex; align-items: center; gap: .45em; min-height: 32px; }
@media (pointer: coarse) { .ftr a { min-height: 44px; } }
.ftr__logo { min-height: 44px; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr__list { list-style: none; }
.ftr__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; border-top: 1px solid var(--line-dark); margin-top: 40px; padding-top: 20px; font-size: .85rem; }
.ftr mark.todo { font-size: .78rem; }
@media (max-width: 1040px) { .ftr__grid { grid-template-columns: 1fr 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__grid > div:last-child { grid-column: 1 / -1; } }

/* ---------- súhlas s cookies (len ak je zapnuté meranie) ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: calc(var(--dock-h) + 16px); z-index: 70; max-width: 560px; margin: 0 auto; background: var(--paper); color: var(--text); padding: 20px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.4); border-top: 4px solid var(--orange); }
.consent p { font-size: .92rem; }
.consent__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.consent__btns .btn { flex: 1 1 160px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- tlač cenníka ---------- */
/* ---------- tabuľka s QR kódom (recenzie) ---------- */
.qrcard { max-width: 520px; margin: 0 auto; background: var(--paper); border-top: 8px solid var(--orange); padding: 40px 36px 32px; text-align: center; }
.qrcard__logo { color: var(--ink); width: 180px; margin: 0 auto 28px; }
.qrcard__h { font-stretch: 72%; font-weight: 800; text-transform: uppercase; font-size: 2.4rem; line-height: 1; }
.qrcard__lead { font-size: 1.15rem; margin: 14px 0 24px; }
.qrcard__qr { width: 240px; max-width: 100%; margin: 0 auto; }
.qrcard__qr svg { width: 100%; height: auto; }
.qrcard__how { margin: 18px 0 6px; font-weight: 700; }
.qrcard__thanks { color: var(--muted); font-size: .9rem; margin: 0; }
.qrcard__print { text-align: center; margin: 24px 0 0; }
@media print {
  .qrpage .sec { background: none; padding: 0; }
  .qrpage .qrcard { border: 1pt solid #000; border-top: 6mm solid #ff5e14; -webkit-print-color-adjust: exact; print-color-adjust: exact; max-width: 128mm; padding: 10mm; }
  .qrpage .qrcard__print, .qrpage main::after { display: none !important; }
}
@page qr { size: A5; }

/* Tlač cenníka: celý na jednu stranu A4 (3 stĺpce, menšie písmo) */
@page { size: A4; margin: 10mm; }
@media print {
  .hdr, .dock, .ftr, .contact, .crumbs, .notice, .consent, .phero__lead, .pricelist__foot { display: none !important; }
  body { padding: 0; font-size: 10pt; line-height: 1.25; color: #000; background: #fff; }
  .wrap { max-width: none; padding: 0; }
  .phero { background: none; color: #000; padding: 0 0 4mm; border-bottom: 1.5pt solid #000; margin-bottom: 1mm; }
  .phero .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 8mm; }
  .phero .h1 { color: #000; font-size: 20pt; }
  .pdate { margin: 0; padding: 0; border: 0; color: #000; font-size: 11pt; }
  .pdate::before { display: none; }
  .pricelist { padding: 0; }
  .pgrid { display: block; column-count: 3; column-gap: 7mm; padding: 0; }
  .pgroup { padding-top: 3.5mm; break-inside: avoid; page-break-inside: avoid; -webkit-column-break-inside: avoid; display: inline-block; width: 100%; }
  .pgrid { -webkit-column-count: 3; -webkit-column-gap: 7mm; }
  html, body { height: auto !important; }
  .pgroup__head { font-size: 13pt; gap: 2mm; padding-bottom: 1mm; border-bottom-width: 1pt; }
  .pgroup__head .ingot--lg { width: 16px; height: 10px; }
  .ptable th, .ptable td { padding: 1.6mm 0; border-bottom: .5pt solid #bbb; }
  .ptable th { font-size: 10pt; padding-right: 2mm; }
  .ptable th small { font-size: 7pt; color: #444; }
  .ptable td b { font-size: 12pt; }
  .ingot { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  main::after { content: 'Ceny sú za 1 kg čistého, roztriedeného materiálu. Konečnú cenu určíme pri odvážení.   REMETAL s. r. o. · Beckovská 2085, Trenčianska Turná · 0905 597 124 · www.remetal.sk'; display: block; margin-top: 5mm; padding-top: 2mm; border-top: .5pt solid #000; font-size: 7.5pt; white-space: pre-wrap; }
}


/* ---------- pás Pred cestou ---------- */
.trip { border: 1.5px solid var(--line-dark); padding: 18px 22px; margin: 0 0 32px; display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; align-items: center; }
.trip__h { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); margin: 0; }
.trip__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; }
.trip__list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; color: var(--on-ink-muted); }
.trip__list b { color: #fff; }
.trip__list .i { color: var(--orange); width: 22px; height: 22px; flex: none; margin-top: 1px; }
@media (max-width: 900px) { .trip { grid-template-columns: 1fr; } .trip__list { grid-template-columns: 1fr; } }

/* ---------- cenník: skok na kov ---------- */
.pgroup, .pgroup__head { scroll-margin-top: calc(var(--hdr-h) + 16px); }
.ptable__more td { text-align: left; padding: 6px 0 0; border-bottom: 0; }
.ptable__more a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: .9rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.ptable__more a:hover { color: var(--text); }
.ptable__more .i { width: 1em; height: 1em; color: var(--orange-ink); }
.ptable td { color: var(--muted); }
.ptable td b { color: var(--text); }
@media print { .ptable__more, .trip { display: none !important; } }
