/* Jemné doladění prezentace po obsahové revizi. */
.brand-logo {
  display: flex;
  align-items: center;
  width: 198px;
  height: 76px;
  overflow: hidden;
}

.brand-logo img {
  display: block;
  width: 198px;
  height: 72px;
  object-fit: contain;
}

.header {
  height: 82px;
  will-change: transform;
  transition:
    transform .42s cubic-bezier(.22, 1, .36, 1),
    background-color .3s,
    box-shadow .3s,
    border-color .3s;
}

.header.header-hidden {
  transform: translateY(calc(-100% - 8px));
}

.header.header-scrolled {
  border-color: rgba(220, 228, 223, .7);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 35px rgba(25, 53, 41, .1);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  backdrop-filter: blur(16px) saturate(145%);
}

nav a {
  font-size: 15px;
  transition: color .2s;
}

.button.small {
  font-size: 14px;
}

.section {
  padding-block: 82px;
}

.audience-card {
  min-height: 350px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.audience-card:hover {
  transform: translateY(-6px);
}

.audience-card .benefit {
  display: block;
  margin: 0 0 15px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}

.audience-card strong {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.audience-card strong span {
  transition: transform .2s;
}

.audience-card:hover strong span {
  transform: translateX(4px);
}

.portfolio-art {
  position: relative;
  overflow: hidden;
  place-content: center;
  text-align: center;
  background: radial-gradient(circle at 25% 20%, #258462, var(--green) 45%, var(--green-dark));
}

.portfolio-art::before,
.portfolio-art::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
}

.portfolio-art::before {
  width: 330px;
  height: 330px;
  left: -70px;
  bottom: -160px;
}

.portfolio-art::after {
  width: 240px;
  height: 240px;
  top: -90px;
  right: -80px;
}

.portfolio-art span,
.portfolio-art small {
  position: relative;
  z-index: 1;
  display: block;
}

.portfolio-art span {
  line-height: 1;
}

.portfolio-art small {
  color: #cce8da;
  font-size: 13px;
  letter-spacing: .05em;
}

.project-points {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.project-points li {
  position: relative;
  padding: 5px 0 5px 24px;
  color: var(--muted);
  font-size: 14px;
}

.project-points li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

.reference-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: -10px 0 34px;
}

.reference-stat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 17px;
  min-height: 96px;
  padding: 18px 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff 0%, #f4f8f5 100%);
  transition: transform .22s, border-color .22s, box-shadow .22s;
}

.reference-stat::after {
  position: absolute;
  right: -24px;
  bottom: -34px;
  width: 90px;
  height: 90px;
  content: "";
  border: 1px solid rgba(23, 107, 77, .1);
  border-radius: 50%;
}

.reference-stat:hover {
  transform: translateY(-3px);
  border-color: #b7ccc0;
  box-shadow: 0 12px 28px rgba(25, 53, 41, .08);
}

.reference-stat > strong {
  min-width: 60px;
  color: var(--green);
  font-size: 35px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -.055em;
}

.reference-stat > span {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.reference-stat b {
  color: var(--ink);
  font-size: 14px;
}

.reference-stat small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.reference-swipe-hint {
  display: none;
}

.reference-grid:focus-visible {
  border-radius: 12px;
  outline: 3px solid rgba(23, 107, 77, .28);
  outline-offset: 3px;
}

.reference-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 30px rgba(25, 53, 41, .05);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.reference-card:hover {
  transform: translateY(-5px);
  border-color: #b7ccc0;
  box-shadow: var(--shadow);
}

.reference-preview {
  position: relative;
  display: block;
  height: 245px;
  overflow: hidden;
  background: var(--cream);
  text-decoration: none;
}

.reference-preview > img:not(.reference-inset) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}

.reference-card:hover .reference-preview > img:not(.reference-inset) {
  transform: scale(1.025);
}

.reference-kovo > img {
  object-position: top left !important;
  transform: scale(1.1) !important;
  transform-origin: top left;
}

.visit-site,
.study-label {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(13, 73, 54, .9);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
}

.study-label {
  background: rgba(23, 35, 30, .88);
}

.reference-inset {
  position: absolute;
  z-index: 1;
  right: 16px;
  top: 16px;
  width: 34%;
  aspect-ratio: 1.35;
  border: 3px solid rgba(255, 255, 255, .9);
  border-radius: 10px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
  transition: transform .3s;
}

.reference-card:hover .reference-inset {
  transform: translateY(-3px) rotate(1deg);
}

.reference-copy {
  padding: 25px 26px 27px;
}

.reference-copy .tag {
  margin: 0;
}

.reference-copy h3 {
  margin: 8px 0 9px;
  font-size: 23px;
  line-height: 1.2;
}

.reference-copy > p:not(.tag) {
  min-height: 68px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.reference-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 19px 0 0;
  padding: 0;
  list-style: none;
}

.reference-tags li {
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--cream);
  color: #42534b;
  font-size: 11px;
  font-weight: 700;
}

