/* Varianta 2: světlá, jedna sytá červená (červená z české vlajky), předměty z registru jako ilustrace. */
:root {
  --bg: #fbfbfa;
  --bg-alt: #f0f0ed;
  --card: #ffffff;
  --ink: #1a1c20;
  --ink-2: #555a61;
  --red: #d7141a;
  --red-dark: #a90f14;
  --red-tint: #fbeaea;
  --line: #e1e1dc;

  --display: "Red Hat Display", system-ui, sans-serif;
  --text: "Red Hat Text", system-ui, sans-serif;

  --wrap: 76rem;
  --pad: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.12; text-wrap: balance; }
h1 { font-weight: 800; letter-spacing: -0.012em; }
h2 { font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.75rem); letter-spacing: -0.01em; }
h3 { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--red-dark); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 600 1.02rem/1 var(--text);
  padding: 1rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }

/* ---------- Hlavička ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 250, 0.97);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; gap: 2rem; min-height: 4.5rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo-mark {
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
  font: 800 1.35rem/1 var(--display);
  border-radius: 8px;
}
.logo-text { font: 800 1rem/1.05 var(--display); letter-spacing: -0.01em; }

.menu { display: flex; gap: 1.75rem; }
.menu a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.97rem; position: relative; padding: 0.4rem 0; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease; }
.menu a:hover::after { transform: scaleX(1); }

.menu .menu-phone { display: none; }

.top-phone {
  font: 700 0.98rem/1 var(--display);
  color: var(--ink);
  text-decoration: none;
  padding: 0.7rem 1.1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  white-space: nowrap;
}
.top-phone:hover { background: var(--ink); color: #fff; }

.burger { display: none; width: 2.75rem; height: 2.75rem; border: 0; background: none; cursor: pointer; padding: 0.6rem; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

@media (max-width: 1080px) {
  .top-phone { display: none; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.25rem var(--pad) 1rem;
  }
  .menu.open { display: flex; }
  .menu a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .menu a:nth-last-child(2) { border-bottom: 0; }
  .menu .menu-phone {
    display: block;
    margin-top: 0.75rem;
    padding: 0.85rem 1.25rem;
    background: var(--red);
    color: #fff;
    border: 0;
    border-radius: 16px;
    font: 800 1.5rem/1.15 var(--display);
  }
  .menu .menu-phone span { display: block; font: 500 0.9rem/1.3 var(--text); color: #ffe1e1; }
  .menu .menu-phone:hover { background: var(--red-dark); color: #fff; }
  .menu a::after { display: none; }
}

/* ---------- Úvod ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); margin-bottom: 1.4rem; }
.hero-lead { font-size: 1.2rem; max-width: 36rem; }
.hero-sub { color: var(--ink-2); max-width: 36rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.9rem; }
.hero-art svg { width: 100%; height: auto; display: block; }

.why {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  gap: 1.5rem 3rem;
}
.why-title { font-size: 1.35rem; letter-spacing: -0.01em; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem 2rem; }
.why-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.7rem; line-height: 1.4; font-weight: 500; }
.why-list svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Služby ---------- */
.services { background: var(--bg-alt); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.services-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; margin-bottom: 2.5rem; }
.services-head p { color: var(--ink-2); margin: 0; max-width: 30rem; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.6rem 1.25rem;
  display: flex;
  flex-direction: column;
}
.tile--wide { grid-column: span 2; }
.tile-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.1rem; }
.tile-top h3 { max-width: 16ch; }
.tile-art { height: 2.75rem; width: auto; flex-shrink: 0; }
.tile-art--stk { height: 3.4rem; margin-top: -0.3rem; }

.tile-list { list-style: none; margin: 0 0 1rem; padding: 0; flex: 1; }
.tile--wide .tile-list { columns: 2; column-gap: 2rem; }
.tile-list li {
  break-inside: avoid;
  padding: 0.4rem 0 0.4rem 1.05rem;
  position: relative;
  font-size: 0.98rem;
  line-height: 1.4;
}
.tile-list li::before { content: ""; position: absolute; left: 0; top: 0.92rem; width: 0.4rem; height: 2px; background: var(--red); }

