/*
Theme Name: Jáchym Pospíšil – Finance
Author: Jakub Marcinka
Description: Responzivní a plně editovatelná šablona pro finančního poradce. Vše se upravuje v Vzhled → Přizpůsobit → Web Jáchyma Pospíšila.
Version: 6.1.0
Text Domain: jachym-pospisil
*/

/* =========================================================
   TOKENY
   Hlavní barvy přepisuje Přizpůsobit (header.php): --primary, --navy, --sand, --light.
   ========================================================= */
:root {
    --navy: #162b4b;
    --primary: #162b4b;
    --sand: #efecea;

    /* PRAVIDLO BAREV (podle privátních bank typu Rothschild & Co)
       Jedna barva značky: navy na nadpisy, tlačítka, ikony a tmavé plochy.
       Světlé plochy: bílá + teplá kamenná (--sand a odstíny z ní).
       Na tmavých plochách téměř bílá kamenná. Žádná třetí barva. */
    --light: #fff;
    --surface: color-mix(in srgb, var(--sand) 50%, #fff);
    --surface-2: var(--sand);
    --navy-deep: color-mix(in srgb, var(--navy) 78%, #000);
    --navy-soft: color-mix(in srgb, var(--navy) 8%, #fff);

    --paper: #fff;
    --text: #3f3d3a;
    --muted: #6b6863;
    --line: color-mix(in srgb, var(--navy) 12%, transparent);
    --line-strong: color-mix(in srgb, var(--navy) 22%, transparent);
    --on-dark: rgba(255, 255, 255, .78);
    --on-dark-line: rgba(255, 255, 255, .14);

    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;

    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 28px;

    --shadow-sm: 0 1px 2px rgba(16, 24, 48, .05), 0 6px 18px -8px rgba(16, 24, 48, .12);
    --shadow-md: 0 2px 6px rgba(16, 24, 48, .05), 0 22px 44px -22px rgba(16, 24, 48, .28);
    --shadow-lg: 0 4px 10px rgba(16, 24, 48, .05), 0 40px 80px -36px rgba(16, 24, 48, .38);

    --ease: cubic-bezier(.2, .8, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);

    --container: 1200px;
    --gutter: 20px;
    --section: clamp(72px, 9vw, 124px);
}

/* =========================================================
   ZÁKLAD
   ========================================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    interpolate-size: allow-keywords;
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    -webkit-text-size-adjust: 100%;
    scrollbar-color: color-mix(in srgb, var(--navy) 35%, transparent) var(--surface);
}

body {
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--paper);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    caret-color: var(--navy);
    accent-color: var(--navy);
}

body.menu-open {
    overflow: hidden;
}

::selection {
    background: var(--sand);
    color: var(--navy);
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

h1,
h2,
h3 {
    color: var(--navy);
    text-wrap: balance;
}

/* Velké nadpisy serifově – klidný „old money“ tón, moderní sazba */
h1,
h2 {
    font-family: var(--serif);
    font-weight: 400 !important;
    letter-spacing: -.02em !important;
}

h1 em,
h2 em {
    color: inherit;
}

p {
    text-wrap: pretty;
}

em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.01em;
}

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

.contact :focus-visible,
.calc-side :focus-visible,
.bundle :focus-visible,
.site-footer :focus-visible,
.hero-widget:focus-visible {
    outline-color: var(--sand);
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 99999;
    padding: 10px 16px;
    border-radius: 10px;
    color: #fff;
    background: var(--navy);
    font-weight: 700;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}

.container {
    width: min(var(--container), calc(100% - var(--gutter) * 2));
    margin-inline: auto;
}

section {
    padding: var(--section) 0;
}

.hidden {
    display: none !important;
}

/* Nadpisy sekcí */
.sec-head {
    max-width: 720px;
    margin-bottom: clamp(36px, 5vw, 56px);
}

.sec-title {
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    line-height: 1.06;
    letter-spacing: -.035em;
    font-weight: 700;
}

.sec-title em {
    font-size: 1.06em;
}

.sec-subtitle {
    margin-top: 18px;
    max-width: 60ch;
    font-size: 1.08rem;
    color: var(--muted);
}

/* =========================================================
   TLAČÍTKA
   ========================================================= */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 8px 8px 8px 24px;
    border: 0;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -.005em;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s ease, color .25s ease;
}

.btn:not(:has(.btn-arrow)) {
    padding-right: 24px;
}

.btn:active {
    transform: scale(.98);
}

.btn-arrow {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 50%;
    font-size: .85rem;
    transition: transform .45s var(--ease);
}

.btn:hover .btn-arrow {
    transform: translateX(3px) rotate(-45deg);
}

.btn-primary {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--primary) 70%, transparent);
}

.btn-primary .btn-arrow {
    color: var(--navy);
    background: var(--sand);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px -16px color-mix(in srgb, var(--primary) 80%, transparent);
}

.btn-sand {
    color: var(--navy);
    background: var(--sand);
}

.btn-sand .btn-arrow {
    color: #fff;
    background: var(--navy);
}

.btn-sand:hover {
    transform: translateY(-2px);
    background: color-mix(in srgb, var(--sand) 82%, #fff);
}

.btn-lg {
    min-height: 60px;
    padding-left: 30px;
    font-size: 1.02rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--navy);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-decoration-color: color-mix(in srgb, var(--navy) 35%, transparent);
    text-underline-offset: 6px;
    transition: text-decoration-color .2s ease, text-underline-offset .3s var(--ease);
}

.btn-link:hover {
    text-decoration-color: var(--navy);
    text-underline-offset: 4px;
}

/* Pulzující tečka */
.pulse-dot {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--navy);
}

.dock .pulse-dot {
    background: var(--navy);
}

.pulse-dot.is-light {
    background: var(--sand);
}

.pulse-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    color: inherit;
    border-color: color-mix(in srgb, var(--navy) 55%, transparent);
    opacity: 0;
}

.dock .pulse-dot::after {
    border-color: color-mix(in srgb, var(--navy) 50%, transparent);
}

.pulse-dot.is-light::after {
    border-color: var(--sand);
}

.has-motion .pulse-dot::after {
    animation: pulse 2.4s var(--ease) infinite;
}

/* =========================================================
   NAVIGACE
   ========================================================= */
.site-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding-top: 14px;
    transition: padding .4s var(--ease);
}

.scroll-progress {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--navy);
    transform: scaleX(var(--progress, 0));
    transform-origin: 0 50%;
    pointer-events: none;
}

.nav-shell {
    width: min(1240px, calc(100% - 24px));
    margin: 0 auto;
    padding: 8px 8px 8px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}

.site-nav.is-scrolled {
    padding-top: 10px;
}

.site-nav.is-scrolled .nav-shell {
    background: color-mix(in srgb, #fff 84%, transparent);
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--navy);
    font-weight: 750;
    letter-spacing: -.02em;
}

.logo-image {
    width: auto;
    height: 38px;
    max-width: 160px;
    object-fit: contain;
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #fff;
    background: var(--navy);
}

.logo-text span {
    margin-left: 6px;
    padding-left: 8px;
    border-left: 1px solid var(--line-strong);
    color: var(--muted);
    font-weight: 550;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links-desktop,
.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.6vw, 26px);
}

