:root {
  --head-height: 74px;
  --paper: #f7f6f2;
  --ink: #20231f;
  --muted: #565c54;
  --rule: #c7cbc1;
  --font: "Open Sans", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 84px);
}
html { scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); }
.bpb-shell { width: min(1480px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.bpb-skip { position: fixed; top: -6rem; left: 1rem; z-index: 1100; padding: .7rem 1rem; background: white; color: black; }
.bpb-skip:focus { top: .5rem; }
.bpb-head { position: sticky; top: 0; z-index: 1000; background: var(--paper); border-bottom: 1px solid var(--rule); }
.bpb-head-inner { min-height: var(--head-height); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.bpb-brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); }
.bpb-brand img { width: 46px; height: 38px; object-fit: contain; }
.bpb-brand span { font-size: 16px; font-weight: 700; line-height: 1.14; letter-spacing: -.025em; }
.bpb-nav { display: flex; align-items: center; gap: clamp(16px, 2.3vw, 38px); }
.bpb-nav a, .bpb-nav a:hover, .bpb-brand:hover { color: var(--ink); }
.bpb-nav a { font-size: 14px; font-weight: 600; padding: 12px 0; }
.bpb-nav a:hover, .bpb-under:hover { text-decoration: underline; text-underline-offset: 5px; }
.bpb-brand { margin-right: auto; }
.bpb-quote, .bpb-quote:hover { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 15px; background: var(--ink); color: white; font: 600 14px/1.2 var(--font); text-align: center; }
.bpb-quote:hover { text-decoration: underline; }
#extForm24-9 .bpb-quote-hint { color: #fff; margin: -6px 0 18px; font: 400 16px/1.5 var(--font); }
.bpb-menu { display: none; background: transparent; border: 1px solid var(--rule); padding: 9px 14px; min-height: 42px; color: var(--ink); font: 600 14px var(--font); }
.bpb-cover {
  box-sizing: border-box;
  height: calc(100vh - var(--head-height) - 1px);
  height: calc(100svh - var(--head-height) - 1px);
  display: grid;
  place-items: center;
  background: white;
  border-bottom: 1px solid var(--rule);
}
.bpb-cover::before {
  content: "";
  width: 100%;
  height: 100%;
  background: url("assets/images/bpb-naslovnica-3200.webp") center / cover no-repeat;
}
.bpb-introduction { background: var(--paper); }
.bpb-introduction-inner {
  display: grid; grid-template-columns: 1fr 1fr; align-items: start;
  column-gap: clamp(34px,6vw,100px); row-gap: 10px; padding-block: clamp(22px, 3.3svh, 42px);
}
.bpb-introduction .bpb-kicker { grid-column: 1 / -1; margin: 0; color: var(--muted); font: 600 12px/1.5 var(--font); letter-spacing: .12em; text-transform: uppercase; }
.bpb-introduction h1, .bpb-section-title { color: var(--ink); font: 600 clamp(38px,4.1vw,66px)/1.08 var(--font); letter-spacing: -.055em; margin: 0; }
.bpb-introduction h1 { max-width: 20ch; font-size: clamp(38px, 3.6vw, 60px); text-wrap: balance; }
.bpb-introduction p { margin: 0 0 12px; max-width: 52ch; font: 400 clamp(16px,1.25vw,19px)/1.65 var(--font); color: #41463f; }
.bpb-actions { display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap; margin-top: 28px; }
.bpb-contact-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.bpb-contact-links a { display: inline-flex; align-items: center; min-height: 44px; }
.bpb-cta, .bpb-cta:hover { display: inline-flex; gap: 18px; align-items: center; padding: 13px 20px; background: var(--ink); color: #fff; font: 600 14px/1.5 var(--font); }
.bpb-cta:hover { background: #41463f; }
.bpb-under, .bpb-under:hover { font: 600 14px/1.5 var(--font); color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.bpb-services { background: var(--paper); }
.bpb-services-inner { border-top: 1px solid var(--ink); display: grid; grid-template-columns: 1fr 2.1fr; gap: clamp(20px,4vw,76px); padding-block: clamp(44px, 5.4vw, 80px); }
.bpb-section-title { font-size: clamp(34px, 3.65vw, 59px); line-height: 1.08; }
.bpb-service-list { display: grid; gap: 24px clamp(24px,3.3vw,58px); grid-template-columns: repeat(2,minmax(0,1fr)); }
.bpb-service-list article { border-top: 1px solid var(--rule); padding-top: 12px; }
.bpb-service-list h3 { margin: 0 0 8px; font: 600 clamp(18px,1.4vw,23px)/1.25 var(--font); letter-spacing: -.035em; }
.bpb-service-list p { margin: 0; font: 400 16px/1.65 var(--font); color: var(--muted); }
.bpb-gallery-head { padding: 26px 0; color: #fff; background: #111; }
.bpb-gallery-head .bpb-shell { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.bpb-gallery-head h2 { margin: 0; font: 600 clamp(24px,2.5vw,38px)/1.2 var(--font); letter-spacing: -.05em; }
.bpb-gallery-head a { color: white; font: 600 14px/1.5 var(--font); text-decoration: underline; text-underline-offset: 4px; }
#extForm24-9 { background: #191c19; }
#extForm24-9 .container { width: min(1480px,calc(100% - 2 * var(--gutter))); padding: 0; }
#extForm24-9 .bpb-kontakt { margin: 0; align-items: start; column-gap: clamp(20px,3vw,50px); }
#extForm24-9 .bpb-kontakt > * { padding-inline: 0; }
#extForm24-9 .media-content { padding: 0; }
#extForm24-9 .bpb-contact-title { color: #fff; font: 600 clamp(23px,2.1vw,34px)/1.2 var(--font); letter-spacing: -.045em; margin: 0 0 21px; text-align: left; }
#extForm24-9 .bpb-kontakt p { text-align: left; }
#extForm24-9 .bpb-kontakt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
#extForm24-9 .form-control { border-radius: 0; }
#extForm24-9 .mbr-section-btn .btn { background-color: white !important; border-color: white !important; color: var(--ink) !important; letter-spacing: .01em; }
.bpb-footer { background: var(--paper); padding: 25px 0; }
.bpb-footer .bpb-shell, .bpb-footer-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
.bpb-footer .bpb-shell { justify-content: space-between; }
.bpb-footer p, .bpb-footer a { margin: 0; font: 400 14px/1.5 var(--font); color: var(--ink); }
.bpb-footer a { text-decoration: underline; text-underline-offset: 3px; }
:is(.bpb-head, .bpb-cover, .bpb-introduction, .bpb-footer, #extForm24-9) :focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
@media (max-width: 991px) {
  .bpb-services-inner { grid-template-columns: .7fr 2.3fr; }
  #extForm24-9 .bpb-kontakt { row-gap: 32px; }
}
@media (max-width: 767px) {
  :root { --head-height: 62px; }
  html { scroll-padding-top: 68px; }
  .bpb-cover::before { background-image: image-set(url("assets/images/bpb-naslovnica-1600.webp") 1x, url("assets/images/bpb-naslovnica-3200.webp") 3x); }
  .bpb-introduction-inner { grid-template-columns: 1fr; gap: 12px; padding-block: 25px; }
  .bpb-introduction .bpb-kicker { margin: 0; font-size: 11px; }
  .bpb-introduction h1 { font-size: clamp(36px,8.4vw,54px); }

  .bpb-head-inner { position: relative; gap: 8px; }
  .bpb-menu { order: 2; }
  .bpb-quote { padding-inline: 10px; font-size: 13px; }
  .bpb-brand img { width: 37px; height: 32px; }
  .bpb-brand span { font-size: 14px; }
  .bpb-menu { display: inline-block; }
  .bpb-nav { display: none; position: absolute; left: calc(0px - var(--gutter)); right: calc(0px - var(--gutter)); top: 100%; padding: 8px var(--gutter) 14px; background: var(--paper); border-bottom: 1px solid var(--rule); }
  .bpb-nav.is-open { display: grid; gap: 0; }
  .bpb-nav a, .bpb-nav a:last-child { display: block; border: 0; border-top: 1px solid var(--rule); padding: 12px 0; }
  .bpb-actions { margin-top: 18px; gap: 16px; }
  .bpb-services-inner { grid-template-columns: 1fr; }
}
@media (max-width: 550px) {
  .bpb-service-list { grid-template-columns: 1fr; gap: 16px; }
  .bpb-footer .bpb-shell { align-items: start; flex-direction: column; }
}
@media (max-width: 390px) {
  .bpb-head-inner { width: calc(100% - 20px); gap: 6px; }
  .bpb-brand { gap: 5px; }
  .bpb-brand span { font-size: 12px; }
  .bpb-menu { padding-inline: 7px; }
  .bpb-quote { padding-inline: 7px; }
  .bpb-nav { left: -10px; right: -10px; }
}
@media (min-width: 1601px) and (min-resolution: 1.75dppx), (min-width: 3201px) {
  .bpb-cover::before { background-image: url("assets/images/bpb-naslovnica-6667.webp"); }
}

@media (max-aspect-ratio: 1/1) {
  .bpb-cover::before {
    height: min(100%, 100vw);
    background-size: 152% auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  }
}
@media (min-aspect-ratio: 3/1) {
  .bpb-cover::before { background-size: auto 260%; }
}
