/*
Theme Name: HomeWorx Restoration
Theme URI: https://example.com/homeworx-restoration
Author: HomeWorx Restoration Group
Author URI: https://example.com
Description: A sleek, modern one-page theme for emergency restoration and water mitigation companies. Features a live-dispatch identity, parallax hero, scroll reveals, editable Services / Testimonials / FAQ content types, Google Reviews linking, brand color controls, and built-in LocalBusiness + FAQ structured data for SEO.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: homeworx
Tags: business, one-column, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options, footer-widgets
*/

/* ==========================================================================
   Design tokens
   Colors are also emitted by the Customizer so brand colors can be changed
   from Appearance -> Customize -> Brand & Colors. Defaults below are the
   fallback identity.
   ========================================================================== */
:root {
  --ink:        #0b1320;   /* deep navy, near-black */
  --ink-2:      #131c2e;   /* raised navy panel */
  --ink-3:      #1c2740;   /* hover navy */
  --paper:      #f6f7fb;   /* page background */
  --surface:    #ffffff;
  --line:       #e3e7ef;   /* hairline borders */
  --line-soft:  #eef1f7;
  --muted:      #5b6472;   /* secondary text */
  --muted-2:    #8b93a3;
  --accent:     #d8352c;   /* emergency red */
  --accent-deep:#b01f17;
  --live:       #22c36b;   /* "available now" green */
  --focus:      #4c8dff;

  --container: 1200px;
  --pad-x: clamp(16px, 5vw, 64px);
  --section-y: clamp(64px, 9vw, 112px);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(11,19,32,.06), 0 1px 3px rgba(11,19,32,.05);
  --shadow-md: 0 10px 30px -12px rgba(11,19,32,.25);
  --shadow-lg: 0 30px 60px -20px rgba(11,19,32,.45);

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --ease-out: cubic-bezier(.16,.84,.44,1);
  --ease-spring: cubic-bezier(.34,1.4,.5,1);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: -.02em; line-height: 1.08; }
::selection { background: var(--accent); color: #fff; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--section-y); }

/* Eyebrow / mono label — a recurring "data readout" device */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  opacity: .55;
}

.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 4.4vw, 46px);
  margin-block: 18px 14px;
  color: var(--ink);
}
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.on-dark .section-head h2 { color: #fff; }
.on-dark .section-head p { color: rgba(255,255,255,.66); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: transform .25s var(--ease-spring), background .25s var(--ease-out), box-shadow .25s var(--ease-out);
  white-space: nowrap;
}
.btn .ms { font-size: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--accent { --btn-bg: var(--accent); box-shadow: 0 12px 24px -12px rgba(216,53,44,.7); }
.btn--accent:hover { --btn-bg: var(--accent-deep); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn--outline:hover { background: var(--ink); --btn-fg: #fff; }

/* ==========================================================================
   Live status pill — the signature "always-on dispatch" motif
   ========================================================================== */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(6px);
}
.live-pill.on-light {
  border-color: var(--line);
  color: var(--muted);
  background: var(--surface);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(34,195,107,.6);
  animation: livePulse 2.2s var(--ease-out) infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,195,107,.55); }
  70%  { box-shadow: 0 0 0 7px rgba(34,195,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,195,107,0); }
}

/* Mono "readout" chip — response time promise rendered as instrument data */
.readout {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  background: rgba(255,255,255,.03);
}
.readout .label { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.readout .value { font-size: 18px; color: #fff; letter-spacing: .02em; }
.readout .value b { color: var(--accent); font-weight: 700; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 78px;
  display: flex;
  align-items: center;
  transition: height .3s var(--ease-out), background .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(11,19,32,.72);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  opacity: 0;
  transition: opacity .3s var(--ease-out);
}
.site-header.scrolled { height: 64px; box-shadow: var(--shadow-md); }
.site-header.scrolled::before { opacity: 1; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; position: relative; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.brand .mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--accent);
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(216,53,44,.8);
}
.brand .mark .ms { font-size: 22px; }
.brand .name { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.brand img { max-height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: color .25s var(--ease-out);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--accent);
  transition: width .3s var(--ease-out);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 7px;
  color: #fff; font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em;
}
.header-phone .ms { color: var(--accent); font-size: 18px; }

.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 6px; }
.nav-toggle .ms { font-size: 28px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  padding-top: 78px;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,19,32,.62) 0%, rgba(11,19,32,.55) 40%, rgba(11,19,32,.9) 100%),
    linear-gradient(90deg, rgba(11,19,32,.85) 0%, rgba(11,19,32,.2) 70%);
}
/* Subject-grounded texture: a faint moisture-mapping / thermal grid that drifts */
.hero__grid {
  position: absolute; inset: -10%; z-index: 2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 20% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 20% 30%, #000 0%, transparent 75%);
  will-change: transform;
}
.hero__inner { position: relative; z-index: 3; width: 100%; }
.hero__col { max-width: 760px; color: #fff; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(38px, 6.4vw, 74px);
  line-height: .98;
  letter-spacing: -.03em;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--accent); }