.tile-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--line); padding-top: 0.9rem; }
.ask, .more { font: 600 0.95rem/1 var(--text); background: none; border: 0; cursor: pointer; padding: 0.4rem 0; }
.ask { color: var(--red-dark); margin-left: auto; }
.ask:hover { color: var(--red); text-decoration: underline; text-underline-offset: 0.2em; }
.more { color: var(--ink-2); display: none; text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Firmy ---------- */
.b2b { background: var(--ink); color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.b2b-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2.5rem 5rem; align-items: start; }
.b2b h2 { margin-bottom: 1.2rem; }
.b2b-text p { color: #c9ccd1; max-width: 30rem; margin-bottom: 1.75rem; }
.b2b-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.b2b-list li {
  border: 1px solid #3a3d44;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  font-weight: 500;
  line-height: 1.4;
}
.b2b-list li:first-child { grid-column: span 2; background: var(--red); border-color: var(--red); font-weight: 600; }
.b2b :focus-visible { outline-color: #fff; }

/* ---------- Postup ---------- */
.how { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem); }
.how h2 { margin-bottom: 2.5rem; }
.how-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.how-list li { border-top: 3px solid var(--ink); padding-top: 1.1rem; }
.how-list li:first-child { border-top-color: var(--red); }
.how-n { display: block; font: 800 2.6rem/1 var(--display); color: var(--red); margin-bottom: 0.75rem; }
.how-list h3 { margin-bottom: 0.45rem; }
.how-list p { color: var(--ink-2); margin: 0; font-size: 1rem; }

/* ---------- O nás ---------- */
.about { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 6rem); }
.about-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem 5rem; }
.about h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.about-text { max-width: 38rem; }
.about-lead { font-size: 1.2rem; font-weight: 500; }
.about-text h3 { margin: 2rem 0 0.5rem; }
.about-more { color: var(--ink-2); }

/* ---------- Kontakt ---------- */
.contact { background: var(--bg-alt); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.form-panel { background: var(--card); border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.75rem); border: 1px solid var(--line); }
.form-panel h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); margin-bottom: 1.75rem; max-width: 22ch; }
#inquiry { display: grid; gap: 1.1rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.f label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.4rem; }
.f input, .f textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid #c9c9c3;
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
}
.f textarea { resize: vertical; min-height: 8rem; }
.f input:hover, .f textarea:hover { border-color: #9a9a94; }
.f input:focus-visible, .f textarea:focus-visible { border-color: var(--ink); outline-offset: 1px; }
.f input[aria-invalid="true"] { border-color: var(--red); border-width: 2px; }
.f-err { color: var(--red-dark); font-size: 0.9rem; font-weight: 600; margin: 0.35rem 0 0; }
.gdpr { color: var(--ink-2); font-size: 0.88rem; margin: 0; }
#inquiry .btn { justify-self: start; }
.f-status { margin: 0; font-weight: 600; }
.f-status:empty { display: none; }

.contact-box { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.25rem); }
.contact-box h2 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.contact-box > p { color: var(--ink-2); }
.c-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.c-list li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 0.9rem; align-items: center; line-height: 1.35; font-weight: 600; }
.c-list small { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.85rem; }
.c-list a { color: var(--ink); font-size: 1.1rem; }
.c-ico { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--red-tint); display: grid; place-items: center; }
.c-ico svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: var(--red); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Patička ---------- */
.foot { border-top: 1px solid var(--line); padding: 1.75rem 0; font-size: 0.92rem; color: var(--ink-2); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }

