/* ==========================================================================
   jancyrus.cz — společný vzhled celého webu
   Barvy a písma se mění JEN tady v :root → projeví se na všech stránkách
   i ve všech klientských nabídkách.
   ========================================================================== */

:root {
  color-scheme: light only;
  --ink: #0b2a3d;          /* hlavní tmavá – hluboká mořská modř */
  --ink-2: #14405a;        /* tmavé plochy, karty na tmavém */
  --sea: #1f5a7a;          /* PODPISOVÁ MOŘSKÁ MODRÁ (inspirace: barva auta) */
  --sea-2: #2a7099;        /* světlejší mořská – hover */
  --ink-soft: #4a6577;     /* sekundární text */
  --paper: #f3f7fa;        /* pozadí stránky – modrobílá */
  --cream: #e2edf3;        /* světlé plochy – světle modrá */
  --line: #d2e0e9;         /* linky */
  --accent: #ff6b35;       /* akcent – oranžová jen na hlavní akce */
  --accent-2: #ffa37d;
  --mint: #d6ecdf;         /* WhatsApp / „zdarma" */
  --mint-ink: #145c3a;
  --white: #ffffff;

  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(11, 42, 61, .10);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.35rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: #e3eff5; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.section--dark .eyebrow { color: #9ec0d2; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 640px; }
.section--dark .lead { color: #b8d2df; }
.hl { color: var(--accent); }
.mark { background: linear-gradient(transparent 62%, var(--accent-2) 62%); padding: 0 .08em; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head .lead { margin: 0; }

/* Zástupný text k doplnění – na ostrém webu nesmí zůstat */
.doplnit { background: #fff3b0; color: #6b5200; padding: 0 .3em; border-radius: 4px; font-style: normal; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px;
  border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 1rem; line-height: 1.2;
  border: 2px solid transparent; transition: transform .15s ease, background .2s ease, color .2s ease; cursor: pointer;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: #ff8455; }
.btn--dark { background: var(--sea); color: var(--white); }
.btn--dark:hover { background: var(--sea-2); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.section--dark .btn--ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.section--dark .btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--wa { background: #25d366; color: #06301a; }
.btn--wa:hover { background: #3be07a; }
.btn--block { width: 100%; }

/* ---------- Hlavička ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(243, 247, 250, .9); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; text-decoration: none; color: var(--ink); }
.logo__mark { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--sea), var(--ink)); color: var(--accent); display: grid; place-items: center; font-size: 1rem; }
.logo small { font-family: var(--font-body); font-size: .68rem; font-weight: 600; letter-spacing: .12em; color: var(--ink-soft); display: block; margin-top: -2px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--accent); }
.nav .btn { padding: 11px 20px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
}

/* ---------- Úvod ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; background: var(--mint); color: var(--mint-ink); font-weight: 600; font-size: .9rem; border-radius: 999px; padding: 8px 16px 8px 10px; margin-bottom: 24px; }
.hero__badge i { width: 10px; height: 10px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 4px rgba(37,211,102,.25); }
.hero h1 .hl { display: inline-block; }
.hero .lead { font-size: 1.22rem; margin-top: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 40px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; border-top: 1px solid var(--line); padding-top: 28px; }
.stat { padding: 0 8px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { color: var(--sea); display: block; font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat span { font-size: .9rem; color: var(--ink-soft); }
.hero__visual { position: relative; }
.hero__photo { border-radius: 240px 240px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream); box-shadow: 0 0 0 10px var(--cream), 0 30px 60px rgba(11,42,61,.18); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; background: var(--white); border-radius: 16px; box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: .9rem; line-height: 1.3; }
.float-card strong { display: block; font-size: .98rem; }
.float-card--pfp { left: -28px; bottom: 16%; }
.float-card--wa { right: -18px; top: 12%; }
.float-card__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; font-weight: 800; font-family: var(--font-head); }
.float-card--pfp .float-card__icon { background: var(--sea); color: var(--accent); font-size: .85rem; }
.float-card--wa .float-card__icon { background: #25d366; color: var(--white); }
.float-card__icon svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 440px; margin-inline: auto; width: 100%; }
  .float-card--pfp { left: -6px; bottom: 6%; } .float-card--wa { display: none; }
  .stats { gap: 6px; padding-top: 22px; }
  .stat { padding: 0 4px; }
  .stat strong { font-size: 1.5rem; }
  .stat span { font-size: .8rem; line-height: 1.3; display: block; margin-top: 4px; }
  .hero { padding-top: 28px; }
  .hero__actions { flex-direction: column; margin: 26px 0 30px; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Pás důvěry ---------- */
.trust { background: var(--ink); color: var(--white); padding: 22px 0; }
.trust__list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; list-style: none; margin: 0 auto; padding: 0; font-weight: 500; }
.trust__list li { display: flex; align-items: center; gap: 10px; }
.trust__list svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

/* ---------- Finanční plán (podstavec) ---------- */
.plan { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.house { width: 100%; height: auto; overflow: visible; }
.house text { font-family: var(--font-head); font-weight: 800; }
/* „stavba" domu při doscrollování: základ → stěny → střecha */
.house .h-part { transform-box: fill-box; transform-origin: 50% 100%; }
.js .house:not(.is-built) .h-part { opacity: 0; transform: translateY(24px); }
.house.is-built .h-part { animation: build .7s cubic-bezier(.2,.8,.2,1) both; }
.house.is-built .h-base  { animation-delay: .05s; }
.house.is-built .h-walls { animation-delay: .35s; }
.house.is-built .h-roof  { animation-delay: .65s; }
.house.is-built .h-tree  { animation-delay: .9s; }
@keyframes build { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.plan__points { display: grid; gap: 18px; margin-top: 28px; }
.plan__point { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.plan__num { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--sea); color: var(--sea); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.plan__point p { margin: 0; color: var(--ink-soft); }
.plan__point strong { display: block; color: var(--ink); }
@media (max-width: 900px) { .plan { grid-template-columns: 1fr; } .plan__visual { max-width: 520px; margin-inline: auto; width: 100%; } }

/* ---------- Služby ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { background: var(--white); border-radius: var(--radius); padding: 34px 30px 30px; display: flex; flex-direction: column; border: 1px solid var(--line);
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .35s ease, box-shadow .35s ease; }
.service h3 { transition: color .35s ease; }
.service__icon { width: 58px; height: 58px; border-radius: 16px; background: var(--cream); color: var(--ink); display: grid; place-items: center; margin-bottom: 22px; transition: background .35s ease, color .35s ease; }
.service__icon svg { width: 28px; height: 28px; }
.service > p { color: var(--ink-soft); transition: color .35s ease; }
.service ul { list-style: none; padding: 0; margin: 6px 0 26px; display: grid; gap: 9px; }
.service li { display: flex; gap: 10px; font-size: .97rem; }
.service li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-top: .62em; flex: none; }
.service .btn { margin-top: auto; align-self: flex-start; }
/* aktivní karta = tmavě modrá (výchozí Hypotéky, jinak ta, na které je myš / prst) */
@media (hover: hover) and (pointer: fine) {
  .services:hover .service.is-active:not(:hover) { background: var(--white); color: var(--ink); border-color: var(--line); transform: none; box-shadow: none; }
  .services:hover .service.is-active:not(:hover) h3 { color: var(--ink); }
  .services:hover .service.is-active:not(:hover) > p { color: var(--ink-soft); }
  .services:hover .service.is-active:not(:hover) .service__icon { background: var(--cream); }
  .services:hover .service.is-active:not(:hover) .btn--dark { background: var(--sea); color: var(--white); }
  .services .service:hover { background: var(--sea); color: #e3eff5; border-color: var(--sea); transform: translateY(-6px); box-shadow: 0 24px 60px rgba(11,42,61,.28); }
  .services .service:hover h3 { color: var(--white); }
  .services .service:hover > p { color: #d3e6f0; }
  .services .service:hover .service__icon { background: var(--accent); color: var(--ink); }
  .services .service:hover .btn--dark { background: var(--accent); color: var(--ink); }
}
.service.is-active { background: var(--sea); color: #e3eff5; border-color: var(--sea); transform: translateY(-6px); box-shadow: 0 24px 60px rgba(11,42,61,.28); }
.service.is-active h3 { color: var(--white); }
.service.is-active > p { color: #d3e6f0; }
.service.is-active .service__icon { background: var(--accent); color: var(--ink); }
.service.is-active .btn--dark { background: var(--accent); color: var(--ink); }
@media (max-width: 980px) { .services { grid-template-columns: 1fr; max-width: 640px; } }

/* ---------- PFP ---------- */
.pfp { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pfp__photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.pfp__photo img { width: 100%; height: 100%; object-fit: cover; }
.pfp__seal { position: absolute; right: 18px; bottom: 18px; width: 118px; height: 118px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-weight: 800; line-height: 1; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.pfp__seal b { font-size: 2.2rem; display: block; }
.pfp__seal span { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; }
.pfp__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.pfp__item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); padding: 18px 20px; }
.pfp__item strong { color: var(--white); display: block; margin-bottom: 4px; }
.pfp__item span { color: #9ec0d2; font-size: .9rem; }
.pfp__cert { font-size: .88rem; color: #9ec0d2; }
@media (max-width: 900px) { .pfp { grid-template-columns: 1fr; } .pfp__photo { max-width: 420px; } .pfp__list { grid-template-columns: 1fr; } }

/* ---------- Proč já ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__card { border-top: 3px solid var(--sea); padding-top: 22px; }
.why__card h3 { font-size: 1.2rem; }
.why__card p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
.why__icon { width: 44px; height: 44px; color: var(--sea); margin-bottom: 14px; }
@media (max-width: 980px) { .why { grid-template-columns: 1fr 1fr; gap: 32px 20px; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ---------- Postup ---------- */
.process { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.process__photo { border-radius: var(--radius); overflow: hidden; }
.process__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border: 0; }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--sea); line-height: 1.2; }
.steps h3 { margin: 0 0 4px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } }

/* ---------- Kalkulačka ---------- */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.calc__form { padding: clamp(24px, 4vw, 44px); display: grid; gap: 28px; }
.calc__field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; margin-bottom: 10px; }
.calc__field output { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: var(--cream); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); border: 4px solid var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.25); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 4px solid var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.25); cursor: pointer; }
.calc__hint { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-soft); margin-top: 6px; }
.calc__result { background: linear-gradient(160deg, var(--sea), var(--ink)); color: var(--white); padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; }
.calc__result small { color: #9ec0d2; }
.calc__big { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.8rem); letter-spacing: -.03em; line-height: 1; margin: 8px 0 26px; font-variant-numeric: tabular-nums; }
.calc__big span { font-size: .4em; font-weight: 600; color: #9ec0d2; letter-spacing: 0; }
.calc__rows { display: grid; gap: 10px; font-size: .95rem; color: #cfe1ea; margin-bottom: 28px; }
.calc__rows div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 10px; }
.calc__rows strong { color: var(--white); font-variant-numeric: tabular-nums; }
.calc__cta { margin-top: auto; display: grid; gap: 10px; }
.calc__note { font-size: .82rem; color: var(--ink-soft); margin-top: 16px; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2a3d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent); }
.faq details p { margin: 0 0 22px; color: var(--ink-soft); max-width: 640px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__person { display: flex; align-items: center; gap: 18px; margin: 28px 0; }
.contact__person img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.contact__person strong { display: block; color: var(--white); font-size: 1.1rem; }
.contact__person span { color: #9ec0d2; font-size: .92rem; }
.contact__links { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.contact__links a { display: flex; align-items: center; gap: 14px; color: var(--white); text-decoration: none; font-size: 1.08rem; }
.contact__links a:hover { color: var(--accent); }
.contact__links svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.contact__social { display: flex; gap: 12px; }
.contact__social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; color: var(--white); }
.contact__social a:hover { background: var(--white); color: var(--ink); }
.contact__social svg { width: 20px; height: 20px; }

.tabs { background: var(--white); color: var(--ink); border-radius: var(--radius); overflow: hidden; }
.tabs__nav { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); }
.tabs__nav button { border: 0; background: transparent; padding: 18px; font: 600 1rem var(--font-body); cursor: pointer; color: var(--ink-soft); }
.tabs__nav button[aria-selected="true"] { background: var(--white); color: var(--ink); }
.tabs__panel { padding: clamp(22px, 3.5vw, 36px); }
.tabs__panel[hidden] { display: none; }
.calendar-frame { width: 100%; height: 640px; border: 0; border-radius: var(--radius-sm); background: var(--paper); }

.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); outline: none; background: var(--white); }
.form textarea { min-height: 120px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .86rem; color: var(--ink-soft); }
.form .check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.form .hp { position: absolute; left: -9999px; }
.form__status { font-size: .95rem; border-radius: var(--radius-sm); padding: 14px 16px; display: none; }
.form__status.is-ok { display: block; background: var(--mint); color: var(--mint-ink); }
.form__status.is-err { display: block; background: #fde2d6; color: #7a2a0c; }
.free-note { display: flex; align-items: center; gap: 10px; background: var(--mint); color: var(--mint-ink); border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 600; font-size: .92rem; margin-bottom: 20px; }
.free-note svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Patička ---------- */
.footer { background: #06202f; color: #8fb0c2; font-size: .86rem; padding: 48px 0 110px; }
.footer p { margin: 0 0 .7em; max-width: 900px; }
.footer a { color: #cfe1ea; }
.footer__top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .logo { color: var(--white); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__nav a { text-decoration: none; }

/* ---------- Plovoucí WhatsApp + Chatbot Jenda ---------- */
.fab-wa { position: fixed; right: 24px; bottom: 92px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.4); transition: transform .2s; }
.fab-wa:hover { transform: scale(1.07); }
.fab-wa svg { width: 30px; height: 30px; }

.jenda-fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; align-items: center; gap: 10px; border: 0; cursor: pointer; background: var(--ink); color: var(--white); border-radius: 999px; padding: 8px 20px 8px 8px; font: 600 .98rem var(--font-body); box-shadow: 0 14px 40px rgba(11,42,61,.35); transition: transform .2s; }
.jenda-fab:hover { transform: translateY(-2px); }
.jenda-fab img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--accent); }
.jenda-fab .dot { position: absolute; left: 40px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: #25d366; border: 2px solid var(--ink); }
.jenda-fab.is-hidden { display: none; }

.jenda { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: min(390px, calc(100vw - 24px)); height: min(620px, calc(100vh - 40px)); background: var(--paper); border-radius: 22px; box-shadow: 0 30px 80px rgba(11,42,61,.35); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: jendaIn .22s ease; }
.jenda[hidden] { display: none; }
@keyframes jendaIn { from { opacity: 0; transform: scale(.92) translateY(10px); } to { opacity: 1; transform: none; } }
.jenda__head { background: linear-gradient(135deg, var(--sea), var(--ink)); color: var(--white); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.jenda__head img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--accent); }
.jenda__head strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.jenda__head span { font-size: .78rem; color: #9ec0d2; }
.jenda__close { margin-left: auto; background: rgba(255,255,255,.1); border: 0; color: var(--white); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; }
.jenda__body { flex: 1; overflow-y: auto; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: .95rem; line-height: 1.5; animation: jendaIn .2s ease; }
.msg p { margin: 0 0 .5em; } .msg p:last-child { margin: 0; }
.msg--bot { background: var(--white); border-bottom-left-radius: 6px; align-self: flex-start; box-shadow: 0 2px 8px rgba(11,42,61,.06); }
.msg--me { background: var(--sea); color: var(--white); border-bottom-right-radius: 6px; align-self: flex-end; }
.msg a { color: var(--accent); font-weight: 600; }
.msg--typing { color: var(--ink-soft); font-style: italic; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; max-width: 100%; }
.chip { border: 1.5px solid var(--ink); background: transparent; border-radius: 999px; padding: 8px 14px; font: 500 .88rem var(--font-body); cursor: pointer; color: var(--ink); text-decoration: none; }
.chip:hover { background: var(--ink); color: var(--white); }
.chip--accent { background: var(--accent); border-color: var(--accent); }
.chip--wa { background: #25d366; border-color: #25d366; color: #06301a; }
.jenda__input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.jenda__input input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 16px; font: inherit; font-size: .95rem; background: var(--paper); }
.jenda__input input:focus { outline: none; border-color: var(--ink); }
.jenda__input button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.jenda__input button svg { width: 20px; height: 20px; }
.jenda__legal { font-size: .7rem; color: var(--ink-soft); text-align: center; padding: 0 12px 8px; background: var(--white); }
@media (max-width: 560px) {
  .jenda { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; }
  .jenda-fab { padding: 6px; } .jenda-fab .label { display: none; }
  .fab-wa { right: 20px; bottom: 84px; width: 54px; height: 54px; }
}

/* ---------- Jednoduchá textová stránka (GDPR apod.) ---------- */
.page { max-width: 780px; }
.page h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* ==========================================================================
   Klientské nabídky (/nabidky/…)
   ========================================================================== */
.offer-hero { background: var(--ink); color: var(--white); padding: 56px 0 48px; }
.offer-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); color: var(--white); }
.offer-hero .lead { color: #b8d2df; }
.offer-meta { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 18px; font-size: .92rem; color: #9ec0d2; }
.offer-meta strong { color: var(--white); }
.offer-section { padding: 44px 0; border-bottom: 1px solid var(--line); }
.table-wrap { overflow-x: auto; margin-top: 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { background: var(--cream); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.compare tr.is-best td { background: #fff0e8; font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }
.badge { display: inline-block; background: var(--accent); color: var(--ink); border-radius: 999px; font-size: .72rem; padding: 3px 10px; margin-left: 8px; font-weight: 700; vertical-align: middle; }
.recommend { background: var(--cream); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 24px 28px; margin-top: 20px; }
.disclaimer { font-size: .82rem; color: var(--ink-soft); padding: 32px 0 48px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .header, .nav-toggle, .no-print, .fab-wa, .jenda-fab, .jenda { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .offer-hero { background: #fff; color: var(--ink); padding: 0 0 16px; }
  .offer-hero h1, .offer-hero .lead, .offer-meta, .offer-meta strong { color: var(--ink); }
}

/* ---------- Doladění pro telefony ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .lead, .hero .lead { font-size: 1.05rem; }
  .section-head { margin-bottom: 32px; }
  .trust { padding: 18px 0; }
  .trust__list { display: grid; grid-template-columns: 1fr; gap: 10px; font-size: .95rem; }
  .service { padding: 28px 22px 24px; }
  .service.is-active { transform: none; }
  .pfp__seal { width: 92px; height: 92px; } .pfp__seal b { font-size: 1.7rem; }
  .calc__form, .calc__result { padding: 24px 20px; }
  .calc__field output { font-size: 1.05rem; }
  .tabs__nav button { padding: 15px 8px; font-size: .92rem; }
  .tabs__panel { padding: 20px 16px; }
  .calendar-frame { height: 560px; }
  .float-card { padding: 10px 14px; font-size: .82rem; }
  .float-card strong { font-size: .88rem; }
  .float-card__icon { width: 36px; height: 36px; }
  .plan__point { grid-template-columns: 38px 1fr; gap: 12px; }
  .plan__num { width: 38px; height: 38px; }
  .steps li { grid-template-columns: 44px 1fr; }
  .footer { padding-bottom: 120px; }
}

/* ---------- O mně ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about__video { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--ink); aspect-ratio: 16 / 9; }
.about__video video { width: 100%; height: 100%; display: block; object-fit: cover; }
.about__sign { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--accent); margin-top: 8px; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ---------- Zdarma ---------- */
.free { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.free__card { background: var(--white); border-radius: var(--radius); padding: 30px 28px; border: 1px solid var(--line); }
.free__num { width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; margin-bottom: 18px; }
.free__card h3 { font-size: 1.2rem; }
.free__card p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
@media (max-width: 900px) { .free { grid-template-columns: 1fr; } }

/* ---------- Reference ---------- */
.rating { display: flex; align-items: center; gap: 14px; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px 10px 12px; }
.rating strong { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; background: var(--sea); color: var(--white); border-radius: 999px; padding: 4px 14px; }
.rating span { display: grid; font-size: .88rem; color: var(--ink-soft); line-height: 1.3; }
.review__stars { color: #f5a623; letter-spacing: 2px; font-size: 1.05rem; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; font-size: 1rem; line-height: 1.6; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.review figcaption small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .8rem; margin-left: auto; }
.review__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.reviews__more { margin-top: 24px; text-align: center; }
.reviews__more a { font-weight: 600; color: var(--ink); }
@media (max-width: 980px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .reviews { grid-template-columns: 1fr; } .rating { padding: 8px 16px 8px 8px; } }

/* ---------- Partneři ---------- */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partners__group { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.partners__group h3 { font-size: 1.05rem; margin-bottom: 16px; }
.partners__group ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.partners__group li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .86rem; font-weight: 500; }
@media (max-width: 980px) { .partners { grid-template-columns: 1fr; } }

/* ---------- Fixace ---------- */
.fixace { background: linear-gradient(120deg, var(--sea), var(--ink-2)); color: var(--white); padding: clamp(40px, 6vw, 64px) 0; }
.fixace__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.fixace h2 { margin-bottom: .3em; }
.fixace p { margin: 0; max-width: 620px; font-size: 1.08rem; }
.fixace__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.fixace h2 { color: var(--white); }
.fixace p { color: #d3e6f0; }
.fixace .btn--ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.fixace .btn--ghost:hover { background: var(--white); color: var(--ink); }
@media (max-width: 600px) { .fixace__cta, .fixace__cta .btn { width: 100%; } }

/* ---------- Přepínač kalkulaček ---------- */
.calc-switch { display: inline-flex; background: var(--cream); border-radius: 999px; padding: 5px; margin-bottom: 18px; gap: 4px; flex-wrap: wrap; }
.calc-switch button { border: 0; background: transparent; padding: 11px 20px; border-radius: 999px; font: 600 .95rem var(--font-body); color: var(--ink-soft); cursor: pointer; }
.calc-switch button[aria-selected="true"] { background: var(--sea); color: var(--white); }
.calc[hidden] { display: none; }
.calc__check { display: flex; gap: 10px; align-items: center; font-weight: 500; cursor: pointer; }
.calc__check input { width: 20px; height: 20px; accent-color: var(--accent); }
@media (max-width: 600px) { .calc-switch { display: flex; } .calc-switch button { flex: 1; padding: 11px 10px; font-size: .88rem; } }

/* ---------- Mapa ---------- */
.map { position: relative; border-radius: var(--radius-sm); overflow: hidden; margin: 0 0 24px; border: 1px solid rgba(255,255,255,.14); }
.map iframe { width: 100%; height: 220px; border: 0; display: block; filter: grayscale(.2); }
.map__btn { position: absolute; right: 10px; bottom: 10px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .85rem; padding: 8px 14px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.2); }

/* ---------- Cesta k Vašemu domu (assets/js/journey.js) ---------- */
.nowrap { white-space: nowrap; }
body { position: relative; }
.journey { position: absolute; top: 0; left: 0; z-index: 5; pointer-events: none; overflow: visible; }
.journey__base { stroke: var(--accent); stroke-opacity: .22; stroke-width: 3.5; stroke-dasharray: 2 11; stroke-linecap: round; }
.journey__line { stroke: var(--accent); stroke-width: 3.5; stroke-dasharray: 2 11; stroke-linecap: round; }
.journey__reveal { stroke-width: 14; }
.journey:not(.is-wide) .journey__base, .journey:not(.is-wide) .journey__line { stroke-width: 2.5; stroke-dasharray: none; }
.journey:not(.is-wide) .journey__base { stroke-opacity: .2; }
.journey a { pointer-events: auto; cursor: pointer; }
.journey__stop circle { fill: var(--white); stroke: var(--accent); stroke-width: 2.5; transition: fill .35s ease, stroke .35s ease; }
.journey__stop path { stroke: var(--accent); transition: stroke .35s ease; }
.journey__stop text { font: 700 11px var(--font-body); fill: #d9531f; letter-spacing: .02em; paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.journey__stop.is-reached circle { fill: var(--accent); stroke: var(--accent); }
.journey__stop.is-reached path { stroke: var(--white); }
.journey__stop.is-goal circle { stroke: var(--accent); stroke-width: 3; }
.journey__stop.is-goal.is-reached circle { fill: var(--accent); }
.journey__stop.is-goal.is-reached path:not(.journey__flag) { stroke: var(--ink); }
.journey__flag { fill: var(--accent); stroke: var(--white) !important; stroke-width: 2; }
.journey__stop.is-goal text { fill: var(--accent); stroke: var(--ink); font-size: 12px; }
.journey:not(.is-wide) .journey__stop circle { stroke-width: 2; }

@media print { .journey { display: none !important; } }

/* ---------- Telefony: klidnější zobrazení ---------- */
@media (max-width: 899px) {
  .journey { display: none !important; }          /* cestička jen na počítači */
}
@media (max-width: 600px) {
  .fab-wa { display: none; }                        /* WhatsApp je v menu, kontaktu i u Jendy */
  .jenda-fab { right: 12px; bottom: 12px; }
  .jenda-fab img { width: 44px; height: 44px; }
  .stats { padding-right: 0; }
}
.nav__wa { display: none; }
@media (max-width: 940px) { .nav__wa { display: block; color: #128c4a !important; font-weight: 600 !important; } }

/* ---------- Víc hluboké mořské modré ---------- */
.section--deep { background: radial-gradient(1200px 500px at 85% -10%, rgba(42,112,153,.35), transparent 60%), var(--ink); }
.section--deep .service { border-color: rgba(255,255,255,.08); }
.section--deep .service.is-active, .section--deep .services .service:hover { background: var(--sea-2); border-color: var(--sea-2); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.section--deep .partners__group { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.section--deep .partners__group h3 { color: var(--white); }
.section--deep .partners__group li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #e3eff5; }
.section--deep .faq details { border-color: rgba(255,255,255,.12); }
.section--deep .faq summary { color: var(--white); }
.section--deep .faq details p { color: #b8d2df; }
.section--deep .faq details p a { color: var(--accent-2); }
.section--deep .faq summary::after { background-color: rgba(255,255,255,.9); }
.section--deep .faq details[open] summary::after { background-color: var(--accent); }
.section--deep .service:not(.is-active) { color: var(--ink); }
.section--deep .service:not(.is-active) h3 { color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .section--deep .services .service:hover, .section--deep .services .service:hover h3 { color: var(--white); }
  .section--deep .services:hover .service.is-active:not(:hover), .section--deep .services:hover .service.is-active:not(:hover) h3 { color: var(--ink); }
  .section--deep .services:hover .service.is-active:not(:hover) { background: var(--white); }
}
