/* SOFIN-STAV — vizuální styl webu
   Světlý, vzdušný layout, zaoblené karty, měkké stíny.
   Barevnost vychází z loga: antracit + stavební oranžová. */

:root {
  --ink: #1a1f26;
  --ink-2: #262c34;
  --ink-3: #3f4650;
  --steel: #5f666d;
  --line: #e4e1db;
  --line-2: #eeece7;
  --paper: #f7f6f3;
  --paper-2: #edeae4;
  --white: #fff;
  --orange: #e2721c;
  --orange-2: #a54b0c;
  --orange-btn: #b05410;
  --orange-soft: #fdf1e6;
  --focus: #1668d6;

  --w: 1200px;
  --sec: clamp(3.25rem, 7vw, 6rem);

  --r: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --pill: 100px;

  --sh-sm: 0 1px 2px rgba(26, 31, 38, .05);
  --sh: 0 2px 4px rgba(26, 31, 38, .04), 0 12px 28px -14px rgba(26, 31, 38, .22);
  --sh-lg: 0 4px 8px rgba(26, 31, 38, .05), 0 24px 48px -20px rgba(26, 31, 38, .28);

  --f-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::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 { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
img { background: var(--paper-2); }
svg { display: block; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico--flip { transform: scaleX(-1); }

a { color: var(--orange-2); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 {
  color: var(--ink); line-height: 1.1; letter-spacing: -.028em;
  margin: 0 0 .6em; font-weight: 780; text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 2.5rem, var(--w)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 780px); margin-inline: auto; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; font-weight: 600; border-radius: 0 0 var(--r) 0; }
.skip:focus { left: .5rem; top: .5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --- Značkový prvek: šipka z loga ---------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--orange-2); margin: 0 0 1rem;
}
.eyebrow::before {
  content: ""; width: 1.05rem; height: .52rem; background: var(--orange);
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 78% 100%, 50% 42%, 22% 100%);
}
.eyebrow--light { color: var(--orange); }

/* --- Tlačítka ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem; font: inherit; font-weight: 680; line-height: 1.2;
  border: 2px solid transparent; border-radius: var(--pill); cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn .ico { width: 1.25em; height: 1.25em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--orange); color: var(--ink); border-color: var(--orange); box-shadow: 0 8px 20px -10px rgba(226, 114, 28, .9); }
.btn--primary:hover { background: #f08430; border-color: #f08430; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: var(--ink-3); border-color: var(--ink-3); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--onDark { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--onDark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--wide { width: 100%; }

/* Kulaté tlačítko se šipkou */
.arrowbtn {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.arrowbtn .ico { width: 1.15rem; height: 1.15rem; }

/* --- Hlavička ------------------------------------------------------------ */
.topbar { background: var(--ink); color: #c8ccd2; font-size: .85rem; }
.topbar__in { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; align-items: center; padding: .55rem 0; }
.topbar a { color: #e7eaec; text-decoration: none; }
.topbar a:hover { color: var(--orange); }
.topbar__sep { margin-left: auto; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line-2); }
.site-header__in { display: flex; align-items: center; gap: 1.25rem; padding: .65rem 0; }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.logo img { height: 54px; width: auto; background: none; }
.site-footer .logo img { height: 62px; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .55rem .95rem; color: var(--ink-2); text-decoration: none;
  font-weight: 600; font-size: .97rem; border-radius: var(--pill); }
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--paper); }
.header-cta { display: flex; gap: .5rem; flex: none; }
.header-cta .btn { padding: .7rem 1.25rem; font-size: .95rem; }

.burger { display: none; margin-left: auto; background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--r); padding: .55rem .7rem; cursor: pointer; color: var(--ink); }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; border-radius: 2px; }

@media (max-width: 1060px) {
  .burger { display: block; }
  .nav, .header-cta { display: none; }
  .nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line-2); box-shadow: var(--sh); padding: .5rem 0; }
  .nav.is-open ul { flex-direction: column; width: min(100% - 2.5rem, var(--w)); margin-inline: auto; }
  .nav.is-open a { padding: .85rem 1rem; border-radius: var(--r); }
}

