/* Service catalogue, commercial air conditioning, and construction case studies. */
.service-index { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px 28px; margin: 30px 0 50px; padding: 0; border: 0; }
.service-index a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 62px; padding: 16px 0; color: var(--blue,#164688); font-size: 14px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line,#ccd6e0); }
.service-index a:hover,.service-index a:focus-visible { color: #526679; text-decoration: none; opacity: 1; }
.service-index a { transition: color .2s; }
.service-index a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.service-index a span { flex-shrink: 0; }
.service-detail { padding-block: 65px; border-bottom: 1px solid var(--line,#ccd6e0); scroll-margin-top: 35px; }
.service-detail-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 55px; align-items: start; }
.service-detail-grid > *, .aircon-hero > * { min-width: 0; }
.wp-block-group.service-detail-grid > *,
.wp-block-group.equipment-grid > *,
.wp-block-group.aircon-hero > * { margin-block-start: 0 !important; margin-block-end: 0; }
.service-visual img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.service-detail h2 { font-size: clamp(24px,2.8vw,34px); }
.service-detail h3 { font-size: 20px; }
.service-detail-copy > p:last-child { margin-bottom: 0; }
.service-detail .eyebrow { font-size: 12px; }
.service-subsection { padding: 25px 0; scroll-margin-top: 35px; }
.service-subsection h3 { margin-bottom: 12px; }
.service-subsection p:last-child { margin-bottom: 0; }
.equipment-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; margin-top: 35px; }
.equipment-item { min-width: 0; scroll-margin-top: 35px; }
.equipment-item img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; }
.equipment-item h3 { margin-block: 20px 12px; }
.equipment-item p { font-size: 15px; }
.aircon-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; margin-block: 22px; color: var(--blue,#164688); }
.aircon-price strong { font-size: clamp(26px,3vw,38px); line-height: 1.4; letter-spacing: .02em; }
.aircon-price span { font-size: 14px; }
.aircon-teaser { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); background: var(--pale,#edf3f8); color: var(--ink,#182c43); margin-top: 55px; }
.aircon-teaser > img { width: 100%; height: 100%; object-fit: cover; min-height: 310px; }
.aircon-teaser-copy { padding: 35px; min-width: 0; }
.aircon-teaser h3 { font-size: clamp(22px,2.5vw,29px); line-height: 1.6; }
.aircon-teaser-copy > p { font-size: 14px; }
.aircon-teaser .eyebrow { margin-bottom: 12px; }
.aircon-teaser .button { font-size: 14px; padding-inline: 20px; gap: 18px; }
.aircon-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); background: var(--pale,#edf3f8); color: var(--ink,#182c43); }
.aircon-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.aircon-hero-copy { padding: 42px 36px; }
.aircon-hero h2 { font-size: clamp(28px,3vw,40px); line-height: 1.6; }
.aircon-hero .button { font-size: 14px; padding-inline: 20px; gap: 16px; }
.aircon-troubles .service-card { border-top: 2px solid var(--blue,#164688); padding-top: 25px; }
.aircon-pricing { padding: 45px; margin-block: 25px; background: var(--pale,#edf3f8); color: var(--ink,#182c43); scroll-margin-top: 35px; }
.aircon-faq-item { padding-block: 25px; border-top: 1px solid var(--line,#ccd6e0); }
.aircon-faq-item h3 { font-size: 20px; margin-bottom: 12px; }
.aircon-faq-item p { margin-bottom: 0; }
.footer-instagram { margin-top: 20px; }
.footer-instagram a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.footer-instagram svg { fill: none; stroke: currentColor; stroke-width: 1.7; flex-shrink: 0; }
.footer-instagram .instagram-dot { fill: currentColor; stroke: none; }
.room-services li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; color: var(--blue,#164688); text-decoration: none; }
.room-services li a:hover { text-decoration: underline; }
.room-services li a span { flex-shrink: 0; }
.room-services li { padding-block: 5px; }
.work-comparison { margin-block: 50px; }
.work-comparison-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
.work-comparison figure { margin: 0; min-width: 0; }
.work-comparison img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; background: var(--pale,#edf3f8); }
.work-photo-label { color: var(--blue,#164688); font-weight: 700; border-bottom: 2px solid var(--blue,#164688); padding-bottom: 10px; }
.work-comparison figcaption { padding-top: 12px; font-size: 14px; }
.work-description > div { padding-block: 24px; border-top: 1px solid var(--line,#ccd6e0); }
.work-description h2 { font-size: 22px; }
.work-archive { padding-block: 24px 65px; }
.work-filter { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--line,#ccd6e0); }
.work-filter select { max-width: 100%; min-width: 0; min-height: 50px; background: #fff; color: var(--ink,#182c43); border: 1px solid var(--line,#ccd6e0); padding: 14px 52px 14px 18px; font: inherit; appearance: none; -webkit-appearance: none; border-radius: 6px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23164688' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 16px; }
.work-filter .button { min-height: 50px; padding-block: 12px; cursor: pointer; }
.work-filter { align-items: flex-end; }
.work-filter-field { display: flex; flex-direction: column; gap: 8px; max-width: 100%; min-width: 0; }
.work-filter-field label { font-size: 14px; }
.work-extra-photos .wp-block-column { min-width: 0; }
.default-work-content > .wp-block-image img { width: 100%; max-height: 560px; object-fit: contain; background: var(--pale); }
@media (max-width: 1000px) {
 .service-index { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .service-detail-grid { gap: 30px; }
 .aircon-hero, .aircon-teaser { grid-template-columns: 1fr; }
 .aircon-hero-image img, .aircon-teaser > img { height: auto; max-height: 440px; min-height: 0; aspect-ratio: 3/2; }
 .equipment-grid { gap: 20px; }
}
@media (max-width: 700px) {
 .service-index { gap: 0 18px; margin-block: 25px; }
 .service-index a { font-size: 12px; }
 .service-detail { padding-block: 40px; }
 .service-detail-grid, .equipment-grid, .work-comparison-grid { grid-template-columns: 1fr; }
 .service-detail-grid { gap: 25px; }
 .equipment-grid { gap: 30px; }
 .equipment-item img { max-height: 280px; }
 .aircon-hero-copy, .aircon-teaser-copy, .aircon-pricing { padding: 28px 22px; }
 .aircon-teaser { margin-top: 35px; }
 .aircon-teaser .button, .aircon-hero .button { width: 100%; }
 .work-filter { align-items: stretch; }
 .work-filter label, .work-filter select { width: 100%; }
 .work-filter-field { width: 100%; }
 .work-filter .button { justify-content: center; }
}

/* Separate browsing a case study from requesting work. */
#restoration .service-detail-copy > p:last-child .text-link,
#restoration .service-detail-copy > p:last-child .service-consult { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 54px; padding: 15px 23px; margin-top: 8px; color: #fff; background: var(--blue,#164688); border: 1px solid var(--blue,#164688); border-radius: 3px; text-decoration: none; }
#restoration .service-detail-copy > p:last-child a:hover { background: #10386d; }
#restoration .service-detail-copy > p:last-child a:focus-visible { outline-offset: 4px; }
.work-filter select:hover { border-color: var(--blue,#164688); }
.work-filter select:focus-visible { outline: 2px solid var(--blue,#164688); outline-offset: 3px; }
@media (forced-colors: active) { .work-filter select { appearance: auto; background-image: none; } }
