html, body {
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
}
:root{
  --bg:#f8fafc;--card:#ffffff;--accent:#ff6a00;--muted:#6b7280;--max:1100px;--dark:#0b0b0b
}
*{box-sizing:border-box}
.body-theme{font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;margin:0;background:var(--bg);color:#111}
body{font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;margin:0;background:var(--bg);color:#111}
.container{max-width:var(--max);width:100%;margin:0 auto;padding:1rem;box-sizing:border-box}
.hero-grid{display:grid;grid-template-columns:1fr 420px;gap:2rem;align-items:center}
@media(max-width:900px){
  .hero-grid{grid-template-columns:1fr;gap:1.2rem}
  .hero-image img{height:180px}
}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
@media(max-width:1000px){
  .gallery-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .gallery-grid{grid-template-columns:1fr}
}
.benefit-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-top:0.8rem}
@media(max-width:900px){
  .benefit-grid{grid-template-columns:1fr}
}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:.8rem}
@media(max-width:900px){
  .stats-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .stats-grid{grid-template-columns:1fr}
}
.home-hero-media img{width:100%;height:260px;object-fit:cover;border-radius:8px;border:6px solid rgba(255,255,255,0.04)}
@media(max-width:600px){
  .home-hero-media img{height:140px}
}
@media(max-width:900px){
  .features{flex-direction:column;overflow-x:visible;}
  .feature{flex:1 1 auto;min-width:auto;width:100%;}
}
@media(max-width:600px){
  :root{--max:98vw}
  body{font-size:14px}
  .container{padding:.5rem}
  h1{font-size:1.3rem}
  h2{font-size:1.1rem}
  .btn{padding:.5rem .7rem;font-size:.98rem}
  .gallery-grid{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:1fr}
}