/* --- Hero: dvě oddělené nabídky vedle sebe ------------------------------- */
.hero { background: #fff; padding: clamp(.75rem, 1.4vw, 1.1rem) 0 0; }

.hero__split {
  width: min(100% - 1.5rem, 1400px); margin-inline: auto;
  display: grid; gap: clamp(.6rem, 1vw, .9rem);
}
@media (min-width: 900px) { .hero__split { grid-template-columns: 1fr 1fr; } }

.hero__side {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: clamp(16px, 1.6vw, 24px);
  color: #fff; display: flex; align-items: flex-end;
  min-height: 330px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1),
              0 2px 6px rgba(26,31,38,.07), 0 22px 44px -26px rgba(26,31,38,.5);
}
@media (min-width: 900px) { .hero__side { min-height: 620px; } }

.hero__photo { position: absolute; inset: 0; z-index: -2; }
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%;
  transition: transform .8s cubic-bezier(.22,1,.36,1);
}
.hero__side:hover .hero__photo img { transform: scale(1.035); }

/* Každá polovina má vlastní barevný nádech, aby se od sebe daly odlišit. */
.hero__scrim { position: absolute; inset: 0; z-index: -1; }
.hero__side--build .hero__scrim {
  background:
    linear-gradient(to top, rgba(12,15,19,.95) 0%, rgba(12,15,19,.82) 32%, rgba(12,15,19,.4) 66%, rgba(12,15,19,.18) 100%),
    linear-gradient(120deg, rgba(120,58,10,.3) 0%, rgba(12,15,19,0) 62%);
}
.hero__side--haul .hero__scrim {
  background:
    linear-gradient(to top, rgba(12,15,19,.95) 0%, rgba(12,15,19,.82) 32%, rgba(12,15,19,.4) 66%, rgba(12,15,19,.18) 100%),
    linear-gradient(240deg, rgba(22,42,64,.34) 0%, rgba(12,15,19,0) 62%);
}

.hero__body {
  position: relative; z-index: 2; width: 100%;
  padding: clamp(1.5rem, 2.6vw, 2.75rem);
  text-shadow: 0 1px 24px rgba(0,0,0,.42);
}

/* Štítek kategorie: hlavní vizuální rozlišení obou stran */
.hero__chip {
  display: inline-flex; align-items: center; margin: 0 0 1.05rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  padding: .42rem .85rem; border-radius: 100px;
  background: rgba(226,114,28,.22); color: #f8ae6d;
  box-shadow: inset 0 0 0 1px rgba(245,154,82,.45);
}
.hero__chip--light {
  background: rgba(255,255,255,.16); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}

