:root {
  --text: #111827;
  --muted: #475569;
  --bg: #f7f7f5;
  --line: rgba(15, 23, 42, 0.10);
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
  --line-on-green: #f7f7f5;
  --main-color: #597680;
  --frame: #2f2f2f;
  --page-bg: var(--bg);
  --maxw: 1100px;
  --page-radius: 22px;
  --service-card-bg: #597680;
  --service-card-border: #597680;
  --service-card-hover: #49636b;
  --card: #597680;
  --btn-contact-bg: #597680;
  --btn-contact-bg-hover: #49636b;
  --btn-contact-text: #f7f7f5;
  --btn-inquiry-bg: #111827;
  --btn-inquiry-bg-hover: #111827;
  --btn-inquiry-text: #f7f7f5;
  --btn-sample-bg: #111827;
  --btn-sample-bg-hover: #111827;
  --btn-sample-border: #111827;
  --btn-sample-text: #f7f7f5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Avenir, Arial, sans-serif;
  color: var(--text);
  background: var(--frame);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  max-width: var(--maxw);
  margin: 30px auto;
  background: var(--page-bg);
  border-radius: var(--page-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

@media (max-width: 720px) {
  .page {
    margin: 12px;
    border-radius: 18px;
  }
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #f7f7f5;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  color: var(--text);
}

.brand__logo {
  height: 24px;
  width: auto;
  display: block;
}

@media (max-width: 520px) {
  .brand__logo {
    height: 8px;
  }
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--text);
  text-shadow: none;
}

.nav a {
  text-decoration: none;
  opacity: 0.95;
}

.nav a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 719px) {
  .nav {
    display: none;
  }

  .topbar__right {
    gap: 0;
  }
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero.hero--home {
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
}

.hero.hero--subpage {
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
      rgba(15, 23, 42, 0.65) 0%,
      rgba(15, 23, 42, 0.35) 35%,
      rgba(15, 23, 42, 0.00) 65%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0;
  padding: 0 20px 24px;
}

@media (max-width: 720px) {
  .hero__content {
    padding-bottom: 28px;
  }
}

.hero__title {
  margin: 0 0 8px;
  font-size: 2.0rem;
  line-height: 1.12;
  letter-spacing: 0.2px;
  color: #f7f7f5;
}

.hero__text {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.55;
  opacity: 0.96;
  color: #f7f7f5;
}

.hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hero.hero--legal {
  height: auto;
  min-height: 0;
  display: block;
  background: transparent;
  padding: 42px 0 10px;
}

.hero--legal .hero__media,
.hero--legal .hero__overlay {
  display: none;
}

.hero--legal .hero__content {
  margin: 0;
  padding: 0 16px;
  max-width: 70ch;
}

.hero--legal .hero__title {
  color: #111827;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  margin: 0 0 10px;
}

.hero--legal .hero__text {
  color: #475569;
  font-size: 1.1rem;
  margin: 0;
  opacity: 1;
}

@media (max-width: 720px) {
  .hero.hero--legal {
    padding: 28px 0 6px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: transform 0.08s ease, opacity 0.08s ease, background 0.12s ease, border-color 0.12s ease;
}

.btn:active {
  transform: scale(0.99);
}

.btn:focus-visible {
  outline: 3px solid rgba(15, 23, 42, 0.20);
  outline-offset: 3px;
}

.btn--contact {
  background: var(--btn-contact-bg);
  color: var(--btn-contact-text);
}

.btn--contact:hover {
  background: var(--btn-contact-bg-hover);
}

.btn--inquiry {
  background: var(--btn-inquiry-bg);
  color: var(--btn-inquiry-text);
}

.btn--inquiry:hover {
  background: var(--btn-inquiry-bg-hover);
}

.btn--sample {
  background: var(--btn-sample-bg);
  color: var(--btn-sample-text);
  border-color: var(--btn-sample-border);
}

.btn--sample:hover {
  background: var(--btn-sample-bg-hover);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 719px) {
  .btn {
    padding: 10px 14px;
    border-radius: 12px;
  }
}

.offer-card__actions {
  text-align: right;
}

main {
  padding: 16px 0 0;
}

.section {
  padding: 16px 0;
}

.section--after-hero {
  padding-top: 0;
}

.section__title {
  margin: 0 0 10px;
  font-size: 1.55rem;
  letter-spacing: 0.2px;
}

.section__subtitle {
  margin: 22px 0 10px;
  font-size: 1.25rem;
  letter-spacing: 0.2px;
}

.section__lead {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 70ch;
}

.grid {
  display: grid;
  gap: 14px;
}

.card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.card__title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #f7f7f5;
}

.card__text {
  margin: 0;
  color: #f7f7f5;
  line-height: 1.6;
}

.card--service {
  padding: 0;
}

.card__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card--service {
  background: var(--service-card-bg);
  border-color: var(--service-card-border);
  overflow: hidden;
}

.card--service.card--link:hover {
  background: var(--service-card-hover);
  border-color: rgba(15, 23, 42, 0.22);
  outline: 2px solid rgba(15, 23, 42, 0.18);
  outline-offset: -2px;
}

.card__body {
  padding: 16px;
}

.card--service .card__title {
  margin-top: 0;
}

.card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.card--link:hover {
  background: #f7f7f5;
  border-color: rgba(15, 23, 42, 0.35);
  outline: 2px solid rgba(15, 23, 42, 0.25);
  outline-offset: -2px;
}

.card--link:focus-visible {
  outline: 3px solid rgba(15, 23, 42, 0.35);
  outline-offset: -3px;
}

.card__more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.9;
}

