/* Air 1 Moving - site-wide CSS overrides.
 *
 * Linked LAST in <head> on every page (added by build.mjs), so rules here win over Hibu's generated
 * CSS when specificity is equal. Use this file for sweeping changes (fonts, colours, spacing, hiding
 * things). Hibu's rules are mostly written as `*#dm .dmInner ...` with !important, so you may need
 * `#dm` prefixes and/or !important to override them.
 *
 * Form-only styles live in /site/forms.css; header, footer and forms live in partials/.
 */

/* ---- /confirmation page ---- */
#dm .a1-confirmation { padding: 72px 24px 96px; background: #fff; }
#dm .a1-confirmation__inner { max-width: 760px; margin: 0 auto; text-align: center; }
#dm .a1-confirmation h1 { font-family: Oswald, "Oswald Fallback", sans-serif !important; font-size: 44px !important; line-height: 1.15 !important; margin: 0 0 20px !important; color: rgba(109, 7, 88, 1) !important; text-shadow: none !important; text-transform: uppercase; }
#dm .a1-confirmation p { font-family: Poppins, "Poppins Fallback", sans-serif; font-size: 18px; line-height: 1.6; margin: 0 0 16px; color: #222; }
#dm .a1-confirmation a:not(.a1-btn) { color: rgba(109, 7, 88, 1); font-weight: 600; }
#dm .a1-confirmation .a1-btn { display: inline-block; margin-top: 8px; padding: 14px 32px; border-radius: 6px; background: rgba(109, 7, 88, 1); color: #fff !important; font-family: Poppins, "Poppins Fallback", sans-serif; font-weight: 600; text-decoration: none; }
#dm .a1-confirmation .a1-btn:hover, #dm .a1-confirmation .a1-btn:focus { background: rgba(80, 5, 64, 1); }