.nav-links-desktop a {
    position: relative;
    padding: 6px 0;
    color: var(--text);
    font-size: .92rem;
    font-weight: 550;
    transition: color .2s ease;
}

.nav-links-desktop a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5px;
    background: var(--navy);
    transform: scaleX(0);
    transform-origin: 100% 50%;
    transition: transform .4s var(--ease);
}

.nav-links-desktop a:hover,
.nav-links-desktop a.is-active {
    color: var(--navy);
}

.nav-links-desktop a:hover::after,
.nav-links-desktop a.is-active::after {
    transform: scaleX(1);
    transform-origin: 0 50%;
}

.nav-cta {
    min-height: 44px;
    gap: 10px;
    padding: 8px 20px;
    font-size: .9rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.mobile-toggle .bar {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--navy);
    transition: transform .35s var(--ease);
}

.mobile-toggle.active .bar:first-child {
    transform: translateY(4px) rotate(45deg);
}

.mobile-toggle.active .bar:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    padding: 108px 24px 32px;
    background: var(--light);
    clip-path: circle(0 at calc(100% - 44px) 40px);
    visibility: hidden;
    transition: clip-path .7s var(--ease-out), visibility 0s .7s;
}

.mobile-menu.active {
    clip-path: circle(150% at calc(100% - 44px) 40px);
    visibility: visible;
    transition: clip-path .7s var(--ease-out), visibility 0s;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--navy);
    background: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform .4s var(--ease);
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
}

.mobile-menu-inner {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.mobile-nav-links,
.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-nav-links a {
    display: block;
    padding: 8px 0;
    color: var(--navy);
    font-size: clamp(1.8rem, 8vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.15;
}

.mobile-menu.active .mobile-nav-links a {
    animation: rise .7s var(--ease) both;
}

.mobile-menu.active .mobile-nav-links a:nth-child(2) { animation-delay: .05s; }
.mobile-menu.active .mobile-nav-links a:nth-child(3) { animation-delay: .1s; }
.mobile-menu.active .mobile-nav-links a:nth-child(4) { animation-delay: .15s; }
.mobile-menu.active .mobile-nav-links a:nth-child(5) { animation-delay: .2s; }
.mobile-menu.active .mobile-nav-links a:nth-child(6) { animation-delay: .25s; }

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.mobile-menu-footer .btn {
    width: 100%;
}

/* =========================================================
   ÚVOD
   ========================================================= */
.hero {
    --muted: rgba(255, 255, 255, .76);
    --line-strong: rgba(255, 255, 255, .3);
    position: relative;
    padding: clamp(100px, 9vw, 120px) 0 clamp(64px, 8vw, 104px);
    color: var(--muted);
    background: var(--navy);
    overflow: hidden;
}

/* Hero je tmavá plocha: text bílý, zvýraznění a tlačítko slonovinové */
.hero h1,
.hero .hero-tag,
.hero .btn-link {
    color: #fff;
}

.hero h1 em {
    color: var(--sand);
}

.hero .pulse-dot {
    background: var(--sand);
}

.hero .hero-points i {
    color: var(--sand);
}

.hero .btn-primary {
    color: var(--navy);
    background: var(--sand);
}

.hero .btn-primary .btn-arrow {
    color: #fff;
    background: var(--navy);
}

.hero .topic-chip {
    color: #fff;
    background: transparent;
}

.hero .topic-chip:hover {
    color: var(--navy);
    background: var(--sand);
    border-color: var(--sand);
}

/* Navigace nad tmavým hero, dokud se nescrolluje */
.home .site-nav:not(.is-scrolled) .logo,
.home .site-nav:not(.is-scrolled) .nav-links-desktop a,
.home .site-nav:not(.is-scrolled) .nav-links-desktop a:hover {
    color: #fff;
}

.home .site-nav:not(.is-scrolled) .nav-links-desktop a::after {
    background: var(--sand);
}

.home .site-nav:not(.is-scrolled) .logo-text span {
    color: rgba(255, 255, 255, .65);
    border-color: rgba(255, 255, 255, .3);
}

.home .site-nav:not(.is-scrolled) .nav-cta {
    color: var(--navy);
    background: var(--sand);
}

.hero::before {
    content: "";
    position: absolute;
    right: -12%;
    top: -20%;
    width: 60vw;
    height: 60vw;
    max-width: 820px;
    max-height: 820px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, #fff 6%, transparent) 0%, transparent 65%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}

.hero.no-visual .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 860px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--navy);
    font-size: .9rem;
    font-weight: 600;
}

.hero-copy h1 {
    max-width: 15ch;
    font-size: clamp(2.45rem, 4.5vw, 4rem);
    line-height: 1.04;
    letter-spacing: -.038em;
    font-weight: 700;
}

.hero-copy h1 em {
    position: relative;
    padding: 0 .06em;
    font-size: 1.08em;
    line-height: 1;
    white-space: nowrap;
    background: linear-gradient(transparent 88%, currentColor 88%, currentColor 92%, transparent 92%) no-repeat 0 0 / 100% 100%;
}

.hero-lead {
    max-width: 52ch;
    margin-top: 24px;
    color: var(--muted);
    font-size: clamp(1.04rem, 1.3vw, 1.16rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 26px;
    margin-top: 34px;
}

.hero-topics {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.hero-topics-label {
    margin-right: 6px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.topic-chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--navy);
    background: color-mix(in srgb, #fff 70%, transparent);
    font-size: .86rem;
    font-weight: 550;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .35s var(--ease);
}

.topic-chip:hover {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
    transform: translateY(-2px);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 26px;
    color: var(--muted);
    font-size: .88rem;
}

.hero-points li,
.bundle-points li,
.cta-points li,
.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.hero-points i {
    margin-top: 5px;
    color: var(--navy);
    font-size: .75rem;
}

.hero-visual {
    position: relative;
    justify-self: end;
    width: min(100%, 500px);
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 9% -7% -6% 14%;
    border-radius: 36px;
    background: var(--sand);
    z-index: 0;
}

.hero-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: var(--navy-deep);
    box-shadow: var(--shadow-lg);
}

.hero-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 640px;
    object-fit: cover;
    object-position: 50% 22%;
}

.floating-panel {
    position: absolute;
    z-index: 2;
    right: -18px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    width: min(300px, 86%);
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: color-mix(in srgb, #fff 92%, transparent);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

.floating-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
    color: var(--navy);
    background: var(--surface-2);
}

.floating-panel strong {
    display: block;
    color: var(--navy);
    font-size: .95rem;
    line-height: 1.25;
}

.floating-panel p {
    margin-top: 3px;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.4;
}

.hero-widget {
    position: absolute;
    z-index: 3;
    left: -56px;
    top: 9%;
    display: grid;
    gap: 2px;
    width: 236px;
    padding: 16px 18px 14px;
    border-radius: 22px;
    color: #fff;
    background: var(--navy);
    box-shadow: 0 34px 60px -28px color-mix(in srgb, var(--navy) 90%, transparent);
    transform: rotate(-4deg);
    transition: box-shadow .4s var(--ease);
}

.hero-widget:hover {
    box-shadow: 0 40px 70px -26px color-mix(in srgb, var(--navy) 100%, transparent);
}

.hw-label {
    color: var(--on-dark);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hw-value {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}

.hw-chart {
    width: 100%;
    height: 64px;
    margin: 8px 0 4px;
    overflow: visible;
}

.hw-area {
    fill: color-mix(in srgb, var(--sand) 26%, transparent);
}

.hw-line {
    fill: none;
    stroke: var(--sand);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.hw-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--on-dark);
    font-size: .72rem;
}

.hw-note i {
    transition: transform .4s var(--ease);
}

.hero-widget:hover .hw-note i {
    transform: translateX(3px);
}

/* =========================================================
   PRAXE A INSTITUCE
   ========================================================= */
.proof {
    background: var(--light);
}

.proof-head {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: end;
}

.proof-head .sec-title {
    max-width: 13ch;
}

.proof-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.proof-stat {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 8px;
    padding: 4px 22px;
    border-left: 1px solid var(--line);
}

.proof-stat dd {
    color: var(--navy);
    font-size: clamp(2.3rem, 3.6vw, 3.25rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.045em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.proof-stat dt {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.4;
}

.partners {
    margin-top: clamp(64px, 8vw, 104px);
    padding-top: clamp(40px, 5vw, 56px);
    border-top: 1px solid var(--line);
}

.partners-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 40px;
    margin-bottom: 30px;
}

.partners-head h3 {
    font-size: 1.25rem;
    letter-spacing: -.02em;
}

.partners-head p {
    max-width: 56ch;
    color: var(--muted);
    font-size: .95rem;
}

.marquee {
    display: flex;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.marquee-track {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 14px;
    padding-right: 14px;
}

.has-motion .marquee .marquee-track {
    animation: marquee var(--marquee-duration, 45s) linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* Řízeno z JS (pomalý posun + tažení): CSS animace se vypne */
.has-motion .marquee.is-js .marquee-track {
    animation: none;
    will-change: transform;
}

.marquee.is-js {
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.marquee.is-js.is-dragging {
    cursor: grabbing;
}

.marquee.is-dragging .marquee-item {
    transform: none;
}

body:not(.has-motion) .marquee,
.logo-grid {
    -webkit-mask-image: none;
    mask-image: none;
}

body:not(.has-motion) .marquee .marquee-track[aria-hidden="true"] {
    display: none;
}

body:not(.has-motion) .marquee .marquee-track,
.logo-grid .marquee-track {
    flex-wrap: wrap;
    justify-content: center;
    flex: 1 1 auto;
    padding: 0;
}

.marquee-item {
    display: grid;
    place-items: center;
    width: 176px;
    height: 84px;
    padding: 14px 24px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
    transition: border-color .3s ease, transform .4s var(--ease), box-shadow .4s var(--ease);
}

.marquee-link {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.marquee-item img {
    width: 100%;
    height: 44px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .62;
    transition: filter .35s ease, opacity .35s ease;
}

.partners.is-color .marquee-item img,
.marquee-item:hover img {
    filter: none;
    opacity: 1;
}

.marquee-item:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.partners-note,
.calc-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 22px;
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.5;
}

.partners-note i,
.calc-disclaimer i {
    margin-top: 4px;
    color: var(--navy);
}

/* =========================================================
   SLUŽBY
   ========================================================= */
.services-section {
    border-top: 1px solid var(--line);
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 30px 28px 26px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
    isolation: isolate;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s ease;
}

.service-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

/* Světlo pod kurzorem: pozici nastavuje JS (--mx, --my). */
.has-spotlight [data-spotlight]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--navy) 6%, transparent), transparent 62%);
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
}

.has-spotlight [data-spotlight]:hover::before {
    opacity: 1;
}

.service-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 22px;
    border-radius: 15px;
    color: var(--navy);
    background: var(--surface-2);
    font-size: 1.1rem;
    transition: transform .5s var(--ease), background-color .3s ease, color .3s ease;
}

.service-card:hover .service-icon {
    color: #fff;
    background: var(--navy);
    transform: rotate(-8deg) scale(1.05);
}

.service-card h3 {
    font-size: 1.2rem;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.service-card p {
    margin-top: 10px;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 22px;
    color: var(--navy);
    font-size: .92rem;
    font-weight: 650;
}

.service-link i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    font-size: .72rem;
    transition: transform .45s var(--ease), background-color .25s ease, color .25s ease, border-color .25s ease;
}

.service-link:hover i,
.service-card:hover .service-link i {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
    transform: translateX(4px);
}

.bundle {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) auto;
    gap: 28px 44px;
    align-items: center;
    margin-top: 22px;
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--r-lg);
    color: #fff;
    background: var(--navy);
    overflow: hidden;
    isolation: isolate;
}

