/* Fér Řemeslníci s.r.o. — web
   Barvy z loga: šedá #54676D, modrá #56A3F1 */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/nunito-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/nunito-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Barvy z loga Fér Řemeslníci */
  --brand-gray: #54676d;
  --brand-blue: #56a3f1;
  /* Odvozené odstíny (čitelnost textu a tlačítek) */
  --gray-950: #1c2528;
  --gray-900: #263236;
  --gray-700: #3e4f54;
  --blue-700: #2b76c4;
  --blue-800: #215f9f;
  --blue-100: #d6eafd;
  --blue-050: #eef6fe;
  --mist: #f2f5f6;
  --mist-200: #e3e9eb;
  --paper: #ffffff;
  --ink: #1f2a2e;
  --text: #34444a;
  --muted: #5c6d73;
  --line: #dde4e6;

  --f-head: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(64px, 9vw, 120px);
  --r: 8px;
  --r-lg: 14px;
  --shadow: 0 1px 2px rgba(28, 37, 40, .06), 0 10px 28px rgba(28, 37, 40, .09);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-gray); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-800); }
:focus-visible { outline: 2px solid var(--blue-700); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.2vw, 4.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 46ch; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--sec) 0; }
.section--stone { background: var(--mist); }
.section--navy { background: var(--brand-gray); color: #d7e0ec; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-head); font-weight: 800;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-700); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--brand-blue); }

.sec-head { display: grid; gap: 1rem 4rem; grid-template-columns: 1fr; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head h2 { margin: 0; max-width: 18ch; }
.sec-head p { color: var(--muted); max-width: 52ch; }
@media (min-width: 880px) { .sec-head--split { grid-template-columns: 1fr 1fr; align-items: end; } }

.skip { position: absolute; left: -9999px; top: 0; background: var(--brand-gray); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--f-head); font-weight: 800; font-size: 1rem; letter-spacing: .01em;
  padding: .95em 1.6em; border-radius: var(--r); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--primary { background: var(--blue-700); color: #fff; }
.btn--primary:hover { background: var(--blue-800); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn--outline { border-color: var(--brand-gray); color: var(--brand-gray); }
.btn--outline:hover { background: var(--brand-gray); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.link-arrow {
  font-family: var(--f-head); font-weight: 600; font-size: .95rem;
  color: var(--brand-gray); text-decoration: none; display: inline-flex; align-items: center; gap: .5em;
}
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 84px; }

.logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; flex: none; }
.logo svg { height: 52px; width: auto; display: block; }
@media (max-width: 480px) { .logo svg { height: 44px; } }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { list-style: none; display: flex; gap: 1.75rem; margin: 0; padding: 0; }
.nav a:not(.btn) {
  font-family: var(--f-head); font-weight: 700; font-size: 1rem; color: var(--ink);
  text-decoration: none; padding: .4rem 0; position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 2px; background: var(--brand-blue);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-phone { font-family: var(--f-head); font-weight: 800; font-size: 1rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav .btn { padding: .75em 1.25em; font-size: .88rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; margin-right: -10px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform .25s var(--ease), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 84px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.5rem;
    box-shadow: 0 16px 32px rgba(28, 37, 40, .12);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a:not(.btn) { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav ul a:not(.btn)::after { display: none; }
  .nav-phone { padding: 1.1rem 0 .9rem; font-size: 1.1rem; }
  .nav .btn { padding: 1em; font-size: .95rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--gray-950); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 37, 40, .9) 0%, rgba(38, 50, 54, .74) 45%, rgba(38, 50, 54, .2) 100%),
    linear-gradient(0deg, rgba(28, 37, 40, .75) 0%, rgba(28, 37, 40, 0) 45%);
}
.hero .wrap { position: relative; }
.hero-body { padding: clamp(80px, 13vw, 168px) 0 clamp(56px, 8vw, 96px); max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--brand-blue); }
.hero .lead { color: rgba(255, 255, 255, .82); max-width: 40ch; margin-bottom: 2.25rem; }
.hero .eyebrow { color: var(--blue-100); }

.hero-facts {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero-facts > div { padding: 1.6rem 1.5rem 1.8rem 0; }
.hero-facts > div + div { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, .18); }
.hero-facts strong { display: block; font-family: var(--f-head); font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: .2rem; }
.hero-facts span { font-size: .9rem; color: rgba(255, 255, 255, .7); line-height: 1.45; display: block; }
@media (max-width: 880px) {
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-facts > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .18); }
}
@media (max-width: 480px) {
  .hero-facts > div, .hero-facts > div + div { padding: 1.2rem .9rem 1.3rem 0; }
  .hero-facts > div:nth-child(even) { padding-left: .9rem; }
  .hero-facts strong { font-size: .98rem; }
  .hero-facts span { font-size: .84rem; }
}

/* Podstránky – hlavička stránky */
.page-hero { background: var(--brand-gray); color: #e6eef0; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: clamp(-40px, 2vw, 64px); top: 50%; transform: translateY(-50%);
  width: clamp(160px, 24vw, 300px); aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='46' height='46' rx='10' fill='%2356A3F1'/%3E%3Crect x='54' width='46' height='46' rx='10' fill='%23ffffff'/%3E%3Crect y='54' width='46' height='46' rx='10' fill='%23ffffff'/%3E%3Crect x='54' y='54' width='46' height='46' rx='10' fill='%2356A3F1'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .16;
}
.page-hero .wrap { position: relative; padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(56px, 7vw, 88px); }
.page-hero h1 { color: #fff; max-width: 16ch; }
.page-hero .lead { color: rgba(255, 255, 255, .78); max-width: 52ch; }
.page-hero .eyebrow { color: var(--blue-100); }
.crumbs { font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 1.5rem; }
.crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Karty služeb ---------- */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist-200); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1.75rem 1.75rem 2rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.card-body h3 { margin-bottom: .35rem; }
.card-body p { color: var(--muted); font-size: .98rem; }
.card-body .link-arrow { margin-top: auto; padding-top: 1rem; }
.tag { font-family: var(--f-head); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-700); }

