/* Super Movers Dubai — Frontend Design System (Step 5)
   Hand-authored, dependency-free CSS. No build step required. */

:root{
  --smd-blue-900:#0b2447;
  --smd-blue-800:#0f3460;
  --smd-blue-700:#13487a;
  --smd-blue-600:#1565c0;
  --smd-blue-500:#1e88e5;
  --smd-blue-100:#e8f1fb;
  --smd-blue-50:#f4f8fd;
  --smd-white:#ffffff;
  --smd-ink:#152238;
  --smd-ink-soft:#4a5568;
  --smd-border:#dbe4f0;
  --smd-success:#1e8e5a;
  --smd-success-bg:#eafaf1;
  --smd-error:#c62828;
  --smd-error-bg:#fdecea;
  --smd-radius:10px;
  --smd-radius-sm:6px;
  --smd-shadow:0 4px 18px rgba(11,36,71,.08);
  --smd-shadow-lg:0 12px 34px rgba(11,36,71,.14);
  --smd-container:1200px;
  --smd-header-h:72px;
  --smd-sticky-cta-h:60px;
  --smd-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--smd-font);
  color:var(--smd-ink);
  background:var(--smd-white);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul{margin:0;padding:0;list-style:none}
h1,h2,h3,h4,p{margin:0 0 .5em}
button{font-family:inherit}

/* Focus visibility (accessibility) */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:3px solid var(--smd-blue-500);
  outline-offset:2px;
}
.skip-link{
  position:absolute;left:-9999px;top:0;background:var(--smd-blue-800);color:#fff;
  padding:.75rem 1.25rem;z-index:1000;border-radius:0 0 8px 0;
}
.skip-link:focus{left:0}

/* Layout container */
.container{
  width:100%;
  max-width:var(--smd-container);
  margin-inline:auto;
  padding-inline:1.25rem;
}
@media(min-width:1024px){.container{padding-inline:2rem}}

