/* =========================
   Lopez Elite Hauling Theme
   Neutral + earth accents
   Senior-friendly sizing
========================= */

:root{
  --bg: #ffffff;
  --text: #111827;      /* slate-900 */
  --muted: #6b7280;     /* gray-500 */
  --border: #e5e7eb;    /* gray-200 */

  /* Earth accents */
  --accent: #6b6f3a;    /* muted olive */
  --accent-2: #b08a5a;  /* warm tan */
  --accent-3: #374151;  /* slate-700 */

  --card: #ffffff;
  --alt: #fafafa;
  --focus: #111827;
}

html { scroll-behavior: smooth; }

body{
  background: var(--bg);
  color: var(--text);
  font-size: 18px; /* bigger base for older readers */
  line-height: 1.55;
}

.section-title{
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-alt{
  background: var(--alt);
}

.topbar{
  background: #fcfcfc;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--text);
  color: white;
  padding: 10px 14px;
  z-index: 9999;
  border-radius: 10px;
}
.skip-link:focus{ left: 12px; top: 12px; }

.navbar-brand .brand-mark,
.footer .brand-mark{
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-block;
}

.nav-link{
  font-weight: 600;
  color: var(--accent-3);
}
.nav-link:hover, .nav-link:focus{
  color: var(--accent);
}

.nav-logo {
  height: 100px;
  width: 120px;
}

.brand-text {
  font-size: 1.15rem;
  color: var(--accent-3);
}

@media (max-width: 576px) {
  .brand-text {
    display: none; /* keeps navbar clean on mobile */
  }
}

.btn-brand{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 700;
}
.btn-brand:hover, .btn-brand:focus{
  background: #5f6335;
  border-color: #5f6335;
  color: #fff;
}

.hero-section{
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(176,138,90,0.15), transparent 60%),
    radial-gradient(900px 500px at 80% 40%, rgba(107,111,58,0.12), transparent 60%);
}

.hero-badge{
  font-size: 0.95rem;
  font-weight: 650;
}

.hero-trust{
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.trust-item{
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.trust-icon{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(107,111,58,0.12);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--accent);
}

.hero-card{
  border-radius: 18px;
  overflow: hidden;
}
.hero-media{
  background: linear-gradient(135deg, rgba(55,65,81,0.08), rgba(176,138,90,0.12));
}

.cta-strip{
  background: #fff;
}

.mini-card{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
}
.mini-title{
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}
.mini-value{
  font-size: 1.15rem;
  font-weight: 850;
}

.hero {
  position: relative;
  min-height: 80vh;
  background: url("../img/hero-img.png") center 30% / cover no-repeat;
  display: flex;
  align-items: center;
}
.hero-line-break {
  display: none;
}

@media (max-width: 768px) {
  .hero {
    background-position: 75% 25%; /* more left */
    padding-bottom: 20px;
  }

}


.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(17, 24, 39, 0.85),
    rgba(17, 24, 39, 0.35)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.hero-title span {
  color: var(--accent-2);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #e5e7eb;
  max-width: 520px;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }

  .hero-title {
    font-size: 2.2rem;
  }
}

.service-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(176,138,90,0.14);
  font-size: 22px;
}

.material-card{
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.material-top{ padding: 18px; flex: 1; }
.material-bottom{ padding: 16px 18px 18px; }

.material-badge{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 750;
  background: rgba(107,111,58,0.10);
  color: var(--accent);
  margin-bottom: 10px;
}

.pay-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-block;
}

.chip{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.95rem;
}

.form-control, .form-select{
  border-radius: 14px;
}
.form-control:focus, .form-select:focus, .btn:focus{
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(17,24,39,0.12);
  border-color: rgba(17,24,39,0.25);
}

.form-status{
  margin-top: 8px;
  font-weight: 650;
}

.footer{
  background: #fff;
}


.brand-text {
  font-size: 1.15rem;
  color: var(--accent-3); /* dark slate for readability */
  letter-spacing: 0.02em;
}

.brand-accent {
  color: var(--accent);   /* green brand color */
  font-weight: 800;
}

/* Mobile cleanup */
@media (max-width: 576px) {
  .brand-text {
    display: none;
  }
}

.footer-row {
  width: 100%;
}

.footer-item {
  white-space: nowrap;
}

/* Stack nicely on very small screens */
@media (max-width: 576px) {
  .footer-row {
    flex-direction: column;
    gap: 12px;
  }
}

/* =========================
   Back to Top Button
========================= */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--accent); /* green brand */
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  z-index: 999;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.back-to-top:hover {
  background: #5f6335; /* slightly darker green */
  transform: translateY(-3px);
}

.back-to-top:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(107,111,58,0.35);
}

/* Smaller on very small screens */
@media (max-width: 576px) {
  .back-to-top {
    width: 46px;
    height: 46px;
    font-size: 22px;
    bottom: 16px;
    right: 16px;
  }
}