/* ============================================================
   GASLINK s.r.o. — Design System
   Brand: #2357E5 (electric blue) + #0B1120 (ink) on light
   ============================================================ */

:root {
  --blue: #2357E5;
  --blue-600: #1d4ed8;
  --blue-700: #1740b8;
  --blue-glow: rgba(35, 87, 229, .45);
  --ink: #0B1120;
  --ink-2: #131a2e;
  --slate: #5b6478;
  --muted: #8a92a6;
  --line: #e7eaf2;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --bg-soft-2: #eef2fb;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 14px rgba(11,17,32,.06);
  --shadow: 0 18px 50px rgba(11,17,32,.10);
  --shadow-blue: 0 18px 44px rgba(35,87,229,.32);
  --container: 1200px;
  --ease: cubic-bezier(.16,.84,.44,1);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.h-xl { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
.h-lg { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.h-md { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--slate); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--blue); border-radius: 2px; }
.text-grad {
  background: linear-gradient(100deg, var(--blue), #5b8bff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .92rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: .98rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 54px rgba(35,87,229,.45); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-light { background:#fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, box-shadow .4s, padding .4s;
  padding: 16px 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 6px 24px rgba(11,17,32,.07);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; transition: height .3s; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 9px 15px; font-weight: 600; font-size: .96rem; color: var(--ink-2);
  border-radius: 10px; transition: color .25s, background .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--blue); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--blue); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--blue); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.header-phone svg { width: 18px; height: 18px; color: var(--blue); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); align-items: center; justify-content: center; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: .3s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger.open span { background: transparent; }