.hero h1, .hero__side h2 {
  color: #fff; margin: 0 0 .8rem; letter-spacing: -.032em; font-weight: 800; line-height: 1.07;
  max-width: 15ch;
}
.hero h1 { font-size: clamp(1.75rem, 2.9vw, 2.7rem); }
.hero__side h2 { font-size: clamp(1.7rem, 2.7vw, 2.55rem); }
.hero__lead {
  font-size: clamp(.98rem, 1.1vw, 1.1rem); line-height: 1.58;
  color: #d5dae0; max-width: 38ch; margin: 0 0 1.7rem;
}
.hero .btn { border-radius: 8px; padding: .95rem 1.7rem; box-shadow: none; }
.hero .btn--primary { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.hero .btn--primary:hover { background: #f2882f; border-color: #f2882f; color: var(--ink); }
.hero .btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.hero .btn--light:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.hero__meta { margin: 1.3rem 0 0; font-size: .85rem; color: rgba(255,255,255,.76); }
.hero__meta a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.hero__meta a:hover { color: #fff; }

@media (max-width: 899px) {
  .hero__side { min-height: 320px; }
  .hero h1, .hero__side h2 { max-width: 18ch; }
  .hero__lead { margin-bottom: 1.35rem; }
  .hero__cta { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__photo img, .hero__side:hover .hero__photo img { transition: none; transform: none; }
}

/* --- Sekce --------------------------------------------------------------- */
.section { padding: var(--sec) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--white); }
.section--ink .inkbox {
  background: var(--ink); color: #c2c8ce; border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.75rem);
}
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .section__head p { color: #a6adb5; }
.section__head { max-width: 64ch; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section__head p { color: var(--steel); font-size: 1.08rem; }
.section__bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; justify-content: space-between; }

/* --- Karty služeb -------------------------------------------------------- */
.cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; gap: .7rem;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 1.75rem 1.6rem 1.6rem; text-decoration: none; color: inherit;
  box-shadow: var(--sh-sm);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--sh-lg); }
.card__icon {
  width: 3.1rem; height: 3.1rem; border-radius: var(--r); flex: none;
  display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-2);
  transition: background-color .2s, color .2s;
}
.card__icon .ico { width: 1.6rem; height: 1.6rem; }
.card:hover .card__icon { background: var(--orange); color: var(--ink); }
.card h3 { margin: 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card__sub { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--steel); font-weight: 680; }
.card p { color: var(--ink-3); font-size: .98rem; margin: 0; }
.card__list { list-style: none; margin: 0; padding: .2rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.card__list li { font-size: .81rem; color: var(--ink-3); background: var(--paper);
  border-radius: var(--pill); padding: .22rem .7rem; }
.card__more {
  margin-top: auto; padding-top: 1.1rem; font-weight: 680; font-size: .95rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.card:hover .card__more .arrowbtn { background: var(--orange); border-color: var(--orange); color: var(--ink); }

/* --- Výhody -------------------------------------------------------------- */
.why-layout { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
@media (min-width: 920px) {
  .why-layout { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
}
.why { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); }
.why__item { position: relative; }
.why__n {
  display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: rgba(226,114,28,.16); color: var(--orange); font-size: .95rem; font-weight: 750;
  margin-bottom: .9rem;
}
.why__item h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.why__item p { font-size: .97rem; color: #a6adb5; }

/* --- Postup -------------------------------------------------------------- */
.steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem; box-shadow: var(--sh-sm); }
.step__n { display: inline-block; font-size: .72rem; font-weight: 750; letter-spacing: .12em;
  color: var(--orange-2); background: var(--orange-soft); border-radius: var(--pill); padding: .22rem .7rem; }
.step h3 { font-size: 1.06rem; margin: .8rem 0 .4rem; }
.step p { font-size: .95rem; color: var(--steel); margin: 0; }

/* --- Reference ----------------------------------------------------------- */
.tiles { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }
.tile {
  position: relative; display: block; text-decoration: none; color: inherit; background: #fff;
  border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm); transition: transform .2s, box-shadow .2s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.tile__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.tile:hover .tile__img img { transform: scale(1.05); }
.tile__body { padding: 1.2rem 1.35rem 1.4rem; }
.tile__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--orange-2); background: var(--orange-soft);
  padding: .26rem .7rem; border-radius: var(--pill); margin-bottom: .65rem; }
.tile h3 { font-size: 1.1rem; margin: 0 0 .35rem; }
.tile p { font-size: .93rem; color: var(--steel); margin: 0; }
.tile__meta { font-size: .85rem; color: var(--steel); margin-top: .65rem; }

/* --- Carousel realizací -------------------------------------------------- */
.carousel { position: relative; }
.carousel__viewport {
  display: flex; gap: 1.25rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-left: .25rem;
  padding: .75rem .25rem 2.25rem; margin: -.75rem -.25rem 0;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel__viewport:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: var(--r-lg); }

.rcard {
  flex: 0 0 clamp(268px, 80vw, 392px); scroll-snap-align: center;
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-xl);
  overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--sh-sm);
  transform: translateZ(0) scale(.965); opacity: .82;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1),
              opacity .45s cubic-bezier(.22, 1, .36, 1),
              box-shadow .45s cubic-bezier(.22, 1, .36, 1),
              border-color .35s ease;
}
.rcard.is-active { transform: translateZ(0) scale(1); opacity: 1; box-shadow: var(--sh); }
.rcard:hover, .rcard:focus-visible {
  transform: translateZ(0) scale(1.025); opacity: 1; border-color: rgba(226, 114, 28, .55);
  box-shadow: 0 0 0 1px rgba(226, 114, 28, .28),
              0 10px 24px -10px rgba(226, 114, 28, .45),
              0 30px 60px -28px rgba(26, 31, 38, .5);
}
.rcard__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.rcard__img img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform .75s cubic-bezier(.22, 1, .36, 1);
}
.rcard:hover .rcard__img img { transform: scale(1.09); }
.rcard__img::after {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(to top, rgba(26,31,38,.55) 0%, rgba(26,31,38,0) 55%);
  transition: opacity .45s ease;
}
.rcard:hover .rcard__img::after { opacity: 1; }
.rcard__tag {
  position: absolute; left: .9rem; top: .9rem; z-index: 2;
  font-size: .71rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  padding: .32rem .75rem; border-radius: var(--pill);
}
.rcard__body { padding: 1.35rem 1.45rem 1.5rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.rcard h3 { font-size: 1.14rem; margin: 0; }
.rcard p { font-size: .94rem; color: var(--steel); margin: 0; }
.rcard__foot {
  margin-top: auto; padding-top: 1rem; display: flex; align-items: center;
  justify-content: space-between; gap: .75rem;
  font-size: .86rem; color: var(--steel);
}
.rcard__foot .arrowbtn { width: 2.35rem; height: 2.35rem; }
.rcard:hover .rcard__foot .arrowbtn { background: var(--orange); border-color: var(--orange); color: var(--ink); }

.carousel__nav { display: flex; align-items: center; gap: .6rem; }
.carousel__nav button { cursor: pointer; }
.carousel__nav button:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-1px); }
.carousel__nav button:disabled { opacity: .35; cursor: default; }

