
/* Life Pillars Subpages Mobile - V1 */
@media (max-width:820px){
  .subpage-hero,
  .product-detail-hero,
  .partner-detail-hero{
    min-height:auto;
    padding:118px 0 54px;
  }
  .subpage-hero h1,
  .product-detail-copy h1,
  .partner-detail-copy h1{
    font-size:38px;
    line-height:1.08;
  }
  .subpage-hero p,
  .product-detail-copy p,
  .partner-detail-copy p{
    font-size:15px;
  }
  .subpage-actions{flex-direction:column}
  .subpage-actions .btn{width:100%}
  .split-layout,
  .product-detail-grid,
  .partner-detail-grid,
  .process-grid{
    grid-template-columns:1fr;
    gap:26px;
  }
  .split-image img,
  .product-detail-media img{
    height:300px;
  }
  .subpage-card-grid,
  .detail-info-grid,
  .category-tile-grid,
  .catalog-grid,
  .compact-catalog,
  .partner-page-grid{
    grid-template-columns:1fr;
  }
  .subpage-card,
  .category-tile,
  .catalog-info,
  .related-panel{
    padding:22px;
  }
  .stat-panel{
    grid-template-columns:1fr 1fr;
  }
  .stat-panel div:nth-child(2n){border-right:0}
  .stat-panel strong{font-size:30px}
  .catalog-img{height:210px}
  .partner-detail-logo{min-height:230px}
  .partner-detail-logo img{max-height:110px}
  .related-panel div{align-items:stretch;flex-direction:column}
  .related-panel a{text-align:center}
  .subpage-contact{padding-top:70px}
}


/* ================================
   Life Pillars Subpages Mobile Layout - V1.3
================================ */
@media (max-width:820px){
  body.subpage .lp-header{
    background:rgba(2,11,22,.9);
  }

  body.subpage main > section:first-child,
  body.subpage main > section:not(:first-child){
    margin-top:0 !important;
  }

  body.subpage .subpage-hero,
  body.subpage .product-detail-hero,
  body.subpage .partner-detail-hero{
    min-height:auto;
    padding:132px 0 58px;
  }

  body.subpage .subpage-hero h1,
  body.subpage .product-detail-copy h1,
  body.subpage .partner-detail-copy h1{
    font-size:clamp(34px,11vw,48px);
    letter-spacing:-.045em;
  }

  body.subpage .subpage-hero p,
  body.subpage .product-detail-copy p,
  body.subpage .partner-detail-copy p{
    font-size:15px;
    line-height:1.75;
  }

  body.subpage .section-pad{
    padding:52px 0;
  }

  body.subpage .subpage-actions{
    gap:12px;
  }

  body.subpage .subpage-actions .btn{
    width:100%;
    min-width:0;
  }

  body.subpage .category-overview{
    grid-template-columns:1fr;
    gap:20px;
    padding:22px;
    border-radius:24px;
    margin-bottom:38px;
  }

  body.subpage .category-overview-copy h2{
    font-size:34px;
  }

  body.subpage .category-metrics{
    grid-template-columns:1fr;
  }

  body.subpage .category-metrics article{
    min-height:auto;
    padding:18px;
  }

  body.subpage .catalog-grid,
  body.subpage .compact-catalog,
  body.subpage .category-tile-grid,
  body.subpage .subpage-card-grid,
  body.subpage .detail-info-grid,
  body.subpage .partner-page-grid{
    grid-template-columns:1fr;
  }

  body.subpage .catalog-img{
    height:220px;
  }

  body.subpage .catalog-info{
    min-height:auto;
  }

  body.subpage .catalog-info h3{
    min-height:auto;
  }

  body.subpage .product-detail-grid,
  body.subpage .partner-detail-grid,
  body.subpage .split-layout,
  body.subpage .process-grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  body.subpage .product-detail-media img,
  body.subpage .split-image img{
    height:300px;
  }

  body.subpage .subpage-card{
    min-height:auto;
  }

  body.subpage .related-panel{
    padding:24px;
  }
}