.more-projects {
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.more-projects-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 24px;
}

.more-projects-heading .eyebrow {
  margin-bottom: 8px;
}

.more-projects-heading h3 {
  margin: 0;
  font-size: 27px;
  line-height: 1.2;
}

.more-projects-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.logo-tile {
  position: relative;
  display: grid;
  grid-template-rows: 112px auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: zoom-in;
  isolation: isolate;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), border-color .22s, box-shadow .28s;
}

.logo-tile::after {
  content: "Zobrazit detail  ↗";
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 6px 9px;
  border: 1px solid rgba(23, 107, 77, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .22s, transform .22s;
}

.logo-tile:hover,
.logo-tile:focus-visible {
  transform: translateY(-5px);
  border-color: #b7ccc0;
  box-shadow: 0 18px 36px rgba(25, 53, 41, .13);
  outline: none;
}

.logo-tile:hover::after,
.logo-tile:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.logo-tile:focus-visible {
  box-shadow: 0 0 0 3px rgba(23, 107, 77, .22), 0 18px 36px rgba(25, 53, 41, .13);
}

.logo-media {
  display: block;
  width: 100%;
  height: 112px;
  padding: 18px 24px;
}

.logo-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}

.logo-tile:hover .logo-media img,
.logo-tile:focus-visible .logo-media img {
  transform: scale(1.06);
}

.logo-tile.logo-bemal .logo-media {
  padding-block: 5px;
}

.logo-caption {
  display: block;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  text-align: left;
}

.logo-caption small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.logo-tile.logo-dark {
  background: #14251e;
}

.logo-tile.logo-dark::after {
  border-color: rgba(255,255,255,.2);
  background: rgba(20,37,30,.88);
  color: #c9f2da;
}

.logo-tile.logo-dark .logo-caption {
  border-color: rgba(255, 255, 255, .13);
  color: #fff;
}

.logo-tile.logo-dark .logo-caption small {
  color: #9db0a7;
}

body.logo-dialog-open {
  overflow: hidden;
}

.logo-dialog {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(14px, 4vw, 44px);
  visibility: hidden;
  opacity: 0;
  transition: opacity .26s, visibility 0s linear .26s;
}

.logo-dialog.is-open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.logo-dialog-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(56, 133, 96, .28), transparent 34%),
    rgba(6, 20, 14, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo-dialog-panel {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(920px, 100%);
  height: min(720px, calc(100dvh - 48px));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.38);
  transform: translateY(22px) scale(.96);
  transition: transform .38s cubic-bezier(.2,.8,.2,1);
}

.logo-dialog.is-open .logo-dialog-panel {
  transform: translateY(0) scale(1);
}

.logo-dialog-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(42px, 8vw, 88px);
  background:
    linear-gradient(rgba(16,44,33,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,44,33,.035) 1px, transparent 1px),
    #f8faf8;
  background-size: 28px 28px;
}

.logo-dialog-visual.is-dark {
  background:
    radial-gradient(circle at center, #223c31 0, #12241c 70%),
    #12241c;
}

.logo-dialog-image {
  display: block;
  width: min(76%, 650px);
  height: min(50vh, 430px);
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(16,44,33,.08));
  opacity: 0;
  transform: scale(.9);
  transition: opacity .3s .08s, transform .48s cubic-bezier(.2,.8,.2,1);
}

.logo-dialog.is-open .logo-dialog-image {
  opacity: 1;
  transform: scale(1);
}

.logo-dialog-image.is-bemal {
  width: auto;
  max-width: min(78%, 430px);
  height: min(56vh, 490px);
}

.logo-dialog-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 26px;
  border-top: 1px solid var(--line);
}

.logo-dialog-copy p {
  margin: 0;
}

.logo-dialog-title {
  color: var(--ink);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -.025em;
}

.logo-dialog-category {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.logo-dialog-counter {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
}

.logo-dialog-close,
.logo-dialog-nav {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 45, 35, .14);
  background: rgba(255,255,255,.9);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  transition: transform .2s, background .2s;
}

.logo-dialog-close:hover,
.logo-dialog-nav:hover {
  transform: scale(1.06);
  background: #fff;
}

.logo-dialog-close:focus-visible,
.logo-dialog-nav:focus-visible {
  outline: 3px solid rgba(23,107,77,.3);
  outline-offset: 2px;
}

.logo-dialog-close {
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 24px;
}

