/* ==========================================================================
   Revisual – styly webu
   Značka: černá, bílá, zlatá (z loga). Písmo: Inter / Inter Display (vlastní hosting).
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Display";
  src: url("../fonts/InterDisplay-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* záložní písmo se stejnými rozměry – menší poskočení při načtení */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  --ink: #0d0d0d;
  --ink-2: #1a1a1a;
  --paper: #ffffff;
  --paper-2: #f6f4ef;
  --line: #e4e0d6;
  --line-strong: #cfcabd;
  --text: #171717;
  --muted: #5a5852;
  --muted-dark: #bdb9ae;
  --gold: #fbb02e;
  --gold-hover: #ffc04f;
  --gold-deep: #8a5a00;
  --danger: #b3261e;
  --ok: #1d6b34;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 13, 13, 0.05), 0 6px 18px rgba(13, 13, 13, 0.06);
  --shadow-md: 0 14px 40px rgba(13, 13, 13, 0.14);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 84px;
  --header-h-sm: 64px;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Inter Display", "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  interpolate-size: allow-keywords;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-sm) + 16px);
}
html.menu-open,
html.lb-open {
  overflow: hidden;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
.band-dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.is-overlay.is-top :focus-visible,
.lb :focus-visible,
.price-card:not(.price-card--light) :focus-visible,
.dron-callout :focus-visible {
  outline-color: var(--gold);
}
::selection {
  background: var(--gold);
  color: var(--ink);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}
main:focus {
  outline: none;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.narrow {
  width: min(100% - 2 * var(--gutter), 860px);
  margin-inline: auto;
}
.h3 {
  font-size: 1.4rem;
}

/* ---------- typografie ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.band-dark .eyebrow,
.hero .eyebrow {
  color: var(--gold);
}
.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}
.band-dark .lead {
  color: #cdc9be;
}
.note {
  max-width: 70ch;
  margin: 28px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-size: 0.95rem;
}
.section-head {
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  max-width: 28ch;
}
.section-head .lead {
  margin-top: 16px;
}
.section-head.is-center {
  text-align: center;
}
.section-head.is-center h2,
.section-head.is-center .lead {
  margin-inline: auto;
}
.section-link {
  margin: 40px 0 0;
}
.section-link .sep {
  margin: 0 10px;
  color: var(--line-strong);
}

/* ---------- sekce ---------- */
.section {
  padding: clamp(64px, 9vw, 112px) 0;
}
.section--alt {
  background: var(--paper-2);
}
.section--tight {
  padding-top: clamp(32px, 5vw, 56px);
}
.band-dark {
  background: var(--ink);
  color: #fff;
}

/* ---------- tlačítka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn .arrow {
  transition: transform 0.2s ease;
}
.btn:hover .arrow {
  transform: translateX(3px);
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover {
  background: var(--gold-hover);
  box-shadow: 0 10px 24px rgba(251, 176, 46, 0.38);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: #000;
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}
.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}
.btn-ghost-light:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}
.btn-lg {
  min-height: 56px;
  padding: 0 30px;
  font-size: 1rem;
}
.btn-block {
  display: flex;
  width: 100%;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.link-arrow .arrow {
  transition: transform 0.2s ease;
}
.link-arrow:hover .arrow {
  transform: translateX(4px);
}
.band-dark .link-arrow {
  color: #fff;
}

/* ==========================================================================
   Hlavička
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header.is-overlay {
  position: fixed;
  left: 0;
  right: 0;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(13, 13, 13, 0.08);
}
.site-header.is-overlay.is-top:not(.menu-open) {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
  color: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  transition: height 0.3s ease;
}
.site-header.is-scrolled .header-inner {
  height: var(--header-h-sm);
}
.brand {
  display: block;
  flex: none;
}
.logo {
  height: 50px;
  width: auto;
  transition: height 0.3s ease;
}
.site-header.is-scrolled .logo {
  height: 42px;
}
.logo--light {
  display: none;
}
.site-header.is-overlay.is-top:not(.menu-open) .logo--light {
  display: block;
}
.site-header.is-overlay.is-top:not(.menu-open) .logo--dark {
  display: none;
}
.main-nav {
  margin-left: auto;
}
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.main-nav a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(var(--gold), var(--gold)) no-repeat 14px calc(100% - 4px) / 0 2px;
  transition: background-size 0.25s ease;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a[aria-current="page"] {
  background-size: calc(100% - 28px) 2px;
}
.has-sub {
  position: relative;
  display: flex;
  align-items: center;
}
.has-sub > a {
  padding-right: 4px;
}
.sub-toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  border-radius: 6px;
}
.sub-toggle svg {
  transition: transform 0.2s ease;
}
.has-sub.is-open .sub-toggle svg {
  transform: rotate(180deg);
}
.submenu {
  position: absolute;
  top: 100%;
  left: -8px;
  min-width: 270px;
  padding: 8px;
  margin-top: 6px;
  list-style: none;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.has-sub:hover .submenu,
.has-sub:focus-within .submenu,
.has-sub.is-open .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.submenu a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  background: none;
  color: var(--ink);
  font-weight: 600;
}
.submenu a:hover,
.submenu a:focus-visible,
.submenu a[aria-current="page"] {
  background: var(--paper-2);
}
.header-cta {
  flex: none;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  border-radius: 10px;
}
.burger {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
  margin: auto;
}
.burger i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.burger i:nth-child(1) {
  top: 0;
}
.burger i:nth-child(2) {
  top: 7px;
}
.burger i:nth-child(3) {
  top: 14px;
}
.menu-open .burger i:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.menu-open .burger i:nth-child(2) {
  opacity: 0;
}
.menu-open .burger i:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h-sm) + 12px) var(--gutter) 28px;
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu[hidden] {
  display: none;
}
.mm-list {
  list-style: none;
}
.mm-list > li {
  border-bottom: 1px solid var(--line);
}
.mm-list a,
.mm-acc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 2px;
  border: 0;
  background: none;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
}
.mm-acc svg {
  transition: transform 0.2s ease;
}
.mm-acc[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.mm-sub {
  list-style: none;
  padding: 0 0 12px 14px;
  border-left: 2px solid var(--gold);
  margin: 0 0 12px 2px;
}
.mm-sub[hidden] {
  display: none;
}
.mm-list .mm-sub a {
  padding: 11px 2px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
}
.mm-foot {
  margin-top: auto;
  padding-top: 28px;
}
.mm-contact {
  margin: 18px 0 0;
  text-align: center;
  color: var(--muted);
}
.mm-contact a {
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 1020px) {
  :root {
    --header-h: 68px;
  }
  .main-nav {
    display: none;
  }
  .header-cta {
    margin-left: auto;
  }
  .nav-toggle {
    display: block;
    margin-right: -10px;
  }
  .logo {
    height: 44px;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 400px) {
  .header-inner {
    gap: 10px;
  }
  .header-cta {
    padding: 0 12px;
    font-size: 0.82rem;
  }
  .logo {
    height: 38px;
  }
}

/* ==========================================================================
   Úvodní sekce
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: max(100svh, 640px);
  padding: calc(var(--header-h) + 48px) 0 88px;
  color: #fff;
  background: var(--ink);
  isolation: isolate;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 36% 50%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(13, 13, 13, 0.82) 0%, rgba(13, 13, 13, 0.55) 48%, rgba(13, 13, 13, 0.12) 100%),
    linear-gradient(0deg, rgba(13, 13, 13, 0.55) 0%, transparent 38%);
}
.hero-copy {
  max-width: 720px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 5.1rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 0.4em;
  text-wrap: balance;
}
.accent {
  color: var(--gold);
}
.hero-text {
  max-width: 54ch;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.55;
  color: #ece9e1;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
@media (max-width: 700px) {
  .hero {
    min-height: max(100svh, 600px);
    padding-bottom: 56px;
  }
  .hero-shade {
    background: linear-gradient(0deg, rgba(13, 13, 13, 0.88) 0%, rgba(13, 13, 13, 0.55) 60%, rgba(13, 13, 13, 0.3) 100%);
  }
  .hero {
    align-items: flex-end;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   Karty služeb
   ========================================================================== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.svc-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.svc-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.svc-card:hover,
.svc-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.svc-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9e5db;
}
.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.svc-card:hover .svc-media img {
  transform: scale(1.05);
}
.svc-media.is-plan {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.svc-media.is-plan img {
  object-fit: contain;
  padding: 12px;
}
.svc-num {
  display: block;
  padding: 26px 26px 0;
  font-family: var(--font-head);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}
.svc-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 26px 24px;
}
.svc-title {
  font-family: var(--font-head);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.svc-text {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}
.svc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.svc-from {
  font-weight: 600;
}
.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--gold-deep);
}
.svc-more .arrow {
  transition: transform 0.2s ease;
}
.svc-card:hover .svc-more .arrow {
  transform: translateX(4px);
}
.svc-card--dark {
  background: var(--ink);
  border-color: #000;
  color: #fff;
}
.svc-card--dark .svc-text {
  color: #c9c5ba;
}
.svc-card--dark .svc-foot {
  border-color: #333;
}
.svc-card--dark .svc-more {
  color: var(--gold);
}
.svc-card--dark .svc-body {
  margin-top: auto;
  flex: 0 0 auto;
}
.svc-group + .svc-group {
  margin-top: clamp(48px, 7vw, 80px);
}
.svc-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 24px;
}
.svc-group-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}
.svc-group-head p {
  margin: 0;
  color: var(--muted);
}
.dron-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(48px, 7vw, 80px);
  padding: clamp(24px, 4vw, 40px);
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}
.dron-callout h2 {
  margin-bottom: 8px;
  font-size: 1.6rem;
}
.dron-callout p {
  margin: 0;
  max-width: 56ch;
  color: #cdc9be;
}
.dron-callout .btn {
  flex: none;
}

/* ==========================================================================
   Portfolio – dlaždice, galerie, filtr
   ========================================================================== */
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e9e5db;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.tile-media {
  position: relative;
  display: block;
  aspect-ratio: var(--r, 16 / 9);
  overflow: hidden;
}
.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tile:hover .tile-media img {
  transform: scale(1.05);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(13, 13, 13, 0.72) 0%, rgba(13, 13, 13, 0) 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.tile:hover::after,
.tile:focus-visible::after {
  opacity: 1;
}
.tile-title {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.tile:hover .tile-title,
.tile:focus-visible .tile-title {
  opacity: 1;
  transform: none;
}
.tile-kind {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 7px 11px;
  border-radius: 99px;
  background: rgba(13, 13, 13, 0.74);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}
.tile--plan .tile-media {
  background: #fff;
}
.tile--plan .tile-media img {
  object-fit: contain;
  padding: 12px;
}
.tile--plan {
  background: #fff;
  border: 1px solid var(--line);
}
.tile-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 64px;
  height: 64px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}
.tile:hover .tile-play {
  transform: scale(1.1);
}
.tile--video .tile-media {
  background: #1a1a1a;
}
@media (hover: none) {
  .tile::after {
    opacity: 1;
    background: linear-gradient(0deg, rgba(13, 13, 13, 0.62) 0%, rgba(13, 13, 13, 0) 42%);
  }
  .tile-title {
    opacity: 1;
    transform: none;
  }
  .tile--plan .tile-title {
    color: #fff;
  }
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
}
.gallery::after {
  content: "";
  flex-grow: 1000000;
}
.g-item {
  flex: calc(var(--r) * 100) 1 calc(var(--r) * 210px);
  min-width: 0;
}
.g-item[hidden] {
  display: none;
}
.g-item.is-fresh {
  animation: fresh 0.45s ease both;
}
@keyframes fresh {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 99px;
  background: #fff;
  font-size: 0.93rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.chip-btn:hover {
  border-color: var(--ink);
}
.chip-btn .count {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.chip-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chip-btn.is-active .count {
  color: var(--gold);
}

/* Vybrané realizace na úvodu */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 17vw, 232px);
  gap: 14px;
  list-style: none;
}
.bento .g-item {
  flex: none;
}
.bento .tile {
  height: 100%;
}
.bento .tile-media {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}
.b-a {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
}
.b-b {
  grid-column: 8 / 13;
  grid-row: 1;
}
.b-c {
  grid-column: 8 / 13;
  grid-row: 2;
}
.b-d {
  grid-column: 1 / 5;
  grid-row: 3;
}
.b-e {
  grid-column: 5 / 9;
  grid-row: 3;
}
.b-f {
  grid-column: 9 / 13;
  grid-row: 3;
}
@media (max-width: 760px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }
  .bento .g-item {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1 / 1;
  }
  .bento .b-a,
  .bento .b-b {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }
}

/* ---------- lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 72px 20px;
  background: rgba(8, 8, 8, 0.95);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lb[hidden] {
  display: none;
}
.lb.is-open {
  opacity: 1;
}
.lb-fig {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0;
  width: 100%;
  max-height: 100%;
  min-height: 0;
}
.lb-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}
.lb-stage img {
  max-width: 100%;
  max-height: calc(100dvh - 170px);
  width: auto;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
}
.lb-stage.is-plan img {
  background: #fff;
  padding: 14px;
}
.lb-stage iframe {
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  max-height: calc(100dvh - 170px);
  border: 0;
  border-radius: 8px;
  background: #000;
}
.lb-cap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  font-size: 0.95rem;
  color: #e5e2d9;
  text-align: center;
}
.lb-cap .lb-kind {
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.lb-cap .lb-count {
  color: #8f8b80;
  font-size: 0.85rem;
}
.lb-btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(30, 30, 30, 0.8);
  color: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.lb-btn:hover {
  background: var(--gold);
  color: var(--ink);
}
.lb-close {
  top: 14px;
  right: 14px;
}
.lb-prev,
.lb-next {
  top: 50%;
  margin-top: -24px;
}
.lb-prev {
  left: 14px;
}
.lb-next {
  right: 14px;
}
@media (max-width: 700px) {
  .lb {
    padding: 60px 10px 14px;
  }
  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 12px;
    margin: 0;
  }
  .lb-prev {
    left: 12px;
  }
  .lb-next {
    right: 12px;
  }
  .lb-cap {
    padding: 0 60px;
    min-height: 48px;
  }
  .lb-stage img,
  .lb-stage iframe {
    max-height: calc(100dvh - 190px);
  }
}

/* ==========================================================================
   Kroky, reference, rozložení
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  counter-reset: none;
}
.step {
  padding-top: 22px;
  border-top: 2px solid var(--line);
}
.step-num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-deep);
}
.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4em;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.steps--dark .step {
  border-top-color: #3a3a3a;
}
.steps--dark .step-num {
  color: var(--gold);
}
.steps--dark .step p {
  color: #c9c5ba;
}

.refs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.refs-more {
  margin-top: 24px;
}
.refs-more[hidden] {
  display: none;
}
.refs-toggle {
  margin-top: 32px;
  text-align: center;
}
.refs-toggle[hidden],
.refs-toggle button[hidden] {
  display: none;
}
.ref {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--paper-2);
}
.ref-mark {
  color: var(--gold);
}
.ref blockquote {
  margin: 0;
}
.ref blockquote p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.65;
}
.ref figcaption {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
  font-size: 0.93rem;
}
.ref figcaption strong {
  display: block;
}
.ref figcaption span {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.split--center {
  align-items: center;
}
.split-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.rounded {
  border-radius: var(--radius);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line-strong);
}
.faq-item:first-child {
  border-top: 1px solid var(--line-strong);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--gold-deep);
}
.faq-icon {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.faq-icon::after {
  transform: rotate(90deg);
}
.faq-item[open] .faq-icon::after {
  transform: rotate(0deg);
}
.faq-a {
  padding: 0 44px 24px 0;
  color: var(--muted);
}
.faq-a p {
  margin: 0;
}
.faq-item::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete;
}
.faq-item[open]::details-content {
  block-size: auto;
}

/* CTA */
.cta {
  padding: clamp(64px, 9vw, 112px) 0;
}
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.cta h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  max-width: 22ch;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 24px;
}
.cta-contacts {
  list-style: none;
  border-top: 1px solid #333;
}
.cta-contacts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid #333;
}
.cta-contacts span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a968b;
}
.cta-contacts a {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
}
.cta-contacts a:hover {
  color: var(--gold);
}

