/* ==========================================================================
   Čistě Profi — landing page

   Paleta: svěží tyrkys (voda, čistota) a tmavě modrá (důvěra). Živý tyrkys
   se používá jen na tmavém pozadí; všude, kde na tyrkysové leží bílý text, je
   přechod ztmavený tak, aby kontrast splnil WCAG 2.1 AA (bílá na #0B7F8C
   dává 4,7:1, na #0A4C5E 9,5:1, na pásu #0B6F7D 5,9:1).
   ========================================================================== */

:root {
  /* tyrkys */
  --c-300: #8be8e4;
  --c-400: #2ec4c0;
  --c-500: #14a3a8;
  --c-600: #0b7f8c;
  --c-700: #096a77;
  --c-800: #0a4c5e;

  /* neutrály — studená modrá, ať tyrkys nepůsobí křiklavě */
  --ink:      #0c2340;
  --ink-soft: #2a4260;
  --body:     #4b6177;
  --line:     #d6e5ee;
  --surface:  #ffffff;
  --paper:    #f4fafc;
  --paper-2:  #e6f3f6;

  /* --grad nese bílý text a přechodová čísla na světlém pozadí — všude ≥ 4,5:1.
     --grad-hot je jen dekorace na tmavém pozadí, kde je živý odstín čitelný. */
  --grad:     linear-gradient(135deg, #0b7f8c 0%, #0a4c5e 100%);
  --grad-hot: linear-gradient(135deg, var(--c-400) 0%, var(--c-600) 100%);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(12, 35, 64, .06), 0 2px 8px rgba(12, 35, 64, .05);
  --shadow:    0 2px 4px rgba(12, 35, 64, .06), 0 12px 32px rgba(12, 35, 64, .1);
  --shadow-c:  0 8px 24px rgba(10, 76, 94, .26);

  --wrap: 1160px;
  --header-h: 74px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", ui-sans-serif, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3 { color: var(--ink); line-height: 1.14; letter-spacing: -.022em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -.012em; }
p  { margin: 0; }
a  { color: var(--c-800); }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--c-600);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: var(--r-sm); text-decoration: none; font-weight: 700;
  transition: top .18s;
}
.skip-link:focus { top: 12px; }

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
  padding: .72em 1.3em; border: 1px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn .ico { width: 1.05em; height: 1.05em; flex: none; fill: currentColor; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--solid { background-image: var(--grad); color: #fff; box-shadow: var(--shadow-c); }
.btn--solid:hover { box-shadow: 0 12px 30px rgba(10, 76, 94, .36); }

.btn--outline { border-color: rgba(255, 255, 255, .34); color: #fff; }
.btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, .09); }

.btn--ghost { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn--ghost:hover { border-color: var(--c-500); color: var(--c-800); }

.btn--lg { font-size: 1.02rem; padding: .88em 1.7em; }
.btn--block { width: 100%; }

/* ---------- hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 250, 252, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(12, 35, 64, .07);
  background: rgba(244, 250, 252, .95);
}
.site-header__inner {
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong {
  font-size: 1.16rem; font-weight: 800; color: var(--ink); letter-spacing: -.025em;
}
.brand__accent { color: var(--c-600); }
.brand__text em {
  font-style: normal; font-size: .68rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--c-800);
}

.nav { display: flex; gap: 4px; }
.nav a {
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .5em .8em; border-radius: 999px; transition: background-color .16s, color .16s;
}
.nav a:hover { background: var(--paper-2); color: var(--c-800); }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.btn--phone { font-variant-numeric: tabular-nums; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--surface); border-radius: 12px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 130% at 88% 6%, #123a63 0%, var(--ink) 46%, #06101f 100%);
  color: rgba(255, 255, 255, .78);
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 110px);
}
.hero__glow {
  position: absolute; inset: auto -10% -55% 45%;
  height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(46, 196, 192, .3), transparent 72%);
  filter: blur(10px);
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 70px); align-items: center;
}
.hero h1 { color: #fff; }
.hero .grad {
  background: linear-gradient(100deg, var(--c-300), var(--c-400) 55%, var(--c-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede {
  margin-top: 20px; max-width: 34em;
  font-size: clamp(1.03rem, 1.5vw, 1.16rem);
  color: rgba(255, 255, 255, .74);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  margin: 0 0 18px; font-size: .74rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--c-300);
}
.eyebrow--dark { color: var(--c-800); }
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--c-400);
  box-shadow: 0 0 0 4px rgba(46, 196, 192, .2);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(46, 196, 192, .2); }
  50%      { box-shadow: 0 0 0 8px rgba(46, 196, 192, .04); }
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px;
  padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .68);
}
.hero__trust li { display: flex; align-items: center; gap: .5em; }
.hero__trust li::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%;
  background: var(--grad-hot);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.4 8.3l3 3 6.2-6.6' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.4 8.3l3 3 6.2-6.6' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* pečeť se značkou */
.hero__seal {
  position: relative; justify-self: center;
  width: min(300px, 70vw); aspect-ratio: 1;
  display: grid; place-items: center;
}
.hero__seal img {
  position: relative; z-index: 2;
  width: 46%;
  filter: drop-shadow(0 10px 34px rgba(46, 196, 192, .4));
}
.seal__ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(46, 196, 192, .26);
}
.seal__ring--1 {
  inset: 12%;
  background: radial-gradient(closest-side, rgba(46, 196, 192, .14), rgba(46, 196, 192, .02) 70%, transparent);
  animation: breathe 7s ease-in-out infinite;
}
.seal__ring--2 { inset: 0; border-color: rgba(46, 196, 192, .14); animation: breathe 7s ease-in-out infinite reverse; }
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.045); opacity: .78; }
}