@media(max-width:400px){
  html, body{font-size:12px}
  .container{padding:.2rem}
  .btn{padding:.4rem .5rem;font-size:.92rem}
}
.site-header{background:var(--dark);border-bottom:1px solid rgba(255,255,255,0.06);color:#fff}
.site-header .container{display:flex;align-items:center;justify-content:space-between}
.brand{font-weight:800;color:var(--accent);text-decoration:none;display:inline-flex;align-items:center}
.brand .site-logo{height:48px;display:block}
nav a{margin-left:1rem;color:#fff;text-decoration:none}

/* Responsive header/nav */
.nav-toggle{display:none;background:transparent;border:0;color:#fff;font-size:1.6rem;cursor:pointer;padding:.2rem .6rem;border-radius:6px}

.site-header nav{display:flex;gap:12px;align-items:center}

@media (max-width: 900px) {
  .site-header .container{display:flex;align-items:center;justify-content:space-between;gap:0.65rem;}
  .nav-toggle{display:flex;align-items:center;justify-content:center;z-index:1002;}
  .site-header nav {
    position:absolute;
    left:0;
    right:0;
    top:64px;
    background:var(--dark);
    flex-direction:column;
    padding:0.75rem 0.5rem;
    display:flex;
    opacity:0;
    visibility:hidden;
    transform:translateY(-20px);
    pointer-events:none;
    box-shadow:0 8px 24px rgba(11,11,11,0.45);
    z-index:1001;
    transition:opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
  }
  .site-header nav.open{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    pointer-events:auto;
  }
  .site-header nav a{display:block;width:100%;margin:0.2rem 0;padding:0.65rem 0.8rem;border-radius:0.5rem;text-decoration:none;color:#fff;}
  .site-header nav a:hover{background:rgba(255,255,255,0.12);}
}

@media (max-width: 480px) {
  .site-header .container{padding:0.6rem;}
  .site-logo{height:40px;}
  .nav-toggle{padding:6px;}
  .site-header nav{top:56px;}
}

/* menu backdrop for mobile */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
  z-index: 1000;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}



/* Animated burger icon */
.nav-toggle{align-items:center;justify-content:center;padding:8px;background:transparent}
.nav-toggle .burger{display:inline-block;width:22px;height:16px;position:relative}
.nav-toggle .burger span{position:absolute;left:0;right:0;height:2px;background:currentColor;border-radius:2px;transition:transform .22s ease,opacity .18s ease,top .22s ease}
.nav-toggle .burger span:nth-child(1){top:0}
.nav-toggle .burger span:nth-child(2){top:7px}
.nav-toggle .burger span:nth-child(3){top:14px}
.nav-toggle:focus{outline:none;box-shadow:0 0 0 4px rgba(255,106,0,0.12);border-radius:8px}

/* transform burger into X when open */
.nav-toggle.open .burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.open .burger span:nth-child(2){opacity:0}
.nav-toggle.open .burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.hero{padding:2.5rem 0}
.hero-grid{display:grid;grid-template-columns:1fr 420px;gap:2rem;align-items:center}
.hero-image img{width:100%;height:280px;object-fit:cover;border-radius:8px;border:6px solid #fff}
.lead{color:var(--muted);margin-top:.5rem}
.vehicle-types .lead{max-width:70ch}
.btn{display:inline-block;background:var(--accent);color:#fff;padding:.6rem 1rem;border-radius:6px;text-decoration:none;border:0;cursor:pointer;text-align:center}
.btn.ghost{background:transparent;color:var(--accent);border:1px solid var(--accent)}

.features{display:flex;flex-direction:row;gap:1rem;padding:1.5rem 0;overflow-x:auto;scroll-snap-type:x mandatory;}
.feature{background:var(--card);padding:1rem;border-radius:8px;flex:0 0 calc(33.33% - .67rem);min-width:260px;border:1px solid #eef2f7;scroll-snap-align:start;box-shadow:0 10px 20px rgba(0,0,0,.08);transition:transform .25s,box-shadow .25s;}
.feature:hover{transform:translateY(-4px);box-shadow:0 14px 24px rgba(0,0,0,.15);}

.cta{background:#fff;padding:2rem;border-radius:8px;margin:1.5rem 0;text-align:center}

.fleet{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem;margin-top:1rem}

.vehicle-card {
  background: var(--card);
  border: 1px solid #eef2f7;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(11,11,11,0.04);
  transition: transform .18s, box-shadow .18s;
  margin-bottom: 0.5rem;
}
.vehicle-card.alt {
  background: #f3f6fa;
}
.vehicle-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.vehicle-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 12px 12px;
}
.vehicle-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(255,106,0,0.12);
}
.vehicle-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}
.vehicle-meta {
  display: flex;
  gap: 1.2rem;
  margin: .5rem 0;
  font-size: .98rem;
  color: var(--muted);
}
.vehicle-actions {
  display: flex;
  gap: .7rem;
  margin-top: .8rem;
}
.vehicle-actions .btn {
  min-width: 110px;
}
.vehicle-prices {
  margin: .7rem 0 .5rem 0;
  font-size: 1.02rem;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.vehicle-prices strong {
  color: var(--accent);
  font-weight: 600;
}
}
.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11,11,11,0.09);
}

/* Popup véhicule */
.vehicle-popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11,11,11,0.18);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vehicle-popup {
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(11,11,11,0.13);
  max-width: 420px;
  width: 98vw;
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  position: relative;
  animation: popup-in .22s;
}
@keyframes popup-in {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255,106,0,0.12);
}
.popup-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}
.popup-img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: .7rem;
}
.vehicle-popup h2 {
  font-size: 1.2rem;
  margin: 0;
  color: var(--dark);
}
.vehicle-popup .vehicle-badge {
  margin-top: .5rem;
  font-size: .98rem;
}
.popup-body {
  margin-bottom: 1rem;
}
.popup-actions {
  display: flex;
  gap: .7rem;
  justify-content: flex-end;
}
@media (max-width: 600px) {
  .vehicle-popup {
    padding: .7rem .2rem;
    max-width: 98vw;
  }
  .popup-img {
    width: 90px;
    height: 60px;
  }
}
}

