/* ===========================================================
   SmartWay Furniture Movers — Design System
   =========================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #0A1C33;
  --navy-800: #0F2745;
  --navy-700: #16345C;
  --white: #FFFFFF;
  --bg-light: #F6F8FB;
  --bg-subtle: #EEF2F8;
  --text-dark: #17233B;
  --text-muted: #5B6B85;
  --text-on-navy: #C9D6EA;
  --border: #E2E8F0;
  --accent: #FF6A3D;
  --accent-dark: #E5501F;
  --accent-light: #FFE7DD;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(10, 28, 51, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 28, 51, 0.10);
  --shadow-lg: 0 16px 48px rgba(10, 28, 51, 0.14);
  --container-w: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; color: var(--navy-900); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem); }
h3 { font-size: 1.25rem; }
p { color: var(--text-muted); }
.lede { font-size: 1.15rem; color: var(--text-muted); }

/* ---------- Layout ---------- */
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--navy { background: var(--navy-900); color: var(--text-on-navy); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--light { background: var(--bg-light); }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-dark); margin-bottom: 10px; }
.section--navy .eyebrow { color: var(--accent); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p { margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.98rem; border: 2px solid transparent; transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--primary { background: var(--accent); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-dark); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn--outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn--outline-dark { background: transparent; border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline-dark:hover { background: var(--navy-900); color: var(--white); }
.btn--whatsapp { background: var(--whatsapp); color: var(--white); }
.btn--whatsapp:hover { background: var(--whatsapp-dark); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 10px 16px; z-index: 1000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

.site-header { position: sticky; top: 0; z-index: 500; background: var(--white); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand__logo { height: 36px; width: auto; }
.main-nav__list { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-weight: 600; font-size: 0.95rem; color: var(--navy-800); padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--accent); }
.site-header__actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-900); white-space: nowrap; }
.header-phone svg { color: var(--accent); }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: 1px solid var(--border); border-radius: 8px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy-900); margin: 0 auto; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%); color: var(--white); padding: 56px 0 56px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,106,61,0.15); color: var(--accent); border: 1px solid rgba(255,106,61,0.35); padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; margin-bottom: 18px; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero p.lede { color: var(--text-on-navy); margin-bottom: 28px; max-width: 560px; }
.hero__trust-mini { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; }
.hero__trust-mini li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-on-navy); }
.hero__trust-mini svg { color: var(--accent); flex-shrink: 0; }
.hero__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--navy-700); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Lead form ---------- */
.lead-form-wrap { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 28px; margin-top: 40px; position: relative; z-index: 10; color: var(--text-dark); }
.lead-form-wrap h2 { font-size: 1.3rem; margin-bottom: 4px; }
.lead-form-wrap .form-sub { margin-bottom: 18px; font-size: 0.92rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy-800); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 0.95rem; background: var(--bg-light); transition: border-color .15s ease, background .15s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--white); }
.field textarea { resize: vertical; min-height: 80px; }
.form-foot { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.form-note { font-size: 0.78rem; color: var(--text-muted); }
.form-success { display: none; text-align: center; padding: 20px 8px; }
.form-success h3 { margin-bottom: 8px; }
.form-success.is-visible { display: block; }
.lead-form.is-hidden { display: none; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--border); }
.trust-bar__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; padding: 26px 0; }
.trust-bar__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem; color: var(--navy-800); }
.trust-bar__list svg { color: var(--accent); flex-shrink: 0; }

/* ---------- Cards: services ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--accent-light); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.card p { font-size: 0.94rem; margin-bottom: 14px; }
.card__link { font-weight: 700; color: var(--accent-dark); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.card__link:hover { text-decoration: underline; }

/* ---------- Why choose us ---------- */
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { display: flex; gap: 16px; }
.feature__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--navy-900); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { font-size: 0.92rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { position: relative; text-align: left; padding-top: 8px; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 800; margin-bottom: 16px; }
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { font-size: 0.9rem; }

/* ---------- Location cards ---------- */
.location-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; box-shadow: var(--shadow-md); }
.location-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.location-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,28,51,0) 30%, rgba(10,28,51,0.88) 100%); }
.location-card__body { position: relative; z-index: 2; padding: 26px; color: var(--white); }
.location-card__body h3 { color: var(--white); margin-bottom: 6px; }
.location-card__body p { color: var(--text-on-navy); font-size: 0.9rem; margin-bottom: 14px; }

