/* Keleaconsulting – štýly webu
   Farby: fľašková zelená, čierna, biela. Písmo: Archivo (hostované lokálne, bez cookies). */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext.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: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin.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;
}

:root {
  --green: #0F4D33;
  --green-deep: #0A3324;
  --ink: #1F7A4D;
  --green-pale: #EAF1EC;
  --line: #CFDAD3;
  --line-soft: #E2E9E4;
  --mint: #D3EBDD;
  --leaf: #8FC4A6;
  --black: #000;
  --white: #fff;
  --text: #161B18;
  --text-2: #4A5750;
  --wide: 116%;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

a { color: var(--green); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--black); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--black);
  font-stretch: var(--wide);
  font-weight: 750;
  letter-spacing: -0.022em;
  line-height: 1.06;
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 5.6vw, 74px); }
h2 { font-size: clamp(30px, 3.8vw, 48px); }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.012em; font-weight: 700; }

.lead {
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 34em;
  text-wrap: pretty;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--black); color: var(--white); padding: 10px 16px; border-radius: 4px; text-decoration: none;
}
.skip:focus { top: 12px; color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Tlačidlá ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border: 2px solid var(--green); border-radius: 6px;
  background: var(--green); color: var(--white);
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-ghost { background: transparent; color: var(--black); border-color: var(--black); }
.btn-ghost:hover { background: var(--black); color: var(--white); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--black); }
.btn-light:hover { background: var(--green-pale); border-color: var(--green-pale); color: var(--black); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline-light:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

.text-link {
  font-weight: 600; color: var(--black);
  text-decoration: underline; text-decoration-color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: .3em;
}
.text-link:hover { color: var(--green); }

/* ---------- Hlavička ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-in {
  height: var(--header-h);
  display: flex; align-items: center; gap: 40px;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--black); text-decoration: none; flex: none;
}
.brand:hover { color: var(--black); }
.logo-mark { width: 42px; height: 42px; flex: none; }
.lm-t { fill: var(--green); }
.lm-e { fill: var(--black); }
.lm-c { stroke: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-stretch: 116%; font-weight: 750; font-size: 21px; letter-spacing: -0.02em; }
.brand-sub { margin-top: 5px; font-size: 12.5px; font-weight: 500; color: var(--text-2); letter-spacing: 0; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 30px; }
.nav a {
  display: block; padding: 10px 0;
  color: var(--text); text-decoration: none; font-size: 15.5px; font-weight: 550;
  background: linear-gradient(var(--green), var(--green)) no-repeat left bottom 4px / 0 2px;
  transition: background-size .2s ease, color .15s ease;
}
.nav a:hover { color: var(--black); background-size: 100% 2px; }
.nav a[aria-current="page"] { color: var(--black); background-size: 100% 2px; }

.menu-btn {
  display: none;
  margin-left: auto;
  align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px;
  background: transparent; border: 1.5px solid var(--black); border-radius: 6px;
  font-weight: 600; font-size: 15px; cursor: pointer;
}
.menu-icon { position: relative; width: 18px; height: 12px; }
.menu-icon::before, .menu-icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .2s ease, top .2s ease;
}
.menu-icon::before { top: 1px; }
.menu-icon::after { top: 9px; }
.menu-btn[aria-expanded="true"] .menu-icon::before { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49;
  background: var(--white);
  border-top: 1px solid var(--line);
  overflow-y: auto;
  padding: 12px var(--gutter) 40px;
  animation: menu-in .2s ease-out;
}
.mobile-menu ul { border-top: 2px solid var(--black); }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu a:not(.btn) {
  display: block; padding: 18px 0;
  color: var(--black); text-decoration: none;
  font-stretch: 116%; font-weight: 700; font-size: 26px; letter-spacing: -0.02em;
}
.mobile-menu a[aria-current="page"] { color: var(--green); }
.mobile-menu .btn { width: 100%; margin-top: 28px; }
.mobile-menu-note { margin-top: 14px; color: var(--text-2); font-size: 15px; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Úvod (homepage) ---------- */

.hero { position: relative; overflow-x: clip; }
/* Úvodná animácia listu sa spustí, až keď je list na obrazovke (na mobile je nižšie) */
.js .sheet, .js .sheet .tick path, .js .stamp { animation-play-state: paused; }
.js .sheet.is-live, .js .sheet.is-live .tick path, .js .sheet.is-live .stamp { animation-play-state: running; }
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 56px;
}
.hero-text { padding: 104px 0 112px; align-self: center; }
.hero-text h1 { font-size: clamp(38px, 4.9vw, 64px); max-width: 11em; }
.hero-text .lead { margin-top: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-note { margin-top: 22px; font-size: 15px; color: var(--text-2); }

.hero-desk {
  position: relative; isolation: isolate;
  display: flex; align-items: center; justify-content: center;
  padding: 72px 0 104px 48px;
}
.hero-desk::before {
  content: ""; position: absolute; z-index: -1;
  top: 0; bottom: 0; left: 0;
  right: calc(-1 * (50vw - min(var(--wrap), 100vw) / 2 + var(--gutter)));
  background: var(--green);
}

/* List papiera s termínmi */
.sheet {
  --hole: var(--green);
  position: relative;
  width: 100%; max-width: 430px;
  background: var(--white);
  border-radius: 2px;
  padding: 30px 30px 40px 62px;
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 30px 50px -18px rgba(0, 18, 10, .55);
  transform: rotate(-1.5deg);
  animation: sheet-in .7s cubic-bezier(.2,.7,.2,1) both, thud .24s ease-out 2.28s;
}
.sheet::before, .sheet::after {
  content: ""; position: absolute; left: 22px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--hole);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.35);
}
.sheet::before { top: 22%; }
.sheet::after { bottom: 22%; }