/* sleva – decentní štítek */
.discount {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 9px 18px 9px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  background: #fff;
  font-size: 0.93rem;
  line-height: 1.35;
}
.discount small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}
.discount-badge {
  flex: none;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-family: var(--font-head);
}
.discount--block {
  display: flex;
  border-radius: 14px;
  margin-top: 24px;
}
.band-dark .discount {
  background: transparent;
  border-color: #3a3a3a;
  color: #fff;
}
.band-dark .discount small {
  color: #aaa69b;
}

/* ==========================================================================
   Podstránky
   ========================================================================== */
.page-hero {
  padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 72px);
  background: var(--paper-2);
}
.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  max-width: 24ch;
  letter-spacing: -0.03em;
}
.page-hero .lead {
  margin-bottom: 0;
}
.page-hero-inner.has-aside {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.ph-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 24px;
  list-style: none;
  font-size: 0.86rem;
  color: var(--muted);
}
.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.5;
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  text-decoration: underline;
}
.crumbs [aria-current] {
  color: var(--text);
  font-weight: 600;
}
.ph-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e9e5db;
  box-shadow: var(--shadow-sm);
}
.ph-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph-media.is-plan {
  background: #fff;
  border: 1px solid var(--line);
}
.ph-media.is-plan img {
  object-fit: contain;
  padding: 14px;
}
.ph-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  padding: 10px 16px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
}
.price-card {
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}
.price-card--light {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.pc-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.price-card--light .pc-label {
  color: var(--gold-deep);
}
.pc-value {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.pc-note {
  margin: 0 0 18px;
  color: #bdb9ae;
  font-size: 0.95rem;
}
.price-card--light .pc-note {
  color: var(--muted);
  margin: 0;
}
.price-card .link-arrow {
  color: #fff;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.benefit-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.benefit {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.benefit-icon {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold-deep);
}
.benefit-icon svg {
  width: 30px;
  height: 30px;
}
.benefit h3 {
  font-size: 1.2rem;
}
.benefit p {
  margin: 0;
  color: var(--muted);
}
.benefit .benefit-price {
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
}
.checklist {
  list-style: none;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-strong);
}
.checklist li:first-child {
  border-top: 1px solid var(--line-strong);
}
.check-icon {
  flex: none;
  margin-top: 2px;
  color: var(--gold-deep);
}
.note-card {
  max-width: 640px;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
}
.note-card p:first-child {
  font-size: 1.1rem;
}
.note-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.related-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.related-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.rl-title {
  flex: 1;
  font-weight: 700;
}
.rl-from {
  color: var(--muted);
  font-size: 0.92rem;
}
.related-link .arrow {
  color: var(--gold-deep);
  transition: transform 0.2s ease;
}
.related-link:hover .arrow {
  transform: translateX(4px);
}
.h3 + .related-grid {
  margin-top: 20px;
}

/* ceník */
.price-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  list-style: none;
}
.price-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 99px;
  background: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.price-nav a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.price-grid--1 {
  grid-template-columns: minmax(0, 780px);
}
.price-group {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  scroll-margin-top: calc(var(--header-h-sm) + 20px);
}
.pg-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.pg-head h3 {
  margin-bottom: 4px;
  font-size: 1.4rem;
}
.pg-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.pg-head .link-arrow {
  flex: none;
  font-size: 0.93rem;
  padding-top: 6px;
}
.price-rows {
  list-style: none;
}
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.pr-label {
  flex: 1;
  font-weight: 600;
  line-height: 1.4;
}
.pr-label small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 400;
}
.price {
  flex: none;
  text-align: right;
  white-space: nowrap;
}
.price-main {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.price-main--text {
  font-size: 1.02rem;
  color: var(--gold-deep);
}
.price-pre,
.price-unit {
  color: var(--muted);
  font-size: 0.88rem;
}
.price-unit {
  margin-left: 4px;
}
.pg-foot {
  margin: 8px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.price-foot {
  margin-top: 40px;
  color: var(--muted);
  max-width: 70ch;
}
.price-foot p {
  margin-bottom: 0.6em;
}

/* o nás */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}
.tag-list li {
  padding: 12px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 99px;
  font-weight: 600;
}
.people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.person {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.monogram {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.person h3 {
  margin-bottom: 4px;
  font-size: 1.5rem;
}
.person-role {
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--gold-deep);
}
.person p {
  color: var(--muted);
}
.person-contact {
  margin: 20px 0 0;
}
.person-contact a {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.person-contact a:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
}
.link-list {
  list-style: none;
}
.link-list li:first-child a {
  border-top: 1px solid var(--line-strong);
}
.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, padding 0.2s ease;
}
.link-list a:hover {
  padding-left: 8px;
  color: var(--gold-deep);
}

/* ukázka Matterport */
.embed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 28% 18%, #343434 0%, #151515 60%, #0d0d0d 100%);
  box-shadow: var(--shadow-md);
}
.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed-start {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  padding: 24px;
  border: 0;
  background: none;
  color: #fff;
  text-align: center;
}
.embed-icon {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(251, 176, 46, 0.35);
  transition: transform 0.25s ease;
}
.embed-icon svg {
  width: 34px;
  height: 34px;
}
.embed-start:hover .embed-icon {
  transform: scale(1.08);
}
.embed-label strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.25rem;
}
.embed-label small {
  display: block;
  margin-top: 6px;
  color: #aaa69b;
  font-size: 0.9rem;
}
.embed-alt {
  margin: 18px 0 0;
}
@media (max-width: 700px) {
  .embed {
    aspect-ratio: 4 / 5;
    max-height: 78svh;
  }
}

