/* PREAS – doplnky k šablóne Hervin */

/* Logo PREAS – o niečo vyššie ako pôvodné logo šablóny, lebo má širší formát */
#logo img { height: 44px; }
#logo { top: 18px; }

/* Chýbajúce údaje – viditeľne označené, kým sa nedoplnia */
.todo {
	display: inline-block;
	padding: 0 6px;
	border: 1px dashed #1e96ff;
	color: #1e96ff;
	font-size: 0.85em;
	font-weight: 400;
}

#contact-formular .form-note {
	font-size: 12px;
	line-height: 20px;
	opacity: 0.6;
	margin-bottom: 30px;
}
.company-info p { line-height: 24px; }

/* Tlačidlo „Všetky služby“ posunuté za širšie logo (aby sa neprekrývali) */
#header-container .header-middle {
	padding-left: max(50px, calc(230px - max(0px, (100vw - 1280px) / 2)));
}

/* Úvodný loader vypnutý – stránka sa otvára hneď */
.preloader-wrap { display: none !important; }

/* Tmavý prechod pod hlavičkou, aby logo a menu boli čitateľné aj na svetlých fotkách */
#page-content::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 170px;
	background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0) 100%);
	pointer-events: none;
	z-index: 900;
}

/* Animovaný obrázok sekcie 03 (js/animated-image.js) – obraz stojí, animujú sa len uzly a dáta */
.preas-anim-layer {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.preas-anim-layer canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* Nadpisy slajdera na mobile: vždy na jeden riadok (výplň má výšku jedného riadku) */
@media only screen and (max-width: 767px) {
	#showcase-holder .title { white-space: nowrap; font-size: min(50px, calc((100vw - 90px) / 9.2)); }
}
@media only screen and (max-width: 479px) {
	#showcase-holder .title { font-size: min(40px, calc((100vw - 55px) / 9.2)); }
}

/* Bez čísel sekcií pri nadpisoch (slajder aj zoznam služieb) */
#showcase-holder .title span, #showcase-slider .title span, .quick-title .q-timeline > span { display: none; }

/* ------------------------------------------------------------------
   Mobil: obraz a video bez zbytočného priblíženia
------------------------------------------------------------------ */
.hero-video-wrapper { top: 0; left: 0; width: 100%; height: 100%; min-height: 0; }
.hero-video-wrapper video.bgvid {
	top: 0; left: 0; width: 100%; height: 100%; min-width: 0; min-height: 0;
	transform: none; object-fit: cover; object-position: center;
}
/* Pozadie slajdera sa nenakláňa ani nepribližuje pri pohybe myšou (efekt šablóny vypnutý) */
#showcase-tilt { transform: none !important; }

/* ------------------------------------------------------------------
   Sklenené panely (menu + obsah)
------------------------------------------------------------------ */
header .button-wrap.menu { pointer-events: auto; }
html.gp-lock, html.gp-lock body { overflow: hidden; }

#gp {
	--gp-bg: rgba(14, 18, 30, .52);
	--gp-line: rgba(255, 255, 255, .14);
	--gp-text: #fff;
	--gp-muted: rgba(255, 255, 255, .68);
	--gp-accent: #3aa0ff;
	position: fixed; inset: 0; z-index: 1100;
	pointer-events: none;
	font-family: 'Poppins', sans-serif;
	color: var(--gp-text);
}
#gp.is-active { pointer-events: auto; }

.gp-backdrop {
	position: absolute; inset: 0;
	background: rgba(5, 8, 15, .25);
	opacity: 0; transition: opacity .45s ease;
}
#gp.is-active .gp-backdrop { opacity: 1; }

