/* Express Movers — shared styles.
   Page sections keep their inline styles (ported from the design);
   this file holds the base reset, responsive grid rules, form states,
   and the responsive navigation. */

* { box-sizing: border-box; }
/* overflow-x: clip (not hidden) contains the hero's decorative overhang
   WITHOUT turning body into a scroll container, which would break the
   sticky header. */
html, body { max-width: 100%; overflow-x: clip; }
body { margin: 0; font-family: 'Archivo', sans-serif; }
a { color: #FF5B23; }
a:hover { color: #e04a15; }
img { max-width: 100%; }

/* Fill helper for ported image-slot containers */
.slot-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Form fields */
input, select, textarea { font-family: 'Archivo', sans-serif; }
input::placeholder, textarea::placeholder { color: #9aa3b2; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #FF5B23 !important;
  box-shadow: 0 0 0 3px rgba(255, 91, 35, 0.13);
}

/* ---------------------------------------------------------------
   Navigation
   --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #E5E0D8;
}
.nav-wrap {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  height: 76px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name {
  font-family: 'Anton', sans-serif; font-size: 21px; letter-spacing: 0.03em;
  color: #101826; text-transform: uppercase; line-height: 1;
}
.brand-sub {
  font-size: 10px; font-weight: 800; letter-spacing: 0.24em;
  color: #FF5B23; text-transform: uppercase; margin-top: 4px; line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links > a {
  text-decoration: none; font-weight: 600; font-size: 15px;
  color: #3a4150; padding: 6px 0; transition: color .15s;
}
.nav-links > a:hover { color: #101826; }
.nav-links > a.active {
  font-weight: 800; color: #101826; border-bottom: 2.5px solid #FF5B23;
}
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: #FF5B23; color: #fff !important; text-decoration: none;
  font-weight: 800; font-size: 15px; line-height: 1; white-space: nowrap;
  padding: 12px 24px; border-radius: 9px; letter-spacing: 0.01em;
  border: none; border-bottom: none !important;
  box-shadow: 0 8px 24px rgba(255, 91, 35, 0.28);
  transition: background .15s, box-shadow .15s, transform .05s;
}
/* `.nav-links > a` (child combinator) out-specifies `.nav-cta` and would strip
   its padding/font. Match that specificity so the CTA keeps its button look. */
.nav-links > a.nav-cta { padding: 12px 24px; font-size: 15px; }
.nav-cta:hover {
  background: #e04a15; color: #fff !important;
  box-shadow: 0 6px 16px rgba(255, 91, 35, 0.30);
}
.nav-cta:active { transform: translateY(1px); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: #101826; line-height: 0;
}

/* ---------------------------------------------------------------
   Responsive: grid collapses (ported from design) + mobile nav
   --------------------------------------------------------------- */
@media (max-width: 860px) {
  [style*="repeat(4, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
  [style*="repeat(3, 1fr)"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 760px) {
  [style*="1.05fr 0.95fr"], [style*="0.95fr 1.05fr"],
  [style*="1.3fr 1fr"], [style*="1.6fr 1fr"], [style*="1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Mobile navigation: collapse links into a toggle panel */
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #F6F3EE; border-bottom: 1px solid #E5E0D8;
    padding: 8px 20px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a {
    padding: 14px 4px; font-size: 16px; border-bottom: 1px solid #E5E0D8;
  }
  .nav-links > a.active { border-bottom: 1px solid #E5E0D8; color: #FF5B23; }
  .nav-links > a.nav-cta {
    margin-top: 14px; text-align: center; padding: 15px; font-size: 16px;
  }
}
@media (max-width: 600px) {
  [style*="max-width:1240px"], [style*="max-width:1160px"],
  [style*="max-width:1080px"], [style*="max-width:920px"] {
    padding-left: 18px !important; padding-right: 18px !important;
  }
  [style*="repeat(4, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
}