/* ================================
   Life Pillars Subpages Mobile Premium Distribution - V1.4
================================ */
@media (max-width:820px){
  body.subpage .subpage-hero,
  body.subpage .product-detail-hero,
  body.subpage .partner-detail-hero{
    min-height:auto;
    padding:118px 0 52px;
  }
  body.subpage .subpage-hero-inner,
  body.subpage .product-detail-copy,
  body.subpage .partner-detail-copy{
    padding:24px 20px;
    border-radius:24px;
  }
  body.subpage .subpage-hero h1,
  body.subpage .product-detail-copy h1,
  body.subpage .partner-detail-copy h1{
    font-size:clamp(36px,12vw,48px);
    line-height:1.02;
  }
  body.subpage .subpage-hero p,
  body.subpage .product-detail-copy p,
  body.subpage .partner-detail-copy p{
    font-size:15px;
    line-height:1.7;
  }
  body.subpage .section-pad{
    padding:58px 0;
  }
  body.subpage .subpage-section-head{
    margin-bottom:28px;
    text-align:left;
  }
  body.subpage .subpage-section-head p{
    margin-left:0;
    margin-right:0;
  }
  body.subpage.about-page .split-layout,
  body.subpage.about-page .subpage-card-grid,
  body.subpage.products-page .category-tile-grid,
  body.subpage.products-page .catalog-grid,
  body.subpage.category-page .category-overview,
  body.subpage.category-page .catalog-grid,
  body.subpage.product-detail-page .product-detail-grid,
  body.subpage.product-detail-page .detail-info-grid,
  body.subpage.product-detail-page .compact-catalog,
  body.subpage.services-page .services-list,
  body.subpage .process-grid,
  body.subpage.service-detail-page .detail-info-grid,
  body.subpage.partners-page .partner-page-grid,
  body.subpage.partner-detail-page .partner-detail-grid,
  body.subpage.partner-detail-page .detail-info-grid,
  body.subpage.contact-page .contact-grid,
  body.subpage.coverage-page .subpage-card-grid{
    grid-template-columns:1fr !important;
    gap:20px;
  }
  body.subpage.products-page .category-tile,
  body.subpage.products-page .catalog-card,
  body.subpage.category-page .catalog-card,
  body.subpage.partners-page .partner-page-card,
  body.subpage.services-page .services-list .subpage-card{
    grid-column:auto !important;
  }
  body.subpage.about-page .subpage-card:nth-child(2),
  body.subpage.about-page .subpage-card:nth-child(3){
    margin-top:0;
  }
  body.subpage.about-page .split-image,
  body.subpage.about-page .split-image img,
  body.subpage.product-detail-page .product-detail-media img{
    min-height:auto;
    height:300px;
  }
  body.subpage.category-page .category-overview{
    padding:22px;
    margin-bottom:34px;
    border-radius:24px;
  }
  body.subpage.category-page .category-metrics{
    grid-template-columns:1fr;
  }
  body.subpage.category-page .category-metrics article{
    min-height:auto;
  }
  body.subpage .catalog-img,
  body.subpage.products-page .catalog-card:nth-child(1) .catalog-img,
  body.subpage.products-page .catalog-card:nth-child(8) .catalog-img,
  body.subpage.products-page .catalog-card:nth-child(15) .catalog-img,
  body.subpage.products-page .catalog-card:nth-child(22) .catalog-img,
  body.subpage.category-page .catalog-card:nth-child(1) .catalog-img{
    height:220px;
  }
  body.subpage .process-steps div{
    padding:76px 22px 22px;
  }
  body.subpage .process-steps div::before{
    left:22px;
    top:22px;
  }
  body.subpage.partner-detail-page .partner-detail-logo{
    min-height:260px;
  }
  body.subpage.contact-page .contact-pro-form{
    padding:22px;
    border-radius:24px;
  }
  body.subpage.coverage-page .coverage-section{
    padding:56px 0;
  }
  body.subpage.coverage-page .coverage-intro{
    padding:22px;
  }
  body.subpage .stat-panel{
    grid-template-columns:1fr !important;
  }
}