/* ==========================================================================
   Kontakt a formulář
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-cards {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  list-style: none;
}
.contact-card {
  display: grid;
  gap: 2px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.cc-name {
  font-weight: 600;
}
.cc-role {
  color: var(--muted);
  font-size: 0.9rem;
}
.cc-link {
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.cc-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
}
.contact-meta {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.form-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.form-intro {
  color: var(--muted);
  margin-bottom: 28px;
}
.field {
  display: block;
  min-width: 0;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.field label,
.field legend {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 600;
}
.req {
  color: var(--gold-deep);
}
.opt {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:hover,
.field textarea:hover {
  border-color: var(--ink);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(251, 176, 46, 0.45);
}
.field [aria-invalid="true"] {
  border-color: var(--danger);
}
.field-error {
  margin: 6px 0 0;
  color: var(--danger);
  font-size: 0.88rem;
  font-weight: 600;
}
.field-error[hidden] {
  display: none;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  position: relative;
  display: inline-block;
  margin: 0;
}
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: inline-block;
  padding: 11px 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 99px;
  background: #fff;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chip:hover span {
  border-color: var(--ink);
}
.chip input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chip input:focus-visible + span {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
}
.bot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin: 0 0 20px;
}
.form-status:empty {
  display: none;
}
.form-status:focus {
  outline: none;
}
.form-msg {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  font-size: 0.97rem;
}
.form-msg strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.02rem;
}
.form-msg p {
  margin: 0 0 10px;
}
.form-msg p:last-child {
  margin-bottom: 0;
}
.form-msg--ok {
  background: #eef7f0;
  border-color: #b7d9c0;
  color: #12411f;
}
.form-msg--error {
  background: #fdf0ee;
  border-color: #f0bdb8;
  color: #6b140d;
}
.form-msg--info {
  background: #fff7e6;
  border-color: #f1d28f;
  color: #4d3300;
}
.form-msg .btn {
  margin-top: 6px;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.form-note {
  flex: 1 1 260px;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.form-note--warn {
  color: var(--danger);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

/* ==========================================================================
   Patička
   ========================================================================== */
