/* ============================================================
   McFadden Moving Co. — Stylesheet
   Colours: #f5f6f0 (cream) · #000000 (black) · #70b5d4 (blue)
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:         #f5f6f0;
  --black:      #000000;
  --blue:       #70b5d4;
  --blue-dark:  #4e9cbe;
  --blue-light: #c2e0ee;
  --white:      #ffffff;
  --muted:      #555555;
  --border:     #d8d9d3;
  --shadow:     0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.12);
  --radius:     10px;
  --radius-lg:  16px;
  --transition: 0.2s ease;
  --container:  1160px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent { color: var(--blue); }

.section {
  padding: 96px 0;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
}

.section-header {
  margin-bottom: 56px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-sub {
  margin: 0 auto;
}

.required { color: #c0392b; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--accent {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn--accent:hover {
  background: #222;
  border-color: #222;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn--blue {
  background: var(--blue);
  color: var(--black);
  border-color: var(--blue);
}
.btn--blue:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn--lg {
  padding: 15px 30px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ---------- Logo ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo__img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
}

.logo__sub {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.logo--light .logo__name { color: var(--white); }
.logo--light .logo__sub  { color: rgba(255,255,255,0.6); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #f5f5ed;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 70px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav__link {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover {
  color: var(--black);
  background: rgba(0,0,0,0.05);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  border-radius: 6px;
  transition: background var(--transition);
}

.hamburger:hover { background: rgba(0,0,0,0.06); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 140px 0 80px;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.06;
}

.shape--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
}

.shape--2 {
  width: 300px;
  height: 300px;
  bottom: 50px;
  left: -80px;
  opacity: 0.04;
}

.shape--3 {
  width: 150px;
  height: 150px;
  top: 40%;
  right: 30%;
  opacity: 0.08;
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(112,181,212,0.15);
  border: 1px solid rgba(112,181,212,0.3);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero__headline {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero__headline .text-accent {
  color: var(--blue);
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

.trust-item svg { color: var(--blue); flex-shrink: 0; }

/* Hero visual */
.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.van-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  text-align: center;
}

.van-card svg { margin: 0 auto; }

.van-card__label {
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.stat-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

.stat-chip {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-chip strong {
  font-size: 1.1rem;
  color: var(--blue);
}

.stat-chip span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
}

/* Hero wave */
.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero__wave svg {
  display: block;
  width: 100%;
}

/* ---------- Services ---------- */
.services {
  background: var(--bg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--blue-light);
}

.service-card--featured {
  border-color: var(--blue);
  background: #f0f8fd;
}

.service-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--blue);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--blue);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--black);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-card__list li {
  font-size: 0.85rem;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.services__cta {
  text-align: center;
  padding: 32px 0 0;
  border-top: 1px solid var(--border);
}

.services__cta p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.services__cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Areas ---------- */
.areas {
  background: var(--white);
}

.areas__inner {
  display: block;
  max-width: 960px;
}

.areas__intro {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.areas__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.area-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color var(--transition), background var(--transition);
}

.area-item:hover {
  border-color: var(--blue);
  background: #edf6fb;
}

.area-item--home {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--black);
  font-weight: 700;
}

.area-item__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.12);
  padding: 1px 6px;
  border-radius: 4px;
}

.areas__note {
  font-size: 0.88rem;
  color: var(--muted);
}

.areas__note a {
  color: var(--black);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.areas__note a:hover {
  color: var(--blue-dark);
}

.map-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: sticky;
  top: 90px;
}

.map-card svg {
  margin: 0 auto 16px;
}

.map-card p {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.map-card small {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Why Us ---------- */
.why-us {
  background: var(--bg);
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}

.why-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.why-card__icon {
  width: 52px;
  height: 52px;
  background: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--black);
}

.why-card__icon svg {
  width: 26px;
  height: 26px;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--black);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--black);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(112,181,212,0.2);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #c0392b;
}

.form-group .error-msg {
  font-size: 0.8rem;
  color: #c0392b;
}

.form-disclaimer {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
  background: #f0f8fd;
  border: 1px solid var(--blue-light);
  border-radius: var(--radius-lg);
}

.form-success.visible {
  display: block;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--black);
}

.form-success h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* Contact info */
.contact-info {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: 90px;
}

.contact-info h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.contact-info__items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 28px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius);
  transition: background var(--transition);
  text-decoration: none;
  color: inherit;
}

a.contact-info__item:hover {
  background: var(--white);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--black);
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info__item > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info__item strong {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.contact-info__item span {
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-info__note {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.contact-info__note strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.contact-info__note p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.35);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
}

/* ---------- Floating Action Button ---------- */
.fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: var(--blue);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(112,181,212,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  z-index: 90;
}

.fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 32px rgba(112,181,212,0.6);
}

/* Hide fab on desktop (phone CTA already visible in nav) */
@media (min-width: 900px) {
  .fab { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__inner {
    grid-template-columns: 1fr;
  }

  .contact-info {
    position: static;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 860px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__visual {
    display: none;
  }

  .areas__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .areas__map-placeholder {
    display: none;
  }

  .footer__links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  /* Mobile nav */
  .nav__links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 20px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-left: 0;
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__link {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .nav__links .btn {
    margin: 8px 0 0;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 120px 0 80px;
    min-height: unset;
  }

  .hero__headline {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__trust {
    gap: 16px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__trust {
    flex-direction: column;
    gap: 10px;
  }

  .footer__links {
    grid-template-columns: 1fr;
  }

  .stat-chips {
    grid-template-columns: 1fr;
  }
}