/* ================================
   Life Pillars Subpages Mobile V1.5
================================ */
@media (max-width:820px){
  body.subpage .hero.subpage-hero,
  body.subpage .hero.product-detail-hero,
  body.subpage .hero.partner-detail-hero{
    min-height:760px;
  }
  body.subpage .hero .subpage-hero-inner,
  body.subpage .hero .subpage-detail-hero-inner{
    min-height:760px;
    grid-template-columns:1fr;
    align-content:center;
    gap:24px;
    padding-top:98px;
    padding-bottom:100px;
  }
  body.subpage .subpage-hero-visual,
  body.subpage .subpage-hero-product-visual{
    min-height:auto;
    max-height:260px;
  }
  body.subpage .subpage-orbit-card{
    width:100%;
    min-height:230px;
    padding:28px 22px;
    border-radius:26px;
  }
  body.subpage .subpage-orbit-card img{width:135px;margin-bottom:14px}
  body.subpage .subpage-orbit-card strong{font-size:28px}
  body.subpage .hero .subpage-hero-copy h1,
  body.subpage .hero .product-detail-copy h1,
  body.subpage .hero .partner-detail-copy h1{
    font-size:clamp(42px,12vw,56px);
  }
  body.subpage .hero .subpage-hero-copy p,
  body.subpage .hero .product-detail-copy p,
  body.subpage .hero .partner-detail-copy p{
    font-size:16px;
  }
  body.subpage .subpage-trust-row .trust-grid{
    grid-template-columns:1fr 1fr;
    min-height:auto;
  }
  body.subpage .subpage-trust-row .trust-item{
    min-height:74px;
    padding:14px 16px;
  }
  body.subpage .subpage-hero-product-visual img{
    min-height:240px;
  }
  body.subpage .partner-detail-logo.subpage-hero-product-visual img{
    max-height:130px;
  }
}


/* Subpages V1.7 mobile hero cleanup: no inner frame/card. */
@media (max-width:820px){
  body.subpage .hero.subpage-hero,
  body.subpage .hero.product-detail-hero,
  body.subpage .hero.partner-detail-hero{
    min-height:auto !important;
    height:auto !important;
    padding:0 !important;
    overflow:visible !important;
  }
  body.subpage .hero .subpage-hero-inner,
  body.subpage .hero .subpage-detail-hero-inner,
  body.subpage .hero .product-detail-grid,
  body.subpage .hero .partner-detail-grid{
    width:min(1180px,calc(100% - 48px)) !important;
    min-height:auto !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    align-items:start !important;
    padding:174px 0 30px !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }
  body.subpage .hero .subpage-hero-copy,
  body.subpage .hero .product-detail-copy,
  body.subpage .hero .partner-detail-copy{
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
  }
  body.subpage .subpage-trust-row{
    position:relative !important;
    margin-top:28px !important;
  }
}

/* Products Categories Latest Product Mobile - V1.9 */
@media (max-width:820px){
  body.products-page .product-category-showcase-grid{
    grid-template-columns:1fr !important;
    gap:18px;
  }
  body.products-page .product-category-showcase{
    grid-template-columns:1fr;
    min-height:auto;
    padding:20px;
    border-radius:26px;
  }
  body.products-page .category-summary{
    gap:16px;
    padding:0;
  }
  body.products-page .category-summary h3{
    font-size:32px;
  }
  body.products-page .category-more,
  body.products-page .latest-link{
    width:100%;
  }
  body.products-page .latest-product-panel{
    grid-template-rows:auto 210px auto;
    padding:14px;
  }
}

/* Subpages Products Mobile Polish - V2.0 */
@media (max-width:820px){
  body.subpage .lp-header{
    position:fixed !important;
    inset-inline:0 !important;
    top:0 !important;
    z-index:1000 !important;
  }
  body.products-page .product-category-showcase-grid{
    grid-template-columns:1fr !important;
  }
  body.products-page .product-category-showcase{
    padding:20px !important;
    gap:18px !important;
  }
  body.products-page .category-summary h3{
    font-size:clamp(30px,9vw,38px) !important;
  }
  body.products-page .latest-product-panel{
    grid-template-columns:1fr !important;
    grid-template-rows:auto auto auto !important;
    min-height:auto !important;
  }
  body.products-page .latest-media{
    height:220px !important;
  }
  body.products-page .category-pagination{
    margin-top:28px !important;
  }
}


