/* Local review of the approved light category direction. Homepage only. */
body[data-view="home"] .directory:has(.category-compositions){background:#f6f4f1}
.category-compositions{gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}
.category-compositions .category-composition--light{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:0;padding:20px 20px 14px;border:1px solid #e30618;border-radius:22px;background:#f3f3f3;color:#181818;box-shadow:0 3px 0 #e4e0dc;isolation:isolate;position:relative;overflow:hidden}
.category-compositions .category-composition--light::before{content:"";inset:auto auto 0 0;z-index:0;width:84px;height:61px;background:#e30618;clip-path:polygon(0 0,100% 100%,0 100%);pointer-events:none}
.category-compositions .category-composition--light::after{content:"";position:absolute;left:0;bottom:0;width:108px;height:78px;background:#fff;clip-path:polygon(0 0,100% 100%,86% 100%,0 15%);pointer-events:none}
.category-compositions .category-composition--light:hover{background:#f3f3f3;box-shadow:0 7px 22px #24242414;transform:translateY(-2px)}
.category-compositions .category-composition--light:focus-visible{outline:3px solid #d9081a;outline-offset:4px}
.category-compositions .category-composition-heading{font-size:clamp(17px,1.55vw,24px);line-height:1.4;min-height:94px;gap:12px;font-weight:750;text-shadow:none;overflow-wrap:normal;word-break:normal;hyphens:none;position:relative;z-index:1}
.category-compositions .category-composition-arrow{color:#e30618;line-height:1}
.category-compositions .category-composition-arrow svg{width:24px;height:24px}
.category-compositions .category-composition-photos{display:block;flex:none;width:100%;height:auto;aspect-ratio:380/224;margin:8px 0 8px;transform:none;position:relative;z-index:1;isolation:isolate;background:#f3f3f3}
.category-compositions .category-composition-photos--trio>svg{display:block;width:100%;height:100%}
.category-compositions .category-composition-photo{height:100%}
.category-compositions .category-composition-photo>svg{height:100%;width:100%;mix-blend-mode:normal}
.category-composition-brand{height:25px;display:flex;justify-content:flex-end;position:relative;z-index:2;margin-top:auto}
.category-composition-brand img{display:block;width:115px;max-width:55%;height:100%;object-fit:contain;mix-blend-mode:multiply}
/* A compact mascot remains reachable and lifts clear of slider buttons while scrolling. */
body[data-view="home"] .quick-contact{transform:translateY(calc(-1 * var(--mascot-clearance,0px)))}
@media(max-width:999px){.category-compositions{grid-template-columns:repeat(2,minmax(0,1fr))}.category-compositions .category-composition-heading{font-size:20px}}
@media(max-width:600px){
 body[data-view="home"] .directory:has(.category-compositions){padding-top:18px}
 body[data-view="home"] .directory>.shell{display:flex;flex-direction:column}
 body[data-view="home"] .directory>.shell>h1{order:1;font-size:21px;line-height:1.4;margin:0 0 18px;overflow-wrap:normal}
 .category-compositions{order:2;gap:12px 10px}
 #home-product-intro{order:3;margin:22px 0!important;font-size:13px!important;line-height:1.7!important}
 body[data-view="home"] .myroad-carousel{order:4;margin-bottom:0}
 .directory>.shell>.services-heading{order:5}
 .directory>.shell>.directory-grid{order:6}
 .category-compositions .category-composition--light{border-radius:16px;padding:12px 9px 10px}
 .category-compositions .category-composition-heading{font-size:12px;line-height:1.45;min-height:78px;gap:8px}
 .category-compositions .category-composition-arrow svg{width:19px;height:19px}
 .category-compositions .category-composition-photos{margin:4px 0 7px;aspect-ratio:380/224;height:auto;width:100%;transform:none}
 .category-composition-brand{height:16px}
 .category-composition-brand img{width:72px;max-width:60%}
 .category-compositions .category-composition--light::before{width:38px;height:28px}
 .category-compositions .category-composition--light::after{width:49px;height:36px}
 body[data-view="home"] .quick-contact .quick-whatsapp{width:130.968px;height:130.968px}
 body[data-view="home"] .quick-contact{right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom))}
}
@media(max-width:360px){.category-compositions .category-composition-heading{font-size:11px;min-height:76px}.category-compositions .category-composition--light{padding:11px 8px 9px}}
@media(prefers-reduced-motion:reduce){.category-compositions .category-composition--light:hover{transform:none}}
/* Constrain the existing carousel's aspect-ratio min-size on small tablets. */
body[data-view="home"] .myroad-carousel{width:100%;min-width:0;max-width:100%}
@media(max-width:600px){
 body[data-view="home"] .myroad-carousel-controls{left:14px;right:14px;flex-wrap:wrap;gap:4px}
 body[data-view="home"] .myroad-carousel-controls button{min-width:36px;height:40px}
 body[data-view="home"] .myroad-carousel-stage{margin-bottom:94px}
}
/* Hide the banner on narrow phones and short touch screens in landscape.
   Desktop layout, all category cards and service content remain unchanged. */
@media (max-width:600px), (max-width:1024px) and (max-height:600px) and (hover:none) and (pointer:coarse){
 body[data-view="home"] .myroad-carousel{display:none}
}
/* Remove the repeated card signature without moving the photos or resizing cards. */
body[data-view="home"] .category-compositions .category-composition-brand{visibility:hidden}
/* The requested symbol only, inside the red lower-left corner. */
body[data-view="home"] .category-composition-symbol{position:absolute;left:10px;bottom:8px;width:32px;height:24px;z-index:3;pointer-events:none}
body[data-view="home"] .category-composition-symbol>svg{display:block;width:100%;height:100%;overflow:hidden}
@media(max-width:600px){body[data-view="home"] .category-composition-symbol{left:6px;bottom:5px;width:16px;height:12px}}

/* Larger category compositions only where the product group leaves excess space. */
body[data-view="home"] .category-compositions .category-composition[data-pick="02sagzao_bodzkintebi"] .category-composition-photos>svg,
body[data-view="home"] .category-compositions .category-composition[data-pick="01sagzao_bodzi"] .category-composition-photos>svg,
body[data-view="home"] .category-compositions .category-composition[data-pick="03sagzao_konusebi_geo"] .category-composition-photos>svg,
body[data-view="home"] .category-compositions .category-composition[data-pick="04sagzao_barierebi_geo"] .category-composition-photos>svg,
body[data-view="home"] .category-compositions .category-composition[data-pick="05antispeed_bar_geo"] .category-composition-photos>svg,
body[data-view="home"] .category-compositions .category-composition[data-pick="09saparkinge_barierebi"] .category-composition-photos>svg,
body[data-view="home"] .category-compositions .category-composition[data-pick="13sagzao_sagebavi"] .category-composition-photos>svg,
body[data-view="home"] .category-compositions .category-composition[data-pick="19cecxlmaqrebi-fire"] .category-composition-photos>svg,
body[data-view="home"] .category-compositions .category-composition[data-pick="11sagzao_cimcima"] .category-composition-photos>svg,
body[data-view="home"] .category-compositions .category-composition[data-pick="20jixurebi"] .category-composition-photos>svg,
body[data-view="home"] .category-compositions .category-composition[data-pick="10shida_barierebi"] .category-composition-photos>svg,
body[data-view="home"] .category-compositions .category-composition[data-pick="17galvanizirebuli_bodzebi"] .category-composition-photos>svg{transform:translateY(-8px) scale(1.10);transform-origin:50% 50%;overflow:visible}
@media(max-width:600px){body[data-view="home"] .category-compositions .category-composition[data-pick="02sagzao_bodzkintebi"] .category-composition-photos>svg,body[data-view="home"] .category-compositions .category-composition[data-pick="01sagzao_bodzi"] .category-composition-photos>svg,body[data-view="home"] .category-compositions .category-composition[data-pick="03sagzao_konusebi_geo"] .category-composition-photos>svg,body[data-view="home"] .category-compositions .category-composition[data-pick="04sagzao_barierebi_geo"] .category-composition-photos>svg,body[data-view="home"] .category-compositions .category-composition[data-pick="05antispeed_bar_geo"] .category-composition-photos>svg,body[data-view="home"] .category-compositions .category-composition[data-pick="09saparkinge_barierebi"] .category-composition-photos>svg,body[data-view="home"] .category-compositions .category-composition[data-pick="13sagzao_sagebavi"] .category-composition-photos>svg,body[data-view="home"] .category-compositions .category-composition[data-pick="19cecxlmaqrebi-fire"] .category-composition-photos>svg,body[data-view="home"] .category-compositions .category-composition[data-pick="11sagzao_cimcima"] .category-composition-photos>svg,body[data-view="home"] .category-compositions .category-composition[data-pick="20jixurebi"] .category-composition-photos>svg,body[data-view="home"] .category-compositions .category-composition[data-pick="10shida_barierebi"] .category-composition-photos>svg,body[data-view="home"] .category-compositions .category-composition[data-pick="17galvanizirebuli_bodzebi"] .category-composition-photos>svg{transform:translateY(-4px) scale(1.10)}}
/* Keep the existing corner ornament above the composition's neutral backdrop. */
body[data-view="home"] .category-compositions .category-composition--light::before,
body[data-view="home"] .category-compositions .category-composition--light::after{z-index:2}

/* Remove card branding corners; keep existing borders and header logo. */
body[data-view="home"] .category-compositions .category-composition--light::before,body[data-view="home"] .category-compositions .category-composition--light::after{display:none}

/* Compact only the desktop gap between categories and the brand section. */
@media (min-width: 1000px) {
  body[data-view="home"] .directory:has(.category-compositions) { padding-bottom: 20px; }
  body[data-view="home"] .directory + .ref-page { padding-top: 20px; }
  body[data-view="home"] .directory + .ref-page .brand-story { margin-top: 20px; }
}