.burger.open span::before { top: 0; transform: rotate(45deg); }
.burger.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: radial-gradient(120% 120% at 80% 0%, #16224a 0%, var(--ink) 45%, #05080f 100%);
  color: #fff; overflow: hidden; padding: 130px 0 80px;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: .9; }
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .26; mix-blend-mode: luminosity;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,8,15,.85) 0%, rgba(5,8,15,.45) 45%, rgba(5,8,15,.1) 100%);
}
.hero .container { position: relative; z-index: 3; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem; border-radius: 999px;
  background: rgba(35,87,229,.16); border: 1px solid rgba(95,139,255,.4); color: #cdd9ff;
  font-size: .82rem; font-weight: 600; margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #5b8bff; box-shadow: 0 0 0 0 rgba(91,139,255,.7); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(91,139,255,.6)} 70%{box-shadow:0 0 0 12px rgba(91,139,255,0)} 100%{box-shadow:0 0 0 0 rgba(91,139,255,0)} }
.hero h1 { font-size: clamp(1.5rem, 2.5vw, 2.35rem); color: #fff; }
.hero h1 .text-grad { background: linear-gradient(100deg,#5b8bff,#9db8ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { color: #b9c2d8; margin: 22px 0 32px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; gap: 14px; margin-top: 46px; }
.hero-stat {
  flex: 1; padding: 18px 16px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px);
}
.hero-stat b { display: block; font-size: 1.8rem; font-weight: 800; background: linear-gradient(100deg,#5b8bff,#fff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stat span { font-size: .82rem; color: #aab4cc; }
.hero-visual { position: relative; }
.hero-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.12);
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); transition: transform .6s var(--ease);
}
.hero-card:hover { transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.hero-float {
  position: absolute; left: -26px; bottom: 34px; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: rgba(255,255,255,.95); color: var(--ink); border-radius: 16px; box-shadow: var(--shadow);
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.hero-float .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.hero-float b { font-size: .98rem; } .hero-float span { font-size: .78rem; color: var(--slate); display: block; }

/* scroll cue */
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; color: #9fb0d8; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue .m { width: 22px; height: 36px; border: 2px solid rgba(159,176,216,.5); border-radius: 12px; position: relative; }
.scroll-cue .m::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; background: #9fb0d8; border-radius: 2px; transform: translateX(-50%); animation: wheel 1.8s infinite; }
@keyframes wheel { 0%{opacity:0; top:7px} 40%{opacity:1} 100%{opacity:0; top:18px} }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-soft { background: var(--bg-soft); }
.section-ink { background: var(--ink); color: #fff; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 16px; }
.section-ink .section-head h2 { color: #fff; }
.section-ink .lead { color: #aab4cc; }

/* logo marquee */
.trust { padding: 30px 0; border-block: 1px solid var(--line); background: #fff; }
.trust-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--slate); font-weight: 600; font-size: .92rem; }
.trust-item svg { width: 22px; height: 22px; color: var(--blue); }

/* ---------- Intro / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.split-media .badge-exp {
  position: absolute; right: -18px; bottom: -18px; background: var(--blue); color: #fff;
  border-radius: 20px; padding: 20px 24px; box-shadow: var(--shadow-blue); text-align: center;
}
.split-media .badge-exp b { font-size: 2.2rem; display: block; line-height: 1; }
.split-media .badge-exp span { font-size: .8rem; opacity: .9; }
.check-list { margin-top: 26px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink-2); }
.check-list .ci { flex: none; width: 26px; height: 26px; border-radius: 8px; background: rgba(35,87,229,.12); color: var(--blue); display: grid; place-items: center; }
.check-list .ci svg { width: 15px; height: 15px; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.cat-card {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  overflow: hidden;
}
.cat-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg,var(--blue),#5b8bff); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card:hover::before { transform: scaleX(1); }
.cat-ic { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(140deg,#eaf0ff,#dbe6ff); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; transition: .4s; }
.cat-ic svg { width: 28px; height: 28px; }
.cat-card:hover .cat-ic { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.05); }
.cat-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.cat-card p { color: var(--slate); font-size: .95rem; }
.cat-card .mini { margin-top: 16px; display: grid; gap: 8px; }
.cat-card .mini li { font-size: .86rem; color: var(--ink-2); display: flex; gap: 8px; align-items: flex-start; }
.cat-card .mini li::before { content: ""; flex: none; margin-top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.svc-card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.svc-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.08); }
.svc-tag { position: absolute; left: 14px; top: 14px; background: rgba(11,17,32,.78); color: #fff; font-size: .74rem; font-weight: 600; padding: .35rem .7rem; border-radius: 999px; backdrop-filter: blur(6px); }
.svc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.svc-body p { color: var(--slate); font-size: .92rem; flex: 1; }
.svc-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); font-size: .92rem; }
.svc-link svg { width: 16px; height: 16px; transition: transform .3s; }
.svc-card:hover .svc-link svg { transform: translateX(5px); }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.why-card {
  display: flex; gap: 18px; padding: 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  transition: transform .4s var(--ease), background .4s, border-color .4s;
}
.why-card:hover { transform: translateY(-6px); background: rgba(35,87,229,.1); border-color: rgba(95,139,255,.4); }
.why-ic { flex: none; width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(140deg,var(--blue),#1740b8); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-blue); }
.why-ic svg { width: 28px; height: 28px; }
.why-card h3 { color: #fff; font-size: 1.18rem; margin-bottom: 8px; }
.why-card p { color: #aab4cc; font-size: .94rem; }

/* counters */
.counters { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-top: 56px; }
.counter { text-align: center; padding: 26px 14px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.counter b { font-size: clamp(2rem,4vw,3rem); font-weight: 800; background: linear-gradient(100deg,#5b8bff,#fff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: block; }
.counter span { color: #aab4cc; font-size: .9rem; }

/* ---------- Projects ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.proj-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.proj-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.proj-card:hover img { transform: scale(1.08); }
.proj-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,8,15,.9) 0%, rgba(5,8,15,.1) 55%, transparent 100%); }
.proj-info { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px; color: #fff; transform: translateY(8px); transition: transform .4s var(--ease); }
.proj-card:hover .proj-info { transform: translateY(0); }
.proj-info .pcat { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5b8bff; }
.proj-info h3 { color: #fff; font-size: 1.1rem; margin: 6px 0; }
.proj-info p { color: #c4ccdc; font-size: .86rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .4s; }
.proj-card:hover .proj-info p { max-height: 90px; opacity: 1; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(40px,6vw,72px); color: #fff; box-shadow: var(--shadow); }
.cta-band .cta-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(110deg, rgba(35,87,229,.95) 0%, rgba(17,40,120,.9) 55%, rgba(11,17,32,.85) 100%); }
.cta-band .cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 620px; }
.cta-band p { color: #dbe4ff; margin-top: 12px; max-width: 560px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(26px,4vw,40px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .96rem; color: var(--ink); background: var(--bg-soft); transition: border-color .25s, background .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(35,87,229,.12); }
.field textarea { resize: vertical; min-height: 130px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--slate); margin: 6px 0 18px; }
.consent input { margin-top: 4px; accent-color: var(--blue); }
.form-msg { display: none; padding: 13px 16px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 600; margin-top: 14px; }
.form-msg.ok { display: block; background: #e8f7ee; color: #136c34; }
.form-msg.err { display: block; background: #fbe9e9; color: #a4231b; }

/* contact info cards */
.info-list { display: grid; gap: 14px; }
.info-item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease); }
.info-item:hover { transform: translateX(6px); }
.info-ic { flex: none; width: 50px; height: 50px; border-radius: 14px; background: rgba(35,87,229,.12); color: var(--blue); display: grid; place-items: center; }
.info-ic svg { width: 22px; height: 22px; }
.info-item b { display: block; font-size: 1.02rem; }
.info-item span { color: var(--slate); font-size: .9rem; }
.map-wrap { position: relative; min-height: 320px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; padding: 160px 0 70px; background: radial-gradient(120% 120% at 80% 0%, #16224a 0%, var(--ink) 55%, #05080f 100%); color: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(95,139,255,.18) 1px, transparent 1px); background-size: 26px 26px; opacity: .5; mask-image: radial-gradient(60% 80% at 80% 10%, #000, transparent); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem,4.4vw,3.3rem); }
.page-hero p { color: #aab4cc; margin-top: 14px; max-width: 640px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: #8a96b4; margin-bottom: 18px; }
.breadcrumb a:hover { color: #5b8bff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: .6; }

/* ---------- Service detail ---------- */
.svc-detail { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: start; }
.svc-detail-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.svc-detail h2 { margin: 26px 0 14px; }
.svc-detail p { color: var(--slate); }
.feature-list { margin-top: 22px; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--bg-soft); border-radius: var(--radius-sm); border: 1px solid var(--line); font-weight: 500; }
.feature-list .ci { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.feature-list .ci svg { width: 16px; height: 16px; }
.svc-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.aside-card.dark { background: var(--ink); color: #fff; border: none; }
.aside-card.dark h3 { color: #fff; }
.aside-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.aside-card p { font-size: .92rem; }
.aside-list { display: grid; gap: 6px; margin-top: 8px; }
.aside-list a { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 10px; font-weight: 600; font-size: .9rem; color: var(--ink-2); transition: background .25s, color .25s; }
.aside-list a:hover, .aside-list a.active { background: rgba(35,87,229,.1); color: var(--blue); }
.aside-list a svg { width: 15px; height: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aab4cc; padding: 70px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 32px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .92rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col li { font-size: .92rem; transition: color .25s; }
.footer-col a:hover { color: #5b8bff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: #5b8bff; flex: none; margin-top: 3px; }
.footer-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom a:hover { color: #5b8bff; }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { [data-reveal]{opacity:1;transform:none;transition:none} html{scroll-behavior:auto} }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(11,17,32,.97); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  opacity: 0; visibility: hidden; transition: opacity .35s; padding: 80px 24px;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a { color: #fff; font-size: 1.4rem; font-weight: 700; padding: 12px 20px; }
.mobile-menu a:hover { color: #5b8bff; }
.mobile-menu .mm-cta { margin-top: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 460px; }
  .why-grid, .cat-grid, .svc-grid, .proj-grid, .counters { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .svc-detail { grid-template-columns: 1fr; }
  .svc-aside { position: static; }
}
@media (max-width: 760px) {
  .nav, .header-phone { display: none; }
  .burger { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .cat-grid, .svc-grid, .proj-grid, .why-grid, .counters, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; }
  .hero { padding-top: 110px; min-height: auto; }
  .cta-band .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
  .split-media .badge-exp { right: 16px; bottom: -14px; padding: 14px 18px; }
}

/* ---------- Language switcher ---------- */
.lang-switch { display: flex; align-items: center; gap: 2px; background: var(--bg-soft); border-radius: 999px; padding: 3px; }
.lang-switch a { padding: 5px 11px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--slate); transition: background .25s, color .25s; }
.lang-switch a:hover { color: var(--blue); }
.lang-switch a.active { background: var(--blue); color: #fff; }
.mobile-menu .lang-switch { margin-top: 22px; background: rgba(255,255,255,.1); }
.mobile-menu .lang-switch a { color: #cdd9ff; }
.mobile-menu .lang-switch a.active { background: var(--blue); color: #fff; }
@media (max-width: 760px) { .header-cta .lang-switch { display: none; } }

/* ---------- CMS Admin ---------- */
.admin-gate { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 60px 20px; background: var(--bg-soft); }
.admin-gate-card { background: #fff; border-radius: 20px; padding: 38px 34px; width: 100%; max-width: 380px; box-shadow: var(--shadow); text-align: center; }
.admin-gate-card img { height: 32px; margin-bottom: 18px; }
.admin-gate-card h1 { font-size: 1.3rem; margin-bottom: 6px; }
.admin-gate-card p { color: var(--slate); font-size: .9rem; margin-bottom: 18px; }
.admin-gate-card input { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 1rem; margin-bottom: 12px; font-family: inherit; }
.admin-gate-card input:focus { outline: none; border-color: var(--blue); }
.admin-err { color: #c0392b; font-size: .85rem; min-height: 18px; margin-bottom: 6px; }
.admin { background: var(--bg-soft); min-height: 80vh; padding-bottom: 90px; }
.admin-top { background: #fff; border-bottom: 1px solid var(--line); padding: 16px 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.admin-langs { display: flex; gap: 4px; background: var(--bg-soft); border-radius: 999px; padding: 3px; }
.admin-langs button { padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .82rem; color: var(--slate); }
.admin-langs button.active { background: var(--blue); color: #fff; }
.admin-wrap { max-width: 1080px; margin: 0 auto; padding: 22px; display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.admin-tabs { position: sticky; top: 16px; display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.admin-tabs button { text-align: left; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.admin-tabs button:hover { background: var(--bg-soft); }
.admin-tabs button.active { background: var(--blue); color: #fff; }
.admin-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.admin-panel h3 { font-size: 1.15rem; margin-bottom: 16px; }
.admin-hint { color: var(--slate); font-size: .86rem; margin-bottom: 16px; }
.admin-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 14px; background: #fbfcfe; }
.admin-card b { display: block; margin-bottom: 12px; font-size: .95rem; }
.admin-save { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; z-index: 30; }
.admin-msg { font-size: .85rem; color: var(--slate); }
.admin .field input, .admin .field textarea { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; font-size: .92rem; font-family: inherit; background: #fbfcfe; }
.admin .field label { display: block; font-weight: 600; font-size: .82rem; margin-bottom: 6px; }
.admin .field { margin-bottom: 13px; }
@media (max-width: 820px) { .admin-wrap { grid-template-columns: 1fr; } .admin-tabs { position: static; grid-auto-flow: column; overflow-x: auto; } }

/* ============================================================
   HEADER FIXES — logo visibility + no wrapping
   ============================================================ */
.header-inner { flex-wrap: nowrap; gap: 14px; }
.nav { gap: 0; flex-wrap: nowrap; }
.nav a { white-space: nowrap; padding: 9px 11px; font-size: .94rem; }
.header-cta { gap: 12px; flex-wrap: nowrap; }
.header-phone { white-space: nowrap; }
.brand { flex: none; }
.brand img { height: 30px; }
/* logo white while header is transparent over dark hero; normal once scrolled (light bg) */
.site-header:not(.scrolled) .brand img { filter: brightness(0) invert(1); }
.site-header.scrolled .brand img { filter: none; }
/* lang switch over dark hero */
.site-header:not(.scrolled) .lang-switch { background: rgba(255,255,255,.12); }
.site-header:not(.scrolled) .lang-switch a { color: #cdd9ff; }
.site-header:not(.scrolled) .lang-switch a.active { background: var(--blue); color: #fff; }
.site-header:not(.scrolled) .header-phone { color: #fff; }
.site-header:not(.scrolled) .nav a { color: #e7ecf7; }
.site-header:not(.scrolled) .nav a:hover, .site-header:not(.scrolled) .nav a.active { color: #fff; }
/* hide phone a bit earlier to avoid crowding on mid-size screens */
@media (max-width: 1150px) { .header-phone { display: none; } }

/* ---------- doplnky PHP verzie ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0; font-weight: 600; }
.skip-link:focus { left: 0; }

/* pasca na roboty */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* stavove hlasky formulara */
.form-msg[hidden] { display: none; }
.form-msg.err { background: #fdecec; color: #a11; border: 1px solid #f3c3c3; padding: 12px 14px; border-radius: 10px; margin-top: 14px; font-weight: 600; }

/* administracia — zalozky a jazyky su odkazy, nie tlacidla */
.admin-langs a { padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .82rem; color: var(--slate); text-decoration: none; }
.admin-langs a.active { background: var(--blue); color: #fff; }
.admin-tabs a { display: block; text-align: left; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--ink); text-decoration: none; }
.admin-tabs a:hover { background: var(--bg-soft); }
.admin-tabs a.active { background: var(--blue); color: #fff; }
.admin-gate-card form { margin: 0; }
.admin-gate-card .btn { margin-top: 4px; }
.admin-flash { max-width: 1080px; margin: 18px auto -6px; padding: 12px 16px; border-radius: 10px; font-weight: 600; font-size: .9rem; }
.admin-flash.ok { background: #e8f7ee; color: #146b35; border: 1px solid #b6e4c6; }
.admin-flash.err { background: #fdecec; color: #a11; border: 1px solid #f3c3c3; }
.admin .field .admin-hint { display: inline; margin: 0; font-weight: 400; }

/* ---------- lista so suhlasom s cookies ---------- */
.cookiebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 40px rgba(11,17,32,.14); animation: cb-up .35s var(--ease) both; }
.cookiebar[hidden] { display: none; }
@keyframes cb-up { from { transform: translateY(100%); } to { transform: none; } }
.cookiebar-inner { max-width: 1200px; margin: 0 auto; padding: 18px 22px; display: flex; align-items: center; gap: 26px; }
.cookiebar-copy strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.cookiebar-copy p { color: var(--slate); font-size: .88rem; line-height: 1.55; margin: 0; }
.cookiebar-copy a { color: var(--blue); font-weight: 600; text-decoration: underline; }
.cookiebar-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookiebar-actions .btn { padding: 12px 22px; font-size: .9rem; white-space: nowrap; }
.cookiebar-actions .btn-ghost { color: var(--ink); border-color: var(--line); }
@media (max-width: 780px) {
  .cookiebar-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 18px; }
  .cookiebar-actions .btn { flex: 1; padding: 12px 14px; }
}

/* zastupny obsah namiesto zablokovanej mapy */
.map-block { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 28px; background: var(--bg-soft); }
.map-block strong { font-size: 1.05rem; }
.map-block p { color: var(--slate); font-size: .9rem; max-width: 420px; margin: 0 0 8px; }

/* ---------- realizacie: karty ---------- */
.proj-link { display: block; color: inherit; height: 100%; }
.proj-media { position: relative; overflow: hidden; }
.proj-media img { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.proj-card:hover .proj-media img { transform: scale(1.06); }
.proj-count { position: absolute; right: 12px; bottom: 12px; background: rgba(11,17,32,.72); color: #fff; font-size: .74rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(6px); }
.proj-client { display: block; margin-top: 12px; font-size: .8rem; color: var(--slate); }
.proj-client b { color: var(--ink); font-weight: 600; }
.proj-card { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg, 0 18px 50px rgba(11,17,32,.14)); }

/* filter kategorii */
.proj-filter { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 38px; }
.proj-filter button { padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .88rem; color: var(--slate); cursor: pointer; transition: all .25s var(--ease); font-family: inherit; }
.proj-filter button:hover { border-color: var(--blue); color: var(--blue); }
.proj-filter button.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.proj-card[hidden] { display: none; }

.page-hero-tag { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }

/* fakty o realizacii */
.proj-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proj-facts .fact { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.fact-ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 11px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.fact-ic svg { width: 20px; height: 20px; }
.proj-facts .fact b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); margin-bottom: 5px; font-weight: 700; }
.proj-facts .fact span { font-size: .95rem; line-height: 1.5; }
@media (max-width: 860px) { .proj-facts { grid-template-columns: 1fr; } }

/* ---------- fotogaleria ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery .gal-item { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); display: block; }
.gallery img { width: 100%; height: 190px; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.gallery .gal-item:hover img { transform: scale(1.07); }
.gallery .gal-item:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } .gallery img { height: 140px; } }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6,10,20,.94); display: flex; align-items: center; justify-content: center; padding: 40px 70px; }
.lightbox[hidden] { display: none; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; animation: lb-in .3s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: background .25s; font-family: inherit; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lb-close { top: 20px; right: 20px; width: 46px; height: 46px; font-size: 2rem; line-height: 1; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2.4rem; line-height: 1; }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: .85rem; font-weight: 600; letter-spacing: .05em; }
@media (max-width: 640px) {
  .lightbox { padding: 60px 10px 70px; }
  .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 1.9rem; }
  .lb-prev { left: 6px; } .lb-next { right: 6px; }
}