/* Services premium mobile - V2.7 */
@media (max-width:820px){
  body.subpage.services-page .services-overview-shell,
  body.subpage.services-page .services-use-cases-grid,
  body.subpage.services-page .services-premium-grid,
  body.subpage.services-page .services-process-section .process-grid{
    grid-template-columns:1fr !important;
  }
  body.subpage.services-page .services-overview-shell{
    gap:20px;
  }
  body.subpage.services-page .service-signal-card,
  body.subpage.services-page .service-premium-card,
  body.subpage.services-page .use-case-card,
  body.subpage.services-page .service-note-band{
    padding:22px;
    border-radius:22px;
  }
  body.subpage.services-page .service-premium-card:nth-child(1),
  body.subpage.services-page .service-premium-card:nth-child(2),
  body.subpage.services-page .service-premium-card:nth-child(3),
  body.subpage.services-page .service-premium-card:nth-child(4),
  body.subpage.services-page .service-premium-card:nth-child(5){
    grid-column:auto;
  }
  body.subpage.services-page .service-card-top{
    flex-direction:row;
    gap:14px;
  }
  body.subpage.services-page .service-icon{
    width:52px;
    height:52px;
    border-radius:16px;
    font-size:24px;
  }
  body.subpage.services-page .service-premium-card h3,
  body.subpage.services-page .service-signal-card h3,
  body.subpage.services-page .use-case-card h3{
    font-size:25px;
  }
  body.subpage.services-page .service-chip-list{
    gap:8px;
  }
  body.subpage.services-page .process-steps div{
    min-height:auto;
    padding:76px 22px 22px;
  }
}


/* Service detail premium mobile - V2.8 */
@media (max-width:820px){
  body.subpage.service-detail-page .service-detail-overview-grid,
  body.subpage.service-detail-page .service-detail-features-grid,
  body.subpage.service-detail-page .service-step-grid,
  body.subpage.service-detail-page .service-use-grid,
  body.subpage.service-detail-page .service-related-grid{
    grid-template-columns:1fr !important;
  }
  body.subpage.service-detail-page .service-focus-band,
  body.subpage.service-detail-page .service-summary-card,
  body.subpage.service-detail-page .service-detail-feature,
  body.subpage.service-detail-page .service-step-card,
  body.subpage.service-detail-page .service-use-card,
  body.subpage.service-detail-page .service-related-link,
  body.subpage.service-detail-page .service-detail-related-panel{
    padding:22px;
    border-radius:22px;
  }
  body.subpage.service-detail-page .service-summary-card h3,
  body.subpage.service-detail-page .service-related-head h2,
  body.subpage.service-detail-page .service-detail-feature h3,
  body.subpage.service-detail-page .service-step-card h3,
  body.subpage.service-detail-page .service-use-card h3{
    font-size:28px;
  }
  body.subpage.service-detail-page .summary-points div{
    flex-direction:column;
    align-items:flex-start;
  }
  body.subpage.service-detail-page .summary-points span{
    text-align:left;
  }
}


/* Coverage pin legend mobile - V2.9 */
@media (max-width:820px){
  body.subpage.coverage-page .coverage-map-status-badge{
    margin-top:10px;
    width:max-content;
  }
  body.subpage.coverage-page .coverage-map-header{
    align-items:flex-start;
  }
  body.subpage.coverage-page .coverage-status-legend,
  body.subpage.coverage-page .coverage-color-grid{
    grid-template-columns:1fr !important;
  }
  body.subpage.coverage-page .coverage-status-legend{
    margin:14px;
  }
  body.subpage.coverage-page .coverage-color-card{
    padding:22px;
    border-radius:22px;
  }
  body.subpage.coverage-page .coverage-color-card h3{
    font-size:26px;
  }
}


/* Service detail refinement mobile - V3.0 */
@media (max-width:820px){
  body.subpage.service-detail-page .service-related-grid-premium{
    grid-template-columns:1fr !important;
  }
  body.subpage.service-detail-page .service-related-card{
    min-height:auto;
    padding:22px;
    border-radius:22px;
  }
  body.subpage.service-detail-page .service-related-icon{
    width:50px;
    height:50px;
    border-radius:16px;
  }
}


