/* =========================================================================
   RHGRAFIKA — moderná vrstva (načítava sa PO style.css a prepisuje ho)
   Dynamický hero, bento mriežka služieb, ticker, proces, portfólio, príbeh.
   ========================================================================= */

:root {
  --c-cyan: #00b8d9;
  --c-magenta: #ff3d8b;
  --c-yellow: #ffc400;
  --c-violet: #7c5cff;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --radius: 18px;
}

body { overflow-x: hidden; }
h1, h2 { letter-spacing: -0.02em; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-header h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.section-header .eyebrow { background: rgba(47,173,102,.12); padding: 6px 14px; border-radius: 999px; }

/* ---------- Tlačidlá ---------- */
.btn { border-radius: 999px; padding: 14px 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-glow { box-shadow: 0 10px 30px rgba(47,173,102,.45); }
.btn-glow:hover { box-shadow: 0 14px 40px rgba(47,173,102,.6); }
.btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.section:not(.story-section) .btn-ghost { color: var(--color-ink); border-color: var(--color-border); background: transparent; }

/* ---------- Header: sklo ---------- */
.site-header { background: color-mix(in srgb, var(--color-bg) 80%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--c-cyan), var(--c-magenta), var(--c-yellow), var(--color-accent)); }

/* ---------- HERO ---------- */
.hero-dark { position: relative; overflow: hidden; color: #fff; background: #0b0d10; padding: clamp(70px, 10vw, 130px) 0 clamp(90px, 11vw, 150px); isolation: isolate; }
.hero-dark h1, .hero-dark .hero-lead strong { color: #fff; }
.hero-dark .hero-lead { color: #c3c8cf; font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 560px; }
.hero-dark .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-dark h1 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); line-height: 1.05; margin-bottom: .45em; }

.hero-bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 14s ease-in-out infinite; }
.blob.b1 { width: 460px; height: 460px; background: var(--color-accent); top: -120px; left: -80px; }
.blob.b2 { width: 400px; height: 400px; background: var(--c-violet); right: -80px; top: 20%; animation-delay: -5s; }
.blob.b3 { width: 340px; height: 340px; background: var(--c-magenta); bottom: -140px; left: 40%; animation-delay: -9s; opacity: .4; }
.grid-lines { position: absolute; inset: 0; opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-50px) scale(1.12); } }

