/* Best Movers Adelaide - site extras (release 2026.10.2): fonts, phone layout, price line, rating, trust chips,
   price table, 2-step form, "Read more". Loaded after site.css + Admin custom CSS (includes/bm.php bm_head()). */

/* ---- F-01 fonts: Manrope text + Oswald headings, self-hosted (no Google Fonts request) ---- */
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Oswald'; src: url('/assets/fonts/oswald.woff2') format('woff2'); font-weight: 200 700; font-style: normal; font-display: swap; }
/* the fonts themselves are chosen in includes/site.php / Admin > Theme & branding (--head-font, --body-font) */
body { font-family: var(--body-font); font-size: 17px; }
h1, h2, h3, .form-title, .hero-form .form-title { font-family: var(--head-font); letter-spacing: 0; }
h1 { font-weight: 700; line-height: 1.08; }
h2 { font-weight: 600; line-height: 1.15; }
h3 { font-weight: 600; font-size: 1.2rem; }
.prose { font-size: 1.0625rem; line-height: 1.7; }
.btn { font-family: var(--body-font); font-weight: 800; }

/* ---- hero: price line, Google rating, trust chips ---- */
.bm-price-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; font-size: 1.05rem; color: #fff; }
.bm-price-line .ic { color: var(--accent); flex: none; }
.bm-price-line strong { color: var(--accent); font-size: 1.35rem; font-weight: 800; }
.bm-price-line a { color: #fff; font-weight: 700; font-size: .9rem; text-underline-offset: 3px; }
.bm-rating { margin: 0 0 14px; font-size: .98rem; }
.bm-rating a { color: inherit; text-decoration: none; }
.bm-rating a:hover strong { text-decoration: underline; }
.bm-rating strong { font-size: 1.05rem; }
.bm-stars { display: inline-flex; gap: 1px; vertical-align: -3px; margin-right: 6px; }
.bm-stars svg { width: 18px; height: 18px; fill: #f5b400; }
.bm-stars svg.off { fill: rgba(255,255,255,.35); }
.bm-stars svg.half { fill: #f5b400; opacity: .55; }
.bm-trust { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.bm-trust li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); font-size: .9rem; font-weight: 700; color: #fff; line-height: 1.2; }
.bm-trust .ic { color: var(--accent); flex: none; }
.bm-hdr-note strong { font-family: var(--body-font); }

/* ---- LP-04 price table ---- */
.bm-prices { background: var(--soft); }
.bm-prices-in { display: grid; grid-template-columns: 1fr 1.25fr; gap: 36px; align-items: start; }
.bm-prices-head .label { color: var(--brand); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: 6px; }
.bm-prices-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.bm-ptable { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 6px 20px rgba(10,18,53,.06); }
.bm-prow { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-top: 1px solid var(--line); }
.bm-prow:first-child { border-top: 0; }
.bm-prow small { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.bm-prow.is-hit { background: #fff8e1; box-shadow: inset 4px 0 0 var(--accent); }
.bm-pprice { text-align: right; white-space: nowrap; }
.bm-pprice b { font-family: var(--head-font); font-size: 1.45rem; color: var(--ink-2); font-weight: 600; }
.bm-pprice small { display: inline; color: var(--muted); }
.bm-terms { margin-top: 22px; font-size: .95rem; color: var(--muted); }
.bm-terms ul { margin: 6px 0 0; padding-left: 20px; }

/* ---- LP-03 2-step quote form ---- */
.bm-steps { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; font-size: .85rem; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.bm-steps b { color: var(--ink-2); }
.bm-bar { flex: 0 0 100%; height: 5px; border-radius: 9px; background: var(--line); margin-top: 6px; overflow: hidden; display: block; }
.bm-bar i { display: block; height: 100%; width: 50%; background: var(--brand); border-radius: 9px; transition: width .3s; }
.is-step2 .bm-bar i { width: 100%; }
.bm-next { grid-column: 1 / -1; }
.bm-next[hidden], .bm-step2[hidden] { display: none !important; }
.bm-step2 { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }

/* ---- LP-08 "Read more" on long texts (phones) ---- */
.bm-clamp { max-height: 560px; overflow: hidden; position: relative; }
.bm-clamp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.sec-soft .bm-clamp::after { background: linear-gradient(rgba(244,247,252,0), var(--soft)); }
.bm-clamp.is-open { max-height: none; }
.bm-clamp.is-open::after { display: none; }
.bm-more { margin-top: 14px; min-height: 44px; }

@media (max-width: 960px) {
  .bm-prices-in { grid-template-columns: 1fr; gap: 20px; }
  /* ---- M-02 compact phone header: one row = logo, the phone NUMBER (text, so Google call tracking can swap it), menu ---- */
  .site-header { top: 0; }
  .hdr-top-in { flex-wrap: nowrap; height: 62px; padding-top: 0; padding-bottom: 0; gap: 8px; }
  .logo { order: 1; width: auto; height: auto; flex: 0 1 auto; min-width: 0; }
  .logo img, .logo img[height] { height: 42px !important; width: auto; max-width: 132px; object-fit: contain; }
  .hdr-actions { order: 2; flex: 1 1 auto; display: flex; justify-content: flex-end; gap: 6px; }
  .hdr-actions .btn-primary { display: none; }
  .hdr-phone { padding: 9px 12px; font-size: 1rem; border-width: 1.5px; min-height: 44px; }
  .burger { order: 3; min-width: 44px; min-height: 44px; }
}

@media (max-width: 760px) {
  /* ---- M-01 / LP-02 first phone screen: H1, price, rating, chips, then the form step 1 ---- */
  body { font-size: 17px; }
  .hero { padding: 22px 0 28px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.5rem); margin-bottom: .3em; }
  .hero .eyebrow { font-size: .74rem; margin-bottom: 6px; }
  .hero .hero-sub { font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 10px; }
  .hero:has(.bm-price-line) .points, .hero:has(.bm-price-line) .hero-actions { display: none; }
  .hero-grid { gap: 18px; }
  .bm-price-line { font-size: 1rem; margin-bottom: 6px; }
  .bm-rating { margin-bottom: 10px; font-size: .92rem; }
  .bm-trust { gap: 6px; margin-bottom: 4px; }
  .bm-trust li { font-size: .8rem; padding: 5px 10px; }
  .bm-trust li:nth-child(n+4) { display: none; }   /* phones: first 3 chips */
  .hero-form { padding: 18px 16px; }
  .hero-form > p:not(.form-title) { display: none; }
  .bm-step2 { grid-template-columns: 1fr; }
  /* ---- M-03 tap targets and inputs: 48 px fields, 16 px+ text (no iPhone zoom) ---- */
  .fg input, .fg select, .fg textarea { min-height: 48px; font-size: 16px; }
  .fg textarea { min-height: 88px; }
  .qform .btn, .bm-next .btn { min-height: 52px; font-size: 1.05rem; }
  .fg label { font-size: .9rem; }
  .crumbs a, .site-footer a, .linklist a { display: inline-block; padding: 6px 0; }
  .bma-suburbs a, .prose ul.suburbs-compact a { display: inline-block; padding: 6px 0; }
  .prose { font-size: 1.0625rem; }
  .sec { padding: 40px 0; }
  .bm-prow { padding: 14px 16px; }
  .bm-pprice b { font-size: 1.25rem; }
}

@media (max-width: 1439px) { .bm-hdr-note { display: none; } }
.bm-hdr-note { white-space: nowrap; }
/* phones: footer link groups open on tap, long sections clamp at ~640 px */
@media (max-width: 760px) {
  .bm-clamp { max-height: 520px; }
  .bm-ftoggle { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 48px; padding: 0; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.15); color: #fff; font: 700 1rem var(--body-font); text-align: left; cursor: pointer; }
  .bm-ftoggle::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); }
  .bm-ftoggle[aria-expanded="true"]::after { content: "\2013"; }
  .bm-fclosed ul { display: none; }
  .site-footer .f-col ul { margin-top: 8px; }
  .bm-prices-head p:not(.label) { font-size: .98rem; }
  .bm-prow small { font-size: .82rem; }
}

/* Owner 29 Oct: the whole header stays on screen (logo, phone, quote button), not only the menu bar.
   Desktop: after scrolling it gets compact (smaller logo, Google badges hidden) so it takes less room. */
.site-header { top: 0; }
@media (min-width: 961px) {
  .hdr-top-in { transition: height .2s; }
  .logo img { transition: height .2s; }
  .bm-scrolled .hdr-top-in { height: 58px; }
  .bm-scrolled .logo img { height: 40px; }
  .bm-scrolled .hdr-rating, .bm-scrolled .hdr-badge { display: none; }
  .bm-scrolled .hdr-actions .btn-primary { padding-top: 9px; padding-bottom: 9px; }
}

/* Floating "Get a free quote" button (desktop; phones have the bottom bar). Shown once the quote form is off screen. */
.bm-fq { position: fixed; right: 22px; bottom: 22px; z-index: 56; display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px;
  border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; font-size: 1rem; text-decoration: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .28); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .2s, transform .2s; }
.bm-fq.is-on { opacity: 1; transform: none; pointer-events: auto; }
.bm-fq:hover { background: var(--brand-d, var(--brand)); color: #fff; }
.bm-fq svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 960px) { .bm-fq { display: none; } }
@media print { .bm-fq { display: none; } }

/* Google rating (owner 29 Oct: use the 4.4 / 1,203+ Google reviews everywhere) */
.bm-rating .bm-g { background: #fff; border-radius: 50%; padding: 3px; width: 24px; height: 24px; vertical-align: -6px; margin-right: 8px; }
.bm-gbadge { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 28px; max-width: 980px; margin: 0 auto 30px;
  padding: 20px 26px; background: #fff; border: 1px solid var(--line, #e2e5ea); border-radius: 18px; box-shadow: 0 10px 30px rgba(15, 23, 42, .08); text-align: left; }
.bm-gb-score { display: flex; align-items: center; gap: 12px; }
.bm-gb-score > strong { font-family: var(--heading-font); font-size: 3rem; line-height: 1; color: var(--ink, #15171a); }
.bm-gb-score span { display: block; font-size: .9rem; color: var(--muted, #5b667a); font-weight: 700; margin-top: 2px; }
.bm-gbadge .bm-stars svg { width: 22px; height: 22px; }
.bm-gbadge .bm-stars svg.off { fill: #d8dde6; }
.bm-gbadge p { margin: 0; color: var(--muted, #5b667a); }
.bm-gb-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (max-width: 860px) {
  .bm-gbadge { grid-template-columns: 1fr; text-align: center; padding: 18px; }
  .bm-gb-score { justify-content: center; }
  .bm-gb-btns { justify-content: center; }
}

/* Google card: buttons under the text (no squeezed middle column) */
.bm-gbadge { grid-template-columns: auto 1fr; }
.bm-gb-btns { grid-column: 2; justify-content: flex-start; }
.bm-gb-compact { margin: 22px 0 0; box-shadow: none; padding: 16px 18px; grid-template-columns: 1fr; gap: 10px; }
.bm-gb-compact .bm-gb-btns { grid-column: 1; }
.bm-gb-compact .bm-gb-score > strong { font-size: 2.3rem; }
@media (max-width: 860px) { .bm-gb-btns { grid-column: 1; justify-content: center; } }

/* Contact page: details + full form in the body (owner 29 Oct) */
.bm-contact-grid { display: grid; grid-template-columns: 1fr minmax(360px, 520px); gap: 40px; align-items: start; }
.bm-contact-info h2 { margin-top: 0; }
.bm-cc { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line, #e2e5ea); }
.bm-cc-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--soft, #f3f6fb); color: var(--brand); }
.bm-cc-ic .ic { stroke: currentColor; fill: none; }
.bm-cc strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted, #5b667a); }
.bm-cc span, .bm-cc a { display: block; }
.bm-cc small { display: block; color: var(--muted, #5b667a); }
.bm-cc-big { font-family: var(--heading-font); font-size: 1.7rem; color: var(--ink, #15171a); text-decoration: none; }
.bm-contact .hero-form { position: static; margin: 0; box-shadow: 0 14px 40px rgba(15, 23, 42, .12); border: 1px solid var(--line, #e2e5ea); }
@media (max-width: 960px) { .bm-contact-grid { grid-template-columns: 1fr; } .bm-contact .hero-form { order: -1; } }

/* Footer (owner 29 Oct): links + quote card on one row, quote card stands out, Google rating in the band above */
@media (min-width: 1101px) { .f-grid { grid-template-columns: 1.35fr 1fr 1.2fr 1fr 1.15fr; gap: 28px; } }
.site-footer .f-cta { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 20px; align-self: start; }
.site-footer .f-cta .f-title { color: #fff; }
.f-cta-phone { font-size: 1.4rem; }
.f-cta-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-size: .9rem; }
.f-cta-rate .bm-g { background: #fff; border-radius: 50%; padding: 2px; width: 22px; height: 22px; }
.f-cta-rate .bm-stars { margin: 0; }
.f-cta-rate .bm-stars svg { width: 15px; height: 15px; }
.f-cta-rate span:last-child { color: rgba(255, 255, 255, .75); }
.site-footer .f-cta-btn { width: 100%; justify-content: center; text-align: center; }
.f-about p { line-height: 1.6; }
.f-col ul li { margin-bottom: 4px; }
.bma-google svg { flex: none; background: #fff; border-radius: 50%; padding: 4px; }
.site-footer .f-cta-btn { white-space: nowrap; padding-left: 14px; padding-right: 14px; }
.bm-fq.is-foot { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* text beside the price table (owner 29 Oct) */
.bm-prices-copy p { margin: 0 0 12px; }
.bm-prices-copy ul { list-style: none; margin: 4px 0 14px; padding: 0; display: grid; gap: 6px; }
.bm-prices-copy li { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; }
.bm-prices-copy li .ic { flex: none; margin-top: 4px; stroke: var(--brand); fill: none; }
.bm-prices-more a { font-weight: 700; }
@media (max-width: 860px) {
  .bm-gbadge { grid-template-columns: 1fr; text-align: center; }
  .bm-gbadge .bm-gb-btns { grid-column: 1; justify-content: center; }
  .bm-gb-score { justify-content: center; }
  .bm-gbadge .bm-stars { flex-wrap: nowrap; }
}