/* ---------- Split (obrázek + text) ---------- */
.split { display: grid; gap: clamp(32px, 6vw, 88px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.split-media--wide img { aspect-ratio: 4 / 3; }
.split-media::after {
  content: ""; position: absolute; left: -16px; bottom: -16px; width: 42%; height: 42%;
  border-left: 6px solid var(--brand-blue); border-bottom: 6px solid var(--brand-blue); border-bottom-left-radius: 18px;
  pointer-events: none;
}
@media (max-width: 600px) { .split-media::after { left: -8px; bottom: -8px; } }

.checks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: .9rem; align-items: start; }
.checks li::before {
  content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-050)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B76C4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}
.checks strong { display: block; font-family: var(--f-head); color: var(--ink); font-size: 1.02rem; margin-bottom: .1rem; }
.checks span { color: var(--muted); font-size: .97rem; }

/* ---------- Postup ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: repeat(3, 1fr); counter-reset: s; }
.steps li { counter-increment: s; padding: 2rem 2rem 2.25rem 0; border-top: 1px solid var(--line); position: relative; }
.steps li:not(:nth-child(3n+1)) { padding-left: 2rem; border-left: 1px solid var(--line); }
.steps li::before {
  content: counter(s, decimal-leading-zero); display: block;
  font-family: var(--f-head); font-weight: 900; font-size: 2.6rem; line-height: 1; letter-spacing: -.02em;
  color: var(--brand-blue); margin-bottom: 1rem;
}
.steps h3 { margin-bottom: .4rem; }
.steps p { color: var(--muted); font-size: .97rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
  .steps li { padding-right: 1.5rem; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:nth-child(even) { padding: 1.5rem 0 1.75rem; border-left: 0; display: grid; grid-template-columns: 64px 1fr; column-gap: .5rem; }
  .steps li::before { font-size: 2rem; grid-row: span 2; }
}

/* ---------- Citát / vize ---------- */
.quote { max-width: 980px; margin: 0 auto; text-align: center; }
.quote blockquote {
  margin: 0; font-family: var(--f-head); font-weight: 700; letter-spacing: -.01em; color: #fff;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.25; text-wrap: balance;
}
.quote blockquote::before { content: "„"; color: var(--brand-blue); }
.quote blockquote::after { content: "“"; color: var(--brand-blue); }
.quote figcaption { margin-top: 1.5rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .85); font-family: var(--f-head); font-weight: 700; }

/* ---------- Hodnoty ---------- */
.values { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; grid-template-columns: repeat(5, 1fr); }
.values > div { background: #fff; padding: 2rem 1.5rem 2.25rem; }
.values h3 { font-size: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.values h3::before { content: ""; width: 10px; height: 10px; background: var(--brand-blue); border-radius: 3px; flex: none; }
.values p { color: var(--muted); font-size: .95rem; }
@media (max-width: 1100px) { .values { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .values { grid-template-columns: 1fr; } }

/* ---------- Služby (detail) ---------- */
.service { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) {
  .service { grid-template-columns: 5fr 6fr; }
  .service:nth-child(even) > .service-media { order: 2; }
}
.service-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.service h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); margin-top: .35rem; }
.service p { color: var(--muted); }
.bullets { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .55rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.bullets li { position: relative; padding-left: 1.35rem; font-size: .97rem; color: var(--text); }
.bullets li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--brand-blue); border-radius: 2px; }

