.av-header .av-brand .av-brand-tagline {
  display: block;
  color: var(--av-action);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.av-format { display: flex; align-items: flex-start; flex-direction: column; }
.contact-channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-channel-email { color: var(--av-action); }
.av-project-gallery { min-width: 0; }
.av-gallery-controls { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 20px; }
.av-gallery-controls button { width: 48px; height: 48px; border: 1px solid var(--av-line); border-radius: 50%; font-size: 24px; color: var(--av-ink); background: var(--av-tint); cursor: pointer; }
.av-gallery-controls button:disabled { opacity: .35; cursor: default; }
.masonry-gallery[data-project-gallery] { display: flex; columns: auto; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; gap: 24px; padding-bottom: 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
.masonry-gallery[data-project-gallery]::-webkit-scrollbar { display: none; width: 0; height: 0; }
.masonry-gallery[data-project-gallery] .work-card { flex: 0 0 min(680px, 75%); min-width: 0; margin: 0; scroll-snap-align: start; }
.masonry-gallery[data-project-gallery] .work-card .work-image { height: auto; aspect-ratio: 16 / 10; }
.masonry-gallery[data-project-gallery] .work-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.masonry-gallery[data-project-gallery] [data-work*="gallery-08"] img { object-position: 50% 60%; }
.masonry-gallery[data-project-gallery] [data-work*="gallery-06"] img { object-position: 50% 58%; }
.masonry-gallery[data-project-gallery] .work-card:focus-visible { outline-offset: -3px; }
.client-logo-mira img { filter: brightness(0); }
.client-logo-apteka { position: relative; overflow: hidden; }
.client-logo-apteka img { position: absolute; width: 640%; height: auto; max-width: none; left: 50%; top: 50%; transform: translate(-50%, -24%); mix-blend-mode: multiply; }
.client-track { animation-duration: 68s; }
.av-inline-price { text-decoration: underline; text-underline-offset: 4px; }
.av-facade-service h3 { font-size: clamp(24px, 3vw, 32px); }
.av-facade-service p { max-width: 46ch; margin-top: 18px; }
.av-facade-service .av-facade-price { font-size: 24px; font-weight: 600; color: var(--av-ink); margin-top: 12px; }
.av-facade-service .av-button { margin-top: 26px; }
@media (min-width: 761px) {
  .av-facade-service .av-offer-split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
}
@media (min-width: 761px) and (max-width: 1199px) {
  .av-facade-service .av-offer-split { gap: 36px; }
}
.av-guide { padding-block: 40px 100px; }
.av-guide-intro { max-width: 960px; }
.av-guide-intro h1 { font-size: clamp(34px, 4.7vw, 66px); line-height: 1.08; }
.av-guide-intro p { font-size: clamp(17px, 2vw, 21px); margin-top: 24px; max-width: 65ch; }
.av-guide-contents { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-block: 28px; margin-block: 28px; border-block: 1px solid var(--av-line); }
.av-guide-contents a { text-decoration: underline; text-underline-offset: 4px; }
.av-guide > section { max-width: 820px; margin-top: 64px; }
.av-guide section h2 { font-size: clamp(27px, 3vw, 39px); margin-bottom: 22px; }
.av-guide section p { margin-bottom: 18px; max-width: 70ch; }
.av-guide-checklist { padding-left: 24px; display: grid; gap: 16px; }
.av-guide-cta { padding: clamp(24px, 4vw, 48px); background: var(--av-tint); border-radius: 16px; }
@media (max-width: 760px) {
  .masonry-gallery[data-project-gallery] { gap: 16px; }
  .masonry-gallery[data-project-gallery] .work-card { flex-basis: 86%; }
  .av-guide { padding-block: 26px 64px; }
}
.av-formats .av-format .av-button { margin-top: auto; }
.av-formats .av-format > p:last-of-type { margin-bottom: 26px; }

.av-offer-hero .av-feature-hero-grid { gap: clamp(28px, 5vw, 76px); align-items: center; }
.av-offer-hero .av-feature-hero-copy h1 { max-width: 14ch; }
.av-offer-hero .av-feature-hero-copy > p { max-width: 45ch; }
:is(.av-offer-hero, .av-offer-section, .av-offer-next) { --av-offer-title-gap: clamp(16px, 2vw, 24px); }
.av-offer-hero .av-feature-hero-copy > h1,
.av-offer-section :is(.av-section-heading, .av-project-intro) h2,
.av-basic-help-panel.av-offer-next h2 { margin-bottom: 0; }
.av-offer-hero .av-feature-hero-copy > h1 + p,
.av-offer-section :is(.av-section-heading, .av-project-intro) h2 + p,
.av-basic-help-panel.av-offer-next h2 + p { margin-block: var(--av-offer-title-gap) 0; }
.av-offer-next > div { min-width: 0; }
.av-offer-next .av-button { max-width: none; white-space: nowrap; }
.av-offer-hero .av-offer-hero-image { min-height: 0; display: grid; gap: 10px; align-content: start; margin: 0; padding: clamp(12px, 2vw, 24px); }
.av-offer-hero-image img { width: 100%; height: auto; display: block; border-radius: 14px; }
.av-offer-hero .av-feature-actions { gap: 10px 12px; }
.av-project-intro .av-offer-request-price { margin-top: 12px; color: var(--av-ink); font-size: clamp(19px, 2vw, 25px); font-weight: 600; }

.av-offer-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 7vw, 104px); align-items: start; }
.av-offer-split .av-section-heading { display: block; margin: 0; }
.av-offer-split p, .av-offer-example-head p { max-width: 48ch; }
.av-offer-list { margin: 0; display: grid; gap: 0; }
.av-offer-list > div { padding-block: 22px; border-top: 1px solid var(--av-line); }
.av-offer-list > div:last-child { border-bottom: 1px solid var(--av-line); }
.av-offer-list dt { font-size: clamp(19px, 2vw, 25px); font-weight: 600; color: var(--av-ink); }
.av-offer-list dd { margin: 6px 0 0; color: var(--av-muted); max-width: 50ch; }
.av-offer-example-head { display: flex; gap: 20px; align-items: end; justify-content: space-between; flex-wrap: wrap; }
.av-offer-sheets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.av-offer-sheets figure { margin: 0; min-width: 0; }
.av-offer-sheets a { display: block; padding: 10px; background: var(--av-tint); border: 1px solid var(--av-line); border-radius: 14px; }
.av-offer-sheets img { width: 100%; height: auto; display: block; border-radius: 5px; }
.av-offer-sheets figcaption { margin-top: 10px; color: var(--av-ink); font-weight: 600; }

