/*
Theme Name: American International Movers
Theme URI: https://example.com/
Author: American International Development LLC
Description: One-page website for American International Development LLC, interstate and long-distance movers. Includes a free-quote form that emails each request to the site's Administration Email Address (Settings → General) and keeps a copy under Quote Requests in the dashboard.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aid-movers
*/

/* ---------- Base ---------- */
:root {
  --navy: #0F1E33;
  --orange: #C2410C;
  --orange-light: #FB923C;
  --ink-muted: #4A5568;
  --line: #E2E8F0;
  --soft: #F4F6F9;
  --on-navy: #DCE3EC;
  --on-navy-muted: #B8C2D1;
  --field: #B8C2D1;
  --wrap: 1200px;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--navy); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--orange); }
input, select, button, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid #2563EB; outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; }
p { margin: 0; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 8px; top: 8px; z-index: 100000; background: #fff; padding: 12px 16px; border-radius: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; }
section[id] { scroll-margin-top: 96px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); }
.section-title { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.015em; }
.section-head { max-width: 680px; display: flex; flex-direction: column; gap: 12px; }
.muted { color: var(--ink-muted); }

/* ---------- Logo ---------- */
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand svg { flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 4px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1; letter-spacing: 0.03em; color: #fff; }
.brand-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; color: var(--orange-light); }

