/*
Theme Name: xyz3D
Theme URI: https://xyz3d.sk/
Author: xyz3D
Description: Moderná tmavá téma pre 3D tlač na zákazku. Po aktivácii vytvorí stránky, menu, 3D obrázky a videá v knižnici médií, portfólio prác (fotky a videá) a formulár nacenenia so súbormi. Firemné údaje: Vzhľad → Prispôsobiť → Firemné údaje. Logo: Vzhľad → Prispôsobiť → Identita webu.
Version: 2.6.0
Requires at least: 6.3
Tested up to: 6.9
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: xyz3d
*/

/* ---------- Písmo (uložené v téme, bez Google Fonts) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(assets/fonts/inter-latin-wght-normal.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; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(assets/fonts/inter-latin-ext-wght-normal.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: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 300 700; src: url(assets/fonts/space-grotesk-latin-wght-normal.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; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 300 700; src: url(assets/fonts/space-grotesk-latin-ext-wght-normal.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; }

/* ---------- Premenné ---------- */
:root {
	--bg: #0b0c0f;
	--bg-2: #101217;
	--surface: #15171c;
	--surface-2: #1c1f26;
	--line: rgba(255,255,255,.08);
	--line-2: rgba(255,255,255,.14);
	--text: #eceae5;
	--muted: #9a9ea8;
	--accent: #d42a1e;
	--accent-2: #eba355;
	--accent-dark: #a51e15;
	--accent-glow: rgba(212,42,30,.35);
	--steel: #9a9ea6;
	--ok: #3ccf7a;
	--err: #ff5a5a;
	--radius: 20px;
	--radius-sm: 12px;
	--container: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-head: "Space Grotesk", var(--font);
	--grad: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
	--grad-btn: linear-gradient(135deg, #e0392b 0%, #b0211a 100%);
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 .5em; font-weight: 700; color: #fff; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0 0 1em; }
mark { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
code { background: var(--surface-2); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
strong { color: #fff; font-weight: 600; }
::selection { background: var(--accent); color: #fff; }
.muted { color: var(--muted); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tlačidlá ---------- */
.btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.2; letter-spacing: -.01em;
	padding: 1em 1.6em; border-radius: 999px; border: 1px solid transparent;
	background: var(--grad-btn); color: #fff; text-decoration: none; cursor: pointer;
	box-shadow: 0 0 0 0 var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.2);
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover, .wp-block-button__link:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 30px -6px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.is-style-outline .wp-block-button__link { background: rgba(255,255,255,.04); color: #fff; border-color: var(--line-2); box-shadow: none; backdrop-filter: blur(8px); }
.is-style-outline .wp-block-button__link:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); box-shadow: none; }
.btn-sm { padding: .7em 1.2em; font-size: .92rem; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8em 0 0; }
.wp-block-buttons.is-centered { justify-content: center; margin-top: 2.5em; }

/* ---------- Hlavička ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,12,15,.72); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid var(--line); }
.is-home .site-header { position: fixed; left: 0; right: 0; background: linear-gradient(rgba(11,12,15,.75), rgba(11,12,15,0)); border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .3s, border-color .3s; }
.is-home.is-scrolled .site-header { background: rgba(11,12,15,.8); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; letter-spacing: -.04em; color: #fff; }
.logo:hover { color: #fff; }
.logo-text span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: repeating-linear-gradient(0deg, var(--accent) 0 4px, var(--accent-dark) 4px 6px); transform: rotate(45deg) scale(.8); box-shadow: 0 0 24px var(--accent-glow); }
.custom-logo-link { display: inline-flex; }
.custom-logo, .logo-img { height: 52px; width: auto; display: block; }
.site-footer .logo-img { height: 54px; }
@media (max-width: 560px) { .custom-logo, .logo-img { height: 38px; } }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav .menu { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a { display: block; padding: 10px 14px; text-decoration: none; font-weight: 500; font-size: .96rem; border-radius: 999px; color: #d9d7d2; transition: color .2s, background .2s; }
.main-nav .menu a:hover { color: #fff; background: rgba(255,255,255,.06); }
.main-nav .current-menu-item:not(.menu-item-type-custom) > a, .main-nav .current-menu-ancestor > a, .main-nav .current-page-ancestor > a { color: #fff; background: rgba(255,255,255,.08); }
.main-nav .sub-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; list-style: none; margin: 0; padding: 8px; background: rgba(21,23,28,.96); backdrop-filter: blur(14px); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; }
.main-nav .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; }
.main-nav .sub-menu a { border-radius: 10px; }
.main-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255,255,255,.04); cursor: pointer; position: relative; }
.nav-toggle > span:first-child, .nav-toggle > span:first-child::before, .nav-toggle > span:first-child::after { position: absolute; left: 11px; width: 20px; height: 2px; background: #fff; transition: .2s; content: ""; border-radius: 2px; }
.nav-toggle > span:first-child { top: 20px; }
.nav-toggle > span:first-child::before { left: 0; top: -6px; }
.nav-toggle > span:first-child::after { left: 0; top: 6px; }
.nav-open .nav-toggle > span:first-child { background: transparent; }
.nav-open .nav-toggle > span:first-child::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle > span:first-child::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
	.nav-toggle { display: block; }
	.main-nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--gutter) 28px; background: rgba(11,12,15,.98); border-bottom: 1px solid var(--line); transform: translateY(-120%); visibility: hidden; transition: transform .25s ease, visibility .25s; max-height: calc(100vh - 76px); overflow: auto; }
	.admin-bar .main-nav { top: 122px; }
	.nav-open .main-nav { transform: none; visibility: visible; }
	.nav-open .site-header { background: rgba(11,12,15,.98) !important; }
	.main-nav .menu { flex-direction: column; }
	.main-nav .menu a { padding: 14px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.main-nav .menu a:hover { background: none; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 16px; background: transparent; backdrop-filter: none; }
	.main-nav .menu-item-has-children > a::after { display: none; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ---------- Sekcie ---------- */
.entry-content > *:not(.section):not(.stats) { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding: clamp(64px, 9vw, 120px) 0; }
.section > * { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.page-content .section:first-child { padding-top: clamp(40px, 6vw, 72px); }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head > * { padding: 0; }
.section-head h2 { max-width: 16em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 1.1em; }
.section-head .eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
.section-lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 44em; margin-bottom: 0; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #c9c7c2; max-width: 36em; }
.note { font-size: .95rem; color: var(--muted); margin-top: 2em; }
.legal .note, .page-content .note:first-child { background: rgba(212,42,30,.08); color: var(--text); border: 1px solid rgba(212,42,30,.3); padding: 12px 16px; border-radius: var(--radius-sm); }

/* stĺpce */
.wp-block-columns { display: flex; gap: clamp(18px, 2.4vw, 28px); margin: 0 auto; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
@media (max-width: 880px) {
	.wp-block-columns { flex-direction: column; }
	.wp-block-column[style*="flex-basis"] { flex-basis: auto !important; }
}
.split { align-items: center; gap: clamp(32px, 6vw, 88px); }
.split .section-head { margin-bottom: 1.4em; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(32px, 4vw, 64px);
	min-height: min(88vh, 860px); padding: 130px max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))) 80px; overflow: hidden; isolation: isolate;
	background: radial-gradient(50% 60% at 78% 50%, rgba(212,42,30,.16) 0%, rgba(212,42,30,0) 70%), var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(60% 70% at 75% 50%, #000 0%, transparent 75%); mask-image: radial-gradient(60% 70% at 75% 50%, #000 0%, transparent 75%); }
.hero > * { max-width: none; margin: 0; padding: 0; }
.hero > .hero-video { grid-column: 2; grid-row: 1; position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2); background: #000;
	box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 0 8px rgba(255,255,255,.03), 0 30px 120px -40px var(--accent-glow); }
.hero > .hero-video video { width: 100%; height: auto !important; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.hero-content { grid-column: 1; grid-row: 1; }
.hero-content > * { max-width: 600px; }
.hero h1 { margin-bottom: .3em; font-size: clamp(2.5rem, 4.8vw, 4.4rem); }
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(60,207,122,.2); }
@media (max-width: 980px) {
	.hero { grid-template-columns: 1fr; min-height: auto; padding-top: 100px; padding-bottom: 56px; gap: 32px; }
	.hero > .hero-video { grid-column: 1; grid-row: 1; border-radius: 18px; }
	.hero-content { grid-row: 2; }
}

/* pás s číslami */
.stats { position: relative; z-index: 2; margin-top: -1px; border-block: 1px solid var(--line); background: var(--bg); }
.stats-grid { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); gap: 0 !important; }
.stat { padding: 30px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--font-head); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -.03em; margin: 0 0 .1em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.15; }
.stat-label { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 880px) {
	.stats-grid { display: grid !important; grid-template-columns: 1fr 1fr; }
	.stat { padding: 22px 16px; border-left: 0; border-top: 1px solid var(--line); }
	.stat:nth-child(-n+2) { border-top: 0; }
	.stat:nth-child(odd) { padding-left: 0; }
	.stat:nth-child(even) { border-left: 1px solid var(--line); }
}

/* ---------- Karty ---------- */
.card { position: relative; background: linear-gradient(180deg, var(--surface) 0%, rgba(21,23,28,.6) 100%); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.card > *:last-child { margin-bottom: 0; }
.card:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 24px 60px -24px rgba(0,0,0,.7); }
.card p { color: #bdbbb6; }
.card h3 a { text-decoration: none; }
.card-media { padding: 0 0 26px; overflow: hidden; }
.card-media > *:not(.card-img) { margin-inline: 26px; }
.card-media .card-img { margin: 0 0 22px; overflow: hidden; border-bottom: 1px solid var(--line); }
.card-media .card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.card-media:hover .card-img img { transform: scale(1.04); }
.material .card-img img { aspect-ratio: 1; }
.card-link { margin-top: 1.2em; }
.card-link a { font-weight: 600; text-decoration: none; color: var(--accent-2); }
.card-link a:hover { color: #fff; }
.cards-3 > .card, .cards-4 > .card { display: flex; flex-direction: column; }
@media (min-width: 881px) and (max-width: 1100px) { .cards-4 { flex-wrap: wrap; } .cards-4 > .card { flex: 1 1 calc(50% - 28px); } }
.step-card .step-num { font-family: var(--font-head); font-size: 3.6rem; font-weight: 700; line-height: 1; margin-bottom: .35em; color: transparent; -webkit-text-stroke: 1.5px rgba(235,163,85,.6); }
.rounded-img, .rounded-video { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); margin: 0; }
.rounded-img img, .rounded-video video { width: 100%; }

/* ceny */
.price-label { font-family: var(--font-head); font-weight: 600; color: var(--muted) !important; margin-bottom: .1em; }
.price { font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; letter-spacing: -.03em; color: #fff !important; margin-bottom: .35em; line-height: 1.2; }
.card-featured { border-color: rgba(212,42,30,.55); box-shadow: 0 0 0 1px rgba(212,42,30,.2), 0 30px 80px -40px var(--accent-glow); }
.card-featured::before { content: "Najčastejšie"; position: absolute; top: 16px; right: 16px; z-index: 2; background: var(--grad-btn); color: #fff; font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.wp-block-table { margin: 2.5em auto 0; }
.wp-block-table table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.wp-block-table thead { border-bottom: 0; }
.wp-block-table th, .wp-block-table td { text-align: left; padding: 16px 22px; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.wp-block-table thead th { background: var(--surface-2); color: var(--muted); font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.wp-block-table tr:last-child td { border-bottom: 0; }
.wp-block-table td:last-child { font-weight: 600; color: #fff; }
.plain-table td:first-child { color: var(--muted); width: 40%; }
@media (max-width: 640px) { .wp-block-table { overflow-x: auto; } .wp-block-table th, .wp-block-table td { padding: 12px 14px; } }

/* kroky */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.5em 0 0; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 24px 58px; color: #c9c7c2; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: -3px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; background: rgba(212,42,30,.12); color: var(--accent-2); border: 1px solid rgba(212,42,30,.35); }
.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 4px; width: 1px; background: linear-gradient(var(--line-2), transparent); }
.steps-small > li { padding-left: 44px; padding-bottom: 16px; font-size: .95rem; }
.steps-small > li::before { width: 30px; height: 30px; border-radius: 9px; font-size: .88rem; top: -2px; }
.steps-small > li:not(:last-child)::after { left: 14px; top: 32px; }
.checklist { list-style: none; padding: 0; margin: 1.2em 0 0; }
.checklist li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line); color: #c9c7c2; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* referencie */
.quote { font-size: 1.08rem; position: relative; padding-top: 38px; color: var(--text) !important; }
.quote::before { content: "“"; position: absolute; top: -14px; left: -4px; font-family: var(--font-head); font-size: 4.4rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote-author { font-size: .95rem; border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; }

/* referencie – rolujúci pás, keď ich je viac, než sa zmestí na šírku */
.testimonials.is-marquee { display: block; overflow: hidden; position: relative; padding-block: 8px;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.testimonials .marquee-track { display: flex; gap: var(--gap, 24px); width: max-content; animation: xyz-marquee var(--dur, 40s) linear infinite; }
.testimonials.is-marquee:hover .marquee-track, .testimonials.is-marquee:focus-within .marquee-track { animation-play-state: paused; }
.testimonials .marquee-track > .card { flex: 0 0 var(--card-w, 360px); width: var(--card-w, 360px); display: flex; flex-direction: column; }
.testimonials .marquee-track > .card:hover { transform: none; }
@keyframes xyz-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--gap, 24px) / 2)); } }
@media (prefers-reduced-motion: reduce) {
	.testimonials.is-marquee { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; }
	.testimonials .marquee-track { animation: none; }
	.testimonials .marquee-track > .card { scroll-snap-align: start; }
	.testimonials .marquee-track > [aria-hidden="true"] { display: none; }
}

/* FAQ */
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin: 0 0 10px; transition: border-color .2s, background .2s; }
.faq[open] { border-color: rgba(212,42,30,.45); background: var(--surface-2); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; position: relative; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); font-size: 1.2rem; transition: transform .25s, background .25s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--accent); }
.faq > p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* CTA pás */
.cta-band { text-align: center; overflow: hidden; isolation: isolate; background: var(--bg); }
.cta-band::before { content: ""; position: absolute; inset: 24px var(--gutter); max-width: calc(var(--container) - 2 * var(--gutter)); margin: 0 auto; border-radius: 32px; z-index: -1;
	background: radial-gradient(120% 140% at 50% 0%, rgba(235,163,85,.6) 0%, rgba(212,42,30,.95) 38%, #6e140e 100%);
	box-shadow: 0 40px 120px -40px var(--accent-glow); }
.cta-band::after { content: ""; position: absolute; inset: 24px var(--gutter); max-width: calc(var(--container) - 2 * var(--gutter)); margin: 0 auto; border-radius: 32px; z-index: -1; background: repeating-linear-gradient(0deg, transparent 0 9px, rgba(0,0,0,.07) 9px 10px); }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { font-size: 1.15rem; max-width: 34em; margin-inline: auto; opacity: .92; }
.cta-band .wp-block-buttons { justify-content: center; }
.cta-band .wp-block-button__link { background: var(--bg); box-shadow: none; }
.cta-band .wp-block-button__link:hover { background: #000; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.cta-band .is-style-outline .wp-block-button__link { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }

/* ---------- Portfólio ---------- */
.work-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.work-filter button { font: 500 .95rem var(--font); color: #d9d7d2; background: var(--surface); border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: .2s; }
.work-filter button:hover { border-color: var(--line-2); color: #fff; }
.work-filter button.is-active { background: var(--grad-btn); border-color: transparent; color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }
.work { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.work.is-hidden { display: none; }
.work:hover { transform: translateY(-4px); border-color: var(--line-2); }
.work-link { display: block; text-decoration: none; color: inherit; }
.work-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work:hover .work-media img { transform: scale(1.05); }
.work-noimg { display: grid; place-items: center; height: 100%; color: var(--muted); }
.work-badge { position: absolute; top: 12px; left: 12px; background: rgba(11,12,15,.75); backdrop-filter: blur(6px); color: #fff; font-size: .78rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.work-body { padding: 18px 22px 22px; }
.work-cat { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 .4em; font-weight: 600; }
.work-body h3 { margin: 0; font-size: 1.15rem; }
.work-price { font-family: var(--font-head); font-weight: 700; color: #fff; margin: .5em 0 0; font-size: 1.15rem; }
.admin-hint { border: 1px dashed rgba(235,163,85,.5); background: rgba(212,42,30,.06); border-radius: var(--radius); padding: 22px 26px !important; color: #e6c3a7; }
.admin-hint a { color: #fff; }
.work-detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding-block: 48px 96px; align-items: start; }
.work-detail-img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 24px; }
.work-detail .video-embed { margin-bottom: 24px; }
.work-detail-content > * { max-width: none !important; padding: 0 !important; }
.work-detail-content .wp-block-gallery { gap: 12px; }
.work-detail-content .wp-block-gallery img { border-radius: var(--radius-sm); }
.work-detail-aside { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.work-detail-aside dl { margin: 0 0 20px; }
.work-detail-aside dt { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.work-detail-aside dd { margin: 2px 0 14px; color: #fff; font-weight: 500; }
.work-detail-aside .btn { width: 100%; }
.work-detail-aside .muted { font-size: .88rem; margin: 14px 0 0; }
@media (max-width: 880px) { .work-detail { grid-template-columns: 1fr; } .work-detail-aside { position: static; } }

/* ---------- Videá ---------- */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.video-grid-1 { grid-template-columns: repeat(2, 1fr); }
.video-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .video-grid, .video-grid-3 { grid-template-columns: 1fr; } }
.video-card { margin: 0; }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-card figcaption { margin-top: 12px; font-family: var(--font-head); font-weight: 600; color: #fff; }
.video-card figcaption a { text-decoration: none; }

/* odkazy */
.area-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.area-chips li { padding: 9px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-weight: 500; color: #d9d7d2; }
.area-chips li:first-child, .area-chips li:nth-child(4) { border-color: rgba(212,42,30,.5); color: #fff; }
.link-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.link-chips a { display: inline-block; padding: 9px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; }
.link-chips a:hover { border-color: var(--accent); color: #fff; }

/* kontakt */
.contact-big { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; line-height: 1.35; color: #fff !important; }
.contact-big a { text-decoration: none; }
.contact-big a:hover { color: var(--accent-2); }

/* ---------- Podstránky ---------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate;
	background: radial-gradient(60% 120% at 85% 0%, rgba(212,42,30,.16) 0%, rgba(212,42,30,0) 60%), var(--bg); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(70% 100% at 80% 0%, #000 0%, transparent 80%); mask-image: radial-gradient(70% 100% at 80% 0%, #000 0%, transparent 80%); }
.page-hero.has-bg { padding-top: clamp(72px, 10vw, 140px); padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,12,15,.95) 0%, rgba(11,12,15,.82) 45%, rgba(11,12,15,.55) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(11,12,15,0) 40%); }
.page-hero.has-bg::before { display: none; }
.material .card-img { display: none; }
.material { padding-top: 26px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 16em; }
.page-hero .lead { margin-bottom: 0; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 1.2em; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.legal h2 { font-size: 1.45rem; margin-top: 1.8em; }
.legal > * { max-width: 860px; }
.legal p, .legal li { color: #c9c7c2; }

/* ---------- Formulár ---------- */
.form-layout { gap: clamp(28px, 4vw, 56px); align-items: flex-start; }
.form-aside { align-self: flex-start; position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form-aside h3 { font-size: 1.1rem; }
.form-aside h3:not(:first-child) { margin-top: 1.4em; }
.quote-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.quote-form fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.quote-form legend { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; color: #fff; }
.quote-form legend > span { width: 32px; height: 32px; border-radius: 10px; background: var(--grad-btn); color: #fff; display: grid; place-items: center; font-size: .95rem; }
.quote-form legend small { font-family: var(--font); font-weight: 400; font-size: .9rem; color: var(--muted); }
.grid-2, .grid-3 { display: grid; gap: 0 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 500; font-size: .92rem; margin-bottom: 7px; color: #d9d7d2; }
.req { color: var(--accent-2); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=url], .field select, .field textarea {
	width: 100%; font: inherit; font-size: 1rem; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg-2); color: #fff; transition: border-color .15s, box-shadow .15s, background .15s; }
.field ::placeholder { color: #6d717b; }
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: var(--surface); color: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #0e1014; box-shadow: 0 0 0 4px rgba(212,42,30,.15); }
.field-help { font-size: .82rem; color: var(--muted); margin: 6px 0 0; }
.field-error { font-size: .88rem; color: var(--err); margin: 6px 0 0; font-weight: 500; }
.has-error input, .has-error select, .has-error textarea, .has-error .dropzone { border-color: var(--err) !important; }
.dropzone { position: relative; border: 1.5px dashed rgba(255,255,255,.2); border-radius: var(--radius); background: var(--bg-2); padding: 30px 20px; text-align: center; transition: border-color .15s, background .15s; }
.dropzone.is-drag, .dropzone:hover { border-color: var(--accent); background: rgba(212,42,30,.06); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone p { margin: 0; color: var(--muted); }
.dropzone u { color: var(--accent-2); text-decoration-thickness: 1.5px; }
.dropzone small { font-size: .83rem; }
.dropzone-files { list-style: none; padding: 0; margin: 12px 0 0; font-weight: 600; font-size: .92rem; color: #fff; }
.dropzone-files li::before { content: "✓ "; color: var(--ok); }
.field-check label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .95rem; color: #c9c7c2; }
.field-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.hp { position: absolute !important; left: -9999px; }
.form-submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 24px; }
.form-submit p { margin: 0; font-size: .92rem; color: var(--muted); max-width: 26em; }
.form-submit .btn { font-size: 1.05rem; padding: 1.05em 2.1em; }
.form-errors { background: rgba(255,90,90,.08); border: 1px solid rgba(255,90,90,.4); padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 24px; }
.form-product { background: rgba(212,42,30,.1); border: 1px solid rgba(212,42,30,.35); padding: 12px 16px; border-radius: var(--radius-sm); }
.form-success { background: var(--surface); border: 1px solid rgba(60,207,122,.5); border-radius: var(--radius); padding: 36px; }
.form-success h2 { color: var(--ok); font-size: 1.7rem; }

/* ---------- Pätička ---------- */
.site-footer { background: #08090b; color: var(--muted); font-size: .95rem; padding-top: 72px; border-top: 1px solid var(--line); }
.site-footer a { color: #d9d7d2; text-decoration: none; }
.site-footer a:hover { color: var(--accent-2); }
.site-footer .logo { margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-title { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer .muted { color: #6d717b; }
.site-footer .btn { color: #fff; margin-top: 6px; }
.footer-brand p { max-width: 22em; }
.social-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.social-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); color: #d9d7d2 !important; transition: background .2s, color .2s, transform .2s, border-color .2s; }
.social-btn:hover { transform: translateY(-2px); color: #fff !important; border-color: transparent; }
.social-facebook:hover { background: #1877f2; }
.social-instagram:hover { background: radial-gradient(circle at 30% 110%, #fdc75c 0%, #f56040 40%, #c13584 70%, #5851db 100%); }
.social-youtube:hover { background: #ff0000; }
.social-printables:hover { background: #fa6831; }
.social-makerworld:hover { background: #00ae42; }
.footer-social { margin-top: 18px; }
.header-social { gap: 6px; }
.header-social .social-btn { width: 34px; height: 34px; border-radius: 10px; }
.header-social svg { width: 16px; height: 16px; }
@media (min-width: 981px) and (max-width: 1180px) { .header-social { display: none; } }
@media (max-width: 980px) { .header-social { justify-content: flex-start; padding-top: 6px; } .header-social .social-btn { width: 42px; height: 42px; } }
.contact-social { margin-top: 10px; }
.footer-areas { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .86rem; color: #6d717b; }
.footer-areas p { margin: 0; max-width: 70em; }
.footer-areas strong { color: var(--muted); font-weight: 500; }
.footer-areas a { color: var(--accent-2); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 22px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid var(--line); font-size: .86rem; color: #6d717b; }
.footer-bottom p { margin: 0; }
.footer-bottom a { margin-left: 20px; color: var(--muted); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom a { margin: 0 16px 0 0; } }

/* ---------- Animácie pri posúvaní ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
	.js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Blog (záloha) ---------- */
.post-list { display: grid; gap: 20px; padding-block: 40px; }
.post-list h2 { font-size: 1.5rem; }
.post-list h2 a { text-decoration: none; }
.page-content > .wp-block-buttons { padding-block: 40px; }