.card--link:hover .card__more {
  opacity: 1;
}

.contact__box {
  background: #f7f7f5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.contact__item {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.6;
}

.contact__item strong {
  color: var(--text);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer__inner {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__links a {
  text-decoration: none;
}

.footer__links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.form__grid {
  display: grid;
  gap: 12px;
}

.form__field {
  display: grid;
  gap: 6px;
}

.form__label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.form__req {
  color: #000000;
}

.form__input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f7f7f5;
  font: inherit;
  color: var(--text);
}

.form__input:focus {
  outline: 2px solid rgba(15, 23, 42, 0.18);
  outline-offset: 2px;
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

.form__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.form__status {
  margin: 12px 0 0;
  color: var(--muted);
}

.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.5;
}

.form__check input {
  margin-top: 4px;
}

@media (min-width: 720px) {
  .hero__content {
    padding: 130px 24px 64px;
  }

  .hero__title {
    font-size: 3.0rem;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form__grid {
    grid-template-columns: 1fr 1fr;
  }

  .form__field--full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .hero {
    height: 78vh;
    min-height: 640px;
  }

  .hero__title {
    font-size: 3.2rem;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.calc__objects {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.calc__object {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f7f5;
  padding: 14px;
}

.calc__objectHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.calc__objectTitle {
  font-weight: 800;
}

.calc__remove {
  border: none;
  background: transparent;
  color: #b91c1c;
  font-weight: 800;
  cursor: pointer;
  padding: 6px 8px;
}

.calc__remove:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.calc__grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 720px) {
  .calc__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.calc__hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.calc__actions {
  margin-top: 12px;
}

.calc__result {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.calc__priceRow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin: 6px 0;
}

.calc__priceLabel {
  color: var(--muted);
}

.calc__priceValue {
  font-weight: 900;
  font-size: 1.15rem;
}

.calc__muted {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.calc__divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 18px 0;
}

.process {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.process__step {
  position: relative;
  background: #c5e1d8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 14px 52px;
}

.process__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f7f7f5;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 800;
  font-size: 0.95rem;
}

.process__step::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 46px;
  bottom: 14px;
  width: 2px;
  background: rgba(15, 23, 42, 0.10);
}

.process__step:last-child::after {
  display: none;
}

.process__title {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.process__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.process__link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.assist {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(130, 193, 182, 0.231);
}

.assist__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--text);
  opacity: 0.85;
}

.assist__lead {
  margin: 0 0 10px;
  color: var(--muted);
  opacity: 0.9;
  line-height: 1.6;
  max-width: 75ch;
}

.assist__list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.info-layout {
  display: grid;
  gap: 14px;
}

@media (min-width: 900px) {
  .info-layout {
    grid-template-columns: 1.25fr 0.75fr;
    grid-template-areas:
      "headCalc headProc"
      "panelCalc panelProc";
    align-items: start;
  }

  .info-head--calc {
    grid-area: headCalc;
  }

  .info-head--process {
    grid-area: headProc;
  }

  #kalkulace {
    grid-area: panelCalc;
  }

  #process {
    grid-area: panelProc;
  }
}

.panel {
  min-width: 0;
  display: flex;
}

.panel>* {
  width: 100%;
}

.panel--calc {
  display: flex;
}

.info-left .section__title,
.info-right .section__title {
  margin-top: 0;
}

.form__field--help {
  position: relative;
}

.help-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.75;
}