/* ---------- Responzivita ---------- */
@media (max-width: 1000px) {
  .why { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile--wide { grid-column: span 2; }
  .how-list { grid-template-columns: 1fr 1fr; row-gap: 2.25rem; }
}

@media (max-width: 800px) {
  .hero-inner, .b2b-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 32rem; }
  .why-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .why-list { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .tile--wide .tile-list { columns: 1; }
  .tile { padding: 1.3rem 1.25rem 1rem; }
  /* na mobilu se zobrazí jen první čtyři položky skupiny */
  .tile:not(.is-open) .tile-list li:nth-child(n+5) { display: none; }
  .more { display: inline; }
  .b2b-list { grid-template-columns: 1fr; }
  .b2b-list li:first-child { grid-column: auto; }
  .how-list { grid-template-columns: 1fr; gap: 1.75rem; }
  .f-row { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; padding-inline: 1rem; }
}

/* ===== Karty služeb (převzato z varianty 3) ===== */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.card {
  background: var(--card);
  border: 1px solid rgba(26, 28, 32, 0.06);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* jemný dvouvrstvý stín: ostrý u hrany + měkký rozptýlený */
  box-shadow: 0 1px 2px rgba(26, 28, 32, 0.06), 0 6px 18px rgba(26, 28, 32, 0.07);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  box-shadow: 0 2px 4px rgba(26, 28, 32, 0.07), 0 12px 28px rgba(26, 28, 32, 0.11);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover { transform: none; }
}
.card-media {
  height: 8.5rem;
  display: grid;
  place-items: center;
  /* světlejší než pozadí sekce, aby karta nahoře nesplývala */
  background: #f7f7f4;
  border-bottom: 1px solid var(--line);
}
.card-art { height: 4.25rem; width: auto; max-width: 72%; }
.card--firm .card-art { height: 5.25rem; }
.card-media .card-art[viewBox="0 0 52 46"] { height: 5.5rem; }
.card-body { padding: 1.2rem 1.3rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.card-body p { color: var(--ink-2); font-size: 0.97rem; line-height: 1.5; margin: 0 0 0.9rem; flex: 1; }
.card .ask { align-self: flex-start; margin-left: 0; text-decoration: none; }
.card .ask:hover { text-decoration: underline; }

@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .card { flex-direction: row; }
  .card-media { width: 6.5rem; height: auto; flex-shrink: 0; border-bottom: 0; border-right: 1px solid var(--line); }
  .card-art { max-width: 80%; height: auto; }
  .card--firm .card-art, .card-media .card-art[viewBox="0 0 52 46"] { height: auto; }
  .card-body { padding: 1rem 1.1rem; }
  .card-body p { font-size: 0.94rem; margin-bottom: 0.6rem; }
}


/* ===== Podstránky služeb ===== */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a:hover { color: var(--red-dark); }

.sub-hero { padding: clamp(2rem, 5vw, 3.75rem) 0 clamp(2.5rem, 5vw, 3.75rem); border-bottom: 1px solid var(--line); }
.sub-hero-inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: center; }
.sub-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: 1.1rem; }
.sub-hero .hero-lead { max-width: 40rem; }
.sub-hero-art {
  display: grid;
  place-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 22px;
  min-height: 15rem;
}
.sub-art { width: 60%; height: auto; max-height: 11rem; }

.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem 0.6rem; font-size: 0.92rem; color: var(--ink-2); margin-bottom: 1.25rem; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--red-dark); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

.svc { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 2.5rem 4rem; align-items: start; }
.svc-block + .svc-block { margin-top: 3rem; }
.svc-block h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1.1rem; }

.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 2rem; }
.svc-list li { position: relative; padding: 0.55rem 0 0.55rem 1.9rem; border-bottom: 1px solid var(--line); line-height: 1.4; }
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.95rem;
  width: 0.75rem;
  height: 0.4rem;
  border-left: 2.5px solid var(--red);
  border-bottom: 2.5px solid var(--red);
  transform: rotate(-45deg);
}
.doc-list { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.45rem; }
.doc-list li::marker { color: var(--red); }
.svc-note { color: var(--ink-2); font-size: 0.95rem; margin: 1rem 0 0; }

