/* Hajer Factory v2.1 — mobile app-like navigation and a compact, readable one-page experience.
   Desktop/tablet wider than 767px are intentionally unaffected. */
.h21-bottom-nav{display:none}
.h21-gallery-toggle,.h21-reveal-contact{display:none}
@media(max-width:767px){
  body.h21-mobile-home{--h21-safe:env(safe-area-inset-bottom,0px)}
  /* Preserve the regular desktop header for tablets and desktops. Mobile gets bottom navigation. */
  body.h21-nav-enabled .hajer-announcement{display:none!important}
  body.h21-nav-enabled .hajer-menu-btn,body.h21-nav-enabled .hajer-main-nav,
  body.h21-nav-enabled .hajer-nav-cta{display:none!important}
  body.h21-nav-enabled .hajer-head-inner{min-height:62px!important;gap:10px!important;justify-content:space-between!important}
  body.h21-nav-enabled .hajer-brand img{width:125px!important;max-height:52px!important}
  body.h21-nav-enabled .hajer-head-actions{gap:8px!important;margin-inline-start:auto}
  body.h21-nav-enabled .hajer-lang{font-size:15px!important;font-weight:800!important;padding:10px!important;white-space:nowrap}
  body.h21-nav-enabled .hajer-back-to-top{display:none!important}
  body.h21-nav-enabled .h07-footer{padding-bottom:calc(78px + var(--h21-safe))!important}
  body.h21-nav-enabled .h21-bottom-nav{
    position:fixed;display:grid;grid-template-columns:repeat(var(--h21-count,5),minmax(0,1fr));
    gap:2px;left:0;right:0;bottom:0;z-index:99998;
    padding:7px max(9px,env(safe-area-inset-left)) calc(6px + var(--h21-safe)) max(9px,env(safe-area-inset-right));
    background:rgba(249,255,251,.98);border-top:1px solid #cdebdc;
    box-shadow:0 -9px 33px rgba(2,53,45,.15);backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);isolation:isolate;
  }
  .h21-nav-item{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;
    min-height:49px;padding:7px 2px 5px;color:#54756c!important;border-radius:13px;
    text-decoration:none!important;font:750 10px/1.1 system-ui,-apple-system,sans-serif;
    -webkit-tap-highlight-color:transparent;transition:background .18s,color .18s;}
  .h21-nav-item svg{width:21px;height:21px;flex-shrink:0}
  .h21-nav-item span{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .h21-nav-item.is-active{color:#096e48!important;background:#e5f8ee}
  .h21-nav-pickup{background:linear-gradient(135deg,#05794c,#1db777);color:#fff!important;
    border-radius:13px;box-shadow:0 5px 15px rgba(0,143,81,.22)}
  .h21-nav-pickup.is-active{color:#fff!important;background:linear-gradient(135deg,#046941,#13a56b)}
  .h21-nav-item:focus-visible{outline:3px solid #d3af42;outline-offset:1px}
  body.h21-nav-enabled .h03-main section{scroll-margin-top:72px!important}
  body.h21-nav-enabled .h03-main #oil-request{scroll-margin-top:72px!important}
  body.h21-nav-enabled .h03-main #home{scroll-margin-top:64px!important}
  body.h21-nav-enabled .h03-main #contact{scroll-margin-top:72px!important}
  /* Shrink the above-the-fold hero without hiding CTA buttons or slider controls. */
  body.h21-compact-enabled .h03-hero{height:clamp(555px,76svh,610px)!important;
    min-height:555px!important;max-height:610px!important;}
  body.h21-compact-enabled.hajer-v04-ar .h03-hero{height:clamp(630px,80svh,690px)!important;min-height:630px!important;max-height:690px!important;}
  body.h21-compact-enabled .h03-slide-inner{padding-block:20px 65px!important;align-items:center!important}
  body.h21-compact-enabled .h03-slide-copy{padding:18px 0 32px!important;max-width:100%!important}
  body.h21-compact-enabled .h03-slide-copy h1{font-size:clamp(29px,8.2vw,43px)!important;line-height:1.09!important;
    margin:18px 0 15px!important;letter-spacing:-.028em!important}
  body.h21-compact-enabled .h03-slide-copy p{font-size:clamp(13px,3.65vw,16px)!important;
    line-height:1.52!important;margin-bottom:19px!important;max-width:38ch!important}
  body.h21-compact-enabled .h03-kicker{font-size:9px!important;letter-spacing:.055em!important;gap:7px!important;line-height:1.4}
  body.h21-compact-enabled .h03-kicker i{width:19px!important}
  body.h21-compact-enabled .h03-actions{display:grid!important;grid-template-columns:1fr 1fr!important;
    max-width:100%!important;gap:8px!important;flex-direction:row!important}
  body.h21-compact-enabled .h03-actions .h03-btn{min-height:43px!important;max-width:none!important;
    padding:9px 11px!important;gap:5px!important;font-size:12px!important;line-height:1.3!important;
    border-radius:11px!important;justify-content:space-between!important}
  body.h21-compact-enabled .h03-slider-controls{height:47px!important;bottom:6px!important;gap:6px!important}
  body.h21-compact-enabled .h03-slider-dots{gap:5px!important}
  body.h21-compact-enabled .h03-dot{width:18px!important;height:3px!important}
  body.h21-compact-enabled .h03-dot.is-active{width:30px!important}
  body.h21-compact-enabled .h03-arrow,body.h21-compact-enabled .h03-pause{width:29px!important;height:29px!important;min-width:29px!important}
  body.h21-compact-enabled .h03-slide-number b{font-size:14px!important}
  body.h21-compact-enabled .h03-slide-number span{font-size:10px!important}
  body.h21-compact-enabled .h03-slide-visual{background-position:center center!important}
  /* Smaller section gutters; avoid giant headings and oversized decorative whitespace. */
  body.h21-compact-enabled .h03-section,
  body.h21-compact-enabled .h13-section,
  body.h21-compact-enabled .h04-section{padding-block:38px!important}
  body.h21-compact-enabled .h03-main h2{font-size:clamp(26px,7.15vw,37px)!important;
    line-height:1.18!important;margin-block:11px 16px!important}
  body.h21-compact-enabled .h03-main p{line-height:1.6!important}
  body.h21-compact-enabled .h03-intro-grid{gap:10px!important}
  body.h21-compact-enabled .h03-intro-side{padding-bottom:0!important}
  body.h21-compact-enabled .h03-stat-grid{margin-top:22px!important;padding-top:15px!important;gap:12px 5px!important}
  body.h21-compact-enabled .h03-stat-grid b{font-size:25px!important}
  body.h21-compact-enabled .h03-head{margin-bottom:17px!important}
  body.h21-compact-enabled .h03-head>p{margin-block:0 15px!important;font-size:13px!important}
  /* Swipeable small service cards: all 4 are accessible without four long vertical screens. */
  body.h21-compact-enabled .h03-services-grid{display:flex!important;overflow-x:auto!important;
    gap:11px!important;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;padding:3px 4px 14px!important;margin-inline:-4px;
    scrollbar-width:thin;grid-template-columns:none!important}
  body.h21-compact-enabled .h03-service{flex:0 0 min(73vw,280px)!important;width:min(73vw,280px)!important;
    scroll-snap-align:start;min-height:205px!important;max-height:none!important;
    padding:18px!important;transform:none!important;border-radius:17px!important}
  body.h21-compact-enabled .h03-service-icon{width:42px!important;height:42px!important;
    border-radius:11px!important;font-size:22px!important;margin:12px 0 10px!important}
  body.h21-compact-enabled .h03-service-num{font-size:10px!important}
  body.h21-compact-enabled .h03-service h3{font-size:19px!important;line-height:1.2!important;margin:0 0 8px!important}
  body.h21-compact-enabled .h03-service p{font-size:12px!important;line-height:1.5!important}
  body.h21-compact-enabled .h03-service-foot{padding-top:9px!important;font-size:9px!important}
  body.h21-compact-enabled .h03-feature,body.h21-compact-enabled .h03-about-strip{min-height:0!important}
  body.h21-compact-enabled .h03-feature-media,body.h21-compact-enabled .h03-about-image{min-height:180px!important;height:180px!important}
  body.h21-compact-enabled .h03-feature-content,body.h21-compact-enabled .h03-about-copy{
    min-height:0!important;padding:26px 18px!important}
  body.h21-compact-enabled .h03-feature-pills{margin-top:13px!important;gap:7px!important}
  body.h21-compact-enabled .h03-feature-pills span{padding:7px 10px!important;font-size:9px!important}
  /* Process and oil-preparation steps become swipeable compact summaries. */
  body.h21-compact-enabled .h03-steps,body.h21-compact-enabled .h13-step-grid{
    display:flex!important;grid-template-columns:none!important;overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;gap:11px!important;
    scrollbar-width:thin;padding-bottom:9px!important;margin-top:18px!important}
  body.h21-compact-enabled .h03-steps>div,body.h21-compact-enabled .h13-step{
    flex:0 0 min(69vw,260px)!important;width:min(69vw,260px)!important;min-height:170px!important;
    scroll-snap-align:start;padding:16px!important;border-radius:15px!important}
  body.h21-compact-enabled .h03-steps b,body.h21-compact-enabled .h13-step-number{font-size:27px!important}
  body.h21-compact-enabled .h03-steps h3,body.h21-compact-enabled .h13-step h3{font-size:17px!important;
    margin:10px 0 6px!important}
  body.h21-compact-enabled .h03-steps p,body.h21-compact-enabled .h13-step p{font-size:12px!important;line-height:1.5!important}
  body.h21-compact-enabled .h13-step-grid{margin-block:18px 12px!important}
  body.h21-compact-enabled .h13-preparation .h13-cta{margin-top:8px!important}
  body.h21-compact-enabled .h13-about .h13-panel-copy{padding:18px!important}
  body.h21-compact-enabled .h13-panel-visual{height:185px!important;min-height:0!important}
  body.h21-compact-enabled .h13-tab{padding:9px 7px!important;font-size:12px!important}
  body.h21-compact-enabled .h13-about .h13-section-header{margin-bottom:18px!important}
  body.h21-compact-enabled .h04-warehouses{padding-block:33px!important}
  body.h21-compact-enabled .h04-map-panel{margin-top:17px!important}
  body.h21-compact-enabled .h04-gallery .h04-gallery-grid{display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body.h21-compact-enabled .h04-gallery .h04-gallery-item,
  body.h21-compact-enabled .h04-gallery .h04-gallery-item:nth-child(1){
    aspect-ratio:1.27!important;grid-column:auto!important;grid-row:auto!important}
  body.h21-compact-enabled .h04-gallery .h04-gallery-item:first-child{grid-column:1/-1!important;aspect-ratio:1.75!important}
  body.h21-compact-enabled .h04-gallery:not(.h21-gallery-open) .h04-gallery-item:nth-child(n+4){display:none!important}
  body.h21-compact-enabled .h04-gallery .h04-gallery-item img{object-fit:cover!important}
  body.h21-compact-enabled .h04-gallery .h04-gallery-label{font-size:10px!important}
  body.h21-compact-enabled .h21-gallery-toggle{display:block;width:100%;margin-top:14px!important;padding:13px 16px;border:1px solid #98ddbc;
    border-radius:13px;background:#f0fff6;color:#086d49;font-size:13px;font-weight:800;text-align:center;cursor:pointer}
  body.h21-compact-enabled .h03-partners h2{font-size:27px!important}
  body.h21-compact-enabled .h03-partner-logo{height:92px!important}
  body.h21-compact-enabled .h03-partner-logo img{max-height:62px!important}
  body.h21-compact-enabled .h03-partner-window{margin-top:17px!important}
  body.h21-compact-enabled .h20-licenses{padding-block:36px!important}
  body.h21-compact-enabled .h20-title-sign{display:none!important}
  body.h21-compact-enabled .h20-header{margin-bottom:17px!important}
  body.h21-compact-enabled .h20-overview .h20-credential{height:215px!important;min-height:0!important}
  body.h21-compact-enabled .h20-cert-stack .h20-credential{height:138px!important;min-height:0!important}
  body.h21-compact-enabled .h20-credential .h20-image-stage{padding:9px!important}
  /* Contact is the last page section, but its full form is opt-in on mobile. */
  body.h21-compact-enabled .h03-cta{padding:34px 0 25px!important}
  body.h21-compact-enabled .h03-cta-grid{gap:17px!important}
  body.h21-compact-enabled .h03-cta-copy h2{font-size:clamp(28px,7.5vw,37px)!important;margin:8px 0 12px!important}
  body.h21-compact-enabled .h03-cta-copy p{font-size:13px!important;margin:0 0 14px!important}
  body.h21-compact-enabled .h03-contact-items{margin-top:15px!important;gap:10px!important}
  body.h21-compact-enabled .h03-contact-items .h13-detail{font-size:13px!important}
  body.h21-compact-enabled .h03-cta-form{display:none!important}
  body.h21-compact-enabled #contact.h21-contact-open .h03-cta-form{display:block!important}
  body.h21-compact-enabled .h21-reveal-contact{display:block;width:100%;border:1px solid rgba(158,241,187,.45);
    background:linear-gradient(105deg,#11aa70,#27c283);color:white;
    border-radius:13px;min-height:48px;padding:12px 17px;cursor:pointer;font-weight:800;font-size:14px}
  body.h21-compact-enabled #contact.h21-contact-open .h21-reveal-contact{background:#0b654a;border-color:#89e2b6}
  body.h21-compact-enabled .h07-feedback-card{padding:19px!important;border-radius:18px!important}
  body.h21-compact-enabled .h07-feedback-form{gap:9px!important}
  body.h21-compact-enabled .h07-feedback-form textarea{min-height:100px!important}
  body.h21-compact-enabled .h07-footer p{font-size:11px!important}
}
@media(max-width:360px){
  .h21-nav-item{font-size:9px;gap:2px}
  .h21-nav-item svg{width:19px;height:19px}
  body.h21-compact-enabled .h03-actions .h03-btn{font-size:10.5px!important}
  body.h21-compact-enabled .h03-slide-copy h1{font-size:29px!important}
}
@media(prefers-reduced-motion:reduce){
 .h21-nav-item{transition:none!important}
 .h21-bottom-nav{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
}
