/* Compact, readable sections; keep long catalogues in the normal document flow. */
html body .vc-promo { height: auto !important; }
html body .vc-promo > img {
  height: clamp(140px, 22svh, 200px) !important; min-height: 0 !important;
  aspect-ratio: auto !important; object-fit: contain !important;
}
html body .vc-promo h3 {
  display: flex !important; align-items: center; justify-content: flex-start;
  gap: 10px; padding: 0 18px !important; margin: 16px 0 10px !important;
  min-height: 44px; font-size: 19px !important; line-height: 1.25 !important;
  text-align: left;
}
html body .vc-promo h3::before {
  position: static !important; width: 26px !important; height: 26px !important;
  flex: 0 0 26px; margin: 0 !important; transform: none !important;
}
html body .vc-promo > p {
  margin: 0 0 16px !important; padding: 0 18px !important;
  font-size: 14px !important; line-height: 1.5 !important;
}
html body .vc-promo__select {
  width: calc(100% - 36px) !important; min-height: 44px !important;
  margin: auto 18px 18px !important; padding: 10px 18px !important;
}
html body .vc-promo .vc-hero__badge { top: 14px; left: 14px; padding: 7px 10px; }
html body .vc-strip-nav { display: none; }
@media (min-width: 1024px) {
 html body.vc-reference-home main > :is(.vc-section, .services) {
  padding: clamp(16px, 3svh, 28px) 0 !important;
 }
 html body.vc-reference-home main > .vc-section h2,
 html body.vc-reference-home .services h2 {
  font-size: clamp(24px, 3.4svh, 30px) !important; line-height: 1.18 !important;
  margin: 0 0 10px !important; max-width: 100%;
 }
 html body.vc-reference-home :is(.section-head, .vc-section-head) {
  margin: 0 0 14px !important; gap: 8px !important;
 }
 html body.vc-reference-home :is(.section-head, .vc-section-head) > * { margin: 0 !important; }
 html body.vc-reference-home :is(.section-head, .vc-section-head) > p:not(.eyebrow),
 html body.vc-reference-home .vc-section > .vc-container > .vc-lead {
  margin: 0 0 14px !important; max-width: none !important;
  font-size: 14px !important; line-height: 1.45 !important;
 }
 html body.vc-reference-home :is(.section-head, .vc-section-head) .eyebrow {
  padding: 4px 10px !important; font-size: 11px !important; line-height: 16px !important;
 }
 html body.vc-reference-home :is(.vc-grid-2, .vc-grid-3, .vc-grid-4, .service-grid) { gap: 14px !important; }
 html body.vc-reference-home :is(.vc-interactive-filters, .vc-review-filters) {
  gap: 8px !important; margin: 0 0 12px !important; align-items: center;
 }
 html body.vc-reference-home :is(.vc-interactive-filters, .vc-review-filters) > button {
  min-height: 36px !important; padding: 7px 14px !important; font-size: 13px !important;
 }
 html body.vc-reference-home .vc-review-filters > button::before { display: none !important; }
 html body.vc-reference-home :is(.note, .vc-note) {
  margin-top: 12px !important; padding: 10px 16px !important; gap: 12px !important;
  min-height: 0 !important;
 }
 html body.vc-reference-home :is(.note, .vc-note) p { margin: 0 !important; font-size: 14px; line-height: 1.45; }
 html body.vc-reference-home :is(.note, .vc-note) :is(.btn, .vc-btn) {
  min-height: 40px !important; padding-block: 8px !important;
 }
 /* The complete service list stays available in one row with labelled controls. */
 html body.vc-reference-home .service-grid.vc-card-strip {
  display: grid !important; grid-auto-flow: column; grid-template-columns: none !important;
  grid-auto-columns: calc((100% - 28px) / 3);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
  scrollbar-color: #80bdac transparent; padding: 2px 0 8px;
 }
 html body.vc-reference-home .vc-card-strip > * { scroll-snap-align: start; }
 html body.vc-reference-home .service-card { height: auto !important; min-height: 0 !important; }
 html body.vc-reference-home .service-card__image {
  height: clamp(84px, calc(100svh - 650px), 160px) !important;
  min-height: 0 !important; aspect-ratio: auto !important; object-fit: contain !important;
 }
 html body.vc-reference-home .service-card__body { padding: 12px 16px !important; gap: 8px !important; }
 html body.vc-reference-home .service-card__top { min-height: 42px !important; gap: 8px !important; }
 html body.vc-reference-home .service-card h3 { font-size: 18px !important; line-height: 1.2 !important; margin: 0 !important; }
 html body.vc-reference-home .service-card__body > p { margin: 0 !important; font-size: 14px !important; line-height: 1.4 !important; }
 html body.vc-reference-home .service-card .price { min-height: 28px !important; padding: 5px 10px !important; margin: 0 !important; }
 html body.vc-reference-home .service-card .btn { min-height: 40px !important; padding: 8px 20px !important; }
 html body.vc-reference-home .vc-strip-nav { display: inline-flex; gap: 6px; margin-left: auto; }
 html body.vc-reference-home .vc-strip-nav button {
  display: inline-flex; justify-content: center; align-items: center;
  width: 36px; height: 36px; min-height: 36px !important;
  padding: 0 !important; border: 1px solid #9cc6bd; border-radius: 50%;
  color: #082630; font: inherit; font-size: 21px; cursor: pointer;
 }
 html body.vc-reference-home .vc-strip-nav button:disabled { opacity: .4; cursor: default; }
 /* Quiz and the two company blocks. */
 html body.vc-reference-home :is(.vc-quiz__main, .vc-quiz__summary) { padding: 20px !important; }
 html body.vc-reference-home .vc-quiz__summary h3 { margin: 8px 0 16px !important; font-size: 24px !important; }
 html body.vc-reference-home .vc-quiz__summary dl > div { padding: 10px 0 !important; }
 html body.vc-reference-home .vc-quiz__summary p { margin-top: 16px !important; font-size: 14px !important; }
 html body.vc-reference-home .vc-about__layout { grid-template-areas: 'media content' !important; gap: 24px !important; align-items: center; }
 html body.vc-reference-home .vc-about__media img { max-height: 290px; min-height: 0 !important; aspect-ratio: 4/3 !important; object-fit: contain !important; }
 html body.vc-reference-home .vc-about__content { gap: 12px !important; }
 html body.vc-reference-home .vc-about__text { font-size: 14px !important; line-height: 1.5 !important; }
 html body.vc-reference-home .vc-about__text p { margin: 0 0 10px !important; }
 html body.vc-reference-home .vc-about-details .vc-about__side { gap: 14px !important; }
 html body.vc-reference-home .vc-about__panel { padding: 14px !important; }
 html body.vc-reference-home .vc-about__panel h3 { margin: 0 0 8px !important; font-size: 17px !important; }
 html body.vc-reference-home .vc-about__panel ul { margin: 0 !important; padding-left: 18px; font-size: 14px !important; line-height: 1.4 !important; }
 html body.vc-reference-home .vc-about__panel li { margin-bottom: 3px !important; }
 html body.vc-reference-home .vc-about__logos { gap: 6px !important; }
 html body.vc-reference-home .vc-about__logos span { padding: 4px 7px !important; font-size: 12px !important; }
 html body.vc-reference-home .vc-about__cards { margin: 14px 0 !important; gap: 14px !important; }
 html body.vc-reference-home .vc-about__cards .vc-card { padding: 14px !important; }
 html body.vc-reference-home .vc-about__cards h3 { font-size: 17px !important; margin: 8px 0 !important; }
 html body.vc-reference-home .vc-about__cards p { margin: 0 !important; font-size: 14px !important; line-height: 1.4 !important; }
 html body.vc-reference-home .vc-about__strip { margin-top: 0 !important; padding: 12px 16px !important; gap: 12px !important; }
 html body.vc-reference-home .vc-about__strip strong { font-size: 14px !important; line-height: 1.3 !important; }
 html body.vc-reference-home .vc-about__strip span { font-size: 12px !important; line-height: 1.4 !important; }
 /* Benefits, clients, equipment, stages and reviews. */
 html body.vc-reference-home .vc-benefit { padding: 16px !important; }
 html body.vc-reference-home .vc-benefit h3 { margin: 8px 0 !important; font-size: 18px !important; }
 html body.vc-reference-home .vc-benefit p { margin: 0 !important; line-height: 1.4 !important; }
 html body.vc-reference-home .vc-client { min-height: 80px !important; padding: 10px !important; }
 html body.vc-reference-home .vc-client img { height: 52px !important; }
 html body.vc-reference-home .vc-equipment { min-height: 0 !important; padding: 14px 14px 110px !important; height: auto !important; }
 html body.vc-reference-home .vc-equipment h3 { font-size: 17px !important; margin: 0 0 6px !important; }
 html body.vc-reference-home .vc-equipment p { font-size: 14px !important; line-height: 1.4 !important; }
 html body.vc-reference-home .vc-equipment img[src*='/photo-quality-20260916/'] { height: 100px !important; }
 html body.vc-reference-home .vc-steps--compact .vc-step {
  height: auto !important; min-height: 0 !important; padding: 12px !important;
  grid-template-rows: 80px auto 1fr !important; gap: 8px !important;
 }
 html body.vc-reference-home .vc-steps--compact .vc-step img { height: 80px !important; aspect-ratio: auto !important; object-fit: contain !important; }
 html body.vc-reference-home .vc-steps--compact .vc-step h3 { font-size: 16px !important; line-height: 1.25 !important; }
 html body.vc-reference-home .vc-steps--compact .vc-step p { font-size: 14px !important; line-height: 1.4 !important; }
 html body.vc-reference-home #reviews .vc-review__object { height: 92px !important; aspect-ratio: auto !important; object-fit: cover; }
 html body.vc-reference-home #reviews .vc-review__head { padding: 10px 14px !important; gap: 8px !important; }
 html body.vc-reference-home #reviews .vc-review__avatar { width: 34px !important; height: 34px !important; flex-basis: 34px; }
 html body.vc-reference-home #reviews .vc-review__head h3 { font-size: 16px !important; }
 html body.vc-reference-home #reviews .vc-review__head span { font-size: 11px !important; line-height: 1.35 !important; }
 html body.vc-reference-home #reviews .vc-review__rating { margin: 0 !important; padding: 0 14px !important; }
 html body.vc-reference-home #reviews .vc-review > p { padding: 0 14px !important; margin: 8px 0 14px !important; font-size: 14px !important; line-height: 1.4 !important; }
 html body.vc-reference-home #reviews .vc-grid-3:has(.vc-stat) { margin-top: 12px !important; }
 html body.vc-reference-home #reviews .vc-stat { min-height: 0 !important; padding: 12px !important; }
 html body.vc-reference-home #reviews .vc-stat strong { font-size: 24px !important; margin: 0 !important; }
 html body.vc-reference-home #reviews .vc-stat span { font-size: 13px !important; }
 /* FAQ and contacts keep all controls in view. */
 html body.vc-reference-home .vc-faq-section .vc-grid-2 { gap: 8px !important; }
 html body.vc-reference-home .vc-faq { padding: 0 !important; }
 html body.vc-reference-home .vc-faq button { min-height: 50px !important; padding-block: 10px !important; font-size: 15px !important; line-height: 1.4 !important; }
 html body.vc-reference-home .vc-faq__answer { padding: 0 18px 12px !important; }
 html body.vc-reference-home .vc-faq__answer p { margin: 0 !important; font-size: 14px !important; line-height: 1.45 !important; }
 html body.vc-reference-home #contacts .vc-contacts__grid { gap: 16px !important; align-items: start; }
 html body.vc-reference-home #contacts .vc-contacts__grid > div { padding: 0 !important; }
 html body.vc-reference-home #contacts .vc-contact-list { gap: 8px !important; }
 html body.vc-reference-home #contacts .vc-contact-list .vc-contact-card { min-height: 0 !important; padding: 10px 14px 10px 46px !important; font-size: 14px !important; line-height: 1.4 !important; }
 html body.vc-reference-home #contacts .vc-contact-list .vc-contact-card > span { margin-bottom: 4px !important; font-size: 12px !important; }
 html body.vc-reference-home #contacts .vc-contact-list .vc-contact-card::before { width: 20px !important; height: 20px !important; left: 14px; }
 html body.vc-reference-home #contacts .vc-form { padding: 16px !important; gap: 12px !important; margin: 0 !important; }
 html body.vc-reference-home #contacts .vc-form input:not([type='checkbox']):not([type='hidden']) { height: 44px !important; min-height: 44px !important; padding: 10px 12px !important; }
 html body.vc-reference-home #contacts .vc-form label:not(.vc-form__check) { font-size: 13px !important; gap: 6px !important; margin: 0 !important; }
 html body.vc-reference-home #contacts .vc-form button { min-height: 44px !important; padding-block: 10px !important; }
 html body.vc-reference-home #contacts .vc-contacts__media img { height: 300px !important; aspect-ratio: auto !important; object-fit: contain !important; }
}
@media (max-width: 1023px) {
 html body.vc-reference-home main > :is(.vc-section,.services) { padding: 32px 0 !important; }
}
@media (min-width: 1024px) {
 html body.vc-reference-home .vc-service-toolbar { display: flex; gap: 12px; align-items: start; }
 html body.vc-reference-home .vc-service-toolbar .vc-service-filters { flex: 1; }
}
/* Override the older photograph rules without cropping the original images. */
html body .vc-promo > img[src] { height: clamp(140px, 22svh, 200px) !important; aspect-ratio: auto !important; margin: 0 !important; object-fit: contain !important; }
html body .vc-promo { padding-bottom: 0 !important; }
@media (min-width: 1024px) {
 html body.vc-reference-home img.service-card__image[src] { height: clamp(84px, calc(100svh - 650px), 160px) !important; aspect-ratio: auto !important; }
 html body.vc-reference-home .service-card__top { margin: 0 !important; }
 html body.vc-reference-home .services .note p { font-size: 13px !important; line-height: 1.4 !important; }
 html body.vc-reference-home .vc-equipment::before { display: none !important; }
 html body.vc-reference-home #reviews .vc-review { padding: 10px !important; }
 html body.vc-reference-home #reviews .vc-review__head { margin: 0 !important; }
 html body.vc-reference-home #reviews .vc-review__head h3 { margin: 0 0 4px !important; }
 html body.vc-reference-home #reviews .vc-stat { display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; align-items: center; text-align: left; }
 html body.vc-reference-home #reviews .vc-stat::before { width: 26px !important; height: 26px !important; margin: 0 !important; grid-column: 1; grid-row: 1 / 3; }
 html body.vc-reference-home #reviews .vc-stat strong,
 html body.vc-reference-home #reviews .vc-stat span { grid-column: 2; }
 html body.vc-reference-home #contacts .vc-contacts__media,
 html body.vc-reference-home #contacts .vc-contacts__media img { min-height: 0 !important; }
 html body.vc-reference-home #contacts .vc-contact-list .vc-contact-card a { font-size: 16px !important; line-height: 1.4 !important; }
 html body.vc-reference-home #contacts .vc-contact-list .vc-contact-card span { font-size: 12px !important; line-height: 1.4 !important; }
}
@media (min-width: 1024px) {
 html body.vc-reference-home .vc-grid-4.vc-card-strip:has(.vc-equipment) {
  display: grid !important; grid-auto-flow: column; grid-template-columns: none !important;
  grid-auto-columns: calc((100% - 42px) / 4);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
  scrollbar-color: #80bdac transparent; padding: 2px 0 8px;
 }
 html body.vc-reference-home .vc-service-toolbar .vc-equipment-filters { flex: 1; }
 html body.vc-reference-home #reviews .vc-review-filters + .vc-grid-3 { grid-template-columns: repeat(4, minmax(0,1fr)) !important; }
 html body.vc-reference-home #contacts .vc-contact-list .vc-contact-card { padding-block: 8px !important; }
 html body.vc-reference-home #contacts .vc-contact-list .vc-contact-card > span { margin-bottom: 2px !important; }
}