/* Contact premium mobile - V3.3 */
@media (max-width:820px){
  body.subpage.contact-page .contact-command-grid,
  body.subpage.contact-page .contact-iso-grid,
  body.subpage.contact-page .contact-path-grid,
  body.subpage.contact-page .contact-quick-grid{
    grid-template-columns:1fr !important;
  }
  body.subpage.contact-page .contact-command-grid,
  body.subpage.contact-page .contact-iso-grid{
    gap:24px;
  }
  body.subpage.contact-page .contact-premium-section,
  body.subpage.contact-page .contact-iso-section,
  body.subpage.contact-page .contact-paths-section{
    padding:58px 0;
  }
  body.subpage.contact-page .contact-premium-form,
  body.subpage.contact-page .contact-quick-card,
  body.subpage.contact-page .contact-path-card,
  body.subpage.contact-page .contact-support-list article{
    padding:22px;
    border-radius:22px;
  }
  body.subpage.contact-page .contact-support-list article{
    grid-template-columns:1fr;
  }
  body.subpage.contact-page .contact-path-card h3,
  body.subpage.contact-page .contact-support-list h3{
    font-size:25px;
  }
}


/* Contact performance + Sitemap mobile - V3.5 */
@media (max-width:820px){
  body.subpage.sitemap-page .sitemap-grid{
    grid-template-columns:1fr !important;
  }
  body.subpage.sitemap-page .sitemap-card{
    padding:22px;
    border-radius:22px;
  }
  body.subpage.sitemap-page .sitemap-card h3{
    font-size:26px;
  }
}


/* Sitemap + Contact polish mobile - V3.7 */
@media (max-width:820px){
  body.subpage.sitemap-page .sitemap-premium-grid{
    grid-template-columns:1fr !important;
  }
  body.subpage.sitemap-page .sitemap-premium-grid .sitemap-card,
  body.subpage.sitemap-page .sitemap-premium-grid .sitemap-card-wide{
    grid-column:auto !important;
  }
  body.subpage.sitemap-page .sitemap-card li a{
    min-height:44px;
  }
  body.subpage.contact-page .contact-page-location-card{
    margin-top:20px;
  }
  body.subpage.contact-page .contact-page-location-card .location-card-bottom{
    align-items:flex-start;
  }
}


/* Partner detail premium mobile - V4.1 */
@media (max-width:820px){
  body.subpage.partner-detail-page .partner-profile-grid,
  body.subpage.partner-detail-page .partner-profile-facts,
  body.subpage.partner-detail-page .partner-value-grid,
  body.subpage.partner-detail-page .partner-gallery-layout,
  body.subpage.partner-detail-page .partner-product-grid{
    grid-template-columns:1fr !important;
  }
  body.subpage.partner-detail-page .partner-logo-profile,
  body.subpage.partner-detail-page .partner-profile-facts article,
  body.subpage.partner-detail-page .partner-value-card,
  body.subpage.partner-detail-page .partner-gallery-main,
  body.subpage.partner-detail-page .partner-gallery-thumb,
  body.subpage.partner-detail-page .partner-product-tile{
    border-radius:22px;
  }
  body.subpage.partner-detail-page .partner-logo-profile,
  body.subpage.partner-detail-page .partner-value-card{
    padding:22px;
  }
  body.subpage.partner-detail-page .partner-logo-frame{
    min-height:190px;
    border-radius:20px;
  }
  body.subpage.partner-detail-page .partner-gallery-main{
    min-height:auto;
  }
  body.subpage.partner-detail-page .partner-gallery-main > img{
    height:250px;
  }
  body.subpage.partner-detail-page .partner-gallery-caption{
    padding:22px;
  }
  body.subpage.partner-detail-page .partner-gallery-thumb{
    grid-template-columns:86px minmax(0,1fr);
  }
  body.subpage.partner-detail-page .partner-gallery-thumb img{
    width:86px;
    height:64px;
  }
  body.subpage.partner-detail-page .partner-product-tile img{
    height:210px;
  }
  body.subpage.partner-detail-page .partner-logo-profile h2{
    font-size:30px;
  }
}