.site-footer {
  padding: clamp(48px, 7vw, 80px) 0 28px;
  background: var(--ink);
  color: #bdb9ae;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 1.2fr;
  gap: 40px;
}
.f-brand img {
  width: 150px;
  height: auto;
  margin-bottom: 14px;
}
.f-brand p {
  max-width: 34ch;
  margin: 0;
}
.f-col h2 {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.f-col ul {
  list-style: none;
}
.f-col li {
  margin-bottom: 8px;
}
.f-col a {
  text-decoration: none;
}
.f-col a:hover,
.f-social a:hover {
  color: var(--gold);
}
.f-contacts li {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 12px;
}
.f-name {
  font-size: 0.82rem;
  color: #8f8b80;
}
.f-contacts a {
  color: #fff;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.f-social {
  margin: 16px 0 0;
}
.f-social a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid #2c2c2c;
  font-size: 0.86rem;
  color: #8f8b80;
}
.footer-bottom p {
  margin: 0;
}

/* ==========================================================================
   Animace při objevení obsahu (jen s JavaScriptem; vypnuto při omezeném pohybu)
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease var(--d, 0ms), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responzivita
   ========================================================================== */
@media (max-width: 1020px) {
  .svc-grid,
  .refs-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .price-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .price-grid--1 {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 860px) {
  .split,
  .cta-inner,
  .contact-layout,
  .page-hero-inner.has-aside {
    grid-template-columns: minmax(0, 1fr);
  }
  .split-media {
    order: -1;
  }
  .people {
    grid-template-columns: minmax(0, 1fr);
  }
  .dron-callout {
    flex-direction: column;
    align-items: flex-start;
  }
  .related-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .svc-grid,
  .svc-grid--2,
  .refs-grid,
  .benefit-grid,
  .benefit-grid--2,
  .steps,
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .field-row {
    gap: 0;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .price {
    text-align: left;
  }
  .pg-head {
    flex-direction: column;
    gap: 8px;
  }
  .pg-head .link-arrow {
    padding-top: 0;
  }
  .cta-actions .btn,
  .ph-actions .btn,
  .note-actions .btn {
    flex: 1 1 100%;
  }
  .form-actions .btn {
    width: 100%;
  }
  .faq-a {
    padding-right: 0;
  }
  .gallery {
    gap: 10px;
  }
}

/* ==========================================================================
   Omezený pohyb
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .btn:hover,
  .svc-card:hover,
  .related-link:hover {
    transform: none;
  }
  .tile:hover .tile-media img,
  .svc-card:hover .svc-media img {
    transform: none;
  }
}

/* Nenačtený obrázek (např. externí zdroj nedostupný) – bez rozbité ikony a alt textu přes plochu */
img.is-broken {
  visibility: hidden;
}

/* ==========================================================================
   Úpravy: video v úvodu, kontaktní osoba, počítadlo půdorysů, foto v ceníku
   ========================================================================== */
.hero-video {
  background: var(--ink);
}
.hero-pause {
  position: absolute;
  right: var(--gutter);
  bottom: 22px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(13, 13, 13, 0.55);
  color: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.hero-pause:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.hp-icon {
  width: 12px;
  height: 14px;
  border-left: 4px solid currentColor;
  border-right: 4px solid currentColor;
}
.hero-pause.is-paused .hp-icon {
  width: 0;
  height: 0;
  border: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid currentColor;
  margin-left: 3px;
}
.badge-lead {
  display: inline-block;
  align-self: start;
  justify-self: start;
  margin: 0 0 8px;
  padding: 4px 11px;
  border-radius: 99px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact-card--lead {
  border: 2px solid var(--gold);
  background: #fffaf0;
}
.cc-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.person--lead {
  border: 2px solid var(--gold);
}
.ph-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.chip--count {
  display: inline-flex;
  align-items: stretch;
  border: 1.5px solid var(--line-strong);
  border-radius: 99px;
  background: #fff;
  overflow: hidden;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.chip--count:hover {
  border-color: var(--ink);
}
.chip--count.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chip--count button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.chip--count .qty-minus {
  padding-right: 10px;
  font-size: 1.15rem;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}
.chip--count .qty-minus[hidden] {
  display: none;
}
.chip--count .qty-minus:hover {
  color: var(--gold);
}
.chip--count .qty-add {
  flex-wrap: wrap;
}
.chip--count .qty-add small {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.7;
}
.chip--count button:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: -3px;
}
.chips-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.chips-hint[hidden],
.form-estimate[hidden] {
  display: none;
}
.form-estimate {
  margin: 0 0 16px;
  padding: 14px 18px;
  border: 1px solid #f1d28f;
  border-radius: var(--radius-sm);
  background: #fff7e6;
  color: #4d3300;
  font-size: 0.95rem;
}
.form-estimate strong {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--ink);
}
@media (max-width: 860px) {
  .ph-aside {
    display: none;
  }
}
.chip--count span {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font: inherit;
}
.chip--count:hover span {
  border-color: transparent;
}

/* ---------- vyskakovací okno se slevou ---------- */
.popup {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  width: min(400px, calc(100vw - 32px));
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.popup[hidden] {
  display: none;
}
.popup.is-open {
  opacity: 1;
  transform: none;
}
.popup-box {
  position: relative;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 28px 24px 22px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  background: #fff;
  text-align: left;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
}
.popup-close:hover {
  background: var(--paper-2);
}
.popup-eyebrow {
  margin-bottom: 8px;
}
.popup h2 {
  margin: 0 28px 16px 0;
  font-size: clamp(1.4rem, 4.5vw, 1.75rem);
  text-wrap: balance;
}
.popup-form {
  display: grid;
  gap: 8px;
  text-align: left;
}
.popup-form label[for] {
  font-size: 0.9rem;
  font-weight: 600;
}
.popup-form input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
}
.popup-form input[type="email"]:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 2px;
}
.popup-form input[aria-invalid="true"] {
  border-color: var(--danger);
}
.popup-form .btn {
  margin-top: 8px;
}
.popup-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.popup-status {
  text-align: left;
}
.popup-status:empty {
  display: none;
}
.popup-status:focus {
  outline: none;
}
.popup [data-popup-body][hidden] {
  display: none;
}
@media (max-width: 560px) {
  .popup {
    right: 16px;
    bottom: 16px;
    left: 16px;
    width: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .popup {
    transition: none;
    transform: none;
  }
}

.dron-media {
  display: grid;
  gap: 1rem;
}
.dron-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.split-copy .note + p {
  margin-top: 1.25rem;
}

/* Matterport s náhledovou fotkou */
.embed-start--poster {
  padding: 0;
  cursor: pointer;
}
.embed-start--poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}
.embed-start--poster:hover img {
  transform: scale(1.03);
  filter: brightness(1.08);
}
.embed-start--poster:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: -4px;
}

/* Reels */
.reels-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}
@media (min-width: 900px) {
  .reels-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 48px;
  }
}
.gallery--reels {
  flex-wrap: nowrap;
}
.gallery--reels::after {
  display: none;
}
.gallery--reels .g-item {
  flex: 1 1 0;
}
.reels-side {
  display: grid;
  gap: 14px;
}
.reels-side .btn {
  justify-self: start;
}
.lb-stage.is-vertical iframe {
  width: auto;
  height: calc(100dvh - 170px);
  max-width: 100%;
  aspect-ratio: 9 / 16;
}
@media (max-width: 700px) {
  .lb-stage.is-vertical iframe {
    height: calc(100dvh - 190px);
  }
}