.gp-sheet {
	position: absolute; top: 0; right: 0; bottom: 0;
	background: var(--gp-bg);
	-webkit-backdrop-filter: blur(26px) saturate(150%);
	backdrop-filter: blur(26px) saturate(150%);
	border-left: 1px solid var(--gp-line);
	box-shadow: -30px 0 80px rgba(0, 0, 0, .35);
	transform: translateX(104%);
	transition: transform .6s cubic-bezier(.22, .9, .26, 1), visibility 0s linear .6s;
	visibility: hidden;
	box-sizing: border-box;
}
.gp-sheet.is-open { transform: none; visibility: visible; transition: transform .6s cubic-bezier(.22, .9, .26, 1); }
.gp-menu { width: min(420px, 100vw); padding: 120px 48px 40px; display: flex; flex-direction: column; z-index: 2; overflow-y: auto; }
.gp-page { width: min(860px, 64vw); z-index: 1; }
.gp-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 120px 72px 80px; box-sizing: border-box; -webkit-overflow-scrolling: touch; }

@media (prefers-reduced-motion: reduce) {
	.gp-sheet, .gp-sheet.is-open, .gp-backdrop { transition: none; }
}

.gp-close {
	position: absolute; top: 36px; right: 40px; width: 44px; height: 44px;
	border: 1px solid var(--gp-line); border-radius: 50%; background: rgba(255, 255, 255, .06);
	cursor: pointer; z-index: 3; transition: background .25s, transform .25s;
}
.gp-close:hover { background: rgba(255, 255, 255, .16); transform: rotate(90deg); }
.gp-close span { position: absolute; left: 12px; top: 21px; width: 19px; height: 2px; background: #fff; }
.gp-close span:first-child { transform: rotate(45deg); }
.gp-close span:last-child { transform: rotate(-45deg); }
#gp :focus-visible { outline: 2px solid var(--gp-accent); outline-offset: 3px; }

/* menu */
.gp-nav, .gp-subnav { list-style: none; margin: 0; padding: 0; }
.gp-nav > li { border-bottom: 1px solid var(--gp-line); }
.gp-nav > li > a, .gp-sub-toggle {
	display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
	font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 34px; line-height: 1.2;
	text-transform: uppercase; color: #fff; padding: 16px 0; letter-spacing: .01em;
	transition: color .25s, padding-left .3s;
}
.gp-nav > li > a:hover, .gp-sub-toggle:hover { color: var(--gp-accent); padding-left: 6px; }
.gp-sub-toggle { position: relative; }
.gp-sub-toggle::after {
	content: ''; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg); transition: transform .3s;
}
.gp-has-sub.is-collapsed .gp-sub-toggle::after { transform: translateY(-30%) rotate(-135deg); }
.gp-subnav { padding: 0 0 16px; }
.gp-has-sub.is-collapsed .gp-subnav { display: none; }
.gp-subnav a {
	display: block; padding: 9px 0 9px 18px; border-left: 2px solid var(--gp-line);
	color: #fff; font-size: 16px; font-weight: 600; transition: border-color .25s, color .25s;
}
.gp-subnav a small { display: block; color: var(--gp-muted); font-size: 13px; font-weight: 400; }
.gp-subnav a:hover { border-color: var(--gp-accent); color: var(--gp-accent); }
.gp-menu-foot { margin: auto 0 0; padding-top: 32px; color: var(--gp-muted); font-size: 13px; }