.carousel__dots { display: flex; justify-content: center; gap: .45rem; margin-top: -.75rem; }
.carousel__dots button {
  width: .5rem; height: .5rem; padding: 0; border: 0; border-radius: 50%;
  background: var(--line); cursor: pointer;
  transition: width .4s cubic-bezier(.22,1,.36,1), background-color .3s ease;
}
.carousel__dots button.is-active { width: 1.6rem; border-radius: var(--pill); background: var(--orange); }

@media (prefers-reduced-motion: reduce) {
  .rcard, .rcard__img img { transition: none; transform: none; opacity: 1; }
  .rcard.is-active, .rcard:hover { transform: none; }
}

/* --- Galerie ------------------------------------------------------------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.gallery figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #fff;
  border: 1px solid var(--line-2); box-shadow: var(--sh-sm); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: .75rem 1rem; font-size: .88rem; color: var(--steel); }

/* --- Recenze ------------------------------------------------------------- */
.reviews__policy {
  font-size: .88rem; color: var(--steel); max-width: 78ch;
  margin: -.75rem 0 1.75rem; padding-left: 1rem; border-left: 3px solid var(--line);
}
.reviews { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.review {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem; box-shadow: var(--sh-sm); display: flex; flex-direction: column; gap: .85rem;
}
.review__stars { color: var(--orange); letter-spacing: .12em; font-size: 1rem; }
.review__text { font-size: .99rem; color: var(--ink-3); margin: 0; }
.review__who { display: flex; align-items: center; gap: .75rem; margin-top: auto; padding-top: .35rem; }
.review__ava { width: 2.6rem; height: 2.6rem; border-radius: 50%; flex: none; display: grid;
  place-items: center; background: var(--ink); color: #fff; font-weight: 700; font-size: .95rem; }
.review__name { font-weight: 680; color: var(--ink); font-size: .97rem; line-height: 1.3; }
.review__meta { font-size: .84rem; color: var(--steel); }

/* --- Oblast působnosti --------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.chips li { border: 1px solid var(--line); background: #fff; padding: .45rem .95rem;
  border-radius: var(--pill); font-size: .92rem; color: var(--ink-3); }
.section--paper .chips li { background: #fff; }

/* --- Seznam s odškrtnutím ------------------------------------------------ */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1.25rem; height: 1.25rem;
  border-radius: 50%; background: var(--orange-soft);
}
.ticks li::after {
  content: ""; position: absolute; left: .37rem; top: .78em; width: .5rem; height: .28rem;
  border-left: 2px solid var(--orange-2); border-bottom: 2px solid var(--orange-2); transform: rotate(-45deg);
}
.ticks--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.inkbox .ticks li::before { background: rgba(226,114,28,.2); }
.inkbox .ticks li::after { border-color: var(--orange); }

/* --- FAQ ----------------------------------------------------------------- */
.faq { display: grid; gap: .7rem; }
.faq details { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); overflow: hidden; }
.faq details[open] { border-color: var(--line); }
.faq summary { cursor: pointer; padding: 1.15rem 3.25rem 1.15rem 1.4rem; font-weight: 680;
  font-size: 1.03rem; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.15rem; top: 50%; width: 1.9rem; height: 1.9rem;
  margin-top: -.95rem; border-radius: 50%; background: var(--paper);
}
.faq summary::before {
  content: ""; position: absolute; right: 1.72rem; top: 50%; margin-top: -.3rem; z-index: 1;
  width: .55rem; height: .55rem; border-right: 2px solid var(--orange-2);
  border-bottom: 2px solid var(--orange-2); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::before { transform: rotate(-135deg); margin-top: -.1rem; }
.faq summary:hover { color: var(--orange-2); }
.faq__a { padding: 0 3.25rem 1.35rem 1.4rem; color: var(--ink-3); }
.faq__a p:last-child { margin-bottom: 0; }

/* --- Obsah článku -------------------------------------------------------- */
.prose { font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose strong { color: var(--ink); font-weight: 720; }

/* --- Dvousloupec --------------------------------------------------------- */
.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.aside { position: sticky; top: 6.5rem; display: grid; gap: 1.1rem; }
.panel { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 1.5rem 1.4rem;
  background: #fff; box-shadow: var(--sh-sm); }
.panel--ink { background: var(--ink); color: #c2c8ce; border-color: var(--ink); }
.panel--ink h3 { color: #fff; }
.panel h3 { font-size: 1.05rem; margin-bottom: .8rem; }
.panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.panel ul a { display: block; padding: .55rem 0; color: var(--ink-2); text-decoration: none;
  border-bottom: 1px solid var(--line-2); font-size: .97rem; }
.panel ul li:last-child a { border-bottom: 0; }
.panel ul a:hover { color: var(--orange-2); }

/* --- Formulář ------------------------------------------------------------ */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.field { display: grid; gap: .35rem; }
.field > label { font-weight: 680; font-size: .93rem; color: var(--ink); }
.field .hint { font-size: .85rem; color: var(--steel); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .85rem 1rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; width: 100%;
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--steel); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 3px solid rgba(22,104,214,.25); outline-offset: 0; border-color: var(--focus); }
.field textarea { min-height: 150px; resize: vertical; }
.req { color: var(--orange-2); }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: none; accent-color: var(--orange-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border: 1.5px solid; border-radius: var(--r); padding: 1rem 1.15rem; font-size: .97rem; }
.alert--error { border-color: #c0392b; background: #fdeceb; color: #7c1f16; }
.alert--ok { border-color: #1f7a4d; background: #e9f7ef; color: #135233; }
.alert ul { margin: .5rem 0 0; padding-left: 1.2rem; }

/* --- CTA pruh ------------------------------------------------------------ */
.cta { padding: 0 0 var(--sec); }
.cta__in {
  background: var(--orange); color: var(--ink); border-radius: var(--r-xl);
  padding: clamp(2rem, 4.5vw, 3.25rem);
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
}
.cta h2 { color: var(--ink); margin: 0; font-size: clamp(1.4rem, 3vw, 2.2rem); }
.cta p { color: #40200a; margin: .4rem 0 0; }
.cta .btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta .btn--onDark { color: var(--ink); border-color: rgba(26,31,38,.35); }
.cta .btn--onDark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* --- Kontaktní bloky ----------------------------------------------------- */
.contact-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); }
.contact-card { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 1.5rem;
  background: #fff; box-shadow: var(--sh-sm); }
.contact-card h3 { display: flex; align-items: center; gap: .45rem; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--steel); margin-bottom: .7rem; }
.contact-card .big { font-size: 1.3rem; font-weight: 730; color: var(--ink); text-decoration: none;
  display: inline-block; letter-spacing: -.02em; }
.contact-card .big:hover { color: var(--orange-2); }
.contact-card address { font-style: normal; color: var(--ink-3); }

/* --- Rychlá poptávka ----------------------------------------------------- */
.quickform { padding: 0 0 var(--sec); }
.quickform__in { background: var(--ink); color: #c2c8ce; border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.5rem); }
.quickform__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
@media (min-width: 900px) { .quickform__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.quickform h2 { color: #fff; }
.quickform > .wrap > .quickform__in p { color: #a6adb5; }
.quickform .ticks li { color: #d3d8dd; }
.quickform__card { background: #fff; border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.1rem); }
.quickform__card h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.quickform__note { font-size: .88rem; color: var(--steel); margin: .9rem 0 0; }
.quickform__contact { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.75rem; }
.quickform__contact a { color: #fff; text-decoration: none; font-weight: 680; font-size: 1.12rem;
  display: inline-flex; align-items: center; gap: .55rem; }
.quickform__contact a:hover { color: var(--orange); }
.quickform__contact small { display: block; font-weight: 400; font-size: .82rem; color: #8f969d; }

/* --- Fotka party --------------------------------------------------------- */
.team-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; position: relative; }
.team-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.team-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.15rem 1rem;
  font-size: .87rem; color: #e7eaec; line-height: 1.4;
  background: linear-gradient(to top, rgba(20,24,30,.9) 0%, rgba(20,24,30,0) 100%);
}
@media (max-width: 919px) {
  .team-photo img { aspect-ratio: 16 / 9; }
}

/* --- Patička ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #969ca3; padding: clamp(3rem, 6vw, 4.5rem) 0 0; font-size: .95rem; }
.site-footer h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding-bottom: 3rem; }
.site-footer a { color: #cdd2d7; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.4rem 0;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; font-size: .88rem; }
.footer-bottom .sep { margin-left: auto; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: #cdd2d7;
  text-decoration: underline; cursor: pointer; }
.linkbtn:hover { color: var(--orange); }

/* --- Mobilní volací lišta ------------------------------------------------ */
.callbar { position: fixed; left: .6rem; right: .6rem; bottom: .6rem; z-index: 70; display: none;
  grid-template-columns: 1fr 1fr; background: var(--ink); border-radius: var(--pill);
  overflow: hidden; box-shadow: var(--sh-lg); }
.callbar a { padding: .9rem .5rem; text-align: center; font-weight: 680; text-decoration: none;
  color: #fff; font-size: .97rem; }
.callbar a + a { background: var(--orange); color: var(--ink); }
@media (max-width: 720px) { .callbar { display: grid; } body { padding-bottom: 4.2rem; } }

/* --- Drobečky a hlavička stránky ----------------------------------------- */
.crumbs { font-size: .88rem; color: var(--steel); padding: 1.1rem 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--orange-2); text-decoration: underline; }

.pagehead { padding: clamp(2rem, 4vw, 3.25rem) 0 clamp(1.5rem, 3vw, 2.25rem); }
.pagehead p.lead { font-size: 1.12rem; color: var(--steel); max-width: 68ch; }

.badge-review { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; background: #fff3cd; color: #7a5b00; padding: .2rem .5rem; border-radius: var(--pill); }

/* --- Lišta se souhlasem -------------------------------------------------- */
.consent { position: sticky; bottom: 0; z-index: 80; background: var(--ink); color: #d3d8dd;
  border-top: 3px solid var(--orange); padding: 1rem clamp(1rem, 3vw, 2rem);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: center; }
.consent p { margin: 0; font-size: .93rem; max-width: 68ch; }
.consent a { color: var(--orange); }
.consent__btns { display: flex; gap: .6rem; flex: none; }
.consent .btn { padding: .6rem 1.2rem; font-size: .93rem; }
/* Obě volby musí být stejně výrazné – ÚOOÚ odmítá vizuální manipulaci. */
.consent .btn--consent {
  background: #fff; color: var(--ink); border-color: #fff; min-width: 9.5rem;
}
.consent .btn--consent:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }

@media print {
  .site-header, .topbar, .callbar, .cta, .site-footer, .btn { display: none !important; }
  body { color: #000; }
}

/* --- Zkrácený formulář „zavolejte mi" ------------------------------------ */
.callback { gap: .9rem; }
.callback__note { font-size: .84rem; color: var(--steel); margin: 0; }
.callback--dark > .field > label { color: #fff; }
.callback--dark .check span { color: #c2c8ce; }
.callback--dark .callback__note { color: #a6adb5; }
.callback--dark .check a, .callback--dark .callback__note a { color: var(--orange); }
.formswitch { display: flex; gap: .4rem; background: var(--paper); border-radius: var(--pill);
  padding: .3rem; margin-bottom: 1.75rem; width: fit-content; }
.formswitch a {
  padding: .55rem 1.15rem; border-radius: var(--pill); text-decoration: none;
  font-weight: 680; font-size: .94rem; color: var(--ink-3);
}
.formswitch a.is-active { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }

/* --- Rady a články ------------------------------------------------------- */
.artmeta { margin: 1rem 0 0; font-size: .9rem; color: var(--steel); display: flex;
  flex-wrap: wrap; gap: .4rem 1.1rem; }
.artmeta span::before { content: "·"; margin-right: 1.1rem; color: var(--line); }

.artlist { display: grid; gap: 1.1rem; }
.artcard { display: grid; gap: 0; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: #fff; box-shadow: var(--sh-sm); overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease; }
.artcard:hover { box-shadow: var(--sh); transform: translateY(-2px); }
@media (min-width: 760px) { .artcard { grid-template-columns: 280px minmax(0, 1fr); } }
.artcard__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.artcard__img img { width: 100%; height: 100%; object-fit: cover; }
.artcard__body { padding: clamp(1.3rem, 3vw, 1.9rem); align-self: center; }
.artcard__meta { font-size: .85rem; color: var(--steel); margin: 0 0 .5rem;
  display: flex; flex-wrap: wrap; gap: .35rem .9rem; }
.artcard__meta span::before { content: "·"; margin-right: .9rem; color: var(--line); }
.artcard h2 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); margin: 0 0 .6rem; }
.artcard h2 a { color: var(--ink); text-decoration: none; }
.artcard h2 a:hover { color: var(--orange-2); }
.artcard p { margin: 0; color: var(--steel); font-size: .98rem; }

.prose--article { max-width: 68ch; }
.prose--article h2 { margin-top: 2.4em; padding-top: 1.6rem; border-top: 1px solid var(--line-2); }
.prose--article h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose--article h3 { font-size: 1.12rem; margin-top: 2em; }
.prose--article p { margin-bottom: 1.15em; }

.figcap { font-size: .87rem; color: var(--steel); margin-top: .7rem; }
.artlink { margin-top: 2.5rem; font-size: .97rem; color: var(--steel); }
.panel--note { margin-top: 2.5rem; background: var(--paper); border-color: var(--line);
  border-left: 3px solid var(--orange); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.panel--note p { margin: 0; font-size: .93rem; color: var(--ink-3); line-height: 1.65; }

/* --- Tabulka v textu ----------------------------------------------------- */
.tablewrap { margin: 1.8rem 0; }
.tablewrap table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.tablewrap th, .tablewrap td { text-align: left; padding: .8rem .9rem;
  border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tablewrap th { font-weight: 680; color: var(--ink); background: var(--paper);
  border-bottom: 1px solid var(--line); }
.tablewrap tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .tablewrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tablewrap tr { display: block; border: 1px solid var(--line-2); border-radius: var(--r);
    padding: .3rem .9rem; margin-bottom: .8rem; }
  .tablewrap td { display: block; border-bottom: 1px solid var(--line-2); padding: .7rem 0; }
  .tablewrap tr td:last-child { border-bottom: 0; }
  .tablewrap td::before { content: attr(data-label); display: block; font-size: .8rem;
    font-weight: 680; color: var(--steel); margin-bottom: .2rem; }
}

/* --- Souhrnné hodnocení -------------------------------------------------- */
.ratingbar { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .7rem;
  margin: 0 0 1.4rem; font-size: 1.02rem; color: var(--ink-2); }
.ratingbar__stars { color: var(--orange); letter-spacing: .1em; font-size: 1.1rem; }
.ratingbar strong { font-weight: 720; color: var(--ink); }
.ratingbar span:last-child { color: var(--steel); font-size: .95rem; }

.footer-legal { font-size: .84rem; color: #7f868d; margin: 0 0 .5rem; line-height: 1.6; }
.footer-rating { font-size: .84rem; color: #9aa1a8; margin: 0 0 1rem;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem; }
.footer-rating__stars { color: var(--orange); letter-spacing: .08em; }
.footer-rating a { color: #c2c8ce; }