.icon-tile {
  width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: var(--mist);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.icon-tile svg { width: 34%; height: auto; color: var(--brand-gray); opacity: .9; }
.icon-tile::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--mist-200) 1px, transparent 1px), linear-gradient(90deg, var(--mist-200) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .7;
}
.icon-tile svg { position: relative; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.chips li { font-family: var(--f-head); font-weight: 600; font-size: .9rem; padding: .55em 1.05em; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }

/* ---------- Záruka kvality ---------- */
.promises { display: grid; gap: 2.5rem 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); counter-reset: p; }
.promises > div { counter-increment: p; border-top: 3px solid var(--brand-blue); padding-top: 1.25rem; }
.promises h3::before { content: counter(p) ". "; color: var(--blue-700); }
.promises p { color: var(--muted); font-size: .97rem; }

.partners { display: flex; flex-wrap: wrap; gap: 1rem 3rem; align-items: center; }
.partners span { font-family: var(--f-head); font-weight: 800; font-size: 1.35rem; color: var(--muted); letter-spacing: -.01em; }

/* ---------- CTA pás ---------- */
.cta { background: var(--blue-700); color: #fff; position: relative; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; right: -30px; bottom: -50px; width: 260px; height: 260px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='46' height='46' rx='10' fill='%23ffffff'/%3E%3Crect x='54' width='46' height='46' rx='10' fill='%23ffffff'/%3E%3Crect y='54' width='46' height='46' rx='10' fill='%23ffffff'/%3E%3Crect x='54' y='54' width='46' height='46' rx='10' fill='%23ffffff'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .1;
}
.cta .wrap { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.cta h2 { color: #fff; margin-bottom: .35em; max-width: 20ch; }
.cta p { color: rgba(255, 255, 255, .9); max-width: 48ch; }
.cta .btn--primary { background: #fff; color: var(--ink); }
.cta .btn--primary:hover { background: var(--blue-050); color: var(--ink); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: clamp(40px, 6vw, 80px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 7fr 5fr; } }

.form { display: grid; gap: 1.1rem 1.25rem; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-family: var(--f-head); font-weight: 600; font-size: .85rem; color: var(--ink); margin-bottom: .45rem; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none; padding-right: 2.5rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2354676D' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .9rem center / 18px no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-700); box-shadow: 0 0 0 3px rgba(86, 163, 241, .25); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c0392b; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem; }
.radios label {
  margin: 0; font-family: var(--f-body); font-weight: 500; font-size: .95rem; color: var(--text);
  border: 1.5px solid var(--line); border-radius: 999px; padding: .55em 1.05em; cursor: pointer; display: inline-flex; align-items: center; gap: .5em;
  transition: border-color .15s, background .15s;
}
.radios input { width: auto; accent-color: var(--blue-700); margin: 0; }
.radios label:has(input:checked) { border-color: var(--brand-gray); background: #f2f5f9; color: var(--ink); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-status { display: none; padding: 1rem 1.25rem; border-radius: var(--r); font-size: .97rem; }
.form-status.is-ok { display: block; background: #edf7ef; border: 1px solid #b7dcc0; color: #1d5a2d; }
.form-status.is-err { display: block; background: #fbeeee; border: 1px solid #e8bcbc; color: #8a2222; }
.btn[disabled] { opacity: .65; cursor: progress; }

.contact-card { background: var(--mist); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 40px); }
.contact-card h2 { font-size: 1.35rem; margin-bottom: 1.25rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: .9rem; align-items: center; }
.contact-list .ico { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--blue-700); }
.contact-list .ico svg { width: 18px; height: 18px; }
.contact-list small { display: block; font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.contact-list a, .contact-list b { font-family: var(--f-head); font-weight: 700; color: var(--brand-gray); text-decoration: none; font-size: 1.05rem; }
.contact-list a:hover { color: var(--blue-800); }
.company dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 0; font-size: .92rem; }
.company dt { color: var(--muted); }
.company dd { margin: 0; color: var(--ink); }

/* ---------- Text (právní stránky) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.prose h3 { font-size: 1.12rem; margin-top: 1.75rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }

/* ---------- Patička ---------- */
.site-footer { background: var(--mist); color: var(--muted); font-size: .94rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--blue-700); }
.footer-top { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; padding: clamp(56px, 7vw, 80px) 0 3rem; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--ink); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer .logo svg { height: 60px; }
.footer-about { margin-top: 1.25rem; max-width: 34ch; }
.footer-bottom { border-top: 1px solid var(--line); padding: 1.5rem 0 2rem; display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .84rem; color: var(--muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* ---------- Drobnosti ---------- */
.center { text-align: center; }
.mt-l { margin-top: clamp(32px, 4vw, 48px); }
.muted { color: var(--muted); }
.notfound { min-height: 60vh; display: grid; align-content: center; }
.notfound .big { font-family: var(--f-head); font-weight: 900; font-size: clamp(5rem, 16vw, 10rem); line-height: 1; color: var(--brand-blue); letter-spacing: -.03em; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