.logo-dialog-nav {
  top: 50%;
  width: 44px;
  height: 54px;
  border-radius: 12px;
  font-size: 24px;
  transform: translateY(-50%);
}

.logo-dialog-nav:hover {
  transform: translateY(-50%) scale(1.06);
}

.logo-dialog-prev { left: 16px; }
.logo-dialog-next { right: 16px; }

.references-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--green-dark);
  color: #fff;
}

.references-cta p {
  margin: 0;
  color: #c5d7cf;
}

.references-cta strong {
  color: #fff;
  font-size: 18px;
}

/* Ceník */
.pricing {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 92% 5%, rgba(223, 243, 201, .62), transparent 24%),
    linear-gradient(180deg, #f5f8f5 0%, #fff 46%, #f5f8f5 100%);
}

.pricing::before {
  position: absolute;
  top: 120px;
  left: -170px;
  width: 350px;
  height: 350px;
  content: "";
  border: 1px solid rgba(23, 107, 77, .08);
  border-radius: 50%;
}

.pricing-intro {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 42px;
}

.pricing-intro h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 49px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.pricing-intro > div:last-child > p {
  margin: 0 0 17px;
  color: var(--muted);
}

.intro-price-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid #cfe0d6;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 750;
}

.intro-price-note i {
  color: #e0aa39;
  font-size: 9px;
  font-style: normal;
  animation: price-pulse 2.2s infinite;
}

@keyframes price-pulse {
  50% { opacity: .45; transform: scale(.8); }
}

.pricing-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px;
  border: 1px solid #d7e1db;
  border-radius: 20px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 50px rgba(25, 53, 41, .07);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: #afc8ba;
  box-shadow: 0 22px 55px rgba(25, 53, 41, .12);
}

.price-featured {
  border: 2px solid var(--green);
  background:
    linear-gradient(180deg, rgba(223, 243, 201, .38), transparent 30%),
    #fff;
  box-shadow: 0 22px 60px rgba(23, 107, 77, .16);
}

.recommended {
  position: absolute;
  top: 0;
  right: 23px;
  padding: 7px 13px 8px;
  border-radius: 0 0 9px 9px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.recommended span {
  margin-right: 4px;
  color: #ffe071;
}

.plan-kicker {
  margin: 0 0 7px;
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.price-card-head h3 {
  margin: 0;
  font-size: 27px;
  line-height: 1.2;
}

.plan-audience {
  min-height: 66px;
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.plan-price small,
.care-price small {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.price-card-head > span {
  display: block;
  margin-top: 7px;
  color: #84928c;
  font-size: 10px;
}

.plan-features {
  flex: 1;
  margin: 25px 0 28px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.plan-features li {
  position: relative;
  padding: 6px 0 6px 25px;
  color: #425149;
  font-size: 13px;
}

.plan-features li::before {
  position: absolute;
  top: 8px;
  left: 0;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  content: "✓";
  border-radius: 50%;
  background: #e1eee4;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
}

.plan-features strong {
  color: var(--ink);
}

.price-button {
  width: 100%;
  min-height: 52px;
  padding-inline: 16px;
  font-size: 13px;
}

.care-section {
  margin-top: 76px;
}

.care-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 25px;
}

.care-heading h3 {
  margin: 0;
  font-size: 31px;
  line-height: 1.2;
}

.care-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.care-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.care-card > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.care-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  border-radius: 12px;
  background: #e5f0e8;
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
}

.care-complete .care-icon {
  background: var(--green);
  color: #fff;
}

.care-card h4 {
  margin: 0;
  font-size: 18px;
}

.care-card > div p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.care-price {
  margin: 24px 0 17px;
  color: var(--ink);
  font-size: 27px;
  font-weight: 850;
  letter-spacing: -.03em;
}

.care-price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.care-card > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.care-card > ul li {
  position: relative;
  padding-left: 17px;
  color: var(--muted);
  font-size: 12px;
}

.care-card > ul li::before {
  position: absolute;
  left: 0;
  content: "•";
  color: var(--green);
  font-weight: 900;
}

.pricing-info {
  display: flex;
  gap: 17px;
  margin-top: 22px;
  padding: 24px 27px;
  border: 1px solid #cdded4;
  border-radius: 16px;
  background: #edf5f0;
}

.pricing-info > span {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: Georgia, serif;
  font-weight: 800;
}

.pricing-info h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

.pricing-info p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.pricing-info strong {
  color: var(--green-dark);
}

.pricing-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
  margin-top: 28px;
  padding: 38px 42px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 20%, rgba(223, 243, 201, .16), transparent 30%),
    var(--green-dark);
  color: #fff;
}

.pricing-cta::after {
  position: absolute;
  right: 17%;
  bottom: -130px;
  width: 240px;
  height: 240px;
  content: "";
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
}

.pricing-cta > div,
.pricing-cta .button {
  position: relative;
  z-index: 1;
}

.pricing-cta h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 35px);
  line-height: 1.15;
}