/* Footer Navigation Grid Mobile - V4.3 */
@media (max-width:820px){
  body.subpage .footer-main .footer-links-col:first-of-type ul{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px 12px;
  }
}


/* Partner detail visibility mobile - V4.4 */
@media (max-width:820px){
  body.subpage.partner-detail-page .partner-products-gallery-section{
    padding-top:96px !important;
    scroll-margin-top:130px;
  }
  body.subpage.partner-detail-page .partner-gallery-main > img{
    height:300px !important;
    padding:12px;
  }
}

/* V4.5 mobile critical fixes */
@media (max-width:820px){
  body.subpage .footer-main > .footer-links-col:nth-child(2) ul,
  body.subpage .footer-main > div.footer-links-col:nth-child(2) ul{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px 12px !important;
  }
  body.subpage .footer-main > .footer-links-col:nth-child(2) a,
  body.subpage .footer-main > div.footer-links-col:nth-child(2) a{
    white-space:normal !important;
  }
  body.subpage.partner-detail-page .partner-gallery-main > img{
    height:300px !important;
    object-fit:cover !important;
    padding:0 !important;
  }
}


/* Partner product gallery mobile redesign - V4.7 */
@media (max-width:820px){
  body.subpage.partner-detail-page .partner-products-gallery-v47{
    padding-top:82px !important;
  }
  body.subpage.partner-detail-page .partner-gallery-premium-layout,
  body.subpage.partner-detail-page .partner-product-mini-grid{
    grid-template-columns:1fr !important;
  }
  body.subpage.partner-detail-page .partner-product-feature-visual{
    min-height:300px;
    padding:18px;
  }
  body.subpage.partner-detail-page .partner-product-feature-visual img{
    height:260px;
  }
  body.subpage.partner-detail-page .partner-product-gallery-card{
    grid-template-columns:96px minmax(0,1fr);
    gap:14px;
    padding:14px;
    border-radius:22px;
  }
  body.subpage.partner-detail-page .partner-product-gallery-thumb{
    width:96px;
    height:82px;
    border-radius:16px;
  }
  body.subpage.partner-detail-page .partner-product-feature-copy{
    padding:22px;
  }
  body.subpage.partner-detail-page .partner-product-feature-copy h3{
    font-size:30px;
  }
}


/* Partner Gallery Clean Grid mobile - V5.8 */
@media (max-width:820px){
  body.subpage.partner-detail-page .partner-gallery-clean-grid{
    grid-template-columns:1fr !important;
  }
}

/* Service single + generic page responsive polish */
@media (max-width: 980px){
  body.subpage.service-detail-page .service-detail-overview-grid,
  body.subpage.service-detail-page .service-detail-features-grid,
  body.subpage.service-detail-page .service-step-grid,
  body.subpage.static-page .generic-page-layout,
  body.subpage.static-page .generic-related-grid{
    grid-template-columns:1fr !important;
  }
  body.subpage.service-detail-page .service-detail-overview-copy,
  body.subpage.service-detail-page .service-summary-card,
  body.subpage.static-page .generic-page-card,
  body.subpage.static-page .generic-page-side-card,
  body.subpage.static-page .generic-page-nav{
    padding:24px !important;
    border-radius:24px !important;
  }
  body.subpage.service-detail-page .service-summary-visual{
    height:230px !important;
  }
  body.subpage.static-page .generic-page-section{
    padding-top:64px !important;
  }
}
@media (max-width: 640px){
  body.subpage.service-detail-page .service-detail-tags{
    gap:8px !important;
  }
  body.subpage.service-detail-page .service-detail-tags span{
    width:100% !important;
    justify-content:center !important;
  }
  body.subpage.service-detail-page .summary-points div{
    display:grid !important;
    gap:6px !important;
  }
  body.subpage.service-detail-page .summary-points span{
    text-align:left !important;
  }
  body.subpage.service-detail-page .service-summary-visual{
    height:200px !important;
  }
  body.subpage.static-page .generic-page-card,
  body.subpage.static-page .generic-page-side-card,
  body.subpage.static-page .generic-page-nav{
    padding:20px !important;
  }
  body.subpage.static-page .generic-page-side-card h3{
    font-size:28px !important;
  }
  body.subpage.static-page .generic-related-card{
    min-height:128px !important;
  }
}

