/*
 * Zdieľaný stylesheet verejnej časti stránky.
 *
 * Používajú ho route:
 * - / cez template/prazenka/root.xhtml,
 * - /test cez template/super_admin/root.xhtml,
 * - /price cez template/price/root.xhtml,
 * - /php-development, /software-architecture, /realtime-communication,
 *   /api-integrations a /ai-integration cez template/service/root.xhtml,
 * - /pribeh cez template/pribeh/root.xhtml,
 * - register realizácií cez template/projects/root.xhtml,
 * - /ui-test.
 *
 * service.css a story.css dopĺňajú iba špecifický vzhľad detailu služby
 * a príbehu; tento súbor im dodáva spoločný layout, hlavičku, formuláre,
 * tlačidlá, modaly a offcanvas.
 *
 * Štýly špecifické pre stránku sú umiestnené bližšie ku koncu súboru.
 * Neskoršie pravidlo zámerne prepisuje všeobecné pravidlo nad ním.
 */

/*
 * 01 — Spoločné farebné premenné a základný layout.
 * Používa každá route uvedená vyššie; --content-width riadi maximálnu šírku
 * obsahu v .wrap a --page-gutter minimálny okraj na bokoch viewportu.
 */
:root {
  --header-height: 70px;
  --content-width: 1180px;
  --page-gutter: clamp(14px, 3vw, 24px);
  --section-space: clamp(40px, 4vw, 55px);
  --bg: #fff;
  --surface: #f5f9ff;
  --card: #fff;
  --text: #071536;
  --muted: #56647b;
  --line: #dbe7f5;
  --blue: #0878ff;
  --blue2: #6657ff;
  --button-blue: #0866d6;
  --radius-pill: 999px;
  --error-border: #b42318;
  --shadow: 0 12px 32px #0b4c8d14;
  --backdrop-blur: 1px;
  color-scheme: light;
}

html[data-theme=dark] {
  --bg: #07111f;
  --surface: #0a1828;
  --card: #0d1c2e;
  --text: #f5f8ff;
  --muted: #a7b5c9;
  --line: #20344d;
  --error-border: #ff9b93;
  --shadow: 0 16px 40px #0006;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.45 Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;
  transition: background-color .25s, color .25s;
}

.wrap {
  width: min(var(--content-width),calc(100% - 2 * var(--page-gutter)));
  margin: auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

.site-header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 max(var(--page-gutter),calc((100% - var(--content-width))/2));
  gap: 30px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb,var(--bg) 88%,transparent);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}

.brand>b {
  font-size: 25px;
  color: var(--blue);
}

.brand span {
  font-weight: 800;
}

.brand small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  gap: 25px;
}

.desktop-nav a,.lang {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.services-nav { position: relative; }
.services-nav summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--text); font-size: 14px; list-style: none; }
.services-nav summary::-webkit-details-marker { display: none; }
.services-nav summary::after { content: "⌄"; margin-left: 5px; font-size: 12px; }
.services-nav-menu { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: max-content; min-width: 280px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); box-shadow: var(--shadow); }
.services-nav-menu a { display: block !important; min-height: 0 !important; padding: 11px 13px; border-radius: 8px; white-space: normal; overflow-wrap: break-word; }
.services-nav-menu a:hover,.services-nav-menu a:focus-visible { color: var(--section-accent); background: var(--surface); }
.services-nav[data-service="php-development"] summary,.services-nav[data-service="software-architecture"] summary,.services-nav[data-service="realtime-communication"] summary,.services-nav[data-service="api-integrations"] summary { color: var(--section-accent); font-weight: 700; }
.services-nav[data-service="php-development"] a[data-service="php-development"],.services-nav[data-service="software-architecture"] a[data-service="software-architecture"],.services-nav[data-service="realtime-communication"] a[data-service="realtime-communication"],.services-nav[data-service="api-integrations"] a[data-service="api-integrations"] { color: var(--section-accent); background: var(--surface); font-weight: 700; }

.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme,.lang,.user {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius-pill);
  padding: 8px 13px;
  box-shadow: var(--shadow);
}

.theme,.user {
  cursor: pointer;
  color: var(--text);
}

.user.authenticated {
  box-shadow:
    var(--shadow),
    0 0 0 2px rgb(34 197 94 / 0.14),
    0 0 12px rgb(34 197 94 / 0.18);
}

/*
 * Cenník: /price, template/price/root.xhtml a price.xhtml.
 * Selektory začínajúce .price- neovplyvňujú domovskú stránku ani služby.
 */
.price-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px,10vw,120px) 0 clamp(38px,6vw,72px); background: var(--surface); }
.price-hero-image { position: absolute; z-index: -1; inset: 0; display: block; }
.price-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.price-hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,color-mix(in srgb,var(--surface) 96%,transparent) 0%,color-mix(in srgb,var(--surface) 76%,transparent) 48%,color-mix(in srgb,var(--surface) 32%,transparent) 100%); }
.price-hero h1 { max-width: 760px; margin: 0; font-size: clamp(2.3rem,6vw,4.5rem); line-height: 1.05; letter-spacing: -.055em; }
.price-eyebrow { margin: 0 0 16px; color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .14em; }
.price-intro { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.05rem,2vw,1.25rem); line-height: 1.65; }
.price-project-story { max-width: 760px; margin-top: clamp(30px,4vw,42px); }
.price-project-story h2 { margin: 0; color: var(--text); font-size: clamp(1.35rem,2.4vw,1.75rem); letter-spacing: -.025em; }
.price-project-story p { margin: 14px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.price-project-story .price-project-idea { padding-left: 16px; border-left: 3px solid var(--section-accent); color: var(--text); font-weight: 600; }
.price-story-cta { display: inline-flex; margin-top: 20px; color: var(--blue); font-weight: 800; text-decoration: none; }
.price-story-cta:hover,.price-story-cta:focus-visible { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.price-vat { display: inline-block; margin: 22px 0 0; padding: 7px 11px; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--muted); font-size: .875rem; }
.price-guide { padding: 30px 0; background: var(--card); border-block: 1px solid var(--line); }
.price-guide h2 { margin: 0; font-size: 1.15rem; }
.price-guide p { max-width: 780px; margin: 8px 0 0; color: var(--muted); line-height: 1.65; }
.price-section { padding: var(--section-space) 0; background: var(--surface); }
.price-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; align-items: stretch; }
.price-category { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-top: 3px solid var(--section-track); border-radius: 16px; background: linear-gradient(135deg,var(--section-tint),var(--card) 65%); box-shadow: var(--section-card-shadow); overflow: hidden; }
.price-category[data-featured="true"] { border-color: var(--section-hover-border); border-top-color: var(--section-accent); box-shadow: var(--section-hover-shadow); }
.price-category > header { min-height: 164px; padding: 26px 26px 20px; }
.price-category h2 { margin: 0; color: var(--text); font-size: 1.25rem; line-height: 1.35; letter-spacing: -.015em; }
.price-category header p,.price-item p { color: var(--muted); font-size: .9375rem; line-height: 1.7; }
.price-category > header p { margin: 12px 0 0; }
.price-items { display: flex; flex: 1; flex-direction: column; padding: 0 26px 8px; background: color-mix(in srgb,var(--card) 82%,transparent); }
.price-item {
  display: block;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.price-item::after {
  content: "";
  display: block;
  clear: both;
}

.price-item h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
}

.price-value {
  float: right;
  min-width: 92px;
  margin: 0 0 12px 20px;
  text-align: right;
  white-space: nowrap;
}

.price-value strong {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--section-tint);
  color: var(--section-accent);
  font-size: 1.05rem;
  letter-spacing: -.02em;
}

.price-value span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .75rem;
}

.price-description {
  margin: 0;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.7;
}

.price-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .8rem !important;
  line-height: 1.45 !important;
}