.pricing-cta p:not(.eyebrow) {
  max-width: 650px;
  margin: 10px 0 0;
  color: #bdd0c7;
}

.pricing-cta .button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.steps li {
  padding-block: 22px;
}

.contact-links {
  margin-top: 32px;
}

.contact-links strong {
  font-size: 16px;
}

.contact-links .response-note {
  padding-top: 6px;
  border-top: 0;
  color: var(--muted);
  font-size: 13px;
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  min-height: 50px;
  padding: 12px 46px 12px 14px;
  border: 1px solid #ccd7d0;
  border-radius: 8px;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--green) 50%),
    linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.field select:hover {
  border-color: #9fb9aa;
  background-color: #fdfefd;
}

.field select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(23, 107, 77, .2);
  outline-offset: 0;
  box-shadow: 0 0 0 1px rgba(23, 107, 77, .06);
}

.field select::-ms-expand {
  display: none;
}

.custom-select {
  position: relative;
}

.custom-select .native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.custom-select-button {
  position: relative;
  width: 100%;
  min-height: 50px;
  padding: 12px 46px 12px 14px;
  border: 1px solid #ccd7d0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.custom-select-button::before,
.custom-select-button::after {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 2px;
  content: "";
  border-radius: 2px;
  background: var(--green);
  transition: transform .22s;
}

.custom-select-button::before {
  right: 19px;
  transform: rotate(45deg);
}

.custom-select-button::after {
  right: 14px;
  transform: rotate(-45deg);
}

.custom-select-button:hover {
  border-color: #9fb9aa;
  background: #fdfefd;
}

.custom-select-button:focus-visible,
.custom-select.is-open .custom-select-button {
  border-color: var(--green);
  outline: 3px solid rgba(23, 107, 77, .2);
  outline-offset: 0;
  box-shadow: 0 0 0 1px rgba(23, 107, 77, .06);
}

.custom-select.is-open .custom-select-button::before {
  transform: rotate(-45deg);
}

.custom-select.is-open .custom-select-button::after {
  transform: rotate(45deg);
}

.custom-select-list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 260px;
  margin: 0;
  padding: 7px;
  overflow-y: auto;
  border: 1px solid #c8d7cf;
  border-radius: 12px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 45px rgba(18, 36, 28, .18);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-7px) scale(.985);
  transform-origin: top;
  transition: opacity .18s, transform .18s, visibility .18s;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.custom-select.is-open .custom-select-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.custom-select-option {
  position: relative;
  padding: 10px 38px 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  transition: color .15s, background-color .15s;
}

.custom-select-option:hover,
.custom-select-option.is-focused {
  background: #edf5f0;
  color: var(--green-dark);
}

.custom-select-option[aria-selected="true"] {
  background: #e1eee4;
  color: var(--green-dark);
  font-weight: 750;
}

.custom-select-option[aria-selected="true"]::after {
  position: absolute;
  right: 13px;
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

.footer-logo {
  display: inline-flex;
  border-radius: 12px;
  text-decoration: none;
}

.footer-logo img {
  display: block;
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.footer-grid .footer-name {
  margin: 0 0 5px;
  color: #d5e0db;
  font-size: 14px;
  font-weight: 750;
}

@media (max-width: 620px) {
  .brand-logo,
  .brand-logo img {
    width: 158px;
  }

  .brand-logo {
    height: 64px;
  }

  .brand-logo img {
    height: 58px;
  }

  .header {
    height: 70px;
  }

  nav {
    top: 70px;
  }

  .section {
    padding-block: 58px;
  }

  .audience-card {
    min-height: 0;
  }

  .portfolio-art {
    min-height: 210px;
  }

  .reference-summary {
    grid-template-columns: 1fr;
  }

  .reference-stat {
    min-height: 82px;
    padding: 14px 18px;
  }

  .reference-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-columns: calc(100% - 32px);
    grid-auto-flow: column;
    align-items: stretch;
    gap: 14px;
    margin-inline: -14px;
    padding: 3px 14px 14px;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 14px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .reference-grid::-webkit-scrollbar {
    display: none;
  }

  .reference-grid .reference-card {
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .reference-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 8px 0 0;
    color: #52635a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
  }

  .reference-swipe-hint span {
    color: var(--green);
    font-size: 17px;
  }

  .reference-preview {
    height: 205px;
  }

  .reference-copy {
    padding: 21px;
  }

  .reference-copy > p:not(.tag) {
    min-height: 0;
  }

  .references-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 24px;
  }

  .more-projects-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
  }

  .logo-tile {
    grid-template-rows: 96px 110px;
    height: 206px;
    min-height: 206px;
  }

  .logo-media {
    height: 96px;
    padding: 14px 15px;
  }

  .logo-tile.logo-bemal .logo-media {
    padding-block: 4px;
  }

  .logo-tile::after {
    display: none;
  }

  .logo-caption {
    min-height: 110px;
    padding: 13px;
    overflow-wrap: anywhere;
  }

  .logo-caption small {
    margin-top: 4px;
    line-height: 1.4;
  }
}