/* ================================
   Life Pillars Subpages Mobile Hero Logo Order - V2.2
   Shows the animated logo before subpage hero content with safe top clearance on mobile.
================================ */
@media (max-width:820px){
  body.subpage .hero .subpage-hero-inner,
  body.subpage .hero .subpage-detail-hero-inner,
  body.subpage .hero .product-detail-grid,
  body.subpage .hero .partner-detail-grid{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    gap:16px !important;
    padding-top:calc(var(--lp-header-clearance, 132px) + 72px) !important;
    padding-bottom:42px !important;
  }

  body.subpage .hero .hero-video-logo-stage.subpage-logo-loop,
  body.subpage .hero .logo-stage.subpage-logo-loop{
    order:1 !important;
    display:flex !important;
    width:min(250px, 76vw) !important;
    min-height:176px !important;
    height:auto !important;
    margin:0 auto 10px !important;
    align-self:center !important;
    justify-self:center !important;
    opacity:1 !important;
    filter:none !important;
    transform:none !important;
    pointer-events:none !important;
  }

  body.subpage .hero .hero-video-logo-stage.subpage-logo-loop.reveal.is-visible,
  body.subpage .hero .logo-stage.subpage-logo-loop.reveal.is-visible{
    opacity:1 !important;
    filter:none !important;
    transform:none !important;
  }

  body.subpage .hero .subpage-hero-copy,
  body.subpage .hero .product-detail-copy,
  body.subpage .hero .partner-detail-copy{
    order:2 !important;
    width:100% !important;
  }
}

@media (max-width:520px){
  body.subpage .hero .subpage-hero-inner,
  body.subpage .hero .subpage-detail-hero-inner,
  body.subpage .hero .product-detail-grid,
  body.subpage .hero .partner-detail-grid{
    padding-top:calc(var(--lp-header-clearance, 132px) + 58px) !important;
    gap:12px !important;
  }

  body.subpage .hero .hero-video-logo-stage.subpage-logo-loop,
  body.subpage .hero .logo-stage.subpage-logo-loop{
    width:min(230px, 72vw) !important;
    min-height:162px !important;
  }
}

/* ================================
   Contact ISO mobile centered seal/title - V3.9
   Keeps the ISO seal centered with the ISO title directly below it on mobile only.
================================ */
@media (max-width:820px){
  body.subpage .subpage-hero .subpage-hero-inner .hero-video-logo-stage.subpage-logo-loop,
  body.subpage .subpage-hero .subpage-hero-inner .logo-stage.subpage-logo-loop{
    margin-top:120px !important;
  }

  body.subpage.contact-page .iso-certificate-summary{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    gap:0 !important;
    padding:26px 22px !important;
  }

  body.subpage.contact-page .iso-certificate-summary .iso-eyebrow{
    align-self:center !important;
    justify-self:center !important;
    margin:0 0 24px !important;
    text-align:center !important;
  }

  body.subpage.contact-page .iso-certificate-summary .iso-seal{
    width:112px !important;
    height:112px !important;
    margin:0 auto 22px !important;
    align-self:center !important;
    justify-self:center !important;
  }

  body.subpage.contact-page .iso-certificate-summary h3{
    max-width:430px !important;
    margin:0 auto 22px !important;
    text-align:center !important;
    font-size:clamp(27px,7.6vw,34px) !important;
    line-height:1.12 !important;
    letter-spacing:-.025em !important;
  }

  body.subpage.contact-page .iso-certificate-summary p{
    max-width:100% !important;
    margin:0 !important;
    text-align:center !important;
    font-size:16px !important;
    line-height:1.75 !important;
  }
}

@media (max-width:520px){
  body.subpage.contact-page .iso-certificate-summary{
    padding:24px 18px !important;
  }

  body.subpage.contact-page .iso-certificate-summary .iso-seal{
    width:104px !important;
    height:104px !important;
  }

  body.subpage.contact-page .iso-certificate-summary h3{
    font-size:clamp(28px,8.5vw,34px) !important;
  }
}