/* obsah */
.gp-view { max-width: 640px; }
.gp-view p, .gp-view li, .gp-view dd { color: rgba(255, 255, 255, .86); font-size: 16px; line-height: 1.7; }
.gp-kicker { color: var(--gp-accent) !important; font-size: 13px !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; }
.gp-title { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: clamp(40px, 6vw, 76px); line-height: 1.05; margin: 0 0 8px; color: #fff; outline: none; }
.gp-sub { font-weight: 600; font-size: 18px !important; color: #fff !important; margin: 0 0 28px; }
.gp-view h2 { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 28px; line-height: 1.2; color: #fff; margin: 48px 0 16px; text-transform: none; }
.gp-lead { font-size: 21px !important; line-height: 1.5 !important; color: #fff !important; font-weight: 300; margin: 0 0 8px; }
.gp-tags { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.gp-tags li { font-size: 13px !important; line-height: 1 !important; padding: 9px 14px; border: 1px solid var(--gp-line); border-radius: 999px; background: rgba(255, 255, 255, .06); }

.gp-acc { border-top: 1px solid var(--gp-line); }
.gp-acc:last-of-type { border-bottom: 1px solid var(--gp-line); }
.gp-acc summary {
	list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
	font-weight: 600; font-size: 17px; color: #fff; transition: color .25s;
}
.gp-acc summary::-webkit-details-marker { display: none; }
.gp-acc summary::after {
	content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
	font-size: 24px; font-weight: 300; transition: transform .3s;
}
.gp-acc[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.gp-acc summary:hover { color: var(--gp-accent); }
.gp-acc-body { padding: 0 0 20px; color: rgba(255, 255, 255, .8); font-size: 15px; line-height: 1.7; }
.gp-acc-body a { color: var(--gp-accent); }

.gp-cta { margin-top: 56px; padding: 32px; border: 1px solid var(--gp-line); border-radius: 18px; background: rgba(255, 255, 255, .05); }
.gp-cta h2 { margin-top: 0; }
.gp-btn {
	display: inline-block; margin-top: 8px; padding: 14px 26px; border-radius: 999px;
	background: #fff; color: #0b1020 !important; font-weight: 600; font-size: 15px;
	transition: background .25s, transform .25s;
}
.gp-btn:hover { background: var(--gp-accent); color: #fff !important; transform: translateY(-2px); }
.gp-next { display: block; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--gp-line); font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 36px; color: #fff; transition: color .25s; }
.gp-next span { display: block; font-family: 'Poppins', sans-serif; font-weight: 400; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gp-muted); margin-bottom: 4px; }
.gp-next:hover { color: var(--gp-accent); }

.gp-svc-list { list-style: none; padding: 0; margin: 0; }
.gp-svc-list a { display: block; padding: 16px 0; border-top: 1px solid var(--gp-line); }
.gp-svc-list li:last-child a { border-bottom: 1px solid var(--gp-line); }
.gp-svc-list strong { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; transition: color .25s; }
.gp-svc-list span { color: rgba(255, 255, 255, .75); font-size: 15px; line-height: 1.6; }
.gp-svc-list a:hover strong { color: var(--gp-accent); }

.gp-contact { margin: 32px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gp-contact > div { padding: 20px; border: 1px solid var(--gp-line); border-radius: 16px; background: rgba(255, 255, 255, .05); }
.gp-contact dt { color: var(--gp-muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.gp-contact dt i { color: var(--gp-accent); margin-right: 6px; }
.gp-contact dd { margin: 0; color: #fff !important; font-size: 15px !important; }

@media only screen and (max-width: 1024px) {
	.gp-page { width: min(760px, 86vw); }
	.gp-scroll { padding: 110px 48px 64px; }
}
@media only screen and (max-width: 767px) {
	.gp-sheet { border-left: 0; }
	.gp-menu, .gp-page { width: 100vw; }
	.gp-menu { padding: 100px 28px 32px; }
	.gp-scroll { padding: 96px 24px 56px; }
	.gp-close { top: 24px; right: 20px; }
	.gp-nav > li > a, .gp-sub-toggle { font-size: 30px; padding: 13px 0; }
	.gp-lead { font-size: 19px !important; }
	.gp-contact { grid-template-columns: 1fr; }
	.gp-cta { padding: 24px; }
	.gp-next { font-size: 28px; }
}
.gp-view[hidden] { display: none !important; }
.gp-sheet:focus { outline: none; }
.gp-page::before {
	content: ''; position: absolute; left: 0; right: 0; top: 0; height: 100px; z-index: 2; pointer-events: none;
	background: linear-gradient(to bottom, rgba(14, 18, 30, .85), rgba(14, 18, 30, 0));
}
#gp .gp-title:focus, #gp .gp-title:focus-visible { outline: none; }
.gp-contact dd a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); transition: color .25s, border-color .25s; }
.gp-contact dd a:hover { color: var(--gp-accent); border-color: var(--gp-accent); }
.gp-view { margin-left: auto; margin-right: auto; }