@media (max-width: 620px) {
  .logo-dialog {
    padding: 10px;
  }

  .logo-dialog-panel {
    height: min(680px, calc(100dvh - 20px));
    border-radius: 19px;
  }

  .logo-dialog-visual {
    padding: 54px 36px 38px;
  }

  .logo-dialog-image {
    width: 88%;
    height: min(52vh, 370px);
  }

  .logo-dialog-image.is-bemal {
    max-width: 84%;
    height: min(56vh, 410px);
  }

  .logo-dialog-copy {
    align-items: flex-start;
    padding: 17px 18px;
  }

  .logo-dialog-close {
    top: 12px;
    right: 12px;
  }

  .logo-dialog-nav {
    top: auto;
    bottom: 76px;
    width: 42px;
    height: 42px;
  }

  .logo-dialog-prev { left: 12px; }
  .logo-dialog-next { right: 12px; }
}

@media (min-width: 621px) and (max-width: 900px) {
  nav {
    top: 82px;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .desktop-cta {
    display: none;
  }

  nav {
    gap: 21px;
  }
}

@media (max-width: 900px) {
  .pricing-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .plan-audience {
    min-height: 0;
  }

  .price-card {
    padding: 28px;
  }

  .care-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .pricing-cta {
    align-items: start;
    flex-direction: column;
    gap: 25px;
  }
}

@media (max-width: 620px) {
  .pricing-intro {
    margin-bottom: 30px;
  }

  .intro-price-note {
    align-items: flex-start;
    border-radius: 12px;
    line-height: 1.35;
  }

  .price-card {
    padding: 24px 21px;
  }

  .recommended {
    right: 17px;
  }

  .care-section {
    margin-top: 55px;
  }

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

  .care-card {
    padding: 23px 21px;
  }

  .care-card > ul {
    grid-template-columns: 1fr;
  }

  .pricing-info {
    padding: 20px;
  }

  .pricing-cta {
    padding: 29px 23px;
  }

  .pricing-cta .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header {
    transition: none;
  }

  .intro-price-note i {
    animation: none;
  }
}

/* Předpublikační UX, čitelnost a responzivní doladění. */
html {
  scroll-padding-top: 0;
}

#top,
#sluzby,
#pro-koho,
#reference,
#spoluprace,
#cenik,
#o-mne,
#kontakt {
  scroll-margin-top: 100px;
}

body {
  overflow-x: clip;
  font-size: 16px;
}

.brand-logo {
  width: 190px;
  height: 82px;
  justify-content: center;
  overflow: visible;
}

.brand-logo img {
  width: 238px;
  max-width: none;
  height: 86px;
}

.button {
  min-height: 48px;
  padding-block: 12px;
  font-size: 15px;
  line-height: 1.25;
}

.button:active {
  transform: translateY(0) scale(.985);
}

.heading > p,
.pricing-intro > div:last-child > p,
.care-heading > p,
.contact-grid > div > p:not(.eyebrow) {
  max-width: 60ch;
  color: #4f5f57;
  font-size: 16px;
  line-height: 1.7;
}

.lead {
  max-width: 58ch;
  color: #4f5f57;
  line-height: 1.7;
}

.availability {
  color: #45564d;
  font-size: 14px;
  line-height: 1.5;
}

.hero {
  padding-block: clamp(72px, 7vw, 102px);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr);
  gap: clamp(46px, 6vw, 78px);
}

.hero h1 {
  max-width: 13.8ch;
  text-wrap: balance;
}

.hero-visual {
  width: 100%;
  min-width: 0;
}

.browser {
  right: -18px;
  width: min(510px, 96%);
}

.note {
  right: -8px;
}

.value-grid p,
.audience-card p,
.audience-card .benefit,
.audience-card strong {
  font-size: 14px;
  line-height: 1.55;
}

.value-grid h2 {
  font-size: 16px;
}

.value-grid p {
  color: #4f5f57;
}

.audience-card {
  height: 100%;
}

.audience-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px;
}

.audience-card h3 {
  min-height: 2.5em;
  margin-bottom: 10px;
}

.audience-card p {
  margin-bottom: 18px;
  color: #4f5f57;
}

.audience-card .benefit {
  margin-top: auto;
  color: #24362d;
}