.hero__lead {
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.55;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 34px; }
.hero__readouts { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__scrollcue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 3; color: rgba(255,255,255,.5);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scrollcue .line { width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.5), transparent); animation: cueDrop 2s var(--ease-out) infinite; }
@keyframes cueDrop { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* Trust strip under hero */
.trust {
  background: var(--ink-2);
  border-top: 1px solid rgba(255,255,255,.06);
}
.trust__row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding-block: 30px;
}
.trust__item { color: #fff; }
.trust__item .n { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -.02em; }
.trust__item .n b { color: var(--accent); }
.trust__item .t { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 4px; }

/* ==========================================================================
   Services — bento
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: 52px; }
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease-out), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

.card--feature { grid-column: span 7; min-height: 460px; }
.card--stack { grid-column: span 5; display: grid; gap: 20px; grid-template-rows: 1fr 1fr; }
.card--media { grid-column: span 12; }
@media (min-width: 900px) { .card--media { grid-column: span 12; } }

.card__img { position: absolute; inset: 0; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.card:hover .card__img img { transform: scale(1.06); }
.card__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,19,32,0) 25%, rgba(11,19,32,.72) 62%, rgba(11,19,32,.95) 100%); }
.card__veil--flat { background: rgba(11,19,32,.78); transition: background .4s; }
.card:hover .card__veil--flat { background: rgba(11,19,32,.68); }

.card__body { position: relative; z-index: 2; padding: 30px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.card--onimg .card__body { color: #fff; }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(216,53,44,.14); color: var(--accent);
  margin-bottom: auto;
}
.card--onimg .card__icon { background: rgba(255,255,255,.12); color: #fff; }
.card__icon .ms { font-size: 26px; }
.card__kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.card--onimg .card__kicker { color: #fff; opacity: .9; }
.card h3 { font-size: clamp(20px, 2.4vw, 27px); margin-bottom: 10px; }
.card p { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; line-height: 1.55; max-width: 46ch; }
.card--onimg p { color: rgba(255,255,255,.85); }
.card__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
  color: var(--accent);
}
.card--onimg .card__link { color: #fff; }
.card__link .ms { transition: transform .3s var(--ease-out); }
.card__link:hover .ms { transform: translateX(5px); }

/* solid panel variant (rapid unit) */
.card--panel { background: var(--paper); }
.card--panel .badge {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 5px 10px; border-radius: 6px;
}

/* ==========================================================================
   Process — real sequence, so numbered markers are justified
   ========================================================================== */
.process { background: var(--ink); position: relative; overflow: hidden; }
.process .container { position: relative; z-index: 2; }
.process__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(90% 80% at 50% 0%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(90% 80% at 50% 0%, #000, transparent 80%);
  will-change: transform;
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 56px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16) 12%, rgba(255,255,255,.16) 88%, transparent);
}
.step { position: relative; text-align: center; color: #fff; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 22px;
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.14);
  font-family: var(--font-mono); font-size: 14px; color: rgba(255,255,255,.9);
  position: relative; z-index: 2;
}
.step:first-child .step__num { background: var(--accent); border-color: var(--accent); box-shadow: 0 12px 26px -10px rgba(216,53,44,.8); }
.step h4 { font-size: 19px; margin-bottom: 9px; }
.step p { color: rgba(255,255,255,.62); font-size: 14.5px; margin: 0; padding-inline: 6px; line-height: 1.55; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.reviews__rating {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 18px; background: var(--surface);
}
.reviews__rating .score { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.reviews__rating .stars { color: var(--accent); display: flex; gap: 1px; }
.reviews__rating .stars .ms { font-size: 18px; }
.reviews__rating .meta { font-size: 12.5px; color: var(--muted); }
.reviews__rating .meta a { color: var(--accent); font-weight: 600; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-out);
}
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.review .stars { color: var(--accent); display: flex; gap: 1px; margin-bottom: 16px; }
.review .stars .ms { font-size: 18px; }
.review blockquote { margin: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review .who .ph { width: 44px; height: 44px; border-radius: 50%; background: var(--ink-2); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; }
.review .who .nm { font-weight: 600; font-size: 14.5px; }
.review .who .lo { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--muted-2); text-transform: uppercase; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--surface); }
.faq__wrap { max-width: 760px; margin-inline: auto; }
.faq__list { margin-top: 40px; display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq__item.open { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; background: none; border: 0; text-align: left;
  font-family: var(--font-display); font-weight: 500; font-size: 17px; color: var(--ink);
}
.faq__q .ms { color: var(--accent); transition: transform .35s var(--ease-spring); }
.faq__item.open .faq__q .ms { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out); }
.faq__a p { margin: 0; padding: 0 22px 22px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta { position: relative; overflow: hidden; background: var(--ink); }
.cta__media { position: absolute; inset: 0; z-index: 0; }
.cta__media img { width: 100%; height: 130%; object-fit: cover; will-change: transform; }
.cta__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,19,32,.9), rgba(11,19,32,.82)); backdrop-filter: blur(2px); }
.cta .container { position: relative; z-index: 2; text-align: center; color: #fff; }
.cta h2 { font-size: clamp(30px, 5vw, 54px); max-width: 16ch; margin: 20px auto 18px; line-height: 1.02; }
.cta p { color: rgba(255,255,255,.78); font-size: 19px; max-width: 54ch; margin: 0 auto 34px; }
.cta__row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 56px 40px; }
.footer__brand .name { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.footer__brand p { color: rgba(255,255,255,.6); font-size: 14.5px; margin: 12px 0 20px; max-width: 34ch; }
.footer__col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 16px; }
.footer__col a, .footer__col p { display: block; color: rgba(255,255,255,.72); font-size: 14.5px; margin-bottom: 11px; transition: color .25s; }
.footer__col a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #fff; }
.footer__social a:hover { background: var(--accent); border-color: var(--accent); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bar p { margin: 0; color: rgba(255,255,255,.5); font-size: 13px; }
.footer__bar .live-pill { color: rgba(255,255,255,.7); }

/* ==========================================================================
   Scroll reveal + parallax base
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* Accessibility: focus + reduced motion */
:where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__media img, .cta__media img, .hero__grid, .process__bg { transform: none !important; }
}