.help-btn:hover {
  opacity: 1;
}

.help-btn:focus-visible {
  outline: 3px solid rgba(15, 23, 42, 0.18);
  outline-offset: 3px;
  border-radius: 10px;
}

.help-pop {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 50;

  width: min(300px, calc(100vw - 40px));
  padding: 12px;

  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 14px;
  background: #f7f7f5;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);

  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.help-pop p {
  margin: 0 0 8px;
}

.help-pop p:last-child {
  margin-bottom: 0;
}

.help-pop::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 18px;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  background: #f7f7f5;
  border-left: 1px solid rgba(15, 23, 42, 0.14);
  border-top: 1px solid rgba(15, 23, 42, 0.14);
}

#kalkulace {
  scroll-margin-top: 120px;
}

#vystupysken {
  scroll-margin-top: 90px;
}

#page {
  scroll-margin-top: 30px;
}

.contact__box--highlight {
  outline: 3px solid rgba(15, 23, 42, 0.16);
  outline-offset: 6px;
  border-radius: var(--radius);
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.inline-help {
  position: relative;
  display: inline;
  white-space: nowrap;
}

.help-btn.help-btn--inline {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;

  font: inherit;
  color: inherit;

  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  opacity: 0.95;
}

.help-pop.help-pop--inline {
  position: absolute;
  bottom: calc(100% + 10px);
  top: auto;

  left: 50%;
  transform: translateX(-50%);

  width: min(260px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);

  padding: 12px 14px;
  box-sizing: border-box;

  background: #f7f7f5;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);

  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);

  z-index: 200;

  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.help-pop.help-pop--inline::before {
  content: "";
  position: absolute;
  top: auto;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(225deg);

  width: 14px;
  height: 14px;

  background: #f7f7f5;
  border-left: 1px solid rgba(15, 23, 42, 0.14);
  border-top: 1px solid rgba(15, 23, 42, 0.14);
}

@media (min-width: 721px) {
  .inline-help {
    display: inline-block;
  }

  .help-pop.help-pop--inline {
    left: 0;
    transform: translateX(40%);
    width: 300px;
    max-width: 300px;
  }

  .help-pop.help-pop--inline::before {
    left: 40px;
    transform: rotate(225deg);
  }
}

.intro {
  display: block;
}

.intro__media {
  display: none;
}

.about-contact {
  display: grid;
  gap: 14px;
  align-items: start;
}

.about-contact__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f7f7f5;
}

.about-contact__media img {
  width: 100%;
  height: auto;
  display: block;
}

.about-contact__people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
}

.person {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f7f7f5;
}

.person img {
  width: 100%;
  height: auto;
  display: block;
}