/* ---- Header star rating (static; replaces Hibu's live review widget) ---- */
.headerWidget { min-height: 10px; }
.fdn-star-container { width: .65em; height: .9em; }
.fdn-star-on-png { display: block; height: 100%; overflow: hidden; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffc834' d='M12 1.8l3.2 6.9 7.5.9-5.6 5.1 1.5 7.4L12 18.3l-6.6 3.8 1.5-7.4L1.3 9.6l7.5-.9z'/%3E%3C/svg%3E") no-repeat left center / .65em 100%; }
.fdn-rating { position: relative; font-size: 20px; line-height: normal; display: inline-block; }
.fdn-rating .fdn-stars { white-space: nowrap; display: flex; justify-content: flex-start; }
.headerWidget .reviews-header .rating { font-size: 30px; color: rgb(255, 200, 52); display: flex; justify-content: flex-start; align-items: center; flex-direction: row; margin-right: 8px; font-weight: 800 !important; }
.headerWidget .reviews-header .fdn-rating { font-size: 30px; display: inline-block; margin-left: 0.2em; }
.headerWidget .reviews-header a { text-decoration: none; display: flex; justify-content: flex-start; align-items: center; flex-flow: wrap; }
@media only screen and (max-width: 600px) { .headerWidget .reviews-header a { justify-content: center; } }
.headerWidget .reviews-header .link { display: inline-block; color: rgb(64, 64, 64); text-decoration: underline; margin-top: 4px; }

/* ---- Legal pages (/privacy-policy, /terms-and-conditions, /disclaimer) ---- */
#dm .a1-legal { padding: 56px 24px 80px; background: #fff; }
#dm .a1-legal__inner { max-width: 860px; margin: 0 auto; text-align: left; font-family: Poppins, "Poppins Fallback", sans-serif; color: #222; font-size: 16px; line-height: 1.7; }
#dm .a1-legal h1 { font-family: Oswald, "Oswald Fallback", sans-serif !important; font-size: 40px !important; line-height: 1.15 !important; margin: 0 0 24px !important; color: rgba(109, 7, 88, 1) !important; text-shadow: none !important; text-transform: uppercase; }
#dm .a1-legal h2 { font-family: Oswald, "Oswald Fallback", sans-serif !important; font-size: 26px !important; line-height: 1.2 !important; margin: 32px 0 12px !important; color: rgba(109, 7, 88, 1) !important; text-shadow: none !important; }
#dm .a1-legal p, #dm .a1-legal li { font-size: 16px; line-height: 1.7; margin: 0 0 14px; color: #222; }
#dm .a1-legal ul, #dm .a1-legal ol { margin: 0 0 14px 24px; padding: 0; }
#dm .a1-legal ul { list-style: disc; }
#dm .a1-legal ol { list-style: decimal; }
#dm .a1-legal a { color: rgba(109, 7, 88, 1); text-decoration: underline; }

/* ---- Google reviews: /reviews page (#a1-reviews) and the shared block (partials/reviews-block.html) ---- */
.a1-reviews { font-family: Poppins, "Poppins Fallback", Arial, sans-serif; line-height: 1.6; text-align: left; }
.a1-stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.a1-stars i { display: block; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffc834' d='M12 1.8l3.2 6.9 7.5.9-5.6 5.1 1.5 7.4L12 18.3l-6.6 3.8 1.5-7.4L1.3 9.6l7.5-.9z'/%3E%3C/svg%3E") no-repeat left center / 18px 18px; }
.a1-stars i.half { width: 9px; }
.a1-stars--lg i { width: 30px; height: 30px; background-size: 30px 30px; }
.a1-stars--lg i.half { width: 15px; }
.a1-review { padding: 20px 22px; border-radius: 10px; }
.a1-review__top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.a1-review__name { font-weight: 700; font-size: 16px; }
.a1-review__text { margin: 10px 0 8px; font-size: 15px; }
.a1-review__meta { font-size: 13px; opacity: .75; }

/* /reviews page */
.a1-reviews:not(.a1-reviews--block) { max-width: 1200px; margin: 0 auto; padding: 24px 16px 56px; color: #222; }
.a1-reviews__summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; margin-bottom: 32px; text-align: center; }
.a1-reviews__score { font-size: 44px; font-weight: 800; color: rgb(255, 200, 52); line-height: 1; }
.a1-reviews__count { font-size: 18px; font-weight: 600; }
.a1-reviews__sources { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; font-size: 15px; }
.a1-reviews__sources svg { vertical-align: middle; }
.a1-reviews:not(.a1-reviews--block) .a1-reviews__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.a1-reviews:not(.a1-reviews--block) .a1-review { background: #fff; border: 1px solid rgba(0, 0, 0, .1); box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
@media (max-width: 1024px) { .a1-reviews:not(.a1-reviews--block) .a1-reviews__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .a1-reviews:not(.a1-reviews--block) .a1-reviews__list { grid-template-columns: 1fr; } }
.a1-review[hidden], .a1-reviews__more[hidden] { display: none !important; }
.a1-reviews:not(.a1-reviews--block) .a1-reviews__btn { background: rgba(109, 7, 88, 1); color: #fff !important; border: 0; cursor: pointer; font: 700 16px/1 Poppins, "Poppins Fallback", Arial, sans-serif; }
.a1-reviews:not(.a1-reviews--block) .a1-reviews__btn:hover, .a1-reviews:not(.a1-reviews--block) .a1-reviews__btn:focus { background: rgba(80, 5, 64, 1); }

/* shared block (dark section on the service/city pages) */
.a1-reviews--block { color: #fff; }
.a1-reviews--block .a1-reviews__list { display: grid; gap: 14px; }
.a1-reviews--block .a1-review { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.a1-reviews__more { margin-top: 18px; text-align: center; }
.a1-reviews__btn { display: inline-block; padding: 12px 28px; border-radius: 6px; background: #fff; color: rgba(109, 7, 88, 1) !important; font-weight: 700; text-decoration: none; }
.a1-reviews__btn:hover, .a1-reviews__btn:focus { background: #ffc834; }
.a1-reviews--block .a1-review { padding: 16px 18px; }
.a1-reviews--block .a1-review__text { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; }

/* Contact page: form on its own row, centered */
[id="1eb9ddb0"] { justify-content: center !important; }
[id="d2c2c71a"] { flex: 0 1 auto !important; width: 100% !important; max-width: 720px !important; margin-left: auto !important; margin-right: auto !important; }
[id="2be0e185"], [id="2287aca9"] { width: 100% !important; max-width: 100% !important; }
[id="1eb9ddb0"], [id="d2c2c71a"], [id="2be0e185"] { height: auto !important; min-height: 0 !important; }
@media (max-width: 1024px) { [id="4be45b2f"] { padding-left: 0 !important; padding-right: 0 !important; } }

/* keep the section title/divider clear of the first review (Hibu pulls the widget up ~34px over the divider) */
.a1-reviews--block { padding-top: 64px; }