.has-spotlight .bundle[data-spotlight]::before {
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--sand) 22%, transparent), transparent 65%);
}

.bundle h3 {
    color: #fff;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    letter-spacing: -.03em;
    line-height: 1.15;
}

.bundle-copy p {
    margin-top: 12px;
    color: var(--on-dark);
}

.bundle-points {
    display: grid;
    gap: 12px;
    color: #fff;
    font-weight: 550;
}

.bundle-points i,
.cta-points i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    margin-top: 1px;
    border-radius: 50%;
    color: var(--navy);
    background: var(--sand);
    font-size: .65rem;
}

/* Karusel služeb na mobilu */
.carousel-controls {
    display: none;
}

/* =========================================================
   JAK TO PROBÍHÁ
   ========================================================= */
.process-section {
    --paper: var(--navy);
    --muted: rgba(251, 249, 244, .72);
    --line: rgba(251, 249, 244, .18);
    color: var(--muted);
    background: var(--navy);
}

.process-section h2,
.process-section h3 {
    color: #fbf9f4;
}

.process-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 48px;
    margin-bottom: clamp(40px, 5vw, 60px);
}

.process-head .sec-head {
    margin-bottom: 0;
}

.process-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 28px;
    counter-reset: step;
}

/* Spojnice kroků: šedá dráha a navy průběh, který se při scrollu dokreslí. */
.process-steps::before,
.process-steps::after {
    content: "";
    position: absolute;
    top: 25px;
    left: 26px;
    right: 26px;
    height: 2px;
    background: var(--line);
}

.process-steps::after {
    background: var(--sand);
    transform-origin: 0 50%;
    transform: scaleX(1);
}

.js .has-motion .process-steps::after {
    transform: scaleX(0);
    transition: transform 1.6s var(--ease-out) .15s;
}

.js .has-motion .process-steps.in::after {
    transform: scaleX(1);
}

.process-step {
    position: relative;
    z-index: 1; /* kolečka vždy nad spojnicí, i během animace (transform tvoří vlastní vrstvu) */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.process-num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    border: 2px solid var(--sand);
    border-radius: 50%;
    color: var(--navy);
    background: var(--sand);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 0 0 8px var(--paper);
}

.js .has-motion .process-step {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease), transform 1s var(--ease);
    transition-delay: calc(var(--i, 0) * .22s + .1s);
}

.js .has-motion .process-step .process-num {
    color: var(--sand);
    background: var(--navy);
    transition: background-color .5s ease, color .5s ease;
    transition-delay: calc(var(--i, 0) * .22s + .5s);
}