.pill-eyebrow { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  padding: 8px 16px; border-radius: 999px; color: #e8ebef !important; font-size: .78rem !important; margin-bottom: 22px; backdrop-filter: blur(6px); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 0 rgba(47,173,102,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(47,173,102,0); } 100% { box-shadow: 0 0 0 0 rgba(47,173,102,0); } }

.rotator { display: inline-block; position: relative; }
.rotator-word { display: inline-block; background: linear-gradient(90deg, #4be58e, #00d1ff, #ff5ea2); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: opacity .35s ease, transform .35s var(--ease); }
.rotator-word.is-out { opacity: 0; transform: translateY(-14px); }
.rotator-word.is-in { opacity: 0; transform: translateY(14px); }

.hero-dark .hero-actions { margin-top: 30px; }
.hero-trust { list-style: none; display: flex; gap: 28px; flex-wrap: wrap; padding: 0; margin: 34px 0 0; color: #aab0b8; font-size: .9rem; }
.hero-trust strong { display: block; color: #fff; font-family: var(--font-heading); font-size: 1.6rem; line-height: 1.1; }

/* Hero vizuál */
.hero-visual { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-left: auto; }
.press-main { position: absolute; inset: 6%; display: grid; place-items: center; }
.press-svg { width: 100%; height: 100%; overflow: visible; }
.ring { stroke: rgba(255,255,255,.35); transform-origin: 200px 200px; }
.ring.r1 { animation: spin 40s linear infinite; }
.ring.r2 { animation: spin 26s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.dot { mix-blend-mode: screen; transform-origin: 200px 200px; animation: breathe 6s ease-in-out infinite; }
.dot.c { fill: var(--c-cyan); } .dot.m { fill: var(--c-magenta); animation-delay: -2s; } .dot.y { fill: var(--c-yellow); animation-delay: -4s; }
.dots { animation: spin 60s linear infinite; transform-origin: 200px 200px; }
@keyframes breathe { 50% { transform: scale(1.12); } }
.reg { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 2; }

.press-card { position: absolute; z-index: 2; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 40px rgba(0,0,0,.35); animation: bob 7s ease-in-out infinite; }
.press-card b { display: block; font-family: var(--font-heading); font-size: 1.7rem; color: #fff; line-height: 1; }
.press-card small { color: #cfd4da; font-size: .75rem; font-weight: 600; }
.pc1 { top: 6%; left: -2%; display: flex; gap: 6px; }
.pc2 { top: 14%; right: -2%; animation-delay: -2s; }
.pc3 { bottom: 8%; left: 6%; animation-delay: -4s; }
.swatch { width: 26px; height: 26px; border-radius: 8px; }
.swatch.c { background: var(--c-cyan); } .swatch.m { background: var(--c-magenta); } .swatch.y { background: var(--c-yellow); } .swatch.k { background: #111; border: 1px solid rgba(255,255,255,.3); }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-16px) rotate(1.5deg); } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.45); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(16px); } }

@media (max-width: 900px) {
  .hero-dark .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 340px; margin: 10px auto 0; order: -1; }
  .scroll-cue { display: none; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--color-accent); color: #fff; overflow: hidden; white-space: nowrap; transform: rotate(-1deg); margin: -26px -20px 0; position: relative; z-index: 3; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.ticker-track { display: inline-flex; gap: 26px; padding: 15px 0; animation: marquee 38s linear infinite; font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; }
.ticker-track i { font-style: normal; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- BENTO (fullservis) ---------- */
#sluzby { padding-top: clamp(80px, 10vw, 130px); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; grid-auto-flow: dense; }
.bento-card { position: relative; overflow: hidden; border-radius: var(--radius); padding: 26px 24px 24px; min-height: 250px; display: flex; flex-direction: column;
  color: #fff; background: var(--tone, #1a1d21); border: 1px solid rgba(255,255,255,.08); transform-style: preserve-3d; transition: transform .35s var(--ease), box-shadow .35s var(--ease); isolation: isolate; }
.bento-card.span-2 { grid-column: span 2; }
.bento-card h3 { color: #fff; font-size: 1.3rem; margin-top: auto; position: relative; z-index: 2; }
.bento-card p { color: rgba(255,255,255,.82); font-size: .93rem; margin: 0 0 10px; position: relative; z-index: 2; }
.bento-num { font-family: var(--font-heading); font-weight: 800; font-size: .85rem; opacity: .6; letter-spacing: .1em; position: relative; z-index: 2; }
.bento-link { color: #fff; font-weight: 700; font-size: .88rem; margin-right: 12px; position: relative; z-index: 2; }
.bento-link:hover { text-decoration: underline; }
.bento-card::before { content: ''; position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.22), transparent 55%); pointer-events: none; }
.bento-card:hover { box-shadow: 0 24px 50px rgba(0,0,0,.28); }
.bento-card:hover::before { opacity: 1; }
.tone-green  { --tone: linear-gradient(145deg, #23a35e, #0f5a32); }
.tone-cyan   { --tone: linear-gradient(145deg, #0aa9c9, #0a4b73); }
.tone-violet { --tone: linear-gradient(145deg, #7c5cff, #3a1f8f); }
.tone-pink   { --tone: linear-gradient(145deg, #ff4f97, #8f1d52); }
.tone-amber  { --tone: linear-gradient(145deg, #f0a500, #9a4b00); }
.tone-dark   { --tone: linear-gradient(145deg, #23272e, #0b0d10); }

.bento-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bento-art i { position: absolute; display: block; }
.art-print i { width: 110px; height: 140px; right: 28px; top: 28px; border-radius: 10px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); animation: bob 8s ease-in-out infinite; }
.art-print i:nth-child(2) { right: 70px; top: 46px; background: rgba(255,255,255,.1); animation-delay: -2s; }
.art-print i:nth-child(3) { right: 112px; top: 64px; background: rgba(255,255,255,.07); animation-delay: -4s; }
.art-wide i { left: 20px; right: 20px; top: 56px; height: 44px; border-radius: 8px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 22px, rgba(255,255,255,.1) 22px 44px); animation: slide 6s linear infinite; background-size: 44px 100%; }
@keyframes slide { to { background-position: 44px 0; } }
.art-uv i { width: 90px; height: 90px; right: 24px; top: 24px; border-radius: 50%; background: radial-gradient(circle, #fff 0, rgba(255,255,255,.2) 40%, transparent 70%); animation: breathe 3s ease-in-out infinite; }
.art-textile i { width: 100px; height: 100px; right: 22px; top: 20px; background: rgba(255,255,255,.2); clip-path: polygon(30% 0, 70% 0, 100% 22%, 84% 40%, 76% 32%, 76% 100%, 24% 100%, 24% 32%, 16% 40%, 0 22%); animation: bob 7s ease-in-out infinite; }
.art-gift i { width: 84px; height: 84px; right: 26px; top: 24px; border-radius: 12px; background: rgba(255,255,255,.22); box-shadow: inset 0 0 0 10px rgba(255,255,255,.12); animation: bob 6s ease-in-out infinite; }
.art-3d i { width: 120px; height: 120px; right: 36px; top: 30px; border: 2px solid rgba(255,255,255,.4); transform: rotate(45deg) skew(10deg, 10deg); animation: spin 18s linear infinite; }
.art-3d i:nth-child(2) { width: 70px; height: 70px; right: 62px; top: 56px; border-color: var(--color-accent); animation-direction: reverse; }
.art-sign i { width: 80px; height: 80px; right: 26px; top: 24px; background: rgba(255,255,255,.22); clip-path: polygon(50% 0, 100% 100%, 0 100%); animation: bob 6s ease-in-out infinite; }

@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento-card.span-2 { grid-column: auto; } .bento-card { min-height: 210px; } }

/* ---------- Proces ---------- */
.process { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding: 0; margin: 0; position: relative; }
.process::before { content: ''; position: absolute; left: 6%; right: 6%; top: 28px; border-top: 2px dashed var(--color-border); z-index: 0; }
.process-step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.process-step span { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--color-accent); color: #fff;
  font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; box-shadow: 0 0 0 8px var(--color-bg-alt), 0 10px 24px rgba(47,173,102,.4); }
.process-step h3 { font-size: 1.05rem; }
.process-step p { font-size: .88rem; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 26px; }
  .process::before { left: 28px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed var(--color-border); }
  .process-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; text-align: left; align-items: start; }
  .process-step span { grid-row: span 2; margin: 0; }
  .process-step h3 { margin: 4px 0 2px; }
}

/* ---------- Štatistiky ---------- */
.stats-section { background: #0b0d10; position: relative; overflow: hidden; padding: 64px 0; }
.stats-section::before { content: ''; position: absolute; inset: -40%; background: conic-gradient(from 0deg, var(--color-accent), var(--c-cyan), var(--c-magenta), var(--c-yellow), var(--color-accent)); opacity: .22; filter: blur(80px); animation: spin 40s linear infinite; }
.stats-section .container { position: relative; }
.stat-number { background: linear-gradient(180deg, #fff, #b9ffd6); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* ---------- Portfólio ---------- */
.gallery-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gallery-item { border-radius: var(--radius); aspect-ratio: 4/3; position: relative; }
.gallery-item:nth-child(5n+1) { grid-row: span 1; }
.gallery-link { position: relative; height: 100%; }
.gallery-item img { transition: transform .6s var(--ease); }
.gallery-overlay { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 700; font-size: .9rem;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease); }
.gallery-overlay b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--color-accent); }
.gallery-item:hover .gallery-overlay, .gallery-link:focus-visible .gallery-overlay { opacity: 1; transform: none; }
@media (hover: none) { .gallery-overlay { opacity: 1; transform: none; } }
.filter-btn { padding: 10px 20px; transition: all .25s var(--ease); }
.filter-btn.is-active { box-shadow: 0 8px 20px rgba(47,173,102,.4); transform: translateY(-1px); }

/* ---------- Klienti ---------- */
.clients-strip { gap: 40px; }
.clients-strip img { height: 52px; }

/* ---------- FAQ ---------- */
.faq-item { border-radius: 14px; transition: box-shadow .25s, border-color .25s; }
.faq-item[open] { border-color: var(--color-accent); box-shadow: 0 10px 30px rgba(47,173,102,.14); }

/* ---------- Kontakt ---------- */
.section-contact .contact-grid { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 24px; padding: clamp(22px, 4vw, 48px); }
.form-group input, .form-group textarea { border-radius: 12px; }

/* ---------- Ako to začalo (príbeh na konci) ---------- */
.story-section { background: #0b0d10; color: #fff; position: relative; overflow: hidden; }
.story-section::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--color-accent); filter: blur(120px); opacity: .25; left: -160px; top: -120px; }
.story { position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.story-year { font-family: var(--font-heading); font-weight: 800; font-size: clamp(5rem, 16vw, 12rem); line-height: .9; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.35);
  background: linear-gradient(180deg, rgba(47,173,102,.5), transparent 80%); -webkit-background-clip: text; background-clip: text; }
.story-body h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); }
.story-body p { color: #c3c8cf; max-width: 640px; }
.story-body .eyebrow { display: inline-block; color: var(--color-accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: 10px; }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } }

/* ---------- Pätička ---------- */
.site-footer { margin-top: 0; }

/* ---------- Scroll reveal: jemnejšie, so zoskupovaním ---------- */
.bento-card, .process-step { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .35s var(--ease); }
.bento-card.is-visible, .process-step.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bento-card, .process-step { opacity: 1; transform: none; }
  .ticker { transform: none; }
  .ticker-track { flex-wrap: wrap; white-space: normal; }
}

/* Mobil: ticker nesmie vyrobiť horizontálny scroll */
@media (max-width: 760px) { .ticker { margin: -18px 0 0; transform: rotate(-1.2deg) scale(1.04); } .hero-trust { gap: 20px; } }

.main-nav .nav-cta { background: var(--color-accent); color: #fff !important; padding: 9px 18px; border-radius: 999px; box-shadow: 0 6px 18px rgba(47,173,102,.35); }
.main-nav .nav-cta:hover { background: var(--color-accent-dark); color: #fff; }
@media (max-width: 1240px) { .main-nav .nav-cta { text-align: center; } }

/* Žiadny horizontálny presah (ticker, blobs) */
html, body { overflow-x: clip; }
.ticker { margin-left: 0; margin-right: 0; }

/* ---------- Logo (SVG) ---------- */
.brand { line-height: 0; }
.rhg-logo { height: 58px; width: auto; display: block; transition: height .35s var(--ease); }
.rhg-logo .t { fill: #706f6f; transition: fill .2s; }
.rhg-logo .g { fill: var(--color-accent); }
.rhg-logo .lg-claim { transition: opacity .3s ease; }
.rhg-logo.on-dark .t { fill: #fff; }
@media (prefers-color-scheme: dark) { .rhg-logo .t { fill: #d3d6db; } }
.site-header .container { transition: padding .3s var(--ease); }
.site-header.is-scrolled .container { padding-top: 8px; padding-bottom: 8px; }
.site-header.is-scrolled .rhg-logo { height: 40px; }
.site-header.is-scrolled .lg-claim { opacity: 0; }
.footer-logo { display: block; margin-bottom: 14px; line-height: 0; }
.footer-logo .rhg-logo { height: 52px; }
.footer-company { font-size: .9rem; font-weight: 600; color: #9aa0a8 !important; margin-bottom: 8px; }
@media (max-width: 600px) { .rhg-logo { height: 48px; } }

/* ---------- Hero: plávajúce štítky + CMYK ---------- */
.press-chip { position: absolute; z-index: 2; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 14px 36px rgba(0,0,0,.35); color: #fff; font-family: var(--font-heading);
  font-weight: 700; font-size: clamp(.78rem, 1.4vw, 1rem); white-space: nowrap; animation: bob 7s ease-in-out infinite; }
.chip1 { top: 6%; left: 2%; } .chip2 { top: 2%; right: 18%; animation-delay: -1.2s; } .chip3 { top: 34%; right: -3%; animation-delay: -2.4s; }
.chip4 { bottom: 8%; right: 6%; animation-delay: -3.6s; } .chip5 { bottom: 4%; left: 14%; animation-delay: -4.8s; } .chip6 { top: 46%; left: -4%; animation-delay: -6s; background: rgba(47,173,102,.35); }
.dot.k { fill: #0b0c0f; stroke: rgba(255,255,255,.55); stroke-width: 2; mix-blend-mode: normal; opacity: .94; animation-delay: -1s; }
@media (max-width: 900px) { .chip6 { left: 0; } .chip3 { right: 0; } }

/* ---------- Bento: nové farby a ilustrácie ---------- */
.tone-navy { --tone: linear-gradient(145deg, #2f5bff, #0b1c6b); }
.tone-violet2 { --tone: linear-gradient(145deg, #5b3fd6, #1d0f5c); }
.art-offset i { right: 36px; top: 28px; width: 92px; height: 92px; border-radius: 50%; border: 10px solid rgba(255,255,255,.2); animation: spin 10s linear infinite; background: none; border-top-color: rgba(255,255,255,.65); }
.art-offset i:nth-child(2) { right: 110px; top: 54px; width: 60px; height: 60px; border-width: 8px; animation-direction: reverse; }
.art-special i { right: 40px; top: 26px; width: 96px; height: 96px; border: 3px dashed rgba(255,255,255,.45); border-radius: 50%; animation: spin 16s linear infinite; background: none; }
.art-special i:nth-child(2) { right: 62px; top: 48px; width: 52px; height: 52px; border: 0; border-radius: 12px; background: var(--color-accent); animation: bob 5s ease-in-out infinite; }

/* ---------- Proces: 8 krokov ---------- */
.process { grid-template-columns: repeat(4, 1fr); row-gap: 38px; }
.process::before { display: none; }
.process-step::after { content: ''; position: absolute; top: 28px; left: calc(50% + 40px); right: calc(-50% + 40px); border-top: 2px dashed var(--color-border); z-index: -1; }
.process-step:nth-child(4n)::after, .process-step:last-child::after { display: none; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; }
  .process::before { display: block; }
  .process-step::after { display: none; }
}

/* ---------- Logá klientov: plynulý posuv + swipe ---------- */
.clients-scroller { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients-scroller::-webkit-scrollbar { display: none; }
.clients-scroller.is-dragging { cursor: grabbing; }
.clients-track { display: flex; align-items: center; gap: 56px; width: max-content; padding: 10px 28px; }
.clients-track img { height: 56px; width: auto; max-width: 200px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; user-select: none; -webkit-user-drag: none; }
.clients-track img:hover { filter: none; opacity: 1; }

/* ---------- Mapa ---------- */
.map-embed { height: 440px; }
.map-link { margin-top: 14px; }
@media (max-width: 860px) { .map-embed { height: 360px; } .map-link { width: 100%; justify-content: center; } }

/* Bento: ilustrácie nesmú prekrývať text */
.bento-card { min-height: 290px; }
.bento-card:not(.span-2) .bento-art { transform: scale(.68); transform-origin: top right; opacity: .85; }
@media (max-width: 600px) { .bento-card { min-height: 230px; } }

/* ---------- CMYK animácia (odčítavé miešanie na papieri) ---------- */
.press-svg { isolation: isolate; }
.press-svg .paper { fill: #f4f1ea; filter: drop-shadow(0 18px 40px rgba(0,0,0,.45)); }
.dot { mix-blend-mode: multiply; transform-box: fill-box; transform-origin: center; animation: breathe 6s ease-in-out infinite; }
.dot.c { fill: #00aeef; }
.dot.m { fill: #ec008c; animation-delay: -1.5s; }
.dot.y { fill: #fff200; animation-delay: -3s; }
.dot.k { fill: #231f20; stroke: none; mix-blend-mode: multiply; opacity: 1; animation-delay: -4.5s; }
.dots { animation: none; }
@keyframes breathe { 50% { transform: scale(1.07); } }
.cmyk-labels text { font-family: var(--font-heading); font-weight: 800; font-size: 22px; fill: rgba(11,12,15,.78); text-anchor: middle; }
.cmyk-labels .k-label { fill: rgba(255,255,255,.9); }

/* ---------- Logo po scrollnutí: kosoštvorec rovnako veľký, text väčší a vycentrovaný ---------- */
.rhg-logo { overflow: visible; }
.rhg-logo .lg-name { transform-box: fill-box; transform-origin: 0 50%; transition: transform .35s var(--ease); }
.site-header.is-scrolled .rhg-logo { height: 58px; }
.site-header.is-scrolled .lg-name { transform: translate(6px, 10.8px) scale(1.34); }
@media (max-width: 600px) { .site-header.is-scrolled .rhg-logo { height: 48px; } }

/* ---------- Menu: klientsky portál ---------- */
.main-nav .nav-portal { border: 2px solid var(--color-accent); color: var(--color-accent) !important; padding: 7px 16px; border-radius: 999px; transition: background .2s, color .2s; }
.main-nav .nav-portal:hover { background: var(--color-accent); color: #fff !important; }
@media (max-width: 1240px) { .main-nav .nav-portal { text-align: center; } }

/* ---------- Klientsky portál (sekcia) ---------- */
.portal-section { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.portal { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; padding: clamp(28px, 5vw, 64px);
  border-radius: 28px; background: linear-gradient(135deg, #0b0d10 0%, #10241a 100%); color: #fff; isolation: isolate; }
.portal::before { content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -140px; border-radius: 50%; background: var(--color-accent); filter: blur(110px); opacity: .35; z-index: -1; }
.portal h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.portal p { color: #c3c8cf; max-width: 520px; }
.portal-visual { position: relative; display: grid; place-items: center; min-height: 260px; }
.portal-window { width: min(100%, 360px); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px); box-shadow: 0 24px 60px rgba(0,0,0,.45); animation: bob 8s ease-in-out infinite; }
.pw-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255,255,255,.08); font-size: .72rem; color: #aab0b8; }
.pw-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); }
.pw-bar span { margin-left: 8px; }
.pw-body { padding: 26px 26px 30px; display: grid; gap: 12px; justify-items: stretch; }
.pw-lock { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(47,173,102,.25); margin: 0 auto 4px; font-size: 1.2rem; }
.pw-line { height: 10px; border-radius: 6px; background: rgba(255,255,255,.25); margin: 0 auto 6px; }
.pw-line.w60 { width: 60%; }
.pw-field { height: 38px; border-radius: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.pw-btn { height: 40px; border-radius: 999px; background: var(--color-accent); margin-top: 6px; box-shadow: 0 10px 26px rgba(47,173,102,.5); }
.chip-portal { top: 8%; right: 2%; animation-delay: -2s; }
@media (max-width: 860px) { .portal { grid-template-columns: 1fr; } .portal-visual { min-height: 0; } .chip-portal { right: 0; } }

/* ---------- Instagram feed (vlastný) ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ig-tile { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #1c1f24; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-tile:hover img { transform: scale(1.07); }
.ig-badge { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: .8rem; }
.ig-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 14px; color: #fff; font-size: .82rem;
  background: linear-gradient(transparent 35%, rgba(0,0,0,.82)); opacity: 0; transition: opacity .3s; }
.ig-cap { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ig-open { font-weight: 700; color: #8dffc0; }
.ig-tile:hover .ig-overlay, .ig-tile:focus-visible .ig-overlay { opacity: 1; }
@media (hover: none) { .ig-overlay { opacity: 1; background: linear-gradient(transparent 60%, rgba(0,0,0,.7)); } .ig-cap { display: none; } }
.ig-follow { text-align: center; margin: 28px 0 0; }
.site-header { background: color-mix(in srgb, var(--color-bg) 93%, transparent); }

/* Portál: ghost tlačidlo musí byť čitateľné na tmavom pozadí */
.section.portal-section .portal-copy .btn-ghost, .section.portal-section .btn.btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); }
.section.portal-section .btn.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.16); }

/* ---------- CMYK (finálna verzia): 3 krúžky C/M/Y, prekryvy bez blend módov ---------- */
.cmyk-venn { transform-box: view-box; transform-origin: 200px 200px; animation: vennFloat 8s ease-in-out infinite; }
.vc-m { fill: #ec008c; } .vc-y { fill: #fff200; } .vc-c { fill: #00aeef; }
.vc-my { fill: #e8111b; } .vc-mc { fill: #2e3192; } .vc-yc { fill: #00a651; } .vc-k { fill: #111; }
@keyframes vennFloat { 0%,100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.06) rotate(6deg); } }
.cmyk-labels text { fill: rgba(255,255,255,.85); }
.press-svg .paper, .dot { display: none; }

/* ---------- Instagram: malé dlaždice, rolovanie sprava doľava (bez textov) ---------- */
.ig-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ig-track { display: flex; gap: 12px; width: max-content; animation: igScroll 55s linear infinite; }
.ig-marquee:hover .ig-track { animation-play-state: paused; }
.ig-tile { flex: 0 0 auto; width: 150px; height: 150px; aspect-ratio: 1; border-radius: 14px; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-badge { top: 6px; right: 6px; width: 22px; height: 22px; font-size: .65rem; }
@keyframes igScroll { to { transform: translateX(calc(-50% - 6px)); } }
@media (max-width: 760px) {
  .ig-marquee { -webkit-mask-image: none; mask-image: none; overflow: visible; }
  .ig-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; animation: none; }
  .ig-tile { width: auto; height: auto; aspect-ratio: 1; border-radius: 10px; }
  .ig-tile.ig-dup, .ig-tile:nth-child(n+9) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ig-marquee { overflow-x: auto; } .ig-track { animation: none; }
}

/* ---------- Textilný e-shop (MALFINI) ---------- */
.textil-section { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.textil-card { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center; overflow: hidden;
  border-radius: 32px; padding: clamp(28px, 5vw, 64px) clamp(24px, 5vw, 64px) 0; color: #fff;
  background: radial-gradient(900px 500px at 100% 100%, rgba(217,35,50,.35), transparent 60%), radial-gradient(700px 500px at 0% 0%, rgba(30,70,140,.45), transparent 60%), #0b0c0f; }
.textil-copy { padding-bottom: clamp(28px, 5vw, 64px); }
.textil-logo { display: block; width: clamp(170px, 22vw, 250px); height: auto; margin-bottom: 22px; color: #fff; }
.textil-card .eyebrow { background: rgba(255,255,255,.1); color: #8dffc0; }
.textil-card h2 { color: #fff; margin: 12px 0 14px; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.1; }
.textil-card p { color: rgba(255,255,255,.78); max-width: 52ch; }
.textil-points { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 12px; }
.textil-points li { display: flex; gap: 14px; align-items: center; }
.textil-points li > span { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--color-accent); color: #fff; font-weight: 800; }
.textil-points strong { display: block; color: #fff; }
.textil-points small { color: rgba(255,255,255,.6); font-size: .85rem; }
.textil-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.textil-card .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.section.textil-section .textil-card .btn.btn-ghost { color: #fff; }
.textil-visual { position: relative; align-self: end; max-width: 420px; justify-self: center; width: 100%; }
.textil-visual img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.tv-blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .7; animation: vennFloat 9s ease-in-out infinite; }
.tv-red { width: 60%; aspect-ratio: 1; right: -10%; bottom: 10%; background: #d92332; }
.tv-blue { width: 55%; aspect-ratio: 1; left: -10%; top: 10%; background: #1f4e9c; animation-delay: -4s; }
.tv-chip1, .tv-chip2 { z-index: 2; }
.tv-chip1 { top: 12%; right: -2%; } .tv-chip2 { bottom: 14%; left: -4%; }
@media (max-width: 860px) {
  .textil-card { grid-template-columns: 1fr; }
  .textil-visual { max-width: 300px; }
  .tv-chip1 { right: 0; } .tv-chip2 { left: 0; }
}
.textil-card .eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; }
