/* ==========================================================================
   CONSAL s.r.o. — hlavný štýl (mobile-first)
   Obsah: 1 Fonty · 2 Tokeny · 3 Základ · 4 Komponenty · 5 Hlavička
          6 Sekcie · 7 Pätička · 8 Cookie lišta · 9 Animácie · 10 Breakpointy
   ========================================================================== */

/* 1 · Fonty (Inter, self-hosted — bez požiadaviek na Google) ---------------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2 · Tokeny ---------------------------------------------------------------- */
:root {
  /* Farby značky (z loga): modrá #1B75BC, grafit #414142, tmavá modrá #03496E */
  --c-navy-950: #061f33;
  --c-navy-900: #072b45;
  --c-navy-800: #0a3556;
  --c-deep: #03496e;
  --c-blue-600: #1b75bc;
  --c-blue-700: #165f9a;
  --c-blue-100: #dcebf7;
  --c-blue-50: #f0f6fb;
  --c-green-600: #167a36;
  --c-green-400: #4cc774;
  --c-green-100: #e5f5ea;
  --c-ink: #16212b;
  --c-muted: #4b5864;
  --c-line: #dde6ee;
  --c-white: #fff;
  --c-warn-bg: #fff3c4;
  --c-warn-ink: #5c4400;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 20px;
  --shadow-s: 0 1px 2px rgb(7 43 69 / 8%), 0 2px 8px rgb(7 43 69 / 6%);
  --shadow-m: 0 8px 24px rgb(7 43 69 / 12%);

  --header-h: 68px;
  --gutter: 20px;
  --container: 1200px;
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
}

/* 3 · Základ ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; color: var(--c-navy-900); }
h1 { font-size: clamp(2.125rem, 1.4rem + 3.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--c-blue-700); text-underline-offset: 3px; }
a:hover { color: var(--c-navy-900); }

:focus-visible {
  outline: 3px solid var(--c-blue-600);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--c-navy-900); color: #fff; padding: 12px 18px;
  border-radius: var(--radius-s); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--c-blue-50); }

.icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Zástupné texty, ktoré treba doplniť — výrazne označené */
.placeholder {
  background: var(--c-warn-bg); color: var(--c-warn-ink);
  padding: 0 .3em; border-radius: 4px; font-weight: 600; white-space: nowrap;
}

/* 4 · Komponenty ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-green-600);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--c-green-600); }
.on-dark .eyebrow { color: var(--c-green-400); }
.on-dark .eyebrow::before { background: var(--c-green-400); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head h2 { margin-top: .85rem; }
.section-head .lead { margin-top: 1rem; }
.lead { font-size: 1.1875rem; color: var(--c-muted); line-height: 1.6; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .7rem 1.5rem;
  font: inherit; font-size: 1rem; font-weight: 650; line-height: 1.2; text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: var(--radius-m); cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { width: 20px; height: 20px; transition: transform .2s; }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn--primary { background: var(--c-blue-600); color: #fff; box-shadow: 0 6px 16px rgb(27 117 188 / 28%); }
.btn--primary:hover { background: var(--c-blue-700); color: #fff; transform: translateY(-1px); }
.btn--secondary { background: #fff; color: var(--c-blue-700); border-color: var(--c-blue-100); }
.btn--secondary:hover { border-color: var(--c-blue-600); color: var(--c-navy-900); }
.btn--light { background: #fff; color: var(--c-navy-900); }
.btn--light:hover { background: var(--c-blue-100); color: var(--c-navy-900); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / 45%); }
.btn--ghost:hover { border-color: #fff; background: rgb(255 255 255 / 10%); color: #fff; }

.text-link {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px;
  font-weight: 650; text-decoration: none; color: var(--c-blue-700);
}
.text-link .icon { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover { color: var(--c-navy-900); }
.text-link:hover .icon { transform: translateX(4px); }

/* 5 · Hlavička a navigácia -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(255 255 255 / 94%);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { border-color: var(--c-line); box-shadow: 0 4px 18px rgb(7 43 69 / 8%); }
.header-inner { display: flex; align-items: center; gap: .5rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.brand img { height: 34px; width: auto; max-width: none; }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; cursor: pointer; font: inherit; text-decoration: none;
  transition: background-color .2s;
}
.icon-btn--call { background: var(--c-green-600); color: #fff; }
.icon-btn--call:hover { background: #0f5f29; color: #fff; }
.icon-btn--menu { background: var(--c-blue-50); color: var(--c-navy-900); }
.icon-btn--menu:hover { background: var(--c-blue-100); }
.icon-btn--menu .icon-close { display: none; }
.is-open .icon-btn--menu .icon-menu { display: none; }
.is-open .icon-btn--menu .icon-close { display: block; }

/* Bez JS je menu normálny blok pod logom; s JS sa na mobile skladá do panelu */
.site-nav { order: 5; width: 100%; padding-bottom: .75rem; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0 .25rem; }
.nav-link {
  display: flex; align-items: center; min-height: 44px; padding: 0 .75rem;
  font-weight: 600; font-size: 1rem; color: var(--c-ink); text-decoration: none; border-radius: var(--radius-s);
}
.nav-link:hover { color: var(--c-blue-700); background: var(--c-blue-50); }
.nav-link[aria-current="page"] { color: var(--c-blue-700); }
.nav-mobile-only { display: none; }
.header-cta { display: none; }