.person__cap {
  padding: 10px 10px 12px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.about-contact__content .section__lead {
  max-width: none;
}

.about-contact__card {
  margin-top: 12px;
  background: var(--main-color);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.about-contact__title {
  color: #f7f7f5;
}

.about-contact__address {
  border-top: 1px solid var(--line);
}

.about-contact__title {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.about-contact__item {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.6;
}

.about-contact__item strong {
  color: #f7f7f5;
}

.about-contact__item a {
  text-decoration: none;
}

.about-contact__item a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.about-contact__address {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}

.about-contact__addressTitle {
  margin-bottom: 6px;
  color: #f7f7f5;
}

.about-contact__item,
.about-contact__address {
  color: #f7f7f5;
}

.quick-contact {
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  padding: 16px;
}

.quick-contact__text {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 75ch;
}

.quick-contact__items {
  display: grid;
  gap: 10px;
}

@media (min-width: 720px) {
  .quick-contact__items {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

.quick-contact__link {
  display: block;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f7f7f5;
  text-decoration: none;
  color: var(--muted);
  line-height: 1.6;
}

.quick-contact__link strong {
  color: var(--text);
}

.quick-contact__link:hover {
  border-color: rgba(15, 23, 42, 0.22);
  background: #f7f7f5;
}

@media (max-width: 719px) {
  .about-contact__card {
    padding: 14px;
  }

  .quick-contact {
    padding: 14px;
  }
}

.about-contact__content--split {
  display: grid;
  gap: 32px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .about-contact__content--split {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
    gap: 18px;
  }
}

.about-contact__about .section__lead {
  max-width: 550px;
}

.about-contact__avatars {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  max-width: 420px;
}

.avatar {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
}

.avatar__img {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #f7f7f5;
}

@media (min-width: 900px) {
  .avatar__img {
    width: 150px;
    height: 150px;
  }
}

.avatar__cap {
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.25;
}

.about-contact__contact {
  display: flex;
  align-items: stretch;
}

.about-contact__contact .about-contact__card {
  flex: 1;
  display: flex;
  flex-direction: column;

  height: 100%;
}

.about-contact__card {
  max-width: 420px;
}

.offer-card--main {
  background: var(--service-card-bg);
  border: 1px solid var(--service-card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
}

.offer-card--main:not(.sample-offer):hover {
  background: var(--service-card-hover);
  border-color: rgba(15, 23, 42, 0.22);
  outline: 2px solid rgba(15, 23, 42, 0.18);
  outline-offset: -2px;
}

.variant-grid--fixed .offer-card--main .offer-card__body {
  min-height: var(--variant-body-min, 200px);
}

.offer-card__media {
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

.offer-card__media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.offer-card__body {
  padding: 16px;
}

.offer-card__title {
  margin: 0 0 8px;
  color: #f7f7f5;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.2;
}

.offer-card__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}

.offer-card__bottom {
  padding: 12px 16px 14px;
  border-top: 1px solid var(--line-on-green);

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.offer-card__priceLabel {
  color: rgba(255, 255, 255, 0.85);
}

.offer-card__priceValue {
  color: #f7f7f5;
  font-weight: 900;
  font-size: 1.2rem;
}

.offer-card__note {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-top: 6px;
}

.variant-more {
  border-top: 1px solid var(--line-on-green);
  padding: 12px 16px 14px;
}

.variant-more__summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.variant-more__summary::-webkit-details-marker {
  display: none;
}

.variant-more__summary::after {
  content: "▾";
  font-size: 0.95em;
  opacity: 0.75;
  transform: translateY(1px);
  transition: transform 0.12s ease;
}

.variant-more[open] .variant-more__summary::after {
  transform: rotate(180deg) translateY(-1px);
}

.variant-more__content {
  margin-top: 12px;
  display: grid;
  gap: 14px;
}

.variant-more__block {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 12px;
}

.variant-more__block:first-child {
  border-top: 0;
  padding-top: 0;
}

.variant-more__h {
  margin: 0 0 8px;
  color: #f7f7f5;
  font-size: 1rem;
}

.variant-more__list,
.variant-more__steps {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.variant-more__btn {
  margin-top: 10px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.40);
  color: #f7f7f5;
}

.variant-more__btn:hover {
  background: rgba(255, 255, 255, 0.20);
}


.variant-grid {
  display: grid;
  gap: 14px;
  align-items: start;
}

@media (min-width: 900px) {
  .variant-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

#poptavka.contact__box {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #f7f7f5;
}

#poptavka .card__title {
  color: #f7f7f5;
}

#poptavka .form__label {
  color: #f7f7f5;
}

#poptavka .form__check,
#poptavka .form__status {
  color: #f7f7f5;
}

#poptavka .form__check a {
  color: #f7f7f5;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#poptavka .form__input {
  background: #f7f7f5;
  color: #0f172a;
  border-color: rgba(255, 255, 255, 0.65);
}

#poptavka .form__input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

#poptavka select.form__input {
  color: #0f172a;
}

#poptavka select.form__input option {
  color: #0f172a;
}

#poptavka .form__input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

#kalkulace .contact__box {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #f7f7f5;
}

#kalkulace .card__title,
#kalkulace .calc__objectTitle,
#kalkulace .calc__priceLabel,
#kalkulace .calc__muted,
#kalkulace .calc__hint {
  color: #f7f7f5;
}

#kalkulace .form__label {
  color: #f7f7f5;
}

#kalkulace .form__check,
#kalkulace .form__status {
  color: #f7f7f5;
}

#kalkulace .form__check a {
  color: #f7f7f5;
  text-decoration: underline;
  text-underline-offset: 4px;
}

#kalkulace .calc__divider,
#kalkulace .calc__result {
  border-color: rgba(255, 255, 255, 0.35);
}

#kalkulace .calc__object {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.35);
}

#kalkulace .form__input {
  background: #f7f7f5;
  color: #0f172a;
  border-color: rgba(255, 255, 255, 0.65);
}

#kalkulace .form__input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

#kalkulace select.form__input {
  color: #0f172a;
}

#kalkulace select.form__input option {
  color: #0f172a;
}

#kalkulace .form__input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

#kalkulace #addObjectBtn.btn--light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  color: #f7f7f5;
}