/* Vehicles page: types listing styling */
.vehicle-types{padding:1.2rem 0}
.vehicle-types h2{font-size:1.45rem;margin-bottom:.6rem;color:var(--dark)}
.types-grid{display:grid;grid-template-columns:1fr;gap:1rem}
.types-grid > div{background:var(--card);padding:1rem;border-radius:10px;border:1px solid #eef2f7;box-shadow:0 8px 20px rgba(11,11,11,0.03);}
.types-grid h3{margin:0 0 .5rem;color:var(--dark);font-size:1.05rem}
.types-grid p{margin:0;color:var(--muted);line-height:1.6;text-align:justify}
.types-grid > div::before{content:'';display:block;width:48px;height:4px;background:var(--accent);border-radius:6px;margin-bottom:.9rem}

/* Make types display two columns on wider screens */
@media(min-width:900px){
  .types-grid{grid-template-columns:repeat(2,1fr)}
}

/* Improve fleet cards visuals */
.card{transition:transform .18s ease,box-shadow .18s ease}
.card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(11,11,11,0.06)}
.card img{height:180px}
.card-body h3 a{color:var(--dark);text-decoration:none}
.card-body h3 a:hover{text-decoration:underline;color:var(--accent)}
.specs-list{margin:0;padding-left:1.05rem;color:var(--muted)}

/* Tighter, modern typography for vehicle page */
.container h1,.container h2{letter-spacing:-0.2px}
.vehicle-hero .lead,.vehicle-types .lead{font-size:1rem}