.js .icon-btn--menu { display: inline-flex; }
.no-js-hide { display: none; }
.icon-btn--menu { display: none; }

@media (max-width: 1119.98px) {
  /* backdrop-filter by z fixného panelu menu urobil element viazaný na výšku hlavičky */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .js .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; width: auto; order: 0;
    background: #fff; padding: .5rem var(--gutter) 2rem; overflow-y: auto;
    border-top: 1px solid var(--c-line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .js .is-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .js .site-nav ul { flex-direction: column; flex-wrap: nowrap; max-width: 40rem; margin-inline: auto; }
  .js .nav-link { min-height: 56px; font-size: 1.125rem; border-bottom: 1px solid var(--c-line); border-radius: 0; padding: 0 .25rem; }
  .js .nav-mobile-only { display: block; padding-top: 1.25rem; }
  .js .nav-mobile-only .btn { width: 100%; }
  .js .nav-mobile-only .mobile-phone { margin-top: .75rem; }
}

/* 6 · Sekcie ---------------------------------------------------------------- */

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5.5rem);
  background:
    radial-gradient(900px 480px at 85% -10%, rgb(27 117 188 / 14%), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--c-blue-50) 100%);
}
.hero::before {
  content: ""; position: absolute; right: -90px; bottom: -120px; width: 520px; height: 520px;
  background: url("../images/logo-mark.svg") no-repeat center / contain; opacity: .05; pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.hero-copy { max-width: 38rem; }
.hero h1 { margin-top: 1rem; }
.hero h1 .hl { color: var(--c-blue-600); }
.hero .lead { margin-top: 1.25rem; max-width: 34rem; }
.hero-actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.hero-phone { margin-top: 1.25rem; color: var(--c-muted); font-size: 1rem; }
.hero-phone a { font-weight: 700; color: var(--c-navy-900); white-space: nowrap; text-decoration: none; }
.hero-phone a:hover { color: var(--c-blue-700); text-decoration: underline; }
.hero-art { width: 100%; max-width: 560px; margin-inline: auto; }
.hero-art img { width: 100%; border-radius: 28px; box-shadow: 0 24px 48px rgb(7 43 69 / 22%); }

.hero-facts { display: grid; gap: .75rem; margin-top: clamp(2rem, 4vw, 3.5rem); position: relative; }
.fact {
  display: flex; align-items: center; gap: .85rem; padding: .9rem 1.1rem;
  background: rgb(255 255 255 / 80%); border: 1px solid var(--c-line); border-radius: var(--radius-m);
  font-weight: 600; font-size: .975rem; color: var(--c-navy-900); line-height: 1.35;
}
.fact .icon { color: var(--c-blue-600); }

/* Služby */
.cards { display: grid; gap: 1.25rem; }
.card {
  position: relative; display: flex; flex-direction: column; gap: .85rem;
  padding: 1.75rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card::before {
  content: ""; position: absolute; left: 1.75rem; right: 1.75rem; top: -1px; height: 3px;
  background: linear-gradient(90deg, var(--c-blue-600), var(--c-green-400)); border-radius: 0 0 3px 3px;
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: #c4d8e9; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  display: grid; place-items: center; width: 52px; height: 52px;
  background: var(--c-blue-50); color: var(--c-blue-600); border-radius: 14px;
}
.card-icon .icon { width: 26px; height: 26px; }
.card p { color: var(--c-muted); font-size: 1rem; flex: 1; }
.card .text-link { margin-top: .25rem; }

/* Prečo CONSAL */
.benefits { display: grid; gap: 2rem 2.5rem; }
.benefit { padding-top: 1.25rem; border-top: 3px solid var(--c-blue-600); }
.benefit:nth-child(even) { border-top-color: var(--c-green-600); }
.benefit .icon { width: 30px; height: 30px; color: var(--c-blue-600); margin-bottom: 1rem; }
.benefit:nth-child(even) .icon { color: var(--c-green-600); }
.benefit h3 { margin-bottom: .5rem; }
.benefit p { color: var(--c-muted); font-size: 1rem; }

/* Zameranie na maloobchod (tmavá sekcia) */
.focus {
  position: relative; overflow: hidden; color: rgb(255 255 255 / 82%);
  background: radial-gradient(800px 420px at 100% 0%, rgb(27 117 188 / 35%), transparent 70%), var(--c-navy-900);
}
.focus::after {
  content: ""; position: absolute; left: -120px; bottom: -160px; width: 520px; height: 520px;
  background: url("../images/logo-mark.svg") no-repeat center / contain; opacity: .05; filter: brightness(0) invert(1); pointer-events: none;
}
.focus h2, .focus h3 { color: #fff; }
.focus-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; }
.focus-copy p { margin-top: 1.1rem; }
.focus-copy .btn { margin-top: 1.75rem; }
.needs { display: grid; gap: 1rem; }
.need {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.35rem;
  background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 14%); border-radius: var(--radius-m);
}
.need .icon { width: 28px; height: 28px; color: var(--c-green-400); margin-top: 2px; }
.need h3 { font-size: 1.0625rem; margin-bottom: .25rem; }
.need p { font-size: .975rem; line-height: 1.55; }
.segments { position: relative; z-index: 1; margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid rgb(255 255 255 / 16%); }
.segments h3 { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / 70%); margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; min-height: 40px;
  border-radius: 999px; background: rgb(255 255 255 / 9%); border: 1px solid rgb(255 255 255 / 18%);
  color: #fff; font-weight: 600; font-size: .975rem;
}
.chip .icon { width: 18px; height: 18px; color: var(--c-green-400); }

