/* ============================================================
   ELAND LOG HOMES — Responsive rules (mobile-first overrides)
   ============================================================ */
@media (max-width:1024px){
  .feature-grid.four{grid-template-columns:repeat(2,1fr)}
  .feature-grid{grid-template-columns:repeat(2,1fr)}
  .proj-grid{grid-template-columns:repeat(2,1fr)}
  .foot-grid{grid-template-columns:1fr 1fr}
  .gallery-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:860px){
  .split{grid-template-columns:1fr;gap:2.2rem}
  .split .intro-img{order:-1}  .card-grid{grid-template-columns:1fr;gap:1.4rem}
  .card img{height:230px}
  .card-body{padding:1.2rem 1.2rem 1.4rem}
  .card-body p{font-size:.94rem}
  .intro-img img{aspect-ratio:4/3;max-height:320px}
  .split .intro-img figcaption{font-size:.78rem}
  .two-col{grid-template-columns:1fr}
  .svc-card,.svc-card.flip{grid-template-columns:1fr}
  .svc-card img,.svc-card.flip img{min-height:240px;order:0}
  .contact-grid{grid-template-columns:1fr}
  .value-grid{grid-template-columns:1fr 1fr}
  .proj-grid.two{grid-template-columns:1fr}
}
@media (max-width:768px){
  .section{padding:3.2rem 0}
  .hero{min-height:78vh}
  .hero-inner{padding:7rem 0 3.4rem}
  .page-hero{padding:7.5rem 0 3.4rem}
  .cta-row .btn{flex:1 1 auto;justify-content:center}
}
@media (max-width:640px){
  body{font-size:16px}
  .feature-grid,.proj-grid,.gallery-grid{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr;gap:1.8rem}
  .value-grid{grid-template-columns:1fr}
  .hero-stats{gap:1.4rem}
  .hero-stats strong{font-size:1.25rem}
  .contact-form-card{padding:1.6rem}
  .g-item img{height:230px}
  .proj-card img{height:260px}
  .btn-lg{padding:.95rem 1.8rem}
  .lightbox{align-items:center}
  .lb-prev{left:6px}
  .lb-next{right:6px}
  .lb-btn{width:44px;height:44px}
  /* Sticky WhatsApp bar replaces floating button on mobile */
  .wa-float{display:none}
  .wa-sticky{display:flex}
  body{padding-bottom:58px}
  .to-top{bottom:76px;right:16px}
  .brand img{height:34px}
}
@media (min-width:641px){ .wa-sticky{display:none !important} }
@media (max-width:360px){
  .hero h1{font-size:2rem}
  .btn{padding:.75rem 1.2rem;font-size:.88rem}
}
@media (min-width:1440px){
  :root{--max:1240px}
}