.js .has-motion .process-steps.in .process-step {
    opacity: 1;
    transform: none;
}

.js .has-motion .process-steps.in .process-num {
    color: var(--navy);
    background: var(--sand);
}

.process-step h3 {
    font-size: 1.18rem;
    letter-spacing: -.02em;
}

.process-step p {
    margin-top: 10px;
    color: var(--muted);
    font-size: .95rem;
}

.process-meta {
    margin-top: 16px;
    padding: 5px 12px;
    border-radius: 999px;
    color: var(--sand);
    border: 1px solid rgba(251, 249, 244, .24);
    font-size: .78rem;
    font-weight: 600;
}

/* =========================================================
   O MNĚ
   ========================================================= */
.about-section {
    background: var(--light);
}

.about-wrap {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}

.about-wrap.no-photo {
    grid-template-columns: minmax(0, 1fr);
    max-width: 820px;
}

.about-photo {
    position: relative;
}

.about-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 640px;
    border-radius: var(--r-lg);
    object-fit: cover;
    object-position: 50% 25%;
    box-shadow: var(--shadow-md);
}

.about-badge {
    position: absolute;
    right: -20px;
    bottom: 28px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    max-width: 310px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.about-badge-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    color: var(--navy);
    background: var(--surface-2);
}

.about-badge strong {
    display: block;
    color: var(--navy);
    font-size: .95rem;
    line-height: 1.3;
}

.about-badge div > span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.45;
}

.about-content .sec-title {
    margin-bottom: 24px;
}

.about-content > p {
    max-width: 62ch;
    margin-bottom: 16px;
    font-size: 1.04rem;
}

.about-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin: 28px 0 34px;
    font-weight: 550;
    color: var(--navy);
}

.about-list i {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    margin-top: 1px;
    border-radius: 50%;
    color: #fff;
    background: var(--navy);
    font-size: .62rem;
}

.quote {
    padding-top: 26px;
    border-top: 1px solid var(--line-strong);
}

.quote p {
    color: var(--navy);
    font-family: var(--serif);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-style: italic;
    line-height: 1.35;
    letter-spacing: -.01em;
}

.quote cite {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: .8rem;
    font-style: normal;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* =========================================================
   KALKULAČKY
   ========================================================= */
.calculators-section {
    border-top: 1px solid var(--line);
    background: var(--light);
}

.calc-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 48px;
    margin-bottom: 32px;
}

.calc-head .sec-head {
    margin-bottom: 0;
}

.calc-tabs {
    position: relative;
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}

.calc-tab {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 140px;
    min-height: 44px;
    padding: 10px 20px;
    border: 0;
    border-radius: 999px;
    color: var(--navy);
    background: transparent;
    font-weight: 650;
    cursor: pointer;
    transition: color .35s ease, background-color .35s ease;
}

.calc-tab.active {
    color: #fff;
    background: var(--navy);
}

.calc-tabs.has-pill .calc-tab.active {
    background: transparent;
}

.calc-tab-pill {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 0;
    border-radius: 999px;
    background: var(--navy);
    transform: translateX(var(--pill-x, 0));
    width: var(--pill-w, 0);
    transition: transform .55s var(--ease), width .55s var(--ease);
}

.calc-tabs:not(.has-pill) .calc-tab-pill {
    display: none;
}

.calc-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
    gap: 20px;
    align-items: stretch;
}

.calc-wrap.is-entering {
    animation: cfade .55s var(--ease);
}

.calc-main {
    min-width: 0;
    padding: clamp(24px, 3.4vw, 42px);
    border-radius: var(--r-lg);
    background: var(--surface);
}

.calc-side {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 3vw, 34px);
    border-radius: var(--r-lg);
    color: #fff;
    background: var(--navy);
    overflow: hidden;
}

.calc-row + .calc-row {
    margin-top: 32px;
}

.calc-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    color: var(--navy);
    font-weight: 650;
}

.calc-label-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.calc-value {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.calc-value:focus-within {
    border-color: var(--navy);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--navy) 12%, transparent);
}

.calc-number {
    width: 9.5ch;
    padding: 8px 4px 8px 12px;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
    outline: none;
}

.calc-unit {
    padding: 0 12px 0 4px;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 600;
}

.range-limits {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: var(--muted);
    font-size: .74rem;
    font-weight: 550;
}

/* Posuvník */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 28px;
    background: transparent;
    cursor: pointer;
}

input[type="range"]:focus {
    outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--navy) 0 var(--range-progress, 50%), var(--line-strong) var(--range-progress, 50%) 100%);
}

input[type="range"]::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--navy) 0 var(--range-progress, 50%), var(--line-strong) var(--range-progress, 50%) 100%);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    margin-top: -9px;
    border: 6px solid var(--navy);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--navy) 30%, transparent);
    transition: transform .25s var(--ease), box-shadow .25s ease;
}

input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: 6px solid var(--navy);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--navy) 30%, transparent);
    transition: transform .25s var(--ease);
}

input[type="range"]:hover::-webkit-slider-thumb,
input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.15);
}

input[type="range"]:hover::-moz-range-thumb,
input[type="range"]:active::-moz-range-thumb {
    transform: scale(1.15);
}

input[type="range"]:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--navy) 18%, transparent);
}

input[type="range"]:focus-visible::-moz-range-thumb {
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--navy) 18%, transparent);
}

/* Investiční scénáře */
.investment-profiles {
    min-width: 0;
    margin-bottom: 32px;
    border: 0;
}

.investment-profiles legend {
    margin-bottom: 12px;
    color: var(--navy);
    font-weight: 650;
}

.profile-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    grid-auto-flow: column;
    gap: 8px;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    color: var(--navy);
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color .25s ease, background-color .25s ease, color .25s ease, transform .35s var(--ease);
}

.profile-btn > span {
    min-width: 0;
    font-size: .88rem;
    font-weight: 650;
    line-height: 1.2;
}

.profile-btn small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: .74rem;
    font-weight: 550;
}

.profile-btn:hover {
    border-color: var(--navy);
    transform: translateY(-2px);
}

.profile-btn.active {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
}

.profile-btn.active small {
    color: var(--on-dark);
}

/* Výsledky */
.mini-label {
    margin-bottom: 18px;
    color: var(--sand);
    font-size: .74rem;
    font-weight: 650;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.result-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--on-dark);
    font-size: .9rem;
}

.result-box strong {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-size: clamp(2.3rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.split-bar {
    display: flex;
    height: 8px;
    margin-top: 22px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--sand) 55%, transparent);
    overflow: hidden;
}

.split-bar span {
    width: var(--share, 60%);
    border-radius: 999px;
    background: #fff;
    transition: width .6s var(--ease);
}

.result-breakdown {
    display: grid;
    gap: 2px;
    margin-top: 18px;
    font-size: .92rem;
}

.result-breakdown > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
}

.result-breakdown dt {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--on-dark);
}

.result-breakdown dd {
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.result-breakdown .is-total {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--on-dark-line);
}

.result-breakdown .is-total dt {
    color: #fff;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.dot-deposit {
    background: #fff;
}