#kalkulace #addObjectBtn.btn--light:hover {
  background: rgba(255, 255, 255, 0.20);
}

#kalkulace .calc__priceValue {
  color: #f7f7f5;
}

#kalkulace .help-btn {
  color: #f7f7f5;
  opacity: 0.9;
  text-decoration-color: rgba(255, 255, 255, 0.8);
}

#kalkulace .help-btn:hover {
  opacity: 1;
}

.panel--process {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.panel--process .process {
  margin: 0;
  gap: 10px;
  height: 100%;
}

.panel--process .process__step {
  background: var(--main-color);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  color: #f7f7f5;
  padding: 16px 16px 16px 56px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.panel--process .process__step::after {
  display: none;
}

.panel--process .process__badge {
  background: #f7f7f5;
  border: 0;
  color: #111827;
}

.panel--process .process__title {
  color: #f7f7f5;
}

.panel--process .process__text {
  color: rgba(255, 255, 255, 0.92);
}

.panel--process .process__link {
  color: #f7f7f5;
  text-decoration-color: rgba(255, 255, 255, 0.75);
}

.panel--process .assist {
  margin-top: 12px;
  background: var(--main-color);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f7f7f5;
}

.panel--process .assist__title,
.panel--process .assist__lead,
.panel--process .assist__list {
  color: rgba(255, 255, 255, 0.92);
}

.panel-grid {
  align-items: stretch;
}

.panel--process {
  height: 100%;
}

.card--service .card__title {
  color: #f7f7f5;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1.2;
  margin: 0 0 10px;
}

.card--service .card__text {
  color: rgba(255, 255, 255, 0.92);
}

.card--service .card__more {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  text-decoration: none;
  opacity: 0.85;
}

.card--service.card--link:hover .card__more {
  color: rgba(255, 255, 255, 0.92);
}

.card--service .card__more:hover {
  text-decoration: none;
}

.card--service .card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card--service .card__text {
  margin: 0;
}

.card--service .card__more {
  margin-top: auto;
  padding-top: 12px;
  display: block;
}

.card--service.card--link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sample-offer {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  background: var(--service-card-bg);
  border: 1px solid var(--service-card-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.sample-offer .offer-card__media {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
}

.sample-offer .offer-card__media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.sample-offer .offer-card__title,
.sample-offer .offer-card__lead {
  padding-left: 16px;
  padding-right: 16px;
}

.sample-offer .offer-card__title {
  padding-top: 16px;
  margin: 0 0 8px;
  color: #f7f7f5;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.2;
}

.sample-offer .offer-card__lead {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.6;
}

.sample-offer .offer-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sample-offer .offer-card__actions {
  margin-top: auto;
}

.sample-offer .offer-card__actions {
  text-align: right;
}

.btn--sampleBlack {
  background: #111827;
  color: #f7f7f5;
  border-color: transparent;
}

.btn--sampleBlack:hover {
  background: #0f172a;
}

.sample-offer__btn {
  width: fit-content;
}

.error-404-plain {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 56px 20px;
}

.error-404-plain h1 {
  margin: 0 0 10px;
  font-size: clamp(3.5rem, 7vw, 6rem);
  letter-spacing: 1px;
}

.error-404-plain h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.error-404-plain p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 55ch;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.7;
}

.list li {
  margin: 6px 0;
}

.card--light {
  background: var(--bg);
}

.privacy-grid {
  display: grid;
  gap: 14px;
}

.sample-more {
  margin-top: auto;
  border-top: 1px solid var(--line-on-green);
}

.sample-more__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding: 12px 16px 14px;

  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  user-select: none;
}

.sample-more__link:hover {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
}

.sample-more__link span {
  opacity: 0.75;
  transform: translateY(1px);
}

small {
  font-size: 0.9em;
  opacity: 0.9;
}

.service-intro__layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .service-intro__layout {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.service-intro__content .section__lead {
  max-width: 640px;
}

.service-intro__card {
  background: var(--main-color);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.service-intro__title {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: #f7f7f5;
}

.service-intro__list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 899px) {
  .service-intro__layout {
    grid-template-columns: 1fr;
  }
}

.service-intro__list a {
  color: inherit;
  text-decoration: none;
  position: relative;
}

.service-intro__list a::after {
  content: " ↗";
  font-size: 0.7em;
  opacity: 1;
}

.service-intro__list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.service-intro__list li {
  line-height: 1.3;
  margin-bottom: 6px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 26px;
  font-size: 40px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}