/* ZAFIR – kamenárstvo a krbárstvo Detva. Téma nad core.css. */
:root {
  --bg: #F3EFE6;
  --surface: #FFFFFF;
  --text: #1B2022;
  --muted: #545C5E;
  --line: rgba(27, 32, 34, .1);
  --line-strong: rgba(27, 32, 34, .22);
  --hover: rgba(27, 32, 34, .06);
  --accent: #E8913F;
  --accent-ink: #1B2022;
  --slate: #232A2C;
  --sapphire: #1846A3;
  --glass: #3A73E0;
  --ice: #9DB8F2;
  --amber: #E8913F;
  --gold: #D4A63A;
  --moss: #4C7656;
  --grad: linear-gradient(100deg, #1846A3 0%, #3A73E0 38%, #E8913F 78%, #F2C14E 100%);
  --display: "Bricolage Grotesque Variable", "Arial Black", system-ui, sans-serif;
  --body: "Instrument Sans Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --tag: #1846A3;
  --brand-sub: #545C5E;
  --nav-bg: rgba(243, 239, 230, .88);
  --contact-bg: linear-gradient(150deg, #1846A3, #12357C 58%, #0E1B33);
  --contact-ink: #fff;
  --btn-r: 12px;
  --card-r: 28px;
}

h1, h2, h3 { font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(42px, 6.2vw, 96px); line-height: .9; }
h3 { font-size: clamp(28px, 2.6vw, 40px); line-height: .95; }
.brand { font-weight: 800; font-size: 23px; letter-spacing: .01em; }
.o { color: var(--amber); }

/* ---------- Úvod ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(55% 50% at 82% 30%, rgba(58, 115, 224, .2), transparent 70%),
    radial-gradient(40% 40% at 70% 95%, rgba(232, 145, 63, .2), transparent 70%),
    radial-gradient(40% 40% at 0% 85%, rgba(76, 118, 86, .12), transparent 70%),
    var(--bg);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero__title { font-size: clamp(60px, 8.4vw, 136px); line-height: .86; margin-bottom: 28px; }
.hero__title > span { display: block; }
.hero__title .w { display: inline-block; }
.t1 { color: var(--slate); }
.t2 { color: var(--sapphire); }
.t3 .w {
  padding-top: .1em; margin-top: -.1em;
  background: linear-gradient(100deg, #E8913F, #F2C14E 55%, #E8913F);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { max-width: 540px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--ghost { background: #fff; }

.hero__art { position: relative; justify-self: center; width: 100%; max-width: 520px; }
.stele { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 40px 50px rgba(27, 32, 34, .28)); }
.stele .shine { opacity: 0; }
.sticker {
  position: absolute; z-index: 2; display: grid; place-items: center;
  padding: 12px 20px; border-radius: 10px;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(15px, 1.5vw, 21px); color: var(--slate);
  box-shadow: inset 0 -6px rgba(0, 0, 0, .16), 0 18px 30px -14px rgba(27, 32, 34, .55);
}
.s1 { left: -4%; top: 14%; background: var(--sapphire); color: #fff; rotate: -7deg; }
.s2 { right: -2%; top: 6%; background: var(--amber); rotate: 6deg; }
.s3 { right: -6%; top: 44%; background: var(--ice); rotate: -4deg; }
.s4 { left: -2%; bottom: 20%; background: #F2C14E; rotate: 5deg; }
.s5 { right: 4%; bottom: 6%; background: var(--moss); color: #fff; rotate: -3deg; }

/* ---------- Pás ---------- */
.ticker { --ticker-bg: var(--slate); --ticker-ink: #F3EFE6; transform: rotate(-1.4deg) scale(1.03); margin: -6px 0; }
.ticker span { font-weight: 800; letter-spacing: -.01em; }
.ticker i {
  width: 22px; height: 22px; flex: none; rotate: 45deg; border-radius: 3px;
  background: linear-gradient(135deg, var(--glass), var(--sapphire));
  box-shadow: inset 0 0 0 2px #15191A;
}
.ticker i:nth-of-type(3n) { background: var(--amber); }

/* ---------- Ako vzniká (scroll príbeh) ---------- */
.story { background: var(--slate); color: #F3EFE6; --muted: #A9B1B2; --line: rgba(255, 255, 255, .1); --tag: #9DB8F2; }
.js .story { height: 300vh; }
.rm .story { height: auto; }
.story__sticky { padding: 110px 0 60px; }
.js .story__sticky { position: sticky; top: 0; min-height: 100svh; display: flex; align-items: center; padding: 90px 0 40px; }
.rm .story__sticky { position: static; }
.story__sticky .wrap { width: 100%; }
.story__head h2 { font-size: clamp(32px, 4.4vw, 64px); }
.steps { list-style: none; margin: 22px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.steps li {
  display: flex; align-items: center; gap: 10px; font-weight: 700;
  padding: 9px 16px 9px 9px; border-radius: 999px;
  background: #2C3436; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted);
  transition: background .35s, color .35s, box-shadow .35s;
}
.steps b {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: #3A4446; font-family: var(--display); color: #fff; transition: background .35s, color .35s;
}
.steps li.is-on { background: color-mix(in srgb, var(--amber) 16%, #2C3436); box-shadow: inset 0 0 0 1.5px var(--amber); color: #fff; }
.steps li.is-on b { background: var(--amber); color: var(--slate); }
.scene { border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #2A3234, #1E2426); box-shadow: inset 0 0 0 1px var(--line); }
.scene svg { width: 100%; height: auto; max-height: calc(100svh - 300px); display: block; }
.scene .shine2, .scene .dust { opacity: 0; }
.story__bar { height: 6px; border-radius: 3px; background: #2C3436; margin-top: 14px; overflow: hidden; }
.story__bar span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
.rm .story__bar span { transform: none; }

/* ---------- Remeslo ---------- */
.services { padding: 130px 0 110px; }
.lane {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  border-radius: var(--card-r); overflow: hidden; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px rgba(27, 32, 34, .5);
  margin-bottom: 22px; min-height: 440px;
}
.lane--b { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.lane--b .lane__img { order: 2; }
.lane__img { position: relative; overflow: hidden; min-height: 300px; background: #2E3537; }
.lane__img img {
  position: absolute; left: 0; top: -7%; width: 100%; height: 114%; object-fit: cover;
  transition: scale 1.2s cubic-bezier(.22, 1, .36, 1);
}
.lane:hover .lane__img img { scale: 1.04; }
.lane__note {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(27, 32, 34, .72); color: #fff; backdrop-filter: blur(6px);
}
.lane__body { position: relative; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.lane__no {
  position: absolute; right: 28px; top: 14px; font-family: var(--display); font-weight: 800;
  font-size: clamp(80px, 9vw, 140px); line-height: 1; color: var(--c); opacity: .16;
}
.lane--a { --c: var(--sapphire); }
.lane--b { --c: #C46A1C; }
.lane--c { --c: var(--moss); }
.lane h3 { font-size: clamp(36px, 4vw, 62px); margin-bottom: 14px; color: var(--c); padding-right: clamp(0px, 7vw, 110px); }
.lane__body > p { color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); max-width: 520px; margin-bottom: 22px; }
.lane__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lane__list li {
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  background: color-mix(in srgb, var(--c) 10%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 32%, transparent);
}

/* ---------- Kontakt ---------- */
.contact { padding: 110px 0 130px; }
.contact__card .tag { color: #F2C14E; }
.contact__card { --line-strong: rgba(255, 255, 255, .24); --grad: linear-gradient(100deg, #F2C14E, #E8913F 55%, #fff); }
.bigphone span { font-weight: 800; letter-spacing: -.01em; }
.contact__card:after {
  content: ""; position: absolute; right: -36px; bottom: -40px; width: 190px; height: 190px;
  clip-path: polygon(15% 34%, 42% 0, 58% 12%, 100% 18%, 82% 62%, 48% 100%, 26% 72%);
  background: linear-gradient(135deg, rgba(157, 184, 242, .28), rgba(232, 145, 63, .22));
}
.contact__card .facts a { color: #fff; }

@media (max-width: 1020px) {
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { max-width: 440px; margin-top: 10px; }
  .lane, .lane--b { grid-template-columns: minmax(0, 1fr); }
  .lane--b .lane__img { order: 0; }
  .lane__img { min-height: 300px; }
}

@media (max-width: 640px) {
  .hero { padding: 100px 0 64px; }
  .hero__title { font-size: clamp(56px, 18vw, 88px); }
  .hero__art { max-width: 340px; }
  .sticker { padding: 8px 12px; }
  .js .story { height: 260vh; }
  .js .story__sticky { padding-top: 76px; }
  .steps li { padding: 7px 12px 7px 7px; font-size: 14px; }
  .services, .contact { padding: 84px 0; }
  .lane { min-height: 0; }
  .lane__img { min-height: 240px; }
  .lane h3 { padding-right: 56px; }
}
