/* ==========================================================================
   ZAservis s.r.o. — landing page
   Barvy vycházejí z loga (oranžový gradient #FF8B2B → #D86200). Živý odstín
   se používá jen na tmavém pozadí; všude, kde na oranžové leží bílý text,
   je gradient ztmavený tak, aby kontrast splnil WCAG 2.1 AA.
   ========================================================================== */

:root {
  /* brand */
  --o-300: #ffb277;
  --o-400: #ff8b2b;
  --o-500: #ee7719;
  --o-600: #d86200;
  --o-700: #b25000;
  --o-800: #a84a00;

  /* neutrals — teplý odstín, aby ladil s oranžovou */
  --ink:      #17120f;
  --ink-soft: #3a2f28;
  --body:     #5b4d44;
  --line:     #eadfd6;
  --surface:  #ffffff;
  --paper:    #fffaf5;
  --paper-2:  #fef4ea;

  /* --grad nese bílý text a gradientní čísla na světlém pozadí — všude ≥ 4,5:1.
     --grad-hot je pouze dekorace na tmavém pozadí, kde je živý odstín čitelný. */
  --grad:     linear-gradient(135deg, #c25700 0%, #9d4600 100%);
  --grad-hot: linear-gradient(135deg, var(--o-400) 0%, var(--o-600) 100%);

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

  --shadow-sm: 0 1px 2px rgba(23, 18, 15, .06), 0 2px 8px rgba(23, 18, 15, .04);
  --shadow:    0 2px 4px rgba(23, 18, 15, .05), 0 12px 32px rgba(23, 18, 15, .08);
  --shadow-o:  0 8px 24px rgba(216, 98, 0, .28);

  --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(--o-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(--o-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; }

/* ---------- buttons ---------- */
.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-o); }
.btn--solid:hover { box-shadow: 0 12px 30px rgba(216, 98, 0, .38); }

.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(--o-500); color: var(--o-800); }

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

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 250, 245, .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(23, 18, 15, .06);
  background: rgba(255, 250, 245, .94);
}
.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: 44px; height: 44px; }
.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__text em {
  font-style: normal; font-size: .68rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--o-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(--o-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%, #2c2018 0%, var(--ink) 46%, #100c0a 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(255, 139, 43, .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(--o-300), var(--o-400) 55%, var(--o-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(--o-300);
}
.eyebrow--dark { color: var(--o-800); }
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--o-400);
  box-shadow: 0 0 0 4px rgba(255, 139, 43, .2);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 139, 43, .2); }
  50%      { box-shadow: 0 0 0 8px rgba(255, 139, 43, .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ť s logem */
.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: 44%; /* => ~132 px; nad tim se raster 235x235 na retine rozmazava */
  filter: drop-shadow(0 10px 34px rgba(255, 139, 43, .38));
}
.seal__ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(255, 139, 43, .26);
}
.seal__ring--1 {
  inset: 12%;
  background: radial-gradient(closest-side, rgba(255, 139, 43, .14), rgba(255, 139, 43, .02) 70%, transparent);
  animation: breathe 7s ease-in-out infinite;
}
.seal__ring--2 { inset: 0; border-color: rgba(255, 139, 43, .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; }
}

/* ---------- sections ---------- */
.section { padding: clamp(60px, 7.5vw, 104px) 0; }
.section--alt { background: var(--paper-2); }
.section--dark {
  background: radial-gradient(110% 120% at 12% 0%, #2c2018 0%, var(--ink) 55%, #100c0a 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(288px, 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: #f3d9bf; }
.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: #fde8d2; }
.card__ico svg {
  width: 28px; height: 28px; fill: none;
  stroke: var(--o-800); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .96rem; }

/* ---------- havarijní pás ---------- */
.band { background-image: linear-gradient(135deg, #b85100 0%, #963f00 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; }
.band .btn--solid {
  background-image: none; background-color: #fff; color: var(--o-700);
  box-shadow: 0 10px 26px rgba(120, 52, 0, .26);
}

/* ---------- kroky ---------- */
.steps {
  display: grid; gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.step { position: relative; padding-top: 22px; border-top: 2px solid #f0dcc8; }
.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(216, 98, 0, .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;
}
.split--contact { 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 #f3d9bf;
}
.checks li::after {
  content: ""; position: absolute; left: 5px; top: .5em;
  width: 11px; height: 7px;
  border-left: 2px solid var(--o-800); border-bottom: 2px solid var(--o-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(--o-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ř. "dle domluvy i další") —
   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; /* pohodlnejsi cil na mobilu */
  color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 139, 43, .55);
}
.contact-list a:hover { color: var(--o-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 bílou barvu —
   bez tohohle přebití je nadpis neviditelný. Totéž platí pro <strong>. */
.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(--o-800); }
.contact-cta .btn--outline:hover { border-color: var(--o-500); background: var(--paper-2); }

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

/* ---------- footer ---------- */
.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(--o-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(--o-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(23, 18, 15, .3);
}
.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; }
  .hero__seal img { width: 46%; }
  .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(23, 18, 15, .1);
    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: 38px; height: 38px; }
  .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; }
}
