/* KAIS.SK — tmavý / tech / premium */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-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 {
  --bg: #07131F;
  --bg-2: #081725;
  --surface: #0B1B2A;
  --surface-2: #0E2233;
  --text: #F5F7FA;
  --muted: #AAB7C4;
  --accent: #22A7FF;
  --accent-2: #149BFF;
  --btn: #0B78D1;          /* biely text 4.5:1 (WCAG AA) */
  --btn-hover: #0A6CBC;
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .18);
  --error: #FF8A8A;
  --success: #5FD39A;
  --radius: 10px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 104px);
  --header-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* odkazy v texte nesmú byť odlíšené len farbou (WCAG) */
main p a:not(.btn), .field-check label a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
h2, .h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
h3, .h3 { font-size: 1.125rem; letter-spacing: -.01em; }
h2.h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--btn); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; }

.eyebrow {
  margin: 0 0 1rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow span { margin-inline: .35em; color: var(--line-2); }
.lead { max-width: 62ch; color: var(--muted); font-size: 1.0625rem; }

/* ---------- tlačidlá ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75rem 1.375rem;
  border: 1px solid transparent; border-radius: 6px;
  font-size: .9375rem; font-weight: 600; line-height: 1.2; white-space: nowrap;
  cursor: pointer; text-decoration: none;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { border-color: var(--accent-2); color: var(--text); background: transparent; }
.btn-ghost:hover { background: rgba(20, 155, 255, .10); }
.btn-block { width: 100%; }
.btn span[aria-hidden] { transition: transform .2s; }
.btn:hover span[aria-hidden] { transform: translateX(3px); }

.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; color: var(--text);
  border: 1px solid var(--line-2); border-radius: 6px; cursor: pointer; font-size: 1.1rem;
  transition: border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--accent-2); background: rgba(20, 155, 255, .10); }
.icon-btn:disabled { opacity: .35; cursor: default; }

/* ---------- hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 19, 31, .82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; flex-direction: column; color: var(--text); line-height: 1; }
.brand:hover { text-decoration: none; }
.brand-word { font-size: 1.625rem; font-weight: 700; letter-spacing: -.02em; }
.brand-tag { margin-top: 6px; font-size: .625rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  display: block; padding: 10px 12px; border-radius: 6px;
  color: var(--muted); font-size: .875rem; font-weight: 500;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; background: rgba(255, 255, 255, .05); }
.nav a[aria-current="page"] { color: var(--accent); }
.header-cta { min-height: 44px; padding: .6rem 1.1rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: 4px;
  background: transparent; border: 1px solid var(--line-2); border-radius: 6px; cursor: pointer;
  position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px;
  background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 78% 30%, rgba(20, 155, 255, .14), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center; gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(40px, 6vw, 88px);
}
.hero h1 { font-size: clamp(2.75rem, 6vw, 4.5rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: .3em; }
.hero-sub { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 600; margin-bottom: 1.25em; }
.hero-text { max-width: 54ch; font-size: 1.0625rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.proof { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.proof div { display: flex; flex-direction: column-reverse; }
.proof dt { font-size: 1.625rem; font-weight: 700; color: var(--accent); letter-spacing: -.02em; line-height: 1.1; }
.proof dd { margin: 4px 0 0; font-size: .8125rem; color: var(--muted); }

.hero-photo { position: relative; margin: 0; align-self: stretch; min-height: 100%; }
.hero-photo picture { height: 100%; }
.hero-photo picture img {
  width: 100%; height: 100%; max-height: 640px; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: 50% 30%;
  border-radius: var(--radius);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%), linear-gradient(90deg, transparent 0, #000 18%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%), linear-gradient(90deg, transparent 0, #000 18%);
  mask-composite: intersect;
  filter: saturate(.9) contrast(1.03);
}
.hero-signature {
  position: absolute; right: 8%; bottom: 7%;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  pointer-events: none;
}
.hero-signature img { width: 84px; height: auto; }
.hero-signature span { font-size: .9375rem; font-style: italic; color: var(--text); text-align: right; line-height: 1.35; white-space: nowrap; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }

/* ---------- sekcie ---------- */
.section { padding-block: var(--section); }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section h2 { margin-bottom: 1em; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 1.75rem; }
.section-head h2 { margin: 0; }
.section-note { margin: 28px 0 0; max-width: 70ch; color: var(--muted); }

.cards { display: grid; gap: 16px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s, transform .25s, background-color .25s;
}
.card:hover { border-color: rgba(34, 167, 255, .45); }
.card p { margin: 0; color: var(--muted); font-size: .9375rem; }
.card-icon { text-align: left; }
.icon { width: 44px; height: 44px; margin-bottom: 20px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.card-link { display: flex; flex-direction: column; color: var(--text); }
.card-link:hover { text-decoration: none; transform: translateY(-2px); background: var(--surface-2); }
.card-kicker { margin-bottom: 14px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.card-more { margin-top: auto; padding-top: 20px; font-size: .875rem; font-weight: 600; color: var(--accent); }

.steps { counter-reset: step; }
.steps .card::before {
  counter-increment: step; content: "0" counter(step);
  display: block; margin-bottom: 14px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; color: var(--accent);
}
.audience .card, .steps .card { padding-block: 24px; }

/* ---------- o mne ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.about-copy p:not(.eyebrow) { color: var(--muted); }
.about-copy p strong { color: var(--text); }
.about-copy h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: .75em; }

.milestones-grid {
  display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px);
  align-items: center; margin-top: clamp(48px, 6vw, 80px);
}
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding-top: 28px; }
.timeline::before { content: ""; position: absolute; top: 7px; left: 7px; right: 7px; height: 1px; background: linear-gradient(90deg, var(--accent-2), rgba(20, 155, 255, .25)); }
.timeline li { position: relative; display: flex; flex-direction: column; gap: 6px; }
.timeline li::before {
  content: ""; position: absolute; top: -28px; left: 0;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--accent-2);
  box-shadow: 0 0 0 4px rgba(20, 155, 255, .12);
}
.tl-label { font-weight: 700; color: var(--accent); font-size: .9375rem; }
.tl-text { color: var(--muted); font-size: .875rem; line-height: 1.45; }

.quote { margin: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.quote blockquote { margin: 0; }
.quote p { margin: 0; font-size: 1.125rem; font-weight: 500; line-height: 1.5; }
.quote figcaption { display: flex; justify-content: flex-end; margin-top: 12px; }
.quote figcaption img { width: 72px; }

/* ---------- carousel ---------- */
.carousel {
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline-offset: -2px; }
.carousel-track { display: flex; gap: 16px; width: max-content; }
.carousel-nav { display: flex; gap: 8px; }
.photo-card {
  flex: 0 0 auto; width: 280px; scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .25s;
}
.photo-card:hover { border-color: rgba(34, 167, 255, .45); }
.photo-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s; }
.photo-card:hover img { transform: scale(1.03); }
.photo-card picture { overflow: hidden; }
.photo-card p { margin: 0; padding: 14px 16px 16px; font-size: .875rem; font-weight: 500; }

/* ---------- dataling + nadácia ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
}
.feature > * { position: relative; }
.feature::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.feature-dataling::before { background: radial-gradient(600px 300px at 100% 0%, rgba(20, 155, 255, .20), transparent 65%); }
.feature-foundation::before { background: radial-gradient(600px 300px at 100% 100%, rgba(95, 211, 154, .12), transparent 65%); }
.feature-photo { display: block; margin: calc(-1 * clamp(28px, 4vw, 44px)) calc(-1 * clamp(28px, 4vw, 44px)) 28px; width: calc(100% + 2 * clamp(28px, 4vw, 44px)); max-width: none; }
.feature-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; }
.feature h2 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); margin-bottom: .35em; }
.feature-sub { font-size: 1.125rem; font-weight: 500; }
.feature p:not(.feature-sub) { color: var(--muted); max-width: 52ch; }
.feature .btn { margin-top: auto; }

/* ---------- osobné ---------- */
.personal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.personal-grid h2 { margin-bottom: .6em; }
.personal-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.personal-photos img { width: 100%; aspect-ratio: 1152 / 1668; object-fit: cover; border-radius: var(--radius); }
.personal-photos picture:nth-child(2) { margin-top: 40px; }

/* ---------- kontakt ---------- */
.contact {
  position: relative;
  background:
    radial-gradient(900px 480px at 10% 10%, rgba(20, 155, 255, .13), transparent 60%),
    radial-gradient(700px 400px at 90% 100%, rgba(20, 155, 255, .08), transparent 60%),
    linear-gradient(180deg, var(--bg), #050E18);
  border-top: 1px solid var(--line);
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.375rem); margin-bottom: .6em; }
.contact-copy > p { color: var(--muted); max-width: 48ch; }
.contact-list { display: grid; gap: 14px; margin-top: 32px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-list svg.fill { fill: var(--accent); stroke: none; }
.contact-list a { color: var(--text); }

.contact-form {
  padding: clamp(20px, 3vw, 32px);
  background: rgba(11, 27, 42, .85);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 6px;
  font-size: 1rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322A7FF' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field ::placeholder { color: #7F8FA0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(20, 155, 255, .25); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { margin: 6px 0 0; font-size: .8125rem; color: var(--error); }

.field-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--btn); cursor: pointer; }
.field-check label { margin: 0; font-size: .8125rem; line-height: 1.5; }
.field-check .field-error { grid-column: 2; }

.field label.captcha-box {
  display: flex; align-items: center; gap: 12px; margin: 0; color: var(--text);
  min-height: 56px; padding: 12px 16px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 6px;
  cursor: pointer; user-select: none;
}
.captcha-box input { width: 22px; height: 22px; margin: 0; accent-color: var(--btn); cursor: pointer; }
.captcha-text { font-size: .9375rem; font-weight: 500; color: var(--text); }
.captcha-state { margin-left: auto; font-size: .8125rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.captcha-state.is-busy::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--line-2); border-top-color: var(--accent);
  animation: spin .8s linear infinite;
}
.captcha-state.is-ok { color: var(--success); font-weight: 600; }
.captcha.is-invalid .captcha-box { border-color: var(--error); }
@keyframes spin { to { transform: rotate(360deg); } }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 14px 0 0; padding: 12px 14px; border-radius: 6px; font-size: .9375rem; }
.form-status.is-success { background: rgba(95, 211, 154, .12); border: 1px solid rgba(95, 211, 154, .4); color: var(--success); }
.form-status.is-error { background: rgba(255, 138, 138, .10); border: 1px solid rgba(255, 138, 138, .4); color: var(--error); }
.contact-form button[disabled] { opacity: .6; cursor: progress; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: .75rem; color: var(--muted); }
.form-note svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- pätička ---------- */
.site-footer { padding-block: 40px; background: #050E18; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center; }
.footer-copy { margin: 8px 0 0; font-size: .75rem; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.footer-nav a { color: var(--muted); font-size: .8125rem; }
.footer-nav a:hover { color: var(--text); }
.footer-sign { display: flex; align-items: center; gap: 16px; }
.footer-sign img { width: 44px; }
.footer-sign p { margin: 0; font-size: .8125rem; font-style: italic; line-height: 1.35; }
.social { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 6px; }
.social svg { width: 18px; height: 18px; fill: var(--text); }
.social:hover { border-color: var(--accent-2); }

/* ---------- podstránky služieb ---------- */
.service-hero .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: start; }
.service-hero h1 { font-size: clamp(2.1rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.03em; margin-bottom: .6em; }
.service-hero .lead { color: var(--text); max-width: 62ch; }
.service-hero .lead.muted { color: var(--muted); }
.service-photo { margin: 0; }
.service-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.breadcrumbs { margin-bottom: 20px; font-size: .8125rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs [aria-current] { color: var(--text); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.for-whom .card { padding: 20px 22px 20px 48px; }
.for-whom .card::before { content: ""; position: absolute; left: 22px; top: 27px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(34, 167, 255, .15); }
.for-whom .card p { color: var(--text); font-size: 1rem; }
.cards-3 .card h3, .steps .card h3 { margin-bottom: .45em; }
.service-note { margin: 24px 0 0; padding: 18px 20px; border-left: 3px solid var(--accent); background: rgba(34, 167, 255, .06); border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted); }
.faq-wrap { max-width: 880px; }
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--accent); }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
.cta-band { background: radial-gradient(800px 360px at 50% 0%, rgba(20, 155, 255, .16), transparent 70%), var(--bg); border-top: 1px solid var(--line); text-align: center; }
.cta-inner { max-width: 760px; }
.cta-inner .lead { margin: 0 auto 28px; }
.card h3 a { color: inherit; }
.card-icon { display: flex; flex-direction: column; }
.card-icon .card-more { margin-top: auto; padding-top: 18px; }

/* ---------- spolu s Veronikou ---------- */
.together-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.together-photo { margin: 0; }
.together-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.together-copy p:not(.eyebrow) { color: var(--muted); }
.together-copy p strong { color: var(--text); }

/* ---------- podstránky (privacy, 404) ---------- */
.page { padding-block: var(--section); }
.page .container { max-width: 820px; }
.page h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page h2 { font-size: 1.25rem; margin-top: 2em; }
.page p, .page li { color: var(--muted); }
.page ul { list-style: disc; padding-left: 1.25em; margin-bottom: 1em; }
.todo { color: #FFD166; font-weight: 600; }

/* ---------- responzivita ---------- */
@media (max-width: 1199px) {
  .nav a { padding-inline: 9px; }
  .brand-tag { display: none; }
}
@media (max-width: 991px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: rgba(7, 19, 31, .98); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .nav a { padding: 14px 8px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header-cta { margin-left: auto; }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 { grid-template-columns: 1fr; }
  .about-grid, .milestones-grid, .personal-grid, .contact-grid, .together-grid, .service-hero .hero-grid { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
  .service-photo { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr; justify-items: start; }
  .footer-nav { justify-content: flex-start; }
}
@media (max-width: 767px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 24px; }
  .hero-photo { order: -1; max-width: 420px; margin-inline: auto; width: 100%; }
  .service-photo { order: -1; max-width: 360px; margin-inline: auto; width: 100%; }
  .together-photo { order: -1; }
  .hero-photo picture img { max-height: 440px; -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent 100%); mask-image: linear-gradient(180deg, #000 65%, transparent 100%); }
  .hero-signature { bottom: 10%; right: 9%; }
  .hero-signature img { width: 64px; }
  .hero-signature span { font-size: .8125rem; }
  .duo { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 20px; padding: 0 0 0 32px; }
  .timeline::before { top: 7px; bottom: 7px; left: 7px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent-2), rgba(20, 155, 255, .25)); }
  .timeline li::before { top: 3px; left: -32px; }
}
@media (max-width: 599px) {
  .header-cta { padding: .55rem .8rem; font-size: .8125rem; }
  .header-cta span[aria-hidden] { display: none; }
  .brand-word { font-size: 1.375rem; }
  .form-row { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .proof { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
}
@media (max-width: 479px) {
  .photo-card { width: 78vw; }
  .section-head { align-items: center; }
}
@media (max-width: 379px) {
  .header-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .photo-card:hover img, .card-link:hover { transform: none; }
}