/* Záverné CTA */
.cta-band { padding-block: clamp(3rem, 6vw, 5rem); }
.cta-box {
  position: relative; overflow: hidden; display: grid; gap: 1.75rem; align-items: center;
  padding: clamp(1.75rem, 5vw, 3.5rem); border-radius: 28px; color: #fff;
  background: linear-gradient(120deg, var(--c-deep) 0%, var(--c-blue-600) 100%);
  box-shadow: var(--shadow-m);
}
.cta-box::after {
  content: ""; position: absolute; right: -40px; top: -60px; width: 340px; height: 340px;
  background: url("../images/logo-mark.svg") no-repeat center / contain; opacity: .12; filter: brightness(0) invert(1); pointer-events: none;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { color: #fff; }
.cta-box p { margin-top: .85rem; font-size: 1.125rem; color: rgb(255 255 255 / 90%); max-width: 36rem; }
.cta-actions { display: grid; grid-template-columns: 1fr; gap: .75rem; }
.cta-actions .btn { width: 100%; justify-content: center; text-align: center; white-space: nowrap; }

/* 7 · Pätička --------------------------------------------------------------- */
.site-footer { background: var(--c-navy-950); color: rgb(255 255 255 / 76%); font-size: .975rem; }
.site-footer a { color: rgb(255 255 255 / 86%); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 2.25rem; padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.footer-brand img { height: 36px; width: auto; }
.footer-brand p { margin-top: 1.1rem; max-width: 22rem; }
.site-footer h3 { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: .85rem; }
.footer-links li a, .footer-contact li a, .footer-brand > a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; padding-block: .3rem; }
.footer-contact .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--c-green-400); }
.company-data { display: grid; gap: .3rem; font-style: normal; }
.company-data strong { color: #fff; font-weight: 650; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 12%); }
.footer-bottom-inner { display: flex; flex-direction: column; gap: .25rem .0; padding-block: 1rem; font-size: .9rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.footer-bottom a, .linklike {
  display: inline-flex; align-items: center; min-height: 44px; font: inherit; color: rgb(255 255 255 / 86%);
  background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none;
}
.linklike:hover { color: #fff; text-decoration: underline; }

/* 8 · Cookie lišta ---------------------------------------------------------- */
.cookie-banner {
  position: fixed; z-index: 150; left: 12px; right: 12px; bottom: 12px;
  max-width: 760px; margin-inline: auto; padding: 1.25rem;
  background: #fff; color: var(--c-ink); border: 1px solid var(--c-line); border-radius: var(--radius-l);
  box-shadow: 0 16px 48px rgb(7 43 69 / 28%);
}
.cookie-banner h2 { font-size: 1.125rem; letter-spacing: -0.01em; }
.cookie-banner p { margin-top: .5rem; font-size: .95rem; line-height: 1.55; color: var(--c-muted); }
.cookie-actions { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }
.cookie-actions .btn { min-height: 46px; padding-block: .55rem; }

/* 9 · Animácie -------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 10 · Breakpointy ---------------------------------------------------------- */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-actions { grid-template-columns: 1fr 1fr; }
  .cookie-actions { flex-direction: row; flex-wrap: wrap; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; }
  .hero-art { margin-inline: 0 0; }
  .focus-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
  .cta-box { grid-template-columns: 1.4fr 1fr; }
  .cta-actions { grid-template-columns: 1fr; justify-self: end; width: min(100%, 20rem); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 2.5rem; }
}

@media (min-width: 1120px) {
  :root { --header-h: 76px; }
  .brand img { height: 38px; }
  .header-inner { gap: 1.5rem; }
  .site-nav { order: 0; width: auto; padding: 0; }
  .site-nav ul { flex-wrap: nowrap; gap: 0; }
  .nav-link { padding: 0 .65rem; font-size: .9375rem; }
  .icon-btn { display: none; }
  .js .icon-btn--menu { display: none; }
  .header-cta { display: inline-flex; min-height: 46px; padding-inline: 1.25rem; }
  .brand { margin-right: auto; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .benefits { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1440px) {
  .nav-link { padding: 0 .85rem; font-size: 1rem; }
}

/* ==========================================================================
   11 · Viacjazyčný web: nové komponenty (v3)
   ========================================================================== */

/* Prepínač jazyka */
.lang-switch { display: flex; gap: 2px; padding: 3px; margin: 0; list-style: none; background: var(--c-blue-50); border-radius: 999px; width: fit-content; }
.lang-switch a {
  display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .5rem;
  font-size: .875rem; font-weight: 700; letter-spacing: .04em; color: var(--c-navy-900); text-decoration: none; border-radius: 999px;
}
.lang-switch a:hover { background: var(--c-blue-100); color: var(--c-navy-900); }
.lang-switch a[aria-current="true"] { background: var(--c-navy-900); color: #fff; }
.lang-switch--desktop { display: none; }
.lang-switch--mobile { margin-bottom: 1.25rem; }

/* Zástupné miesta pre obrázky */
.img-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem;
  width: 100%; margin: 0; padding: 1.5rem; aspect-ratio: var(--ratio, 4/3); text-align: center;
  color: var(--c-navy-800); border: 2px dashed #8fb0cc; border-radius: var(--radius-l);
  background: repeating-linear-gradient(45deg, #f0f6fb, #f0f6fb 14px, #e6f0f8 14px, #e6f0f8 28px);
}
.img-slot strong { font-size: 1.125rem; }
.img-slot span { color: var(--c-muted); font-size: .95rem; line-height: 1.4; }
.img-slot small { color: var(--c-muted); font-size: .8rem; line-height: 1.4; }
.img-slot-icon { width: 44px; height: 44px; color: var(--c-blue-600); stroke-width: 1.5; }
.img-slot--sm { aspect-ratio: 16/10; padding: 1rem; margin-top: 1.5rem; }
.hero-art .img-slot { max-width: 560px; }

/* Hlavička podstránok */
.page-hero {
  padding-block: clamp(2.5rem, 6vw, 4.75rem) clamp(2rem, 4vw, 3.25rem);
  background: radial-gradient(800px 400px at 90% -20%, rgb(27 117 188 / 14%), transparent 70%), linear-gradient(180deg, #fff 0%, var(--c-blue-50) 100%);
}
.page-hero h1 { margin-top: 1rem; max-width: 22em; }
.page-hero .lead { margin-top: 1.1rem; max-width: 40rem; }
.page-hero--sm { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2.25rem); }
.prose--hero { margin-top: 1.5rem; max-width: 46rem; }
.lead--strong { color: var(--c-navy-900); font-weight: 650; }
.h2-sm { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 750; }

/* Text vedľa obrázka */
.split { display: grid; gap: 2.25rem; align-items: center; }
.prose p + p { margin-top: 1rem; }
.prose p { color: var(--c-ink); }
.prose .lead { color: var(--c-navy-900); font-weight: 600; }
.prose--lg p { font-size: 1.125rem; }
.split-copy h2 { margin-top: .85rem; margin-bottom: 1.25rem; }
.section-lede { max-width: 46rem; font-size: 1.125rem; color: var(--c-muted); margin-top: 1rem; }
.section-head + .cards, .section-lede + .cards { margin-top: 0; }
.section-lede + .cards--full { margin-top: 2rem; }
.section-more { margin-top: 1.75rem; }

/* Mriežky kariet */
.cards--3, .cards--2 { grid-template-columns: 1fr; }
.card h3 { margin-bottom: 0; }
.cards--full .card p { font-size: 1.0625rem; color: var(--c-ink); }
.benefits--5 { grid-template-columns: 1fr; }
.benefits--5 .benefit h3 { font-size: 1.15rem; }

/* Úryvok o prístupe na úvode */
.appr-teaser { position: relative; z-index: 1; max-width: 46rem; }
.appr-teaser h2 { margin-top: .85rem; }
.appr-teaser p { margin: 1.1rem 0 1.75rem; font-size: 1.1875rem; }

/* Citát */
.quote-band { background: var(--c-navy-900); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.quote-band blockquote { margin: 0 auto; max-width: 52rem; padding-left: 1.5rem; border-left: 4px solid var(--c-green-400); color: #fff; font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); font-weight: 650; line-height: 1.35; letter-spacing: -.01em; }

/* Fakty a princípy */
.fact-cards { display: grid; gap: 1rem; margin-top: 1.5rem; }
.fact-card { display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem 1.5rem; background: var(--c-blue-50); border: 1px solid var(--c-line); border-radius: var(--radius-l); }
.fact-card strong { font-size: 1.25rem; color: var(--c-navy-900); }
.fact-card span { color: var(--c-muted); }
.principles { display: grid; gap: 1.25rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.principle { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.5rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-l); box-shadow: var(--shadow-s); }
.principle-n { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--c-blue-600); color: #fff; font-weight: 800; font-size: 1.15rem; }
.principle { border-color: rgb(27 117 188 / 18%); box-shadow: none; }
.principle:nth-child(1) { background: #e4f0fa; }
.principle:nth-child(2) { background: #d0e4f6; }
.principle:nth-child(3) { background: #bcd8f1; }
.principle:nth-child(4) { background: #a8cbeb; }
.principle .principle-n { background: var(--c-navy-900); }
.principle p { color: var(--c-ink); }
.principle h3 { margin-bottom: .4rem; }
.principle p { color: var(--c-ink); font-size: 1rem; }

/* Kontakt */
.contact-grid { display: grid; gap: 2rem; align-items: start; }
.card--form { padding: clamp(1.25rem, 3vw, 2.25rem); gap: 1.25rem; }
.card--form:hover { transform: none; box-shadow: var(--shadow-s); border-color: var(--c-line); }
.card--form::before { display: none; }
.form { display: grid; gap: 1.1rem; }
.form-note { color: var(--c-muted); font-size: .925rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field-row { display: grid; gap: 1.1rem; }
.field label { font-weight: 600; font-size: .975rem; color: var(--c-navy-900); }
.opt { font-weight: 400; color: var(--c-muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem 1rem; font: inherit; color: var(--c-ink); background: #fff;
  border: 2px solid #c4d3e0; border-radius: var(--radius-m); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-blue-600); box-shadow: 0 0 0 4px rgb(27 117 188 / 20%); }
.field [aria-invalid="true"] { border-color: #b42318; }
.field-error { color: #b42318; font-size: .9rem; font-weight: 600; }
.field-error:empty { display: none; }
.check { display: flex; gap: .8rem; align-items: flex-start; min-height: 44px; font-weight: 400 !important; font-size: .975rem !important; color: var(--c-ink) !important; cursor: pointer; }
.check input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--c-blue-600); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn--block { width: 100%; }
.form-status { padding: 0; border-radius: var(--radius-m); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { padding: 1rem 1.1rem; background: var(--c-green-100); color: #0d5226; border: 1px solid #a8dbb9; }
.form-status.is-error { padding: 1rem 1.1rem; background: #fdecea; color: #8a1c12; border: 1px solid #f3b8b2; }
.form[aria-busy="true"] { opacity: .7; pointer-events: none; }

.contact-side h2 { margin-bottom: 1.25rem; }
.contact-list { display: grid; gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .icon { width: 44px; height: 44px; padding: 11px; flex: none; color: var(--c-blue-600); background: var(--c-blue-50); border-radius: 12px; }
.contact-list strong { display: block; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); margin-bottom: .15rem; }
.contact-list span, .contact-list a { font-size: 1.0625rem; font-weight: 600; color: var(--c-navy-900); text-decoration: none; display: inline-block; }
.contact-list a:hover { color: var(--c-blue-700); text-decoration: underline; }
.contact-list li a { min-height: 44px; display: inline-flex; align-items: center; }
.contact-ids { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: .95rem; }

.map { position: relative; margin-top: 1.5rem; height: 420px; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--c-line); background: #fff; }
.map iframe { display: block; width: 100%; height: 510px; margin-top: -90px; border: 0; } /* horná lišta Google (odkaz na väčšiu mapu) je mimo viditeľnej plochy */
.map-consent { display: grid; place-items: center; align-content: center; gap: 1rem; min-height: 320px; padding: 2rem 1.25rem; text-align: center; }
.map-consent p { max-width: 32rem; color: var(--c-muted); }
.map-icon { width: 40px; height: 40px; color: var(--c-blue-600); }
.map-link { margin-top: 1rem; }
.map-link a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }

/* Právne stránky */
.container--narrow { max-width: 860px; }
.section--legal { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.notice { margin-bottom: 2rem; padding: .85rem 1.1rem; background: var(--c-warn-bg); color: var(--c-warn-ink); border-radius: var(--radius-m); font-weight: 600; }
.legal h2 { margin: 2.25rem 0 .75rem; font-size: 1.375rem; font-weight: 700; letter-spacing: -.01em; }
.legal-updated { margin-top: 2rem; color: var(--c-muted); font-size: .95rem; }
.table-wrap { margin-top: 1.25rem; }
.table { width: 100%; border-collapse: collapse; font-size: .975rem; }
.table th, .table td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.table th { background: var(--c-blue-50); color: var(--c-navy-900); font-weight: 700; }

.footer-slogan { margin-top: 1rem; font-weight: 650; color: #fff; }
.footer-brand .footer-slogan + p { margin-top: .5rem; }

.notfound { padding-block: clamp(3rem, 10vw, 7rem); text-align: center; }
.notfound h1 { margin: 2rem 0 .75rem; font-size: clamp(3.5rem, 10vw, 6rem); color: var(--c-blue-600); }
.notfound-links { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.75rem; list-style: none; padding: 0; }

@media (max-width: 639.98px) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { margin-bottom: 1rem; padding: .5rem 0; border: 1px solid var(--c-line); border-radius: var(--radius-m); }
  .table td { border: 0; padding: .4rem 1rem; }
  .table td::before { content: attr(data-label); display: block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
}
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .cards--3, .cards--2 { grid-template-columns: repeat(2, 1fr); }
  .benefits--5 { grid-template-columns: repeat(2, 1fr); }
  .fact-cards { grid-template-columns: repeat(3, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .split { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .benefits--5 { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.3fr .7fr; gap: 3rem; }
}
@media (min-width: 1120px) {
  .lang-switch--desktop { display: flex; }
  .lang-switch--desktop a { min-width: 38px; min-height: 36px; padding: 0 .35rem; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
  .header-inner { gap: 1rem; }
}

/* Prepínač jazykov v mobilnom menu: vodorovne (prebíja pravidlo pre zvislý zoznam menu) */
.js .site-nav .lang-switch, .site-nav .lang-switch { flex-direction: row; flex-wrap: nowrap; max-width: none; margin: 0 0 1.25rem; }

/* Fotografie (nahrádzajú zástupné miesta) */
.photo { display: block; width: 100%; height: auto; border-radius: var(--radius-l); box-shadow: var(--shadow-m); background: var(--c-blue-50); }
.hero-art .photo { max-width: 560px; margin-inline: auto; }