.audience-card strong {
  min-height: 28px;
}

.audience-card:focus-visible {
  border-color: var(--green);
  outline: 3px solid rgba(23, 107, 77, .25);
  outline-offset: 3px;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

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

.reference-preview {
  width: 100%;
  height: 245px;
  aspect-ratio: auto;
}

.reference-preview > img:not(.reference-inset) {
  object-fit: cover;
  object-position: top center;
}

.reference-kovo > img {
  object-position: top left !important;
  transform: none !important;
}

.reference-preview:focus-visible {
  outline: 3px solid #f0b45b;
  outline-offset: -4px;
}

.reference-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.reference-copy .tag {
  font-size: 13px !important;
}

.reference-copy > p:not(.tag) {
  min-height: 0;
  color: #4f5f57;
  font-size: 15px;
  line-height: 1.65;
}

.reference-tags {
  margin-top: auto;
  padding-top: 20px;
}

.reference-tags li {
  font-size: 13px;
  line-height: 1.35;
}

.visit-site,
.study-label {
  font-size: 13px;
}

.reference-stat small,
.logo-caption small {
  color: #52635a;
  font-size: 13px;
}

.more-projects-heading > p {
  color: #4f5f57;
  font-size: 15px;
  line-height: 1.65;
}

.logo-tile {
  width: 100%;
  height: 100%;
  min-height: 164px;
  padding: 0;
  font: inherit;
  appearance: none;
}

.logo-caption {
  min-height: 58px;
  font-size: 14px;
  line-height: 1.45;
}

.logo-media img {
  max-width: 100%;
  max-height: 100%;
}

.process {
  background: #f7f8f6;
}

.collaboration-steps {
  gap: 0;
  border-bottom: 1px solid #cbd7d0;
}

.collaboration-steps li {
  position: relative;
  min-width: 0;
  padding: 27px 24px 30px;
  border-right: 1px solid #d9e2dd;
}

.collaboration-steps li:last-child {
  border-right: 0;
}

.collaboration-steps li::after {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  content: "";
  background: var(--green);
  transition: width .3s;
}

.collaboration-steps li:hover::after {
  width: 100%;
}

.collaboration-steps li > b {
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.collaboration-steps h3 {
  font-size: 18px;
}

.collaboration-steps p {
  color: #4f5f57;
  font-size: 15px;
  line-height: 1.65;
}

.price-card-head {
  min-height: 224px;
}

.plan-kicker,
.recommended {
  font-size: 12px;
}

.plan-audience,
.price-card-head > span,
.plan-features li,
.price-button,
.care-card > div p,
.care-price span,
.care-card > ul li,
.pricing-info p {
  font-size: 14px;
  line-height: 1.55;
}

.plan-price small,
.care-price small {
  font-size: 14px;
}

.plan-features {
  display: flex;
  flex-direction: column;
}

.price-scope-note {
  max-width: 92ch;
  margin: 22px auto 0;
  padding: 14px 18px;
  border-left: 3px solid #b7ccc0;
  color: #4f5f57;
  font-size: 14px;
  line-height: 1.65;
}

.form-note,
.contact-links small,
.footer-grid p,
.footer-grid > div:not(:first-child) a,
.footer-bottom {
  font-size: 13px;
}

.field label,
.form-status {
  font-size: 14px;
}

.form-status.is-success {
  color: var(--green);
}

.form-status.is-error {
  color: #9b2626;
}

.brand-logo {
  width: 190px;
  height: 66px;
  justify-content: center;
  border-radius: 13px;
  background: var(--green-dark);
  overflow: hidden;
}

.brand-logo img {
  width: 210px;
  max-width: none;
  height: 118px;
  object-fit: contain;
}

.contact-success-dialog {
  width: min(520px, calc(100% - 32px));
  border: 1px solid rgba(23, 107, 77, .18);
  border-radius: 26px;
  padding: 34px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 32px 90px rgba(13, 73, 54, .24);
  text-align: center;
  overflow: visible;
}

.contact-success-dialog::backdrop {
  background: rgba(13, 36, 28, .64);
  backdrop-filter: blur(7px);
}

.contact-success-dialog[open] {
  animation: contact-dialog-in .28s ease-out both;
}

.contact-dialog-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.contact-dialog-close:hover {
  border-color: var(--green);
  color: var(--green);
}

.contact-dialog-close:focus-visible,
.contact-success-dialog .button:focus-visible {
  outline: 3px solid rgba(23, 107, 77, .3);
  outline-offset: 3px;
}

.contact-success-art {
  width: min(240px, 70%);
  margin: -6px auto 12px;
}

.contact-success-art svg {
  display: block;
  width: 100%;
  height: auto;
}

.contact-art-orbit {
  fill: #eef6f0;
}

.contact-art-envelope {
  fill: #fff;
  stroke: var(--green);
  stroke-width: 5;
}

.contact-art-fold,
.contact-art-check,
.contact-art-spark {
  fill: none;
  stroke: var(--green);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-art-badge {
  fill: var(--lime);
  stroke: #fff;
  stroke-width: 6;
}

.contact-success-dialog h2 {
  margin: 4px auto 12px;
  max-width: 390px;
  font-size: clamp(27px, 5vw, 36px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.contact-success-dialog > p:not(.eyebrow) {
  max-width: 420px;
  margin: 0 auto 18px;
  color: var(--muted);
}

.contact-success-dialog .contact-confirmation-note {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: #eef6f0;
  color: var(--green);
  font-size: 14px;
  font-weight: 750;
}

.contact-success-dialog .contact-confirmation-note[hidden] {
  display: none;
}

.contact-success-dialog .button {
  min-width: 150px;
}

#contact-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

@keyframes contact-dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 620px) {
  .brand-logo {
    width: 152px;
    height: 54px;
    justify-content: center;
    border-radius: 11px;
  }

  .brand-logo img {
    width: 166px;
    height: 94px;
    margin: 0;
  }

  footer {
    padding: 30px 0 18px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 22px 18px;
  }

  .footer-grid > div:first-child {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #32443c;
  }

  .footer-logo img {
    width: 58px;
    height: 58px;
  }

  .footer-grid > div:first-child p {
    max-width: none;
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
  }

  .footer-grid h2 {
    margin: 0 0 9px;
  }

  .footer-grid > div:not(:first-child) a {
    margin: 4px 0;
    line-height: 1.45;
  }

  .footer-grid > div:last-child {
    min-width: 0;
  }

  .footer-grid > div:last-child a {
    overflow-wrap: anywhere;
  }

  .footer-grid .footer-name,
  .footer-grid > div:last-child p {
    margin-block: 0 4px;
  }

  .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: row wrap;
    gap: 9px 16px;
    margin-top: 25px;
    padding-top: 16px;
  }

  .footer-bottom p {
    margin: 0;
  }

  .footer-bottom > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
  }

  .footer-bottom a {
    margin: 0;
  }

  .contact-success-dialog {
    padding: 28px 20px 24px;
    border-radius: 22px;
  }

  .contact-success-art {
    width: 190px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-success-dialog[open] {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
    gap: 38px;
  }

  .browser {
    right: 0;
    width: 100%;
  }

  .note {
    right: 0;
  }
}

@media (min-width: 901px) {
  .values .value-grid {
    width: 100%;
    max-width: none;
  }

  .values .value-grid article {
    justify-content: center;
  }

  .values .value-grid article > div {
    width: min(100%, 250px);
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 0;
  }

  #top,
  #sluzby,
  #pro-koho,
  #reference,
  #spoluprace,
  #cenik,
  #o-mne,
  #kontakt {
    scroll-margin-top: 98px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero h1 {
    max-width: 15ch;
  }

  .hero-visual {
    display: block;
    width: min(620px, 100%);
    min-height: 360px;
    margin-inline: auto;
  }

  .audience-card h3 {
    min-height: 0;
  }

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

  .collaboration-steps li:nth-child(2) {
    border-right: 0;
  }

  .price-card-head {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 0;
  }

  #top,
  #sluzby,
  #pro-koho,
  #reference,
  #spoluprace,
  #cenik,
  #o-mne,
  #kontakt {
    scroll-margin-top: 84px;
  }

  .brand-logo {
    width: 148px;
    height: 70px;
    justify-content: flex-start;
  }

  .brand-logo img {
    width: 194px;
    height: 70px;
    margin-left: 0;
  }

  .hero {
    padding-block: 48px 58px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(36px, 11.3vw, 46px);
    line-height: 1.08;
  }

  .lead {
    margin-block: 22px;
    font-size: 16px;
  }

  .actions {
    gap: 10px;
  }

  .actions .button {
    min-height: 50px;
  }

  .hero-visual {
    min-height: 285px;
  }

  .browser {
    top: 0;
    right: 0;
    width: calc(100% - 18px);
    height: 218px;
    transform: rotate(.7deg);
  }

  .browserbar {
    height: 29px;
    padding: 11px;
  }

  .mock {
    padding: 31px 36px;
  }

  .mock p {
    font-size: 21px;
  }

  .mock > span {
    margin-top: 18px;
  }

  .mock div {
    height: 38px;
    margin-top: 23px;
  }

  .phone {
    left: 0;
    width: 92px;
    height: 178px;
    padding: 4px;
    border-width: 4px;
    border-radius: 18px;
  }

  .phone div {
    padding: 14px 9px;
    border-radius: 11px;
  }

  .phone strong {
    margin-top: 24px;
    font-size: 13px;
  }

  .phone span {
    width: 45px;
    height: 6px;
    margin-top: 17px;
  }

  .note {
    right: 0;
    bottom: 4px;
    gap: 8px;
    padding: 10px 12px;
  }

  .note > b {
    width: 29px;
    height: 29px;
  }

  .note strong {
    font-size: 12px;
  }

  .note small {
    font-size: 11px;
  }

  .audience-card > div {
    padding: 23px 21px 24px;
  }

  .audience-card .art {
    height: 112px;
  }

  .reference-copy {
    padding: 22px 21px 24px;
  }

  .reference-preview {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .reference-copy > p:not(.tag) {
    font-size: 15px;
  }

  .reference-tags {
    margin-top: 0;
  }

  .logo-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
  }

  .logo-tile {
    grid-template-rows: 96px 110px;
    height: 206px;
    min-height: 206px;
  }

  .logo-media {
    height: 96px;
    padding: 14px 15px;
  }

  .logo-tile.logo-bemal .logo-media {
    padding-block: 4px;
  }

  .logo-caption {
    min-height: 110px;
    padding: 13px;
    overflow-wrap: anywhere;
  }

  .logo-caption small {
    margin-top: 4px;
    line-height: 1.4;
  }

  .collaboration-steps {
    grid-template-columns: 1fr;
  }

  .collaboration-steps li,
  .collaboration-steps li:nth-child(2) {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 0 12px;
    padding: 22px 8px;
    border-right: 0;
  }

  .collaboration-steps li > b {
    grid-row: 1 / 3;
    margin: 0;
  }

  .collaboration-steps li p {
    grid-column: 2;
  }

  .price-scope-note {
    margin-top: 18px;
    padding: 12px 14px;
  }
}

/* Compact homepage link to the standalone technical digitalisation service. */
.digitalization-teaser {
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.digitalization-teaser .wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 26px 30px;
  border: 1px solid #bfd4c8;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 15%, rgba(223, 243, 201, .85), transparent 28%),
    linear-gradient(110deg, #edf6ef 0%, #f8fbf8 72%);
  box-shadow: 0 12px 36px rgba(25, 53, 41, .07);
}

.digitalization-teaser-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 22px;
  font-weight: 850;
}

.digitalization-teaser-labels {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
}

.digitalization-teaser-labels .eyebrow {
  margin: 0;
  font-size: 10px;
}

.digitalization-teaser-labels > span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border: 1px solid rgba(23, 107, 77, .24);
  border-radius: 999px;
  background: #fff;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .02em;
}

.digitalization-teaser h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.3;
  letter-spacing: -.015em;
}