.dot-gain {
    background: var(--sand);
}

/* Interaktivní graf investice */
.inv-chart-wrap {
    position: relative;
    margin-top: 20px;
    touch-action: pan-y;
    cursor: crosshair;
}

.inv-chart {
    width: 100%;
    height: 120px;
    overflow: visible;
}

.ic-dep {
    fill: rgba(255, 255, 255, .2);
}

.ic-gain {
    fill: color-mix(in srgb, var(--sand) 45%, transparent);
}

.ic-line {
    fill: none;
    stroke: var(--sand);
    stroke-width: 2.5;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.ic-cursor {
    stroke: rgba(255, 255, 255, .55);
    stroke-width: 1;
    stroke-dasharray: 3 3;
    vector-effect: non-scaling-stroke;
    opacity: 0;
    transition: opacity .2s ease;
}

.inv-chart-wrap.is-hover .ic-cursor {
    opacity: 1;
}

.ic-tip {
    position: absolute;
    top: 2px;
    left: 0;
    padding: 7px 10px;
    border-radius: 10px;
    color: var(--navy);
    background: #fff;
    box-shadow: var(--shadow-md);
    font-size: .76rem;
    line-height: 1.35;
    white-space: nowrap;
    pointer-events: none;
    transform: translateX(-50%);
}

.ic-tip strong {
    display: block;
    font-size: .9rem;
    font-variant-numeric: tabular-nums;
}

.ic-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    color: var(--on-dark);
    font-size: .72rem;
}

.simple-result-note {
    margin: 18px 0 24px;
    color: var(--on-dark);
    font-size: .84rem;
    line-height: 1.55;
}

.calc-cta {
    width: 100%;
    margin-top: auto;
    justify-content: space-between;
    white-space: normal;
    text-align: left;
}

/* Tooltip s nápovědou */
.help-tooltip {
    position: relative;
    z-index: 4;
    display: inline-flex;
    flex: 0 0 auto;
}

.help-tooltip-trigger {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--navy);
    background: #fff;
    font: 700 .72rem/1 var(--sans);
    cursor: help;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.help-tooltip-trigger:hover,
.help-tooltip.is-open .help-tooltip-trigger,
.help-tooltip.is-keyboard-open .help-tooltip-trigger {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
}

.calc-side .help-tooltip-trigger {
    color: #fff;
    background: transparent;
    border-color: var(--on-dark-line);
}

.calc-side .help-tooltip-trigger:hover,
.calc-side .help-tooltip.is-open .help-tooltip-trigger {
    color: var(--navy);
    background: var(--sand);
    border-color: var(--sand);
}

.help-tooltip-content {
    position: absolute;
    z-index: 50;
    top: calc(100% + 10px);
    left: 50%;
    width: max-content;
    max-width: min(280px, calc(100vw - 48px));
    padding: 11px 13px;
    border-radius: 12px;
    color: #fff;
    background: #0b1530;
    box-shadow: var(--shadow-md);
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -4px);
    transition: opacity .18s ease, visibility .18s ease, transform .25s var(--ease);
}

.help-tooltip:hover .help-tooltip-content,
.help-tooltip.is-open .help-tooltip-content,
.help-tooltip.is-keyboard-open .help-tooltip-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

/* =========================================================
   ČASTÉ OTÁZKY
   ========================================================= */
.faq-section {
    border-top: 1px solid var(--line);
    background: var(--light);
}

.faq-wrap {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: start;
}

.faq-wrap .sec-head {
    position: sticky;
    top: 110px;
}

.faq-list {
    border-top: 1px solid var(--line-strong);
}

.faq-item {
    border-bottom: 1px solid var(--line-strong);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary h3 {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    font-weight: 650;
    letter-spacing: -.015em;
    line-height: 1.35;
    transition: color .2s ease;
}

.faq-item summary:hover h3 {
    color: color-mix(in srgb, var(--navy) 75%, #fff);
}

.faq-icon {
    position: relative;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: #fff;
    transition: background-color .3s ease, border-color .3s ease, transform .45s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    border-radius: 2px;
    background: var(--navy);
    transform: translate(-50%, -50%);
    transition: transform .45s var(--ease), background-color .3s ease;
}

.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon {
    background: var(--navy);
    border-color: var(--navy);
    transform: rotate(180deg);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
    background: #fff;
}

.faq-item[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size .5s var(--ease), content-visibility .5s allow-discrete;
}

.faq-item[open]::details-content {
    block-size: auto;
}

.faq-answer p {
    max-width: 64ch;
    padding: 0 56px 24px 0;
    color: var(--muted);
}

/* =========================================================
   VÝZVA KE KONZULTACI
   ========================================================= */
.cta-band {
    position: relative;
    padding: clamp(64px, 8vw, 104px) 0;
    background: var(--surface);
    border-block: 1px solid var(--line);
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -240px;
    width: 560px;
    height: 560px;
    border: 1px solid color-mix(in srgb, var(--navy) 18%, transparent);
    border-radius: 50%;
    box-shadow: 0 0 0 70px color-mix(in srgb, #fff 10%, transparent), 0 0 0 140px color-mix(in srgb, #fff 7%, transparent);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: 32px 64px;
    align-items: center;
}

.cta-copy h2 {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.cta-copy p {
    max-width: 56ch;
    margin-top: 18px;
    color: color-mix(in srgb, var(--navy) 82%, #000);
    font-size: 1.08rem;
}

.cta-actions {
    display: grid;
    gap: 22px;
    justify-items: start;
}

.cta-points {
    display: grid;
    gap: 10px;
    color: var(--navy);
    font-weight: 600;
}

.cta-points i {
    color: #fff;
    background: var(--navy);
}

/* =========================================================
   KONTAKT
   ========================================================= */
.contact {
    color: #fff;
    background: var(--navy);
}

.contact .sec-title {
    color: #fff;
}

.contact .sec-title em {
    color: var(--sand);
}

.contact .sec-subtitle {
    color: var(--on-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 20px;
}

.contact-grid.is-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
}

.contact-info-card,
.contact-form-card {
    padding: clamp(24px, 3.4vw, 38px);
    border-radius: var(--r-lg);
}

.contact-info-card {
    border: 1px solid var(--on-dark-line);
    background: rgba(255, 255, 255, .04);
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--on-dark-line);
}

.contact-item:first-child {
    padding-top: 0;
}

.contact-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-item > i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 14px;
    color: var(--navy);
    background: var(--sand);
}

.contact-item h3 {
    margin-bottom: 4px;
    color: #fff;
    font-size: .95rem;
}

.contact-item p {
    color: var(--on-dark);
}

.protected-contact {
    min-height: 26px;
}

.contact-auto-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--on-dark);
    font-size: .82rem;
}

.protected-contact.has-error {
    color: #fecaca;
    font-size: .82rem;
}

.revealed-contact-link {
    color: #fff;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--sand) 70%, transparent);
    text-underline-offset: 5px;
    overflow-wrap: anywhere;
}

.revealed-contact-link:hover {
    text-decoration-color: var(--sand);
}

.contact-form-card {
    color: var(--text);
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.contact-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-size: .84rem;
    font-weight: 650;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    color: var(--text);
    background: var(--surface);
    font-size: 1rem;
    resize: vertical;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b7488;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy);
    background: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--navy) 12%, transparent);
}