/* ---------- Header ---------- */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header .wrap { padding: 16px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.main-nav a { color: var(--on-navy); text-decoration: none; padding: 10px 0; }
.main-nav a:hover { color: #fff; }
.main-nav .call { color: #fff; font-weight: 700; padding: 10px 18px; border: 2px solid var(--orange-light); border-radius: 8px; }

/* ---------- Hero ---------- */
.hero { color: #fff; padding: 96px 24px 120px; min-height: 640px;
  background: linear-gradient(90deg, rgba(15,30,51,0.90) 0%, rgba(15,30,51,0.70) 50%, rgba(15,30,51,0.45) 100%), var(--navy) url('assets/img/hero-truck.jpg') left center / cover no-repeat; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-copy .eyebrow { color: var(--orange-light); }
.hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.02em; }
.hero-lede { font-size: 19px; color: var(--on-navy); max-width: 560px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; color: var(--on-navy); }
.hero-checks span { display: flex; align-items: center; gap: 8px; }

/* ---------- Quote form ---------- */
.quote-card { flex: 1 1 400px; min-width: 0; max-width: 480px; background: #fff; color: var(--navy); border-radius: 16px; padding: 32px; box-shadow: 0 24px 48px rgba(0,0,0,0.25); }
.quote-form { display: flex; flex-direction: column; gap: 16px; }
.quote-head { display: flex; align-items: center; gap: 14px; }
.quote-head svg { flex: none; }
.quote-head h2 { font-size: 26px; line-height: 1.2; }
.quote-head p { margin-top: 6px; font-size: 14px; color: var(--ink-muted); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select { height: 48px; padding: 0 14px; border: 1.5px solid var(--field); border-radius: 8px; font-size: 16px; color: var(--navy); background: #fff; min-width: 0; width: 100%; }
.field input:focus, .field select:focus { border-color: var(--navy); }
.field input[aria-invalid="true"] { border-color: #B91C1C; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { height: 54px; border: 0; border-radius: 8px; background: var(--orange); color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; }
.btn-submit:hover { background: #A3360A; }
.btn-submit[disabled] { opacity: 0.7; cursor: progress; }
.form-note { font-size: 13px; color: var(--ink-muted); text-align: center; }
.form-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.form-error:empty { display: none; }
.quote-success { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
.quote-success h2 { font-size: 26px; line-height: 1.2; }
.quote-success p { color: var(--ink-muted); }
.btn-outline { height: 44px; padding: 0 18px; border: 1.5px solid var(--navy); border-radius: 8px; background: #fff; color: var(--navy); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; }
[hidden] { display: none !important; }

/* ---------- Trust strip ---------- */
.trust { background: var(--soft); border-bottom: 1px solid var(--line); padding: 28px 24px; }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; font-size: 15px; font-weight: 600; color: #334155; }

/* ---------- Services ---------- */
.services { padding: 96px 24px; }
.services .wrap, .how .wrap, .reviews .wrap { display: flex; flex-direction: column; gap: 48px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.service-card { border: 1px solid var(--line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.service-icon { width: 52px; height: 52px; border-radius: 12px; background: #FFF1E6; display: flex; align-items: center; justify-content: center; }
.service-card h3 { font-size: 22px; }
.service-card p { color: var(--ink-muted); }

/* ---------- Gallery ---------- */
.gallery { padding: 0 24px 96px; }
.gallery .wrap { display: flex; flex-direction: column; gap: 40px; }
.gallery-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.gallery-head h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; letter-spacing: -0.015em; max-width: 620px; }
.gallery-head p { color: var(--ink-muted); max-width: 420px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px 24px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.gallery figcaption { display: flex; flex-direction: column; gap: 4px; }
.gallery figcaption strong { font-size: 18px; }
.gallery figcaption span { color: var(--ink-muted); }

/* ---------- How it works ---------- */
.how { background: var(--soft); padding: 96px 24px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.steps li { background: #fff; border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.steps img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.step-num { font-family: var(--display); font-size: 40px; font-weight: 700; color: var(--orange); line-height: 1; }
.steps h3 { font-size: 21px; }
.steps p { color: var(--ink-muted); }

/* ---------- Coverage ---------- */
.coverage { padding: 96px 24px; }
.coverage .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.coverage-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.coverage-copy .lede { color: var(--ink-muted); font-size: 18px; }
.routes { margin: 8px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; font-weight: 500; }
.coverage-copy .small { margin-top: 8px; font-size: 14px; color: var(--ink-muted); }
.coverage-copy img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; margin-top: 12px; }
.why { flex: 1 1 440px; min-width: 0; background: var(--navy); color: #fff; border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.why h3 { font-size: 28px; }
.why-item { display: flex; gap: 14px; }
.why-item svg { flex: none; margin-top: 3px; }
.why-item span { color: var(--on-navy); }

/* ---------- Reviews ---------- */
.reviews { background: var(--soft); padding: 96px 24px; }
.reviews .wrap { gap: 40px; }
.review { margin: 0; background: #fff; border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.review-top { display: flex; align-items: center; gap: 12px; }
.review blockquote { margin: 0; font-size: 17px; }
.review figcaption { font-size: 14px; color: var(--ink-muted); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { padding: 96px 24px; }
.faq .wrap { max-width: 860px; display: flex; flex-direction: column; gap: 32px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; min-height: 64px; padding: 18px 0; background: none; border: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; font-size: 18px; font-weight: 600; color: var(--navy); cursor: pointer; }
.faq-sign { flex: none; font-size: 26px; font-weight: 400; color: var(--orange); width: 24px; text-align: center; line-height: 1; }
.faq-a { margin: 0 0 22px; color: var(--ink-muted); max-width: 720px; }

/* ---------- CTA ---------- */
.cta { padding: 0 24px 96px; }
.cta-box { max-width: var(--wrap); margin: 0 auto; background: var(--orange); color: #fff; border-radius: 20px; padding: 56px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-box svg { flex: none; }
.cta-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cta-copy h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.cta-copy p { font-size: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-white, .btn-ghost { display: inline-flex; align-items: center; height: 54px; padding: 0 26px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { color: var(--orange); }
.btn-ghost { border: 2px solid #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy); padding: 56px 24px 32px; font-size: 15px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 32px; }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; }
.footer-brand .brand-name { font-size: 19px; }
.footer-brand .brand-tag { font-size: 10px; }
.footer-col { flex: 0 1 auto; min-width: 180px; display: flex; flex-direction: column; gap: 6px; }
.footer-col strong { color: #fff; }
.footer-col a { color: var(--on-navy); overflow-wrap: anywhere; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2A3B55; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--on-navy-muted); }
.footer-bottom a { color: var(--on-navy-muted); }

@media (max-width: 760px) {
  .site-header .wrap { padding: 10px 16px; gap: 10px; flex-wrap: nowrap; }
  .main-nav a:not(.call) { display: none; }
  .main-nav .call { padding: 10px 12px; font-size: 14px; white-space: nowrap; }
  .brand { gap: 10px; min-width: 0; }
  .brand svg { width: 40px; height: 40px; }
  .brand-name { font-size: 15px; }
  .brand-tag { font-size: 8.5px; letter-spacing: 0.14em; }
  section[id] { scroll-margin-top: 72px; }
}
@media (max-width: 400px) {
  .brand-tag { display: none; }
  .main-nav .call .call-label { display: none; }
}
@media (max-width: 520px) {
  .hero { padding: 56px 16px 72px; }
  .quote-card { padding: 24px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .cta-box { padding: 40px 24px; }
  .why { padding: 28px; }
  .routes { grid-template-columns: minmax(0, 1fr); }
}
