
/* ===================================
   MAPLE CARGO PACKERS AND MOVERS
   LOCATIONS PAGE
=================================== */

:root {
  --navy: #0b327f;
  --navy-dark: #071f60;
  --orange: #ff7100;
  --orange-light: #ffecd8;
  --text: #25364e;
  --muted: #64748b;
  --border: #dce5f0;
  --light: #f2f7ff;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(9, 44, 121, 0.10);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

body {
  color: var(--text);
  background: white;
  font-family: "Inter", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1290px, 92%);
  margin-inline: auto;
}

.section {
  padding: 76px 0;
}

h1,
h2,
h3,
.btn,
.nav-links {
  font-family: "Barlow Condensed", sans-serif;
  line-height: 1.2;
}

h1,
h2,
h3 {
  text-transform: uppercase;
}

h1 {
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 800;
}

h2 {
  color: var(--navy);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 800;
}

h3 {
  color: var(--navy);
  font-size: 23px;
  font-weight: 700;
}

p {
  overflow-wrap: break-word;
}

.orange,
.footer-orange {
  color: var(--orange);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 47px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 19px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px #0000001a;
}

.btn-orange {
  color: white;
  background: linear-gradient(110deg, #ff5900, #ff9400);
}

.btn-navy {
  color: white;
  background: var(--navy);
}

.btn-outline {
  color: white;
  border-color: #ffffff80;
  background: transparent;
}

.btn-outline:hover {
  color: var(--navy);
  background: white;
}

/* TOP BAR */

.topbar {
  padding: 5px 0;
  color: white;
  background: var(--navy-dark);
  font-size: 12px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.address {
  display: flex;
  align-items: center;
  gap: 8px;
}

.address:hover,
.top-phones a:hover {
  color: #ffb46e;
}

.top-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 700;
  white-space: nowrap;
}

/* HEADER / NAVIGATION */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  background: #fffffffa;
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 87px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 165px;
  height: 67px;
  object-fit: contain;
}

.brand-fallback {
  display: none;
  color: var(--navy);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.1;
}

.brand-fallback small {
  display: block;
  color: var(--orange);
  font-size: 11px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links > a:not(.btn) {
  transition: color .2s;
}

.nav-links > a:hover,
.nav-links > a.active {
  color: var(--orange);
}

.nav-links .nav-quote {
  color: white;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--navy);
  font-size: 29px;
  cursor: pointer;
}

/* PAGE HERO */

.page-banner {
  padding: 68px 0;
  color: white;
  background: linear-gradient(
    110deg,
    #071f60 0%,
    #103a89 54%,
    #59486c 100%
  );
}

.banner-content h1 {
  margin-bottom: 13px;
  color: white;
}

.banner-content p {
  max-width: 760px;
  color: #e0e9ff;
  font-size: 16px;
}

/* SECTION LABELS */

.eyebrow {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 30px;
  color: #e95800;
  background: var(--orange-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* OFFICE */

.office-details {
  max-width: 45rem;
  margin: 0 auto;
  text-align: center;
}

.office-details p {
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: 1rem;
}

/* COVERAGE SECTION */

.coverage-section {
  background: #f0f6ff;
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 55px;
}

.coverage-content h2 {
  margin: 16px 0;
}

.coverage-content > p {
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 14px;
}

.coverage-list {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  list-style: none;
}

.coverage-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
}

.coverage-list li span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: white;
  background: var(--orange);
  font-size: 13px;
  font-weight: 700;
}

.coverage-card {
  padding: 35px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: white;
  box-shadow: var(--shadow);
}

.coverage-card-icon {
  display: grid;
  place-items: center;
  width: 61px;
  height: 61px;
  margin-bottom: 20px;
  border-radius: 13px;
  color: var(--orange);
  background: var(--orange-light);
  font-size: 39px;
  line-height: 1;
}

.coverage-card h3 {
  margin: 10px 0 13px;
  font-size: 29px;
}

.coverage-card p {
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 14px;
}

.coverage-card .btn {
  width: 100%;
}

/* CTA */

.cta-section {
  padding: 54px 0;
  color: white;
  background: linear-gradient(110deg, #071f60, #123c89);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-inner h2 {
  max-width: 720px;
  margin: 13px 0;
  color: white;
  font-size: clamp(28px, 3vw, 38px);
}

.cta-inner p {
  max-width: 670px;
  color: #dbe6ff;
  font-size: 14px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-section .eyebrow {
  color: #e95800;
}

/* FOOTER */

.footer {
  padding: 55px 0 20px;
  color: #d3ddef;
  background: #071a42;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr 1fr;
  gap: 48px;
}

.footer-brand img {
    width: 165px;
    max-height: 85px;
    padding: 7px;
    object-fit: contain;
    background: var(--white);
    border-radius: 8px;
}

.footer-about > p {
  margin-top: 16px;
  font-size: 13px;
}

.footer-address {
  line-height: 1.8;
}

.footer-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 15px;
  font-size: 13px;
  font-weight: 700;
}

.footer-whatsapp {
  display: inline-block;
  margin-top: 16px;
  color: #ff922c;
  font-size: 13px;
  font-weight: 700;
}

.footer-title {
  margin-bottom: 18px;
  color: white;
  font-size: 24px;
}

.footer-links {
  display: grid;
  gap: 10px;
  list-style: none;
  font-size: 13px;
}

.footer-links a {
  transition: color .2s;
}

.footer-links a:hover,
.footer-whatsapp:hover {
  color: #ffb46e;
}

.copyright {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ffffff24;
  font-size: 12px;
}

/* FLOATING WHATSAPP */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #20bd63;
  box-shadow: 0 7px 24px #0003;
  transition: transform .2s;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
}

.whatsapp-float svg {
  width: 29px;
  height: 29px;
  fill: white;
}

/* TABLET */

@media (max-width: 1000px) {
  .nav-links {
    gap: 16px;
    font-size: 17px;
  }

  .brand img {
    width: 140px;
  }

  .coverage-grid {
    gap: 30px;
  }

  .footer-grid {
    gap: 28px;
  }
}

/* MOBILE */

@media (max-width: 760px) {
  .section {
    padding: 55px 0;
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .address {
    align-items: flex-start;
    font-size: 11px;
  }

  .top-phones {
    gap: 14px;
    font-size: 11px;
  }

  .nav-inner {
    min-height: 74px;
  }

  .brand img {
    width: 145px;
    height: 58px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px 5% 20px;
    border-bottom: 1px solid var(--border);
    background: white;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > a:not(.btn) {
    padding: 12px 0;
    border-bottom: 1px solid #edf1f7;
  }

  .nav-links .nav-quote {
    margin-top: 12px;
  }

  .page-banner {
    padding: 48px 0;
  }

  .banner-content p {
    font-size: 14px;
  }

  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .coverage-card {
    padding: 27px;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .copyright {
    flex-direction: column;
  }
}

/* SMALL MOBILE */

@media (max-width: 430px) {
  .container {
    width: 91%;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .whatsapp-float {
    right: 15px;
    bottom: 15px;
    width: 52px;
    height: 52px;
  }
}

/* ACCESSIBILITY */

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #ff9a40;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