/* Právní dokumenty */
.f-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.f-legal a {
  color: #bdb9ad;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.f-legal a:hover {
  color: #fff;
}
.legal-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 960px) {
  .legal-grid {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }
  .legal-toc {
    position: sticky;
    top: 96px;
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
  }
}
.legal-toc {
  font-size: 0.92rem;
}
.legal-toc ol,
.legal-toc ul {
  display: grid;
  gap: 6px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.legal-toc a {
  color: var(--ink);
  text-decoration: none;
}
.legal-toc a:hover {
  color: var(--gold-deep);
  text-decoration: underline;
}
.legal-meta {
  margin: 0 0 14px;
  color: var(--muted);
}
.legal-others {
  margin: 0 0 8px;
  font-weight: 700;
}
.legal-body {
  max-width: 78ch;
}
.legal-ident {
  margin: 0 0 28px;
  padding: 16px 20px;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  background: var(--paper, #f6f4ef);
  font-size: 0.95rem;
}
.legal-ident p {
  margin: 0 0 6px;
}
.legal-ident p:last-child {
  margin: 0;
}
.legal-sec {
  margin: 0 0 36px;
  scroll-margin-top: 96px;
}
.legal-sec h2 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
}
.legal-sec h3 {
  margin: 18px 0 8px;
  font-size: 1.05rem;
}
.clause {
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr);
  gap: 0 8px;
  margin: 0 0 10px;
  line-height: 1.6;
}
.clause-no {
  color: var(--gold-deep);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.legal-p {
  margin: 0 0 12px;
  line-height: 1.6;
}
.legal-list {
  margin: 0 0 12px 3.2em;
  padding-left: 1.2em;
  line-height: 1.6;
}
.legal-list li {
  margin-bottom: 4px;
}
.legal-attach {
  padding-top: 24px;
  border-top: 2px solid var(--line);
}
.legal-form {
  margin: 8px 0 14px;
  padding: 16px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
}
.legal-form p {
  margin: 0 0 8px;
}
mark.todo {
  padding: 0 4px;
  border-radius: 3px;
  background: #ffe39a;
  color: #4a3200;
  font-weight: 600;
}

/* ---------- Tlačítko ve stylu odkazu (Nastavení cookies) ---------- */
.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.f-legal .link-btn {
  color: #bdb9ad;
}
.f-legal .link-btn:hover {
  color: #fff;
}
.link-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Cookie lišta (nemodální karta vlevo dole) ---------- */
.cc {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 130;
  width: min(460px, calc(100vw - 32px));
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cc[hidden] {
  display: none;
}
.cc.is-open {
  opacity: 1;
  transform: none;
}
.cc-box {
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.cc h2 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  line-height: 1.25;
}
.cc p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}
.cc p a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cc-settings {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}
.cc-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  cursor: pointer;
}
.cc-row input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--ink);
}
.cc-row strong {
  display: block;
  font-size: 0.92rem;
}
.cc-row small {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}
.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cc-actions .btn {
  flex: 1 1 auto;
  justify-content: center;
  padding: 11px 14px;
  font-size: 0.92rem;
}
.cc-actions [hidden] {
  display: none;
}
@media (max-width: 560px) {
  .cc {
    left: 16px;
    bottom: 16px;
    width: auto;
    right: 16px;
  }
  .cc-actions .btn {
    flex-basis: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cc {
    transition: none;
    transform: none;
  }
}
.cc-settings[hidden] {
  display: none;
}

/* ---------- Video v sekci „O Revisual“ (svislé 9:16) ---------- */
.split-media .about-video {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(78vh, 640px);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  object-fit: contain;
  background: #0d0d0d;
}
@media (max-width: 899px) {
  .split-media .about-video {
    width: min(100%, 360px);
    height: auto;
  }
}

/* ---------- Zahraniční nemovitosti: jedno velké video ---------- */
.gallery--single {
  flex-wrap: nowrap;
}
.gallery--single::after {
  display: none;
}
.gallery--single .g-item {
  flex: 1 1 100%;
}

/* ---------- balíčky (hlavní strana) ---------- */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 0;
  align-items: stretch;
  padding-top: 12px;
}
#balicky.section {
  padding: 24px 0 26px;
}
#balicky .section-head {
  margin-bottom: 18px;
}
@media (min-width: 981px) {
  #balicky .section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    column-gap: 32px;
  }
  #balicky .section-head .eyebrow {
    flex: 0 0 100%;
    margin-bottom: 6px;
  }
  #balicky .section-head .lead {
    margin-top: 0;
    text-align: right;
  }
}
#balicky .section-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  max-width: none;
}
#balicky .section-head .lead {
  margin-top: 6px;
  max-width: none;
  font-size: 1rem;
  line-height: 1.5;
}
.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 22px 16px;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.pkg--top {
  border-color: var(--gold);
  box-shadow: 0 18px 50px rgba(251, 176, 46, 0.22);
}
.pkg-flag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 7px 16px;
  border-radius: 99px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pkg-name {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pkg-was {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.9rem;
}
.pkg-was del {
  text-decoration-thickness: 2px;
  text-decoration-color: var(--danger);
}
.pkg-price {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.pkg-sum {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}
.pkg-save {
  margin: 6px 0 0;
  color: var(--ok);
  font-size: 0.88rem;
  font-weight: 600;
}
.pkg-list {
  display: grid;
  align-content: start;
  gap: 5px;
  margin: 10px 0 8px;
  font-size: 0.9rem;
  padding: 0;
  list-style: none;
  text-align: left;
}
.pkg-list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.45;
}
.pkg-list li::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 18px;
  height: 18px;
  background: var(--gold-deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3.5 9.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='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 18 18'%3E%3Cpath d='M3.5 9.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pkg-option {
  margin: 0 0 10px;
  padding: 7px 10px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  font-size: 0.85rem;
  line-height: 1.35;
}
.pkg-option-text {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}
.pkg-time {
  margin: 0 0 8px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.pkg-priceblock {
  display: contents;
}
.pkg > .btn {
  min-height: 42px;
  padding-block: 0;
  font-size: 0.95rem;
}
/* počítač: všechny karty mají řádky přesně ve stejné výšce (subgrid) */
@media (min-width: 981px) {
  .pkg-grid {
    grid-template-rows: repeat(8, auto);
  }
  .pkg {
    display: grid;
    grid-row: 1 / span 8;
    grid-template-rows: subgrid;
  }
  .pkg:nth-child(1) { grid-column: 1; }
  .pkg:nth-child(2) { grid-column: 2; }
  .pkg:nth-child(3) { grid-column: 3; }
  .pkg > * { grid-column: 1; }
  .pkg-name { grid-row: 1; }
  .pkg-was { grid-row: 2; }
  .pkg-price { grid-row: 3; }
  .pkg-sum { grid-row: 4; }
  .pkg-save { grid-row: 5; }
  .pkg-list { grid-row: 6; margin-bottom: 14px; }
  .pkg-time { grid-row: 7; align-self: start; }
  .pkg > .btn { grid-row: 8; align-self: end; }
}
@media (max-width: 980px) {
  .pkg-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 460px;
    margin-inline: auto;
    row-gap: 28px;
    padding-top: 18px;
  }
  .pkg--top {
    order: -1;
  }
}

.pkg-list .pkg-option {
  margin: 3px 0 0;
  padding: 6px 10px;
  text-align: center;
}
.pkg-list .pkg-option::before {
  display: none;
}
.pkg-list .pkg-option .pkg-option-text {
  font-size: 0.74rem;
}