.section{padding-block:3rem}
@media(min-width:1024px){.section{padding-block:4.5rem}}
.section--tight{padding-block:2rem}
.section--blue{background:var(--smd-blue-50)}
.section--dark{background:var(--smd-blue-900);color:#fff}

.eyebrow{
  color:var(--smd-blue-600);font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  font-size:.8rem;margin-bottom:.5rem;display:block;
}
.section-title{font-size:1.75rem;font-weight:800;color:var(--smd-blue-900);line-height:1.2}
.section--dark .section-title{color:#fff}
@media(min-width:1024px){.section-title{font-size:2.25rem}}
.section-lead{color:var(--smd-ink-soft);max-width:640px;margin-top:.5rem}
.section--dark .section-lead{color:#cfe0f5}
.text-center{text-align:center}
.mx-auto{margin-inline:auto}

/* ---------- Utility bar ---------- */
.utility-bar{
  background:var(--smd-blue-900);color:#fff;font-size:.85rem;
}
.utility-bar .container{
  display:flex;align-items:center;justify-content:space-between;
  padding-block:.55rem;gap:1rem;
}
.utility-bar__links{display:flex;gap:1.25rem;flex-wrap:wrap}
.utility-bar a{opacity:.92}
.utility-bar a:hover{opacity:1;text-decoration:underline}
.utility-bar__hide-mobile{display:none}
@media(min-width:640px){.utility-bar__hide-mobile{display:inline}}

/* ---------- Utility bar: social links (Task K) ---------- */
.utility-bar__social{display:flex;align-items:center;gap:.65rem;flex-shrink:0;margin-left:auto}
.utility-bar__social a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;color:#fff;opacity:.92;transition:opacity .15s ease,background-color .15s ease}
.utility-bar__social a svg{width:19px;height:19px;flex-shrink:0}
.utility-bar__social a:hover,
.utility-bar__social a:focus-visible{opacity:1;background-color:var(--smd-blue-500);text-decoration:none}
.utility-bar__social a:focus-visible{outline:2px solid var(--smd-blue-500);outline-offset:2px}
@media(max-width:639px){
  .utility-bar__links{flex:1 1 auto;min-width:0}
  .utility-bar__social{gap:.45rem}
  .utility-bar__social a{width:30px;height:30px}
  .utility-bar__social a svg{width:17px;height:17px}
}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:100;
  background:#fff;border-bottom:1px solid var(--smd-border);
}
.site-header .container{
  display:flex;align-items:center;justify-content:space-between;
  min-height:var(--smd-header-h);gap:1rem;
}
.brand{display:flex;align-items:center;gap:.6rem;font-weight:800;font-size:1.15rem;color:var(--smd-blue-900)}
.brand__mark{
  width:38px;height:38px;border-radius:9px;background:var(--smd-blue-600);
  display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0;
}
.brand__mark svg{width:22px;height:22px}
.brand__text-sub{display:block;font-size:.7rem;font-weight:600;color:var(--smd-ink-soft);letter-spacing:.03em}

.main-nav{display:none}
@media(min-width:1024px){
  .main-nav{display:flex;align-items:center;gap:1.75rem;margin-inline:auto}
  .main-nav a{font-weight:600;font-size:.95rem;color:var(--smd-ink);padding-block:.5rem;border-bottom:2px solid transparent}
  .main-nav a:hover,.main-nav a:focus-visible{color:var(--smd-blue-600);border-color:var(--smd-blue-500)}
}

.header-cta{display:none}
@media(min-width:1024px){
  .header-cta{display:flex;align-items:center;gap:.75rem}
}

.header-actions{display:flex;align-items:center;gap:.5rem}
.icon-btn{
  display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;
  border-radius:50%;border:1px solid var(--smd-border);background:#fff;color:var(--smd-blue-800);
}
.icon-btn svg{width:20px;height:20px}

.menu-toggle{
  display:inline-flex;flex-direction:column;justify-content:center;gap:5px;
  width:44px;height:44px;border:1px solid var(--smd-border);border-radius:8px;background:#fff;
}
@media(min-width:1024px){.menu-toggle{display:none}}
.menu-toggle span{display:block;width:20px;height:2px;background:var(--smd-blue-900);margin-inline:auto}

/* Mobile nav panel */
.mobile-nav{
  position:fixed;inset:0;z-index:200;visibility:hidden;
}
.mobile-nav[data-open="true"]{visibility:visible}
.mobile-nav__backdrop{
  position:absolute;inset:0;background:rgba(11,36,71,.5);opacity:0;transition:opacity .2s ease;
}
.mobile-nav[data-open="true"] .mobile-nav__backdrop{opacity:1}
.mobile-nav__panel{
  position:absolute;top:0;right:0;height:100%;width:min(320px,86vw);background:#fff;
  box-shadow:var(--smd-shadow-lg);transform:translateX(100%);transition:transform .25s ease;
  display:flex;flex-direction:column;padding:1.25rem;
}
.mobile-nav[data-open="true"] .mobile-nav__panel{transform:translateX(0)}
.mobile-nav__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}
.mobile-nav__close{
  width:40px;height:40px;border-radius:8px;border:1px solid var(--smd-border);background:#fff;
}
.mobile-nav__links{display:flex;flex-direction:column}
.mobile-nav__links a{
  padding:.85rem .25rem;border-bottom:1px solid var(--smd-border);font-weight:600;font-size:1.05rem;
}
.mobile-nav__footer{margin-top:auto;display:flex;flex-direction:column;gap:.6rem;padding-top:1rem}
@media(min-width:1024px){.mobile-nav{display:none !important}}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-weight:700;font-size:.95rem;border-radius:var(--smd-radius-sm);
  padding:.75rem 1.4rem;border:2px solid transparent;cursor:pointer;line-height:1.2;
  transition:transform .12s ease,box-shadow .12s ease,background-color .12s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn svg{width:18px;height:18px;flex-shrink:0}
.btn--primary{background:var(--smd-blue-600);color:#fff}
.btn--primary:hover{background:var(--smd-blue-700)}
.btn--outline{background:#fff;color:var(--smd-blue-700);border-color:var(--smd-blue-600)}
.btn--outline:hover{background:var(--smd-blue-50)}
.btn--whatsapp{background:#1fa855;color:#fff}
.btn--whatsapp:hover{background:#178a45}
.btn--light{background:#fff;color:var(--smd-blue-800)}
.btn--block{width:100%}
.btn--lg{padding:.95rem 1.75rem;font-size:1.02rem}

/* ---------- Hero ---------- */
.hero{
  background:linear-gradient(160deg,var(--smd-blue-900) 0%,var(--smd-blue-700) 60%,var(--smd-blue-600) 100%);
  color:#fff;position:relative;overflow:hidden;
}
.hero .container{
  padding-block:3rem;display:grid;gap:2.5rem;position:relative;z-index:1;
}
@media(min-width:1024px){
  .hero .container{grid-template-columns:1.1fr .9fr;align-items:center;padding-block:5rem}
}
.hero__eyebrow{
  display:inline-flex;align-items:center;gap:.4rem;background:rgba(255,255,255,.12);
  padding:.35rem .8rem;border-radius:999px;font-size:.8rem;font-weight:700;margin-bottom:1rem;
}
.hero h1{font-size:2rem;font-weight:800;line-height:1.15}
@media(min-width:640px){.hero h1{font-size:2.5rem}}
@media(min-width:1024px){.hero h1{font-size:3rem}}
.hero p.hero__lead{font-size:1.05rem;color:#dce8f7;max-width:52ch;margin-top:1rem}
.hero__actions{display:flex;flex-wrap:wrap;gap:.85rem;margin-top:1.75rem}

.hero__shortcuts{display:grid;grid-template-columns:repeat(5,1fr);gap:.5rem;margin-top:2rem}
@media(max-width:639px){.hero__shortcuts{grid-template-columns:repeat(3,1fr)}}
.hero__shortcut{
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:10px;
  padding:.75rem .4rem;text-align:center;font-size:.75rem;font-weight:600;
}
.hero__shortcut svg{width:22px;height:22px;margin-inline:auto .35rem}

/* ---------- Quote form card ---------- */
.quote-card{
  background:#fff;color:var(--smd-ink);border-radius:14px;box-shadow:var(--smd-shadow-lg);
  padding:1.5rem;
}
.quote-card__title{font-size:1.15rem;font-weight:800;color:var(--smd-blue-900);margin-bottom:.25rem}
.quote-card__sub{font-size:.85rem;color:var(--smd-ink-soft);margin-bottom:1rem}

.form-grid{display:grid;gap:.9rem}
.form-grid--gap{margin-top:.9rem}
@media(min-width:480px){.form-grid--2{grid-template-columns:1fr 1fr}}
.form-field{display:flex;flex-direction:column;gap:.35rem}
.form-field label{font-size:.85rem;font-weight:700;color:var(--smd-ink)}
.form-field .req{color:var(--smd-error)}
.form-field input,.form-field select,.form-field textarea{
  border:1.5px solid var(--smd-border);border-radius:var(--smd-radius-sm);
  padding:.7rem .8rem;font-size:1rem;font-family:inherit;width:100%;background:#fff;color:var(--smd-ink);
}
.form-field textarea{resize:vertical;min-height:90px}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--smd-blue-500)}
.form-field.has-error input,.form-field.has-error select,.form-field.has-error textarea{border-color:var(--smd-error)}
.form-error{color:var(--smd-error);font-size:.8rem}
.form-hint{color:var(--smd-ink-soft);font-size:.78rem}
.form-actions{margin-top:.25rem}

/* ---------- Quote form: progressive disclosure (hero/quote task) ---------- */
.quote-extra-fields{overflow:hidden;opacity:1;transform:translateY(0);transition:height .9s cubic-bezier(.16,1,.3,1),opacity .65s ease-out .14s,transform .7s cubic-bezier(.16,1,.3,1) .14s}
.quote-extra-fields.is-collapsed{opacity:0;transform:translateY(8px);pointer-events:none}
.quote-extra-fields.quote-extra-fields--no-anim{transition:none}

@media (prefers-reduced-motion: reduce){
  .quote-extra-fields{transition:none}
}

.alert{border-radius:var(--smd-radius-sm);padding:.9rem 1rem;font-size:.92rem;margin-bottom:1rem}
.alert--success{background:var(--smd-success-bg);color:var(--smd-success);border:1px solid #bfe9d3}
.alert--error{background:var(--smd-error-bg);color:var(--smd-error);border:1px solid #f3c2bd}

/* Honeypot field — hidden from real users, present for bots */
.hp-field{position:absolute;left:-9999px;top:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- Trust indicators ---------- */
.trust-row{display:grid;gap:1.25rem;grid-template-columns:repeat(2,1fr)}
@media(min-width:768px){.trust-row{grid-template-columns:repeat(4,1fr)}}
.trust-item{
  text-align:center;padding:1.25rem 1rem;border:1px solid var(--smd-border);border-radius:var(--smd-radius);
  background:#fff;
}
.trust-item svg{width:28px;height:28px;color:var(--smd-blue-600);margin:0 auto .6rem}
.trust-item strong{display:block;color:var(--smd-blue-900);font-size:.95rem}
.trust-item span{font-size:.82rem;color:var(--smd-ink-soft)}

/* ---------- Cards / grid ---------- */
.grid{display:grid;gap:1.5rem}
.grid--3{grid-template-columns:1fr}
@media(min-width:640px){.grid--3{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.grid--3{grid-template-columns:repeat(3,1fr)}}

.card{
  background:#fff;border:1px solid var(--smd-border);border-radius:var(--smd-radius);
  overflow:hidden;display:flex;flex-direction:column;height:100%;transition:box-shadow .15s ease,transform .15s ease;
}
.card:hover{box-shadow:var(--smd-shadow);transform:translateY(-2px)}
.card__icon{
  width:52px;height:52px;border-radius:12px;background:var(--smd-blue-100);color:var(--smd-blue-700);
  display:flex;align-items:center;justify-content:center;margin:1.25rem 1.25rem 0;
}
.card__icon svg{width:26px;height:26px}
.card__body{padding:1rem 1.25rem 1.5rem;display:flex;flex-direction:column;flex:1}
.card__title{font-weight:700;font-size:1.05rem;color:var(--smd-blue-900);margin-bottom:.4rem}
.card__text{color:var(--smd-ink-soft);font-size:.92rem;flex:1}
.card__link{margin-top:1rem;font-weight:700;color:var(--smd-blue-600);font-size:.9rem;display:inline-flex;align-items:center;gap:.3rem}
.card__media{display:none}

/* ---------- About / company section ---------- */
.about-grid{display:grid;gap:2rem;align-items:center}
@media(min-width:1024px){.about-grid{grid-template-columns:1fr 1fr;gap:3rem}}
.about-media{
  border-radius:var(--smd-radius);overflow:hidden;background:var(--smd-blue-100);
  aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;color:var(--smd-blue-600);
}
.checklist{display:flex;flex-direction:column;gap:.75rem;margin-top:1.25rem}
.checklist li{display:flex;gap:.65rem;align-items:flex-start;font-size:.95rem;color:var(--smd-ink)}
.checklist svg{width:20px;height:20px;color:var(--smd-success);flex-shrink:0;margin-top:.1rem}

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--smd-blue-800);color:#fff;border-radius:16px;padding:2.25rem 1.5rem;text-align:center;
}
@media(min-width:1024px){.cta-band{padding:3rem}}
.cta-band__actions{display:flex;flex-wrap:wrap;gap:.85rem;justify-content:center;margin-top:1.25rem}

/* ---------- Footer ---------- */
.site-footer{position:relative;overflow:hidden;background:linear-gradient(160deg,var(--smd-blue-900) 0%,#0d3565 45%,var(--smd-blue-800) 100%);color:#cfe0f5;padding-block:3rem 2.5rem}
@media(min-width:1024px){.site-footer{padding-block:3.5rem 2.5rem}}
.footer-deco{position:absolute;bottom:0;pointer-events:none;z-index:0}
.footer-deco--wave-left{left:0;width:42%;max-width:420px;height:auto}
.footer-deco--wave-right{right:0;width:42%;max-width:420px;height:auto}
.footer-deco--skyline{right:0;bottom:0;width:55%;max-width:600px;height:auto}
.site-footer .container{position:relative;z-index:1;max-width:1520px}
.footer-grid{display:grid;gap:2.5rem;grid-template-columns:1fr}
@media(min-width:640px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1024px){.footer-grid{grid-template-columns:repeat(4,1fr);gap:2rem}}
@media(min-width:1024px){.footer-col:not(:first-child){border-left:1px solid rgba(30,136,229,.22);padding-left:1.75rem}}
.footer-heading-row{display:flex;align-items:center;gap:.65rem;margin-bottom:1rem}
.footer-heading{margin:0;color:#fff;font-size:1rem;font-weight:700;letter-spacing:.02em;position:relative;padding-bottom:.65rem}
.footer-heading::after{content:"";position:absolute;left:0;bottom:0;width:32px;height:2px;background:var(--smd-blue-500);border-radius:2px}
.footer-col>h4.footer-heading{margin-bottom:1rem}
.footer-icon-circle{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--smd-blue-500);color:#fff;flex-shrink:0}
.footer-icon-circle svg{width:16px;height:16px}
.footer-icon-circle--sm{width:20px;height:20px}
.footer-icon-circle--sm svg{width:11px;height:11px}
.footer-text{max-width:34ch;color:#a9c2e0;font-size:.9rem;line-height:1.6;margin:0;text-align:justify}
.footer-check-list{display:flex;flex-direction:column;gap:.65rem;list-style:none;margin:0;padding:0}
.footer-check-list li{display:flex;align-items:center;gap:.6rem;color:#c9d9ee;font-size:.9rem}
.footer-contact-name{color:#fff;font-weight:700;margin:0 0 .65rem}
.footer-contact-row{display:flex;align-items:center;gap:.6rem;margin:0 0 .65rem;color:#c9d9ee;font-size:.9rem}
.footer-contact-row a{display:flex;align-items:center;gap:.6rem;color:#c9d9ee}
.footer-contact-row a:hover{text-decoration:underline;color:#fff}
.footer-col a:hover{text-decoration:underline}
.footer-payments-strip{display:flex;flex-wrap:wrap;align-items:center;gap:1.5rem;margin-top:2.5rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,.15)}
.footer-payments-label{display:flex;align-items:center;gap:.65rem}
.footer-payments-label-text{color:#fff;font-size:.82rem;font-weight:600;line-height:1.4}
.footer-payments-logos{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}
.footer-payments-logos img{height:40px;width:auto;border-radius:7px;display:block;box-shadow:0 2px 6px rgba(0,0,0,.2)}
.footer-payments-trust{margin-left:auto;color:#8fa8c9;font-size:.78rem;letter-spacing:.12em;font-weight:600;text-transform:uppercase}
.footer-bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:1.75rem;padding-top:1.25rem;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:space-between;font-size:.82rem;color:#a9c2e0}
.footer-bottom a{color:#5eb4ff;display:inline-flex;align-items:center;gap:.3rem}
.footer-bottom a:hover{text-decoration:underline}
.footer-extlink{width:12px;height:12px}
@media(max-width:639px){.footer-payments-trust{margin-left:0;width:100%}.footer-bottom{flex-direction:column;align-items:flex-start}}

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:150;display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));
  box-shadow:0 -4px 16px rgba(11,36,71,.15);
  padding-bottom:env(safe-area-inset-bottom,0px);
  transition:transform .25s ease;
}
.sticky-cta[data-hidden="true"]{
  transform:translateY(100%);
  pointer-events:none;
}
@media (prefers-reduced-motion: reduce){
  .sticky-cta{transition:none}
}
.sticky-cta a{
  display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.9rem .5rem;
  font-weight:700;font-size:.95rem;
}
.sticky-cta a svg{width:19px;height:19px}
.sticky-cta__call{background:var(--smd-blue-700);color:#fff}
.sticky-cta__whatsapp{background:#1fa855;color:#fff}
@media(max-width:1023.98px){
  body{padding-bottom:calc(var(--smd-sticky-cta-h) + env(safe-area-inset-bottom,0px) + .75rem)}
}
@media(min-width:1024px){.sticky-cta{display:none}}

/* ---------- Breadcrumbs / inner pages ---------- */
.breadcrumbs{font-size:.85rem;color:var(--smd-ink-soft);padding-block:1rem}
.breadcrumbs a:hover{text-decoration:underline}
.page-hero{background:var(--smd-blue-50);padding-block:2.5rem}
.page-hero h1{color:var(--smd-blue-900);font-size:1.85rem;font-weight:800}
.prose{max-width:75ch;color:var(--smd-ink)}
.prose p{margin-bottom:1em}
.prose h2{color:var(--smd-blue-900);font-size:1.4rem;margin-top:1.75em}

.empty-state{
  text-align:center;padding:3rem 1.5rem;border:1px dashed var(--smd-border);border-radius:var(--smd-radius);
  color:var(--smd-ink-soft);
}

.badge{
  display:inline-block;background:var(--smd-blue-100);color:var(--smd-blue-700);font-size:.75rem;
  font-weight:700;padding:.25rem .6rem;border-radius:999px;
}

.visually-hidden{
  position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* No-JS fallback: never hide content that depends on JS being present */
.no-js-hide{display:none}
/* ============================================================
   Step 13 -- real photography for hero sections (pure addition;
   no existing rule above this point is modified). Pages that do
   not set --hero-img / --page-hero-img keep their exact current
   approved look.
   ============================================================ */

/* Real logo sizing in the header (replaces the icon+text mark) */
.brand__mark--logo{width:auto;height:auto;background:none;border-radius:0}
.brand__mark--logo img{display:block;height:48px;width:auto;max-width:none}
.mobile-nav__header .brand__mark--logo img{height:36px}

/* Homepage / movers-in-dubai hero photo layer. Only applied when the
   page sets --hero-img inline; keeps the approved gradient on top as
   a darkening overlay so the existing white text stays readable. */
.hero.hero--photo{
  background-image:linear-gradient(160deg,rgba(11,36,71,.90) 0%,rgba(19,72,122,.86) 60%,rgba(21,101,192,.80) 100%),var(--hero-img);
  background-size:cover;background-position:center;
}

/* Interior-page hero photo layer for .page-hero. Only applied when
   the page/service sets --page-hero-img inline; other pages keep the
   existing plain light .page-hero look untouched. */
.page-hero.page-hero--photo{
  background-image:linear-gradient(160deg,rgba(11,36,71,.86) 0%,rgba(19,72,122,.82) 100%),var(--page-hero-img);
  background-size:cover;background-position:center;color:#fff;
}
.page-hero.page-hero--photo h1{color:#fff}
.page-hero.page-hero--photo .section-lead{color:#e7eefb}
.page-hero.page-hero--photo .breadcrumbs{color:#dce8f7}
.page-hero.page-hero--photo .breadcrumbs a{color:#fff}
.page-hero.page-hero--photo .prose{color:#f1f5fb}
.page-hero.page-hero--photo .prose a{color:#fff;text-decoration:underline}

/* --- TASK C: Premium homepage redesign (consolidated) ---
   Replaces the two previous homepage override layers (Task A + Task B)
   with one clean set of rules. Nothing above this block was edited.
   Global header/utility-bar rules apply site-wide (shared chrome); every
   other rule is scoped to body.page-home so only the homepage is affected.
   Consolidated 2026-09-14. --- */

/* ---------- 1. Header: premium navy/blue/white header, larger logo, call block, mobile CTA (global) ---------- */
:root{
  --smd-header-h:90px;
  --smd-mobile-cta-h:60px;
}
@media(max-width:767px){
  :root{--smd-header-h:64px}
}

.utility-bar{
  background:linear-gradient(90deg,var(--smd-blue-900) 0%,#0d2d5c 100%);
}
.utility-bar__address{
  display:inline-flex;align-items:center;gap:.35rem;opacity:.92;
}
.utility-bar__address svg{flex-shrink:0}

.site-header{
  box-shadow:0 1px 0 var(--smd-border);
  position:sticky;top:0;z-index:100;
}
.site-header::after{
  content:"";
  display:block;
  position:absolute;
  left:0;right:0;bottom:-1px;
  height:3px;
  background:linear-gradient(90deg,var(--smd-blue-700),var(--smd-blue-500) 45%,var(--smd-blue-700));
}
.site-header .container{position:relative}

.brand__mark--logo img{
  height:56px;
  filter:drop-shadow(0 1px 1px rgba(11,36,71,.12));
}
@media(min-width:1024px){
  .brand__mark--logo img{height:64px}
  .site-header .container{display:grid;grid-template-columns:auto 1fr auto;align-items:center}
  .main-nav{justify-self:center}
}
@media(max-width:767px){
  .brand__mark--logo img{height:42px}
}

.main-nav a{position:relative}
.main-nav a.is-active{
  color:var(--smd-blue-700);
  border-color:var(--smd-blue-500);
  font-weight:800;
}
.mobile-nav__links a.is-active{
  color:var(--smd-blue-600);
  font-weight:800;
}

.header-call{
  display:flex;align-items:center;gap:.6rem;
  text-decoration:none;color:var(--smd-ink);
}
.header-call__icon{
  display:flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:50%;
  background:var(--smd-blue-600);color:#fff;flex-shrink:0;
}
.header-call__icon svg{width:18px;height:18px}
.header-call__text{display:flex;flex-direction:column;line-height:1.2}
.header-call__text small{font-size:.72rem;color:var(--smd-ink-soft);font-weight:600}
.header-call__text strong{font-size:.95rem;color:var(--smd-blue-900)}
.header-divider{width:1px;height:32px;background:var(--smd-border)}

.btn.btn--quote-gradient{
  background:linear-gradient(135deg,var(--smd-blue-600),var(--smd-blue-800));
  border-color:transparent;
}
.header-cta .btn,
.mobile-nav__footer .btn{border-radius:10px}

.mobile-quote-bar{display:none}
@media(max-width:1023px){
  .mobile-quote-bar{
    display:block;
    padding:.65rem 1rem;
    background:#fff;
    border-top:1px solid var(--smd-border);
  }
  .mobile-quote-bar .btn{border-radius:10px}
  .mobile-nav__backdrop{top:calc(var(--smd-header-h) + var(--smd-mobile-cta-h))}
  .mobile-nav__panel{
    top:calc(var(--smd-header-h) + var(--smd-mobile-cta-h));
    height:calc(100% - var(--smd-header-h) - var(--smd-mobile-cta-h));
  }
}

/* ---------- Homepage section rhythm: alternating tints for depth ---------- */
body.page-home .home-services-section{background:var(--smd-blue-50)}
body.page-home .home-about-section{background:#fff}
body.page-home .home-seo-section{background:#fff}
body.page-home .section{padding-block:3rem}
@media(min-width:1024px){
  body.page-home .section{padding-block:3.5rem}
}

/* ---------- 2. Hero: cinematic photo + left content / right form ---------- */
body.page-home .hero.hero--photo{
  background-image:linear-gradient(100deg,rgba(11,36,71,.94) 0%,rgba(11,36,71,.84) 30%,rgba(11,36,71,.5) 56%,rgba(11,36,71,.2) 100%),var(--hero-img);
}
body.page-home .hero .container{padding-block:2rem}
@media(min-width:1024px){
  body.page-home .hero{min-height:500px}
  body.page-home .hero .container{padding-block:2.5rem;grid-template-columns:3fr 2fr}
}
body.page-home #quote-form{scroll-margin-top:100px}
body.page-home .hero h1{font-size:2.25rem;line-height:1.1}
@media(min-width:640px){
  body.page-home .hero h1{font-size:2.75rem}
}
@media(min-width:1024px){
  body.page-home .hero h1{font-size:3.5rem}
}
body.page-home .hero h1 .hero__accent{color:var(--smd-blue-500)}
body.page-home .hero__lead{max-width:34rem;margin-top:.55rem}
body.page-home .hero__actions:empty{display:none}

/* ---------- 3. Icon rail: lightweight modern strip (was boxed grid) ---------- */
body.page-home .hero__shortcuts{
  display:flex;
  flex-wrap:wrap;
  grid-template-columns:none;
  gap:0;
  margin-top:.85rem;
  border-top:1px solid rgba(255,255,255,.16);
  padding-top:.65rem;
}
body.page-home .hero__shortcut{
  background:none;
  border:0;
  border-right:1px solid rgba(255,255,255,.16);
  padding:.2rem 1rem;
  flex:1 1 0;
  text-align:center;
  transition:opacity .15s ease;
}
body.page-home .hero__shortcut:hover{opacity:.8}
body.page-home .hero__shortcut:last-child{border-right:0}
body.page-home .hero__shortcut-icon{
  display:flex;align-items:center;justify-content:center;
  width:28px;height:28px;border-radius:50%;
  background:rgba(255,255,255,.14);
  margin:0 auto .35rem;
  transition:background-color .15s ease;
}
body.page-home .hero__shortcut:hover .hero__shortcut-icon{background:rgba(255,255,255,.24)}
body.page-home .hero__shortcut-icon svg{margin:0;width:14px;height:14px}
body.page-home .hero__shortcut div{font-size:.72rem;letter-spacing:.01em;opacity:.92}
@media(max-width:639px){
  body.page-home .hero__shortcut{flex:1 1 33%;border-right:0;border-bottom:1px solid rgba(255,255,255,.14);padding-block:.6rem}
}

/* ---------- Quote card presentation ---------- */
body.page-home .quote-card{
  border-radius:20px;
  border:1px solid var(--smd-border);
  padding:1.1rem;
  box-shadow:0 10px 28px rgba(11,36,71,.14);
}
@media(min-width:1024px){
  body.page-home .quote-card{padding:1.15rem;max-width:370px;margin-left:auto}
}
body.page-home .quote-card__title{font-size:1.05rem;margin-bottom:.1rem}
@media(min-width:768px){
  body.page-home .quote-card__title{font-size:1.15rem}
}
body.page-home .quote-card__sub{margin-bottom:.4rem}
body.page-home .form-grid{gap:.6rem}
body.page-home .form-grid--gap{margin-top:.6rem}
body.page-home .form-field{gap:.2rem}
body.page-home .form-field input,
body.page-home .form-field select,
body.page-home .form-field textarea{
  border-radius:9px;
  min-height:40px;
  padding:.55rem .7rem;
}
body.page-home .form-field textarea{min-height:70px}
body.page-home .form-field input:focus,
body.page-home .form-field select:focus,
body.page-home .form-field textarea:focus{
  box-shadow:0 0 0 3px rgba(30,136,229,.16);
}
body.page-home .form-actions{margin-top:.15rem}
body.page-home .form-actions .btn{border-radius:10px;padding:.68rem 1.5rem;font-size:.95rem}

/* ---------- 4. Floating trust strip: premium 3-item panel ---------- */
body.page-home .home-trust-strip{
  padding-top:0;
  padding-bottom:1.75rem;
  position:relative;
  z-index:3;
  background:transparent !important;
}
body.page-home .home-trust-strip .trust-row{
  display:flex;
  flex-direction:column;
  background:#fff;
  border-radius:18px;
  box-shadow:0 14px 34px rgba(11,36,71,.14);
  padding:0;
  margin-top:-46px;
  position:relative;
  overflow:hidden;
}
@media(min-width:560px){
  body.page-home .home-trust-strip .trust-row{
    flex-direction:row;
    align-items:stretch;
  }
}
body.page-home .home-trust-strip .trust-item{
  border:0;
  background:transparent;
  box-shadow:none;
  padding:1.3rem 1.25rem;
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  column-gap:.75rem;
  row-gap:.15rem;
  text-align:left;
  flex:1 1 0;
  min-width:0;
  border-bottom:1px solid var(--smd-border);
}
body.page-home .home-trust-strip .trust-item:last-child{border-bottom:0}
@media(min-width:560px){
  body.page-home .home-trust-strip .trust-item{border-bottom:0}
}
body.page-home .home-trust-strip .trust-item svg{
  grid-column:1;
  grid-row:1 / span 2;
  width:20px;height:20px;flex-shrink:0;
  background:var(--smd-blue-100);
  color:var(--smd-blue-700);
  border-radius:50%;
  padding:8px;
  box-sizing:content-box;
}
body.page-home .home-trust-strip .trust-item strong{display:block;color:var(--smd-blue-900);grid-column:2;grid-row:1;font-size:.88rem}
body.page-home .home-trust-strip .trust-item span{color:var(--smd-ink-soft);font-size:.78rem;grid-column:2;grid-row:2}
@media(min-width:560px){
  body.page-home .home-trust-strip .trust-item + .trust-item{
    border-left:1px solid var(--smd-border);
  }
}
@media(max-width:767px){
  body.page-home .home-trust-strip .trust-row{margin-top:-40px;padding:1.25rem 1rem}
  body.page-home .home-trust-strip .trust-item{text-align:left}
}

/* ---------- 5. Service cards: horizontal image cards + CTA panel (Step: services redesign) ---------- */
body.page-home .home-services-section{position:relative;overflow:hidden}
body.page-home .home-services-section .container{position:relative;z-index:1}
body.page-home .home-services-section .home-services-bg{
  position:absolute;left:0;right:0;bottom:0;height:130px;
  opacity:.055;pointer-events:none;z-index:0;
}
body.page-home .home-services-section .home-services-bg svg{display:block;width:100%;height:100%}

body.page-home .home-services-section .services-eyebrow-row{display:inline-flex;align-items:center;gap:.85rem}
body.page-home .home-services-section .services-eyebrow-row .eyebrow{margin-bottom:0}
body.page-home .home-services-section .services-eyebrow-line{width:34px;height:2px;background:var(--smd-blue-500);opacity:.5;display:inline-block}
body.page-home .home-services-section .services-title-accent{color:var(--smd-blue-600)}

body.page-home .home-services-section .grid--3{margin-top:1.75rem !important;gap:1.5rem}
@media(min-width:1024px){
  body.page-home .home-services-section .grid--3{grid-template-columns:repeat(2,1fr)}
}
@media(min-width:1280px){
  body.page-home .home-services-section .grid--3{grid-template-columns:repeat(3,1fr)}
}

body.page-home .home-services-section .card{
  display:grid;
  grid-template-columns:1fr;
  border:1px solid var(--smd-border);
  border-radius:18px;
  position:relative;
  overflow:hidden;
  box-shadow:0 6px 20px rgba(11,36,71,.06);
  transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease;
}
body.page-home .home-services-section .card::before{
  content:"";
  position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,var(--smd-blue-600),var(--smd-blue-500));
  transform:scaleX(0);transform-origin:left;
  transition:transform .25s ease;
  z-index:2;
}
body.page-home .home-services-section .card:hover{
  box-shadow:0 16px 34px rgba(11,36,71,.14);
  transform:translateY(-3px);
}
body.page-home .home-services-section .card:hover::before{transform:scaleX(1)}

body.page-home .home-services-section .card__icon{
  width:52px;height:52px;border-radius:50%;
  background:var(--smd-blue-100);color:var(--smd-blue-700);
  margin:1.5rem 1.5rem 0;
}
body.page-home .home-services-section .card__icon svg{width:24px;height:24px}
body.page-home .home-services-section .card__body{padding:1rem 1.5rem 1.5rem}
body.page-home .home-services-section .card__title{font-size:1.1rem}
body.page-home .home-services-section .card__link{transition:gap .15s ease}
body.page-home .home-services-section .card__link:hover{gap:.55rem}

body.page-home .home-services-section .card__media{
  display:block;
  order:-1;
  overflow:hidden;
  position:relative;
  height:170px;
}
body.page-home .home-services-section .card__media img{
  width:100%;height:100%;object-fit:cover;display:block;
}
@media(min-width:640px){
  body.page-home .home-services-section .card{
    grid-template-columns:1fr 42%;
    grid-template-rows:auto 1fr;
  }
  body.page-home .home-services-section .card__icon{grid-column:1;grid-row:1;order:0}
  body.page-home .home-services-section .card__body{grid-column:1;grid-row:2;order:0}
  body.page-home .home-services-section .card__media{
    grid-column:2;grid-row:1 / 3;
    order:0;height:auto;
    clip-path:polygon(14% 0,100% 0,100% 100%,0 100%);
  }
}
@media(min-width:640px){
  body.page-home .home-services-section .card__media img{transition:transform .3s ease}
  body.page-home .home-services-section .card:hover .card__media img{transform:scale(1.04)}
}
@media(prefers-reduced-motion:reduce){
  body.page-home .home-services-section .card,
  body.page-home .home-services-section .card::before,
  body.page-home .home-services-section .card__media img,
  body.page-home .home-services-section .card__link{transition:none}
  body.page-home .home-services-section .card:hover{transform:none}
  body.page-home .home-services-section .card:hover .card__media img{transform:none}
}

/* Bottom CTA panel */
body.page-home .home-services-section .services-cta-panel{
  position:relative;z-index:1;
  margin-top:1.75rem;
  background:#fff;
  border:1px solid var(--smd-border);
  border-radius:18px;
  box-shadow:0 6px 20px rgba(11,36,71,.06);
  padding:1.75rem 2rem;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:1.5rem 2rem;
}
body.page-home .home-services-section .services-cta-panel__intro{
  display:flex;align-items:center;gap:1.1rem;flex:1 1 320px;min-width:0;
}
body.page-home .home-services-section .services-cta-panel__icon{
  width:56px;height:56px;flex-shrink:0;border-radius:50%;
  background:var(--smd-blue-100);color:var(--smd-blue-700);
  display:flex;align-items:center;justify-content:center;
}
body.page-home .home-services-section .services-cta-panel__icon svg{width:26px;height:26px}
body.page-home .home-services-section .services-cta-panel__eyebrow{
  display:block;color:var(--smd-blue-600);font-weight:700;font-size:.78rem;
  text-transform:uppercase;letter-spacing:.05em;margin-bottom:.2rem;
}
body.page-home .home-services-section .services-cta-panel__title{
  font-size:1.15rem;font-weight:800;color:var(--smd-blue-900);margin:0 0 .25rem;
}
body.page-home .home-services-section .services-cta-panel__text{
  color:var(--smd-ink-soft);font-size:.9rem;margin:0;
}
body.page-home .home-services-section .services-cta-panel__action{flex:0 0 auto}
body.page-home .home-services-section .services-cta-panel__action .btn{white-space:nowrap}
body.page-home .home-services-section .services-cta-panel__trust{
  list-style:none;margin:0;padding-left:1.5rem;
  display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;
  border-left:1px solid var(--smd-border);
}
body.page-home .home-services-section .services-cta-panel__trust li{
  display:flex;align-items:center;gap:.35rem;
  font-size:.85rem;font-weight:600;color:var(--smd-ink-soft);
}
body.page-home .home-services-section .services-cta-panel__trust li svg{color:var(--smd-success);flex-shrink:0}
@media(max-width:767px){
  body.page-home .home-services-section .services-cta-panel{padding:1.5rem 1.25rem;flex-direction:column;align-items:flex-start}
  body.page-home .home-services-section .services-cta-panel__action{width:100%}
  body.page-home .home-services-section .services-cta-panel__action .btn{width:100%;justify-content:center}
  body.page-home .home-services-section .services-cta-panel__trust{border-left:0;padding-left:0;padding-top:1rem;border-top:1px solid var(--smd-border);width:100%}
}

/* ---------- 6. Team / about: stronger 50/50 composition ---------- */
body.page-home .home-about-section .about-grid{gap:3rem;align-items:center}
body.page-home .home-about-section .about-media{
  position:relative;
  border-radius:18px;
  box-shadow:0 24px 50px rgba(11,36,71,.16);
}
body.page-home .home-about-section .about-media::before{
  content:"";
  position:absolute;
  top:-16px;left:-16px;right:16px;bottom:16px;
  border:2px solid var(--smd-blue-500);
  border-radius:18px;
  z-index:-1;
}
body.page-home .home-about-section .about-media img{border-radius:18px}
body.page-home .home-about-section .checklist li{
  background:#fff;border:1px solid var(--smd-border);border-radius:10px;
  padding:.6rem .9rem;gap:.75rem;
}
body.page-home .home-about-section .checklist svg{
  background:var(--smd-blue-100);color:var(--smd-blue-700);
  border-radius:50%;padding:3px;margin-top:0;
}

/* ---------- 8. SEO content: editorial layout, full copy preserved ---------- */
body.page-home .home-seo-content{
  max-width:74ch;
  background:#fff;
  border:1px solid var(--smd-border);
  border-radius:18px;
  padding:2rem;
  box-shadow:0 6px 20px rgba(11,36,71,.05);
}
@media(min-width:768px){
  body.page-home .home-seo-content{padding:2.75rem 3rem}
}
body.page-home .home-seo-content h2{
  color:var(--smd-blue-900);
  font-size:1.4rem;
  border-left:4px solid var(--smd-blue-500);
  padding-left:.85rem;
  margin-top:2.25rem;
}
body.page-home .home-seo-content h2:first-child{margin-top:0}
body.page-home .home-seo-content h3{
  color:var(--smd-blue-700);
  font-size:1.1rem;
  margin-top:1.5rem;
}
body.page-home .home-seo-content p{line-height:1.75;color:var(--smd-ink-soft)}
body.page-home .home-seo-content ul,
body.page-home .home-seo-content ol{margin:.75rem 0 1.25rem 1.25rem}
body.page-home .home-seo-content li{margin-bottom:.4rem}

/* ---------- 9. Final CTA: premium navy/gradient band ---------- */
body.page-home .home-cta-section .cta-band{
  background:radial-gradient(circle at 15% 20%,rgba(255,255,255,.08),transparent 40%),
             linear-gradient(135deg,var(--smd-blue-900) 0%,var(--smd-blue-600) 100%);
  border-radius:22px;
  box-shadow:0 24px 50px rgba(11,36,71,.28);
  padding:2.75rem 1.75rem;
}
@media(min-width:1024px){
  body.page-home .home-cta-section .cta-band{padding:3.75rem}
}
body.page-home .home-cta-section .cta-band .section-title{font-size:2rem}
body.page-home .home-cta-section .cta-band__actions .btn--outline{
  border-color:rgba(255,255,255,.6);
}
body.page-home .home-cta-section .cta-band__actions .btn--outline:hover{
  background:rgba(255,255,255,.1);
}

@media(prefers-reduced-motion:reduce){
  .btn,.main-nav a,.hero__shortcut,.trust-item,.card{transition:none}
}

/* TASK C FIX: trust-strip mobile overflow (narrow grid column caused text clipping) */
@media(max-width:767px){
  body.page-home .home-trust-strip .trust-row{grid-template-columns:1fr}
  body.page-home .home-trust-strip .trust-item{min-width:0}
  body.page-home .home-trust-strip .trust-item > div{min-width:0}
  body.page-home .home-trust-strip .trust-item + .trust-item{border-left:0;border-top:1px solid var(--smd-border);padding-top:.85rem}
}
/* consolidated into .footer-payments-strip rules above (Task H) */


/* ---------- 10. Below-services redesign (Task 5): team split, compact detail cards, wide SEO content ---------- */

/* -- Team / about: 46/54 split + stronger heading (desktop only; mobile stacking unchanged) -- */
@media(min-width:1024px){
  body.page-home .home-about-section .about-grid{grid-template-columns:.85fr 1fr;gap:3.5rem}
  body.page-home .home-about-section .section-title{font-size:2.3rem}
}
body.page-home .home-about-section{background:#fff}

/* -- SEO / informational content: wide readable editorial surface -- */
body.page-home .home-seo-content{max-width:1140px;padding-block:1.5rem;padding-inline:2.25rem}
@media(min-width:768px){
  body.page-home .home-seo-content{padding-block:1.75rem;padding-inline:3.25rem}
}
body.page-home .home-seo-content > p,
body.page-home .home-seo-content > ul,
body.page-home .home-seo-content > ol{max-width:75ch}

/* ============================================================
   TASK 8 -- MOBILE HOMEPAGE PASS (appended last on purpose: this
   guarantees every rule below wins the cascade over any earlier
   equal-specificity body.page-home rule, so it isn't relying on
   fragile source-order assumptions). Desktop (>=1024px) and every
   other page are untouched -- every selector here is scoped to
   body.page-home and to <=767px / <=639px.
   ============================================================ */
@media(max-width:639px){
  body.page-home .home-services-section .grid--3{gap:.75rem}
  body.page-home .home-services-section .card{grid-template-columns:1fr 38%;grid-template-rows:auto 1fr;border-radius:14px}
  body.page-home .home-services-section .card__icon{width:36px;height:36px;margin:.85rem .85rem 0;grid-column:1;grid-row:1;order:0}
  body.page-home .home-services-section .card__icon svg{width:18px;height:18px}
  body.page-home .home-services-section .card__body{padding:.5rem .85rem .85rem;grid-column:1;grid-row:2;order:0}
  body.page-home .home-services-section .card__title{font-size:.95rem}
  body.page-home .home-services-section .card__text{font-size:.78rem;line-height:1.35;margin:.25rem 0 .5rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  body.page-home .home-services-section .card__link{font-size:.8rem}
  body.page-home .home-services-section .card__media{grid-column:2;grid-row:1/3;order:0;height:auto;clip-path:polygon(14% 0,100% 0,100% 100%,0 100%)}
  body.page-home .hero .container{padding-block:1.5rem}
  body.page-home .hero h1{font-size:1.85rem}
  body.page-home .hero__shortcut{padding-block:.45rem}
}
@media(max-width:767px){
  body.page-home .home-trust-strip .trust-row{flex-direction:row;gap:.4rem}
  body.page-home .home-trust-strip .trust-item{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.15rem;padding:.5rem .2rem;border:0;background:transparent;box-shadow:none}
  body.page-home .home-trust-strip .trust-item strong{font-size:.7rem;line-height:1.15}
  body.page-home .home-trust-strip .trust-item span{font-size:.6rem;line-height:1.2;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
  body.page-home .home-about-section .checklist{gap:.4rem}
  body.page-home .home-about-section .checklist li{background:none;border:0;box-shadow:none;padding:.15rem 0;gap:.6rem}
  body.page-home .home-services-section .services-cta-panel{padding:1.15rem 1rem;flex-direction:column;align-items:flex-start;gap:.85rem}
  body.page-home .home-services-section .services-cta-panel__icon{width:44px;height:44px}
  body.page-home .home-services-section .services-cta-panel__title{font-size:1rem}
  body.page-home .home-services-section .services-cta-panel__trust{display:none}
  body.page-home .home-seo-content{padding-inline:1.125rem;font-size:.9375rem}
  body.page-home .cta-band{padding:2rem 1.25rem}
  body.page-home .cta-band__actions{flex-direction:column;align-items:stretch}
  body.page-home .cta-band__actions .btn{width:100%}
}

/* ============================================================
   TASK 9 -- MOBILE HEADER + HERO REORDER (appended last on
   purpose: guarantees every rule below wins the cascade over any
   earlier equal-specificity rule elsewhere in this file, per the
   Task 8 cascade-order lesson). Desktop/tablet (>=768px) and every
   other page are untouched. Header/utility-bar rules are global
   (shared chrome, same convention as the existing TASK C block
   above); hero-reorder + shortcuts rules are scoped to
   body.page-home since that markup (quote-card/hero__shortcuts)
   only exists on the homepage.
   ============================================================ */
@media(max-width:767px){
  /* 1. Utility bar: hide entirely on mobile only. Data/URLs (address,
     social links) are left untouched in the markup. */
  .utility-bar{display:none}

  /* 2. Mobile main header: drop the mobile "Get a Free Quote" bar and
     zero the CSS var that reserves space for it in the hamburger
     menu's slide-out panel calc, so nothing shifts or clips. Tablet
     (768-1023px) keeps the bar and the 60px var exactly as before. */
  .mobile-quote-bar{display:none}
  :root{--smd-mobile-cta-h:0px}

  /* 3-4-7. Hero reorder: promote the two structural wrapper divs so
     their children become direct grid items of .hero .container,
     then resequence with `order`. No markup duplicated. Grid gap is
     replaced with per-item margins so the H1+description block stays
     tight while the quote card gets one deliberate, small gap above
     it. Vertical padding is also tightened (was 2rem/1.5rem
     depending on breakpoint) to remove the obsolete extra space left
     by the previous (pre-reorder) mobile layout. */
  body.page-home .hero .container{gap:0;padding-block:1.25rem}
  body.page-home .hero .container > div{display:contents}
  body.page-home .hero h1{order:1}
  body.page-home .hero__lead{order:2}
  body.page-home .hero__actions{order:3;margin-top:0}
  body.page-home .hero__actions:has(> a){margin-top:1rem}
  body.page-home .hero .quote-card{order:4;margin-top:1rem}
  body.page-home .hero__shortcuts{order:5}

  /* 5. Service shortcuts: single horizontally-scrollable row instead
     of the wrapped 3-per-row grid, no visible scrollbar, still
     compact icon-over-label items (not large stacked cards). All 5
     shortcuts remain present and reachable by horizontal swipe. */
  body.page-home .hero__shortcuts{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  body.page-home .hero__shortcuts::-webkit-scrollbar{display:none}
  body.page-home .hero__shortcut{flex:0 0 32%;border-right:1px solid rgba(255,255,255,.16);border-bottom:0;padding:.5rem .6rem}
}

/* Step 5  Public Blog Comments (appended, no existing rules modified) */
.comments-section{border-top:1px solid var(--smd-border)}
.comments-heading{font-size:1.2rem;margin-bottom:1rem}
.comments-list-wrap{max-width:760px;margin:0 auto}
.comments-empty{color:var(--smd-ink-soft);font-size:.95rem}
.comments-list{display:flex;flex-direction:column;gap:1rem;margin-bottom:2.5rem}
.comment-card{border:1px solid var(--smd-border);border-radius:var(--smd-radius-sm);padding:1rem 1.25rem;background:var(--smd-white)}
.comment-meta{display:flex;flex-wrap:wrap;align-items:baseline;gap:.6rem;margin-bottom:.4rem}
.comment-author{font-weight:700;color:var(--smd-ink)}
.comment-date{font-size:.8rem;color:var(--smd-ink-soft)}
.comment-body{margin:0;color:var(--smd-ink-soft);font-size:.95rem;white-space:pre-line}
.comment-form-wrap{max-width:760px;margin:0 auto 2.5rem;background:var(--smd-white);border:1px solid var(--smd-border);border-radius:14px;box-shadow:var(--smd-shadow);padding:1.75rem 2rem}
.comment-form-heading{font-size:1.4rem;font-weight:800;margin-bottom:.35rem;text-align:left}
.comment-form-subtext{color:var(--smd-ink-soft);font-size:.92rem;margin-bottom:1.25rem}
.comment-rating{display:inline-flex;gap:1px;font-size:.85rem}
.comment-rating .star--filled{color:#f5a623}
.comment-rating .star--empty{color:var(--smd-border)}
.form-field--rating .form-field-label{display:block;font-size:.85rem;font-weight:700;color:var(--smd-ink);margin-bottom:.4rem}
.star-rating{display:inline-flex;flex-direction:row-reverse;gap:.25rem;align-self:flex-start}
.star-rating input{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden}
.star-rating label{font-size:2.1rem;line-height:1;color:var(--smd-border);cursor:pointer;padding:.1rem .15rem;transition:color .15s ease}
.star-rating input:checked ~ label,.star-rating label:hover,.star-rating label:hover ~ label{color:#f5a623}
.star-rating input:focus-visible + label{outline:2px solid var(--smd-blue-500);outline-offset:2px;border-radius:4px}
.form-field--rating.has-error .star-rating label{color:var(--smd-error)}
@media (max-width:639px){.comment-form-wrap{padding:1.25rem 1.25rem;border-radius:12px}}

/* ==========================================================================
   HOME -- legacy SEO content redesign (Phase: home page legacy content).
   Presentation only: the underlying h2/h3/p/ul/img markup and all copy are
   unchanged. New wrapper divs (.seo-tags/.seo-block/.seo-feature-card/
   .seo-callout) group the existing content into a card-based layout in
   place of the old CSS multi-column layout removed above.
   ========================================================================== */
body.page-home .home-seo-content .seo-tags ul{list-style:none;margin:0 0 2rem;padding:0;display:flex;flex-wrap:wrap;gap:.6rem}
body.page-home .home-seo-content .seo-tags li{margin:0}
body.page-home .home-seo-content .seo-tags li p{display:inline-block;margin:0;background:var(--smd-blue-100);color:var(--smd-blue-700);font-size:.78rem;font-weight:700;padding:.3rem .75rem;border-radius:999px}

body.page-home .home-seo-content .seo-block{background:var(--smd-white);border:1px solid var(--smd-border);border-radius:var(--smd-radius);box-shadow:var(--smd-shadow);padding:1.75rem 1.5rem;margin:0 0 1.75rem}
body.page-home .home-seo-content .seo-block:last-of-type{margin-bottom:0}
body.page-home .home-seo-content .seo-block:nth-of-type(even){background:var(--smd-blue-50)}
body.page-home .home-seo-content .seo-block > h2{margin-top:0}
body.page-home .home-seo-content .seo-block > p,
body.page-home .home-seo-content .seo-block > ul,
body.page-home .home-seo-content .seo-block > ol{max-width:70ch}
body.page-home .home-seo-content .seo-block > strong{display:block;font-size:1.2rem;font-weight:800;color:var(--smd-blue-900);margin:0 0 .75rem}

body.page-home .home-seo-content .seo-feature-card{background:var(--smd-white);border:1px solid var(--smd-border);border-radius:var(--smd-radius-sm);padding:1.25rem 1.25rem 1.5rem;margin:0 0 1.5rem}
body.page-home .home-seo-content .seo-feature-card:last-child{margin-bottom:0}
body.page-home .home-seo-content .seo-feature-card img{display:block;width:100%;height:auto;aspect-ratio:5/3;object-fit:cover;border-radius:var(--smd-radius-sm);margin:0 0 1rem}
body.page-home .home-seo-content .seo-feature-card h3{margin-top:0;font-size:.8rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--smd-blue-700)}
body.page-home .home-seo-content .seo-feature-card p{margin:0;max-width:none}

@media(min-width:700px){
  body.page-home .home-seo-content .seo-block--cards{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;align-items:start}
  body.page-home .home-seo-content .seo-block--cards > h2{grid-column:1/-1;margin-bottom:.25rem}
  body.page-home .home-seo-content .seo-block--cards .seo-feature-card{margin-bottom:0}
}
@media(min-width:1024px){
  body.page-home .home-seo-content .seo-block--cards{grid-template-columns:repeat(3,1fr)}
}

body.page-home .home-seo-content .seo-callout{background:var(--smd-blue-900);color:#fff;border-radius:var(--smd-radius-sm);padding:1.5rem 1.75rem;margin:1.5rem 0 0;text-align:center}
body.page-home .home-seo-content .seo-callout h3{margin:0 0 1rem;color:#fff;font-size:1.05rem}
body.page-home .home-seo-content .seo-callout h3 strong{color:#fff}
body.page-home .home-seo-content .seo-callout a{display:inline-block;background:var(--smd-blue-600);color:#fff;font-weight:700;padding:.65rem 1.6rem;border-radius:999px;text-decoration:none}
body.page-home .home-seo-content .seo-callout a:hover{background:var(--smd-blue-500)}

@media(max-width:767px){
  body.page-home .home-seo-content .seo-block{padding:1.25rem 1.1rem;margin-bottom:1.25rem;border-radius:var(--smd-radius-sm)}
  body.page-home .home-seo-content .seo-feature-card{padding:1rem}
}

/* ==========================================================================
   TASK: HOME FINAL VISUAL REFINEMENT -- lighten legacy/SEO content section
   Scope: .home-seo-content only, CSS-only (no HTML/text changed here).
   - Unifies container width/padding with the site's own .container
     (var(--smd-container), same responsive padding steps) instead of the
     separate 1140px / 2.25-3.25rem scheme used before.
   - Turns each plain <h2> section from its own bordered+shadowed floating
     card into one continuous light sheet (border/shadow/radius now live
     on .home-seo-content itself), separated by a hairline rule instead.
     This is what visually groups the repeated "Movers in Dubai" sections
     into one coherent flowing area, without merging/touching any heading
     or text.
   - The 6-image feature-card grid (.seo-block--cards) keeps its own
     light-blue tinted zone: white = editorial text flow, light-blue = the
     service/image grid -- intentional grouping, not zebra striping.
   - Reduces padding/margins on seo-block/seo-feature-card/seo-callout and
     normalizes H2/H3 vertical rhythm now that blocks no longer carry
     their own separate spacing.
   ========================================================================== */
body.page-home .home-seo-content{
  max-width:var(--smd-container);
  padding-inline:1.25rem;
  padding-block:2rem;
  background:var(--smd-white);
  border:1px solid var(--smd-border);
  border-radius:var(--smd-radius);
  box-shadow:var(--smd-shadow);
}
@media(min-width:1024px){
  body.page-home .home-seo-content{padding-inline:2rem;padding-block:2.5rem}
}

body.page-home .home-seo-content .seo-tags{margin:0 0 1.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--smd-border)}
body.page-home .home-seo-content .seo-tags ul{margin:0}

body.page-home .home-seo-content .seo-block{
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  margin:0;
  padding:1.5rem 0;
  border-bottom:1px solid var(--smd-border);
}
body.page-home .home-seo-content .seo-tags + .seo-block{padding-top:0}
body.page-home .home-seo-content .seo-block:last-of-type{padding-bottom:0;border-bottom:0}

body.page-home .home-seo-content .seo-block--cards{
  background:var(--smd-blue-50);
  border-bottom:0;
  border-radius:var(--smd-radius-sm);
  padding:1.5rem;
  margin:0 0 1.5rem;
}
body.page-home .home-seo-content .seo-feature-card{
  background:var(--smd-white);
  border:1px solid var(--smd-border);
  box-shadow:none;
  border-radius:var(--smd-radius-sm);
  padding:1rem 1rem 1.25rem;
  margin:0;
}

body.page-home .home-seo-content .seo-callout{padding:1.25rem 1.5rem;margin:1.5rem 0 0}

body.page-home .home-seo-content h2{margin-top:0;margin-bottom:.75rem}
body.page-home .home-seo-content h3{margin-top:1.25rem;margin-bottom:.5rem}
body.page-home .home-seo-content .seo-block--cards > h2{margin-top:0;margin-bottom:1rem}

@media(max-width:767px){
  body.page-home .home-seo-content{padding-inline:1.25rem;padding-block:1.5rem}
  body.page-home .home-seo-content .seo-block{padding:1.25rem 0}
  body.page-home .home-seo-content .seo-block--cards{padding:1.25rem}
  body.page-home .home-seo-content .seo-feature-card{padding:.85rem .85rem 1rem}
}

/* TASK: ABOUT US DESIGN + SEO/AEO/GEO -- balanced grid, mission callout */
.about-page .about-grid{align-items:start}
@media(min-width:1024px){
  .about-page .about-grid{grid-template-columns:1.15fr .85fr;gap:3rem}
  .about-page .about-media{position:sticky;top:6rem}
}
.about-page .prose .eyebrow{margin-bottom:.75rem}
.about-page .prose h2{margin-top:0}
.about-page .prose p{max-width:68ch}
.about-page .prose p + h2{margin-top:0}

.about-page .about-mission{
  max-width:820px;
  margin:0 auto;
  background:var(--smd-white);
  border:1px solid var(--smd-border);
  border-radius:var(--smd-radius);
  box-shadow:var(--smd-shadow);
  padding:1.75rem 1.5rem;
}
@media(min-width:1024px){
  .about-page .about-mission{padding:2.5rem 3rem}
}
.about-page .about-mission h2{color:var(--smd-blue-900);font-size:1.5rem;font-weight:800;margin-top:0;margin-bottom:1rem}
.about-page .about-mission p{color:var(--smd-ink-soft);margin-bottom:1em;max-width:70ch}
.about-page .about-mission p:last-child{margin-bottom:0}

@media(max-width:767px){
  .about-page .about-mission{padding:1.5rem}
  .about-page .prose p{max-width:none}
}

/* TASK: SERVICES DESIGN + SEO/AEO/GEO -- balanced intro, topic cards */
.services-intro{
  max-width:820px;
  margin:0 auto 2.5rem;
  text-align:center;
}
.services-intro p{color:var(--smd-ink-soft);font-size:1.05rem;line-height:1.7;margin-bottom:.75rem}
.services-intro p:last-child{margin-bottom:0}
.services-intro p:first-child{
  color:var(--smd-blue-600);
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:.85rem;
  margin-bottom:.5rem;
}

.service-topics-grid{
  display:grid;
  gap:1.5rem;
  grid-template-columns:1fr;
}
@media(min-width:768px){
  .service-topics-grid{grid-template-columns:repeat(2,1fr)}
}
@media(min-width:1024px){
  .service-topics-grid{grid-template-columns:repeat(3,1fr)}
}
.service-topic{
  background:var(--smd-blue-50);
  border:1px solid var(--smd-border);
  border-radius:var(--smd-radius);
  padding:1.5rem;
}
.service-topic h2,.service-topic h3{
  color:var(--smd-blue-900);
  font-size:1.1rem;
  font-weight:800;
  margin-top:0;
  margin-bottom:.6rem;
}
.service-topic p{color:var(--smd-ink-soft);font-size:.92rem;line-height:1.6;margin-bottom:.75rem}
.service-topic p:last-child{margin-bottom:0}
.service-topic a{color:var(--smd-blue-600);font-weight:600;text-decoration:underline}

@media(max-width:767px){
  .services-intro{margin-bottom:2rem}
  .service-topic{padding:1.25rem}
}

/* ---------- Movers in Dubai landing ---------- */
.communities-compact{max-width:640px;margin:0 auto;text-align:center}
.communities-compact .section-lead{margin-left:auto;margin-right:auto}
.communities-compact .empty-state{display:inline-block;padding:.85rem 1.75rem}
.movers-body-grid{display:grid;gap:2rem;align-items:start}
@media(min-width:1024px){.movers-body-grid{grid-template-columns:1.4fr 1fr;gap:3rem;align-items:center}}
.movers-body-grid__media{position:sticky;top:6rem}
.movers-body-grid__media img{width:100%;height:auto;border-radius:var(--smd-radius);display:block}
.movers-body-grid__text p{max-width:68ch}

/* ---------- Contact page ---------- */
.contact-grid{
    row-gap:2.75rem;
}
@media(min-width:1024px){
    .contact-grid{
        align-items:start;
        gap:4rem;
    }
}
.contact-info{
    display:flex;
    flex-direction:column;
}
.contact-info .prose{
    padding-bottom:1.75rem;
    border-bottom:1px solid var(--smd-border);
}
.contact-info .prose h5{
    margin:1.25rem 0 .5rem;
    font-size:1.05rem;
    font-weight:700;
    letter-spacing:.02em;
    color:var(--smd-blue-900);
}
.contact-info .eyebrow{
    margin-top:1.75rem;
}
.contact-info .checklist{
    gap:.85rem;
}
@media(max-width:1023px){
    .contact-grid{
        row-gap:2.25rem;
    }
    .contact-info .prose{
        padding-bottom:1.5rem;
    }
}

/* ---------- Movers & Packers service detail page ---------- */
.service-detail-grid{
    row-gap:2.5rem;
}
@media(min-width:1024px){
    .service-detail-grid{
        align-items:start;
        gap:3.5rem;
    }
    .service-detail-grid > div:last-child{
        position:sticky;
        top:6rem;
    }
}
.service-detail-grid .prose img{
    width:100%;
    height:auto;
    border-radius:var(--smd-radius);
    margin:1.5rem 0;
    display:block;
}

/* Back-to-top button (global, shared layout). Offsets above the mobile sticky CTA bar. */
.back-to-top{position:fixed;right:1rem;bottom:calc(1rem + env(safe-area-inset-bottom,0px));z-index:130;width:44px;height:44px;border-radius:50%;border:none;display:flex;align-items:center;justify-content:center;background:var(--smd-blue-700,#1d4ed8);color:#fff;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.18);opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s ease,transform .25s ease,visibility .25s}
.back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.back-to-top:hover{filter:brightness(1.08)}
.back-to-top:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px var(--smd-blue-700,#1d4ed8)}
@media (max-width:1023px){.back-to-top{bottom:calc(var(--smd-sticky-cta-h,60px) + env(safe-area-inset-bottom,0px) + .75rem)}}
@media (prefers-reduced-motion:reduce){.back-to-top{transition:opacity .01ms linear,visibility .01ms linear}}