.price-b2b { grid-column: 1 / -1; padding: clamp(28px,5vw,48px); border: 1px solid var(--section-hover-border); border-top: 3px solid var(--section-accent); border-radius: 16px; background: linear-gradient(135deg,var(--section-tint),var(--card) 64%); box-shadow: var(--section-card-shadow); }
.price-b2b-intro { max-width: 820px; }
.price-b2b h2,.price-b2b h3 { margin: 0; color: var(--text); }
.price-b2b h2 { font-size: clamp(1.65rem,3vw,2.35rem); letter-spacing: -.035em; }
.price-b2b-intro p,.price-b2b-plan p,.price-b2b-custom p,.price-b2b-note p { color: var(--muted); line-height: 1.65; }
.price-b2b-intro p { margin: 12px 0 0; }
.price-b2b-capabilities { margin-top: 28px; }
.price-b2b-capabilities ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 24px; margin: 12px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.55; }
.price-b2b-plans { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 28px; }
.price-b2b-plan,.price-b2b-custom { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.price-b2b-plan[data-featured="true"] { border-color: var(--section-accent); box-shadow: var(--section-card-shadow); }
.price-b2b-plan p,.price-b2b-custom p { margin: 10px 0 0; }
.price-b2b-value { color: var(--section-accent) !important; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.price-b2b-custom { margin-top: 16px; }
.price-b2b-note { margin-top: 16px; padding: 18px 20px; border-left: 3px solid var(--section-accent); background: color-mix(in srgb,var(--card) 84%,transparent); }
.price-b2b-note p { margin: 8px 0 0; }
.price-b2b-cta { margin-top: 22px; }
.price-cta { padding: clamp(36px,6vw,64px) 0; background: var(--surface); }
.price-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.price-cta h2 { margin: 0; font-size: clamp(1.5rem,3vw,2.1rem); letter-spacing: -.035em; }
.price-cta p { max-width: 650px; margin: 10px 0 0; color: var(--muted); }
.price-cta-button { flex: 0 0 auto; white-space: nowrap; }
.price-tax-note { margin-top: 28px; padding: 10px; border-top: 1px solid var(--line); font-size: .75rem; line-height: 1.55; opacity: .78; }
@media(max-width:991.98px) { .price-grid { grid-template-columns: 1fr; max-width: 600px; } .price-category > header { min-height: auto; } .price-b2b-plans { grid-template-columns: 1fr; } }
@media(max-width:575.98px) {
  .price-hero { padding-top: 54px; }
  .price-hero-image img { object-position: 62% center; }
  .price-category > header,.price-items { padding-left: 20px; padding-right: 20px; }

  .price-value {
    float: none;
    width: fit-content;
    margin: 14px 0 0 auto;
  }

  .price-b2b { padding: 22px 18px; }
  .price-b2b-capabilities ul { grid-template-columns: 1fr; }
  .price-b2b-cta { width: 100%; }
  .price-cta .wrap { display: block; }
  .price-cta-button { margin-top: 20px; width: 100%; white-space: normal; overflow-wrap: anywhere; }
}

/* Cenník: pokojný hero s výraznou typografiou a mäkším kontrastom. */
.price-hero {
  min-height: min(760px, calc(100svh - var(--header-height)));
  display: grid;
  align-items: center;
  padding-block: clamp(82px, 11vw, 154px) clamp(54px, 7vw, 96px);
  background: #071a31;
}

.price-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(43vw, 620px);
  aspect-ratio: 1;
  top: -34%;
  right: -7%;
  border: 1px solid rgb(196 230 255 / .22);
  border-radius: 50%;
  box-shadow: 0 0 0 64px rgb(180 222 255 / .045), 0 0 0 128px rgb(180 222 255 / .025);
  pointer-events: none;
}

.price-hero-image::after {
  background:
    linear-gradient(90deg, rgb(4 20 39 / .97) 0%, rgb(5 31 61 / .9) 43%, rgb(8 48 91 / .57) 70%, rgb(7 37 74 / .24) 100%),
    linear-gradient(120deg, rgb(56 95 170 / .3), transparent 52%);
}

.price-hero .wrap { position: relative; }
.price-hero .wrap::before { content: ""; display: block; width: 42px; height: 2px; margin-bottom: 24px; background: linear-gradient(90deg, #86dcff, #a595ff); }
.price-eyebrow { margin-bottom: 20px; color: #b8e4ff; font-size: .76rem; letter-spacing: .15em; }
.price-hero h1 { max-width: 13ch; color: #fff; font-size: clamp(2.55rem, 5.8vw, 5.35rem); line-height: 1; letter-spacing: -.068em; text-wrap: balance; }
.price-intro { max-width: 57ch; margin-top: 28px; color: rgb(235 246 255 / .89); font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.72; }
.price-project-story { max-width: 690px; margin-top: clamp(38px, 5vw, 58px); padding: 24px 0 0 24px; border-left: 2px solid rgb(158 211 255 / .65); }
.price-project-story h2 { color: #fff; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.price-project-story p { color: rgb(224 239 255 / .83); }
.price-project-story .price-project-idea { border-left: 0; padding-left: 0; color: #fff; }
.price-story-cta { margin-top: 22px; color: #fff; text-decoration: none; }
.price-story-cta::after { content: " →"; transition: transform 180ms ease; }
.price-story-cta:hover,.price-story-cta:focus-visible { color: #b9e4ff; text-decoration: none; }
.price-vat { margin-top: 28px; border-color: rgb(196 230 255 / .28); background: rgb(3 18 37 / .22); color: rgb(224 239 255 / .78); }

@media(max-width:575.98px) {
  .price-hero { min-height: 0; padding-block: 74px 60px; }
  .price-hero::before { width: 290px; top: -116px; right: -148px; }
  .price-hero h1 { font-size: clamp(2.25rem, 10.5vw, 3.35rem); }
  .price-project-story { padding-left: 18px; }
}

@media(prefers-reduced-motion:reduce) { .price-story-cta::after { transition: none; } }

/*
 * Register realizácií: template/projects/root.xhtml.
 * Táto route nemusí byť verejne dostupná v navigácii, ale zdieľa hlavičku,
 * pätičku a základné farby s ostatnými verejnými stránkami.
 */
.projects-registry { min-height: 70vh; padding: clamp(64px,10vw,120px) 0; background: radial-gradient(circle at 78% 0, color-mix(in srgb,var(--blue) 16%,transparent), transparent 36%); }
.projects-registry h1 { margin: 0; font-size: clamp(2.3rem,6vw,4.5rem); line-height: 1.05; letter-spacing: -.055em; }
.projects-registry-intro { max-width:650px; margin:24px 0 36px; color:var(--muted); font-size:clamp(1.05rem,2vw,1.25rem); line-height:1.65; }
.projects-registry-table { overflow-x:auto; border:1px solid var(--line); border-radius:16px; background:var(--card); box-shadow:var(--section-card-shadow); }
.projects-registry-table table { width:100%; min-width:620px; border-collapse:collapse; }
.projects-registry-table th,.projects-registry-table td { padding:18px 22px; text-align:left; border-bottom:1px solid var(--line); }
.projects-registry-table th { color:var(--muted); font-size:.75rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.projects-registry-table td { color:var(--text); font-size:.98rem; }
.projects-registry-table tr:last-child td { border-bottom:0; }

/*
 * 02 — Všeobecný hero pre pôvodné a štandardné verejné stránky.
 * Používa ho pôvodná hero sekcia domovskej stránky; variant .hero--story
 * v časti 08 ho cielene prepíše pre template/component/hero.xhtml na /test.
 */
.hero {
  --hero-overlay: linear-gradient(90deg,rgba(4,14,29,.88) 0%,rgba(4,14,29,.72) 40%,rgba(4,14,29,.62) 78%,rgba(4,14,29,.28) 100%);
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(580px,56.25vw,820px);
  padding: clamp(56px,7vw,112px) 0;
  background: #07111f;
  color: #fff;
}

/* Place the copy centre at the upper third of the first screen.
   min-height allows content to grow in short windows or with enlarged text. */
@media (min-width:768px) {
  .hero {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    padding-block: clamp(32px,6vh,72px);
    padding-block: clamp(32px,6svh,72px);
    padding-bottom: calc(clamp(32px,6vh,72px) + (100vh - var(--header-height))/3);
    padding-bottom: calc(clamp(32px,6svh,72px) + (100svh - var(--header-height))/3);
  }
}

html[data-theme=dark] .hero {
  --hero-overlay: linear-gradient(90deg,rgba(4,14,29,.94) 0%,rgba(4,14,29,.80) 40%,rgba(4,14,29,.70) 78%,rgba(4,14,29,.38) 100%);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-overlay);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
}

.hero-copy {
  min-width: 0;
  max-width: 720px;
  overflow-wrap: anywhere;
}

.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  margin-bottom: 20px;
  color: var(--blue);
}

.hero .eyebrow {
  color: #b9dcff;
}

.hero h1 {
  font-size: clamp(1.875rem,4.1vw,3.5rem);
  line-height: 1.14;
  letter-spacing: -.035em;
  max-width: 700px;
  margin: 0 0 clamp(20px,2.5vw,28px);
  color: #fff;
}

.hero h1>span {
  display: block;
  text-wrap: balance;
}

.hero-title-line + .hero-title-line::before {
  content: " ";
}

.hero .actions {
  gap: 12px;
  margin: clamp(24px,3vw,30px) 0 24px;
}

.hero .btn {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero p {
  max-width: 590px;
  font-size: 18px;
  line-height: 1.7;
  color: #f0f4fb;
}

.hero .proof {
  color: #f0f4fb;
}

.hero .btn.secondary {
  color: #fff;
  background: rgba(4,14,29,.40);
  border-color: rgba(255,255,255,.7);
}

.hero .btn.secondary:hover,.hero .btn.secondary:focus-visible {
  color: #fff;
  background: rgba(4,14,29,.72);
  border-color: #fff;
}

.hero a:focus-visible {
  outline-color: #fff;
}

/*
 * 03 — Zdieľané komponenty.
 * Používajú ich domovská stránka (/), /test a čiastočne aj /price,
 * detailné služby a /pribeh: tlačidlá, nadpisy, karty, cieľové problémy,
 * AI tím, realizácie, spolupráca, o mne a kontakt.
 */
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0 24px;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid var(--line);
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    filter 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.primary {
  color: #fff;
  background: linear-gradient(110deg,var(--button-blue),var(--blue2));
  border: 0;
}

.secondary {
  color: var(--text);
  border-color: var(--line);
  background: var(--card);
}

.proof {
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.section {
  padding: var(--section-space) 0;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2,.about h2,.why h2 {
  font-size: clamp(1.65rem,3vw,2.125rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
  margin: 0 0 6px;
}

.section-head p,p {
  color: var(--muted);
  margin: 0;
}

.hero-supporting {
  margin-top: 12px;
}

.ai-team .ai-team-eyebrow {
  margin-bottom: 12px;
  color: var(--section-accent);
  font-size: .875rem;
  font-weight: 600;
}

.ai-team-figure {
  margin: 0;
}

.ai-team-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.ai-team-figure figcaption {
  margin-top: 20px;
  color: var(--text);
  font-weight: 600;
}

.ai-team-text {
  max-width: 78ch;
  margin-top: 12px;
  line-height: 1.6;
}

.target-problems-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.target-problems-list li {
  min-width: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
  position: relative;
}

.target-problems-list li::before {
  content: "";
  position: absolute;
  top: .65em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.soft {
  background: var(--surface);
}

.grid {
  display: grid;
  gap: 16px;
}

.card,.project,.cta {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.card {
  padding: 22px;
}

.card .icon {
  font-size: 26px;
  color: var(--blue);
  font-weight: 900;
}

.card h3 {
  font-size: 17px;
  margin: 14px 0 8px;
}

.card p {
  font-size: 14px;
}

/*
 * 04 — Obsahové sekcie verejnej stránky.
 * Použité na / a /test cez template/prazenka/sections/projects.xhtml,
 * cooperation.xhtml, why.xhtml, about.xhtml a contact.xhtml.
 */
.projects {
  grid-template-columns: repeat(3,minmax(0,1fr));
  align-items: stretch;
}

.project {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.project-visual {
  flex-shrink: 0;
  aspect-ratio: 16/9;
  background: var(--surface);
}

.project-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
  overflow-wrap: anywhere;
}

.project h3 {
  margin: 0 0 8px;
}

.project-body p + p {
  margin-top: 10px;
}

.project-problem,.service-problem {
  color: var(--text) !important;
  font-weight: 600;
}

.project-result,.service-result {
  color: var(--text) !important;
}

.service-technology {
  margin-top: 12px;
  color: var(--muted);
  font-size: .8125rem !important;
  line-height: 1.55 !important;
}

.project-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.project-cta-arrow {
  white-space: nowrap;
}

.project-content {
  flex: 1;
}

.project-footer {
  margin-top: 18px;
}

.tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.tags span {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  font-size: 12px;
}

.why {
  background: #081a31;
  color: #fff;
  padding: var(--section-space) 0;
}

.why h2 {
  color: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 28px;
}

.cooperation-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}

.cooperation-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--section-card-shadow);
}

.cooperation-card h3 {
  margin: 0 0 10px;
  font-size: 1.125rem;
}

.cooperation-card p {
  font-size: .9375rem;
  line-height: 1.7;
}

.why-grid div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.why-grid strong {
  font-size: 19px;
  color: #61b3ff;
}

.why-grid span {
  font-size: 14px;
  color: #c7d5e7;
}

.about {
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(0,1fr);
  gap: clamp(24px,3vw,40px) clamp(24px,4vw,56px);
  align-items: center;
}

.about h3 {
  font-size: 22px;
  margin: 4px 0 12px;
}

.about > div:first-child p + p {
  margin-top: 12px;
}

.portrait {
  width: min(100%,360px);
  aspect-ratio: 600 / 520;
  justify-self: center;
  overflow: hidden;
  border-radius: 24px;
}

.portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.cta {
  min-width: 0;
  padding: 28px;
  overflow-wrap: anywhere;
}

.contact-section {
  margin-bottom: 30px;
}

.about > div {
  min-width: 0;
}

.cta .btn {
  max-width: 100%;
  white-space: normal;
}

.cta .btn {
  margin: 16px 0 10px;
}

.contact-cta {
  display: flex;
  justify-content: flex-end;
}

.contact-fallback {
  width: fit-content;
  max-width: 100%;
}

.cta small {
  display: block;
  color: var(--muted);
}

.cta small a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  color: var(--section-accent);
  text-underline-offset: 3px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

/* Spoločný footer pre domovskú stránku, cenník a rýchle zhrnutie. */
.pp-site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(40px, 6vw, 88px);
  padding: clamp(30px, 4vw, 48px) 0;
  border: 0;
  background: linear-gradient(118deg, #041327, #082e5e 58%, #104b94);
  color: #fff;
}

.pp-site-footer::before {
  content: "";
  position: absolute;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  right: -8%;
  top: -70%;
  border: 1px solid rgb(191 227 255 / .2);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgb(183 224 255 / .04), 0 0 0 104px rgb(183 224 255 / .025);
}

.pp-site-footer__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.pp-site-footer__brand { display: flex; align-items: center; gap: 13px; }
.pp-site-footer__mark { width: 11px; height: 11px; border-radius: 50%; background: #88d8ff; box-shadow: 0 0 0 6px rgb(136 216 255 / .13), 0 0 22px rgb(136 216 255 / .58); }
.pp-site-footer p { margin: 0; color: rgb(236 246 255 / .88); font-size: .94rem; }
.pp-site-footer__brand p { color: #fff; font-weight: 700; }
.pp-site-footer__brand span { margin-left: 6px; color: #afdfff; font-weight: 500; }
.pp-site-footer__note { max-width: 32ch; text-align: right; line-height: 1.55; }

@media(max-width:575.98px) {
  .pp-site-footer { margin-top: 32px; }
  .pp-site-footer__inner { align-items: flex-start; flex-direction: column; }
  .pp-site-footer__note { text-align: left; }
}

@media(max-width:991.98px) {
  .projects {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:1199.98px) {
  .about {
    grid-template-columns: 1fr;
  }
}

@media(max-width:575.98px) {
  footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .brand small {
    display: none;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 48px 0 56px;
  }
  .hero h1 {
    font-size: clamp(1.75rem,7.2vw,2.25rem);
    line-height: 1.18;
  }
  .hero p {
    font-size: 17px;
    line-height: 1.6;
  }
  .hero .eyebrow {
    margin-bottom: 16px;
    letter-spacing: .12em;
  }
  .hero .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .btn {
    text-align: center;
  }
  .proof {
    gap: 10px;
    flex-direction: column;
  }
}

@media(max-width:767.98px) {
  .hero {
    min-height: 640px;
    --hero-overlay: linear-gradient(90deg,rgba(4,14,29,.86),rgba(4,14,29,.62));
  }
  html[data-theme=dark] .hero {
    --hero-overlay: linear-gradient(90deg,rgba(4,14,29,.93),rgba(4,14,29,.72));
  }
  .hero-background {
    object-position: 62% center;
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero h1 {
    max-width: 28ch;
    letter-spacing: -.03em;
  }
  .hero h1>.hero-title-line {
    display: inline;
  }
}

@media(max-width:575.98px) {
  .hero h1 {
    font-size: clamp(1.65rem,7vw,2rem);
  }
}

/* Keep the intro compact on phones in landscape orientation. */
@media(max-width:991.98px) and (max-height:500px) and (orientation:landscape) {
  .hero {
    min-height: 0;
    padding-block: 32px;
  }
}

/*
 * 05 — Bootstrap integrácia a pôvodná verejná navigácia.
 * Bootstrap dodáva štruktúru a správanie; tieto pravidlá nastavujú vzhľad
 * offcanvasu, modalu, chatu a pôvodnej navigácie site-header na /, /price,
 * detailoch služieb, /pribeh, registri realizácií a /ui-test.
 * Nová navigácia má vlastné CSS v template/share/menu.xhtml.
 */
:root {
  --bs-body-color: var(--text);
  --bs-body-bg: var(--bg);
  --bs-border-color: var(--line);
  --bs-primary: #0878ff;
}

/*
 * Zdieľaný vzhľad Bootstrap offcanvasu vrátane mobilného vysúvacieho menu.
 * Používa ho pôvodná hlavička aj testovacie komponenty; menu pre /test má
 * svoje špecifické pravidlá v template/share/menu.xhtml.
 */
.offcanvas {
  --bg: #fff;
  --surface: #f5f9ff;
  --card: #fff;
  --text: #071536;
  --muted: #56647b;
  --line: #dbe7f5;
  --bs-offcanvas-bg: #f5f9ff;
  --bs-offcanvas-color: #071536;
  --bs-offcanvas-border-color: #dbe7f5;
  color: #071536;
  color-scheme: light;
  box-shadow: var(--shadow);
}

.offcanvas-header {
  min-height: var(--header-height);
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  background: linear-gradient(110deg,#071a36,#0a4f9d);
  color: #fff;
}

.offcanvas-title {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 750;
}

.offcanvas-header .btn-close {
  filter: invert(1) grayscale(1) brightness(3);
  opacity: 1;
}

.offcanvas-header .btn-close:hover,
.offcanvas-header .btn-close:focus-visible {
  border-color: rgba(255,255,255,.65);
  background-color: rgba(3,30,70,.6);
  outline: 3px solid rgba(255,255,255,.3);
  outline-offset: 2px;
}

.offcanvas-body {
  padding: 24px;
  background: #f5f9ff;
  color: #071536;
  overflow-wrap: anywhere;
}

.offcanvas :is(input,textarea,select) {
  border-color: #dbe7f5;
  background-color: #fff;
  color: #071536;
}

.offcanvas :is(input,textarea,select):focus {
  border-color: #0878ff;
  box-shadow: 0 0 0 .25rem rgba(8,120,255,.18);
}

/* Bootstrap modals use the same fixed overlay palette as offcanvas panels. */
.modal {
  --bg: #fff;
  --surface: #f5f9ff;
  --card: #fff;
  --text: #071536;
  --muted: #56647b;
  --line: #dbe7f5;
  --bs-modal-bg: #f5f9ff;
  --bs-modal-color: #071536;
  --bs-modal-border-color: #dbe7f5;
  --bs-modal-header-border-color: #dbe7f5;
  --bs-modal-footer-border-color: #dbe7f5;
  --bs-modal-border-radius: 20px;
  color-scheme: light;
}

.modal-content {
  border-color: #dbe7f5;
  background: #f5f9ff;
  color: #071536;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.modal-header {
  min-height: var(--header-height);
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  background: linear-gradient(110deg,#071a36,#0a4f9d);
  color: #fff;
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 750;
}

.modal-title::before {
  content: "✦";
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 50%;
  font-size: 1rem;
}

.modal-body {
  padding: 24px;
  background: #f5f9ff;
  color: #071536;
  overflow-wrap: anywhere;
}

.modal-footer {
  padding: 16px 24px;
  border-top-color: #dbe7f5;
  background: #fff;
}

.modal :is(input,textarea,select) {
  border-color: #dbe7f5;
  background-color: #fff;
  color: #071536;
}

.modal :is(input,textarea,select):focus {
  border-color: #0878ff;
  box-shadow: 0 0 0 .25rem rgba(8,120,255,.18);
}

/* Content block currently used by the chat modal body. */
.chat-welcome {
  display: grid;
  grid-template-columns: 56px minmax(0,1fr);
  gap: 18px;
  align-items: start;
  width: min(100%,1312px);
  padding: clamp(22px,3vw,32px);
  border: 1px solid #dbe7f5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(7,21,54,.08);
}

.chat-welcome-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #071536;
  color: #fff;
}

.chat-welcome h2 {
  margin: 2px 0 8px;
  color: #071536;
  font-size: clamp(1.15rem,2vw,1.45rem);
  font-weight: 750;
}

.chat-welcome p {
  margin: 0;
  color: #56647b;
  font-size: clamp(1rem,2vw,1.12rem);
  line-height: 1.65;
}

@media (max-width:767.98px) {
  .chat-welcome {
    grid-template-columns: 44px minmax(0,1fr);
    gap: 14px;
    padding: 22px;
  }

  .chat-welcome-icon {
    width: 44px;
    height: 44px;
  }
}

h1,h2,h3 {
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: 1.17em;
}

.card {
  color: var(--text);
}

.btn {
  line-height: 1.45;
}

.btn.primary:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn.primary:active {
  filter: brightness(1.03);
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.btn.secondary:hover,.btn.secondary:focus-visible {
  color: var(--text);
  background: var(--surface);
  border-color: var(--blue);
}

.site-header {
  flex-wrap: nowrap;
}

.desktop-nav {
  white-space: nowrap;
}

.theme,.lang,.user,.menu-toggle,.menu-close {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-toggle,.menu-close {
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--text);
  padding: 9px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.nav-tools {
  flex-shrink: 0;
}

.mobile-menu {
  --bs-offcanvas-width: min(360px,90vw);
}

.mobile-menu .offcanvas-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
}

.mobile-menu .offcanvas-title {
  font-size: 22px;
  margin: 0;
}

.mobile-menu .offcanvas-body {
  padding: 20px 16px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav a {
  padding: 14px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.mobile-nav .services-nav { padding: 0 16px; }
.mobile-nav .services-nav summary { min-height: 50px; font-size: 18px; font-weight: 600; }
.mobile-nav .services-nav-menu { position: static; width: auto; min-width: 0; margin: 0 0 8px; padding: 5px; box-shadow: none; }
.mobile-nav .services-nav-menu a { padding-left: 14px; font-size: 16px; }

.mobile-nav a:hover,.mobile-nav a:focus-visible {
  background: var(--surface);
  color: var(--blue);
}

a:focus-visible,button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

main[id],section[id],#contact {
  scroll-margin-top: 90px;
}

@media(max-width:1199.98px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .site-header {
    gap: 16px;
  }
}

@media(max-width:575.98px) {
  .site-header {
    gap: 8px;
  }
  .brand {
    gap: 7px;
  }
  .brand span {
    font-size: 14px;
  }
  .brand>b {
    font-size: 23px;
  }
  .nav-tools {
    gap: 6px;
  }
  .theme,.lang,.user {
    padding: 8px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  body {
    transition: none;
  }
}

@media(max-width:575.98px) {
  .brand span {
    max-width: 85px;
    font-size: 13px;
  }
  .brand>b {
    font-size: 21px;
  }
  .brand {
    min-width: 0;
  }
}

@media(max-width:575.98px) {
  .target-problems-list,.cooperation-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .projects {
    grid-template-columns: minmax(0,1fr);
  }
}

/*
 * 06 — Postup spolupráce a služby.
 * Použité na / a /test v template/prazenka/sections/services.xhtml
 * a cooperation.xhtml.
 * Tieto premenné zámerne rozširujú základné farebné premenné z úvodu súboru.
 */
:root {
  --section-accent: #0866d6;
  --section-tint: #edf5ff;
  --section-track: #b7d3f4;
  --section-hover-border: #86b7f0;
  --section-card-shadow: 0 8px 28px rgba(20,62,110,.06);
  --section-hover-shadow: 0 14px 34px rgba(20,62,110,.12);
}

html[data-theme=dark] {
  --section-accent: #7cbbff;
  --section-tint: #132b46;
  --section-track: #355c84;
  --section-hover-border: #5184b8;
  --section-card-shadow: 0 8px 28px rgba(0,0,0,.18);
  --section-hover-shadow: 0 14px 34px rgba(0,0,0,.28);
}

.collaboration .section-head,.ai-services .section-head {
  max-width: 780px;
  margin-bottom: 32px;
}

.collaboration .section-head h2,.ai-services .section-head h2 {
  font-size: clamp(1.65rem,3vw,2.125rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.collaboration .section-head p,.ai-services .section-head p {
  line-height: 1.65;
}

.process-grid,.services-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-step {
  position: relative;
  min-width: 0;
  isolation: isolate;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 49px;
  left: 100%;
  width: 24px;
  height: 2px;
  background: var(--section-track);
}

.process-card,.service-card {
  height: 100%;
  min-width: 0;
  padding: 24px;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--section-card-shadow);
  overflow-wrap: anywhere;
}

.process-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--section-accent);
}

.process-number {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  border: 1px solid var(--section-track);
  border-radius: 14px;
  background: var(--section-tint);
  font-size: 1.25rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.04em;
}

.section-icon {
  display: block;
  flex-shrink: 0;
}

.process-card h3,.service-card h3 {
  font-size: 1.125rem;
  line-height: 1.35;
  margin: 0 0 12px;
  letter-spacing: -.015em;
  color: var(--text);
}

.process-card p,.service-card p {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--muted);
}

.services-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.service-card {
  padding: 28px;
  border-top: 3px solid var(--section-track);
  background: linear-gradient(135deg,var(--section-tint),var(--card) 65%);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border: 1px solid var(--section-track);
  border-radius: 16px;
  background: var(--section-tint);
  color: var(--section-accent);
}

@media(hover:hover) and (pointer:fine) {
  .service-card:hover {
    border-color: var(--section-hover-border);
    box-shadow: var(--section-hover-shadow);
  }
}

@media(min-width:768px) and (max-width:1199.98px) {
  .process-grid,.services-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .process-step:nth-child(2)::after {
    top: 100%;
    left: 50%;
    width: 2px;
    height: 24px;
  }
  /* Continue from step 02 to 03, then back to 04 along the second row. */
  .process-step:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }
  .process-step:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
  }
  .process-step:nth-child(3)::after {
    left: auto;
    right: 100%;
  }
}

@media(max-width:575.98px) {
  .process-grid,.services-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 20px;
  }
  .process-grid {
    padding-left: 20px;
    border-left: 2px solid var(--section-track);
    margin-left: 7px;
  }
  .process-step::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 36px;
    width: 12px;
    height: 12px;
    border: 3px solid var(--bg);
    border-radius: 50%;
    background: var(--section-accent);
    box-shadow: 0 0 0 1px var(--section-track);
  }
  .process-step:not(:last-child)::after {
    display: none;
  }
  .process-card,.service-card {
    padding: 20px;
  }
  .process-card-head {
    margin-bottom: 20px;
  }
  .collaboration .section-head,.ai-services .section-head {
    margin-bottom: 24px;
  }
}

/*
 * 07 — Výber jazyka a kontaktný tok.
 * Použité v pôvodnej verejnej hlavičke na /, /price, detailoch služieb,
 * /pribeh a v contact.xhtml s contact-form.xhtml na / a /test.
 * Natívne details/dialog fungujú aj bez JavaScriptu.
 */
.language-switcher {
  position: relative;
}

.language-switcher summary {
  cursor: pointer;
  list-style: none;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher summary::after {
  content: "⌄";
  margin-left: 5px;
}

.language-flag {
  display: inline-block;
  width: 1.25em;
  margin-right: 8px;
  text-align: center;
  line-height: 1;
}

.language-flag-current {
  margin-right: 5px;
}

.language-flag-current[data-language="sk"]::before { content: "🇸🇰"; }
.language-flag-current[data-language="en"]::before { content: "🇬🇧"; }
.language-flag-current[data-language="cs"]::before { content: "🇨🇿"; }
.language-flag-current[data-language="de"]::before { content: "🇩🇪"; }

.language-switcher summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  padding: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.language-options a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--text);
  text-decoration: none;
}

.language-options a:hover,
.language-options a:focus-visible,
.language-options a[aria-current="page"] {
  background: var(--surface);
  color: var(--section-accent);
}

@media (max-width: 575.98px) {
  .language-switcher .lang {
    padding-inline: 6px;
  }
}

/* Contact form: server-rendered, usable without JavaScript. */
.about > .contact-section { grid-column: 1 / -1; }
.contact-form { margin-top: 24px; }
.contact-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-field { min-width: 0; }
.contact-field label { display: block; font-weight: 600; margin-bottom: 8px; }
.contact-field input, .contact-field select, .contact-field textarea {
  display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 48px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--text); font: inherit;
}
.contact-field textarea { resize: vertical; }
.contact-field :is(input, select, textarea):focus-visible { outline: 3px solid var(--section-accent); outline-offset: 2px; }
.contact-field [aria-invalid="true"] { border: 2px solid var(--error-border); }
.contact-wide { grid-column: 1 / -1; }
.contact-hint, .contact-privacy { color: var(--muted); font-size: 14px; line-height: 1.6; }
.authorize-text { margin-bottom: 25px; }
.authorize-text span { display: block; }
.authorize-username .contact-field { margin-bottom: 20px; }
.authorize-username .contact-notice { margin: 0 0 20px; }
.contact-privacy { margin: 20px 0 0; }
.contact-notice { padding: 16px; border: 1px solid var(--section-accent); border-radius: 10px; background: var(--surface); }
.contact-form .contact-notice { margin: 20px 0 0; }
.contact-notice[data-state="error"] { border-color: var(--error-border); }
.contact-honeypot { display: none; }
.contact-direct { display: grid; gap: 4px; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; }
.contact-direct-links, .contact-social-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 24px; }
.contact-direct-links a, .contact-social-links a { gap: 6px; font-size: 14px; }
.contact-direct-links svg, .contact-social-links svg { width: 16px; height: 16px; fill: currentColor; flex: 0 0 auto; }
.contact-social-links { justify-content: flex-end; margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); }
.contact-form fieldset:disabled { opacity: .65; }
@media (max-width: 575.98px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .contact-section { padding: 20px; }
  .contact-form .btn { width: 100%; }
}

/* Progressive enhancement: details without JS, native modal with JS. */
.contact-fallback > summary { list-style: none; cursor: pointer; }
.contact-fallback > summary::-webkit-details-marker { display: none; }
.contact-dialog {
  --section-accent: var(--button-blue);
  width: min(680px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  color: var(--text);
  box-shadow: 0 24px 80px #0005;
  overflow: auto;
  overscroll-behavior: contain;
  overflow-wrap: anywhere;
}
html[data-theme=dark] .contact-dialog { --section-accent: #72b1ff; }
.contact-dialog::backdrop { background: #031126aa; backdrop-filter: blur(var(--backdrop-blur)); }

/* Dynamic Bootstrap overlays keep their content sharp while softening the page behind them. */
.modal-backdrop,
.offcanvas-backdrop {
  backdrop-filter: blur(var(--backdrop-blur));
  -webkit-backdrop-filter: blur(var(--backdrop-blur));
}

.modal-backdrop {
  --bs-backdrop-bg: rgba(0, 0, 0, .35);
  --bs-backdrop-opacity: 1;
}

.offcanvas-backdrop {
  background-color: rgba(0, 0, 0, .35);
}

.offcanvas-backdrop.show {
  opacity: 1;
}

html.contact-dialog-open { overflow: hidden; }
.cookie-consent {
  position: fixed; z-index: 1101; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom));
  width: min(420px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 20px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--text); box-shadow: var(--shadow);
  font-size: 14px; line-height: 1.5; overflow-wrap: anywhere;
}
.cookie-consent[hidden], .cookie-consent-settings[hidden], .cookie-consent-error[hidden] { display: none; }
.cookie-consent strong { font-size: 16px; }
.cookie-consent p { margin: 8px 0 12px; color: var(--muted); }
.cookie-consent summary { cursor: pointer; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cookie-consent-actions button { flex: 1 1 150px; }
.cookie-consent-actions button {
  min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px;
  background: var(--surface); color: var(--text); font: inherit; cursor: pointer;
}
.cookie-consent-settings {
  display: inline-block; margin-inline-start: 12px; padding-block: 6px; font-size: 12px;
  color: var(--muted); text-decoration: underline; text-underline-offset: 3px;
}
.cookie-consent :is(button, summary):focus-visible, .cookie-consent-settings:focus-visible { outline: 3px solid var(--section-accent); outline-offset: 3px; }
.cookie-identity-warning {
  position: fixed; z-index: 1100; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; align-items: flex-start; gap: 14px; width: min(390px, calc(100vw - 32px)); padding: 16px;
  border: 1px solid var(--line); border-left: 4px solid var(--section-accent); border-radius: 14px;
  background: var(--card); color: var(--text); box-shadow: var(--shadow); overflow-wrap: anywhere;
}
.cookie-identity-warning[hidden] { display: none; }
.cookie-identity-warning strong { display: block; font-size: 15px; line-height: 1.4; }
.cookie-identity-warning p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cookie-identity-warning-close { flex: 0 0 36px; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--text); font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.cookie-identity-warning-close:focus-visible { outline: 3px solid var(--section-accent); outline-offset: 2px; }
@media (max-width: 575.98px) { .cookie-identity-warning { right: 10px; bottom: 10px; width: calc(100vw - 20px); } }
.contact-dialog-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: -28px -28px 0;
  padding: 22px 28px;
  border-bottom: 1px solid #0b5fc8;
  border-radius: 19px 19px 0 0;
  background: linear-gradient(135deg, #eaf4ff, #d8ebff 55%, #eef6ff);
  color: #073a78;
}
html[data-theme=dark] .contact-dialog-header {
  border-bottom-color: #256fc5;
  background: linear-gradient(135deg, #0a2b52, #103d70 55%, #0c315d);
  color: #e5f1ff;
}
.contact-dialog-header h2 { flex: 1; margin: 0; font-size: clamp(22px, 3vw, 28px); line-height: 1.25; }
.contact-close {
  flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line);
  font-size: 28px; line-height: 1; cursor: pointer;
}
.contact-close {
  border-color: #dbe2ea;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #111;
  filter: none;
  opacity: 1;
}
.contact-close:hover {
  background-color: #e2e8f0;
}
.contact-close:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}
.modal-header .btn-close {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  margin: 0 0 0 auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px;
  background-color: rgba(4, 18, 39, .19);
  background-position: center;
  background-size: 18px;
  box-shadow: none;
  filter: invert(1) grayscale(1) brightness(3);
  opacity: 1;
}
.modal-header .btn-close:hover,
.modal-header .btn-close:focus-visible {
  background-color: rgba(255, 255, 255, .16);
  transform: rotate(4deg);
}
.contact-close[hidden] { display: none; }
.contact-fallback > summary:focus-visible { outline: 3px solid var(--section-accent); outline-offset: 3px; }
.contact-dialog .contact-form { margin-top: 16px; }
.contact-dialog .contact-grid { gap: 14px 20px; }
.contact-dialog .contact-form .btn { margin-top: 20px; }
.contact-dialog .contact-notice { margin-top: 16px; }
@media (max-width: 575.98px) {
  .contact-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); padding: 20px; border-radius: 16px; }
  .contact-dialog-header { margin: -20px -20px 0; padding: 18px 20px; border-radius: 15px 15px 0 0; }
}

/*
 * 08 — Hero s portrétom pre template/component/hero.xhtml.
 * Aktuálne ho používa /test. Zámerne prepisuje všeobecný .hero z časti 02:
 * na desktope je text vedľa portrétu, na mobile je portrét nad textom.
 */
.hero.hero--story {
  --story-ink: #061627;
  display: block;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  padding: clamp(28px, 4vw, 64px) 0;
  background: var(--story-ink);
  color: #fff;
}
.hero.hero--story::before { content: none; }
.hero--story .hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  width: min(var(--content-width), calc(100% - 2 * var(--page-gutter)));
  max-width: none;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
}
.hero--story .hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  max-width: 560px;
  margin: 0;
  padding: 0;
  color: #fff;
}
.hero--story .eyebrow {
  color: #a7dfff;
  font-size: clamp(.7rem, .8vw, .85rem);
  line-height: 1.55;
  letter-spacing: .09em;
  margin-bottom: 18px;
}
.hero--story h1 {
  max-width: 100%;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(2.1rem, 3.15vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero--story h1 > .hero-title-line { display: inline; }
.hero--story .hero-copy > p {
  max-width: 100%;
  margin: 0;
  color: #eef5ff;
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  line-height: 1.65;
  text-wrap: pretty;
}
.hero--story .hero-details[hidden] { display: none; }
.hero--story .hero-story-media {
  grid-column: 2;
  grid-row: 1;
  display: block;
  width: 100%;
  max-width: 688px;
  justify-self: end;
  margin: 0;
}
.hero--story .hero-story-image {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 1200px) {
  .hero--story .hero-layout { min-height: min(700px, calc(100svh - var(--header-height) - 56px)); }
}
/* Tablets retain the side-by-side composition with less visual density. */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .hero--story .hero-layout { gap: clamp(24px, 4vw, 44px); }
  .hero--story .hero-copy { flex-basis: 42%; max-width: 440px; }
  .hero--story h1 { font-size: clamp(2rem, 3.5vw, 2.55rem); }
  .hero--story .eyebrow { font-size: .68rem; }
  .hero--story .hero-copy > p { font-size: .98rem; }
}
/* Phones keep the entire supplied portrait above the live business copy. */
@media (max-width: 767.98px) {
  .hero.hero--story { padding: 0; }
  .hero--story .hero-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-height: 0;
    padding: 0;
    gap: 0;
  }
  .hero--story .hero-story-media {
    position: relative;
    z-index: 0;
    order: 0;
    flex: 0 0 auto;
    align-self: stretch;
    width: 100%;
    max-width: none;
    justify-self: auto;
  }
  .hero--story .hero-copy {
    order: 1;
    flex: none;
    width: min(calc(100% - 36px), 520px);
    max-width: none;
    margin: 0 auto;
    padding: 32px 0 40px;
  }
  .hero--story .eyebrow { font-size: .66rem; margin-bottom: 14px; }
  .hero--story h1 { font-size: clamp(1.9rem, 7.8vw, 2.75rem); margin-bottom: 18px; line-height: 1.13; }
  .hero--story .hero-copy > p { font-size: 1rem; line-height: 1.65; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--story *, .hero--story *::before, .hero--story *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* 09 — Vizuálne doladenie domovskej stránky: veľké pokojné plochy a jemný pohyb. */
.hero.hero--story {
  background:
    radial-gradient(circle at 77% 42%, rgb(25 134 255 / .28), transparent 30%),
    radial-gradient(circle at 18% 86%, rgb(110 82 255 / .24), transparent 35%),
    linear-gradient(118deg, #04111f 0%, #061d37 53%, #092a51 100%);
}
.hero.hero--story::after { content: ""; position: absolute; z-index: 0; width: min(38vw,540px); aspect-ratio: 1; right: -11vw; top: -19%; border: 1px solid rgb(177 223 255 / .18); border-radius: 50%; box-shadow: 0 0 0 56px rgb(177 223 255 / .035),0 0 0 112px rgb(177 223 255 / .025); pointer-events: none; }
.hero--story .hero-copy::before { content: ""; display: block; width: 42px; height: 2px; margin: 0 0 24px; background: linear-gradient(90deg,#7dd3fc,#8277ff); }
.hero--story .hero-story-media { filter: drop-shadow(0 32px 48px rgb(0 8 24 / .26)); }
.hero--story .hero-story-image { border-radius: 30px 30px 2px 2px; }

.section { padding-block: clamp(62px,8vw,118px); }
.section-head { max-width: 720px; margin-bottom: clamp(30px,4vw,48px); }
.section-head h2,.about h2,.why h2 { font-size: clamp(2rem,3.6vw,3.25rem); letter-spacing: -.045em; }
.section-head p { font-size: clamp(1rem,1.35vw,1.125rem); line-height: 1.7; }

.ai-services { position: relative; overflow: hidden; background: radial-gradient(circle at 100% 0%,rgb(87 141 255 / .16),transparent 33%),var(--surface); }
.ai-services::before { content: ""; position: absolute; width: 440px; height: 440px; left: -310px; bottom: -250px; border: 1px solid color-mix(in srgb,var(--section-accent) 17%,transparent); border-radius: 50%; box-shadow: 0 0 0 54px color-mix(in srgb,var(--section-accent) 4%,transparent); pointer-events: none; }
.ai-services .wrap { position: relative; }
.service-card { border-radius: 22px; transition: transform 280ms ease,box-shadow 280ms ease,border-color 280ms ease; }
.service-card:nth-child(3n + 2) { transform: translateY(18px); }
.service-card:hover { transform: translateY(-7px); }
.service-card:nth-child(3n + 2):hover { transform: translateY(11px); }
.service-icon { border-radius: 50%; }

.project { border-radius: 20px; transition: transform 280ms ease,box-shadow 280ms ease,border-color 280ms ease; }
.project-visual { overflow: hidden; }
.project-visual img { transition: transform 600ms cubic-bezier(.2,.7,.2,1); }
.project:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgb(20 62 110 / .15); }
.project:hover .project-visual img { transform: scale(1.045); }
.project-cta { gap: 6px; }
.project-cta-arrow { transition: transform 220ms ease; }
.project-cta:hover .project-cta-arrow { transform: translateX(4px); }

.why { position: relative; overflow: hidden; padding-block: clamp(72px,9vw,132px); background: radial-gradient(circle at 10% 0%,rgb(49 119 255 / .33),transparent 30%),radial-gradient(circle at 94% 86%,rgb(107 70 255 / .27),transparent 30%),#071a31; }
.why::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(184 222 255 / .16) 1px,transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(90deg,transparent,#000 35%,#000 65%,transparent); pointer-events: none; }
.why .wrap { position: relative; }
.why-grid { gap: clamp(28px,4vw,54px); }
.why-grid div { padding-top: 18px; border-top: 1px solid rgb(183 221 255 / .25); }
.why-grid strong { font-size: clamp(1.15rem,1.6vw,1.35rem); }
.why-grid span { margin-top: 9px; font-size: .95rem; line-height: 1.65; }

.about { padding-block: clamp(74px,9vw,132px); }
.about h3 { max-width: 27ch; font-size: clamp(1.35rem,2.2vw,1.8rem); line-height: 1.32; letter-spacing: -.025em; }
.portrait { border-radius: 28px; box-shadow: 20px 20px 0 color-mix(in srgb,var(--section-accent) 12%,transparent),var(--shadow); }

.contact-section { position: relative; margin-top: clamp(28px,4vw,54px); margin-bottom: clamp(48px,7vw,88px); padding: clamp(30px,5vw,62px); border: 0; border-radius: 26px; background: linear-gradient(112deg,#07316a,#0759b2 54%,#4561d8); box-shadow: 0 24px 60px rgb(7 56 126 / .24); }
.contact-section :is(h2,p,small,.contact-direct) { color: #fff; }
.contact-section h2 { font-size: clamp(2rem,3.5vw,3rem); letter-spacing: -.045em; }
.contact-section > p { max-width: 52ch; margin-top: 14px; color: rgb(235 246 255 / .85); font-size: 1.08rem; line-height: 1.7; }
.contact-online { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: clamp(20px,3vw,32px); margin-top: clamp(26px,4vw,38px); padding: clamp(20px,3vw,28px); border: 1px solid rgb(255 255 255 / .22); border-radius: 18px; background: rgb(255 255 255 / .1); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1); }
.contact-online__copy { min-width: 0; }
.contact-section .contact-online__eyebrow { margin: 0; color: rgb(205 235 255 / .88); font-size: .74rem; font-weight: 750; letter-spacing: .12em; line-height: 1.3; }
.contact-section .contact-online h3 { margin: 8px 0 0; color: #fff; font-size: clamp(1.35rem,2.4vw,1.8rem); letter-spacing: -.025em; line-height: 1.2; }
.contact-section .contact-online p:not(.contact-online__eyebrow) { max-width: 58ch; margin: 10px 0 0; color: rgb(235 246 255 / .9); line-height: 1.65; }
.contact-section .contact-online__button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; margin: 0; white-space: nowrap; }
.contact-section .contact-direct { margin-top: 30px; border-color: rgb(255 255 255 / .2); }
.contact-section .contact-direct a { color: #fff; }
.contact-section .contact-social-links { border-color: rgb(255 255 255 / .2); }

.js-motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity 640ms ease,transform 640ms cubic-bezier(.2,.75,.25,1); }
.js-motion .reveal.is-visible { opacity: 1; transform: none; }
.js-motion .reveal[data-reveal-delay="1"] { transition-delay: 90ms; }
.js-motion .reveal[data-reveal-delay="2"] { transition-delay: 180ms; }
.js-motion .reveal[data-reveal-delay="3"] { transition-delay: 270ms; }

@media (max-width: 991.98px) { .service-card:nth-child(3n + 2) { transform: none; } .service-card:nth-child(3n + 2):hover { transform: translateY(-7px); } }
@media (max-width: 575.98px) {
  .hero.hero--story::after { width: 280px; right: -145px; top: -74px; }
  .hero--story .hero-copy::before { margin-bottom: 18px; }
  .section { padding-block: 62px; }
  .service-card,.project { border-radius: 18px; }
  .portrait { box-shadow: 12px 12px 0 color-mix(in srgb,var(--section-accent) 12%,transparent),var(--shadow); }
  .contact-section { width: min(100%, 360px); margin-inline: auto; border-radius: 20px; }
  .contact-online { grid-template-columns: minmax(0,1fr); align-items: start; }
  .contact-section .contact-online__button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .service-card,.project,.project-visual img,.project-cta-arrow { transition: none; } .service-card:nth-child(3n + 2),.service-card:hover,.service-card:nth-child(3n + 2):hover,.project:hover { transform: none; } .js-motion .reveal { opacity: 1; transform: none; transition: none; } }

/*
 * Uzamknutý cenník: neautorizovaná vetva /price cez
 * template/root_page/price/root_close.xhtml.
 *
 * Sekcia zachováva pôvodné selektory, hodnoty, duplicity aj media queries zo
 * samostatného price-close.css. Menu je ďalej doplnené súborom menu.css,
 * ktorý sa načítava až po style.css cez template/component/menu.xhtml.
 * Pôvodné poradie kaskády bolo Bootstrap → style.css → price-close.css →
 * menu.css; po zlúčení je Bootstrap → style.css (táto sekcia) → menu.css.
 * Neskoršie pravidlá menu.css preto naďalej zámerne prepisujú spoločné
 * selektory .pp-menu-*. Dve deklarácie .pp-menu-desktop zostávajú zámerne
 * samostatné: druhá zachováva pôvodné prepísanie pozadia v rámci sekcie.
 */
:root {
            --color-font-black: #111b3a;
            --color-font-seda: #443b43;
            --color-logo: #0878ff;
        }


        .layout {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            grid-template-rows: minmax(0, 1fr) auto;
            min-height: 100dvh;
        }

        .pp-menu-header {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr) auto;
            align-items: center;
            gap: 18px;
            min-height: 80px;
            padding: 20px 46px;
            background: #fff;
            border-bottom: 1px solid #e6ebf3;
            box-shadow: 0 8px 30px rgb(15 23 42 / 5%);
        }

        .pp-header {
            position: sticky;
            top: 0;
            z-index: 10;
        }

        .pp-menu-brand {
            display: inline-flex;
            align-items: center;
            gap: 14px;
            color: var(--color-font-black);
            text-decoration: none;
            white-space: nowrap;
        }

        .pp-menu-brand__logo {
            width: auto;
            height: calc(1.5rem * 1.15 + 1rem + 3px);
            color: var(--color-logo);
        }

        .pp-menu-brand__content {
            display: grid;
            gap: 3px;
        }

        .pp-menu-brand__content strong {
            font-size: 1.2rem;
            line-height: 1;
        }

        .pp-menu-brand__content span {
            color: var(--color-font-seda);
            font-size: 1rem;
        }

        .pp-menu-header__actions {
            display: flex;
            align-items: center;
            gap: 14px;
            flex-shrink: 0;
        }

        .pp-menu-control {
            display: inline-grid;
            flex: 0 0 44px;
            width: 44px;
            height: 44px;
            padding: 0;
            place-items: center;
            border: 1px solid #dce6f4;
            border-radius: 50%;
            background: #fff;
            color: var(--color-font-black);
            font-size: 1.05rem;
            line-height: 1;
        }

        .pp-menu-control svg {
            width: 27px;
            height: 27px;
            fill: none;
            stroke: currentColor;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-width: 1.8;
        }

        .pp-menu-control:hover,
        .pp-menu-control:focus-visible {
            border-color: #0b5ed7;
            background: #0b5ed7;
            color: #fff;
        }

        .pp-menu-user {
            border-color: #dce6f4;
            color: var(--color-font-black);
        }

        .pp-menu-user:hover,
        .pp-menu-user:focus-visible {
            border-color: #0b5ed7;
            background: #0b5ed7;
            color: #fff;
        }

        .pp-menu-header__actions> :last-child {
            display: none;
        }

        .pp-menu-desktop {
            background-color: #061627 !important;
            padding: 0px 15px 0px 35px;

        }

        .pp-menu-desktop {
            background-color: #7a8da1 !important;


        }


        .pp-menu-desktop .nav-link {
            color: white !important;
        }

        @media (max-width: 767.98px) {
            .pp-menu-header {
                gap: 14px;
                min-height: 76px;
                padding: 12px 16px;
            }

            .pp-menu-brand {
                gap: 10px;
            }

            .pp-menu-brand__logo {
                height: calc(1.05rem * 1.15 + .75rem + 3px);
            }

            .pp-menu-brand__content strong {
                font-size: 1.05rem;
            }

            .pp-menu-brand__content span {
                font-size: .75rem;
            }

            .pp-menu-header__actions {
                gap: 8px;
            }

            .pp-menu-control {
                flex-basis: 44px;
                width: 44px;
                height: 44px;
            }

            .pp-menu-control svg {
                width: 22px;
                height: 22px;
            }

            .pp-menu-header__actions> :last-child {
                display: initial;
            }

            .pp-menu-desktop {
                display: none;
            }

        }

.price-view { cursor: pointer; }
.pp-price-lock-icon-align { text-align: right; }
.pp-price-page-footer { background-color: #3a4360; min-height: 50px; color: white; margin-top: 30px; }

/*
 * Rýchle zhrnutie: route /summary cez template/root_page/zhrnutie/zhrnutie.xhtml.
 * Všetky selektory sú namespacované prefixom .pp-zhrnutie, preto nezasahujú
 * do ostatných verejných route. Sekcia používa spoločné farebné premenné
 * vrátane ich fallbackov a rešpektuje svetlú aj tmavú tému stránky.
 *
 * menu.css sa načítava po style.css cez template/component/menu.xhtml.
 * Pravidlá zhrnutia sa menu netýkajú, takže po zlúčení zostáva bezpečné
 * poradie Bootstrap → style.css (táto sekcia) → menu.css. Breakpointy 599 px
 * a 720 px zachovávajú pôvodný jednosĺpcový mobilný layout; reduced-motion
 * pravidlá zachovávajú vypnutie prechodov a pohybu kariet.
 */
.pp-zhrnutie {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    color: var(--color-font-black, #111b3a);
    font-family: inherit;
}

.pp-zhrnutie *,
.pp-zhrnutie *::before,
.pp-zhrnutie *::after { box-sizing: inherit; }

.pp-zhrnutie__intro {
    padding: clamp(20px, 5vw, 36px);
    background: #f6f9fd;
    border: 1px solid #e1e9f3;
    border-radius: 16px;
}
.pp-zhrnutie__eyebrow { margin: 0 0 8px; color: var(--color-logo, #0878ff); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pp-zhrnutie__title { margin: 0; font-size: clamp(1.65rem, 6vw, 2.35rem); line-height: 1.12; }
.pp-zhrnutie__subtitle { margin: 10px 0 0; color: var(--color-font-seda, #443b43); font-size: clamp(1rem, 3.7vw, 1.18rem); font-weight: 600; }
.pp-zhrnutie__lead { max-width: 70ch; margin: 18px 0 0; font-size: 1rem; line-height: 1.65; }
.pp-zhrnutie__section { margin-top: clamp(26px, 6vw, 40px); margin-left: 30px; }
.pp-zhrnutie__section-title { margin: 0 0 14px; font-size: clamp(1.2rem, 4.2vw, 1.5rem); line-height: 1.25; }
.pp-zhrnutie__services { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.pp-zhrnutie__services li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; line-height: 1.5; }
.pp-zhrnutie__services li::before { content: "✓"; color: var(--color-logo, #0878ff); font-weight: 800; }
.pp-zhrnutie__cooperation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pp-zhrnutie__card { min-width: 0; padding: 18px; border: 1px solid #dce6f4; border-radius: 13px; background: #fff; }
.pp-zhrnutie__card-number { display: block; margin-bottom: 10px; color: var(--color-logo, #0878ff); font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.pp-zhrnutie__card-title { margin: 0 0 8px; font-size: 1.02rem; line-height: 1.3; }
.pp-zhrnutie__card-text { margin: 0; color: var(--color-font-seda, #443b43); font-size: .94rem; line-height: 1.55; }
.pp-zhrnutie__closing { margin: 0; padding: 18px 0 0; border-top: 1px solid #e1e9f3; font-size: 1rem; line-height: 1.65; }
.pp-zhrnutie__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 18px; padding: 11px 18px; border-radius: 8px; background: var(--color-logo, #0878ff); color: #fff; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; }
.pp-zhrnutie__cta:hover,
.pp-zhrnutie__cta:focus-visible { background: #0668db; color: #fff; }
.pp-zhrnutie__cta:focus-visible { outline: 3px solid rgb(8 120 255 / 35%); outline-offset: 3px; }
@media (max-width: 575.98px) { .pp-zhrnutie__cooperation { grid-template-columns: 1fr; } }

/* Výraznejšia, samostatná kompozícia pre rýchle zhrnutie. */
.pp-zhrnutie { max-width: 1180px; margin: clamp(20px, 4vw, 54px) auto clamp(42px, 7vw, 88px); color: #0b1d38; }
.pp-zhrnutie__intro { position: relative; isolation: isolate; overflow: hidden; padding: clamp(32px, 6vw, 76px); border: 0; border-radius: clamp(22px, 3vw, 36px); background: linear-gradient(122deg, #04172e, #083c78 57%, #1669c5); box-shadow: 0 30px 70px rgb(5 45 98 / .22); color: #fff; }
.pp-zhrnutie__intro::before,
.pp-zhrnutie__intro::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.pp-zhrnutie__intro::before { width: min(44vw, 580px); aspect-ratio: 1; top: -48%; right: -8%; border: 1px solid rgb(205 235 255 / .27); box-shadow: 0 0 0 70px rgb(180 225 255 / .06), 0 0 0 140px rgb(180 225 255 / .04); }
.pp-zhrnutie__intro::after { width: 240px; height: 240px; bottom: -178px; left: 38%; background: #7c65ff; filter: blur(8px); opacity: .4; }
.pp-zhrnutie__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: #b9e4ff; font-size: .78rem; font-weight: 800; letter-spacing: .14em; }
.pp-zhrnutie__eyebrow::before { content: ""; width: 30px; height: 2px; background: linear-gradient(90deg, #86dcff, #b8a7ff); }
.pp-zhrnutie__title { max-width: 14ch; font-size: clamp(2.2rem, 5.8vw, 4.7rem); line-height: 1.02; letter-spacing: -.065em; text-wrap: balance; }
.pp-zhrnutie__lead { max-width: 62ch; margin-top: 28px; color: rgb(238 247 255 / .9); font-size: clamp(1rem, 1.45vw, 1.2rem); line-height: 1.75; }
.pp-zhrnutie__section { margin: clamp(54px, 8vw, 104px) 0 0; }
.pp-zhrnutie__section-title { max-width: 22ch; margin-bottom: 26px; font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.13; letter-spacing: -.045em; }
.pp-zhrnutie__services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; counter-reset: services; }
.pp-zhrnutie__services li { grid-template-columns: 34px minmax(0, 1fr); gap: 14px; min-height: 74px; padding: 18px 20px; border: 1px solid #dbe7f5; border-radius: 16px; background: linear-gradient(135deg, #f1f7ff, #fff 72%); box-shadow: 0 10px 26px rgb(17 71 134 / .05); color: #34455e; counter-increment: services; font-size: .98rem; line-height: 1.55; }
.pp-zhrnutie__services li::before { content: "0" counter(services); display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: #ddecff; color: #075bbd; font-size: .73rem; font-variant-numeric: tabular-nums; }
.pp-zhrnutie__cooperation { gap: 18px; }
.pp-zhrnutie__card { position: relative; overflow: hidden; padding: clamp(22px, 3vw, 32px); border: 1px solid #d9e7f7; border-radius: 20px; background: #fff; box-shadow: 0 14px 34px rgb(17 71 134 / .07); transition: transform 240ms ease, box-shadow 240ms ease; }
.pp-zhrnutie__card::after { content: ""; position: absolute; right: -40px; bottom: -55px; width: 130px; height: 130px; border-radius: 50%; background: #e5f2ff; }
.pp-zhrnutie__card:hover { transform: translateY(-6px); box-shadow: 0 22px 45px rgb(17 71 134 / .15); }
.pp-zhrnutie__card-number,
.pp-zhrnutie__card-title,
.pp-zhrnutie__card-text { position: relative; z-index: 1; }
.pp-zhrnutie__card-number { margin-bottom: 22px; color: #075bbd; font-size: .75rem; letter-spacing: .13em; }
.pp-zhrnutie__card-title { font-size: 1.18rem; letter-spacing: -.02em; }
.pp-zhrnutie__card-text { color: #53647a; line-height: 1.7; }
.pp-zhrnutie__outro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-top: clamp(54px, 8vw, 104px); padding: clamp(28px, 5vw, 54px); border-radius: 24px; background: #eef6ff; }
.pp-zhrnutie__closing { max-width: 58ch; padding: 0; border: 0; color: #253a56; font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.pp-zhrnutie__cta { margin: 0; padding: 14px 22px; border-radius: 999px; background: linear-gradient(110deg, #0866d6, #6558e8); box-shadow: 0 12px 24px rgb(28 91 192 / .25); transition: transform 220ms ease, filter 220ms ease; }
.pp-zhrnutie__cta:hover,
.pp-zhrnutie__cta:focus-visible { background: linear-gradient(110deg, #0866d6, #6558e8); filter: brightness(1.08); transform: translateY(-2px); }
@media (max-width: 767.98px) {
    .pp-zhrnutie__services { grid-template-columns: 1fr; }
    .pp-zhrnutie__outro { grid-template-columns: 1fr; align-items: start; }
    .pp-zhrnutie__cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .pp-zhrnutie__card,
    .pp-zhrnutie__cta { transition: none; }
    .pp-zhrnutie__card:hover,
    .pp-zhrnutie__cta:hover { transform: none; }
}

/*
 * Detaily služieb: /php-development, /software-architecture,
 * /realtime-communication, /api-integrations a /ai-integration.
 * Nasledujú najprv pravidlá spoločnej šablóny a potom vizuál detailov,
 * v rovnakom poradí ako pôvodné service-template.css a service.css.
 * Bootstrap dodáva základné komponenty; menu.css sa načítava neskôr cez
 * template/component/menu.xhtml a zámerne má prioritu nad .pp-menu-*.
 * Zachované breakpointy, témy, hover/focus-visible, animácie a reduced-motion
 * pravidlá sú súčasťou pôvodného kontraktu týchto XHTML šablón.
 */

:root {
            --color-font-black: #111b3a;
            --color-font-seda: #443b43;
            --color-logo: #0878ff;
        }


        .layout {
            display: grid;
            grid-template-rows: minmax(0, 1fr) auto;
            min-height: 100dvh;
        }

        .pp-menu-header {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr) auto;
            align-items: center;
            gap: 18px;
            min-height: 80px;
            padding: 20px 46px;
            background: #fff;
            border-bottom: 1px solid #e6ebf3;
            box-shadow: 0 8px 30px rgb(15 23 42 / 5%);
        }

        .pp-header {
            position: sticky;
            top: 0;
            z-index: 10;
        }

        .pp-menu-brand {
            display: inline-flex;
            align-items: center;
            gap: 14px;
            color: var(--color-font-black);
            text-decoration: none;
            white-space: nowrap;
        }

        .pp-menu-brand__logo {
            width: auto;
            height: calc(1.5rem * 1.15 + 1rem + 3px);
            color: var(--color-logo);
        }

        .pp-menu-brand__content {
            display: grid;
            gap: 3px;
        }

        .pp-menu-brand__content strong {
            font-size: 1.2rem;
            line-height: 1;
        }

        .pp-menu-brand__content span {
            color: var(--color-font-seda);
            font-size: 1rem;
        }

        .pp-menu-header__actions {
            display: flex;
            align-items: center;
            gap: 14px;
            flex-shrink: 0;
        }

        .pp-menu-control {
            display: inline-grid;
            flex: 0 0 44px;
            width: 44px;
            height: 44px;
            padding: 0;
            place-items: center;
            border: 1px solid #dce6f4;
            border-radius: 50%;
            background: #fff;
            color: var(--color-font-black);
            font-size: 1.05rem;
            line-height: 1;
        }

        .pp-menu-control svg {
            width: 27px;
            height: 27px;
            fill: none;
            stroke: currentColor;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-width: 1.8;
        }

        .pp-menu-control:hover,
        .pp-menu-control:focus-visible {
            border-color: #0b5ed7;
            background: #0b5ed7;
            color: #fff;
        }

        .pp-menu-user {
            border-color: #dce6f4;
            color: var(--color-font-black);
        }

        .pp-menu-user:hover,
        .pp-menu-user:focus-visible {
            border-color: #0b5ed7;
            background: #0b5ed7;
            color: #fff;
        }

        .pp-menu-header__actions> :last-child {
            display: none;
        }

        .pp-menu-desktop {
            background-color: #061627 !important;
            padding: 0px 15px 0px 35px;

        }


        .pp-menu-desktop .nav-link {
            color: white !important;
        }

        .pp-service-footer {
            background-color: #3a4360;
            min-height: 50px;
            color: white;
            margin-top: 30px;
        }

        @media (max-width: 767.98px) {
            .pp-menu-header {
                gap: 14px;
                min-height: 76px;
                padding: 12px 16px;
            }

            .pp-menu-brand {
                gap: 10px;
            }

            .pp-menu-brand__logo {
                height: calc(1.05rem * 1.15 + .75rem + 3px);
            }

            .pp-menu-brand__content strong {
                font-size: 1.05rem;
            }

            .pp-menu-brand__content span {
                font-size: .75rem;
            }

            .pp-menu-header__actions {
                gap: 8px;
            }

            .pp-menu-control {
                flex-basis: 44px;
                width: 44px;
                height: 44px;
            }

            .pp-menu-control svg {
                width: 22px;
                height: 22px;
            }

            .pp-menu-header__actions> :last-child {
                display: initial;
            }

            .pp-menu-desktop {
                display: none;
            }

        }

.service-page {
    overflow: hidden;
}

.service-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(70px, 10vw, 124px) 0;
    background: #071a36;
    border-bottom: 1px solid var(--line);
}

.service-hero-image,
.service-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.service-hero-image {
    z-index: -2;
    display: block;
}

.service-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.service-hero-overlay {
    z-index: -1;
    background: linear-gradient(90deg, rgba(5, 20, 45, .94) 0%, rgba(5, 20, 45, .83) 40%, rgba(5, 20, 45, .28) 74%, rgba(5, 20, 45, .12) 100%);
}

.service-hero-content {
    position: relative;
}

.service-hero :is(h1, .service-intro) {
    color: #fff;
}

.service-hero .service-intro {
    color: #d6e5fb;
}

.service-eyebrow,
.service-kicker {
    margin: 0 0 18px;
    color: var(--section-accent);
    font-size: clamp(.7rem, .8vw, .85rem);
    font-weight: 800;
    line-height: 1.55;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.service-hero h1 {
    max-width: 560px;
    margin: 0 0 24px;
    font-size: clamp(2.1rem, 3.15vw, 3.8rem);
    line-height: 1.12;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.service-intro {
    max-width: 560px;
    margin: 0 0 30px;
    color: var(--muted);
    font-size: clamp(1rem, 1.1vw, 1.15rem);
    line-height: 1.65;
    text-wrap: pretty;
}

.service-section {
    padding: var(--section-space) 0;
}

.service-soft {
    background: var(--surface);
    border-block: 1px solid var(--line);
}

.service-split {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(24px, 6vw, 80px);
}

.service-split h2,
.service-heading h2,
.service-case h2,
.service-final h2 {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.125rem);
    line-height: 1.2;
    letter-spacing: -.035em;
}

.service-split>p,
.service-heading p,
.service-case>p,
.service-final p {
    color: var(--muted);
    line-height: 1.7;
}

.service-split>p {
    align-self: center;
}

.service-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-cards article,
.service-case,
.service-before-after article {
    min-width: 0;
    background: var(--card);
    border: 1px solid rgba(7, 21, 54, .07);
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(7, 21, 54, .035), 0 10px 24px rgba(7, 21, 54, .055);
    transition: box-shadow .25s ease, transform .25s ease;
}

.service-cards article,
.service-case {
    padding: 24px;
}

.service-cards h3 {
    margin: 0 0 10px;
    font-size: 1.06rem;
}

.service-cards p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-list li {
    padding: 15px 16px 15px 38px;
    position: relative;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.service-list li::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 23px;
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: var(--section-accent);
}

.service-page .wrap,
.service-page :is(p, li, article, span, strong, h1, h2, h3) {
    overflow-wrap: normal;
    word-break: normal;
}

.service-page :is(.service-intro, .service-heading p, .service-split > p, .service-case > p, .service-final p, .service-process-content span) {
    max-width: 72ch;
}

.service-diagram {
    margin: 24px 0 0;
    padding: 24px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--card);
    color: var(--text);
    font: 600 clamp(.77rem, 1.5vw, 1rem)/1.65 ui-monospace, SFMono-Regular, Consolas, monospace;
    white-space: pre-wrap;
}

.service-process {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
}

.service-process-intro {
    min-width: 0;
}

.service-process-list {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: process;
}

.service-process-item {
    counter-increment: process;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    min-width: 0;
}

.service-process-item::before {
    content: counter(process, decimal-leading-zero);
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--section-tint);
    border: 1px solid var(--section-track);
    color: var(--section-accent);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.service-process-content {
    min-width: 0;
    padding-top: 2px;
}

.service-process-content strong,
.service-process-content span {
    display: block;
}

.service-process-content strong {
    font-size: 1.06rem;
    line-height: 1.35;
}

.service-process-content span {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.65;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-tags span {
    padding: 9px 13px;
    border: 1px solid var(--section-track);
    border-radius: var(--radius-pill);
    background: var(--card);
    font-weight: 650;
}

.service-final {
    padding: clamp(42px, 6vw, 70px) 0;
    background: #081a31;
    color: #fff;
}

.service-final .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.service-final h2 {
    color: #fff;
}

.service-final p {
    max-width: 720px;
    color: #c7d5e7;
}

.service-final .btn {
    flex: 0 0 auto;
}

@media(max-width:991.98px) {

    .service-split,
    .service-process {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .service-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-final .wrap {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media(max-width:575.98px) {

    .service-cards,
    .service-list {
        grid-template-columns: 1fr;
    }

    .service-cards article,
    .service-case {
        padding: 20px;
    }

    .service-diagram {
        padding: 16px;
        font-size: .76rem;
    }

    .service-hero {
        padding-block: 58px;
    }

    .service-hero-image img {
        object-position: 64% center;
    }

    .service-hero-overlay {
        background: linear-gradient(90deg, rgba(5, 20, 45, .95), rgba(5, 20, 45, .78));
    }

    .service-eyebrow,
    .service-kicker {
        margin-bottom: 14px;
        font-size: .66rem;
    }

    .service-hero h1 {
        font-size: clamp(1.9rem, 7.8vw, 2.75rem);
        margin-bottom: 18px;
        line-height: 1.13;
    }

    .service-intro {
        font-size: 1rem;
        line-height: 1.65;
    }
}

.service-statement {
    max-width: 900px;
    margin: 40px 0 0;
    padding-left: 24px;
    border-left: 3px solid var(--section-accent);
    font-size: clamp(1.45rem, 3vw, 2.25rem);
    line-height: 1.35;
}

.service-before-after {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.service-before-after article {
    padding: 26px;
}

.service-before-after ul {
    color: var(--muted);
    line-height: 1.7;
}

.service-consultation {
    padding: 64px 0;
    text-align: center;
    background: var(--surface);
}

.service-consultation p {
    max-width: 720px;
    margin: 16px auto 26px;
    color: var(--muted);
}

.service-consultation h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

@media(hover:hover) {

    .service-cards article:hover,
    .service-case:hover,
    .service-before-after article:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(7, 21, 54, .05), 0 14px 30px rgba(7, 21, 54, .08);
    }
}

html[data-theme=dark] .service-cards article,
html[data-theme=dark] .service-case,
html[data-theme=dark] .service-before-after article {
    border-color: rgba(255, 255, 255, .07);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .20), 0 12px 28px rgba(0, 0, 0, .24);
}

@media(hover:hover) {

    html[data-theme=dark] .service-cards article:hover,
    html[data-theme=dark] .service-case:hover,
    html[data-theme=dark] .service-before-after article:hover {
        box-shadow: 0 4px 10px rgba(0, 0, 0, .25), 0 16px 32px rgba(0, 0, 0, .30);
    }
}

@media(prefers-reduced-motion:reduce) {

    .service-cards article,
    .service-case,
    .service-before-after article {
        transition: none;
    }

    .service-cards article:hover,
    .service-case:hover,
    .service-before-after article:hover {
        transform: none;
    }
}

@media(max-width:575.98px) {
    .service-before-after {
        grid-template-columns: 1fr
    }

    .service-statement {
        padding-left: 18px
    }
}

@media(max-width:575.98px) {
    .service-hero h1 {
        font-size: clamp(1.65rem, 7vw, 2rem)
    }
}

/* Vizuálna vrstva detailov služieb: viac rytmu, kontrastu a hĺbky. */
.service-hero {
    min-height: min(720px, calc(100svh - var(--header-height)));
    display: grid;
    align-items: center;
    padding-block: clamp(84px, 11vw, 152px);
    background: #04182f;
}

.service-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: min(42vw, 620px);
    aspect-ratio: 1;
    top: -35%;
    right: -7%;
    border: 1px solid rgb(190 227 255 / .22);
    border-radius: 50%;
    box-shadow: 0 0 0 60px rgb(178 220 255 / .04), 0 0 0 120px rgb(178 220 255 / .025);
    pointer-events: none;
}

.service-hero-overlay {
    background: linear-gradient(90deg, rgb(3 16 37 / .96) 0%, rgb(4 30 62 / .88) 39%, rgb(5 38 79 / .55) 66%, rgb(5 28 58 / .18) 100%);
}

.service-hero-content {
    max-width: none;
}

.service-hero-content::before {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin-bottom: 24px;
    background: linear-gradient(90deg, #80d8ff, #a595ff);
}

.service-eyebrow {
    color: #aedfff;
}

.service-hero h1 {
    max-width: 13ch;
    margin-bottom: 28px;
    font-size: clamp(2.45rem, 5vw, 5rem);
    line-height: 1.02;
    letter-spacing: -.065em;
}

.service-intro {
    max-width: 59ch;
    margin-bottom: 34px;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.service-hero .primary {
    border-radius: 999px;
    padding: 14px 24px;
    box-shadow: 0 14px 28px rgb(2 8 26 / .3);
}

.service-section {
    padding-block: clamp(70px, 9vw, 132px);
}

.service-soft {
    position: relative;
    overflow: hidden;
    border-block: 0;
    background: radial-gradient(circle at 100% 0%, rgb(85 144 255 / .13), transparent 32%), var(--surface);
}

.service-soft::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    bottom: -270px;
    left: -220px;
    border: 1px solid color-mix(in srgb, var(--section-accent) 15%, transparent);
    border-radius: 50%;
    box-shadow: 0 0 0 48px color-mix(in srgb, var(--section-accent) 4%, transparent);
    pointer-events: none;
}

.service-soft .wrap {
    position: relative;
}

.service-kicker {
    margin-bottom: 20px;
    color: var(--section-accent);
    font-size: .74rem;
    letter-spacing: .14em;
}

.service-split {
    gap: clamp(36px, 8vw, 112px);
}

.service-split h2,
.service-heading h2,
.service-case h2,
.service-final h2 {
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -.05em;
    text-wrap: balance;
}

.service-split>p,
.service-heading p,
.service-case>p,
.service-final p {
    font-size: clamp(1rem, 1.25vw, 1.13rem);
}

.service-heading {
    margin-bottom: clamp(30px, 4vw, 48px);
}

.service-cards {
    gap: 22px;
}

.service-cards article,
.service-case,
.service-before-after article {
    border-color: var(--line);
    border-radius: 22px;
    box-shadow: 0 12px 30px rgb(17 71 134 / .06);
}

.service-cards article {
    padding: clamp(24px, 3vw, 34px);
    border-top: 3px solid var(--section-track);
    background: linear-gradient(135deg, var(--section-tint), var(--card) 68%);
}

.service-cards article:nth-child(3n + 2) {
    transform: translateY(20px);
}

.service-cards h3 {
    margin-bottom: 14px;
    font-size: 1.18rem;
    letter-spacing: -.02em;
}

.service-cards article>p:only-child {
    font-size: 1.02rem;
    color: var(--text);
}

.service-statement {
    margin-top: clamp(50px, 7vw, 90px);
    padding: clamp(22px, 3vw, 34px);
    border: 0;
    border-radius: 20px;
    background: #081c37;
    color: #f4f8ff;
    box-shadow: 0 20px 48px rgb(3 19 42 / .16);
}

.service-before-after {
    gap: 22px;
}

.service-before-after article {
    padding: clamp(26px, 4vw, 42px);
}

.service-before-after article:first-child {
    background: linear-gradient(135deg, #fff8f5, var(--card));
}

.service-before-after article:last-child {
    background: linear-gradient(135deg, var(--section-tint), var(--card));
}

html[data-theme=dark] .service-before-after article:first-child {
    background: linear-gradient(135deg, #18263a, var(--card));
}

html[data-theme=dark] .service-before-after article h2 {
    color: var(--text);
}

.service-before-after ul {
    padding-left: 20px;
}

.service-before-after li+li {
    margin-top: 9px;
}

.service-list {
    gap: 14px 30px;
}

.service-list li {
    min-height: 72px;
    padding: 18px 18px 18px 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card);
    box-shadow: 0 8px 22px rgb(17 71 134 / .04);
}

.service-list li::before {
    left: 19px;
    top: 27px;
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 5px var(--section-tint);
}

.service-diagram {
    margin-top: 30px;
    padding: clamp(22px, 3vw, 34px);
    border-radius: 20px;
    background: #071a33;
    color: #dbeeff;
    box-shadow: 0 18px 44px rgb(3 18 41 / .14);
}

.service-process {
    gap: clamp(40px, 8vw, 120px);
}

.service-process-list {
    gap: 30px;
}

.service-process-item {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 20px;
}

.service-process-item::before {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    box-shadow: 0 0 0 7px var(--section-tint);
}

.service-process-content {
    padding: 8px 0 0;
}

.service-process-content strong {
    font-size: 1.15rem;
}

.service-tags {
    gap: 12px;
}

.service-tags span {
    padding: 10px 15px;
    border-color: var(--section-track);
    background: var(--card);
    box-shadow: 0 6px 15px rgb(17 71 134 / .04);
}

.service-case {
    padding: clamp(30px, 5vw, 58px);
    border-left: 4px solid var(--section-accent);
}

.service-case .service-diagram {
    margin-bottom: 0;
}

.service-final {
    position: relative;
    overflow: hidden;
    padding-block: clamp(72px, 10vw, 140px);
    background: linear-gradient(118deg, #04172e, #083a75 58%, #155fb8);
}

.service-final::before {
    content: "";
    position: absolute;
    width: min(44vw, 570px);
    aspect-ratio: 1;
    top: -60%;
    right: -4%;
    border: 1px solid rgb(191 227 255 / .2);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgb(177 219 255 / .04);
}

.service-final .wrap {
    position: relative;
}

.service-final h2 {
    max-width: 16ch;
}

.service-final p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.service-final .btn {
    border-radius: 999px;
    padding: 14px 24px;
    box-shadow: 0 14px 28px rgb(0 11 32 / .28);
}

.service-consultation {
    padding-block: clamp(72px, 9vw, 122px);
    background: linear-gradient(180deg, var(--surface), var(--bg));
}

@media (hover:hover) {

    .service-cards article:hover,
    .service-case:hover,
    .service-before-after article:hover {
        transform: translateY(-7px);
        box-shadow: 0 22px 46px rgb(17 71 134 / .14);
    }

    .service-cards article:nth-child(3n + 2):hover {
        transform: translateY(13px);
    }
}

@media (max-width:991.98px) {
    .service-hero {
        min-height: 0;
    }

    .service-cards article:nth-child(3n + 2) {
        transform: none;
    }

    .service-cards article:nth-child(3n + 2):hover {
        transform: translateY(-7px);
    }
}

@media (max-width:575.98px) {
    .service-hero {
        padding-block: 70px;
    }

    .service-hero::before {
        width: 300px;
        right: -150px;
        top: -100px;
    }

    .service-hero h1 {
        font-size: clamp(2.15rem, 10vw, 3.1rem);
    }

    .service-section {
        padding-block: 64px;
    }

    .service-cards article,
    .service-before-after article,
    .service-case {
        border-radius: 18px;
    }

    .service-final .btn {
        width: 100%;
        text-align: center;
    }
}

@media(prefers-reduced-motion:reduce) {

    .service-cards article,
    .service-case,
    .service-before-after article {
        transition: none;
    }

    .service-cards article,
    .service-cards article:hover,
    .service-cards article:nth-child(3n + 2),
    .service-cards article:nth-child(3n + 2):hover,
    .service-case:hover,
    .service-before-after article:hover {
        transform: none;
    }
}
/*
 * Pravidlá príbehov /pribeh a /pribeh2.
 * Prvá časť vychádza z story.css a používa sa na oboch príbehoch cez XHTML triedy .story-*.
 * Nasledujúca časť vychádza z story2.css a dopĺňa iba /pribeh2.
 * Pôvodné poradie kaskády je zachované: Bootstrap → style.css (story.css, potom story2.css) → menu.css.
 * Pravidlá menu komponentu .pp-* pre /pribeh2 sú viazané na body.story2-route cez
 * :where(body.story2-route). Pseudo-trieda :where() nepridáva špecificitu, takže neskôr
 * načítaný menu.css zachováva pôvodné prepísania, breakpointy, témy a interakčné stavy.
 * Sú zachované pôvodné breakpointy, animácie a deklarácie bez optimalizácie.
 */
.story-page { padding-bottom: var(--section-space); }
.story-page .wrap { overflow-wrap: break-word; word-break: normal; }
.story-hero-layout > *, .story-layout > *, .story-roles > * { min-width: 0; }
.story-page h1, .story-page h2, .story-page h3, .story-chapter blockquote { text-wrap: balance; }
.story-page p, .story-page figcaption, .story-index a { text-wrap: pretty; }
.story-hero { position: relative; isolation: isolate; overflow: hidden; margin-bottom: clamp(40px, 6vw, 80px); padding-block: clamp(36px, 7vw, 88px); background: radial-gradient(circle at 84% 14%, rgb(23 100 194 / .38), transparent 36%), linear-gradient(125deg, #07172f, #0a2d5b); }
.story-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(2 12 28 / .3), transparent 68%); }
.story-hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.story-hero .story-back { color: #c9dcf7; }
.story-hero .story-back:hover { color: #fff; }
.story-back { display: inline-block; color: var(--muted); font-size: .9rem; text-decoration: none; }
.story-back:hover { color: var(--blue); text-decoration: underline; }
.story-eyebrow { color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 14px; }
.story-hero .story-eyebrow { margin-top: 32px; color: #8bc6ff; }
.story-hero h1 { color: #fff; font-size: clamp(2.5rem, 4.5vw, 3.6rem); line-height: 1.07; letter-spacing: -.055em; margin: 0 0 24px; }
.story-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.7; color: #d8e6f9; }
.story-byline { color: #b9cde8; font-size: .85rem; margin-block: 24px; }
.story-byline span { padding-inline: 8px; }
.story-hero-figure, .story-figure { margin: 0; }
.story-page figure img { display: block; width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--line); }
.story-hero-figure { transform: rotate(1deg); }
.story-hero .story-hero-figure img { border-color: rgb(191 222 255 / .4); box-shadow: 0 24px 54px rgb(1 10 25 / .4); }
.story-hero figcaption { color: #c9dcf7; }
.story-page figcaption { font-size: .85rem; color: var(--muted); text-align: center; padding: 12px 8px 0; line-height: 1.5; }
.story-layout { display: grid; grid-template-columns: 220px minmax(0, 740px); gap: clamp(30px, 6vw, 100px); justify-content: center; }
.story-index nav { position: sticky; top: calc(var(--header-height) + 30px); }
.story-index ol { list-style: decimal-leading-zero; margin: 0; padding-left: 24px; color: var(--blue); }
.story-index li { padding: 0 0 16px 6px; font-size: .88rem; }
.story-index a { color: var(--muted); text-decoration: none; }
.story-index a:hover { color: var(--blue); }
.story-disclaimer { padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--muted); font-size: .95rem; line-height: 1.7; }
.story-chapter { padding-block: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-height) + 24px); }
.story-chapter h2, .story-cta h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.035em; line-height: 1.18; margin: 0 0 24px; }
.story-chapter > p:not(.story-eyebrow), .story-cta > p:not(.story-eyebrow) { font-size: 1.08rem; line-height: 1.85; margin-bottom: 20px; }
.story-chapter blockquote { margin: 28px 0; padding: 12px 0 12px 24px; border-left: 3px solid var(--blue); font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 700; line-height: 1.5; letter-spacing: -.02em; }
.story-figure { margin-top: 32px; }
.story-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.story-roles article { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.story-role-icon { font-size: 1.7rem; display: inline-block; margin-bottom: 12px; }
.story-roles h3 { font-size: 1.1rem; margin-bottom: 12px; }
.story-roles p { color: var(--muted); line-height: 1.7; margin: 0; }
.story-stops { list-style: none; padding: 0 0 0 22px; margin: 30px 0; border-left: 2px solid var(--line); }
.story-stops li { position: relative; padding: 0 0 20px 12px; }
.story-stops li::before { content: ''; position: absolute; width: 12px; height: 12px; background: var(--blue); border-radius: 50%; left: -29px; top: 6px; }
.story-stops p { color: var(--muted); line-height: 1.7; margin: 8px 0 0; }
.story-cta { padding: clamp(24px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; margin-top: 40px; }
.story-cta .story-back { display: block; margin-top: 24px; }
.story-page a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 4px; }
.story-hero .btn.primary:focus-visible { outline-color: #fff; }
html[data-theme=dark] .story-hero { background: radial-gradient(circle at 84% 14%, rgb(39 116 210 / .28), transparent 36%), linear-gradient(125deg, #0c1e39, #102f59); }
@media (max-width: 1199.98px) { .story-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 30px; } }
@media (max-width: 767.98px) { .story-hero-layout { grid-template-columns: 1fr; } .story-hero-figure { transform: none; } .story-layout { grid-template-columns: 1fr; } .story-index nav { position: static; } .story-index ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; } .story-index { border-bottom: 1px solid var(--line); padding-bottom: 12px; } .story-chapter { padding-block: 30px; } }
@media (max-width: 575.98px) { .story-roles { grid-template-columns: 1fr; } .story-index ol { grid-template-columns: 1fr; } }

/* Príbeh: technológia ako priestor pre radosť, nápady a slobodu. */
.story-page { padding-bottom: 0; background: linear-gradient(180deg, #fff 0%, #f7fbff 72%, #fffdf7 100%); }
.story-hero { margin-bottom: clamp(54px, 8vw, 112px); padding-block: clamp(60px, 9vw, 128px); background: radial-gradient(circle at 83% 15%, rgb(255 203 104 / .45), transparent 26%), radial-gradient(circle at 11% 88%, rgb(51 185 213 / .3), transparent 31%), linear-gradient(124deg, #06264b, #075b91 58%, #178fbd); }
.story-hero::after { content: ""; position: absolute; z-index: -1; width: min(40vw, 540px); aspect-ratio: 1; right: -8%; bottom: -54%; border: 1px solid rgb(255 245 207 / .28); border-radius: 50%; box-shadow: 0 0 0 64px rgb(255 246 211 / .055), 0 0 0 128px rgb(255 246 211 / .03); }
.story-hero::before { background: linear-gradient(90deg, rgb(3 24 52 / .52), transparent 70%); }
.story-hero-copy::before { content: ""; display: block; width: 44px; height: 2px; margin-bottom: 24px; background: linear-gradient(90deg, #aaf0ff, #ffe39b); }
.story-hero .story-back { color: #d4f3ff; }
.story-hero .story-eyebrow { color: #fff0bb; }
.story-hero h1 { max-width: 12ch; font-size: clamp(2.6rem, 5.2vw, 4.85rem); line-height: 1.01; letter-spacing: -.068em; }
.story-lead { max-width: 55ch; color: rgb(240 251 255 / .93); font-size: clamp(1.08rem, 1.55vw, 1.28rem); }
.story-byline { color: #cdf0ff; }
.story-hero .btn.primary { border-radius: 999px; padding: 14px 24px; background: linear-gradient(110deg, #ff9e54, #ffcf5c); color: #1a3150; box-shadow: 0 14px 28px rgb(2 28 56 / .26); }
.story-hero .btn.primary:hover { color: #142946; filter: brightness(1.05); }
.story-hero-figure { transform: rotate(2deg); }
.story-hero .story-hero-figure img { border: 8px solid rgb(255 255 255 / .14); border-radius: 30px; box-shadow: 0 30px 64px rgb(0 22 49 / .34); }
.story-hero figcaption { color: #e7f8ff; }

.story-layout { gap: clamp(36px, 7vw, 116px); }
.story-index nav { padding: 20px 0 20px 18px; border-left: 2px solid #d5ebf9; }
.story-index ol { color: #f3a348; }
.story-index a:hover { color: #e68228; }
.story-disclaimer { position: relative; padding: 24px 28px; border: 0; border-radius: 18px; background: linear-gradient(135deg, #fff3d7, #fffaf0); color: #695435; box-shadow: 0 12px 28px rgb(156 108 41 / .08); }
.story-disclaimer::before { content: "☀"; display: inline-block; margin-right: 9px; color: #ed9b36; font-size: 1.2rem; }
.story-chapter { padding-block: clamp(46px, 6vw, 78px); border-color: #dfebf4; }
.story-chapter h2,.story-cta h2 { font-size: clamp(2rem, 3.7vw, 3.15rem); line-height: 1.1; letter-spacing: -.052em; }
.story-eyebrow { color: #0d84b2; }
.story-chapter > p:not(.story-eyebrow),.story-cta > p:not(.story-eyebrow) { color: #455b74; font-size: clamp(1.04rem, 1.3vw, 1.14rem); line-height: 1.85; }
.story-chapter blockquote { padding: 24px 28px; border: 0; border-radius: 18px; background: linear-gradient(135deg, #eaf8ff, #f4f3ff); color: #16446c; box-shadow: 0 12px 28px rgb(22 99 151 / .09); }
.story-chapter blockquote::before { content: "“"; color: #f0a147; font-size: 2.3em; line-height: .1; vertical-align: -.34em; margin-right: .12em; }
.story-page figure img { border: 0; border-radius: 24px; box-shadow: 0 18px 42px rgb(15 76 122 / .13); }
.story-roles { gap: 20px; }
.story-roles article { border: 0; border-radius: 20px; background: linear-gradient(135deg, #f2fbff, #fff); box-shadow: 0 12px 28px rgb(20 92 139 / .08); transition: transform 220ms ease, box-shadow 220ms ease; }
.story-roles article:nth-child(even) { background: linear-gradient(135deg, #fff8e9, #fff); }
.story-role-icon { filter: drop-shadow(0 6px 8px rgb(20 92 139 / .16)); }
.story-stops { border-left-color: #ffe0a4; }
.story-stops li::before { background: #f1a33b; box-shadow: 0 0 0 5px #fff8e9; }
.story-stops strong { color: #16517c; }
.story-cta { margin-top: clamp(52px, 8vw, 96px); padding: clamp(30px, 5vw, 58px); border: 0; border-radius: 28px; background: linear-gradient(118deg, #073f71, #087db0 59%, #25a7bd); box-shadow: 0 24px 55px rgb(9 86 133 / .2); }
.story-cta .story-eyebrow { color: #ffe5a5; }
.story-cta h2 { max-width: 17ch; color: #fff; }
.story-cta > p:not(.story-eyebrow) { max-width: 60ch; color: #def6ff; }
.story-cta .btn.primary { border-radius: 999px; padding: 14px 24px; background: linear-gradient(110deg, #ffae5b, #ffe071); color: #163553; box-shadow: 0 12px 26px rgb(0 37 67 / .25); }
.story-cta .story-back { color: #def6ff; }
.story-cta .story-back:hover { color: #fff; }

html[data-theme=dark] .story-page {
  background: linear-gradient(180deg, #07111f 0%, #0b1d31 72%, #111b2b 100%);
}

html[data-theme=dark] .story-index nav {
  border-left-color: #2c5a7c;
}

html[data-theme=dark] .story-index a {
  color: #b8cbe0;
}

html[data-theme=dark] .story-index a:hover {
  color: #7dc8ff;
}

html[data-theme=dark] .story-disclaimer {
  background: linear-gradient(135deg, #2d2b25, #243547);
  color: #e9dfc8;
  box-shadow: 0 12px 28px rgb(0 0 0 / .24);
}

html[data-theme=dark] .story-chapter {
  border-color: #203d56;
}

html[data-theme=dark] .story-chapter > p:not(.story-eyebrow),
html[data-theme=dark] .story-cta > p:not(.story-eyebrow) {
  color: #c5d4e5;
}

html[data-theme=dark] .story-chapter blockquote {
  background: linear-gradient(135deg, #112c46, #252744);
  color: #dcecff;
  box-shadow: 0 12px 28px rgb(0 0 0 / .22);
}

html[data-theme=dark] .story-roles article,
html[data-theme=dark] .story-roles article:nth-child(even) {
  background: linear-gradient(135deg, #102942, #142137);
  box-shadow: 0 12px 28px rgb(0 0 0 / .24);
}

html[data-theme=dark] .story-stops {
  border-left-color: #805e2d;
}

html[data-theme=dark] .story-stops li::before {
  box-shadow: 0 0 0 5px #1a2634;
}

html[data-theme=dark] .story-stops strong {
  color: #a6d8ff;
}

@media (hover:hover) { .story-roles article:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 20px 38px rgb(20 92 139 / .16); } .story-roles article:nth-child(even):hover { transform: translateY(-6px) rotate(.4deg); } }
@media (max-width:767.98px) { .story-hero { padding-block: 48px 62px; } .story-hero h1 { font-size: clamp(2.35rem, 10vw, 3.55rem); } .story-hero-figure { transform: none; } .story-index nav { padding-left: 0; border-left: 0; } .story-disclaimer { padding: 22px; } }
@media (prefers-reduced-motion:reduce) { .story-roles article { transition: none; } .story-roles article:hover,.story-roles article:nth-child(even):hover { transform: none; } }
/* Príbeh AI grafika: živé farby, veľa priestoru a čitateľný kontrast. */
:where(body.story2-route) .pp-header { position: sticky; top: 0; z-index: 30; }
:where(body.story2-route) .pp-menu-header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; }
:where(body.story2-route) .pp-menu-brand { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
:where(body.story2-route) .pp-menu-brand__content { display: grid; gap: 3px; }
:where(body.story2-route) .pp-menu-header__actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
:where(body.story2-route) .pp-menu-control { display: inline-grid; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; place-items: center; border-radius: 50%; font-size: 1.05rem; line-height: 1; }
:where(body.story2-route) .pp-menu-control svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
:where(body.story2-route) .pp-menu-header__actions > :last-child { display: none; }
@media (max-width: 767.98px) { :where(body.story2-route) .pp-menu-header { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; } :where(body.story2-route) .pp-menu-header__actions { gap: 8px; } :where(body.story2-route) .pp-menu-header__actions > :last-child { display: inline-grid; } :where(body.story2-route) .pp-menu-desktop { display: none; } }
.story2-page { background: linear-gradient(180deg, #f8fcff 0%, #fff8ee 55%, #f8f4ff 100%); }
.story2-theme-toggle:hover,.story2-theme-toggle:focus-visible { background: linear-gradient(135deg, #7146b4, #1297bb); outline: 3px solid rgb(255 193 83 / .62); outline-offset: 3px; }
.story2-hero { background: radial-gradient(circle at 5% 18%, rgb(37 222 216 / .38), transparent 28%), radial-gradient(circle at 90% 84%, rgb(143 84 255 / .36), transparent 32%), linear-gradient(126deg, #15266d, #087caa 51%, #4258bd); }
.story2-hero .story-eyebrow { color: #ffe17f; }
.story2-hero h1 { max-width: 13ch; }
.story2-hero .story-hero-figure { transform: rotate(1.5deg); }
.story2-hero .story-hero-figure img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center; }
.story2-page .story-disclaimer { background: linear-gradient(125deg, #fff2cc, #f7f2ff); color: #513d66; }
.story2-page .story-disclaimer::before { content: "✦"; color: #7b4ee2; }
.story2-chapter:nth-of-type(odd) h2 { color: #214ca0; }
.story2-chapter:nth-of-type(even) h2 { color: #813f8f; }
.story2-chapter blockquote { background: linear-gradient(125deg, #e7fbff, #f6edff); color: #263d82; border-left: 5px solid #ff9f42; }
.story2-page .story-figure img { aspect-ratio: 3 / 2; object-fit: cover; }
.story2-cta { background: radial-gradient(circle at 88% 13%, rgb(255 211 93 / .35), transparent 24%), linear-gradient(124deg, #432174, #126fa3 56%, #04a4a8); }
html[data-theme=dark] .story2-page { background: linear-gradient(180deg, #101b39, #1d1b39 60%, #102e3c); }
html[data-theme=dark] .story2-page .story-chapter { border-color: rgb(173 209 255 / .18); }
html[data-theme=dark] .story2-page .story-chapter > p:not(.story-eyebrow) { color: #d3deef; }
html[data-theme=dark] .story2-page .story-index nav { border-color: #5489c8; }
html[data-theme=dark] .story2-page .story-disclaimer { background: linear-gradient(125deg, #3c3154, #1d4054); color: #f0e9ff; }
@media (max-width: 767.98px) { .story2-hero .story-hero-figure { transform: none; } .story2-hero h1 { max-width: 15ch; } }
/*
 * Zdieľaná navigácia pre verejné route cez template/component/menu.xhtml.
 * Sekcia používa Bootstrap Offcanvas, mobile-navigation.js, theme.js a nav-overflow/dropdown.
 * Je zámerne posledná v style.css, aby zachovala pôvodnú prioritu menu.css.
 * Zachováva breakpointy, interakčné stavy, reduced-motion, duplicity a existujúce !important.
 */
.pp-menu-user.active {
            box-shadow: 0 0 4px 1px rgba(0, 200, 0, 0.3);
        }


        .pp-menu-mobile-canvas .nav-item {
            background-color: white !important;
            border: var(--nav-overflow-border-width) solid var(--nav-overflow-submenu-border-color);

            border-radius: var(--nav-overflow-border-radius);
            background: var(--nav-overflow-menu-background);

        }

        .pp-menu-mobile-canvas .nav-item:hover {
            background: whitesmoke !important;
        }

        /* Finálny vizuál mobilného offcanvas: samostatný tmavý navigačný panel. */
        .pp-menu-mobile-canvas {
            --bs-offcanvas-bg: transparent;
            --bs-offcanvas-color: #eff9ff;
            background:
                radial-gradient(circle at 94% 3%, rgb(255 208 112 / .25), transparent 26%),
                linear-gradient(155deg, #04172e, #073b75 64%, #0a5e9e) !important;
            color: #eff9ff;
        }

        .pp-menu-mobile-canvas .offcanvas-body {
            background: transparent !important;
        }

        .pp-menu-mobile-canvas .nav-item,
        .pp-menu-mobile-canvas .nav-overflow-vertical > .nav > .nav-item:has(> .dropdown-menu),
        .pp-menu-mobile-canvas .nav-overflow-vertical .dropdown-submenu {
            border-color: rgb(183 224 255 / .2) !important;
            background: rgb(255 255 255 / .09) !important;
        }

        .pp-menu-mobile-canvas .nav-item:hover,
        .pp-menu-mobile-canvas .nav-item:focus-within {
            background: rgb(255 255 255 / .16) !important;
        }

        .pp-menu-mobile-canvas :is(.nav-link, .dropdown-item) {
            color: #eff9ff !important;
            text-shadow: none;
        }

        .pp-menu-mobile-canvas :is(.nav-link, .dropdown-item):hover,
        .pp-menu-mobile-canvas :is(.nav-link, .dropdown-item):focus-visible,
        .pp-menu-mobile-canvas :is(.nav-link, .dropdown-item).active {
            background: rgb(122 217 255 / .16) !important;
            color: #fff !important;
        }

        .pp-menu-mobile-canvas .nav-overflow-vertical .dropdown-menu {
            background: transparent !important;
        }

        .pp-menu-mobile-canvas .nav-overflow-vertical .dropdown-menu .dropdown-item {
            color: rgb(222 243 255 / .88) !important;
        }

        /* Hlavička ako menovka na dverách: dôveryhodná, no nie strohá. */
        .pp-menu-header {
            gap: 20px !important;
            min-height: 92px !important;
            padding: 15px max(clamp(18px, 4vw, 52px), calc((100% - var(--content-width)) / 2)) !important;
            background:
                radial-gradient(circle at 8% -80%, rgb(255 218 133 / .28), transparent 34%),
                linear-gradient(100deg, #fdfbf5, #f5f8fb 68%, #eaf3fb) !important;
            border-bottom: 1px solid rgb(96 127 160 / .18) !important;
            box-shadow: 0 10px 28px rgb(12 39 71 / .08) !important;
        }

        .pp-menu-brand {
            position: relative;
            gap: 12px !important;
            padding: 10px 30px 10px 12px;
            overflow: hidden;
            border: 1px solid rgb(255 226 154 / .45);
            border-radius: 16px;
            background:
                linear-gradient(128deg, rgb(255 255 255 / .08), transparent 42%),
                linear-gradient(120deg, #071c37, #0b437c 72%, #0b5e9e);
            box-shadow: 0 9px 20px rgb(4 28 59 / .19), inset 0 1px 0 rgb(255 255 255 / .14);
            color: #fff !important;
            text-decoration: none;
            transition: transform 180ms ease, box-shadow 180ms ease;
        }

        .pp-menu-brand::before {
            position: absolute;
            top: 10px;
            left: 10px;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: rgb(255 229 166 / .85);
            box-shadow: 0 0 0 1px rgb(21 47 74 / .5), 0 55px 0 rgb(255 229 166 / .85), 202px 0 0 rgb(255 229 166 / .85), 202px 55px 0 rgb(255 229 166 / .85);
            content: "";
            opacity: .72;
        }

        .pp-menu-brand::after {
            position: absolute;
            top: 7px;
            right: 10px;
            color: #ffdc83;
            content: "✦";
            font-size: .88rem;
            text-shadow: 0 0 15px rgb(255 220 131 / .55);
            transform: rotate(12deg);
        }

        .pp-menu-brand:hover,
        .pp-menu-brand:focus-visible {
            color: #fff !important;
            transform: translateY(-1px);
            box-shadow: 0 13px 26px rgb(4 28 59 / .25), inset 0 1px 0 rgb(255 255 255 / .18);
        }

        .pp-menu-brand:focus-visible {
            outline: 3px solid rgb(255 207 101 / .64);
            outline-offset: 3px;
        }

        .pp-menu-brand__logo {
            position: relative;
            z-index: 1;
            width: auto;
            height: 47px !important;
            color: #ffdb88 !important;
            filter: drop-shadow(0 4px 6px rgb(0 12 31 / .22));
            animation: pp-menu-logo-drift 5.8s ease-in-out infinite;
        }

        .pp-menu-brand__content {
            position: relative;
            z-index: 1;
            gap: 4px !important;
            isolation: isolate;
        }

        .pp-menu-brand__content::before {
            position: absolute;
            z-index: -1;
            top: -7px;
            right: -15px;
            width: 184px;
            overflow: hidden;
            color: rgb(203 231 255 / .16);
            content: "01010011 01010111 01000001 01001110 01010000 01010000";
            font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
            font-size: .52rem;
            font-weight: 700;
            letter-spacing: .14em;
            line-height: 1.65;
            opacity: .78;
            pointer-events: none;
            transform: rotate(-4deg);
            animation: pp-menu-code-glimmer 7.5s ease-in-out infinite;
        }

        .pp-menu-brand__content strong {
            position: relative;
            z-index: 1;
            color: #fff;
            font-size: clamp(1rem, 1.6vw, 1.22rem) !important;
            font-weight: 800;
            letter-spacing: -.025em;
            line-height: 1.05 !important;
        }

        .pp-menu-brand__content > span {
            position: relative;
            z-index: 1;
            color: rgb(213 237 255 / .78) !important;
            font-size: .75rem !important;
            font-weight: 650;
            letter-spacing: .02em;
        }

        .pp-menu-header__spacer {
            position: relative;
            align-self: center;
            min-width: 74px;
            height: 1px;
            background: linear-gradient(90deg, rgb(25 70 111 / .26), rgb(86 139 181 / .1) 42%, transparent);
        }

        .pp-menu-header__spacer::before {
            position: absolute;
            top: 50%;
            left: 42%;
            width: 7px;
            height: 7px;
            border: 1px solid rgb(23 87 139 / .36);
            border-radius: 50%;
            background: #f8fbfd;
            box-shadow: 0 0 0 4px rgb(248 251 253 / .78);
            content: "";
            transform: translate(-50%, -50%);
        }

        .pp-menu-header__spacer::after {
            position: absolute;
            top: 50%;
            right: 5px;
            width: 28px;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgb(25 70 111 / .22));
            content: "";
            transform: translateY(-50%);
        }

        .pp-menu-control {
            border-color: rgb(117 151 184 / .23) !important;
            background: rgb(255 255 255 / .76) !important;
            box-shadow: 0 5px 14px rgb(12 39 71 / .07);
            color: #143a63 !important;
            transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
        }

        .pp-menu-control:hover,
        .pp-menu-control:focus-visible {
            border-color: #0c5d9e !important;
            background: #0c5d9e !important;
            box-shadow: 0 8px 17px rgb(12 93 158 / .24);
            color: #fff !important;
            transform: translateY(-1px);
        }

        .pp-menu-user.active {
            border-color: rgb(61 168 111 / .55) !important;
            box-shadow: 0 0 0 4px rgb(61 168 111 / .12), 0 5px 14px rgb(12 39 71 / .07) !important;
        }

        html[data-theme=dark] .pp-menu-header {
            background:
                radial-gradient(circle at 8% -80%, rgb(105 187 255 / .18), transparent 34%),
                linear-gradient(100deg, #081728, #0b2036 68%, #0a2943) !important;
            border-bottom-color: rgb(134 190 239 / .2) !important;
            box-shadow: 0 10px 28px rgb(0 0 0 / .28) !important;
        }

        html[data-theme=dark] .pp-menu-header__spacer {
            background: linear-gradient(90deg, rgb(133 195 244 / .35), rgb(133 195 244 / .08) 42%, transparent);
        }

        html[data-theme=dark] .pp-menu-header__spacer::before {
            border-color: rgb(153 211 255 / .56);
            background: #0d243b;
            box-shadow: 0 0 0 4px rgb(13 36 59 / .78);
        }

        html[data-theme=dark] .pp-menu-control {
            border-color: rgb(150 204 246 / .26) !important;
            background: rgb(17 47 75 / .92) !important;
            box-shadow: 0 5px 14px rgb(0 0 0 / .24);
            color: #e7f4ff !important;
        }

        html[data-theme=dark] .pp-menu-control:hover,
        html[data-theme=dark] .pp-menu-control:focus-visible {
            border-color: #61b9ff !important;
            background: #1377c4 !important;
            color: #fff !important;
        }

        /* Jemný scrollbar v rovnakom tóne ako navigácia a menovka. */
        html {
            scrollbar-color: #2a6ea6 #edf4fa;
            scrollbar-width: auto;
        }

        ::-webkit-scrollbar-track {
            background: linear-gradient(180deg, #f6f9fc, #e8f0f7);
        }

        ::-webkit-scrollbar-thumb {
            border: 3px solid #edf4fa;
            border-radius: 999px;
            background: linear-gradient(180deg, #5ba1d3, #17588e);
            box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25);
        }

        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, #72b6e2, #0b487e);
        }

        .pp-menu-mobile-canvas .offcanvas-body {
            scrollbar-color: rgb(158 216 250 / .8) transparent;
        }

        .pp-menu-mobile-canvas .offcanvas-body::-webkit-scrollbar-track { background: transparent; }
        .pp-menu-mobile-canvas .offcanvas-body::-webkit-scrollbar-thumb {
            border-color: transparent;
            background: rgb(158 216 250 / .7);
        }

        @media (max-width: 767.98px) {
            .pp-menu-header {
                grid-template-columns: minmax(0, 1fr) auto !important;
                gap: 10px !important;
                min-height: 76px !important;
                padding: 10px 14px !important;
            }

            .pp-menu-brand {
                gap: 9px !important;
                min-width: 0;
                padding: 8px 22px 8px 10px;
                border-radius: 13px;
            }

            .pp-menu-brand::before { top: 8px; left: 8px; box-shadow: 0 0 0 1px rgb(21 47 74 / .5), 0 43px 0 rgb(255 229 166 / .85), 160px 0 0 rgb(255 229 166 / .85), 160px 43px 0 rgb(255 229 166 / .85); }
            .pp-menu-brand__logo { height: 37px !important; }
            .pp-menu-brand__content strong { font-size: 1rem !important; }
            .pp-menu-brand__content > span { font-size: .64rem !important; }
            .pp-menu-header__spacer { display: none; }
            .pp-menu-header__actions { justify-self: end; margin-left: auto; }
        }

        @keyframes pp-menu-logo-drift {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-1.5px) rotate(1.4deg); }
        }

        @keyframes pp-menu-code-glimmer {
            0%, 100% { opacity: .48; transform: translateX(0) rotate(-4deg); }
            50% { opacity: .8; transform: translateX(-5px) rotate(-4deg); }
        }

        @media (prefers-reduced-motion: reduce) {
            .pp-menu-brand__logo,
            .pp-menu-brand__content::before { animation: none; }
        }

        @media (max-width: 575.98px) {
            .pp-menu-header {
                grid-template-columns: minmax(0, 1fr) auto;
                gap: 6px;
                padding-inline: 10px;
            }

            .pp-menu-header__spacer {
                display: none;
            }

            .pp-menu-brand,
            .pp-menu-brand__content {
                min-width: 0;
            }

            .pp-menu-brand__content strong {
                display: block;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

            .pp-menu-brand__content>span {
                display: none;
            }

            .pp-menu-header__actions {
                gap: 4px;
            }
        }

.nav-overflow {
            --nav-overflow-font-family: inherit;
            --nav-overflow-color: #071536;
            --nav-overflow-hover-color: #0866d6;
            --nav-overflow-hover-background: #cfe2ff;
            --nav-overflow-background: transparent;
            --nav-overflow-border-color: transparent;
            --nav-overflow-border-width: 1px;
            --nav-overflow-border-radius: .375rem;
            --nav-overflow-menu-background: #fff;
            --nav-overflow-submenu-border-color: #dbe7f5;
            --nav-overflow-submenu-gap: 2px;
            --nav-overflow-selected-color: gray;
            --nav-overflow-selected-background: transparent;




            font-family: var(--nav-overflow-font-family);
            min-width: 0;
            width: 100%;
        }

        .nav-overflow:not(.nav-overflow-initialized) {
            overflow: hidden;
        }

        .nav-overflow:not(.nav-overflow-initialized)>.nav {
            visibility: hidden;
        }

        .nav-overflow>.nav {
            --bs-nav-link-color: var(--nav-overflow-color);
            --bs-nav-link-hover-color: var(--nav-overflow-hover-color);
            --bs-nav-pills-link-active-color: var(--nav-overflow-selected-color);
            --bs-nav-pills-link-active-bg: var(--nav-overflow-selected-background);
            display: flex;
            flex-wrap: nowrap;
            min-width: 0;
        }

        .nav-overflow>.nav>.nav-item {
            flex: 0 0 auto;
        }

        .nav-overflow .dropdown-menu {
            --bs-dropdown-color: var(--nav-overflow-color);
            --bs-dropdown-bg: var(--nav-overflow-menu-background);
            --bs-dropdown-border-color: var(--nav-overflow-submenu-border-color);
            --bs-dropdown-border-radius: var(--nav-overflow-border-radius);
            --bs-dropdown-link-color: var(--nav-overflow-color);
            --bs-dropdown-link-hover-color: var(--nav-overflow-hover-color);
            --bs-dropdown-link-hover-bg: var(--nav-overflow-hover-background);
            --bs-dropdown-link-active-color: var(--nav-overflow-selected-color);
            --bs-dropdown-link-active-bg: var(--nav-overflow-selected-background);
        }

        .nav-overflow-menu {
            border-width: var(--nav-overflow-border-width);
            min-width: 12rem;
        }

        .nav-overflow .dropdown-submenu {
            position: relative;
        }

        .nav-overflow .dropdown-submenu>.dropdown-menu {
            top: -.5rem;
            left: calc(100% + var(--nav-overflow-submenu-gap));
            margin: 0;
        }

        .nav-overflow .dropdown-submenu>.dropdown-menu.show {
            display: block;
        }

        .nav-overflow .dropdown-submenu>.dropdown-menu.nav-overflow-submenu-start {
            right: calc(100% + var(--nav-overflow-submenu-gap));
            left: auto;
        }

        .pp-menu-mobile-canvas {
            --bs-offcanvas-width: min(100vw, 400px);
            --nav-overflow-vertical-padding-left: 15px;
            --nav-overflow-vertical-padding-right: 10px;
            --nav-overflow-vertical-submenu-margin-left: 10px;
            --nav-overflow-vertical-submenu-margin-right: 5px;
            --nav-overflow-vertical-nested-submenu-margin-left: 10px;
            --nav-overflow-vertical-nested-submenu-margin-right: 5px;
        }

        .pp-menu-mobile-canvas .offcanvas-body {
            padding-top: 0;
            padding-top: 20px;
            padding-left: var(--nav-overflow-vertical-padding-left);
            padding-right: var(--nav-overflow-vertical-padding-right);
        }

        .nav-overflow-vertical>.nav {
            align-items: stretch;
            flex-direction: column;
            gap: 8px;
        }

        .nav-overflow-vertical>.nav>.nav-item {
            width: 100%;
        }

        .nav-overflow-vertical .nav-link,
        .nav-overflow-vertical .dropdown-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            text-align: left;
        }

        .nav-overflow-vertical>.nav>.nav-item:has(> .dropdown-menu) {
            border: var(--nav-overflow-border-width) solid var(--nav-overflow-submenu-border-color);
            border-radius: var(--nav-overflow-border-radius);
            background: var(--nav-overflow-menu-background);
        }

        .nav-overflow-vertical>.nav>.nav-item:has(> .dropdown-menu)>.nav-link {
            border-radius: calc(var(--nav-overflow-border-radius) - 1px);
        }

        .nav-overflow-vertical .dropdown-menu {
            position: static;
            display: none;
            float: none;
            width: auto;
            margin: 0 var(--nav-overflow-vertical-submenu-margin-right) 10px var(--nav-overflow-vertical-submenu-margin-left);
            padding: 4px;
            border: 0;
            border-radius: 0;
            background: transparent;
        }

        .nav-overflow-vertical .dropdown-menu.show {
            display: grid;
            gap: 2px;
        }

        .nav-overflow-vertical .dropdown-submenu {
            border: var(--nav-overflow-border-width) solid var(--nav-overflow-submenu-border-color);
            border-radius: var(--nav-overflow-border-radius);
            background: var(--nav-overflow-menu-background);
        }

        .nav-overflow-vertical .dropdown-submenu>.dropdown-item {
            border-radius: calc(var(--nav-overflow-border-radius) - 1px);
        }

        .nav-overflow-vertical .dropdown-submenu>.dropdown-menu {
            left: auto;
            right: auto;
            margin: 0 var(--nav-overflow-vertical-nested-submenu-margin-right) 8px var(--nav-overflow-vertical-nested-submenu-margin-left);
        }

        .pp-menu-desktop {
            background-color: transparent;
            min-width: 0;
        }

        /* Navigácia má byť výrazná, ale nesmie súperiť s obsahom stránky. */
        .pp-menu-desktop {
            position: relative;
            z-index: 11;
            padding: 8px 0 !important;
            background: linear-gradient(110deg, #04172e, #07366d 58%, #0d5ba7) !important;
            box-shadow: 0 12px 28px rgb(2 23 53 / .14);
        }

        .pp-menu-desktop .nav-overflow {
            max-width: none;
            margin: 0;
        }

        .pp-menu-desktop .nav-overflow > .nav { gap: 4px; }

        .pp-menu-desktop .nav-link {
            position: relative;
            padding: 9px 13px;
            border-radius: 999px;
            color: rgb(236 247 255 / .82) !important;
            font-size: .9rem;
            font-weight: 650;
            transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
        }

        .pp-menu-desktop .nav-link::after {
            content: "";
            position: absolute;
            left: 16px;
            right: 16px;
            bottom: 4px;
            height: 2px;
            border-radius: 999px;
            background: linear-gradient(90deg, #83ddff, #ffdf7e);
            opacity: 0;
            transform: scaleX(.35);
            transition: opacity 180ms ease, transform 180ms ease;
        }

        .pp-menu-desktop .nav-link:hover,
        .pp-menu-desktop .nav-link:focus-visible,
        .pp-menu-desktop .nav-link.active {
            background: rgb(255 255 255 / .12) !important;
            color: #fff !important;
        }

        .pp-menu-desktop .nav-link:hover::after,
        .pp-menu-desktop .nav-link:focus-visible::after,
        .pp-menu-desktop .nav-link.active::after { opacity: 1; transform: scaleX(1); }
        .pp-menu-desktop .nav-link:hover { transform: translateY(-1px); }

        .pp-menu-desktop .nav-language-toggle {
            display: inline-grid;
            width: 42px;
            height: 42px;
            padding: 0;
            place-items: center;
        }

        .pp-menu-desktop .nav-language-toggle::after { display: none; }

        .nav-language-toggle svg {
            width: 22px;
            height: 22px;
            flex: 0 0 22px;
            fill: none;
            stroke: currentColor;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-width: 1.8;
        }

        .pp-menu-desktop .dropdown-menu {
            margin-top: 10px;
            padding: 8px;
            border: 1px solid rgb(171 216 255 / .22);
            border-radius: 16px;
            background: rgb(5 31 62 / .96);
            box-shadow: 0 20px 44px rgb(1 12 30 / .28);
            backdrop-filter: blur(14px);
        }

        .pp-menu-desktop .dropdown-item {
            border-radius: 10px;
            color: rgb(235 246 255 / .86);
            padding: 10px 12px;
        }

        .pp-menu-desktop .dropdown-item:hover,
        .pp-menu-desktop .dropdown-item:focus-visible,
        .pp-menu-desktop .dropdown-item.active { background: rgb(120 210 255 / .15); color: #fff; }

        .pp-menu-mobile-canvas {
            --bs-offcanvas-width: min(100vw, 420px);
            border-left: 1px solid rgb(169 218 255 / .25);
            background:
                radial-gradient(circle at 94% 3%, rgb(255 208 112 / .25), transparent 26%),
                linear-gradient(155deg, #04172e, #073b75 64%, #0a5e9e);
            color: #fff;
            box-shadow: -20px 0 52px rgb(1 17 40 / .26);
        }

        .pp-menu-mobile-canvas .offcanvas-header {
            min-height: 92px;
            padding: 24px 24px 18px;
            border-bottom: 1px solid rgb(180 223 255 / .18);
            background: transparent;
            color: #fff;
        }

        .pp-menu-mobile-canvas .offcanvas-title { color: #fff; font-size: 1.5rem; font-weight: 750; letter-spacing: -.025em; }
        .pp-menu-mobile-canvas .btn-close { width: 42px; height: 42px; border: 1px solid rgb(194 230 255 / .3); border-radius: 50%; background-color: rgb(255 255 255 / .1); filter: invert(1) grayscale(1) brightness(3); opacity: 1; }
        .pp-menu-mobile-canvas .offcanvas-body { padding: 16px 16px 28px !important; }
        .pp-menu-mobile-canvas .nav-overflow { --nav-overflow-color: #eff9ff; --nav-overflow-hover-color: #fff; --nav-overflow-hover-background: rgb(255 255 255 / .13); --nav-overflow-menu-background: rgb(255 255 255 / .09); --nav-overflow-submenu-border-color: rgb(183 224 255 / .2); --nav-overflow-border-radius: 14px; }
        .pp-menu-mobile-canvas .nav-overflow-vertical > .nav { gap: 10px; }
        .pp-menu-mobile-canvas .nav-overflow-vertical .nav-link,
        .pp-menu-mobile-canvas .nav-overflow-vertical .dropdown-item { min-height: 52px; padding: 13px 15px; border-radius: 12px; color: #eff9ff; font-size: 1.02rem; font-weight: 650; }
        .pp-menu-mobile-canvas .nav-overflow-vertical > .nav > .nav-item:not(:has(> .dropdown-menu)) > a.nav-link::after { content: "↗"; margin-left: auto; color: #ffe09a; font-size: 1.18rem; }
        .pp-menu-mobile-canvas .nav-overflow-vertical .dropdown-toggle::after {
            content: "⌄";
            display: grid;
            flex: 0 0 32px;
            width: 32px;
            height: 32px;
            margin-left: auto;
            place-items: center;
            border: 1px solid rgb(193 229 255 / .32);
            border-radius: 50%;
            background: rgb(255 255 255 / .1);
            color: #ffe09a;
            font-family: Arial, sans-serif;
            font-size: 1.35rem;
            line-height: 1;
            text-align: center;
            text-indent: 0;
            transform: none;
        }
        .pp-menu-mobile-canvas .nav-overflow-vertical .dropdown-toggle[aria-expanded="true"]::after { content: "⌃"; background: rgb(122 217 255 / .18); }
        .pp-menu-mobile-canvas .nav-overflow-vertical .dropdown-menu { padding: 6px 0 2px; }
        .pp-menu-mobile-canvas .nav-overflow-vertical .dropdown-menu .dropdown-item { min-height: 45px; color: rgb(219 240 255 / .82); font-size: .94rem; }
        .pp-menu-mobile-canvas .nav-overflow-vertical .dropdown-menu .dropdown-item::after { content: none; }

        @media (prefers-reduced-motion: reduce) {
            .pp-menu-desktop .nav-link,
            .pp-menu-desktop .nav-link::after { transition: none; }
            .pp-menu-desktop .nav-link:hover { transform: none; }
        }