/* Accessibility helpers */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: fixed !important;
  top: 12px; left: 12px;
  width: auto; height: auto;
  padding: 12px 18px; margin: 0; clip: auto;
  z-index: 1000; background: var(--accent); color: #fff;
  font-family: var(--font-mono); font-size: 13px; border-radius: 8px;
}

/* Entry content (pages, posts) */
.entry-content { font-size: 17px; line-height: 1.7; color: #26303f; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.6em; color: var(--ink); }
.entry-content h2 { font-size: 30px; }
.entry-content h3 { font-size: 23px; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { border-left: 3px solid var(--accent); padding-left: 20px; color: var(--muted); font-style: italic; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content code { font-family: var(--font-mono); background: var(--paper); padding: 2px 6px; border-radius: 6px; font-size: .9em; }

/* Pagination */
.wp-block-post, .pagination, .nav-links { margin-top: 40px; }
.nav-links { display: flex; gap: 10px; flex-wrap: wrap; }
.nav-links .page-numbers {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 14px;
  transition: background .25s, color .25s, border-color .25s;
}
.nav-links .page-numbers:hover, .nav-links .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Material Symbols */
.ms { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; line-height: 1; vertical-align: middle; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.ms.fill { font-variation-settings: 'FILL' 1; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .card--feature, .card--stack { grid-column: span 12; }
  .card--feature { min-height: 380px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .steps::before { display: none; }
  .reviews__grid { grid-template-columns: 1fr; }
  .trust__row { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero__cta .btn { width: 100%; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11,19,32,.98); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: var(--pad-x);
  transform: translateY(-100%); transition: transform .4s var(--ease-out);
}
.mobile-nav.open { transform: none; }
.mobile-nav a { color: #fff; font-family: var(--font-display); font-size: 26px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav .close { position: absolute; top: 22px; right: var(--pad-x); background: none; border: 0; color: #fff; }
.mobile-nav .close .ms { font-size: 32px; }
