/*
Theme Name: Help Me With Assignment
Theme URI: https://example.invalid/help-me-with-assignment
Author: Deployment Developer
Author URI: https://example.invalid
Description: Custom WordPress theme for Help Me With Assignment — a real homepage, a nav/footer/lead-form system, and two reusable page templates (with sidebar / full width) so future pages can be added from Pages > Add New without touching code.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: help-me-with-assignment
*/

/* ==========================================================================
   0. DESIGN TOKENS
   ========================================================================== */
:root{
  --hmwa-navy:#1a2233;
  --hmwa-muted:#5c6470;
  --hmwa-paper:#ffffff;
  --hmwa-paper-alt:#f3f6f4;
  --hmwa-accent:#2563eb;
  --hmwa-accent-dark:#1d4ed8;
  --hmwa-border:#e2e6e3;
  --hmwa-radius:10px;
  --hmwa-shadow:0 4px 24px rgba(26,34,51,0.07);
  --hmwa-maxw:1200px;
}

/* ==========================================================================
   1. RESET
   ========================================================================== */
*, *::before, *::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Work Sans', system-ui, -apple-system, sans-serif;
  color:var(--hmwa-navy);
  background:var(--hmwa-paper);
  font-size:16px;
  line-height:1.6;
}
h1,h2,h3,h4,h5,h6{ margin:0 0 16px; font-weight:600; line-height:1.25; text-wrap:balance; }
p{ margin:0 0 16px; }
a{ color:var(--hmwa-accent); text-decoration:none; }
a:hover{ color:var(--hmwa-accent-dark); text-decoration:underline; }
img{ max-width:100%; height:auto; }
ul, ol{ margin:0 0 16px; padding-left:22px; }
li{ margin-bottom:8px; }
button{ font-family:inherit; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible{
  outline:2px solid var(--hmwa-accent); outline-offset:2px;
}

.serif{ font-family:'Source Serif 4', Georgia, serif; }
.screen-reader-text{
  position:absolute !important; width:1px; height:1px; overflow:hidden;
  clip:rect(1px,1px,1px,1px); white-space:nowrap; border:0; padding:0; margin:-1px;
}
.hmwa-container{ max-width:var(--hmwa-maxw); margin:0 auto; padding:0 24px; }

/* ---------- buttons ---------- */
.hmwa-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 28px; border-radius:var(--hmwa-radius);
  font-weight:600; font-size:15.5px; font-family:'Work Sans',sans-serif;
  border:1px solid transparent; cursor:pointer; text-decoration:none;
}
.hmwa-btn:hover{ text-decoration:none; }
.hmwa-btn--primary{ background:var(--hmwa-accent); color:#fff; }
.hmwa-btn--primary:hover{ background:var(--hmwa-accent-dark); color:#fff; }
.hmwa-btn--outline{ background:transparent; border-color:rgba(255,255,255,.5); color:#fff; }
.hmwa-btn--outline:hover{ border-color:#fff; color:#fff; }
.hmwa-btn--outline-navy{ background:transparent; color:var(--hmwa-navy); border-color:var(--hmwa-border); }
.hmwa-btn--outline-navy:hover{ border-color:var(--hmwa-accent); color:var(--hmwa-accent); }

.hmwa-skip-link{
  position:absolute; left:-9999px; top:0; z-index:1000; background:var(--hmwa-navy); color:#fff;
  padding:12px 20px; border-radius:0 0 8px 0;
}
.hmwa-skip-link:focus{ left:0; }

/* ==========================================================================
   2. HEADER + PRIMARY NAV
   ========================================================================== */
.hmwa-site-header{ position:sticky; top:0; z-index:100; background:#fff; border-bottom:1px solid var(--hmwa-border); }
.hmwa-header-inner{ display:flex; align-items:center; justify-content:space-between; height:78px; max-width:1320px; margin:0 auto; padding:0 24px; }
.hmwa-brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.hmwa-brand:hover{ text-decoration:none; }
.hmwa-brand-mark{
  width:36px; height:36px; border-radius:8px; background:var(--hmwa-accent); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family:'Source Serif 4',serif; font-weight:700; font-size:16px; flex-shrink:0;
}
.hmwa-brand-name{ font-family:'Source Serif 4',serif; font-size:18px; font-weight:600; color:var(--hmwa-navy); white-space:nowrap; }
.hmwa-brand:hover .hmwa-brand-name{ color:var(--hmwa-navy); }

.hmwa-nav{ flex:1; display:flex; justify-content:center; }
.hmwa-nav-list{ list-style:none; display:flex; align-items:center; gap:2px; margin:0; padding:0; }
.hmwa-nav-list .menu-item{ position:relative; margin:0; }
.hmwa-nav-list a, .hmwa-nav-list .hmwa-nav-note{
  display:inline-flex; align-items:center; gap:5px; padding:10px 14px; font-weight:500; font-size:15px;
  color:var(--hmwa-navy); border-radius:6px; white-space:nowrap;
}
.hmwa-nav-list a:hover{ background:var(--hmwa-paper-alt); color:var(--hmwa-accent); text-decoration:none; }

.hmwa-nav-list .sub-menu{
  position:absolute; top:calc(100% + 6px); left:0; min-width:240px;
  background:#fff; border:1px solid var(--hmwa-border); border-radius:10px;
  box-shadow:var(--hmwa-shadow); padding:8px; list-style:none; margin:0; display:none; z-index:50;
}
.menu-item-has-children.hmwa-submenu-open > .sub-menu{ display:block; }
.hmwa-nav-list .sub-menu a{ display:block; padding:10px 12px; font-size:14px; }
.hmwa-submenu-toggle{
  background:none; border:none; padding:6px; margin-left:-6px; cursor:pointer; color:var(--hmwa-muted);
  display:inline-flex; align-items:center;
}
.hmwa-submenu-toggle .hmwa-caret{
  width:9px; height:9px; border-right:2px solid currentColor; border-bottom:2px solid currentColor;
  transform:rotate(45deg); transition:transform .15s ease; display:block;
}
.menu-item-has-children.hmwa-submenu-open .hmwa-caret{ transform:rotate(225deg); }

.hmwa-nav-toggle{ display:none; background:none; border:none; padding:8px; cursor:pointer; flex-direction:column; gap:5px; }
.hmwa-nav-toggle-bar{ width:22px; height:2px; background:var(--hmwa-navy); display:block; }
.hmwa-header-spacer{ display:none; }

/* ---------- top utility bar (email / phone) ---------- */
.hmwa-topbar{ background:var(--hmwa-navy); }
.hmwa-topbar-inner{
  max-width:1320px; margin:0 auto; padding:8px 24px; display:flex; justify-content:flex-end; gap:20px;
}
.hmwa-topbar-link{ color:rgba(255,255,255,.85); font-size:13px; }
.hmwa-topbar-link:hover{ color:#fff; text-decoration:underline; }

/* ---------- "Order Now" nav CTA ---------- */
.hmwa-nav-list .hmwa-order-now-item{ margin-left:6px; }
.hmwa-nav-list .hmwa-order-now-item > a{
  background:var(--hmwa-accent); color:#fff; padding:10px 20px; border-radius:999px;
}
.hmwa-nav-list .hmwa-order-now-item > a:hover{ background:var(--hmwa-accent-dark); color:#fff; }

@media (max-width:960px){
  .hmwa-header-inner{
    display:grid; grid-template-columns:44px 1fr 44px; align-items:center; column-gap:8px;
  }
  .hmwa-nav-toggle{ grid-column:1; justify-self:start; }
  .hmwa-brand{ grid-column:2; justify-self:center; }
  .hmwa-header-spacer{ grid-column:3; display:block; }

  .hmwa-nav{
    display:none; position:fixed; top:78px; left:0; right:0; bottom:0;
    background:#fff; overflow-y:auto; border-top:1px solid var(--hmwa-border); z-index:90;
  }
  .hmwa-nav.hmwa-nav--open{ display:block; }
  .hmwa-nav-list{ flex-direction:column; align-items:stretch; gap:0; padding:12px; }
  .hmwa-nav-list .menu-item{ width:100%; display:flex; align-items:center; flex-wrap:wrap; }
  .hmwa-nav-list a, .hmwa-nav-list .hmwa-nav-note{ flex:1 1 auto; padding:14px 12px; }
  .hmwa-nav-list .sub-menu{
    position:static; box-shadow:none; border:none; display:none;
    padding:0 0 0 12px; min-width:0; background:transparent;
    flex:0 0 100%; /* force the dropdown onto its own full-width line below
                      the label + toggle row, rather than sharing that row
                      as a flex sibling */
  }
  .menu-item-has-children.hmwa-submenu-open > .sub-menu{ display:block; }
  .hmwa-nav-toggle{ display:flex; }
  .hmwa-nav-list .hmwa-order-now-item{ margin:14px 12px 6px; }
  .hmwa-nav-list .hmwa-order-now-item > a{ justify-content:center; padding:14px 12px; }

  .hmwa-topbar-inner{ justify-content:center; text-align:center; flex-wrap:wrap; padding:8px 16px; }
}

/* ---------- floating quote trigger + slide-in panel ---------- */
.hmwa-quote-trigger{
  position:fixed; right:22px; bottom:22px; z-index:80;
  width:56px; height:56px; border-radius:50%; background:var(--hmwa-accent); color:#fff;
  border:none; display:flex; align-items:center; justify-content:center; box-shadow:var(--hmwa-shadow); cursor:pointer;
}
.hmwa-quote-trigger:hover{ background:var(--hmwa-accent-dark); }
.hmwa-quote-backdrop{
  position:fixed; inset:0; background:rgba(26,34,51,.45); z-index:110; opacity:0; pointer-events:none; transition:opacity .2s ease;
}
.hmwa-quote-backdrop.hmwa-open{ opacity:1; pointer-events:auto; }
.hmwa-quote-panel{
  position:fixed; top:0; right:0; bottom:0; width:min(420px, 100%); background:#fff; z-index:120;
  transform:translateX(100%); transition:transform .25s ease; overflow-y:auto; box-shadow:-8px 0 32px rgba(26,34,51,.12);
}
.hmwa-quote-panel.hmwa-open{ transform:translateX(0); }
.hmwa-quote-panel-inner{ padding:32px 28px 40px; }
.hmwa-quote-close{ background:none; border:none; font-size:22px; line-height:1; cursor:pointer; color:var(--hmwa-muted); margin-bottom:18px; padding:6px; }
.hmwa-quote-close:hover{ color:var(--hmwa-navy); }

/* ==========================================================================
   3. LEAD FORM (shared: panel + sidebar contexts)
   ========================================================================== */
.hmwa-lead-form-wrap{ display:flex; flex-direction:column; gap:16px; }
.hmwa-lead-form-heading{ font-family:'Source Serif 4',serif; font-size:18px; margin:0; }
.hmwa-lead-form-desc{ font-size:13.5px; color:var(--hmwa-muted); line-height:1.55; margin:-8px 0 0; }
.hmwa-lead-form{ display:flex; flex-direction:column; gap:16px; }
.hmwa-field{ display:flex; flex-direction:column; gap:6px; }
.hmwa-field input, .hmwa-field select{
  border:1px solid transparent; border-radius:8px; height:46px; padding:0 14px;
  font-family:'Work Sans',sans-serif; font-size:14px; background:var(--hmwa-paper-alt); color:var(--hmwa-navy); width:100%;
}
.hmwa-field input::placeholder{ color:var(--hmwa-muted); opacity:1; }
.hmwa-field input:focus, .hmwa-field select:focus{ border-color:var(--hmwa-accent); outline:none; }
.hmwa-phone-group{ display:flex; gap:8px; }
.hmwa-phone-group select{ width:88px; flex-shrink:0; }
.hmwa-lead-form-submit{ width:100%; border:none; }
.hmwa-lead-form-footnote{ font-size:12.5px; color:var(--hmwa-muted); text-align:center; margin:0; }
.hmwa-field-hp{ position:absolute; left:-9999px; opacity:0; }
.hmwa-form-message{ font-size:13.5px; border-radius:8px; padding:10px 14px; margin:0; }
.hmwa-form-message--error{ background:#fdecec; color:#8a2c2c; border:1px solid #f3c8c8; }

/* card variant (used by page.php sidebar, the homepage hero, and the
   slide-in panel) — accent top border + rounded corners, matching the
   client-supplied reference layout for the quote form */
.hmwa-lead-form-card{
  background:#fff; border:1px solid var(--hmwa-border); border-top:4px solid var(--hmwa-accent);
  border-radius:14px; box-shadow:var(--hmwa-shadow);
  padding:28px; position:sticky; top:96px;
}

/* ==========================================================================
   4. HOMEPAGE
   ========================================================================== */
.hmwa-hero{ background:var(--hmwa-paper-alt); padding:72px 0; border-bottom:1px solid var(--hmwa-border); }
.hmwa-hero-inner{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:20px; max-width:820px; margin:0 auto; }
.hmwa-eyebrow{ font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--hmwa-accent); }
.hmwa-hero h1{ font-size:clamp(34px,5vw,54px); }
.hmwa-trust-line{ font-size:13.5px; color:var(--hmwa-muted); margin-top:2px; }

/* two-column hero: copy + a visible "Get a Free Quote" form, so the query
   form is on the page itself rather than only reachable via a click */
.hmwa-hero-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center; max-width:1140px; margin:0 auto; }
.hmwa-hero-copy{ display:flex; flex-direction:column; gap:18px; text-align:left; align-items:flex-start; }
.hmwa-hero-copy .hmwa-hero-lede{ font-size:19px; color:var(--hmwa-muted); max-width:520px; }
.hmwa-hero-form{ width:100%; }
.hmwa-hero-form .hmwa-lead-form-card{ position:static; top:auto; max-width:420px; margin:0 0 0 auto; }
@media (max-width:900px){
  .hmwa-hero-grid{ grid-template-columns:1fr; }
  .hmwa-hero-copy{ text-align:center; align-items:center; }
  .hmwa-hero-copy .hmwa-hero-lede{ max-width:620px; }
  .hmwa-hero-form .hmwa-lead-form-card{ max-width:460px; margin:0 auto; }
}

.hmwa-intro-band{ padding:56px 0; border-bottom:1px solid var(--hmwa-border); }
.hmwa-intro-band .hmwa-container{ max-width:760px; text-align:center; }
.hmwa-intro-band p{ font-size:17px; color:var(--hmwa-muted); line-height:1.75; margin:0; }
.hmwa-intro-band strong{ color:var(--hmwa-navy); }

.hmwa-section{ padding:72px 0; }
.hmwa-section + .hmwa-section{ border-top:1px solid var(--hmwa-border); }
.hmwa-section-head{ max-width:640px; margin:0 auto 40px; text-align:center; }
.hmwa-section-head h2{ font-size:clamp(24px,3vw,32px); }
.hmwa-section-head p{ color:var(--hmwa-muted); font-size:16px; margin:0; }
.hmwa-section--alt{ background:var(--hmwa-paper-alt); }

.hmwa-pain-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.hmwa-pain-card{ background:#fff; border:1px solid var(--hmwa-border); border-radius:var(--hmwa-radius); padding:24px; }
.hmwa-pain-card h3{ font-size:16px; margin-bottom:6px; }
.hmwa-pain-card p{ color:var(--hmwa-muted); font-size:14.5px; margin:0; }
@media (max-width:900px){ .hmwa-pain-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .hmwa-pain-grid{ grid-template-columns:1fr; } }

.hmwa-process-list{ display:flex; flex-direction:column; max-width:760px; margin:0 auto; }
.hmwa-process-item{ display:flex; gap:20px; padding:22px 0; border-bottom:1px solid var(--hmwa-border); }
.hmwa-process-item:last-child{ border-bottom:none; }
.hmwa-step-num{ font-family:'Source Serif 4',serif; font-size:22px; font-weight:600; color:var(--hmwa-accent); width:36px; flex-shrink:0; }
.hmwa-process-item h3{ font-size:16.5px; margin-bottom:4px; }
.hmwa-process-item p{ color:var(--hmwa-muted); font-size:15px; margin:0; }
.hmwa-caption-center{ text-align:center; color:var(--hmwa-muted); font-size:14px; margin-top:28px; }

.hmwa-subject-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.hmwa-subject-card{ background:#fff; border:1px solid var(--hmwa-border); border-radius:var(--hmwa-radius); padding:22px; }
.hmwa-subject-card h3{ font-size:15px; margin-bottom:6px; }
.hmwa-subject-card p{ color:var(--hmwa-muted); font-size:13.5px; margin:0; line-height:1.55; }
@media (max-width:960px){ .hmwa-subject-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .hmwa-subject-grid{ grid-template-columns:1fr; } }

.hmwa-pill-groups{ display:flex; flex-direction:column; gap:28px; max-width:760px; margin:0 auto; }
.hmwa-pill-group-label{ font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:.03em; color:var(--hmwa-muted); margin-bottom:12px; }
.hmwa-pills{ display:flex; flex-wrap:wrap; gap:10px; }
.hmwa-pill{ background:#fff; border:1px solid var(--hmwa-border); border-radius:999px; padding:9px 18px; font-size:14px; font-weight:500; }
.hmwa-pill--accent{ background:var(--hmwa-accent); color:#fff; border-color:var(--hmwa-accent); }

.hmwa-originality{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; max-width:1000px; margin:0 auto; }
.hmwa-originality-copy p{ color:var(--hmwa-muted); font-size:16px; line-height:1.75; }
.hmwa-check-card{ background:#fff; border:1px solid var(--hmwa-border); border-radius:14px; box-shadow:var(--hmwa-shadow); padding:28px; display:flex; flex-direction:column; gap:16px; }
.hmwa-check-row{ display:flex; gap:12px; align-items:flex-start; }
.hmwa-check-row svg{ flex-shrink:0; margin-top:2px; color:var(--hmwa-accent); }
.hmwa-check-row h4{ font-size:15px; margin:0 0 3px; }
.hmwa-check-row p{ font-size:13.5px; color:var(--hmwa-muted); margin:0; }
@media (max-width:840px){ .hmwa-originality{ grid-template-columns:1fr; } }

.hmwa-deadline-table{ max-width:760px; margin:0 auto; border:1px solid var(--hmwa-border); border-radius:var(--hmwa-radius); overflow:hidden; background:#fff; }
.hmwa-deadline-row{ display:grid; grid-template-columns:1fr auto; gap:16px; padding:18px 24px; align-items:center; }
.hmwa-deadline-row + .hmwa-deadline-row{ border-top:1px solid var(--hmwa-border); }
.hmwa-deadline-row .hmwa-label{ font-size:15px; font-weight:500; }
.hmwa-deadline-row .hmwa-time{ font-family:'Source Serif 4',serif; font-weight:600; color:var(--hmwa-accent); font-size:15px; white-space:nowrap; }
.hmwa-deadline-note{ max-width:700px; margin:28px auto 0; text-align:center; color:var(--hmwa-muted); font-size:14.5px; }

.hmwa-two-col-band{ display:grid; grid-template-columns:1fr 1fr; max-width:1120px; margin:0 auto; border:1px solid var(--hmwa-border); border-radius:16px; overflow:hidden; }
.hmwa-band-panel{ padding:40px; }
.hmwa-band-panel:first-child{ border-right:1px solid var(--hmwa-border); }
.hmwa-band-panel h3{ font-size:19px; }
.hmwa-band-panel ul{ margin:0; padding-left:18px; color:var(--hmwa-muted); font-size:14.5px; line-height:1.8; }
.hmwa-band-panel p{ color:var(--hmwa-muted); font-size:14.5px; line-height:1.75; margin:0 0 10px; }
@media (max-width:780px){ .hmwa-two-col-band{ grid-template-columns:1fr; border-radius:14px; } .hmwa-band-panel:first-child{ border-right:none; border-bottom:1px solid var(--hmwa-border); } }

.hmwa-mini-steps{ display:grid; grid-template-columns:repeat(5,1fr); gap:16px; max-width:1080px; margin:0 auto; }
.hmwa-mini-step{ text-align:center; }
.hmwa-mini-step .hmwa-num{
  width:34px; height:34px; border-radius:50%; background:var(--hmwa-navy); color:#fff; display:flex; align-items:center;
  justify-content:center; font-family:'Source Serif 4',serif; font-weight:600; font-size:14px; margin:0 auto 12px;
}
.hmwa-mini-step p{ font-size:13.5px; color:var(--hmwa-muted); margin:0; }
@media (max-width:860px){ .hmwa-mini-steps{ grid-template-columns:repeat(3,1fr); row-gap:28px; } }
@media (max-width:560px){ .hmwa-mini-steps{ grid-template-columns:1fr 1fr; } }

.hmwa-cta-band{ background:var(--hmwa-navy); color:#fff; text-align:center; padding:80px 0; }
.hmwa-cta-band h2{ color:#fff; font-size:clamp(28px,4vw,40px); }
.hmwa-cta-band p{ color:rgba(255,255,255,.72); font-size:17px; max-width:560px; margin:0 auto 28px; }
.hmwa-cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ==========================================================================
   5. GENERIC PAGE TEMPLATES (reusable — page.php / template-full-width.php)
   ========================================================================== */
.hmwa-page-banner{ background:var(--hmwa-paper-alt); padding:48px 0; text-align:center; border-bottom:1px solid var(--hmwa-border); }
.hmwa-page-banner h1{ font-size:clamp(26px,4vw,38px); color:var(--hmwa-navy); margin:0; }

.hmwa-page-body{ display:grid; grid-template-columns:2fr 1fr; gap:56px; padding:56px 0 80px; align-items:start; max-width:var(--hmwa-maxw); margin:0 auto; padding-left:24px; padding-right:24px; }
.hmwa-page-body.hmwa-page-body--full{ grid-template-columns:1fr; max-width:820px; }
.hmwa-page-content{ max-width:760px; font-size:16px; color:var(--hmwa-navy); }
.hmwa-page-body--full .hmwa-page-content{ max-width:none; }
.hmwa-page-content h2{ font-family:'Source Serif 4',serif; font-size:25px; margin-top:36px; }
.hmwa-page-content h2:first-child{ margin-top:0; }
.hmwa-page-content h3{ font-family:'Source Serif 4',serif; font-size:19px; margin-top:24px; }
.hmwa-page-content p, .hmwa-page-content li{ color:var(--hmwa-muted); line-height:1.75; }
.hmwa-page-content strong{ color:var(--hmwa-navy); }
@media (max-width:900px){ .hmwa-page-body{ grid-template-columns:1fr; } .hmwa-page-content{ max-width:none; } }

/* ==========================================================================
   6. 404 / CONFIRMATION
   ========================================================================== */
.hmwa-status-page{ padding:100px 0; text-align:center; }
.hmwa-status-icon{ display:inline-flex; width:56px; height:56px; border-radius:50%; background:var(--hmwa-paper-alt); align-items:center; justify-content:center; color:var(--hmwa-accent); margin-bottom:20px; }
.hmwa-status-page p{ color:var(--hmwa-muted); max-width:480px; margin:0 auto 24px; }

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.hmwa-site-footer{ background:#fff; border-top:1px solid var(--hmwa-border); padding:48px 0 28px; }
.hmwa-footer-grid{ display:grid; grid-template-columns:1.2fr 1fr 1fr 1fr; gap:32px; margin-bottom:32px; }
.hmwa-footer-col h4{ font-size:13px; text-transform:uppercase; letter-spacing:.03em; color:var(--hmwa-muted); margin-bottom:14px; }
.hmwa-footer-col{ display:flex; flex-direction:column; }
.hmwa-footer-col p{ font-size:14px; color:var(--hmwa-navy); margin:0; max-width:320px; }
.hmwa-footer-nav-list{ list-style:none; margin:0; padding:0; }
.hmwa-footer-nav-list li{ margin:0; }
.hmwa-footer-nav-list a{ display:block; font-size:14px; color:var(--hmwa-muted); padding:4px 0; }
.hmwa-footer-nav-list a:hover{ color:var(--hmwa-accent); text-decoration:none; }
.hmwa-footer-bottom{ border-top:1px solid var(--hmwa-border); padding-top:20px; text-align:center; font-size:12px; color:var(--hmwa-muted); }
.hmwa-footer-bottom a{ color:var(--hmwa-muted); }
.hmwa-footer-bottom a:hover{ color:var(--hmwa-accent); }
.hmwa-footer-bottom-sep{ margin:0 8px; }
@media (max-width:900px){ .hmwa-footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .hmwa-footer-grid{ grid-template-columns:1fr; } }
@media (max-width:600px){
  /* keep the floating quote-trigger button (fixed bottom-right) clear of
     the footer's bottom bar, which now carries a Disclaimer link too */
  .hmwa-site-footer{ padding-bottom:88px; }
  .hmwa-footer-bottom{ text-align:left; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .hmwa-quote-panel, .hmwa-quote-backdrop, .hmwa-caret{ transition:none; }
}
