/* Alpine Lift Solution — shared refinements after theme v2.0 */
:root{--alpine-section-max:1200px;}
/* All page content containers have max 1200px; backgrounds/diagonal hero media remain full bleed. */
.about-alpine .about-alpine-inner,
.als-services-wrap,.als-why-inner,.als-why-layout,.als-faq-inner,.als-projects-inner,.als-process-inner,
.als-testimonials-inner,.als-last-cta-inner,.als-last-contact-inner,
.als-site-footer-inner,#alpine-footer .alpine-footer-wrap,
.als-c4__container,.als-building__wrap,.als-lift-catalog__inner,
.als-showroom__wrap,.als-custom__wrap,.proj-shell,
.alpine-touch__container,.alpine-location__inner,
.proj-video-slider .proj-shell,.projects-shell,
.product-detail-shell,.products-grid,.related-products__container,
.purpose-inner,.story-container,.alpine-why-container,.alpine-message__container,.about-hero-inner,.nli-top__inner,.als-install-final__inner,
.als-last-cta-wrap,.als-top-inner,.als-main-inner,
.alpine-gallery-inner,.als-contact-wrap,.als-gallery-wrap,
.als-why-choose__inner,.alpine-values-wrap,.installation-hero__content,.als-vgallery__inner{
 max-width:var(--alpine-section-max)!important;
 margin-inline:auto!important;
}
/* Preserve the responsive edge spacing when original containers have no horizontal padding. */
@media(min-width:1249px){
 .als-c4__container,.als-lift-catalog__inner,.als-showroom__wrap,.als-custom__wrap,.proj-shell{width:calc(100% - 48px)!important;}
}
/* Tablet/mobile never overflow their viewport */
@media(max-width:1248px){
 .als-c4__container,.als-lift-catalog__inner,.als-showroom__wrap,.als-custom__wrap{max-width:calc(100% - 32px)!important;}
}
/* Header styles now live in assets/css/header.css (clean header, v3.1). */
/* CAROUSEL: stop Elementor kit button styles from turning dots into pills */
.als-c4__controls,.proj-video-slider__controls{display:flex!important;align-items:center!important;justify-content:center!important;gap:18px!important;}
.als-c4__dots,.proj-video-slider__dots{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;}
html body button.als-c4__dot,html body button.proj-video-slider__dot{
 appearance:none!important;-webkit-appearance:none!important;display:inline-block!important;
 width:11px!important;height:11px!important;min-width:11px!important;min-height:11px!important;
 max-width:11px!important;max-height:11px!important;flex:0 0 11px!important;
 padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;
 background:#bfd0e3!important;box-shadow:none!important;font-size:0!important;line-height:0!important;
 cursor:pointer!important;transition:background .2s ease,transform .2s ease!important;
}
html body button.als-c4__dot.is-active,html body button.proj-video-slider__dot.is-active{background:#087bdf!important;transform:scale(1.2)!important;}
html body button.als-c4__dot:hover,html body button.proj-video-slider__dot:hover{background:#087bdf!important;}
html body button.als-c4__nav,html body button.proj-video-slider__nav{
 appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;
 padding:0!important;margin:0!important;border:1px solid #d8e7f5!important;border-radius:50%!important;
 background:#fff!important;color:#086bd3!important;box-shadow:0 5px 18px rgba(0,45,90,.10)!important;cursor:pointer!important;
}
html body button.als-c4__nav svg{width:20px!important;height:20px!important;flex-shrink:0!important;}
html body button.als-c4__nav:hover,html body button.proj-video-slider__nav:hover{background:#086bd3!important;color:#fff!important;border-color:#086bd3!important;}
.als-c4__dot:focus-visible,.proj-video-slider__dot:focus-visible,.als-c4__nav:focus-visible,.proj-video-slider__nav:focus-visible{outline:2px solid #087bdf!important;outline-offset:4px!important;}
@media(max-width:767px){html body button.als-c4__nav,html body button.proj-video-slider__nav{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;}}
/* HOME HERO MOBILE: preserve original text, buttons, font sizing; visually blend artwork into SAME section. */
@media(max-width:767px){
 body .hero-reference{position:relative!important;display:block!important;isolation:isolate!important;width:100%!important;height:auto!important;min-height:540px!important;padding-bottom:145px!important;overflow:hidden!important;background:#edf5ff!important;}
 body .hero-reference .hero-design-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:78% center!important;display:block!important;margin:0!important;z-index:0!important;}
 body .hero-reference::before{content:""!important;position:absolute!important;inset:0!important;z-index:1!important;pointer-events:none!important;background:linear-gradient(180deg,rgba(243,249,255,.99) 0%,rgba(243,249,255,.97) 34%,rgba(243,249,255,.93) 49%,rgba(243,249,255,.68) 64%,rgba(243,249,255,.20) 82%,rgba(243,249,255,0) 100%)!important;}
 body .hero-reference .hero-copy{position:relative!important;top:auto!important;left:auto!important;width:100%!important;max-width:100%!important;z-index:3!important;background:transparent!important;margin:0!important;}
 body .hero-reference .hero-ctas,body .hero-reference .hero-cta{position:relative!important;z-index:4!important;}
}
@media(max-width:380px){body .hero-reference{min-height:510px!important;padding-bottom:125px!important;}}

/* ============================================================
   1200px SITE GRID (v3.1)
   Every section's content lines up on the same 1200px column.
   Full-bleed backgrounds, hero artwork and split photos still run edge to edge.
   ============================================================ */
:root{--alpine-edge:max(24px,calc((100vw - var(--alpine-section-max)) / 2));}
@media(min-width:1249px){
 /* Containers that carried their own side padding: the 1200px box is now the content edge. */
 .nli-top__inner,.about-hero-inner,.installation-hero__content,.als-install-final__inner,
 #alpine-footer .alpine-footer-wrap,.alpine-product-area.products-hero .about-hero-inner{
  width:calc(100% - 48px)!important;padding-left:0!important;padding-right:0!important;
 }
 /* Home hero: copy starts on the grid line; type capped at its 1440px size so it never runs into the artwork. */
 .hero-reference .hero-copy{left:var(--alpine-edge)!important;width:min(46.5%,640px)!important;}
 .hero-reference h1{font-size:clamp(39px,4.16vw,60px)!important;}
 .hero-reference .hero-kicker{font-size:clamp(12px,1.1vw,16px)!important;margin-bottom:clamp(24px,2.4vw,40px)!important;}
 .hero-reference .hero-rule{margin:18px 0 24px!important;}
 .hero-reference .hero-rule i{width:155px!important;height:6px!important;}
 .hero-reference .hero-rule i + i{width:98px!important;}
 .hero-reference .hero-description{font-size:clamp(16px,1.49vw,20px)!important;}
 .hero-reference .hero-ctas{margin-top:clamp(25px,2.6vw,40px)!important;}
 .hero-reference .hero-cta{font-size:clamp(15px,1.42vw,19px)!important;min-width:clamp(170px,14.7vw,212px)!important;min-height:clamp(51px,3.78vw,56px)!important;}
 .hero-reference .hero-cta svg{width:22px!important;height:22px!important;}
 /* Smart Lift Technology: photo stays full-bleed on the left, copy ends on the right grid line. */
 .als-smart__main{max-width:none!important;padding-right:var(--alpine-edge)!important;}
}

/* Inner-page banners only: common compact Contact Us reference height. */
@media (min-width:941px){
 body:not(.home) :is(.nli-top.alpine-section-root,.about-hero.alpine-section-root,#contact-hero.alpine-section-root){
  height:clamp(400px,24.5vw,440px)!important;
  min-height:clamp(400px,24.5vw,440px)!important;
  max-height:clamp(400px,24.5vw,440px)!important;
  display:flex;align-items:center;
 }
 body:not(.home) :is(.nli-top__inner,.about-hero-inner){padding-block:12px!important;}
 body:not(.home) :is(.nli-top__kicker,.about-kicker){margin-bottom:10px!important;}
 body:not(.home) :is(.nli-top__rules,.about-hero-rules){margin-block:10px!important;}
 body:not(.home) :is(.nli-top__buttons,.about-hero-actions){margin-top:14px!important;}
 body:not(.home) :is(.nli-top h1,.about-hero-title){font-size:clamp(35px,3.1vw,52px)!important;line-height:1.1!important;}
 body:not(.home) :is(.nli-top__description,.about-hero-desc){font-size:16px!important;line-height:1.5!important;}
 body:not(.home) :is(.nli-top__button,.about-hero-btn){min-height:44px!important;padding-block:9px!important;}
 body:not(.home) #contact-hero .installation-hero__content{padding-block:12px!important;}
}
/* Keep the contact form and status in normal document flow. */
#send-message.alpine-message{height:auto!important;min-height:0!important;}
#send-message .alpine-message__container{position:relative;transform:none!important;top:auto!important;}
#send-message .alpine-message__form-box{position:relative;transform:none!important;top:auto!important;}
#send-message .als-honeypot{inset:0 auto auto 0!important;clip-path:inset(50%);pointer-events:none;}
#send-message #alpine-form-status{position:static;transform:none!important;margin:16px 0 0;max-width:none;}
