/* Service directory: one shared layout for all languages and viewport sizes. */
.directory-stage{min-height:calc(100svh - 86px);padding:64px 0 80px;background:#fff}
.directory-head{margin-bottom:32px}
.directory-head h1{max-width:900px;margin:0;font-size:clamp(29px,2.4vw,37px);font-weight:500;line-height:1.15;letter-spacing:-.025em}
.service-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.service-item,.service-item.other{display:flex;align-items:flex-start;min-width:0;min-height:156px;border:1px solid #cad9e3;border-radius:10px;background:linear-gradient(120deg,#fff 35%,#f0f8fc);transition:background .2s,border-color .2s,box-shadow .2s}
.service-item-top{display:flex;align-items:flex-start;justify-content:flex-start;align-self:flex-start;width:100%;height:auto;box-sizing:border-box;padding:20px 22px;gap:16px}

.service-name{display:block;min-width:0;font-size:23px;font-weight:400;line-height:1.35;overflow-wrap:anywhere;text-align:left}
.service-icon,.service-arrow,.service-item-photo{display:none}
.service-item:hover,.service-item:focus-visible{border-color:#267aaa;box-shadow:0 8px 24px #0c172210;background:#eef8fd}

/* Balanced directory height, shared by all categories. */
@media(min-width:1051px){
 .directory-stage{min-height:calc(100svh - var(--header-height));padding:40px 0;display:flex;flex-direction:column}
 .directory-stage>.wrap{flex:1;display:flex;flex-direction:column}
 .directory-head{margin-bottom:28px}
 .service-list{flex:1;grid-auto-rows:minmax(156px,1fr)}
}
/* Center the card grid itself; keep the heading outside its geometry. */
@media(min-width:1051px){
 .directory-stage{padding:110px 0;justify-content:center}
 .directory-stage>.wrap{flex:0;display:block;position:relative}
 .directory-head{position:absolute;left:0;bottom:100%;margin:0;width:100%;height:110px;display:flex;align-items:center}
 .directory-head h1{font-size:clamp(29px,2.4vw,37px);line-height:1.15}
 .service-list{flex:none;grid-auto-rows:minmax(120px,1fr);height:max(396px,calc(100svh - var(--header-height) - 220px))}
 .service-item,.service-item.other{min-height:120px}
}
/* Tablet service grid: 3 columns. */
@media(max-width:1050px){
 .directory-stage{min-height:calc(100svh - var(--header-height));padding:16px 0;display:flex;flex-direction:column}
 .directory-stage>.wrap{flex:1;display:flex;flex-direction:column}
 .directory-head{position:static;height:auto;margin:0 0 12px}
 .directory-head h1{font-size:clamp(20px,5vw,27px);line-height:1.15}
 .service-list{flex:1;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(64px,1fr);gap:6px;height:auto}
 .service-item,.service-item.other{min-height:64px;align-items:flex-start}
 .service-item-top{align-self:flex-start;align-items:flex-start;justify-content:flex-start;padding:10px;gap:0}
 .service-name{font-size:clamp(14px,3.7vw,17px);font-weight:400;line-height:1.2;hyphens:none;overflow-wrap:normal;word-break:normal}
}
/* Mobile service grid: 2 columns with fixed readable typography. */
@media(max-width:600px){
 .service-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .service-item-top{padding:14px 11px}
 .service-name{font-size:17px;font-weight:400;line-height:1.2}
}
@media(max-width:360px),(max-height:650px) and (max-width:1050px){
 .directory-stage{padding:10px 0}
 .directory-head{margin-bottom:8px}
 .directory-head h1{font-size:20px}
}

/* Supplied industrial service icons, ordered to match the approved reference. */
.service-item-illustrated .service-item-top{height:100%;flex-direction:column;gap:10px}
.offer-icon{display:block;width:46px;height:46px;object-fit:contain;align-self:flex-end;margin-top:auto;flex-shrink:0}
@media(max-width:1050px){
 .service-item-illustrated .service-item-top{gap:6px}
 .offer-icon{width:28px;height:28px}
}
@media(max-width:360px),(max-height:650px) and (max-width:1050px){
 .service-item-illustrated .service-item-top{padding:8px;gap:4px}
 .service-item-illustrated .service-name{font-size:14px}
 .offer-icon{width:22px;height:22px}
}

/* v83: slightly shorter mobile offer cards. */
@media(max-width:600px){
 .directory-stage:not(.configurator-open){min-height:calc((100svh - var(--header-height)) * .9)}
 .service-item-illustrated .service-item-top{padding:10px 9px;gap:4px}
 .service-item,.service-item.other{min-height:58px}
 .offer-icon{width:25px;height:25px}
}

/* v84: identical mobile tile dimensions in every category and language. */
@media(max-width:600px){
 .directory-stage:not(.configurator-open) .service-list{flex:none;height:auto;grid-auto-rows:112px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .service-item,.service-item.other{height:112px;min-height:112px;box-sizing:border-box}
 .service-item-illustrated .service-item-top{padding:9px;gap:4px}
 .service-name{font-size:15px;line-height:1.18;overflow-wrap:anywhere;hyphens:none}
 .offer-icon{width:22px;height:22px}
}

/* v91: shared five-row mobile grid within the visible viewport. */
@media(max-width:600px){
 .directory-stage:not(.configurator-open){height:calc(100svh - var(--header-height));min-height:0;padding:10px 0;box-sizing:border-box}
 .directory-stage:not(.configurator-open)>.wrap{height:100%;min-height:0;flex:1}
 .directory-stage:not(.configurator-open) .directory-head{height:54px;min-height:54px;display:flex;align-items:center;margin:0 0 8px}
 .directory-stage:not(.configurator-open) .directory-head h1{font-size:21px;line-height:1.12}
 .directory-stage:not(.configurator-open) .service-list{flex:1;min-height:0;height:auto;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr));grid-auto-rows:auto;gap:5px}
 .service-item,.service-item.other{height:100%;min-height:0;position:relative}
 .service-item-illustrated .service-item-top{padding:8px;gap:3px;min-height:0;justify-content:space-between}
 .service-item .service-name{font-size:14px;line-height:1.15;overflow-wrap:anywhere}
 .offer-icon{width:18px;height:18px;min-height:18px;margin-top:0}
}
@media(max-width:600px) and (max-height:700px){
 .directory-stage:not(.configurator-open){padding:6px 0}
 .directory-stage:not(.configurator-open) .directory-head{height:46px;min-height:46px;margin-bottom:6px}
 .directory-stage:not(.configurator-open) .directory-head h1{font-size:19px}
 .service-item-illustrated .service-item-top{padding:5px 7px;gap:2px}
 .service-item .service-name{font-size:12px;line-height:1.12}
 .offer-icon{width:15px;height:15px;min-height:15px}
}