.digitalization-teaser-copy > p {
  max-width: 760px;
  margin: 6px 0 0;
  color: #506058;
  font-size: 14px;
  line-height: 1.55;
}

.digitalization-teaser a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid var(--green);
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color .2s, transform .2s;
}

.digitalization-teaser a:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* Keep the four service promises aligned with the site's common content width. */
@media (min-width: 901px) {
  .values {
    padding-block: 24px;
    background: var(--cream);
  }

  .values .value-grid {
    width: min(1160px, calc(100% - 40px));
    max-width: 1160px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }

  .values .value-grid article {
    min-height: 132px;
    justify-content: flex-start;
    padding: 27px 22px;
    border-top: 0;
    border-bottom: 0;
  }

  .values .value-grid article:first-child {
    border-left: 0;
  }

  .values .value-grid article:last-child {
    border-right: 0;
  }

  .values .value-grid article > div {
    width: auto;
  }
}

@media (max-width: 760px) {
  .digitalization-teaser .wrap {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .digitalization-teaser a {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 430px) {
  .digitalization-teaser {
    padding-block: 16px;
  }

  .digitalization-teaser .wrap {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 20px;
  }

  .digitalization-teaser-icon {
    width: 42px;
    height: 42px;
  }

  .digitalization-teaser-labels {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .digitalization-teaser a {
    grid-column: 1;
    width: 100%;
    justify-content: center;
  }
}

.legal-wrap {
  max-width: 760px;
}

.error-page {
  max-width: 700px;
  text-align: center;
}

/* Tmavá varianta oficiálního loga pro světlou hlavičku. */
.brand-logo {
  width: 190px;
  height: 66px;
  justify-content: flex-start;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.brand-logo img {
  width: 190px;
  height: auto;
  max-height: 64px;
  margin: 0;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 620px) {
  .brand-logo {
    width: 154px;
    height: 62px;
  }

  .brand-logo img {
    width: 154px;
    height: auto;
    max-height: 58px;
  }
}
