/* DMC Service — brand stylesheet. Tokens mirror .dmc-agent/design/DESIGN.md.
   Self-hosted Lato, navy + red, sharp corners, generous whitespace, one soft
   shadow on card hover (max), no decorative gradients beyond the navy hero. */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/lato-700.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/lato-900.woff2") format("woff2"); }

:root {
  --navy: #02306B;
  --navy-deep: #0A2E6D;
  --navy-700: #02408f;
  --red: #D0112B;
  --red-dark: #b00e25;
  --gold: #F3BC26;
  --body: #343434;
  --body-strong: #111111;
  --body-soft: #6b7280;
  --surface: #FFFFFF;
  --surface-soft: #F4F5F6;
  --surface-mid: #E6E7E8;
  --border: #E0E2E5;

  --container: 1140px;
  --gutter: 24px;
  --section-y: clamp(56px, 8vw, 96px);

  --font-sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow-card: 0 18px 40px -18px rgba(2, 48, 107, .35);
  --ease: .2s cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--body-strong); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 2.75rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.25rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1rem; }
a { color: var(--navy); }
img { max-width: 100%; height: auto; display: block; }
strong { color: var(--body-strong); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 16px; z-index: 1000; }
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px;
  letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  padding: 15px 30px; border: 0; border-radius: 0; cursor: pointer;
  transition: background-color var(--ease), color var(--ease), transform var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover, .btn--primary:focus { background: var(--navy); color: #fff; }
/* Red primary buttons sitting on a navy background must not hover to navy, or they
   blend into the background and look like they vanish (DMC1-18). Hover to white with
   navy text so the button stays clearly visible in every navy context. */
.hero .btn--primary:hover, .hero .btn--primary:focus,
.section--navy .btn--primary:hover, .section--navy .btn--primary:focus,
.cta-band .btn--primary:hover, .cta-band .btn--primary:focus,
.service-hero .btn--primary:hover, .service-hero .btn--primary:focus,
.page-hero .btn--primary:hover, .page-hero .btn--primary:focus,
.site-footer .btn--primary:hover, .site-footer .btn--primary:focus {
  background: #fff; color: var(--navy);
}
.btn--secondary { background: var(--navy); color: #fff; }
.btn--secondary:hover, .btn--secondary:focus { background: var(--red); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border: 2px solid var(--navy); padding: 13px 28px; }
.btn--ghost:hover, .btn--ghost:focus { background: var(--navy); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); padding: 13px 28px; }
.btn--ghost-light:hover, .btn--ghost-light:focus { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--navy); color: #cdd6e8; font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 38px; }
.topbar__item { margin: 0; }
.topbar__item--em { font-weight: 700; color: #fff; }
.topbar__item--em::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.topbar__link { margin-left: auto; color: #cdd6e8; text-decoration: none; }
.topbar__link:hover { color: #fff; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--surface); box-shadow: 0 1px 0 var(--border), 0 6px 20px -16px rgba(0,0,0,.4); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.site-header__logo { display: flex; align-items: center; text-decoration: none; }
.site-header__logo img { display: block; width: auto; height: 52px; }

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav__item { position: relative; }
.site-nav__link { display: block; padding: 10px 14px; text-decoration: none; color: var(--body-strong); font-weight: 700; font-size: 15px; position: relative; }
.site-nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--ease); }
.site-nav__link:hover, .site-nav__link.is-active { color: var(--red); }
.site-nav__link:hover::after, .site-nav__link.is-active::after { transform: scaleX(1); }
.site-nav__submenu { position: absolute; top: 100%; left: 0; min-width: 268px; background: var(--navy); list-style: none; margin: 0; padding: 8px 0; display: none; z-index: 50; box-shadow: var(--shadow-card); }
.site-nav__item.has-children:hover .site-nav__submenu, .site-nav__item.has-children:focus-within .site-nav__submenu { display: block; }
.site-nav__sublink { display: block; padding: 9px 20px; color: #e6ebf5; text-decoration: none; font-size: 14px; }
.site-nav__sublink:hover, .site-nav__sublink.is-active { background: var(--red); color: #fff; }

.site-header__actions { display: flex; align-items: center; gap: 18px; margin-left: 8px; }
.site-header__phone { text-decoration: none; text-align: right; line-height: 1.1; }
.site-header__phone-label { display: block; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--body-soft); }
.site-header__phone-number { display: block; font-size: 1.3rem; font-weight: 900; color: var(--navy); }
.site-header__cta { padding: 12px 22px; }

.site-header__toggle { display: none; flex-direction: column; gap: 5px; width: 46px; height: 46px; background: none; border: 0; cursor: pointer; padding: 11px; margin-left: auto; }
.site-header__toggle span { height: 3px; background: var(--navy); transition: var(--ease); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--soft { background: var(--surface-soft); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section__title { margin-bottom: 14px; }
.section__lede { font-size: 1.2rem; max-width: 70ch; color: inherit; }
.title-underline { display: block; width: 76px; height: 4px; background: var(--red); margin-bottom: 30px; }
.section--navy .title-underline { background: var(--gold); }

.prose { max-width: 70ch; }
.prose p { font-size: 1.125rem; }
.prose a { color: var(--red); font-weight: 700; }
.prose--light, .prose--light p { color: #dbe2f0; max-width: 75ch; }

/* Centered section intro */
.section__intro { max-width: 66ch; margin: 0 auto clamp(34px, 5vw, 52px); text-align: center; }
.section__intro .title-underline { margin-inline: auto; }
.section__intro p { font-size: 1.15rem; }
/* Keep an unusually long section heading on a single line on wider screens
   (DMC1-12); it still wraps normally on narrow viewports to avoid overflow. */
@media (min-width: 900px) { .section__intro--oneline .section__title { white-space: nowrap; } }
.section--navy .section__intro p { color: #dbe2f0; }

/* Generic two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.split--start { align-items: start; }
.split__media img { width: 100%; height: auto; box-shadow: 0 0 0 1px var(--border); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding-block: clamp(56px, 9vw, 104px); }
.hero__inner { max-width: 780px; }
.hero__eyebrow { display: inline-flex; align-items: center; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: 13px; color: #fff; margin-bottom: 16px; }
.hero__eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); margin-right: 12px; }
.hero__title { color: #fff; margin-bottom: 18px; }
.hero__lede { font-size: 1.3rem; color: #dce2ee; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.hero__note { font-size: 14px; color: #aab6d0; margin: 0; }

.hero--home {
  background:
    linear-gradient(180deg, rgba(2,48,107,.38) 0%, rgba(2,48,107,.52) 16%, rgba(2,48,107,.72) 34%, rgba(2,48,107,.9) 62%, rgba(2,48,107,.99) 100%),
    url("/assets/img/home/dmc-kansas-city-skyline-hard-hat.jpg") center 62%/cover no-repeat;
  display: grid;
  align-items: end;
  min-height: min(86vh, 820px);
  padding-block: clamp(48px, 8vw, 96px) clamp(28px, 4vw, 44px);
}
.hero--home .hero__inner { max-width: 700px; margin: 0; }
.hero--home .hero__title { text-shadow: 0 1px 16px rgba(2, 16, 40, .35); }

.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 30px; list-style: none; margin: 36px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.hero__trust li { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #e6ebf5; padding-left: 24px; position: relative; }
.hero__trust li::before { content: ""; position: absolute; left: 0; top: 3px; width: 11px; height: 6px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg); }

/* Article (generated content pages) */
.article { max-width: 768px; margin-inline: auto; }
.article > h2 { margin-top: 1.7em; font-size: 1.6rem; }
.article > h3 { margin-top: 1.35em; }
.article > h4 { margin-top: 1.2em; font-size: 1.15rem; }
.article > h2:first-child, .article > h3:first-child { margin-top: 0; }
.article p { font-size: 1.0625rem; }

/* Team roster — pairs each name with its role for clear association */
.team-roster { list-style: none; margin: 0 0 1.5em; padding: 0; display: grid; gap: 20px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-roster li { padding-left: 16px; border-left: 3px solid var(--red); }
.team-roster__name { display: block; font-weight: 700; color: var(--body-strong); font-size: 1.125rem; line-height: 1.3; }
.team-roster__role { display: block; color: var(--body-soft); font-size: .95rem; }
@media (max-width: 600px) { .team-roster { grid-template-columns: 1fr; } }
.article ul:not(.checklist) { padding-left: 1.3em; margin: 0 0 1.2em; }
.article ul:not(.checklist) li { margin-bottom: .45em; }
.article .checklist { margin: 1.2em 0; }
.article__feature { margin: 0 0 30px; }
.article__feature img { width: 100%; height: auto; box-shadow: 0 0 0 1px var(--border); }
.article .testimonial { margin: 26px 0; }

/* Designed service-detail hero: navy diamond-pattern banner + half-bleed photo.
   Per page, set the banner via inline `style="--hero-img:url(...)"`. The gradient
   keeps the white H1 legible over the left/pattern side. */
.service-hero {
  background:
    linear-gradient(90deg, rgba(2,48,107,.94) 0%, rgba(2,48,107,.78) 34%, rgba(2,48,107,.34) 60%, rgba(2,48,107,.08) 100%),
    var(--hero-img, none) right center / cover no-repeat,
    var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  min-height: 300px;
  padding-block: clamp(36px, 5vw, 56px);
}
/* Navy diamond-pattern hero for service pages that have no designed banner. */
.service-hero--plain {
  background:
    linear-gradient(90deg, rgba(2,48,107,.97) 0%, rgba(2,48,107,.9) 58%, rgba(10,46,109,.85) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.055' stroke-width='2'%3E%3Crect x='30' y='30' width='90' height='90' transform='rotate(45 75 75)'/%3E%3Crect x='52' y='52' width='46' height='46' transform='rotate(45 75 75)'/%3E%3C/g%3E%3C/svg%3E") left center / 170px auto repeat,
    var(--navy);
}
.service-hero__inner { max-width: 640px; }
.service-hero__breadcrumb { font-size: 13px; color: #cdd6e8; margin-bottom: 12px; letter-spacing: .02em; }
.service-hero__breadcrumb a { color: #cdd6e8; text-decoration: none; }
.service-hero__breadcrumb a:hover { color: #fff; text-decoration: underline; }
.service-hero h1 {
  color: #fff; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(1.5rem, 3vw, 2.15rem); line-height: 1.18; margin-bottom: 20px;
}
.service-hero .btn { margin-top: 2px; }

/* Centered intro band under a service hero */
.service-intro { text-align: center; }
.service-intro__inner { max-width: 70ch; margin-inline: auto; }
.service-intro p { font-size: 1.125rem; }

/* Photo with the brand red offset accent (red shows on the right + bottom). */
.img-frame { position: relative; display: block; margin: 0 18px 18px 0; }
.img-frame img { display: block; width: 100%; height: auto; position: relative; z-index: 1; }
.img-frame::after {
  content: ""; position: absolute; z-index: 0; right: -18px; bottom: -18px;
  width: 100%; height: 100%; background: var(--red); pointer-events: none;
}
.media-row--top { align-items: start; }
.media-row--top .section__title { margin-top: 0; }
.media-row .checklist { columns: 1; margin: 0 0 1.1em; }
.media-row .checklist li { font-weight: 400; }

/* Compact interior-page hero */
.page-hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; padding-block: clamp(44px, 6vw, 76px); }
/* Interior-page hero carrying a designed brand banner (navy + "Diamond Strong"
   diamonds + imagery, e.g. the About handshake banner from the brand library).
   Set the art per page via inline --hero-img; the left navy gradient keeps the
   white H1 + breadcrumb + call button legible over the photo side. */
.page-hero--photo {
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg, rgba(2,48,107,.95) 0%, rgba(2,48,107,.80) 42%, rgba(2,48,107,.32) 70%, rgba(2,48,107,.06) 100%),
    var(--hero-img, none);
  background-position: center, right center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}
.page-hero__breadcrumb { font-size: 13px; color: #aab6d0; margin-bottom: 12px; letter-spacing: .02em; }
.page-hero__breadcrumb a { color: #aab6d0; text-decoration: none; }
.page-hero__breadcrumb a:hover { color: #fff; text-decoration: underline; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero__sub { font-size: 1.3rem; color: #dce2ee; max-width: 62ch; margin-bottom: 24px; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: var(--surface); border-top: 4px solid var(--red); padding-bottom: 26px; box-shadow: 0 0 0 1px var(--border); transition: transform var(--ease), box-shadow var(--ease); display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.service-card__media { display: block; overflow: hidden; }
.service-card__media img { display: block; width: 100%; height: 220px; object-fit: cover; transition: transform .4s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__title { font-size: 1.375rem; padding: 22px 26px 0; margin-bottom: .4em; }
.service-card__blurb { font-size: 1rem; color: var(--body); padding: 0 26px; flex: 1; }
.service-card__link { display: inline-block; padding: 6px 26px 0; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; color: var(--red); text-decoration: none; }
.service-card__link:hover { color: var(--navy); }

/* ---------- Pills / industries ---------- */
.pill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.pill { background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--navy); padding: 22px; font-weight: 700; color: var(--body-strong); text-align: center; transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease); }
.pill:hover { border-top-color: var(--red); box-shadow: var(--shadow-card); transform: translateY(-4px); }

/* ---------- Checklist ---------- */
.checklist { columns: 3; column-gap: 36px; list-style: none; margin: 0; padding: 0; }
.checklist li { break-inside: avoid; padding: 8px 0 8px 30px; position: relative; font-weight: 600; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 13px; height: 7px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }

/* ---------- Four Cs (About core values) ---------- */
/* Each diamond owns the three values beneath it (DMC1-33). The values used to run
   as one flat 3-column checklist under all four diamonds, so they read against the
   wrong C. Nesting the list inside the grid cell keeps each value with its diamond. */
.four-cs { display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; gap: 0 28px; list-style: none; margin: 1.4em 0; padding: 0; }
.four-cs li { margin: 0; }
.four-cs img { display: block; width: 100%; height: auto; }
.four-cs .checklist { columns: 1; margin: 6px 0 0; }
.four-cs .checklist li { padding: 6px 0 6px 26px; font-size: .95rem; }
.four-cs .checklist li::before { top: 10px; }

/* ---------- Media row / feature columns ---------- */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.subservices { margin-top: clamp(40px, 6vw, 64px); }
.link-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.link-list a { display: block; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--red); padding: 16px 20px; font-weight: 700; color: var(--navy); text-decoration: none; transition: box-shadow var(--ease), transform var(--ease); }
.link-list a:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); color: var(--red); }
.media-row img { width: 100%; height: auto; box-shadow: 0 0 0 1px var(--border); }
.section-icon { width: 56px; height: 56px; margin-bottom: 14px; }
.feature-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.feature-cols .section__title { font-size: 1.3rem; margin-bottom: 8px; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial { background: var(--surface); margin: 0; padding: 32px 30px 30px 34px; position: relative; font-size: 1rem; color: var(--body); border-top: 3px solid var(--navy); box-shadow: 0 0 0 1px var(--border); }
.testimonial::before { content: "\201C"; position: absolute; top: 2px; left: 16px; font-size: 3.4rem; line-height: 1; color: var(--red); opacity: .9; font-family: Georgia, serif; }
.section--soft .testimonial { background: var(--surface); }
.testimonial--feature { font-size: 1.3rem; line-height: 1.55; max-width: 82ch; padding: 40px 40px 36px 48px; }

/* Auto-scrolling review marquee */
.review-carousel {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.review-track { display: flex; width: max-content; animation: review-scroll 70s linear infinite; }
.review-carousel:hover .review-track,
.review-carousel:focus-within .review-track { animation-play-state: paused; }
.review-card {
  flex: 0 0 380px; width: 380px; margin-right: 26px; box-sizing: border-box;
  min-height: 100%; align-self: stretch;
}
@keyframes review-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 767px) { .review-card { flex-basis: 300px; width: 300px; } }
@media (prefers-reduced-motion: reduce) {
  .review-track { animation: none; }
  .review-carousel { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
}

/* ---------- Brands ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); }
.brand-grid__item { background: var(--surface); padding: 20px 12px; text-align: center; font-weight: 700; color: var(--navy); font-size: .95rem; text-transform: uppercase; letter-spacing: .03em; transition: background-color var(--ease), color var(--ease); }
.brand-grid__item:hover { background: var(--navy); color: #fff; }

.brand-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; margin: 0; padding: 0; }
.brand-chips li { background: #fff; border: 1px solid var(--border); border-bottom: 3px solid var(--navy); padding: 12px 20px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .03em; font-size: .9rem; transition: border-color var(--ease), color var(--ease); }
.brand-chips li:hover { border-bottom-color: var(--red); color: var(--red); }

/* ---------- Trust / awards ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; margin: 30px 0 0; padding: 0; }
.trust-grid__item { background: var(--surface-soft); padding: 18px 20px; font-weight: 700; border-bottom: 3px solid var(--red); }
.award-grid { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; list-style: none; margin: 32px 0 0; padding: 0; }
.award-grid__item { background: #fff; border: 1px solid var(--border); padding: 10px; }
.award-grid__item img { display: block; width: auto; height: 104px; }
.trust-closing { max-width: 940px; margin-inline: auto; }
.trust-closing .award-grid { justify-content: center; }

/* ---------- Blog index ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-top: 4px solid var(--red); box-shadow: 0 0 0 1px var(--border); text-decoration: none; color: var(--body-strong); overflow: hidden; transition: transform var(--ease), box-shadow var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.post-card__media { display: block; overflow: hidden; }
.post-card__media img { display: block; width: 100%; height: 200px; object-fit: cover; transition: transform .4s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-card__tag { display: inline-block; align-self: flex-start; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 10px; margin-bottom: 12px; }
.post-card__title { font-size: 1.2rem; line-height: 1.3; margin: 0 0 18px; }
.post-card__more { margin-top: auto; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; color: var(--red); }

/* Blog pagination */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination__link { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--navy); background: #fff; box-shadow: 0 0 0 1px var(--border); transition: background-color var(--ease), color var(--ease); }
.pagination__link:hover { background: var(--navy); color: #fff; }
.pagination__link.is-current { background: var(--red); color: #fff; box-shadow: none; }
.pagination__prev, .pagination__next { padding: 0 18px; }

/* ---------- Contact form ---------- */
.contact-form__hp { position: absolute; left: -9999px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: block; margin-bottom: 18px; }
.form-field > span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--body-strong); }
.form-field em { color: var(--red); font-style: normal; }
.form-field input, .form-field textarea, .form-field select { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 2px; font: inherit; color: var(--body); background: #fff; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(2,48,107,.12); }
.contact-form button { margin-top: 8px; }
.contact-card { background: var(--surface-soft); padding: 32px; border-top: 4px solid var(--navy); }
.contact-card__title { font-size: 1.3rem; }
.contact-card__row { margin: 0 0 16px; }
.contact-card__row strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--body-soft); margin-bottom: 2px; }
.contact-card__row a { color: var(--navy); font-weight: 700; text-decoration: none; }
.contact-card__row a:hover { color: var(--red); }

/* ---------- CTA band ---------- */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band__title { margin-bottom: 6px; }
.cta-band__text { margin: 0; color: #cdd6e8; max-width: 60ch; }

/* ---------- Footer ---------- */
/* Newsletter signup, stacked inside the footer brand column (Mailchimp), site-wide */
.footer-signup { margin-top: 28px; max-width: 340px; }
.footer-signup__title { color: #fff; font-size: 1.05rem; letter-spacing: .01em; margin: 0 0 12px; }
.footer-signup__field { display: block; margin-bottom: 12px; }
.footer-signup input[type="email"] { width: 100%; padding: 12px 14px; border: 0; border-radius: 4px; font-size: 16px; font-family: inherit; color: var(--body); background: #fff; }
.footer-signup input[type="email"]:focus { outline: none; box-shadow: 0 0 0 3px rgba(243,188,38,.35); }
.footer-signup .btn { width: auto; }

/* Blog subscribe bar (Mailchimp), at the top of the blog hub + each post */
.blog-subscribe { padding: 28px 0 8px; }
.blog-subscribe__inner { max-width: 760px; margin: 0 auto; }
.blog-subscribe__form { display: flex; gap: 10px; flex-wrap: wrap; }
.blog-subscribe__field { flex: 1 1 280px; }
.blog-subscribe__form input[type="email"] { width: 100%; padding: 14px 16px; border: 1px solid var(--red); border-radius: 3px; font-size: 16px; font-family: inherit; color: var(--body); background: #fff; }
.blog-subscribe__form input[type="email"]:focus { outline: none; box-shadow: 0 0 0 3px rgba(208,17,43,.18); }
.blog-subscribe__btn { background: var(--red); color: #fff; border: 1px solid var(--red); border-radius: 3px; padding: 0 26px; min-height: 50px; white-space: nowrap; font-weight: 700; letter-spacing: .02em; cursor: pointer; }
.blog-subscribe__btn:hover { background: #b00e24; border-color: #b00e24; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-footer { background: var(--navy); color: #c2cce0; }
.site-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; padding-block: 60px; }

/* Gray footer base (call + social, then copyright/legal) sits at the very bottom,
   so the footer reads as one navy block closing on a single gray foot. */
.footer-base { background: var(--dark-gray, #474747); }
.footer-base__call { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-block: 18px; }
.footer-base__phone { margin: 0; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.footer-base__phone a { color: var(--gold); text-decoration: none; }
.footer-base__phone a:hover { text-decoration: underline; }
.footer-base__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-block: 14px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #c9cdd2; }
.footer-base__legal p { margin: 0; }
.footer-base__legal .site-footer__legal a { color: #c9cdd2; }
.footer-base__legal .site-footer__legal a:hover { color: #fff; }
.site-footer__logo { font-size: 1.5rem; font-weight: 900; color: #fff; letter-spacing: -.01em; }
.site-footer__tagline { margin: 14px 0; }
.site-footer__phone { display: inline-block; font-size: 1.4rem; font-weight: 900; color: #fff; text-decoration: none; margin-top: 8px; }
.site-footer__meta { font-size: 14px; margin: 4px 0; color: #8fa0c2; }
.site-footer__heading { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 14px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list li { margin-bottom: 9px; }
.site-footer__list a, .site-footer__legal a { color: #c2cce0; text-decoration: none; }
.site-footer__list a:hover, .site-footer__legal a:hover { color: #fff; text-decoration: underline; }
.site-footer__awards { border-top: 1px solid rgba(255,255,255,.14); }
.site-footer__awards-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 22px; }
.site-footer__awards-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8fa0c2; }
.footer-awards { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; list-style: none; margin: 0; padding: 0; }
.footer-awards li { background: #fff; padding: 8px 14px; line-height: 0; border-radius: 2px; }
.footer-awards img { display: block; width: auto; height: 44px; }
.site-footer__list--areas li { color: #c2cce0; }
.social-row { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.social-row__link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--navy);
  transition: background-color var(--ease), color var(--ease), transform var(--ease);
}
.social-row__link:hover, .social-row__link:focus-visible { background: var(--red); color: #fff; transform: translateY(-2px); }

.site-footer__bar { border-top: 1px solid rgba(255,255,255,.14); }
.site-footer__bar-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 20px; font-size: 13px; color: #8fa0c2; }
.site-footer__legal { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }

/* ---------- Sticky mobile call bar ---------- */
.call-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; align-items: center; justify-content: center; gap: 10px; background: var(--red); color: #fff; text-decoration: none; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; padding: 15px; box-shadow: 0 -6px 20px -8px rgba(0,0,0,.5); }
.call-bar__icon { display: inline-flex; }

/* ---------- Landing pages (.lp scope) ----------
   LPs use the standard base layout (full site nav + footer) for brand
   consistency; these are just hero/CTA accents layered on the shared chrome. */
.lp-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-bottom: 8px; }
.lp-hero__avail { font-size: 14px; font-weight: 700; color: #dce2ee; }
.lp-cta { font-size: 1.05rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .checklist { columns: 2; }
  .feature-cols { grid-template-columns: 1fr; gap: 30px; }
  .pill-grid { grid-template-columns: repeat(2, 1fr); }
  .site-header__cta { display: none; }
}
@media (max-width: 900px) {
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--border); box-shadow: var(--shadow-card); margin: 0; display: none; }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__link { padding: 15px 24px; border-top: 1px solid var(--border); }
  .site-nav__link::after { display: none; }
  .site-nav__submenu { position: static; display: block; background: var(--surface-soft); box-shadow: none; }
  .site-nav__sublink { color: var(--body); }
  .site-nav__sublink:hover, .site-nav__sublink.is-active { background: var(--surface-mid); color: var(--red); }
  .site-header__actions { margin-left: auto; }
  .site-header__toggle { display: flex; margin-left: 0; }
}
@media (max-width: 767px) {
  body { font-size: 16px; padding-bottom: 60px; }
  .topbar__item:not(.topbar__item--em) { display: none; }
  .topbar__link { margin-left: auto; }
  .site-header__phone-label { display: none; }
  .card-grid, .testimonial-grid, .trust-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .checklist { columns: 1; }
  .four-cs { grid-template-columns: repeat(2, 1fr); }
  .media-row, .split { grid-template-columns: 1fr; gap: 28px; }
  .form-row, .link-list { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .call-bar { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