.sheet-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--black); }
.sheet-title { font-stretch: 112%; font-weight: 750; font-size: 18px; letter-spacing: -0.01em; color: var(--black); line-height: 1.2; }
.sheet-year { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); }
.boxes { display: inline-flex; }
.boxes i {
  width: 22px; height: 28px; display: grid; place-items: center;
  border: 1px solid #7F8C85; margin-left: -1px;
  font-style: normal; font-weight: 500; font-size: 17px; color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.sheet-rows li {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 15.5px; line-height: 1.35;
}
.tick { position: relative; width: 20px; height: 20px; border: 1.5px solid #7F8C85; border-radius: 2px; }
.tick svg { position: absolute; left: -1px; top: -6px; width: 25px; height: 24px; overflow: visible; }
.tick path { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 0; animation: draw .32s ease-out both; }
.sheet-rows li:nth-child(1) .tick path { animation-delay: .75s; }
.sheet-rows li:nth-child(2) .tick path { animation-delay: 1.05s; }
.sheet-rows li:nth-child(3) .tick path { animation-delay: 1.35s; }
.sheet-rows li:nth-child(4) .tick path { animation-delay: 1.65s; }
.when { font-weight: 600; color: var(--black); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sheet-foot { margin-top: 16px; font-size: 13.5px; line-height: 1.45; color: var(--text-2); max-width: 44%; }

.stamp {
  position: absolute; right: 8px; bottom: 10px;
  width: 196px; color: var(--ink);
  mix-blend-mode: multiply;
  opacity: .92;
  transform: rotate(-9deg);
  pointer-events: none;
  animation: stamp .42s cubic-bezier(.3,1.5,.55,1) 2.05s both;
}

@keyframes sheet-in { from { opacity: 0; transform: translateY(28px) rotate(-1.5deg); } to { opacity: 1; transform: rotate(-1.5deg); } }
@keyframes thud { 0%, 100% { transform: rotate(-1.5deg); } 45% { transform: translateY(3px) rotate(-1.5deg) scale(.996); } }
@keyframes draw { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 0; } }
@keyframes stamp {
  0% { opacity: 0; transform: rotate(-9deg) scale(1.9); }
  55% { opacity: .95; transform: rotate(-9deg) scale(.96); }
  100% { opacity: .92; transform: rotate(-9deg) scale(1); }
}

/* ---------- Sekcie ---------- */

.section { padding: clamp(80px, 9vw, 128px) 0; }
.section-pale { background: var(--green-pale); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 48px; margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head > div { max-width: 40em; }
.section-head .lead { margin-top: 18px; }

/* Zoznam služieb */
.service-list { border-top: 2px solid var(--black); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px 40px; align-items: center;
  padding: 24px 0; color: var(--text); text-decoration: none;
}
.service-row .ico { width: 56px; height: 56px; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.service-row:hover .ico { transform: rotate(-6deg) translateY(-2px); }
.service-row h3 { font-size: clamp(20px, 1.9vw, 24px); transition: color .15s ease; }
.service-row p { color: var(--text-2); }
.service-row .more {
  font-weight: 600; font-size: 15px; color: var(--black); white-space: nowrap;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .3em; text-decoration-thickness: 2px;
  transition: text-decoration-color .15s ease;
}
.service-row:hover { color: var(--text); }
.service-row:hover h3 { color: var(--green); }
.service-row:hover .more { text-decoration-color: var(--ink); }

/* Pre koho */
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.audience > div { padding-top: 0; }
.scene-box { background: var(--green-pale); border-radius: 8px; padding: 18px 18px 6px; margin-bottom: 24px; }
.photo-box { margin: 0 0 24px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--green-pale); }
.photo-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scene { width: 100%; height: auto; }
.audience h3 { margin-bottom: 12px; }
.audience p { color: var(--text-2); }

/* Kroky (skutočné poradie) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; position: relative; }
.steps li { position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 48px; height: 56px; margin-bottom: 26px;
  border: 1.5px solid var(--black); background: var(--white);
  font-stretch: 116%; font-weight: 700; font-size: 24px; color: var(--black);
  position: relative; z-index: 1;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; left: 48px; right: -32px; height: 1.5px;
  background: repeating-linear-gradient(to right, var(--black) 0 6px, transparent 6px 12px);
}
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--text-2); }
.section-pale .steps li::before { background: var(--green-pale); }

/* Cena – čierny pás */
.band-black { background: var(--black); color: #E7ECE9; }
.band-black h2, .band-black h3 { color: var(--white); }
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 80px; align-items: start; }
.price h2 { font-size: clamp(34px, 4.6vw, 60px); max-width: 9em; }
.price .lead { color: #C9D3CD; }
.factors { margin-top: 32px; border-top: 1px solid #39413C; }
.factors li {
  display: flex; gap: 16px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid #39413C;
}
.factors li::before { content: ""; flex: none; width: 10px; height: 10px; border: 1.5px solid #8FC4A6; transform: translateY(-1px); }
.price-start { margin-top: 40px; padding: 28px; border: 1px solid #39413C; border-radius: 4px; }
.price-start h3 { margin-bottom: 8px; }
.price-start p { color: #C9D3CD; margin-bottom: 22px; }

/* Mapa */
.map { position: relative; height: 440px; background: #E3ECE6; overflow: hidden; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-ring { transform-origin: center; transform-box: fill-box; animation: ring 3s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.45); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.map-in { position: relative; height: 100%; display: flex; align-items: flex-end; padding-bottom: 40px; }
.map-card {
  background: var(--white); border-radius: 4px; padding: 30px;
  max-width: 400px;
  box-shadow: 0 20px 40px -16px rgba(10, 51, 36, .35);
}
.map-card h2 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 10px; }
.map-card p { color: var(--text-2); margin-bottom: 22px; }
.map-card.is-compact p { margin-bottom: 0; }

/* Výzva (zelený pás) */
.cta-band { background: var(--green-deep); color: #D7E5DC; padding: clamp(64px, 7vw, 96px) 0; }
.cta-band h2 { color: var(--white); }
.cta-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 64px; }
.cta-in > div { max-width: 36em; }
.cta-in p { margin-top: 16px; font-size: 18px; }

/* ---------- Podstránky ---------- */

.page-head { padding: clamp(64px, 8vw, 112px) 0 clamp(48px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.page-head .lead { margin-top: 24px; }

/* Služby */
.services-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); }
.toc p { font-weight: 700; color: var(--black); margin-bottom: 12px; font-size: 15px; }
.toc ol { border-left: 2px solid var(--line); }
.toc a {
  display: block; padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent;
  color: var(--text-2); text-decoration: none; font-size: 15px; line-height: 1.35;
}
.toc a:hover { color: var(--black); border-left-color: var(--black); }
.toc a.is-active { color: var(--black); border-left-color: var(--green); font-weight: 600; }

.service { padding: 0 0 64px; margin-bottom: 64px; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.service h2 { font-size: clamp(28px, 3vw, 38px); max-width: 16em; }
.service > p { margin-top: 18px; font-size: 18.5px; color: var(--text-2); max-width: 36em; }
.service-detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; margin-top: 36px; }
.service-detail h3 { font-size: 16px; margin-bottom: 14px; }
.checklist li { position: relative; padding: 9px 0 9px 32px; border-top: 1px solid var(--line-soft); line-height: 1.45; }
.checklist li:last-child { border-bottom: 1px solid var(--line-soft); }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 14px;
  border: 1.5px solid #7F8C85; border-radius: 2px;
}
.checklist li::after {
  content: ""; position: absolute; left: 6px; top: 13px; width: 6px; height: 10px;
  border: solid var(--ink); border-width: 0 2.4px 2.4px 0; transform: rotate(40deg);
}
.fit { padding: 22px; background: var(--green-pale); border-radius: 4px; align-self: start; }
.fit p { color: var(--text); }
.fit .btn { margin-top: 18px; }

/* Cena */
.factor-table { border-top: 2px solid var(--black); }
.factor-table div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 48px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.factor-table dt { font-stretch: 110%; font-weight: 700; font-size: 19px; color: var(--black); line-height: 1.3; }
.factor-table dd { color: var(--text-2); }

.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.package {
  display: flex; flex-direction: column;
  border-top: 4px solid var(--green);
  background: var(--white);
  padding: 28px 28px 30px;
}
.package.is-dark { background: var(--black); color: #E2E8E4; border-top-color: #8FC4A6; }
.package.is-dark h3 { color: var(--white); }
.package.is-dark .checklist li { border-color: #2E3431; }
.package.is-dark .checklist li::before { border-color: #7C8781; }
.package.is-dark .checklist li::after { border-color: #8FC4A6; }
.package > p { margin: 10px 0 22px; color: var(--text-2); }
.package.is-dark > p { color: #B9C4BE; }
.package .checklist { flex-grow: 1; }
.package-note { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.package-note p { color: var(--text-2); max-width: 38em; }

/* Otázky */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 48px 80px; align-items: start; }
.faq-layout .lead { margin-top: 18px; }
.faq { border-top: 2px solid var(--black); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-weight: 650; font-size: 18.5px; color: var(--black); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--green); }
.faq details p { padding: 0 48px 24px 0; color: var(--text-2); max-width: 40em; }
.faq details[open] p { animation: faq-open .25s ease-out; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* O nás */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; }
.principles > div { border-top: 2px solid var(--black); padding-top: 26px; }
.principles .ico { width: 52px; height: 52px; margin-bottom: 18px; }
.principles h3 { font-size: clamp(21px, 2vw, 26px); margin-bottom: 12px; }
.principles p { color: var(--text-2); max-width: 30em; }

.statement { font-stretch: 112%; font-weight: 650; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.25; letter-spacing: -0.018em; color: var(--black); max-width: 24em; text-wrap: balance; }

/* Kontakt */
.contact { background: var(--green-pale); padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 112px); }
.contact-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px 80px; align-items: start; }
.contact-in .lead { margin-top: 24px; }
.next-steps { margin-top: 48px; counter-reset: step; border-top: 2px solid var(--black); }
.next-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.next-steps li::before {
  counter-increment: step; content: counter(step);
  grid-row: span 2;
  width: 32px; height: 38px; display: grid; place-items: center;
  border: 1.5px solid var(--black); font-weight: 700; font-stretch: 116%; color: var(--black);
}
.next-steps strong { color: var(--black); font-weight: 650; }
.next-steps span { color: var(--text-2); font-size: 16px; }

.form-card { background: var(--white); border-radius: 4px; padding: clamp(24px, 3.4vw, 44px); box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 48px -24px rgba(10, 51, 36, .3); }
.form-card h2 { font-size: clamp(24px, 2.4vw, 30px); }
.form-card > p { margin-top: 8px; color: var(--text-2); }
.form { display: grid; gap: 20px; margin-top: 28px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: 15px; color: var(--black); }
.field label .opt { font-weight: 400; color: var(--text-2); }
.input {
  width: 100%; min-height: 52px; padding: 12px 14px;
  background: var(--white);
  border: 1.5px solid #B6C4BB; border-radius: 4px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:hover { border-color: #7F8C85; }
.input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(15, 77, 51, .18); }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.input:user-invalid { border-color: #B3261E; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: 14px; color: var(--text-2); }
.form .btn { width: 100%; }
.form-error {
  display: none;
  padding: 14px 16px; border-left: 4px solid #B3261E; background: #FBEDEC; color: #5C1410; font-size: 15.5px;
}
.form-error.is-visible { display: block; }

/* Textové stránky */
.prose { max-width: 42em; }
.prose h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 48px 0 14px; }
.prose p, .prose ul { margin-bottom: 16px; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--green); }
.prose .meta { color: var(--text-2); font-size: 15px; }

/* Jednoduché stránky (ďakujeme, 404) */
.notice { min-height: calc(100vh - var(--header-h) - 300px); display: grid; align-items: center; padding: clamp(72px, 10vw, 140px) 0; }
.notice .lead { margin-top: 20px; }
.notice .actions { margin-top: 36px; }
.notice-mark { width: 72px; height: 72px; margin-bottom: 36px; color: var(--ink); }


/* ---------- Živé prvky ---------- */

/* Pás so službami */
.ticker { background: var(--black); color: var(--white); overflow: hidden; padding: 22px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-run { display: flex; align-items: center; flex: none; }
.tk-item { font-stretch: 116%; font-weight: 700; font-size: clamp(20px, 2.3vw, 30px); letter-spacing: -0.015em; white-space: nowrap; padding: 0 30px; }
.tk-sep { display: flex; }
.tk-mark { width: 30px; height: 30px; }
.ticker .lm-t { fill: var(--white); }
.ticker .lm-e { fill: var(--leaf); }
.ticker .lm-c { stroke: var(--leaf); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Mesačný prehľad – zelený pás s telefónom */
.band-green { background: var(--green-deep); color: #D7E5DC; overflow: hidden; }
.band-green h2 { color: var(--white); }
.band-green .lead { color: #C3D6CA; }
.monthly { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 56px 80px; align-items: center; }
.monthly-text .lead { margin-top: 22px; }
.ticks-light { margin: 28px 0 36px; border-top: 1px solid #2B5A45; }
.ticks-light li { position: relative; padding: 13px 0 13px 34px; border-bottom: 1px solid #2B5A45; color: var(--white); }
.ticks-light li::before { content: ""; position: absolute; left: 0; top: 16px; width: 16px; height: 16px; border: 1.5px solid var(--leaf); border-radius: 2px; }
.ticks-light li::after { content: ""; position: absolute; left: 5px; top: 16px; width: 6px; height: 11px; border: solid var(--leaf); border-width: 0 2.4px 2.4px 0; transform: rotate(40deg); }

.phone {
  width: 100%; max-width: 336px; margin: 0 auto;
  background: #000; border-radius: 46px; padding: 12px;
  box-shadow: inset 0 0 0 2px #2C322F, 0 50px 70px -30px rgba(0, 0, 0, .65);
  transform: rotate(2.5deg);
}
.phone-screen { position: relative; background: #F3F6F4; border-radius: 35px; padding: 50px 16px 20px; font-size: 14px; line-height: 1.4; color: var(--text); }
.phone-screen::before { content: ""; position: absolute; top: 12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 14px; background: #000; }
.msg-head { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.msg-avatar svg { width: 38px; height: 38px; }
.msg-from strong { display: block; font-size: 14.5px; color: var(--black); }
.msg-from span { font-size: 12.5px; color: var(--text-2); }
.msg-time { align-self: start; font-size: 12px; color: var(--text-2); }
.msg-hi { margin: 12px 0; }
.kpis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.kpis div { background: var(--white); border-radius: 12px; padding: 9px 12px; }
.kpis span { display: block; font-size: 12px; color: var(--text-2); }
.kpis b { font-size: 17px; font-stretch: 108%; color: var(--black); font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpis .kpi-main { grid-column: 1 / -1; background: var(--green); }
.kpis .kpi-main span { color: #BFD9C9; }
.kpis .kpi-main b { color: var(--white); font-size: 25px; }
.mini-chart { margin-top: 8px; background: var(--white); border-radius: 12px; padding: 12px 12px 8px; }
.mc-bars { display: flex; align-items: flex-end; gap: 8px; height: 64px; }
.mc-bars i { flex: 1; height: var(--h); background: var(--mint); border-radius: 4px 4px 2px 2px; transform-origin: bottom; }
.mc-bars i.now { background: var(--ink); }
.mc-labels { display: flex; gap: 8px; margin-top: 6px; }
.mc-labels span { flex: 1; text-align: center; font-size: 11px; color: var(--text-2); }
.due { margin-top: 8px; background: var(--white); border-radius: 12px; padding: 9px 12px; }
.due p { font-size: 12px; color: var(--text-2); margin-bottom: 2px; }
.due-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; }
.due-row span { font-weight: 600; color: var(--black); }
.due-row b { color: var(--black); font-variant-numeric: tabular-nums; white-space: nowrap; }
.due-row em { grid-column: 1 / -1; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.done { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--green); }
.demo-note { margin-top: 22px; text-align: center; font-size: 13px; color: #9DBBAA; }

/* Animácie ilustrácií – spustia sa, keď sú na obrazovke */
.mc-bars i { animation: grow-y .8s cubic-bezier(.2,.7,.2,1) both; }
.mc-bars i:nth-child(2) { animation-delay: .08s; } .mc-bars i:nth-child(3) { animation-delay: .16s; }
.mc-bars i:nth-child(4) { animation-delay: .24s; } .mc-bars i:nth-child(5) { animation-delay: .32s; }
.mc-bars i:nth-child(6) { animation-delay: .4s; }
.grow { transform-box: fill-box; transform-origin: bottom; animation: grow-y .9s cubic-bezier(.2,.7,.2,1) both; }
.g2 { animation-delay: .12s; } .g3 { animation-delay: .24s; } .g4 { animation-delay: .36s; } .g5 { animation-delay: .48s; }
.stem { stroke-dasharray: 46; animation: draw-stem .6s ease-out both; }
.leaf { transform-box: fill-box; transform-origin: 100% 100%; animation: leaf-in .55s cubic-bezier(.3,1.4,.5,1) .45s both; }
.leaf.l2 { transform-origin: 0% 100%; animation-delay: .65s; }
.lit { animation: lit .5s steps(2, end) .5s both; }
.lit.l2 { animation-delay: .9s; }
.steam { animation: steam 3.2s ease-in-out infinite; }
.steam.s2 { animation-delay: -1.5s; }
.spark { transform-box: fill-box; transform-origin: center; animation: twinkle 2.6s ease-in-out infinite; }
.spark.s2 { animation-delay: -.9s; } .spark.s3 { animation-delay: -1.7s; }
.js [data-live] .grow, .js [data-live] .stem, .js [data-live] .leaf, .js [data-live] .lit, .js [data-live] .mc-bars i { animation-play-state: paused; }
.js [data-live].is-live .grow, .js [data-live].is-live .stem, .js [data-live].is-live .leaf, .js [data-live].is-live .lit, .js [data-live].is-live .mc-bars i { animation-play-state: running; }
@keyframes grow-y { from { transform: scaleY(.08); } to { transform: none; } }
@keyframes draw-stem { from { stroke-dashoffset: 46; } to { stroke-dashoffset: 0; } }
@keyframes leaf-in { from { transform: scale(0); } to { transform: none; } }
@keyframes lit { from { fill: var(--mint); } to { fill: var(--green); } }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-14px); } }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }

/* Hlavičky podstránok s obrázkom */
.page-head-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 48px 72px; align-items: center; }
.page-head .actions { margin-top: 32px; }
.head-visual { border-radius: 8px; overflow: hidden; }
.desk-green { background: var(--green); padding: 52px 44px 64px; display: flex; justify-content: center; overflow: visible; }
.desk-art .desk { width: 100%; height: auto; }
.sheet-sm { max-width: 380px; }
.sheet-sm .sheet-head { padding-bottom: 12px; }
.sheet-sm .sheet-rows li { padding: 12px 0; }
.sheet-sm .stamp { width: 178px; }

.icon-grid ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.icon-grid a {
  display: flex; flex-direction: column; gap: 12px; height: 100%;
  padding: 18px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--white);
  color: var(--black); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3;
  transition: border-color .15s ease, background-color .15s ease;
}
.icon-grid a:hover { border-color: var(--black); background: var(--green-pale); color: var(--black); }
.icon-grid .ico { width: 46px; height: 46px; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.icon-grid a:hover .ico { transform: rotate(-6deg) translateY(-2px); }
.service-ico .ico { width: 64px; height: 64px; margin-bottom: 18px; }

/* ---------- Pätička ---------- */

.site-footer { background: var(--black); color: #B9C4BE; font-size: 15.5px; }
.footer-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.site-footer .brand { color: var(--white); }
.site-footer .lm-t { fill: var(--white); }
.site-footer .lm-e { fill: var(--leaf); }
.site-footer .lm-c { stroke: var(--leaf); }
.site-footer .brand-sub { color: #9FB0A7; }
.footer-brand p { margin: 18px 0 26px; max-width: 24em; }
.footer-h { font-size: 15px; font-stretch: 100%; letter-spacing: 0; font-weight: 650; color: var(--white); margin-bottom: 14px; }
.site-footer nav a { display: inline-block; padding: 6px 0; color: #B9C4BE; text-decoration: none; }
.site-footer nav a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-top: 22px; padding-bottom: 28px; font-size: 14px;
}
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid #2A302D; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-bottom a { color: #B9C4BE; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Responzivita ---------- */

@media (max-width: 1040px) {
  .header-in { gap: 24px; }
  .nav ul { gap: 22px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps li:nth-child(2)::after { display: none; }
  .services-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .js .nav, .js .header-cta { display: none; }
  .js .menu-btn { display: inline-flex; }
  html:not(.js) .header-in { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  html:not(.js) .nav { margin-left: 0; width: 100%; }
  html:not(.js) .nav ul { flex-wrap: wrap; }

  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-text { padding: 56px 0 56px; }
  .hero-desk { padding: 56px 0 84px; }
  .hero-desk::before { left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); }

  .audience { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .price { grid-template-columns: minmax(0, 1fr); }
  .packages { grid-template-columns: minmax(0, 1fr); }
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-in { grid-template-columns: minmax(0, 1fr); }
  .monthly { grid-template-columns: minmax(0, 1fr); }
  .page-head-in { grid-template-columns: minmax(0, 1fr); }
  .footer-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .service-row { grid-template-columns: 44px minmax(0, 1fr); gap: 6px 16px; padding: 22px 0; align-items: start; }
  .service-row .ico { width: 44px; height: 44px; grid-row: span 2; }
  .icon-grid ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .desk-green { padding: 40px 20px 52px; }
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 11.5px; }
  .logo-mark { width: 36px; height: 36px; }
  .phone { max-width: 300px; }
  .service-row .more { display: none; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; padding-bottom: 32px; }
  .steps li::before { grid-row: span 2; margin-bottom: 0; }
  .steps li:not(:last-child)::after { display: block; top: 56px; bottom: 0; left: 23px; right: auto; width: 1.5px; height: auto; background: repeating-linear-gradient(to bottom, var(--black) 0 6px, transparent 6px 12px); }
  .steps h3 { margin-top: 12px; }
  .service-detail { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .factor-table div { grid-template-columns: minmax(0, 1fr); }
  .principles { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { width: 100%; }
  .sheet { padding: 24px 20px 26px 50px; }
  .sheet::before, .sheet::after { left: 17px; width: 13px; height: 13px; }
  .sheet-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stamp { width: 158px; right: 4px; bottom: 10px; }
  .map { height: auto; }
  .map-svg { position: relative; height: 260px; }
  .map-in { padding: 0; }
  .map-card { max-width: none; width: 100%; margin: -36px 0 32px; position: relative; }
  .footer-in { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .site-footer, .map, .cta-band, .menu-btn { display: none !important; }
  body { font-size: 12pt; }
}