.how-list--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2rem; }
.how-list--compact .how-n { font-size: 2rem; }

.price-box { position: sticky; top: 6rem; }
.price-box-inner {
  background: var(--card);
  border: 1px solid rgba(26, 28, 32, 0.06);
  border-top: 4px solid var(--red);
  border-radius: 18px;
  padding: 1.6rem 1.6rem 1.4rem;
  display: grid;
  gap: 0.25rem;
  /* stejný jemný stín jako karty služeb na hlavní stránce */
  box-shadow: 0 1px 2px rgba(26, 28, 32, 0.06), 0 6px 18px rgba(26, 28, 32, 0.07);
}
.price-label { margin: 0; font-weight: 600; color: var(--ink-2); }
.price-value { margin: 0 0 0.4rem; font: 800 2.4rem/1.1 var(--display); letter-spacing: -0.01em; }
.price-value--text { font-size: 1.7rem; }
.price-note { margin: 0 0 1.1rem; font-size: 0.92rem; color: var(--ink-2); }
.price-cta { width: 100%; }
.price-phone { margin-top: 0.75rem; text-align: center; color: var(--ink-2); text-decoration: none; font-size: 0.95rem; }
.price-phone strong { color: var(--ink); }
.price-phone:hover strong { color: var(--red-dark); }

.more-svc { padding: 0 0 clamp(3rem, 6vw, 4.5rem); }
.more-svc h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.more-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.more-links a {
  color: var(--ink);
  text-decoration: none;
  border: 1.5px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 500;
  font-size: 0.95rem;
}
.more-links a:hover { border-color: var(--ink); }

