/* Jan Král — Apple-inspired visual layer
   Keeps the existing HTML and functionality, but unifies the public site. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-card: #ffffff;
  --bg-card-alt: #f5f5f7;
  --bg-ink: #101010;
  --ink: #1d1d1f;
  --ink-2: #2d2d2f;
  --ink-3: #6e6e73;
  --ink-4: #636369;
  --brand: #cf2521;
  --brand-deep: #a51b18;
  --brand-soft: #b01e1a;
  --brand-tint: #fceceb;
  --brand-2: #cf2521;
  --brand-2-deep: #a51b18;
  --brand-2-soft: #b01e1a;
  --brand-2-tint: #fceceb;
  --gradient: #cf2521;
  --gradient-soft: #fceceb;
  --line: #e8e8ed;
  --line-soft: #f0f0f2;
  --line-2: #d2d2d7;
  --r: 18px;
  --r-lg: 28px;
  --radius: 999px;
  --radius-sm: 999px;
  --container: 1280px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
}

html { background: #fff; }
body {
  background: var(--bg);
  color: var(--ink);
  letter-spacing: -.012em;
}

::selection { background: #f6dcd9; color: #101010; }
.container { max-width: var(--container); padding-inline: clamp(20px, 4.5vw, 64px); }

/* Glass navigation */
.site-nav,
body > nav {
  height: 64px;
  background: rgba(255,255,255,.78) !important;
  border-bottom: 1px solid rgba(0,0,0,.07) !important;
  backdrop-filter: saturate(180%) blur(22px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(22px) !important;
  box-shadow: none !important;
}
.site-nav .nav-inner,
body > nav .nav-inner { max-width: var(--container); padding-inline: clamp(20px, 4.5vw, 64px); }
.site-nav .logo img,
body > nav .nav-logo img { height: 38px; }
body > nav .nav-logo .logo-white { opacity: 0 !important; }
body > nav .nav-logo .logo-color { opacity: 1 !important; }
.site-menu,
body > nav .nav-links { gap: clamp(16px, 2vw, 28px); }
.site-menu a,
body > nav .nav-links a { color: rgba(29,29,31,.72) !important; font-size: 13px; letter-spacing: -.01em; }
.site-menu a:hover,
.site-menu a.active,
body > nav .nav-links a:hover { color: #000 !important; }
.site-menu .nav-cta,
body > nav .nav-links a.nav-cta { background: #1d1d1f !important; color: #fff !important; box-shadow: none; padding: 10px 18px; }
.site-nav .nav-inner > .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #1d1d1f !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}
body > nav .nav-inner .nav-links a.nav-cta,
body > nav .nav-inner .nav-links a.nav-cta:visited { color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* Buttons */
.btn-brand,
.btn-outline,
.btn-light {
  min-height: 48px;
  border-radius: 999px !important;
  padding: 13px 24px;
  font-weight: 600;
  letter-spacing: -.01em;
  box-shadow: none !important;
}
.btn-brand { background: #cf2521 !important; color: #fff; }
.btn-brand:hover { background: #b51e1b !important; transform: translateY(-1px); }
.btn-outline { background: transparent !important; border: 1px solid #b7b7bd !important; color: #1d1d1f !important; }
.btn-outline:hover { border-color: #1d1d1f !important; background: #fff !important; transform: translateY(-1px); }
.btn-light { background: #fff !important; color: #1d1d1f !important; }

/* Type and spacing */
section { padding: clamp(60px, 7vw, 96px) 0; }
.page-hero { padding: 148px 0 84px; background: #fff; }
.page-hero::before { display: none; }
.page-hero .inner { max-width: 900px; }
.page-hero h1,
.section-title,
.cta-band h2,
.dark-banner h2 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.page-hero h1 { font-size: clamp(46px, 6vw, 76px); line-height: .98; }
.page-hero .lead { max-width: 760px; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--ink-3); }
.section-title { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; }
.section-sub { max-width: 720px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-3); }
.eyebrow { color: var(--ink-3); letter-spacing: .12em; }
.eyebrow::before { background: #1d1d1f; }
.gradtext,
.page-hero h1 em,
.section-title em,
.stat-cell .big,
.case-metrics .mv { background: none !important; -webkit-text-fill-color: currentColor !important; color: inherit; }

/* Apple-like surfaces */
.bg-alt { background: #f5f5f7; }
.card,
.tile,
.form-card,
.faq-item,
.blog-card,
.case-card,
.testi-card,
.step {
  border: 0;
  background: #f5f5f7;
  border-radius: 28px;
  box-shadow: none;
}
.card,
.tile { padding: clamp(28px, 3vw, 42px); }
.card:hover,
.blog-card:hover,
.case-card:hover { transform: translateY(-3px); box-shadow: 0 18px 45px rgba(0,0,0,.07); }
.card .ico,
.contact-detail .cd-ico { background: #fff; border: 1px solid #e8e8ed; }
.card .card-link { color: #b01e1a; }
.card--accent::before { display: none; }
.stats-row { border: 0; border-radius: 28px; background: #f5f5f7; }
.stat-cell { border-color: #dedee3; }
.stat-cell .big { color: #1d1d1f; }
.pill { border-color: #dedee3; background: #fff; }

.cta-band,
.dark-banner { background: #faf4f3; color: #1d1d1f; }
.site-footer { background: #f5f5f7; color: #1d1d1f; }
.cta-band::before,
.dark-banner::before { display: none; }
.dark-banner { border-radius: 32px; }
.cta-band h2 em { background: none; -webkit-text-fill-color: #1d1d1f; color: #1d1d1f; }
.cta-band p { color: #6e6e73; }
.cta-band h2,
.cta-band h3,
.dark-banner h2,
.dark-banner h3 { color: #1d1d1f !important; }
.dark-banner p,
.dark-banner li { color: #515154 !important; }
.cta-band .btn-light,
.dark-banner .btn-light { background: #cf2521 !important; color: #fff !important; }

.form input,
.form select,
.form textarea {
  border: 1px solid #d2d2d7;
  border-radius: 14px;
  background: #fff;
  min-height: 50px;
}
.form input:focus,
.form select:focus,
.form textarea:focus { border-color: #cf2521; box-shadow: 0 0 0 4px rgba(207,37,33,.12); }

/* Homepage hero: copy left, compact cinematic video right */
body > .hero {
  min-height: 760px;
  padding: 132px 0 76px;
  display: flex;
  align-items: center;
  background: #fff;
  overflow: hidden;
}
body > .hero .hero-overlay { display: none; }
body > .hero .container {
  width: 100%;
  max-width: var(--container);
  padding-inline: clamp(20px, 4.5vw, 64px);
}
body > .hero .hero-inner { width: 48%; max-width: 660px; }
body > .hero .hero-media {
  position: absolute;
  z-index: 1;
  top: 112px;
  right: clamp(20px, 4.5vw, 64px);
  bottom: auto;
  left: auto;
  width: min(44vw, 690px);
  aspect-ratio: 4 / 3;
  border-radius: 34px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 30px 80px rgba(0,0,0,.13);
}
body > .hero .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body > .hero .hero-cap {
  display: block;
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.48);
  color: #fff;
  font-size: 12px;
  backdrop-filter: blur(14px);
}
body > .hero .hero-badge {
  margin-bottom: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6e6e73;
  backdrop-filter: none;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
body > .hero h1 {
  color: #1d1d1f;
  font-size: clamp(48px, 5vw, 76px);
  line-height: .97;
  letter-spacing: -.06em;
  font-weight: 650;
  text-wrap: balance;
}
body > .hero h1 em { color: #1d1d1f; background: none; -webkit-text-fill-color: currentColor; }
body > .hero .hero-sub { color: #6e6e73; max-width: 610px; font-size: 19px; line-height: 1.52; }
body > .hero .hero-inner > p[style] { color: #6e6e73 !important; }
body > .hero .hero-actions .btn-outline { color: #1d1d1f !important; border-color: #b7b7bd !important; background: transparent !important; backdrop-filter: none; }
body > .hero .hero-stats { gap: 30px; margin-top: 42px; }
body > .hero .hero-stat .hs-num { color: #1d1d1f; font-size: 26px; }
body > .hero .hero-stat .hs-lab { color: #86868b; }
body > .hero .hero-scroll { display: none; }

/* Homepage components */
.services-grid,
.process-grid { gap: 20px !important; }
.srv-card,
.why-card,
.process-step { border: 0 !important; background: #f5f5f7 !important; border-radius: 28px !important; box-shadow: none !important; }
.srv-card:hover,
.why-card:hover { transform: translateY(-3px); box-shadow: 0 18px 45px rgba(0,0,0,.07) !important; }
.process-grid { grid-template-columns: repeat(3, 1fr) !important; }
.process-line { display: none !important; }
.case-featured { border: 0 !important; border-radius: 32px !important; background: #f5f5f7 !important; overflow: hidden; box-shadow: none !important; }
.reviews { background: #f5f5f7 !important; }
.review-card { border: 0 !important; border-radius: 28px !important; box-shadow: none !important; }
.faq-item { background: #f5f5f7 !important; border: 0 !important; margin-bottom: 10px; }
.contact-inner { border-radius: 32px !important; overflow: hidden; }

/* Footer */
.site-footer { border-top: 1px solid #e5e5ea; }
.site-footer .ft-brand p,
.site-footer .ft-links a,
.site-footer .ft-contact a { color: #6e6e73; }
.site-footer h4 { color: #1d1d1f; }
.site-footer .ft-top { border-color: #dcdce1; }
.site-footer .ft-bottom { color: #86868b; }
.site-footer .ft-bottom a { color: #6e6e73; }
body > footer:not(.site-footer) { background: #f5f5f7 !important; color: #1d1d1f !important; border-top: 1px solid #e5e5ea !important; }
body > footer:not(.site-footer) img { content: url('../logo.png'); }
body > footer:not(.site-footer) p,
body > footer:not(.site-footer) a,
body > footer:not(.site-footer) h4,
body > footer:not(.site-footer) > div > div:last-child { color: #6e6e73 !important; }
body > footer:not(.site-footer) h4 { color: #1d1d1f !important; }
body > footer:not(.site-footer) .ftcols { border-color: #dcdce1 !important; }

/* Clear service grouping */
.service-cluster {
  padding: clamp(24px, 3vw, 38px);
  border-radius: 32px;
  background: #f5f5f7;
  margin-top: 22px;
}
.service-cluster + .service-cluster { margin-top: 20px; }
.service-cluster-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.service-cluster-head h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.045em; line-height: 1; }
.service-cluster-head p { max-width: 520px; color: #6e6e73; font-size: 15px; line-height: 1.55; }
.service-cluster .services-grid { margin-top: 0 !important; }
.service-cluster .srv-card,
.service-cluster .card { background: #fff !important; }
.service-cluster .card { box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.service-cluster--finance { background: #faf4f3; }

/* Funnel compression on homepage */
body > .stats { background: #fff !important; }
body > .stats .stats-grid { background: #f5f5f7; border-radius: 28px; overflow: hidden; }
body > .stats .stat { padding-block: 30px; }
body > section.bg-alt { padding-block: clamp(64px, 7vw, 92px); }
body > section.bg-alt .me-grid { max-width: 1100px; margin-inline: auto; }
body > section.bg-alt .me-photo { max-height: 480px; background: #faf4f3 !important; box-shadow: none !important; }
.calc-banner-section { padding: 18px 0 68px !important; background: #fff !important; }
.calc-banner { background: #faf4f3 !important; color: #1d1d1f !important; border-radius: 30px !important; box-shadow: none !important; }
.calc-banner::before { display: none !important; }
.calc-banner p { color: #6e6e73 !important; }
.calc-banner .cb-eyebrow { color: #cf2521 !important; }

.offers-banner-section { background: #fff !important; padding: 22px 0 78px !important; }
.offers-banner { background: #f5f5f7 !important; color: #1d1d1f !important; border-radius: 30px !important; box-shadow: none !important; }
.offers-banner::before { display: none !important; }
.offers-banner h2,
.offers-banner h2 em { color: #1d1d1f !important; background: none !important; -webkit-text-fill-color: #1d1d1f !important; }
.offers-banner p { color: #6e6e73 !important; }
.offers-banner .offers-eyebrow { color: #cf2521 !important; }
.offers-banner .offers-tag { background: #fff !important; color: #515154 !important; border-color: #e2e2e7 !important; }
.offers-banner .btn-light { background: #cf2521 !important; color: #fff !important; }

.studies { background: #fff !important; }
.case-featured .case-content { background: #f5f5f7 !important; color: #1d1d1f !important; }
.case-featured .case-story { display: none !important; }
.case-featured .case-metrics { grid-template-columns: repeat(4, 1fr) !important; }
.case-featured .case-metrics > div:nth-child(n+5) { display: none !important; }
.case-featured .cm-val { color: #1d1d1f !important; background: none !important; -webkit-text-fill-color: #1d1d1f !important; }

.reviews { background: #f5f5f7 !important; }
.reviews .rv-arrow { display: none !important; }
.reviews .rv-marquee { overflow: visible !important; }
.reviews .rv-track { width: auto !important; transform: none !important; animation: none !important; display: grid !important; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px !important; }
.reviews .rv-card { width: auto !important; min-width: 0 !important; display: none !important; background: #fff !important; }
.reviews .rv-card:nth-child(-n+3) { display: flex !important; }
.reviews .rv-card,
.reviews .rv-card * { color: #1d1d1f !important; }
.reviews .rv-card-stars { color: #b01e1a !important; }
.reviews .rv-card-meta { color: #6e6e73 !important; }
.reviews .rv-initials { background: #fceceb !important; color: #b01e1a !important; }
#faq .faq-item:nth-child(n+5) { display: block; }

/* Case-study page: no black or purple content bands */
.roadmap-section,
.results,
.cs-cta { background: #f5f5f7 !important; color: #1d1d1f !important; border-color: #e2e2e7 !important; }
.roadmap-section::before,
.results::before,
.cs-cta::before { display: none !important; }
.roadmap-section p,
.results p,
.rm-card p,
.rm-card .rm-desc { color: #6e6e73 !important; opacity: 1 !important; }
.rm-card,
.r-card { background: #fff !important; color: #1d1d1f !important; border: 1px solid #e5e5ea !important; }
.rm-dot,
.rm-dot.active,
.rm-dot.passed { background: #cf2521 !important; border-color: #cf2521 !important; box-shadow: none !important; }
.roadmap::before { background: #efcac6 !important; }
.rm-quote { background: #f5f5f7 !important; border-color: #cf2521 !important; color: #515154 !important; }
.hero-m-val,
.r-val { color: #1d1d1f !important; background: none !important; -webkit-text-fill-color: #1d1d1f !important; }

/* Service landing page dark case band */
.lp-case { background: #f5f5f7 !important; color: #1d1d1f !important; }
.lp-case::before { display: none !important; }
.lp-case p,
.lp-case .lp-case-sub { color: #6e6e73 !important; }
.lp-case-metric { background: #fff !important; border-color: #e5e5ea !important; }
.lp-case-metric .v { color: #1d1d1f !important; background: none !important; -webkit-text-fill-color: #1d1d1f !important; }

/* Personal manager / cooperation page */
.career-hero { padding: 126px 0 72px; background: #fff; overflow: hidden; }
.career-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(42px, 7vw, 96px); align-items: center; }
.career-hero-grid > *,
.career-copy { min-width: 0; max-width: 100%; }
.career-copy h1 { max-width: 760px; font-size: clamp(50px, 6.4vw, 84px); line-height: .96; letter-spacing: -.065em; font-weight: 650; text-wrap: balance; }
.career-copy h1 em { color: #cf2521; font-style: normal; }
.career-lead { max-width: 680px; margin: 26px 0 30px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.52; color: #515154; }
.career-note { margin-top: 18px; color: #6e6e73; font-size: 13px; }
.career-portrait { position: relative; min-height: 600px; border-radius: 34px; overflow: hidden; background: #faf4f3; }
.career-photo-bg { position: absolute; inset: 0; background: radial-gradient(circle at 50% 20%, #fff 0, #faf4f3 48%, #f6dcd9 100%); }
.career-portrait img { position: absolute; inset: 20px 0 0; width: 100%; height: calc(100% - 20px); object-fit: contain; object-position: bottom center; filter: drop-shadow(0 22px 28px rgba(0,0,0,.16)); }
.career-photo-label { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: #1d1d1f; }
.career-photo-label strong { font-size: 15px; }
.career-photo-label span { color: #6e6e73; font-size: 12px; }
.career-manifesto { max-width: 950px; margin: auto; text-align: center; }
.career-kicker { display: block; color: #cf2521; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.career-manifesto h2 { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.055em; font-weight: 650; text-wrap: balance; }
.career-manifesto p { max-width: 780px; margin: 26px auto 0; color: #515154; font-size: 18px; line-height: 1.7; }
.career-role { position: relative; padding: clamp(30px, 4vw, 48px); border-radius: 30px; background: #f5f5f7; }
.career-role-no { display: inline-block; margin-bottom: 38px; color: #cf2521; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.career-role h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -.045em; margin-bottom: 16px; }
.career-role > p { color: #515154; font-size: 16px; line-height: 1.65; }
.career-list { display: grid; gap: 10px; margin-top: 26px; padding-top: 24px; border-top: 1px solid #dedee3; }
.career-list li { color: #2d2d2f; font-size: 14px; }
.career-list li::before { content: '✓'; color: #cf2521; font-weight: 800; margin-right: 9px; }
.career-benefits .tile { background: #fff; }
.career-fit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(42px, 7vw, 96px); align-items: start; }
.career-expect { display: grid; }
.career-expect > div { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid #e5e5ea; }
.career-expect strong { color: #cf2521; font-size: 13px; }
.career-expect span { font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; line-height: 1.35; }
.career-direct { display: flex; flex-direction: column; gap: 8px; margin-top: 26px; }
.career-direct a { color: #b01e1a; font-size: 17px; font-weight: 600; }
.career-contact { background: #fff; }
.home-career-strip { padding: 18px 0 68px; background: #f5f5f7; }
.home-career-card { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 30px; background: #fff; }
.home-career-kicker { display: block; margin-bottom: 10px; color: #cf2521; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home-career-card h2 { max-width: 760px; font-size: clamp(28px, 3.3vw, 44px); line-height: 1.05; letter-spacing: -.045em; }
.home-career-card p { max-width: 760px; margin-top: 14px; color: #515154; line-height: 1.65; }

/* Readability guardrails for older inline components */
.section-sub,
.card-desc,
.tile p,
.step p,
.faq-a,
.prose p { color: #515154; }
.section-label,
.eyebrow { color: #515154 !important; }
.btn-brand,
.nav-cta { color: #fff !important; -webkit-text-fill-color: #fff !important; }
.offers-banner .btn-light,
.calc-banner .btn-brand { color: #fff !important; -webkit-text-fill-color: #fff !important; }

@media (max-width: 1080px) {
  .site-menu,
  body > nav .nav-links {
    top: 64px;
    background: rgba(255,255,255,.94) !important;
    backdrop-filter: saturate(180%) blur(22px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(22px) !important;
    border-bottom: 1px solid #e8e8ed;
  }
  .site-menu a,
  body > nav .nav-links a { color: #1d1d1f !important; border-color: #e8e8ed !important; }
  .site-menu .nav-cta,
  body > nav .nav-links a.nav-cta { color: #fff !important; }
  .nav-toggle span,
  body > nav .nav-toggle span { background: #1d1d1f !important; }
}

@media (max-width: 900px) {
  body > .hero { min-height: 0; padding: 104px 0 40px; display: flex; flex-direction: column; }
  body > .hero .container { order: 1; }
  body > .hero .hero-inner { width: 100%; max-width: 760px; }
  body > .hero .hero-media {
    order: 2;
    position: relative;
    inset: auto;
    width: calc(100% - 40px);
    margin: 40px 20px 0;
    aspect-ratio: 16 / 9;
    min-height: 0;
    border-radius: 24px;
  }
  body > .hero .hero-video { object-fit: cover; }
  body > .hero .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
  .process-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .reviews .rv-track { grid-template-columns: 1fr 1fr !important; }
  .reviews .rv-card:nth-child(3) { display: none !important; }
  .service-cluster-head { display: block; }
  .service-cluster-head p { margin-top: 10px; }
  .case-featured .case-metrics { grid-template-columns: 1fr 1fr !important; }
  .career-hero-grid,
  .career-fit-grid { grid-template-columns: 1fr; }
  .career-portrait { min-height: 520px; max-width: 620px; width: 100%; margin-inline: auto; }
  .home-career-card { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --r-lg: 22px; }
  .container { padding-inline: 20px; }
  section { padding: 56px 0; }
  .page-hero { padding: 116px 0 58px; }
  .page-hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .section-title { font-size: clamp(36px, 11vw, 48px); }
  body > .hero { padding-top: 102px; }
  body > .hero h1 { font-size: clamp(44px, 13vw, 60px); }
  body > .hero .hero-sub { font-size: 17px; }
  body > .hero .hero-actions { display: grid; grid-template-columns: 1fr; }
  body > .hero .hero-actions a { width: 100%; }
  body > .hero .hero-stats { gap: 18px 8px; }
  body > .hero .hero-stat .hs-num { font-size: 21px; }
  body > .hero .hero-stat .hs-lab { font-size: 10px; line-height: 1.35; }
  body > .hero .hero-media { width: calc(100% - 24px); margin: 34px 12px 0; border-radius: 20px; }
  .process-grid { grid-template-columns: 1fr !important; }
  .reviews .rv-track { grid-template-columns: 1fr !important; }
  .reviews .rv-card:nth-child(n+2) { display: none !important; }
  .service-cluster { padding: 22px 18px; border-radius: 24px; }
  .calc-banner,
  .offers-banner { padding: 26px 22px !important; border-radius: 24px !important; }
  .case-featured .case-metrics { gap: 10px !important; }
  .career-hero { padding: 102px 0 44px; }
  .career-copy h1 {
    max-width: 100%;
    font-size: clamp(40px, 12vw, 50px);
    letter-spacing: -.055em;
    text-wrap: wrap;
    overflow-wrap: anywhere;
  }
  .career-lead { font-size: 17px; }
  .career-copy .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .career-copy .hero-actions a { width: 100%; min-width: 0; padding-inline: 16px; }
  .career-portrait { min-height: 440px; border-radius: 24px; }
  .career-photo-label { left: 12px; right: 12px; bottom: 12px; display: block; }
  .career-photo-label span { display: block; margin-top: 2px; }
  .site-nav .nav-inner > .nav-cta { min-height: 40px; padding: 9px 14px; font-size: 12px; }
  .career-role { padding: 28px 22px; border-radius: 24px; }
  .career-manifesto { text-align: left; }
  .career-manifesto p { font-size: 16px; }
  .card, .tile, .form-card { border-radius: 22px; }
  .dark-banner, .contact-inner, .case-featured { border-radius: 24px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Editorial polish: legible text, clear surfaces and touch-friendly controls. */
:where(a, button, input, textarea, select):focus-visible { outline: 3px solid #b01e1a; outline-offset: 4px; }
:where(h1, h2, h3) { overflow-wrap: break-word; }
.page-hero h1, .section-title, .career-copy h1, .career-manifesto h2 { line-height: 1.08; letter-spacing: -.045em; }
.page-hero h1 { font-size: clamp(38px, 5.2vw, 66px); }
.section-title { font-size: clamp(32px, 4.2vw, 52px); }
.prose p, .section-sub, .hero-sub, .career-lead { text-wrap: pretty; }
.prose p { max-width: 68ch; }
.bg-alt :is(.tile,.card,.step,.form-card,.stats-row,.blog-card) { background: #fff; }
.bg-alt .dark-banner { background: #fceceb; }
.service-cluster--finance :is(.services-grid,.grid) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.service-cluster .srv-card { display: flex; flex-direction: column; }
.service-cluster .srv-cta { margin-top: auto; padding-top: 20px; }
.rm-stat, .rm-card h3, .r-lbl, .results-quote blockquote, .results-quote cite,
.lp-case .lp-stat .l, .lp-case .lp-stat .n { color: #1d1d1f !important; opacity: 1 !important; }
.rm-quote { opacity: 1 !important; }
.lp-case .lp-stat { background: #fff !important; border-color: #d2d2d7 !important; }
.lp-case .lp-stat .n { -webkit-text-fill-color: #1d1d1f !important; background: none !important; }
.hero-cap strong, .hero-cap span { color: #fff !important; }
.field-label { display: block; color: #1d1d1f; font-size: 14px; font-weight: 600; line-height: 1.5; }
.field-label span { font-weight: 400; color: #636369; }
.field-label :is(input, textarea) { margin-top: 7px; width: 100%; }
#contact-form label, .form label { min-width: 0; }
#contact-form input, #contact-form select, #contact-form textarea,
.form input, .form select, .form textarea { font-size: 16px; line-height: 1.5; color: #1d1d1f; }
#contact-form input::placeholder, #contact-form textarea::placeholder { color: #6e6e73; opacity: 1; }
#contact-form > .field-label + select { margin-top: -6px; }
#contact-form a { text-decoration: underline; text-underline-offset: 3px; }
.faq-q { line-height: 1.45; text-align: left; }
.faq-a { line-height: 1.7; }
.reviews .rv-marquee { overflow-x: auto !important; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 16px; }
.reviews .rv-track { display: flex !important; gap: 18px !important; }
.reviews .rv-card:nth-child(n) { display: flex !important; flex: 0 0 calc((100% - 36px) / 3); scroll-snap-align: start; }
.reviews .rv-arrow { display: inline-flex !important; position: static; background: #fff; color: #1d1d1f; border: 1px solid #d2d2d7; min-width: 44px; min-height: 44px; transform: none; }
.reviews .rv-marquee::before, .reviews .rv-marquee::after { display: none; }
.reviews .rv-card-quote { line-height: 1.65; }
body > .hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); align-items: center; gap: clamp(32px,4vw,64px); min-height: 0; padding: 132px max(20px, calc((100vw - 1152px) / 2)) 64px; }
body > .hero > .container { grid-column: 1; grid-row: 1; width: 100%; min-width: 0; padding: 0; margin: 0; }
body > .hero .hero-inner { width: 100%; }
body > .hero .hero-media { position: relative; inset: auto; grid-column: 2; grid-row: 1; width: 100%; margin: 0; aspect-ratio: 16 / 9; min-height: 0; border-radius: 26px; }
body > .hero h1 { font-size: clamp(40px,4.4vw,64px); line-height: 1.06; letter-spacing: -.045em; }
body > .hero .hero-badge { line-height: 1.65; letter-spacing: .05em; }
body > .hero .hero-sub { font-size: 18px; line-height: 1.6; margin-block: 24px; }
body > .hero .hero-actions { flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  body > .hero { display: flex; padding: 104px 24px 40px; gap: 30px; }
  body > .hero > .container { order: 1; }
  body > .hero .hero-media { order: 2; width: 100%; margin: 0; }
  .reviews .rv-card:nth-child(n) { flex-basis: calc((100% - 18px) / 2); }
}
@media (max-width: 600px) {
  body > .hero { padding-inline: 20px; gap: 28px; }
  body > .hero h1 { font-size: clamp(38px,10.7vw,48px); }
  body > .hero .hero-sub { font-size: 17px; margin-block: 20px; }
  .page-hero h1 { font-size: clamp(36px,10vw,46px); }
  .section-title { font-size: clamp(30px,8.5vw,38px); }
  .service-cluster--finance :is(.services-grid,.grid) { grid-template-columns: minmax(0,1fr); }
  .reviews .rv-card:nth-child(n) { flex-basis: 90%; }
  .hero-actions .btn-brand, .hero-actions .btn-outline { white-space: normal; text-align: center; line-height: 1.4; }
  .career-copy h1 { font-size: clamp(38px,10.7vw,48px); line-height: 1.08; }
  .career-portrait { min-height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1 !important; transform: none !important; }
}

/* Final layout corrections found during device checks. */
.service-cluster:not(.service-cluster--finance) .services-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.process-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
.reviews .rv-marquee { margin: 12px 0 0; padding: 0 0 16px; mask-image: none; -webkit-mask-image: none; cursor: auto; }
.reviews .rv-card { aspect-ratio: auto; flex-direction: column; padding: 28px; margin-right: 0; border: 1px solid #e3e3e8; }
.reviews .rv-card::after { display: none; }
.reviews .rv-initials { position: static; inset: auto; width: 48px; height: 48px; border-radius: 50%; font-size: 17px; margin-bottom: 20px; flex-shrink: 0; }
.reviews .rv-card-body { position: static; padding: 0; }
.reviews .rv-card-quote { font-size: 15px; font-style: normal; }
.reviews .rv-card-meta { opacity: 1; font-size: 12px; }
.reviews .rv-arrow:hover { transform: none; border-color: #b01e1a; }
.offers-banner { background-image: none !important; border: 1px solid #e3e3e8 !important; }
.offers-banner::after { display: none !important; }
.cat-chips, .controls-inner { min-width: 0; max-width: 100%; }
body > .hero .hero-cap { right: auto; max-width: calc(100% - 32px); left: 16px; bottom: 14px; padding: 8px 12px; border-radius: 12px; }
body > .hero .hero-cap strong, body > .hero .hero-cap span { display: inline; font-size: 12px; line-height: 1.5; margin: 0; }
body > .hero .hero-cap span::before { content: ' · '; }
.lp-case .lp-stat .v { color: #1d1d1f !important; background: none !important; -webkit-text-fill-color: #1d1d1f !important; }
@media (max-width: 760px) {
  .service-cluster:not(.service-cluster--finance) .services-grid,
  .process-grid { grid-template-columns: minmax(0,1fr) !important; }
  .cat-chips { width: 100%; }
}

/* Broker Consulting-inspired palette. Jan Král's existing layout and identity stay intact. */
.site-nav .logo img, body > nav .nav-logo img, footer img { filter: grayscale(1); }
:root { --brand: #cf2521; --brand-deep: #a51b18; --brand-soft: #b01e1a; --brand-tint: #fceceb; }
.service-connection { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 14px; line-height: 1.65; color: #515154; }
.service-connection strong { display: block; color: #1d1d1f; margin-bottom: 5px; }
.service-cluster .card { display: flex; flex-direction: column; }
.service-cluster .card-link { margin-top: auto; padding-top: 18px; }
.service-cluster .card .service-connection { margin-bottom: 0; }
.service-bridge { border-left: 3px solid #cf2521; padding: 22px 26px; background: #faf4f3; border-radius: 0 18px 18px 0; margin-block: 28px; color: #1d1d1f; line-height: 1.7; }
.service-bridge h3 { font-size: 22px; letter-spacing: -.025em; margin-bottom: 10px; }
.service-source { color: #636369; font-size: 13px; line-height: 1.7; margin-top: 30px; }
.service-source a { color: #b01e1a; text-decoration: underline; text-underline-offset: 3px; }
.service-topics { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.service-topics a { padding: 10px 16px; border: 1px solid #d2d2d7; border-radius: 999px; font-size: 14px; color: #1d1d1f; }
.service-topics a:hover { background: #fceceb; border-color: #cf2521; }
@media(min-width: 901px) {
  body > #sluzby .service-cluster--finance .services-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media(max-width: 600px) { .service-bridge { padding: 20px; } }