/* ---------- sekce ---------- */
.section { padding: clamp(60px, 7.5vw, 104px) 0; }
.section--alt { background: var(--paper-2); }
.section--dark {
  background: radial-gradient(110% 120% at 12% 0%, #123a63 0%, var(--ink) 55%, #06101f 100%);
  color: rgba(255, 255, 255, .74);
}
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section--dark .section__lede { color: rgba(255, 255, 255, .7); }

.section__head { max-width: 44rem; margin-bottom: clamp(34px, 4.5vw, 54px); }
.section__lede { margin-top: 16px; font-size: clamp(1rem, 1.4vw, 1.1rem); }

/* ---------- karty služeb ---------- */
.cards {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 26px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #b4e3e6; }
.card__ico {
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 15px; background: var(--paper-2); margin-bottom: 18px;
  transition: background-color .2s;
}
.card:hover .card__ico { background: #d2f0f2; }
.card__ico svg {
  width: 28px; height: 28px; fill: none;
  stroke: var(--c-800); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .96rem; }

/* ---------- pás se zatékáním ---------- */
.band { background-image: linear-gradient(135deg, #0b6f7d 0%, #083f52 100%); color: #fff; padding: clamp(34px, 4.5vw, 52px) 0; }
.band__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 26px; justify-content: space-between;
}
.band__copy { max-width: 40rem; }
.band h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.band p { margin-top: 10px; color: #fff; font-size: 1.02rem; }
/* Na tyrkysovém pásu by tyrkysové tlačítko zaniklo — obrací se na bílé. */
.band .btn--solid {
  background-image: none; background-color: #fff; color: var(--c-800);
  box-shadow: 0 10px 26px rgba(4, 30, 44, .28);
}

/* ---------- kroky ---------- */
.steps {
  display: grid; gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.step { position: relative; padding-top: 22px; border-top: 2px solid #d3e3ec; }
.step__num {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; background-image: var(--grad); color: #fff;
  font-weight: 800; font-size: .98rem; margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(10, 76, 94, .26);
}
.step h3 { margin-bottom: 7px; }
.step p { font-size: .95rem; }

/* ---------- split ---------- */
.split {
  display: grid; gap: clamp(34px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: start;
}

.checks { margin-top: 28px; display: grid; gap: 13px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .18em;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--paper-2); border: 1px solid #bddfe4;
}
.checks li::after {
  content: ""; position: absolute; left: 5px; top: .5em;
  width: 11px; height: 7px;
  border-left: 2px solid var(--c-800); border-bottom: 2px solid var(--c-800);
  transform: rotate(-45deg);
}

.split__stats { display: grid; gap: 14px; }
.stat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.stat strong {
  display: block; font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { display: block; margin-top: 4px; font-size: .93rem; }

/* ---------- kontakt ---------- */
.contact-list {
  margin-top: 34px; display: grid; gap: 22px 30px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.contact-list dt {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c-300); margin-bottom: 5px;
}
.contact-list dd { margin: 0; color: #fff; font-weight: 600; font-size: 1.02rem; }
/* Doplňující poznámka pod hodnotou (např. „dále dle domluvy") —
   nesmí vypadat jako další samostatná položka. */
.contact-list dd small {
  display: block; margin-top: 3px;
  font-size: .82rem; font-weight: 500; letter-spacing: 0;
  color: rgba(255, 255, 255, .68);
}
.contact-list a {
  display: inline-block; padding-block: 3px; /* pohodlnější cíl na mobilu */
  color: #fff; text-decoration: none; border-bottom: 1px solid rgba(46, 196, 192, .6);
}
.contact-list a:hover { color: var(--c-300); }

/* ---------- výzva k akci v kontaktu ---------- */
.contact-cta {
  background: var(--surface); border-radius: var(--r-lg);
  padding: clamp(26px, 3.2vw, 36px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}
/* Karta je bílá, ale leží v .section--dark, kde má h3 a strong bílou barvu —
   bez tohohle přebití by byl nadpis neviditelný. */
.contact-cta h3,
.contact-cta strong { color: var(--ink); }
.contact-cta h3 { font-size: 1.32rem; margin-bottom: 10px; }
.contact-cta > p { color: var(--body); font-size: .97rem; }
.contact-cta__actions { display: grid; gap: 12px; margin-top: 24px; }

/* Tlačítko --outline je navržené na tmavé pozadí; tady leží na bílé kartě,
   takže potřebuje vlastní, čitelné obarvení. */
.contact-cta .btn--outline { border-color: var(--line); color: var(--c-800); }
.contact-cta .btn--outline:hover { border-color: var(--c-500); background: var(--paper-2); }

.contact-cta__note {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: .84rem; color: #587083;
}

/* ---------- zápatí ---------- */
.site-footer {
  background: var(--paper-2); border-top: 1px solid var(--line);
  padding: 44px 0 40px; font-size: .92rem;
}
.site-footer__inner {
  display: grid; gap: 26px;
  grid-template-columns: auto 1fr auto; align-items: center;
}
.site-footer__brand { display: flex; align-items: center; gap: 13px; }
.site-footer__brand img { width: 48px; height: 48px; }
.site-footer__brand strong { display: block; color: var(--ink); font-size: 1.02rem; }
.site-footer__brand span { display: block; font-size: .85rem; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center; }
.site-footer__nav a {
  color: var(--ink-soft); text-decoration: none; font-weight: 600;
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: .35em;
}
.site-footer__nav a:hover { color: var(--c-800); }
.site-footer__legal { text-align: right; font-size: .84rem; line-height: 1.7; }
.site-footer__legal a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.site-footer__legal a:hover { color: var(--c-800); }
.credit { display: inline-block; margin-top: 6px; font-size: .8rem; opacity: .85; }
.credit a { border-bottom: 1px solid var(--line); }

/* ---------- mobilní volací lišta ---------- */
.call-bar {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.2em; border-radius: 999px;
  background-image: var(--grad); color: #fff;
  font-weight: 800; text-decoration: none;
  box-shadow: 0 8px 26px rgba(12, 35, 64, .32);
}
.call-bar .ico { width: 1.1em; height: 1.1em; fill: currentColor; }

/* ==========================================================================
   Responzivita
   ========================================================================== */

@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__seal { grid-row: 1; width: min(240px, 58vw); margin-bottom: 6px; justify-self: start; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .site-footer__legal { text-align: center; }
}

@media (max-width: 860px) {
  .btn--phone span { display: none; }
  .btn--phone { padding: .72em .9em; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .nav-toggle { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 2px; padding: 10px 18px 18px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(12, 35, 64, .12);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .78em .9em; font-size: 1.02rem; }

  .site-header__actions .btn--solid { display: none; }

  .hero { padding-bottom: 56px; }
  .hero__trust { gap: 8px 18px; font-size: .85rem; }

  .steps { grid-template-columns: 1fr; }

  .band__inner { flex-direction: column; align-items: flex-start; }
  .band .btn { width: 100%; }

  .call-bar { display: flex; }
  .site-footer { padding-bottom: 92px; }
}

@media (max-width: 420px) {
  .brand__mark { width: 34px; height: 34px; }
  .brand__text strong { font-size: 1.05rem; }
  .hero__cta .btn { width: 100%; }
}

/* ---------- přístupnost ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .card:hover { transform: none; }
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

@media print {
  .site-header, .call-bar, .hero__glow, .seal__ring { display: none !important; }
  body { background: #fff; color: #000; }
}
