
/* =========================================
   MAPLE CARGO PACKERS AND MOVERS
   Main stylesheet
========================================= */

:root {
  --navy: #092c79;
  --navy-dark: #061d55;
  --orange: #ff7900;
  --orange-light: #fff0df;
  --text: #26364e;
  --muted: #64748b;
  --light: #edf5ff;
  --white: #fff;
  --border: #dce5f0;
  --shadow: 0 15px 40px rgba(9, 44, 121, .10);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

button, input, select, textarea {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.section {
  padding: 90px 0;
}

.section-light {
  background: var(--light);
}

h1, h2, h3, .btn, .nav-links {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  line-height: 1.15;
}

h1 {
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 800;
}

h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--navy);
}

.section-heading {
  max-width: 700px;
  text-align: center;
  margin: 0 auto 45px;
}

.section-heading p {
  margin-top: 12px;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 50px;
  background: var(--orange-light);
  color: #e65d00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 49px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, background .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-orange {
  color: white;
  background: linear-gradient(110deg, #ff5700, #ff9400);
}

.btn-navy {
  color: white;
  background: var(--navy);
}

.btn-outline {
  color: white;
  border-color: rgba(255, 255, 255, .45);
  background: transparent;
}

/* TOP BAR */

.topbar {
  padding: 7px 0;
  color: white;
  background: var(--navy-dark);
  font-size: 12px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.topbar-contacts {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar a:hover {
  color: #ff9a37;
}

/* NAVIGATION */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav-inner {
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}

.brand img {
  width: 165px;
  height: 65px;
  object-fit: contain;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px 4px;
  background: var(--navy);
  color: white;
  font-size: 25px;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--orange);
  font-size: 11px;
  letter-spacing: .6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--orange);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 29px;
  cursor: pointer;
}

/* HERO */

.hero {
  padding: 75px 0;
  color: white;
  background:
    linear-gradient(90deg, rgba(5, 31, 86, .93),
    rgba(9, 44, 121, .78)),
    url("https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=2000&q=85")
    center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 55px;
}

.hero .eyebrow {
  color: #ff8a20;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 140, 30, .7);
}

.hero h1 {
  margin: 22px 0 17px;
  color: white;
}

.hero h1 span {
  color: #ff922c;
}

.hero-description {
  max-width: 600px;
  color: #e3ebff;
  font-size: 16px;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin: 25px 0;
  font-size: 14px;
}

.hero-features div::before {
  content: "✓";
  margin-right: 9px;
  color: #ff8b20;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* QUOTE FORM */

.quote-card {
  padding: 30px;
  border-radius: 16px;
  color: var(--text);
  background: white;
  box-shadow: 0 25px 65px rgba(0, 0, 0, .22);
}

.quote-card h2 {
  font-size: 29px;
}

.quote-card > p {
  margin: 9px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.field {
  min-width: 0;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 47px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 7px;
  outline: none;
  background: white;
  color: #1e293b;
  font-size: 14px;
}

.field textarea {
  min-height: 75px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(9, 44, 121, .08);
}

.quote-card .btn {
  width: 100%;
  margin-top: 19px;
}

.form-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
}

/* GOOGLE RATING */

.google-rating {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.google-rating-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 10px;
  color: var(--navy);
}

.google-rating-link strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.75rem;
  line-height: 1.1;
}

.google-rating-link span {
  text-decoration: underline;
  text-underline-offset: .2em;
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.about-image {
  min-height: 380px;
  border-radius: 15px;
  background:
    url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1100&q=85")
    center / cover no-repeat;
  box-shadow: var(--shadow);
}

.about-content h2 {
  margin: 15px 0;
}

.about-content p {
  margin-bottom: 20px;
  color: var(--muted);
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 25px 0;
  font-size: 14px;
}

.check-grid div::before {
  content: "✓";
  margin-right: 9px;
  color: var(--orange);
  font-weight: 800;
}

/* SERVICE CARDS */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 28px 25px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: white;
  box-shadow: 0 8px 24px rgba(9, 44, 121, .05);
  transition: transform .25s, box-shadow .25s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: var(--orange-light);
  font-size: 25px;
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 23px;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
}

/* PROCESS */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  padding: 24px 20px;
  border-left: 2px solid var(--orange);
}

.process-number {
  color: var(--orange);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 43px;
  font-weight: 800;
}

.process-step h3 {
  margin: 9px 0;
  color: var(--navy);
  font-size: 22px;
}

.process-step p {
  color: var(--muted);
  font-size: 14px;
}

/* WHY CHOOSE US */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.why-card {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
}

.why-card .service-icon {
  margin-bottom: 12px;
}

.why-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 23px;
}

.why-card p {
  color: var(--muted);
  font-size: 14px;
}

/* TESTIMONIALS */

.google-reviews-link {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 23px;
}

.review-card {
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
}

.review-card p {
  flex: 1;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.review-card strong {
  color: var(--navy);
  font-size: 14px;
}

/* LOCATIONS */

.location-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* CTA */

.cta {
  padding: 60px 0;
  color: white;
  background: linear-gradient(110deg, var(--navy-dark), var(--navy));
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta h2 {
  margin-bottom: 10px;
  color: white;
}

.cta p {
  color: #dbe7ff;
}

/* FOOTER */

footer {
  padding: 55px 0 20px;
  color: #d4deef;
  background: #071a42;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-title {
  margin-bottom: 15px;
  color: white;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 24px;
}

.footer-about p,
.footer-contact p {
  margin: 12px 0;
  font-size: 13px;
}

.footer-links {
  display: grid;
  gap: 9px;
  font-size: 13px;
}

.footer-links a:hover {
  color: #ff922c;
}

.copyright {
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  text-align: center;
  font-size: 12px;
}

/* FLOATING WHATSAPP */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
}

.whatsapp-float svg {
  width: 29px;
  height: 29px;
  fill: white;
}

/* TABLET */

@media (max-width: 950px) {
  .nav-links {
    gap: 15px;
    font-size: 17px;
  }

  .hero-grid {
    gap: 28px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* MOBILE */

@media (max-width: 700px) {
  .section {
    padding: 60px 0;
  }

  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .topbar-contacts {
    gap: 12px;
  }

  .nav-inner {
    min-height: 72px;
  }

  .brand {
    font-size: 21px;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px 4%;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 0;
  }

  .nav-links .btn {
    width: 100%;
    margin: 8px 0;
  }

  .hero {
    padding: 50px 0;
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 35px;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .quote-card {
    padding: 22px;
  }

  .about-image {
    min-height: 280px;
  }

  .services-grid,
  .why-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* SMALL PHONES */

@media (max-width: 420px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