.form-group input.is-prefilled {
    animation: flash 1.4s var(--ease);
}

.form-submit {
    width: 100%;
    margin-top: 4px;
    padding-right: 24px;
}

.form-submit:disabled {
    cursor: wait;
    opacity: .8;
}

.form-security-status {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.5;
}

.form-security-status i {
    margin-top: 3px;
    color: var(--navy);
}

.form-security-status.has-error {
    color: #b91c1c;
}

.form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-notice {
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid;
    border-radius: 13px;
    font-size: .9rem;
    font-weight: 650;
}

.form-notice.success {
    color: #166534;
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.form-notice.error {
    color: #991b1b;
    border-color: #fecaca;
    background: #fef2f2;
}

/* =========================================================
   PATIČKA A PLOVOUCÍ LIŠTA
   ========================================================= */
.site-footer {
    padding: 32px 0;
    color: var(--on-dark);
    background: var(--navy-deep);
    font-size: .88rem;
}

.footer-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
}

.site-footer strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
}

.site-footer a {
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .35);
    text-underline-offset: 3px;
}

.site-footer a:hover {
    color: #fff;
    text-decoration-color: #fff;
}

.dock {
    position: fixed;
    z-index: 900;
    display: none;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 6px 6px 6px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, #fff 92%, transparent);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-lg);
    transform: translateY(calc(100% + 40px));
    opacity: 0;
    transition: transform .6s var(--ease), opacity .4s ease;
    pointer-events: none;
}

.dock.show {
    transform: none;
    opacity: 1;
    pointer-events: auto;
}

.dock-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-size: .86rem;
    font-weight: 600;
    white-space: nowrap;
}

.dock .btn {
    min-height: 46px;
    font-size: .9rem;
}

.dock .btn-arrow {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
}

/* =========================================================
   ANIMACE
   Obsah je viditelný i bez JavaScriptu; skrytí před náběhem jen s třídou .js a zapnutými animacemi.
   ========================================================= */
.js .has-motion .reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1s var(--ease), transform 1.1s var(--ease);
    transition-delay: var(--stagger, 0s);
}

.js .has-motion .reveal.in {
    opacity: 1;
    transform: none;
}

.has-motion .rise {
    animation: rise 1s var(--ease) var(--d, 0s) both;
}

.has-motion .hero-card {
    animation: photoIn 1.3s var(--ease) .15s both;
}

.has-motion .hero-visual::before {
    animation: blockIn 1.4s var(--ease) .05s both;
}

.has-motion .floating-panel {
    animation: popIn .9s var(--ease) .9s both;
}

.has-motion .hero-widget {
    animation: popIn .9s var(--ease) 1.05s both, float 7s ease-in-out 2s infinite;
}

.has-motion .hw-line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw 1.8s var(--ease) 1.4s forwards;
}

.has-motion .hero-copy h1 em {
    background-size: 0% 100%;
    animation: marker 1s var(--ease) .95s forwards;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}

@keyframes photoIn {
    from { opacity: 0; transform: translateY(40px) scale(.97); clip-path: inset(12% 0 0 0 round 28px); }
    to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 28px); }
}

@keyframes blockIn {
    from { opacity: 0; transform: translate(-24px, 24px) rotate(-2deg); }
    to { opacity: 1; transform: none; }
}

@keyframes popIn {
    from { opacity: 0; transform: translateY(20px) scale(.96); }
    to { opacity: 1; transform: none; }
}

@keyframes float {
    0%, 100% { transform: rotate(-4deg) translateY(0); }
    50% { transform: rotate(-3deg) translateY(-10px); }
}

@keyframes draw {
    to { stroke-dashoffset: 0; }
}

@keyframes marker {
    to { background-size: 100% 100%; }
}

@keyframes marquee {
    to { transform: translateX(-100%); }
}

@keyframes pulse {
    0% { opacity: .9; transform: scale(.6); }
    80%, 100% { opacity: 0; transform: scale(1.8); }
}

@keyframes cfade {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

@keyframes flash {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--sand) 90%, transparent); background: var(--surface-2); }
    100% { box-shadow: 0 0 0 10px transparent; }
}

/* =========================================================
   RESPONZIVITA
   ========================================================= */