.av-offer-form { min-width: 0; }
.av-offer-form > form { display: grid; gap: 24px; min-width: 0; }
.av-offer-form fieldset { min-inline-size: 0; margin: 0; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--av-line); }
.av-offer-form legend { padding: 0; margin-bottom: 14px; font-size: 20px; font-weight: 600; }
.av-offer-form .av-offer-form-note { margin: 0; color: var(--av-muted); font-size: 14px; }
.av-offer-form fieldset .av-offer-form-note { margin-top: 12px; max-width: none; }
.av-offer-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.av-offer-fields label { display: grid; gap: 6px; min-width: 0; font-weight: 600; }
.av-offer-fields label[hidden] { display: none; }
.av-offer-fields small { color: var(--av-muted); font-size: 14px; font-weight: 400; }
.av-offer-fields :is(input, textarea, select) { background: var(--av-base); color: var(--av-ink); border: 1px solid #748b99; border-radius: 8px; padding: 10px 12px; min-height: 46px; min-width: 0; width: 100%; font: inherit; font-weight: 400; }
.av-offer-fields input[type="file"] { padding: 5px; font-size: 14px; }
.av-offer-fields ::file-selector-button { border: 0; border-radius: 5px; background: var(--av-tint); color: var(--av-action); padding: 8px 10px; margin-inline-end: 6px; font: inherit; cursor: pointer; }
.av-offer-fields textarea { resize: vertical; }
.av-offer-fields textarea::placeholder { color: var(--av-muted); }
.av-offer-full { grid-column: 1/-1; }
.av-offer-consent { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; font-size: 14px; line-height: 1.5; }
.av-offer-consent input { appearance: auto; accent-color: var(--av-action); width: 16px; height: 16px; margin: 3px 0 0; }
.av-form-legal { display: grid; gap: 6px; font-size: 14px; }
.av-form-legal .av-offer-consent { font-size: 12px; line-height: 1.55; }
.av-form-legal .av-offer-consent input { width: 18px; height: 18px; margin-top: 1px; }
.av-form-legal .av-offer-consent a { color: var(--av-muted); }
.av-cookie-notice { position: fixed; z-index: 500; bottom: 24px; left: 24px; right: 24px; max-width: 760px; margin-inline: auto; display: flex; align-items: center; gap: 24px; padding: 22px 24px; color: var(--av-ink); background: #fff; border: 1px solid var(--av-line); border-radius: 16px; box-shadow: 0 8px 40px #19374a1a; }
.av-cookie-notice[hidden] { display: none; }
.av-cookie-notice p { margin: 0; font-size: 14px; line-height: 1.55; }
.av-cookie-notice a { text-decoration: underline; text-underline-offset: 3px; }
.av-cookie-notice .av-button { flex-shrink: 0; }
.av-cookie-settings { font: inherit; color: inherit; background: none; padding: 0; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
@media (max-width: 600px) {
  .av-cookie-notice { left: 12px; right: 12px; bottom: 12px; padding: 18px; gap: 14px; align-items: start; flex-direction: column; }
  .av-cookie-notice .av-button { align-self: flex-end; }
}
.av-inquiry-form .av-form-legal { margin-bottom: 20px; }
.av-inquiry-form .form-field :is(input:not([type="file"]), textarea) { border-color: #748b99; }
.review-stars { color: #925d08; }
.av-form-legal p { margin: 0 0 0 27px; }
.av-form-legal a, .av-legal-links a, .av-legal-page a { text-decoration: underline; text-underline-offset: 3px; }
.av-legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 20px; font-size: 13px; }
.av-legal-page { max-width: 880px; padding-block: clamp(30px, 6vw, 80px); }
.av-legal-page h1 { max-width: 22ch; font-size: clamp(29px, 5vw, 54px); line-height: 1.06; overflow-wrap: break-word; }
.av-legal-page h2 { margin: 30px 0 10px; font-size: clamp(20px, 3vw, 26px); }
.av-legal-page p { max-width: 72ch; margin: 0 0 14px; }
.av-legal-page .av-legal-version { margin-top: 16px; color: var(--av-muted); }
.av-offer-form button { justify-self: start; }
.av-offer-form button:disabled { cursor: wait; opacity: .65; }
.av-offer-status { margin: 0; color: var(--av-ink); }
.av-offer-status:empty { display: none; }
.av-offer-status[data-error] { font-weight: 600; }

body.av-inquiry-open { overflow: hidden; }
.av-service-inquiry { width: min(640px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 36px; overflow-y: auto; border: 1px solid var(--av-line); border-radius: 20px; color: var(--av-ink); background: var(--av-base); overscroll-behavior: contain; }
.av-service-inquiry::backdrop { background: #10273699; }
.av-service-inquiry:not([open]) { display: none; }
.av-inquiry-close { position: sticky; top: 0; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin: -20px -20px -24px auto; border: 0; border-radius: 50%; background: var(--av-tint); color: var(--av-ink); font-size: 28px; cursor: pointer; }
.av-inquiry-dialog-heading { margin-bottom: 26px; padding-right: 20px; }
.av-inquiry-dialog-heading h2 { font-size: clamp(25px, 4vw, 34px); line-height: 1.16; }
.av-inquiry-dialog-heading p { margin-top: 14px; color: var(--av-muted); font-size: 15px; }
.av-inquiry-dialog-heading [data-inquiry-context] { color: var(--av-ink); font-weight: 600; }
.av-service-inquiry .av-offer-fields :is(input, select, textarea) { font-size: 16px; }
.av-service-inquiry .av-offer-fields input[type="file"] { font-size: 14px; }
.av-service-inquiry .av-offer-status { font-size: 15px; }

@media (max-width: 760px) {
  .av-hero .av-actions, .av-offer-hero .av-feature-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
  .av-hero .av-actions > :is(.av-button, .av-secondary), .av-offer-hero .av-feature-actions > .av-button { display: inline-grid; width: 100%; min-width: 0; min-height: 48px; margin: 0; padding: 12px 28px 12px 12px; font-size: clamp(11px, 3vw, 13px); white-space: nowrap; text-align: center; }
  .av-hero .av-actions .av-button-label, .av-offer-hero .av-feature-actions .av-button-label { white-space: nowrap; }
  .av-formats .av-format .av-button, .av-basic-help-panel.av-offer-next .av-button { width: 100%; max-width: none; padding: 14px 30px 14px 14px; font-size: clamp(11.5px, 3vw, 13px); white-space: nowrap; }
  .av-formats .av-format .av-button-label, .av-offer-next .av-button-label { white-space: nowrap; }
  .av-service-inquiry { padding: 28px 20px 24px; border-radius: 16px; }
  .av-price-contact .av-actions { align-items: stretch; }
  .av-price-contact .av-actions > :is(.av-button, .av-secondary) { width: 100%; }
  .av-header .av-brand .av-brand-tagline { font-size: clamp(9px, 2.35vw, 12px); }
  .av-offer-split { grid-template-columns: 1fr; gap: 24px; }
  .av-offer-sheets { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 374px) {
  .av-header .av-brand { gap: 5px; }
  .av-header .av-header-inner { gap: 6px; }
}
@media (max-width: 480px) {
  .av-offer-fields, .av-offer-sheets { grid-template-columns: 1fr; }
}

/* Three offers share the existing card system and the former facade position. */
#project-types .av-formats { grid-template-columns: repeat(3,minmax(0,1fr)); gap:24px; }
#project-types .av-format { padding:32px; }
#project-types .av-format h3 { font-size:clamp(26px,2.3vw,32px); line-height:1.15; min-height:2.3em; }
#project-types .av-format > p:not(.av-price) { flex:1; }
#project-types .av-format .av-button { width:100%; max-width:none; padding-inline:18px 36px; white-space:nowrap; }
#project-types .av-format .av-button-label { white-space:nowrap; }
#project-types .av-format .av-price { margin-top:24px; }
@media (min-width:761px) and (max-width:1100px) {
 #project-types .av-format { padding:24px 20px; }
 #project-types .av-format h3 { font-size:24px; }
 #project-types .av-format > p:not(.av-price) { font-size:15px; }
 #project-types .av-format .av-button { font-size:13px; padding-inline:12px 28px; }
}
@media (max-width:760px) {
 #project-types .av-formats { grid-template-columns:minmax(0,1fr); gap:20px; }
 #project-types .av-format { padding:28px 24px; }
 #project-types .av-format h3 { font-size:28px; min-height:0; }
}

#project-types .av-format-individual .av-button:focus-visible { outline-color:var(--av-base); }