.foot-services { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.foot-services a { color: var(--ink); text-decoration: none; font-weight: 500; }
.foot-services a:hover { color: var(--red-dark); text-decoration: underline; }

@media (max-width: 900px) {
  .sub-hero-inner { grid-template-columns: 1fr; }
  .sub-hero-art { display: none; }
  .svc-layout { grid-template-columns: 1fr; }
  .price-box { position: static; order: -1; }
}
@media (max-width: 620px) {
  .svc-list { grid-template-columns: 1fr; gap: 0; }
  .how-list--compact { grid-template-columns: 1fr; }
}

/* Upozornění: soukromá služba, ne úřad */
.private-note { margin: 1rem 0 0; font-size: 0.9rem; color: var(--ink-2); }
.foot-legal { margin: 1.1rem 0 0; font-size: 0.85rem; color: var(--ink-2); max-width: 60rem; }
.foot-legal a { color: var(--ink-2); }

/* ===== Logo: šestiúhelník (nálepka STK) ===== */
.logo { gap: 0.65rem; }
.logo-hex { width: 2.75rem; height: auto; flex-shrink: 0; display: block; }
.logo-words { display: grid; line-height: 1.02; }
.logo-name { font: 800 1.4rem/1 var(--display); letter-spacing: -0.015em; color: var(--ink); }
.logo-sub { font: 500 0.78rem/1.25 var(--text); color: var(--ink-2); }
@media (max-width: 620px) {
  .logo-hex { width: 2.4rem; }
  .logo-name { font-size: 1.25rem; }
  .logo-sub { display: none; }
}


/* ==========================================================================
   Redesign: méně šablonovitý vzhled (jen vzhled, texty beze změny)
   - žádné stíny, malé zaoblení, obdélníková tlačítka
   - služby jako 2 panely + řádkový přehled místo mřížky stejných karet
   ========================================================================== */
:root { --r: 6px; }

/* tlačítka a pole */
.btn, .top-phone { border-radius: var(--r); }
.f input, .f textarea { border-radius: 4px; }
.menu .menu-phone { border-radius: var(--r); }

/* panely bez stínů a s malým zaoblením */
.form-panel, .contact-box { border-radius: var(--r); box-shadow: none; }
.price-box-inner { border-radius: var(--r); box-shadow: none; border: 1px solid var(--line); border-top: 4px solid var(--red); }
.sub-hero-art { border-radius: var(--r); }

/* --- služby: dva hlavní panely --- */
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.feat {
  display: grid;
  grid-template-columns: 13.5rem minmax(0, 1fr);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
}
.feat:hover { border-color: var(--ink); }
.feat-art { display: grid; place-items: center; background: #f7f7f4; border-right: 1px solid var(--line); padding: 1rem; }
.feat-art-svg { width: 100%; height: auto; max-height: 6rem; }
.feat-body { display: flex; flex-direction: column; padding: 1.4rem 1.5rem; }
.feat-title { font: 700 1.35rem/1.15 var(--display); margin-bottom: 0.5rem; }
.feat-text { color: var(--ink-2); line-height: 1.5; margin-bottom: 1rem; flex: 1; }
.feat-link, .row-link { font-weight: 600; color: var(--red-dark); }
.feat:hover .feat-link { text-decoration: underline; text-underline-offset: 0.2em; }

/* --- služby: řádkový přehled --- */
.svc-rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.svc-rows li { border-bottom: 1px solid #d6d6d0; }
.svc-rows a {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr) auto;
  gap: 0.5rem 2rem;
  align-items: baseline;
  padding: 1.05rem 0.25rem;
  color: var(--ink);
  text-decoration: none;
}
.row-title { font: 700 1.1rem/1.3 var(--display); }
.row-text { color: var(--ink-2); line-height: 1.45; }
.row-link { white-space: nowrap; font-size: 0.95rem; }
.svc-rows a:hover { background: rgba(255, 255, 255, 0.6); }
.svc-rows a:hover .row-title, .svc-rows a:hover .row-link { color: var(--red-dark); }
.svc-rows a:hover .row-link { text-decoration: underline; text-underline-offset: 0.2em; }

/* --- výhody bez ikonek: prostý seznam s linkami --- */
.why-list { gap: 0 2rem; }
.why-list li { display: block; padding: 0.65rem 0; border-top: 1px solid var(--line); font-weight: 500; }

/* --- kontakt bez ikonek --- */
.c-list { gap: 0; }
.c-list li { display: block; padding: 0.85rem 0; border-top: 1px solid var(--line); }
.c-list li:first-child a { font: 800 1.6rem/1.2 var(--display); text-decoration: none; }
.c-list li:first-child a:hover { color: var(--red-dark); }

/* --- firmy: prostý dvousloupcový seznam místo boxíků --- */
.b2b-list { gap: 0 2.5rem; }
.b2b-list li,
.b2b-list li:first-child {
  grid-column: auto;
  background: none;
  border: 0;
  border-top: 1px solid #3a3d44;
  border-radius: 0;
  padding: 0.9rem 0;
  font-weight: 500;
}

/* --- postup: menší čísla, tenké linky --- */
.how-list li { border-top: 1px solid var(--line); padding-top: 1rem; }
.how-list li:first-child { border-top-color: var(--line); }
.how-n {
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
}
.how-list--compact .how-n { font-size: 0.95rem; }

/* --- podstránky: další služby jako prosté odkazy --- */
.more-links { gap: 0.4rem 1.5rem; }
.more-links a { border: 0; background: none; border-radius: 0; padding: 0.2rem 0; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: #c9c9c3; }
.more-links a:hover { text-decoration-color: var(--red); color: var(--red-dark); }

@media (max-width: 900px) {
  .feats { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .feat { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .feat-art { padding: 0.9rem; }
  .feat-body { padding: 1rem 1.1rem; }
  .feat-title { font-size: 1.15rem; }
  .svc-rows a { grid-template-columns: 1fr; gap: 0.25rem; padding: 0.9rem 0; }
  .row-link { margin-top: 0.2rem; }
  .b2b-list { grid-template-columns: 1fr; }
}