@media (max-width: 1100px) {
    .nav-links-desktop {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bundle {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .bundle .btn {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .proof-head {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .proof-head .sec-title {
        max-width: 20ch;
    }

    .hero-widget {
        left: -24px;
    }
}

@media (max-width: 900px) {
    .faq-wrap {
        grid-template-columns: minmax(0, 1fr);
    }

    .faq-wrap .sec-head {
        position: static;
    }

    .hero-grid,
    .about-wrap,
    .calc-wrap,
    .contact-grid,
    .cta-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-visual {
        justify-self: center;
        width: min(100%, 460px);
        margin-top: 12px;
    }

    .hero-widget {
        left: -10px;
        top: 6%;
    }

    .floating-panel {
        right: -8px;
    }

    .about-photo {
        max-width: 520px;
    }

    .about-badge {
        right: 12px;
    }
}

@media (max-width: 820px) {
    :root {
        --gutter: 16px;
    }

    .nav-cta {
        display: none;
    }

    .nav-shell {
        padding-left: 14px;
    }

    .logo-text span {
        display: none;
    }

    .hero-copy h1 {
        font-size: clamp(2.2rem, 9vw, 3rem);
    }

    .hero-actions {
        gap: 10px 20px;
    }

    .hero-topics-label {
        flex-basis: 100%;
    }

    .proof-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 28px;
    }

    .proof-stat:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .marquee-item {
        width: 144px;
        height: 72px;
        padding: 12px 18px;
    }

    .marquee-item img {
        height: 38px;
    }

    /* Služby jako karusel s gesty */
    .carousel-track.services-grid {
        display: flex;
        gap: 12px;
        margin: 0 calc(var(--gutter) * -1);
        padding: 6px var(--gutter) 18px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
    }

    .carousel-track::-webkit-scrollbar {
        display: none;
    }

    .services-grid .service-card {
        flex: 0 0 min(84vw, 340px);
        scroll-snap-align: start;
    }

    .carousel-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin-top: 4px;
    }

    .carousel-btn {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        border: 1px solid var(--line-strong);
        border-radius: 50%;
        color: var(--navy);
        background: #fff;
        cursor: pointer;
    }

    .carousel-btn:disabled {
        opacity: .35;
        cursor: default;
    }

    .carousel-dots {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: var(--line-strong);
        cursor: pointer;
        transition: width .35s var(--ease), background-color .25s ease;
    }

    .carousel-dot.active {
        width: 24px;
        background: var(--navy);
    }

    .bundle {
        grid-template-columns: minmax(0, 1fr);
    }

    .bundle .btn {
        width: 100%;
        justify-content: space-between;
        white-space: normal;
        text-align: left;
    }

    /* Kroky pod sebou se svislou spojnicí */
    .process-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .process-steps::before,
    .process-steps::after {
        top: 26px;
        bottom: 26px;
        left: 25px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .process-steps::after {
        transform-origin: 50% 0;
    }

    .js .has-motion .process-steps::after {
        transform: scaleY(0);
    }

    .js .has-motion .process-steps.in::after {
        transform: scaleY(1);
    }

    .process-step {
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr);
        column-gap: 18px;
    }

    .process-num {
        grid-row: span 3;
        margin-bottom: 0;
    }

    .process-step h3 {
        padding-top: 12px;
    }

    .process-meta {
        justify-self: start;
    }

    .about-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-badge {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }

    .calc-head {
        margin-bottom: 22px;
    }

    .calc-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .calc-tab {
        min-width: 0;
        padding-inline: 10px;
    }

    .calc-label-row {
        flex-wrap: wrap;
    }

    .profile-buttons {
        grid-auto-flow: row;
        grid-template-columns: minmax(0, 1fr);
    }

    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .dock {
        display: flex;
        left: 12px;
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        justify-content: space-between;
    }

    .dock .btn {
        flex: 1 1 auto;
        justify-content: space-between;
    }
}

@media (max-width: 600px) {
    .hero-widget {
        top: auto;
        bottom: 104px;
        left: -6px;
        width: 196px;
        padding: 13px 14px 12px;
    }

    .faq-answer p {
        padding-right: 0;
    }
}

@media (max-width: 480px) {

    .hw-value {
        font-size: 1.35rem;
    }

    .hw-chart {
        height: 48px;
    }

    .floating-panel {
        right: 8px;
        left: 8px;
        bottom: 10px;
        width: auto;
    }

    .hero-visual::before {
        inset: 8% -4% -4% 10%;
    }

    .dock-text {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }

    .marquee .marquee-track[aria-hidden="true"] {
        display: none;
    }

    .marquee .marquee-track {
        flex-wrap: wrap;
        justify-content: center;
        flex: 1 1 auto;
    }

    .marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* =========================================================
   4.2 – úpravy podle zpětné vazby (paleta: červená --primary, modrá --navy, světlá --sand, béžová --light)
   ========================================================= */

/* Pulzující tečka v úvodu: kroužek musí být světlý na modrém pozadí */
.hero .pulse-dot::after,
.nav-cta .pulse-dot::after {
    border-color: var(--sand);
}

/* Povinná pole ve formuláři */
.form-group .req {
    color: var(--primary);
    font-weight: 700;
}

/* Praxe a instituce: těsněji u sebe */
.proof {
    padding-top: clamp(48px, 6vw, 80px);
    padding-bottom: clamp(32px, 4vw, 56px);
}

.partners {
    margin-top: clamp(28px, 3.5vw, 44px);
    padding-top: clamp(24px, 3vw, 32px);
}

.partners-head {
    margin-bottom: 18px;
}

.services-section {
    padding-top: clamp(48px, 6vw, 84px);
}

/* Kalkulačky: nižší, bez popisků nad tlačítkem, částka se nezalomí */
.calc-main {
    padding: clamp(20px, 2.6vw, 30px);
}

.calc-row + .calc-row {
    margin-top: 20px;
}

.calc-label-row {
    margin-bottom: 8px;
}

.range-limits {
    margin-top: 4px;
}

.calc-side {
    padding: clamp(20px, 2.4vw, 28px);
}

.calc-side .simple-result-note {
    display: none;
}

.calc-side .mini-label {
    margin-bottom: 10px;
}

.calc-side .split-bar,
.calc-side .inv-chart-wrap {
    margin-top: 14px;
}

.calc-cta {
    margin-top: 18px;
}

.result-box strong {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    white-space: nowrap;
    overflow-wrap: normal;
}

.inv-chart {
    height: 96px;
}

.investment-profiles .profile-btn {
    padding-block: 9px;
}

/* Ikony služeb: pevný rozměr a žádný posun po načtení písma / na dotyku */
.service-icon {
    flex: 0 0 50px;
    line-height: 1;
}

.service-icon i {
    display: block;
    width: 1.25em;
    height: 1em;
    text-align: center;
}

@media (hover: none) {
    .service-card:hover .service-icon {
        transform: none;
    }
}

@media (max-width: 900px) {
    .dock {
        display: none !important;
    }

    .carousel-track .service-card.reveal {
        transform: none !important;
    }

    .calc-main,
    .calc-side {
        padding: 18px;
    }

    .inv-chart {
        height: 72px;
    }
}

/* Patička: ověření v registru ČNB */
.footer-cnb {
    display: block;
    margin-top: 6px;
}

/* Loga v pásu jsou klikací (tažení řeší JS) */
.marquee {
    pointer-events: auto;
}

.marquee-link {
    cursor: pointer;
}

/* Kalkulačky na mobilu: kompaktnější */
@media (max-width: 600px) {
    .calc-head {
        gap: 14px;
        margin-bottom: 16px;
    }

    .calc-tab {
        min-width: 0;
        min-height: 40px;
        padding: 8px 16px;
    }

    .calc-wrap {
        gap: 10px;
    }

    .calc-main,
    .calc-side {
        padding: 14px;
        border-radius: 18px;
    }

    .calc-row + .calc-row {
        margin-top: 14px;
    }

    .calc-label-row {
        margin-bottom: 4px;
        gap: 8px;
        font-size: .92rem;
    }

    .calc-number {
        width: 8.5ch;
        padding: 5px 2px 5px 10px;
        font-size: .95rem;
    }

    .calc-unit {
        padding-right: 10px;
        font-size: .8rem;
    }

    .range-limits {
        margin-top: 2px;
        font-size: .68rem;
    }

    .investment-profiles {
        margin-bottom: 14px;
    }

    .investment-profiles legend {
        margin-bottom: 6px;
        font-size: .92rem;
    }

    .profile-buttons {
        grid-auto-flow: column;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .profile-btn {
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        padding: 8px 4px;
        text-align: center;
    }

    .profile-btn > span {
        font-size: .78rem;
    }

    .profile-btn small {
        margin-top: 1px;
        font-size: .68rem;
    }

    .calc-side .mini-label {
        margin-bottom: 4px;
        font-size: .68rem;
    }

    .result-box strong {
        margin-top: 2px;
        font-size: clamp(1.6rem, 8vw, 2.1rem);
    }

    .calc-side .split-bar,
    .calc-side .inv-chart-wrap {
        margin-top: 10px;
    }

    .inv-chart {
        height: 56px;
    }

    .result-breakdown > div {
        padding-block: 6px;
        font-size: .88rem;
    }

    .calc-cta {
        margin-top: 12px;
        min-height: 46px;
    }

    .calc-disclaimer {
        margin-top: 12px;
        font-size: .78rem;
    }
}

/* Hlavní nadpis úvodu: dva dominantní řádky (zalomení za první větou řeší front-page.php) */
.hero-copy h1 {
    max-width: none;
    font-size: clamp(1.75rem, 7vw, 3.3rem);
    line-height: 1.12;
    letter-spacing: -.02em;
    font-weight: 400;
    white-space: nowrap;
}

.hero-copy h1 em {
    font-size: 1em;
}

/* Hero ve světlé variantě A: krémové pozadí, modrý text, modrý blok za fotkou */
.hero {
    --muted: color-mix(in srgb, var(--navy) 72%, #fff);
    --line-strong: color-mix(in srgb, var(--navy) 22%, transparent);
    color: var(--muted);
    background: var(--sand);
}

.hero::before {
    display: none;
}

.hero h1,
.hero .hero-tag,
.hero .btn-link {
    color: var(--navy);
}

.hero h1 em {
    color: var(--primary);
}

.hero .pulse-dot {
    background: var(--primary);
}

.hero .pulse-dot::after {
    border-color: var(--primary);
}

.hero .hero-points i {
    color: var(--primary);
}

.hero .btn-primary {
    color: #fff;
    background: var(--navy);
}

.hero .btn-primary .btn-arrow {
    color: var(--navy);
    background: var(--sand);
}

.hero .topic-chip {
    color: var(--navy);
    background: #fff;
}

.hero-visual::before {
    background: var(--navy);
}

/* Navigace nad světlým hero zůstává modrá */
.home .site-nav:not(.is-scrolled) .logo,
.home .site-nav:not(.is-scrolled) .nav-links-desktop a,
.home .site-nav:not(.is-scrolled) .nav-links-desktop a:hover {
    color: var(--navy);
}

.home .site-nav:not(.is-scrolled) .nav-links-desktop a::after {
    background: var(--navy);
}

.home .site-nav:not(.is-scrolled) .logo-text span {
    color: color-mix(in srgb, var(--navy) 60%, #fff);
    border-color: var(--line-strong);
}

.home .site-nav:not(.is-scrolled) .nav-cta {
    color: #fff;
    background: var(--navy);
}

.home .site-nav:not(.is-scrolled) .nav-cta .pulse-dot {
    background: var(--sand);
}

/* =========================================================
   STŘÍDÁNÍ POZADÍ (bez tmavě modré plochy)
   hero kamenná · reference bílá · služby kamenná · jak to probíhá bílá
   o mně kamenná · kalkulačky bílá · FAQ kamenná · výzva bílá
   kontakt kamenná · patička tmavší kamenná. Navy zůstává na textu a tlačítkách.
   ========================================================= */
.proof { background: var(--light); }
.services-section { background: var(--sand); }
.process-section {
    --paper: var(--light);
    --muted: var(--text);
    --line: var(--line-strong);
    color: var(--muted);
    background: var(--light);
}
.about-section { background: var(--sand); }
.calculators-section { background: var(--light); }
.faq-section { background: var(--sand); }
.cta-band { background: var(--light); }
.contact { color: var(--text); background: var(--sand); }
.site-footer { color: var(--muted); background: #e2ddd6; }

.process-section h2,
.process-section h3 { color: var(--navy); }
.process-steps::after { background: var(--navy); }
.process-num {
    border-color: var(--navy);
    color: #fff;
    background: var(--navy);
}
.js .has-motion .process-step .process-num {
    color: var(--navy);
    background: var(--light);
}
.js .has-motion .process-steps.in .process-num {
    color: #fff;
    background: var(--navy);
}
.process-meta {
    color: var(--navy);
    border-color: var(--line-strong);
}

.contact .sec-title,
.contact-item h3,
.revealed-contact-link { color: var(--navy); }
.contact .sec-title em { color: var(--muted); }
.contact .sec-subtitle,
.contact-item p,
.contact-auto-status { color: var(--muted); }
.contact-info-card {
    border-color: var(--line-strong);
    background: var(--light);
}
.contact-item { border-bottom-color: var(--line); }
.contact-item > i { color: #fff; background: var(--navy); }
.revealed-contact-link { text-decoration-color: var(--line-strong); }
.contact-form-card { background: var(--light); }

.site-footer strong,
.site-footer a:hover { color: var(--navy); }
.site-footer a { text-decoration-color: var(--line-strong); }
.site-footer a:hover { text-decoration-color: var(--navy); }

.hero-visual::before { background: #d9d3ca; }

/* Hero fotka na mobilu: užší, nižší a vycentrovaná, ne přes celou obrazovku */
@media (max-width: 600px) {
    .hero-visual {
        width: min(78%, 300px);
        margin-inline: auto;
    }

    .hero-card img {
        aspect-ratio: 1 / 1;
        max-height: 300px;
        object-position: 50% 18%;
    }
}

/* Slovo „směr“ v hero stejné jako zbytek nadpisu */
.hero h1 em,
.hero-copy h1 em {
    color: inherit;
    font-style: normal;
    padding: 0;
    background: none;
    animation: none;
}

/* Úvodní fotka na počítači větší */
@media (min-width: 901px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 1.08fr); }
    .hero-visual { width: min(100%, 600px); }
    .hero-card img { max-height: 740px; }
}
/* Odznaky na fotkách: vždy v pravém dolním rohu uvnitř fotky, stejný odstup 12 px na počítači i na mobilu */
.floating-panel,
.about-badge {
    left: auto;
    right: 12px;
    bottom: 12px;
}

/* Mobil a tablet: odznaky navíc menší; na počítači zůstává jejich původní velikost */
@media (max-width: 900px) {
    .floating-panel {
        left: auto;
        right: 12px;
        bottom: 12px;
        gap: 10px;
        width: auto;
        max-width: calc(100% - 24px);
        padding: 9px 14px 9px 10px;
    }
    .floating-panel .floating-icon { width: 30px; height: 30px; flex-basis: 30px; border-radius: 9px; font-size: .8rem; }
    .floating-panel strong { font-size: .82rem; }
    .floating-panel p { display: none; }
    .about-badge {
        left: auto;
        right: 12px;
        bottom: 12px;
        gap: 10px;
        max-width: min(240px, calc(100% - 24px));
        padding: 9px 14px 9px 10px;
    }
    .about-badge .about-badge-icon { width: 30px; height: 30px; flex-basis: 30px; border-radius: 9px; font-size: .8rem; }
    .about-badge strong { font-size: .82rem; }
    .about-badge div > span { margin-top: 2px; font-size: .74rem; line-height: 1.35; }
}

/* Pás s institucemi: svislá rezerva, aby se při najetí zvednutá karta (a její stín) nesekla o okraj pásu */
.marquee {
    padding-block: 10px;
    margin-block: -10px;
}

/* Fotka v „Finanční poradenství“ funguje stejně jako úvodní: větší, s kamennou deskou za fotkou, odznak v rohu */
.about-photo::before {
    content: "";
    position: absolute;
    inset: 9% -7% -6% 14%;
    border-radius: 36px;
    background: #d9d3ca;
    z-index: 0;
}
.about-photo img {
    position: relative;
    z-index: 1;
}
.about-badge {
    z-index: 2;
}
@media (min-width: 901px) {
    .about-wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
    .about-photo img { max-height: 740px; }
}
@media (max-width: 900px) {
    .about-photo::before { inset: 8% -4% -4% 10%; }
}

/* Fotka v „Finanční poradenství“ na mobilu stejně jako úvodní: užší, čtvercová a vycentrovaná */
@media (max-width: 600px) {
    .about-photo {
        width: min(78%, 300px);
        margin-inline: auto;
    }

    .about-photo img {
        aspect-ratio: 1 / 1;
        max-height: 300px;
        object-position: 50% 20%;
    }
}
