/* ---------- Fonts (self-hosted, brand manuál: Libre Baskerville + Merriweather Sans) ---------- */
@font-face { font-family: "Libre Baskerville"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/libre-baskerville-italic-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Libre Baskerville"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/libre-baskerville-italic-400-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; }
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/libre-baskerville-normal-400-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/libre-baskerville-normal-400-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; }
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/libre-baskerville-normal-700-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/libre-baskerville-normal-700-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; }
@font-face { font-family: "Merriweather Sans"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/merriweather-sans-normal-300-700-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Merriweather Sans"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/merriweather-sans-normal-300-700-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; }

/* ---------- Tokens (barvy navazují na Šteco reality) ---------- */
:root {
  /* Brand manuál Ing. Radomír Šteco */
  --navy: #1c2c35;
  --teal: #2e5e6e;
  --gold: #c6a57a;
  --smoke: #f3f3f3;

  --bg: #111b21;
  --bg-2: #16232a;
  --surface: #1c2c35;
  --surface-2: #243944;
  --line: rgba(243, 243, 243, .09);
  --text: #f3f3f3;
  --muted: #a3b1b8;
  --accent: var(--gold);
  --accent-strong: var(--gold);
  --light: var(--smoke);
  --light-text: var(--navy);
  --light-muted: #56656d;
  --serif: "Libre Baskerville", Georgia, serif;
  --radius: 20px;
  --radius-lg: 28px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #111b21; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 300 16.5px/1.75 "Merriweather Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.15; }
h1 .accent, h2 .accent { font-style: italic; }
strong, b { font-weight: 600; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.22rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 1.6em; border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .3s var(--ease), background .3s, border-color .3s, color .3s;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--accent { background: var(--gold); color: var(--navy); }
.btn--accent:hover { background: #d6b98f; transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: rgba(255,255,255,.3); }
.btn--sm { padding: .75em 1.2em; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(17, 27, 33, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.sig { display: inline-block; aspect-ratio: 900 / 623; background: currentColor;
  -webkit-mask: url("/img/logo-rs.png") center / contain no-repeat; mask: url("/img/logo-rs.png") center / contain no-repeat; }
.brand { gap: 14px; }
.brand .sig { width: 58px; color: var(--gold); }
.brand__name { display: grid; line-height: 1.15; padding-left: 14px; border-left: 1px solid var(--line); }
.brand__name b { font-family: var(--serif); font-weight: 700; font-size: .98rem; letter-spacing: .04em; }
.brand__name small { font-size: .66rem; letter-spacing: .24em; color: var(--muted); }
.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: .95rem; }
.nav__links a { color: var(--muted); transition: color .2s; position: relative; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--accent); transition: right .3s var(--ease); }
.nav__links a:hover::after { right: 0; }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero__glow {
  position: absolute; width: 900px; height: 900px; right: -200px; top: -300px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(198, 165, 122, .22), transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--muted);
  background: rgba(255,255,255,.03);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(198,165,122,.2); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); letter-spacing: -.025em; line-height: 1.06; }
.lead { margin: 28px 0 36px; font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { list-style: none; padding: 0; margin: 52px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.hero__facts li { padding: 20px 20px 0 0; display: grid; gap: 2px; }
.hero__facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.hero__facts strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; color: var(--gold); }
.hero__facts span { font-size: .9rem; color: var(--muted); line-height: 1.4; }

.hero__photo { position: relative; margin: 0; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.hero__photo::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; }
.float-card {
  position: absolute; left: -36px; bottom: 40px; display: grid; gap: 2px;
  padding: 18px 22px; border-radius: 18px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(28, 44, 53, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.float-card__name { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; }
.float-card__role { font-size: .88rem; color: var(--muted); }
.float-chip {
  position: absolute; right: 20px; top: 20px; display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px; font-size: .85rem; font-weight: 500;
  background: rgba(28, 44, 53, .88); color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.float-chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee__track { display: flex; gap: 36px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--muted); white-space: nowrap; }
.marquee__track i { color: var(--accent); font-style: normal; font-size: 1rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section--alt { background: var(--bg-2); }
.section--light { background: var(--light); color: var(--light-text); }
.section--light .muted, .section--light .head__lead { color: var(--light-muted); }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: .85rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--light .kicker { color: #9a7b51; }
.head { margin-bottom: 56px; }
.head--split { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.head__lead { max-width: 28em; color: var(--muted); margin: 0; font-size: 1.08rem; }
.badge { padding: 3px 10px; border-radius: 999px; border: 1px dashed currentColor; font-size: .7rem; letter-spacing: .08em; opacity: .8; }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; padding: 0 0 60px 0; }
.about__main { width: 86%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: var(--radius-lg); }
.about__detail {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); border: 6px solid var(--bg); box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.about__text h2 { margin-bottom: 28px; }
.about__text > p { color: var(--muted); font-size: 1.08rem; }
.pillars { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.pillars li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); }
.pillars li div { display: grid; }
.pillars strong { font-weight: 600; }
.pillars li span:not(.pillars__ic) { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.pillars__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(198,165,122,.12); color: var(--accent); flex: none; }
.pillars__ic svg { width: 20px; height: 20px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px 28px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(198,165,122,.4); }
.card p { color: var(--muted); font-size: .97rem; line-height: 1.6; margin: 0; flex: 1; }
.card__num { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--gold); margin-bottom: 26px; }
.card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; margin-top: 10px; }
.card__link svg { transition: transform .3s var(--ease); color: var(--accent); }
.card:hover .card__link svg { transform: translateX(4px); }
.card--featured { background: linear-gradient(160deg, #36707f, #1f4552); border-color: transparent; }
.card--featured p { color: rgba(255,255,255,.85); }
.card--featured .card__num, .card--featured .card__link svg { color: #fff; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 rgba(28,44,53,.06), 0 18px 40px -24px rgba(28,44,53,.25); }
.steps__n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 28px;
  background: var(--light-text); color: #fff; font-weight: 600;
}
.steps__n { font-family: var(--serif); }
.steps li:first-child .steps__n { background: var(--gold); color: var(--navy); }
.steps h3 { font-size: 1.12rem; margin-bottom: 10px; }
.steps p { color: var(--light-muted); font-size: .95rem; line-height: 1.55; margin: 0; }

/* Quote band */
.quote { position: relative; min-height: 620px; display: grid; align-items: center; overflow: hidden; }
.quote > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.quote::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,27,33,.96) 0%, rgba(17,27,33,.82) 42%, rgba(17,27,33,.15) 75%); }
.quote__in { position: relative; }
.quote blockquote { margin: 0; max-width: 620px; }
.quote blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.3; letter-spacing: -.015em; }
.quote footer .sig { width: 92px; color: var(--gold); }
.quote footer { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.quote footer::before { content: ""; width: 36px; height: 2px; background: var(--accent); }

/* References */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ref { margin: 0; padding: 32px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.ref__stars { color: var(--accent); letter-spacing: 3px; }
.ref blockquote { margin: 0; font-size: 1.08rem; line-height: 1.6; flex: 1; }
.ref figcaption { display: flex; align-items: center; gap: 14px; font-size: .9rem; color: var(--muted); }
.ref figcaption strong { display: block; color: var(--text); font-weight: 600; }
.ref__av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--text); font-family: var(--serif); }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project { display: block; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.project:hover { transform: translateY(-6px); border-color: rgba(198,165,122,.4); }
.project__img { position: relative; overflow: hidden; aspect-ratio: 3 / 2; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover .project__img img { transform: scale(1.05); }
.tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: rgba(17,27,33,.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.project__body { padding: 22px 24px 26px; }
.project__body h3 { margin-bottom: 6px; }
.project__body p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Team */
.team { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.team__img { margin: 0; }
.team__img img { border-radius: var(--radius-lg); aspect-ratio: 3 / 2; object-fit: cover; }
.team__text h2 { margin-bottom: 22px; }
.team__text p { color: var(--muted); font-size: 1.08rem; margin-bottom: 30px; }

/* Contact */
.contact { background: radial-gradient(ellipse at 0% 100%, rgba(198,165,122,.14), transparent 55%), var(--bg-2); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact__text h2 { margin-bottom: 24px; }
.contact__text > p { color: var(--muted); font-size: 1.08rem; }
.contact__list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 18px; }
.contact__list li { display: flex; align-items: center; gap: 16px; font-size: 1.1rem; font-weight: 500; }
.contact__list a:hover { color: var(--accent); }
.contact__list small { display: block; color: var(--muted); font-size: .9rem; font-weight: 400; }
.form { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 18px; }
.form__chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.form__chips legend { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.form__chips input { position: absolute; opacity: 0; pointer-events: none; }
.form__chips span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; transition: all .2s; font-size: .95rem; }
.form__chips input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.form__chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field span { font-size: .9rem; color: var(--muted); }
.field em { font-style: normal; opacity: .7; }
.field input, .field textarea {
  width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); font: inherit; font-size: 1rem; transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--bg); }
.field ::placeholder { color: #6c7c84; }
.form__note { margin: 0; font-size: .85rem; color: var(--muted); text-align: center; }
.form__note a { text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 110px; font-size: .92rem; color: var(--muted); }
.footer__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__in p { margin: 0; }
.footer .brand { color: var(--text); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); transition: border-color .2s, color .2s; }
.footer__social a:hover { border-color: var(--accent); color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; }
.footer__bottom a:hover { color: var(--text); }

.mobilebar { display: none; }

/* ---------- Reveal animace ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:last-child { grid-column: 1 / -1; }
  .nav__links { gap: 22px; }
}
@media (max-width: 900px) {
  .hero { padding-top: 120px; }
  .hero__grid, .about, .team, .contact__grid { grid-template-columns: 1fr; }
  .hero__photo { max-width: 520px; }
  .float-card { left: 16px; bottom: 16px; }
  .refs, .projects { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .team__img { order: 2; }

  .nav__links {
    position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0; padding: 8px 16px 24px;
    background: rgba(17,27,33,.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .3s var(--ease);
  }
  .nav__links a { padding: 16px 0; font-size: 1.15rem; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .menu-open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .menu-open .nav { background: rgba(17,27,33,.97); }
  .nav__cta { display: none; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px; margin-left: auto; width: 46px; height: 46px;
    border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer;
  }
  .nav__toggle span { display: block; width: 18px; height: 2px; background: var(--text); transition: transform .3s; }
  .menu-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .mobilebar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    padding: 8px; border-radius: 999px; background: rgba(28,44,53,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0,0,0,.4);
  }
  .mobilebar .btn { padding: .9em 1em; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand__name { font-size: .85rem; letter-spacing: .1em; }
  .lead { font-size: 1.08rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts li, .hero__facts li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; }
  .cards, .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .quote { min-height: 520px; }
  .quote > img { object-position: 78% center; }
  .quote::before { background: linear-gradient(0deg, rgba(17,27,33,.97) 30%, rgba(17,27,33,.55) 100%); }
  .quote__in { align-self: end; padding-bottom: 56px; }
  .footer__in { flex-direction: column; align-items: flex-start; }
}

/* Služby: 3 sloupce + CTA karta */
.cards { grid-template-columns: repeat(3, 1fr); }
.card--cta { justify-content: flex-end; background: transparent; border-style: dashed; border-color: rgba(198,165,122,.45); }
.card--cta p { flex: 0; }
.card__phone { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); margin-top: 6px; }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Úvodní fotka na světlém pozadí */
.hero__photo img { object-position: center 20%; background: #fff; }
.float-chip__dot { background: var(--gold); }

@media (max-width: 600px) {
  .brand .sig { width: 46px; }
  .brand__name { padding-left: 12px; }
  .brand__name b { font-size: .86rem; white-space: nowrap; }
  .brand__name small { font-size: .6rem; letter-spacing: .2em; }
  /* Citát: fotka nahoře, text pod ní */
  .quote { display: block; min-height: 0; }
  .quote > img { position: relative; height: 380px; object-position: 75% center; }
  .quote::before { inset: 0 0 auto; height: 380px; background: linear-gradient(0deg, var(--bg) 0%, rgba(17,27,33,0) 45%); }
  .quote__in { padding: 0 0 72px; margin-top: -40px; }
}

/* Běžící pás: verzálky jako ve jmenovce, podpis RŠ jako oddělovač */
.marquee { padding: 26px 0; }
.marquee__track { gap: 44px; align-items: center; font-family: var(--serif); font-style: normal; font-size: 1.02rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(243, 243, 243, .82); }
.marquee__track i.sig { width: 40px; color: var(--gold); }

/* Odkaz na Šteco reality v menu */
.nav__links .nav__rk { display: inline-flex; align-items: center; gap: 4px; color: var(--gold); }
.nav__links .nav__rk svg { width: .9em; height: .9em; transition: transform .3s var(--ease); }
.nav__links .nav__rk:hover { color: #d6b98f; }
.nav__links .nav__rk:hover svg { transform: translate(2px, -2px); }
@media (max-width: 900px) { .nav__links .nav__rk { color: var(--gold); } }

/* Jmenovka na úvodní fotce: podpis + jméno jako v logu */
.float-card { display: flex; align-items: center; gap: 16px; padding: 18px 24px 18px 20px; }
.float-card .sig { width: 52px; color: var(--gold); flex: none; }
.float-card__text { display: grid; gap: 4px; padding-left: 16px; border-left: 1px solid rgba(198, 165, 122, .35); }
.float-card__name { font-family: var(--serif); font-weight: 700; font-size: .95rem; letter-spacing: .06em; line-height: 1.2; }
.float-card__role { font-size: .68rem; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.float-card__name { white-space: nowrap; }
@media (max-width: 600px) {
  .float-card { gap: 12px; padding: 14px 18px 14px 16px; }
  .float-card .sig { width: 42px; }
  .float-card__text { padding-left: 12px; }
  .float-card__name { font-size: .88rem; }
}
.hero__facts strong { white-space: nowrap; font-size: clamp(1.1rem, 1.55vw, 1.4rem); }
.hero__facts { grid-template-columns: auto auto auto; }
@media (max-width: 600px) { .hero__facts { grid-template-columns: 1fr; } .hero__facts strong { font-size: 1.4rem; } }

/* Služby: 4 sloupce (7 služeb + karta s telefonem) */
.cards { grid-template-columns: repeat(4, 1fr); }
.card { padding: 28px 24px 24px; }
.card__num { margin-bottom: 18px; }
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Karta „Nevíte, kde začít?“ */
.card--cta { justify-content: space-between; gap: 28px; }
.card__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(198,165,122,.14); color: var(--gold); transition: background .3s, color .3s; }
.card__ic svg { width: 20px; height: 20px; }
.card--cta:hover .card__ic { background: var(--gold); color: var(--navy); }
.card__cta-body { display: grid; gap: 10px; }
.card__cta-body p { margin: 0; }
.card__phone {
  display: flex; align-items: baseline; gap: 8px; margin-top: 8px;
  font-family: "Merriweather Sans", sans-serif; font-weight: 600; font-size: 1.55rem; letter-spacing: .02em;
  font-variant-numeric: lining-nums tabular-nums; color: var(--gold); white-space: nowrap;
}
.card__phone small { font-size: .62em; font-weight: 400; letter-spacing: .04em; color: var(--muted); }

/* Karta „Nevíte, kde začít?“ – finální podoba */
.card.card--cta {
  justify-content: space-between; gap: 22px; border: 1px solid rgba(198,165,122,.45);
  background: radial-gradient(120% 90% at 100% 0%, rgba(198,165,122,.16), transparent 60%), var(--surface);
}
.card--cta:hover { border-color: var(--gold); }
.card__kicker { display: flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.card__kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.card__cta-body { display: grid; gap: 10px; }
.card__cta-body h3 { font-size: 1.3rem; }
.card__call {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 18px; border-radius: 999px; background: var(--gold); color: var(--navy);
  font-family: "Merriweather Sans", sans-serif; font-weight: 700; font-size: 1.02rem; letter-spacing: .03em;
  font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; transition: background .3s, transform .3s var(--ease);
}
.card__call svg { width: 17px; height: 17px; }
.card--cta:hover .card__call { background: #d6b98f; transform: translateY(-2px); }

/* Čísla pod úvodem: bezpatkové, rovné číslice */
.hero__facts li { gap: 6px; }
.hero__facts strong {
  display: flex; align-items: baseline; gap: 6px; white-space: nowrap;
  font-family: "Merriweather Sans", sans-serif; font-weight: 300; font-size: 1rem; letter-spacing: .01em; color: var(--text);
  font-variant-numeric: lining-nums tabular-nums;
}
.hero__facts strong b { font-weight: 700; font-size: clamp(1.5rem, 2.2vw, 1.95rem); line-height: 1; letter-spacing: -.01em; color: var(--gold); }
@media (max-width: 600px) { .hero__facts strong { font-size: 1rem; } .hero__facts strong b { font-size: 1.7rem; } }
.facts__split { line-height: 1.55 !important; }
.facts__split em { font-style: normal; font-weight: 600; color: var(--text); font-variant-numeric: lining-nums tabular-nums; }
.hero__facts { align-items: start; }

/* Přepínač Reality / Finance v sekci Jak pracuji */
.switch { display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 28px; border-radius: 999px; background: #fff; box-shadow: 0 1px 0 rgba(28,44,53,.06), 0 12px 30px -18px rgba(28,44,53,.35); }
.switch button {
  padding: 11px 26px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: 600 .95rem "Merriweather Sans", sans-serif; letter-spacing: .02em; color: var(--light-muted); transition: background .3s, color .3s;
}
.switch button:hover { color: var(--navy); }
.switch button[aria-selected="true"] { background: var(--navy); color: #fff; }
.switch button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.steps[hidden] { display: none; }
.steps li { animation: stepIn .5s var(--ease) both; }
.steps li:nth-child(2) { animation-delay: .05s; } .steps li:nth-child(3) { animation-delay: .1s; }
.steps li:nth-child(4) { animation-delay: .15s; } .steps li:nth-child(5) { animation-delay: .2s; }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .steps li { animation: none; } }

/* Development: spolupráce s developery */
.dev { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; margin-bottom: 64px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: radial-gradient(90% 120% at 0% 0%, rgba(198,165,122,.10), transparent 60%), var(--surface); }
.dev__lead { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.35; color: var(--text); margin-bottom: 18px; }
.dev__lead em { color: var(--gold); }
.dev__intro > p:not(.dev__lead) { color: var(--muted); margin-bottom: 28px; }
.dev__list { list-style: none; margin: 0; padding: 0; display: grid; }
.dev__list li { display: flex; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; line-height: 1.5; }
.dev__list li:last-child { border-bottom: 1px solid var(--line); }
.dev__list span { font-family: var(--serif); font-style: italic; color: var(--gold); min-width: 26px; padding-top: 1px; }
.dev__list strong { display: block; color: var(--text); font-weight: 600; font-size: 1.02rem; margin-bottom: 2px; }
.projects__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.projects__bar p { margin: 0; font-size: .85rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .dev { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .dev .btn { width: 100%; } }

/* Bez kurzívy: zvýraznění a pořadová čísla rovným písmem */
.dev__lead em { font-style: normal; color: var(--gold); }
.dev__list span, .card__num {
  font-family: "Merriweather Sans", sans-serif; font-style: normal; font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; color: var(--gold); font-variant-numeric: lining-nums tabular-nums;
}
.dev__list span { padding-top: 4px; min-width: 28px; }

/* O mně: odznak 11 let praxe */
.about__badge {
  position: absolute; left: -18px; top: 32px; display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 18px; border-radius: 18px; border: 1px solid rgba(198,165,122,.4);
  background: rgba(28, 44, 53, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.about__badge b { font-family: "Merriweather Sans", sans-serif; font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--gold); font-variant-numeric: lining-nums; }
.about__badge span { font-size: .72rem; line-height: 1.45; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.about__text strong { color: var(--text); }
@media (max-width: 600px) { .about__badge { left: 12px; top: 12px; padding: 12px 16px; } .about__badge b { font-size: 2.1rem; } }

/* Patička: obě firmy */
.footer__firms { display: grid; gap: 6px; }
.footer__firms p { margin: 0; }
.footer__firms strong { color: var(--text); font-weight: 600; }

/* Tým: grafika Šteco reality (dočasně místo společné fotky) */
.team__card {
  position: relative; overflow: hidden; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: radial-gradient(80% 90% at 100% 0%, rgba(198,165,122,.14), transparent 60%), radial-gradient(70% 80% at 0% 100%, rgba(46,94,110,.35), transparent 60%), var(--surface);
}
.team__card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.team__logo { height: 30px; width: auto; }
.team__count { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.team__count b { font-family: "Merriweather Sans", sans-serif; font-size: 1.2rem; letter-spacing: 0; color: var(--gold); margin-right: 4px; }
.team__people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 18px; }
.team__people li { display: grid; justify-items: center; gap: 12px; text-align: center; font-size: .86rem; line-height: 1.35; color: var(--text); }
.team__people img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid rgba(198,165,122,.55); box-shadow: 0 0 0 5px rgba(198,165,122,.08); transition: transform .4s var(--ease); }
.team__people li:hover img { transform: scale(1.06); }
.team__people li:first-child img { border-color: var(--gold); }
.team__claim { margin: 32px 0 0; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.05rem; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .team__card { order: 2; } }
@media (max-width: 600px) { .team__people { gap: 22px 10px; } .team__people img { width: 76px; height: 76px; } .team__people li { font-size: .78rem; } }
