/* FreshKey Move-In Services (MoveInServicesBox template) — design system.
   "New chapter" / welcome-mat theme for people who just closed on a house:
   deep teal + warm terracotta-coral on a warm cream background — deliberately
   distinct from the forest-green LawnCareBox, navy-amber PetCareBox, and
   dusty-blue-gold SeniorConciergeBox palettes sitting next to it in the same
   account. Not the generic AI-template cream/serif/blue look. */

:root {
  --mb-teal: #2f6b63;
  --mb-teal-2: #3c8377;
  --mb-teal-dark: #1e4a45;
  --mb-ink: #24302b;
  --mb-slate: #4b564f;
  --mb-steel: #7c8a82;
  --mb-steel-light: #cfd9d2;
  --mb-cream: #fbf7f0;
  --mb-cream-2: #f1e6d4;
  --mb-white: #ffffff;
  --mb-coral: #d97a4d;
  --mb-coral-dark: #a8542e;
  --mb-coral-darker: #954b2c;
  --mb-coral-light: #e6a583;
  --mb-line: rgba(255, 255, 255, 0.16);
  --mb-line-dark: rgba(36, 48, 43, 0.14);
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 6px 20px rgba(30, 74, 69, 0.14);
  --shadow-lg: 0 14px 36px rgba(30, 74, 69, 0.2);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--mb-ink);
  background: var(--mb-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Long unbroken tokens (emails, URLs) must wrap instead of forcing grid
   tracks/cards wider than the viewport. */
a, p, .card, .hours-row span {
  overflow-wrap: break-word;
  word-break: break-word;
}

img { max-width: 100%; display: block; }

a { color: var(--mb-coral-dark); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--mb-teal-dark); }

/* Visible focus ring everywhere — keyboard/low-vision users. */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--mb-coral);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-base);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.55em;
  color: var(--mb-teal-dark);
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mb-coral-dark);
  margin-bottom: 12px;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; color: var(--mb-slate); font-size: 1.02rem; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 56px 0; }
.section-dark { background: var(--mb-teal-dark); color: var(--mb-white); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--mb-white); }
.section-dark p { color: var(--mb-steel-light); }
.section-dark .eyebrow { color: var(--mb-coral-light); }

/* ── Divider — a welcome-mat stripe ───────────────────────────────────── */
.key-stripe {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg, var(--mb-coral), var(--mb-coral) 16px, var(--mb-teal) 16px, var(--mb-teal) 32px
  );
}

/* ── Buttons — large tap targets ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  min-height: 52px;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--mb-coral-dark); color: var(--mb-white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--mb-coral-darker); }

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

.btn-outline-dark { background: transparent; border-color: var(--mb-teal-dark); color: var(--mb-teal-dark); }
.btn-outline-dark:hover { background: rgba(30, 74, 69, 0.08); }

.btn-block { width: 100%; }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--mb-teal-dark);
  border-bottom: 3px solid var(--mb-coral);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1120px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mb-white);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--mb-white); }
.brand-mark {
  width: 40px; height: 40px;
  background: var(--mb-coral);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--mb-teal-dark);
  font-weight: 900;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--mb-steel-light);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}
.nav-links a:hover { color: var(--mb-white); text-decoration: underline; }
.nav-cta { display: none; }
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: transparent;
  border: 2px solid var(--mb-line);
  border-radius: var(--radius);
  color: var(--mb-white);
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--mb-teal-2);
  border-top: 1px solid var(--mb-line);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 18px 20px;
  color: var(--mb-white);
  font-weight: 700;
  border-bottom: 1px solid var(--mb-line);
  font-size: 1.05rem;
  text-decoration: none;
}
.mobile-menu a:hover { text-decoration: none; background: rgba(255,255,255,0.06); }
.mobile-menu .btn { margin: 16px 20px; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ── Sticky mobile quote bar ─────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--mb-teal-dark);
  border-top: 3px solid var(--mb-coral);
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.sticky-cta .btn { width: 100%; }
@media (min-width: 900px) {
  .sticky-cta { display: none; }
}
body { padding-bottom: 84px; }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  background:
    linear-gradient(rgba(30,74,69,0.93), rgba(30,74,69,0.96)),
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.06) 0, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(255,255,255,0.05) 0, transparent 50%),
    var(--mb-teal-dark);
  color: var(--mb-white);
  padding: 56px 0 64px;
}
.hero h1 { color: var(--mb-white); }
.hero p { max-width: 620px; color: var(--mb-steel-light); font-size: 1.13rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ── Cards / grids ─────────────────────────────────────────────────────── */
.grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.grid > * { min-width: 0; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--mb-white);
  border: 1px solid var(--mb-line-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--mb-teal-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--mb-coral-light);
  margin-bottom: 16px;
}
.card .price-range {
  display: inline-block;
  margin-top: 10px;
  font-weight: 800;
  color: var(--mb-coral-dark);
  font-size: 0.96rem;
}
.card .referral-note {
  display: block;
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--mb-cream-2);
  border-left: 3px solid var(--mb-coral);
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--mb-slate);
  font-weight: 600;
}

/* ── Forms ─────────────────────────────────────────────────────────────── */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--mb-teal-dark);
}
.field .hint { font-size: 0.9rem; color: var(--mb-steel); margin-top: 6px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: var(--radius);
  border: 2px solid var(--mb-line-dark);
  font-size: 17px;
  font-family: var(--font-base);
  background: var(--mb-white);
  color: var(--mb-ink);
  min-height: 52px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mb-coral);
  box-shadow: 0 0 0 3px rgba(217, 122, 77, 0.25);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-row-2 { grid-template-columns: 1fr 1fr; } }

.form-card {
  background: var(--mb-white);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}
.form-msg { padding: 16px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 700; display: none; }
.form-msg.success { background: #e2f2ea; color: #1a6b3b; display: block; }
.form-msg.error { background: #fbe6e0; color: #963118; display: block; }
.form-msg.info { background: var(--mb-cream-2); color: var(--mb-teal-dark); display: block; }

/* ── Service area chips ───────────────────────────────────────────────── */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 18px;
  background: var(--mb-white);
  border: 1px solid var(--mb-line-dark);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--mb-teal-dark);
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--mb-teal-dark);
  color: var(--mb-steel-light);
  padding: 50px 0 30px;
}
.site-footer h4 { color: var(--mb-white); font-size: 1.05rem; letter-spacing: 0.02em; }
.site-footer p { color: var(--mb-steel-light); }
.site-footer a { color: var(--mb-steel-light); }
.site-footer a:hover { color: var(--mb-white); }
.site-footer p.notice { color: var(--mb-slate); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; margin-bottom: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-bottom {
  border-top: 1px solid var(--mb-line);
  padding-top: 22px;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.footer-bottom a { margin-right: 16px; }

/* ── Trust / notice ───────────────────────────────────────────────────── */
.notice {
  background: var(--mb-cream-2);
  border-left: 4px solid var(--mb-coral);
  padding: 18px 20px;
  border-radius: 4px;
  font-size: 1rem;
  color: var(--mb-slate);
}

/* ── Hours list ────────────────────────────────────────────────────────── */
.hours-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--mb-line-dark); font-size: 1.02rem; }

/* ── Utilities ─────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.max-w-prose { max-width: 700px; }
.center { margin-left: auto; margin-right: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--mb-coral); color: white; padding: 14px 18px; z-index: 200;
  font-weight: 700;
}
.skip-link:focus { left: 10px; top: 10px; }