/* ---------- Local SEO sections ---------- */
.local-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.local-block__areas { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.local-block__areas span { background: var(--bg-subtle); border: 1px solid var(--border); color: var(--navy-800); font-size: 0.85rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.local-block ul.keyword-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 16px; }
.local-block ul.keyword-list li { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--text-dark); font-weight: 600; }
.local-block ul.keyword-list svg { color: var(--accent); flex-shrink: 0; }

/* ---------- Process / before-after ---------- */
.process-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.process-strip figure { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.process-strip img { aspect-ratio: 4/3; object-fit: cover; }
.process-strip figcaption { padding: 12px 4px 0; font-weight: 700; font-size: 0.9rem; color: var(--navy-800); }

/* ---------- Testimonials ---------- */
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-sm); }
.testimonial-card__quote { font-size: 1rem; color: var(--text-dark); margin-bottom: 16px; }
.testimonial-card__meta { font-size: 0.85rem; color: var(--text-muted); font-weight: 700; }
.testimonial-empty { border: 1.5px dashed var(--border); border-radius: var(--radius-md); padding: 40px; text-align: center; color: var(--text-muted); }
.testimonial-empty a { color: var(--accent-dark); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { cursor: pointer; padding: 20px 4px; font-weight: 700; color: var(--navy-900); display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); flex-shrink: 0; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 4px 20px; font-size: 0.95rem; }

/* ---------- Inner page hero (service/location/core pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%); color: var(--white); padding: 44px 0 56px; }
.page-hero__inner { max-width: 780px; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p.lede { color: var(--text-on-navy); margin-bottom: 0; }
.page-hero .btn-row { margin-top: 26px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 16px 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.82rem; color: var(--text-muted); }
.breadcrumbs a { color: var(--text-muted); font-weight: 600; }
.breadcrumbs a:hover { color: var(--accent-dark); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--border); }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--navy-900); color: var(--white); border-radius: var(--radius-lg); padding: 56px; text-align: center; }
.final-cta h2 { color: var(--white); }
.final-cta p { color: var(--text-on-navy); max-width: 560px; margin: 12px auto 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--text-on-navy); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; }
.footer-col h3 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--text-on-navy); }
.footer-col a:hover { color: var(--accent); }
.footer-col--brand p { color: var(--text-on-navy); font-size: 0.88rem; margin: 14px 0 16px; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { font-size: 0.85rem; font-weight: 700; }
.footer-contact li { font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 10px; }
.footer-bottom__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 20px 0; font-size: 0.82rem; }
.footer-legal { display: flex; gap: 18px; }

/* ---------- WhatsApp float + sticky mobile bar ---------- */
.whatsapp-float { position: fixed; right: 20px; bottom: 88px; width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); z-index: 400; transition: transform .15s ease; }
.whatsapp-float:hover { transform: scale(1.06); }

.sticky-mobile-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 450; background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(10,28,51,0.08); }
.sticky-mobile-cta__item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 8px; font-size: 0.72rem; font-weight: 700; color: var(--navy-800); }
.sticky-mobile-cta__item--primary { background: var(--accent); color: var(--white); }

/* ---------- Forms (contact/quote pages) ---------- */
.page-form { background: var(--bg-light); border-radius: var(--radius-lg); padding: 32px; }

/* ---------- Blog / long-form content ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 40px; margin-bottom: 14px; font-size: 1.5rem; }
.prose h3 { margin-top: 28px; margin-bottom: 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; color: var(--text-muted); }
.prose a { color: var(--accent-dark); font-weight: 600; text-decoration: underline; }
.blog-meta { color: var(--text-muted); font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.fade-in-up { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.fade-in-up.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; aspect-ratio: 16/9; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .local-block { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .process-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: var(--white); transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; padding: 20px; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav__list a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .header-phone span { display: none; }
  .site-header__actions .btn--primary { display: none; }
  .sticky-mobile-cta { display: flex; }
  .whatsapp-float { bottom: 76px; }
  body { padding-bottom: 62px; }

  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; }
  .process-strip { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .final-cta { padding: 40px 24px; }
  .lead-form-wrap { margin-top: 24px; }
  .hero { padding-top: 40px; }
}