/* Slider styles for vehicle pages */
.slider{position:relative;overflow:hidden;border-radius:8px;border:1px solid #eef2f7;background:#fff}
.slider .slides{display:flex;transition:transform .45s ease}
.slider .slide{min-width:100%;flex-shrink:0}
.slider .slide img{width:100%;height:420px;object-fit:cover;display:block}
.slider .controls{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);display:flex;justify-content:space-between;padding:0 8px}
.slider button.prev,.slider button.next{background:rgba(11,11,11,0.6);color:#fff;border:0;padding:8px 12px;border-radius:6px;cursor:pointer}
.slider .dots{display:flex;gap:6px;justify-content:center;padding:8px 0;margin-top:8px}
.slider .dot{width:10px;height:10px;border-radius:50%;background:#ddd;cursor:pointer}
.slider .dot.active{background:var(--accent)}

.site-footer{padding:1rem 0;background:var(--dark);color:#fff;border-top:1px solid rgba(255,255,255,0.04);margin-top:2rem}
.small-links a{color:#fff;opacity:.85;text-decoration:none}

/* Green footer variant for contact info */
.site-footer--green{background:linear-gradient(0deg, rgba(6,58,33,0.98) 0%, rgba(6,58,33,0.95) 50%), url('/images/boite a image/footer-bg.jpg');background-size:cover;background-position:center;color:#fff;padding:28px 0 0 0;margin-top:2rem;border-top:1px solid rgba(255,255,255,0.03)}
.site-footer--green a{color:rgba(255,255,255,0.92);text-decoration:none}
.footer-modern .footer-top{display:flex;gap:30px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
.footer-modern .footer-left{flex:1;min-width:240px}
.footer-modern .footer-mid{flex:0.9;min-width:200px}
.footer-modern .footer-right{flex:0.9;min-width:200px}
.footer-modern .brand-row{display:flex;gap:12px;align-items:center}
.footer-logo{height:52px;border-radius:6px;object-fit:contain}
.footer-modern .loc{font-weight:700;margin-bottom:6px}
.footer-modern .contact-mail a{display:inline-block;background:rgba(255,255,255,0.06);padding:6px 10px;border-radius:6px;color:#fff;margin-bottom:8px}
.footer-modern .contact-phones{font-weight:700;color:#fff;margin-top:8px}
.footer-modern h4{margin:0 0 10px;color:#fff}
.footer-links-list{list-style:none;padding:0;margin:0}
.footer-links-list li{margin:8px 0}
.footer-links-list a{color:rgba(255,255,255,0.88)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,0.04)}
.footer-bottom .highlight{color:#ff6a00;font-weight:700}
.footer-bottom .muted{opacity:.9;margin-right:12px}

/* social icons */
.social-icons{display:inline-flex;gap:10px;margin-left:10px}
.social-link{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:8px;background:rgba(255,255,255,0.04);color:rgba(255,255,255,0.95);transition:transform .15s ease,background .15s ease}
.social-link svg{display:block}
.social-link:hover{transform:translateY(-3px);background:rgba(255,255,255,0.08)}

/* Keep fixed behaviour and spacing (adjusted) */

@media(max-width:900px){
  .footer-modern .footer-top{flex-direction:column;gap:14px}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:10px}
  .social-icons{margin-left:0}
}

/* Footer collapse toggles (mobile) */
.footer-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.footer-toggle{display:none;background:transparent;border:0;padding:6px;border-radius:6px;cursor:pointer;color:inherit}
.footer-toggle .burger{display:inline-block;width:20px;height:14px;position:relative}
.footer-toggle .burger::before,.footer-toggle .burger::after,.footer-toggle .burger span{content:'';position:absolute;left:0;right:0;height:2px;background:currentColor;border-radius:2px}
.footer-toggle .burger::before{top:0}
.footer-toggle .burger span{top:6px}
.footer-toggle .burger::after{bottom:0}

.footer-collapse{display:block}

@media(max-width:900px){
  .footer-toggle{display:inline-flex}
  .footer-collapse{display:none;max-height:0;overflow:hidden;transition:max-height .28s ease,opacity .28s ease}
  .footer-col.open .footer-collapse{display:block;max-height:800px;padding-top:8px}
  .footer-col h4{display:inline-block;margin:0}
}

/* small polish */
.footer-head h4{margin:0}
.footer-links-list li{margin:.45rem 0}

.modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,0.4);padding:1rem}
.modal[aria-hidden="false"]{display:flex}
.modal-body{background:#fff;padding:1.2rem;border-radius:10px;max-width:680px;width:100%;position:relative}
.modal-close{position:absolute;right:10px;top:8px;border:0;background:transparent;font-size:1.6rem;cursor:pointer}

.contact-form{display:grid;gap:.6rem;max-width:600px}
.contact-form label{display:block}
.contact-form input,.contact-form textarea{width:100%;padding:.6rem;border:1px solid #d1d5db;border-radius:6px}
.muted{color:var(--muted)}

.contact-grid{display:grid;grid-template-columns:1fr 420px;gap:1.2rem;align-items:start}
.contact-info{background:var(--card);padding:1rem;border-radius:8px;border:1px solid #eef2f7;margin-top:1rem}
.contact-info a{color:var(--accent);text-decoration:none}
.contact-aside{background:var(--card);padding:1rem;border-radius:8px;border:1px solid #eef2f7}
.map-wrap{width:100%;height:300px;overflow:hidden;border-radius:8px;border:1px solid #e6e9ef}
.map-wrap iframe{width:100%;height:100%;border:0}

@media(max-width:900px){
  .contact-grid{grid-template-columns:1fr}
  .contact-aside{order:2}
}

/* Contact page visual + animations */
.contact-hero{background:linear-gradient(90deg,#0b0b0b 0%, #1a1a1a 40%, rgba(255,106,0,0.06) 100%);color:#fff;padding:2.2rem 0;margin-bottom:1rem}
.contact-hero h1{margin:0 0 .3rem;font-size:1.8rem}
.contact-hero .lead{color:rgba(255,255,255,0.85);margin-bottom:.8rem}
.hero-cta .btn{margin-right:.6rem}

/* Ensure text justification and prevent overflow in banners and content */
.contact-hero,.vehicle-hero{word-wrap:break-word;overflow-wrap:break-word;hyphens:auto}
.contact-hero p,.vehicle-hero p,.container p{ text-align:justify; text-justify:inter-word }
.site-header .container{overflow:hidden}
.site-header nav{white-space:nowrap;overflow:auto}
.site-header nav a{display:inline-block}
.container{max-width:var(--max);padding:1rem}

/* Keep hero content vertically centered and constrained */
.contact-hero .container, .vehicle-hero .container{
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:14px;padding:1.2rem 0
}
.contact-hero{padding:2.4rem 0}
.contact-hero h1{font-size:2rem;line-height:1.05}

@media(max-width:900px){
  .contact-hero .container{padding:0.8rem}
  .contact-hero h1{font-size:1.4rem}
  .contact-hero p{font-size:.95rem}
}

.animate{opacity:0;transform:translateY(12px);transition:all .6s cubic-bezier(.2,.9,.2,1)}
.animate.in-view{opacity:1;transform:none}

.fade-up{transition-delay:.05s}
.slide-left{transform:translateX(-18px)}
.slide-left.in-view{transform:none}

.contact-aside{overflow:visible}

.btn.pulse{animation:pulse 2.2s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(255,106,0,0.2)}50%{box-shadow:0 6px 18px rgba(255,106,0,0.12)}100%{box-shadow:0 0 0 0 rgba(255,106,0,0)}}

.contact-form input:focus,.contact-form textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 4px 16px rgba(255,106,0,0.12)}
.contact-form button{transition:transform .15s ease,box-shadow .15s ease}
.contact-form button:active{transform:translateY(1px)}

.contact-info{border-color:rgba(0,0,0,0.06)}

@media(max-width:800px){
  .hero-grid{grid-template-columns:1fr}
  .hero-image img{height:220px}
}

/* Vehicle detail page styles (inspired by contact hero) */
.vehicle-page{padding:2rem 0 3rem}
.vehicle-page h1{font-size:1.9rem;margin:0 0 .4rem;color:var(--dark)}
.vehicle-page .lead{color:var(--muted);margin-bottom:1rem}
.vehicle-page .btn{margin-right:.6rem}
.vehicle-page main .container{max-width:var(--max)}

/* Slider tweaks for detail pages */
.vehicle-page .slider{max-width:100%;margin:0 auto 1rem;border-radius:10px}
.vehicle-page .slider .slide img{height:480px;object-fit:cover}
@media(max-width:900px){
  .vehicle-page .slider .slide img{height:260px}
}

/* Specs section */
.vehicle-page section h2{margin-top:1rem}
.vehicle-page ul{color:var(--muted)}

/* Breadcrumb-like small nav under header */
.vehicle-breadcrumb{font-size:.95rem;color:var(--muted);margin-bottom:.6rem}

/* About page: stats, engagements and enhanced CTA */
.stats{padding:1.2rem 0}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:.8rem}
.stat{background:linear-gradient(180deg, #fff 0%, #fbfbfb 100%);padding:1.1rem;border-radius:10px;box-shadow:0 6px 18px rgba(11,11,11,0.06);text-align:center;border:1px solid rgba(0,0,0,0.04)}
.stat .stat-value{font-size:2rem;font-weight:800;color:var(--accent);line-height:1}
.stat .stat-value span.counter{display:inline-block;min-width:48px}
.stat .stat-label{margin-top:6px;font-size:.95rem;color:var(--muted)}
.stat.animate{transform:translateY(8px);opacity:0}
.stat.animate.in-view{transform:none;opacity:1;transition:all .7s cubic-bezier(.2,.9,.2,1)}

.engagements{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-top:1rem}
.eng{background:var(--card);padding:1rem;border-radius:10px;border:1px solid #eef2f7;position:relative;overflow:hidden}
.eng h3{margin:0 0 .5rem;color:var(--dark)}
.eng p{color:var(--muted);margin:0}
.eng:before{content:'';position:absolute;left:-30%;top:-40%;width:220px;height:220px;background:radial-gradient(circle at 30% 30%, rgba(255,106,0,0.08), transparent 45%);transform:rotate(18deg)}
.eng:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(11,11,11,0.08);transition:transform .28s ease,box-shadow .28s ease}

/* CTA refinement */
.cta{background:linear-gradient(90deg,#fff,#fbfbfb);padding:2rem;border-radius:12px;margin:1.5rem 0;display:flex;flex-direction:column;align-items:flex-start}
.cta h2{color:var(--dark);margin:0 0 .4rem}
.cta p{color:var(--muted);margin-bottom:1rem}
.btn{box-shadow:0 8px 22px rgba(255,106,0,0.08)}
.btn.ghost{background:transparent;color:var(--accent);border:1px solid rgba(255,106,0,0.12)}

/* Decorative flourish for about page */
.about-decor{height:6px;width:160px;border-radius:999px;background:linear-gradient(90deg,var(--accent),#ffb070);margin:10px 0 0}

@media(max-width:900px){
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .engagements{grid-template-columns:1fr}
}

/* Home hero (distinct from about/contact) */
.home-hero{background:linear-gradient(90deg, rgba(11,11,11,0.9) 0%, rgba(20,20,20,0.9) 60%);color:#fff;padding:2.4rem 0;margin-bottom:1rem}
.home-hero-grid{display:grid;grid-template-columns:1fr 420px;gap:1.5rem;align-items:center}
.home-hero-copy h1{margin:0;font-size:2rem}
.home-hero-copy .lead{color:rgba(255,255,255,0.9);text-align:justify}
.home-hero-media img{width:100%;height:260px;object-fit:cover;border-radius:8px;border:6px solid rgba(255,255,255,0.04)}

.benefit-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-top:0.8rem}
.benefit{background:var(--card);padding:1rem;border-radius:10px;border:1px solid #eef2f7}
.benefit h4{margin:0 0 .4rem;color:var(--dark)}
.benefit p{margin:0;color:var(--muted);text-align:justify}

.image-gallery{margin-top:1.2rem}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.gallery-item{overflow:hidden;border-radius:8px;border:1px solid #eef2f7}
.gallery-item img{width:100%;height:160px;object-fit:cover;display:block;transform:scale(1);transition:transform .6s cubic-bezier(.2,.9,.2,1),filter .6s}
.gallery-item.in-view img{transform:scale(1.06);filter:grayscale(0)}
.gallery-item img{filter:grayscale(.35)}

@media(max-width:1000px){
  .home-hero-grid{grid-template-columns:1fr}
  .home-hero-media img{height:200px}
  .gallery-grid{grid-template-columns:repeat(2,1fr)}
  .benefit-grid{grid-template-columns:1fr}
}

/* Buttons full-width on small screens for better tap targets */
@media(max-width:700px){
  .hero-cta .btn{display:block;width:100%;margin-bottom:.6rem}
  .hero-cta .btn.ghost{margin-bottom:0}
}

/* Improve typography and spacing on small screens */
@media(max-width:600px){
  :root{--max:92vw}
  body{font-size:15px}
  .container{padding:.8rem}
}

/* Fixed footer helper styles */
.site-footer--fixed{position:fixed;left:0;right:0;bottom:0;z-index:999;padding:18px 0}
.footer-grid{display:flex;gap:20px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
.footer-col{flex:1;min-width:180px}
.footer-col h4{margin:0 0 .6rem;color:#fff}
.footer-links-list{list-style:none;padding:0;margin:0}
.footer-links-list li{margin:.4rem 0}
.footer-links-list a{color:rgba(255,255,255,0.9);text-decoration:none}
.footer-contact .footer-phones{font-weight:700;color:#fff;margin-top:.4rem}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:.8rem;border-top:1px solid rgba(255,255,255,0.06);padding-top:.6rem}
.footer-bottom .muted{opacity:.9}

@media(max-width:900px){
  .footer-grid{flex-direction:column;gap:12px}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:8px}
}



