/* ==========================================================================
   SEO Master Agency v5 — theme.css
   Front-end stylesheet for the seo-master-agency-v5 block theme.
   Built from scratch 2026-11-25: FULL-WIDTH / FULL-SCREEN layout.
   Mobile-first. Enqueued (versioned) by the theme. No external URLs,
   no @font-face (fonts are loaded by theme.json from the theme's own
   woff2 files), no images referenced from outside the theme.
   Palette carried from theme.json — do not invent other colours.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Tokens
   -------------------------------------------------------------------------- */
:root{
  /* Palette — exact values from theme.json */
  --sma-base:#ffffff;
  --sma-paper:#f6f4ef;
  --sma-paper-deep:#ece8df;
  --sma-ink:#0b1324;
  --sma-ink-muted:#4b5565;
  --sma-hairline:#e3ded4;
  --sma-line:#e3ded4;
  --sma-primary:#1e46c7;
  --sma-primary-deep:#16348f;
  --sma-primary-tint:#eaeffb;
  --sma-green:#0f7a55;
  --sma-green-tint:#e4f1ea;
  --sma-amber-dark:#a8650f;
  --sma-dark:#0d1526;
  --sma-dark-raised:#18223a;
  --sma-lime:#a3e635;
  --sma-lime-deep:#84cc16;
  --sma-amber:#f5a300;
  /* Gradients — exact values from theme.json */
  --sma-grad-brand:linear-gradient(135deg,#1d4ed8,#1739a8);
  --sma-grad-midnight:linear-gradient(140deg,#070c18,#16224a 60%,#1739a8);
  --sma-grad-growth:linear-gradient(135deg,#00a874,#1d4ed8);
  --sma-grad-text:linear-gradient(90deg,#5b8cff,#a3e635);
  /* Type */
  --sma-font-body:"Inter",-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --sma-font-display:"Plus Jakarta Sans","Inter",-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --sma-font-mono:ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace;
  /* Layout — v5 full-width system (see §7) */
  --sma-container:80rem;              /* 1280px — every section aligns here */
  --sma-wide:88rem;                   /* 1408px — theme.json wideSize */
  --sma-gutter:1.5rem;                /* the ONE gutter for every grid */
  --sma-section-pad:clamp(3rem,6vw,4.5rem); /* the ONE section rhythm */
  --sma-narrow:760px;
  /* Shape — sections are square (full-bleed); radius lives on components only */
  --sma-radius:16px;
  --sma-radius-lg:20px;
  --sma-radius-sm:10px;
  --sma-shadow:0 10px 30px rgba(11,19,36,.10);
  --sma-shadow-lg:0 24px 60px rgba(11,19,36,.18);
  --sma-focus:0 0 0 3px #fff,0 0 0 6px var(--sma-primary);
}

/* --------------------------------------------------------------------------
   1. Base / reset
   -------------------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:auto;-webkit-text-size-adjust:100%}
/* overflow-x:clip stops the 100vw full-bleed sections (§7) from creating a
   horizontal scrollbar where the OS scrollbar eats viewport width — and
   unlike overflow:hidden it does NOT break the sticky header.
   scrollbar-gutter:stable (v5.0.1) reserves the classic-scrollbar space so
   100vw geometry stays put when the vertical scrollbar appears; on
   overlay-scrollbar systems (mobile, macOS) it is a no-op. Belt-and-braces
   only — the 360px clip was the §7.1 margin failure, not the scrollbar. */
html{scrollbar-gutter:stable}
html,body{overflow-x:clip}
@supports not (overflow:clip){html,body{overflow-x:hidden}}
body{
  margin:0;background:var(--sma-base);color:var(--sma-ink);
  font-family:var(--sma-font-body);font-size:1.0625rem;line-height:1.65;
}
img,video,iframe,svg{max-width:100%;height:auto}
img{border-style:none}
figure{margin:0 0 1.5rem}
figcaption{font-size:.875rem;color:var(--sma-ink-muted);margin-top:.5rem;line-height:1.5}
hr{border:0;border-top:1px solid var(--sma-hairline);margin:2rem 0}
::selection{background:var(--sma-primary);color:#fff}
a{color:var(--sma-primary)}
a:hover{color:var(--sma-primary-deep)}

/* Accessible focus — visible everywhere, incl. dark sections */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,
select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{
  outline:3px solid var(--sma-primary);outline-offset:2px;border-radius:4px;
}
.sma-hero a:focus-visible,.sma-founder-card a:focus-visible,
.sma-contact a:focus-visible,.sma-footer a:focus-visible{outline-color:var(--sma-lime)}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--sma-ink);color:#fff;padding:.75rem 1rem;z-index:200;border-radius:0 0 8px 0}
.skip-link:focus{left:0;color:#fff}

/* --------------------------------------------------------------------------
   2. Typography — fluid, mobile-first
   -------------------------------------------------------------------------- */
h1,h2,h3,h4,h5,h6{
  font-family:var(--sma-font-display);font-weight:700;letter-spacing:-.025em;
  line-height:1.12;color:var(--sma-ink);margin:0 0 .75rem;
}
h1{font-size:clamp(2rem,5vw,3rem);line-height:1.08;text-wrap:balance}
h2{font-size:clamp(1.5rem,4vw,2.15rem);line-height:1.15;text-wrap:balance}
h3{font-size:clamp(1.15rem,3vw,1.35rem);line-height:1.3}
h4{font-size:1.125rem;letter-spacing:-.015em}
h5{font-size:1.0625rem}
h6{font-size:.9375rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
p{margin:0 0 1rem}
p:last-child{margin-bottom:0}
ul,ol{margin:0 0 1rem;padding-left:1.25rem}
li{margin-bottom:.5rem}
li:last-child{margin-bottom:0}
li::marker{color:var(--sma-primary)}
small{font-size:.875rem}
strong{font-weight:700}
blockquote{
  margin:0 0 1.5rem;padding-left:1.5rem;border-left:3px solid var(--sma-primary);
  font-size:1.25rem;line-height:1.5;font-family:var(--sma-font-display);font-weight:600;
}
code{font-family:var(--sma-font-mono);font-size:.9em;background:var(--sma-paper);padding:.1em .35em;border-radius:4px}
pre{
  font-family:var(--sma-font-mono);font-size:.9375rem;background:var(--sma-paper);
  border:1px solid var(--sma-hairline);border-radius:var(--sma-radius-sm);
  padding:1rem 1.25rem;overflow-x:auto;margin:0 0 1.5rem;
}
pre code{background:none;padding:0}
.wp-block-separator{border-top:1px solid var(--sma-hairline);margin:2rem 0}

/* Kicker / eyebrow label, used above section headings */
.sma-kicker{
  color:var(--sma-primary);font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  font-size:.8rem;margin:0 0 .5rem;
}
.sma-hero .sma-kicker{color:var(--sma-lime)}

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
/* v5.0.9 (V9-0): ONE accent for primary actions — lime, the brand
   accent (navy + lime logo). Blue was the third accent alongside navy
   and lime and read as a different brand on buttons. Lime + dark text
   reads on white AND on navy, so the same button works in the header,
   the hero, the CTA band and the footer. */
.wp-block-button__link,.sma-btn .wp-block-button__link{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  background:var(--sma-lime);color:var(--sma-primary-deep);border:0;border-radius:8px;
  padding:.85rem 1.35rem;font-family:var(--sma-font-display);font-size:.9375rem;
  font-weight:600;letter-spacing:-.005em;text-decoration:none;line-height:1.25;
  transition:background .2s ease,transform .2s ease;
}
.wp-block-button__link:hover{background:var(--sma-lime-deep);color:var(--sma-primary-deep)}
.wp-block-button__link:active{transform:translateY(1px)}
.sma-btn-secondary .wp-block-button__link{
  background:transparent;color:#fff;border:1px solid rgba(255,255,255,.55);
}
.sma-btn-secondary .wp-block-button__link:hover{background:rgba(255,255,255,.12);color:#fff}
/* Explicit primary variant (the base .wp-block-button__link above IS the
   primary style; this keeps the class from the live page self-describing). */
.sma-btn-primary .wp-block-button__link{background:var(--sma-lime);color:var(--sma-primary-deep)}
.sma-btn-primary .wp-block-button__link:hover{background:var(--sma-lime-deep)}
.sma-btn-text .wp-block-button__link{
  background:none;color:var(--sma-lime);padding:.85rem 0;text-decoration:underline;
  text-underline-offset:3px;
}
.sma-btn-text .wp-block-button__link:hover{color:#fff;background:none}
/* Full-width CTAs on a phone (mobile-first); natural width from 640px up */
.sma-btns .wp-block-button{flex:1 1 100%}
.sma-btns .wp-block-button__link{width:100%;text-align:center}
@media (min-width:640px){
  .sma-btns .wp-block-button{flex:0 1 auto}
  .sma-btns .wp-block-button__link{width:auto}
}

/* --------------------------------------------------------------------------
   4. Header — full-width, sticky, 80rem inner row
   The outer part is align:"full" (survives); the inner row is pinned to
   80rem by class, NOT by alignwide — v4 proved inner-row align classes
   do not survive to the served HTML, so widths must never depend on them.
   -------------------------------------------------------------------------- */
.sma-header{
  position:sticky;top:0;z-index:100;background:#fff;
  border-bottom:1px solid var(--sma-hairline);
  padding:.75rem 1rem;
}
.sma-header-inner{
  max-width:var(--sma-container);margin-inline:auto;
  display:flex;align-items:center;gap:.75rem;flex-wrap:nowrap;
}
.sma-brand{display:flex;align-items:center;gap:.6rem;flex-shrink:0;min-width:0}
.sma-brand .wp-block-site-logo{margin:0;flex-shrink:0}
/* v5.0.1: never force the logo into a square. v5.0.0 set width/height
   40px, which squashed the installed 1200x192 lockup into a 40x40 smear
   (live img is 48x7 attributes). The header slot renders EITHER file
   undistorted: the square mark at 40x40, the wide lockup at <=180px wide.
   The Site Logo SHOULD be logo-mark.png (see LOGO-INSTALL.md): the slot
   is square, the wordmark already sits next to it as the site title, and
   only the mark fits the 80rem header budget with 10 nav items. */
.sma-brand .wp-block-site-logo img{width:auto;height:auto;max-width:180px;max-height:40px;display:block}
.sma-site-title{
  font-family:var(--sma-font-display);font-weight:800;font-size:1.05rem;
  letter-spacing:-.03em;white-space:nowrap;margin:0;
}
.sma-site-title a{color:var(--sma-ink);text-decoration:none}
.sma-site-title a:hover{color:var(--sma-primary)}
.sma-header-actions{display:flex;align-items:center;gap:.75rem;flex-shrink:0}
.sma-header-actions .wp-block-buttons{margin:0}
.sma-header-phone{margin:0;font-weight:700;white-space:nowrap;font-size:.95rem}
.sma-header-phone a{color:var(--sma-ink);text-decoration:none}
.sma-header-phone a:hover{color:var(--sma-primary)}
/* The phone number only fits once the viewport is very wide; it also lives in
   the footer and the mobile call bar, so hiding it here loses nothing.
   v5.0.1: breakpoint raised 1499px -> 1750px — at 1920px the brand + 10
   nav items + phone + CTA measured ~5px over the 80rem row, which is why
   "About" wrapped to a second line. */
@media (max-width:1750px){.sma-header-phone{display:none}}
/* 360px header fix (v4, proven live): the site title's final "Y" was
   covered by the Menu button — shrink the mark and title on very narrow
   screens. Now part of the theme, not Additional CSS. */
@media (max-width:380px){
  .sma-header .sma-brand{gap:.45rem}
  .sma-header .sma-brand .wp-block-site-logo img{width:auto;height:auto;max-width:120px;max-height:28px}
  .sma-header .sma-site-title{font-size:.92rem;letter-spacing:-.01em}
}
/* Header wraps on a small phone: brand + toggle on line 1, CTA on line 2. */
@media (max-width:640px){
  .sma-header-inner{flex-wrap:wrap;row-gap:.5rem}
  .sma-header-actions{flex-basis:100%;justify-content:flex-end}
}

/* Hardcoded header navigation (parts/header.html) — replaces the
   wp:navigation block. Desktop dropdowns are pure CSS; the hamburger
   (below 1200px) is toggled by theme.js. */
.sma-nav{flex:1;display:flex;justify-content:flex-end;align-items:center;min-width:0}
.sma-nav-toggle{
  display:none;align-items:center;gap:.5rem;background:var(--sma-primary-tint);
  border:0;border-radius:8px;padding:.55rem .8rem;cursor:pointer;color:var(--sma-ink);
  font-family:var(--sma-font-display);font-weight:700;font-size:.95rem;
}
.sma-nav-toggle svg{display:block}
.sma-nav-toggle-text{font:inherit;color:inherit}
.sma-nav-list{
  display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;
  gap:.15rem .8rem;list-style:none;margin:0;padding:0;
}
/* v5.0.9: .82rem → .88rem — with three dead/duplicate items removed from
   the nav (Case Studies, Guides, Free SEO Audit — see parts/header.html)
   the remaining links get a readable size instead of small type. */
.sma-nav-list a{
  color:var(--sma-ink);text-decoration:none;font-family:var(--sma-font-display);
  font-weight:600;font-size:.88rem;padding:.4rem .05rem;display:block;white-space:nowrap;
}
.sma-nav-list a:hover{color:var(--sma-primary)}
.sma-nav-item{position:relative;list-style:none;margin:0}
.sma-nav-item.has-submenu > a::after{content:" ▾";font-size:.8em;color:var(--sma-ink-muted)}
.sma-nav-submenu{
  position:absolute;top:100%;left:0;min-width:230px;background:#fff;
  border:1px solid var(--sma-hairline);border-radius:var(--sma-radius-sm);
  box-shadow:var(--sma-shadow);padding:.5rem;list-style:none;margin:0;display:none;z-index:110;
}
.sma-nav-submenu li{margin:0}
.sma-nav-submenu a{display:block;padding:.5rem .75rem;border-radius:6px;white-space:normal}
.sma-nav-submenu a:hover{background:var(--sma-primary-tint)}
.sma-nav-item.has-submenu:hover > .sma-nav-submenu,
.sma-nav-item.has-submenu:focus-within > .sma-nav-submenu{display:block}
/* Mobile (<1200px): hamburger toggles a full-width dropdown panel anchored
   to .sma-header (position:relative via sticky). Submenus render as
   indented nested lists — no hover needed. JS toggle lives in theme.js. */
@media (max-width:1199px){
  .sma-nav-toggle{display:inline-flex}
  .sma-nav-list{
    display:none;position:absolute;top:100%;left:0;right:0;background:#fff;
    border-bottom:1px solid var(--sma-hairline);box-shadow:0 18px 30px rgba(11,19,36,.12);
    flex-direction:column;align-items:stretch;gap:0;padding:.6rem 1.25rem 1.25rem;z-index:110;
  }
  .sma-nav.is-open .sma-nav-list{display:flex}
  .sma-nav-list a{padding:.6rem 0;font-size:.95rem}
  .sma-nav-item.has-submenu > a::after{content:""}
  .sma-nav-submenu{
    position:static;display:block;box-shadow:none;border:0;padding:0 0 .25rem 1rem;min-width:0;
  }
  .sma-nav-submenu a{padding:.45rem 0;font-size:.92rem}
}
/* Minimal header (landing template): brand only, centred. */
.sma-header-minimal{justify-content:center}
.sma-header-minimal .sma-header-inner{justify-content:center}

/* --------------------------------------------------------------------------
   5. Footer — full-width navy, 80rem inner
   -------------------------------------------------------------------------- */
.sma-footer{
  background:var(--sma-dark);color:#d5dcee;
  /* v5.0.3 (H21): less top padding (the footer is not a section) and less
     bottom padding — the empty dark area below the columns shrinks. */
  padding-top:3rem;padding-bottom:1.25rem;
}
.sma-footer-cols{
  max-width:var(--sma-container);margin-inline:auto;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--sma-gutter);
}
.sma-footer-cols > .wp-block-column{margin:0;min-width:0}
.sma-footer h3{color:#fff;font-size:1.05rem;margin-bottom:1rem}
.sma-footer-list{list-style:none;margin:0;padding:0}
.sma-footer-list li{margin-bottom:.5rem}
.sma-footer-list a{color:#d5dcee;text-decoration:none}
.sma-footer-list a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.sma-footer .wp-block-buttons{margin-top:1.25rem}
.sma-legal{
  max-width:var(--sma-container);margin-inline:auto;
  border-top:1px solid rgba(255,255,255,.14);
  padding-top:1.5rem;margin-top:1.5rem;
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.75rem 1.5rem;
  font-size:.85rem;color:#9aa7c2;
}
.sma-legal p{margin:0}
/* v5.0.3 (H21): Services (8 links) and Markets (10) tower over Company
   (5) and Get in touch (5), leaving a large empty dark corner. Split
   the Markets list into two columns at desktop so all four columns end
   at roughly the same height. */
@media (min-width:1024px){
  .sma-footer-col:nth-child(2) .sma-footer-list{columns:2;column-gap:1.25rem}
  .sma-footer-col:nth-child(2) .sma-footer-list li{break-inside:avoid}
}
.sma-legal-links{list-style:none;margin:0;padding:0;display:flex;gap:1.25rem;flex-wrap:wrap}
.sma-legal-links li{margin:0}
.sma-legal-links a{color:#d5dcee;text-decoration:none}
.sma-legal-links a:hover{color:#fff}
@media (max-width:1023px){
  .sma-footer-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:639px){
  .sma-footer-cols{grid-template-columns:1fr}
  .sma-legal{flex-direction:column;align-items:flex-start}
}

/* --------------------------------------------------------------------------
   6. Mobile sticky bar — full-width, phones only
   -------------------------------------------------------------------------- */
.sma-mobile-bar{
  display:none;position:fixed;left:0;right:0;bottom:0;z-index:90;
  background:var(--sma-dark);padding:.6rem 1rem;
  box-shadow:0 -4px 16px rgba(0,0,0,.18);
}
.sma-mobile-bar-btns{
  max-width:var(--sma-container);margin-inline:auto;
  display:flex;justify-content:space-between;gap:.75rem;
}
.sma-mobile-bar-btns .wp-block-button{flex:1 1 0}
.sma-mobile-bar-btns .wp-block-button__link{width:100%}
.sma-btn-call .wp-block-button__link{
  background:transparent;border:1px solid rgba(255,255,255,.55);color:#fff;
}
.sma-btn-call .wp-block-button__link:hover{background:rgba(255,255,255,.12)}
@media (max-width:1023px){
  body{padding-bottom:64px}
  .sma-mobile-bar{display:block}
}

/* --------------------------------------------------------------------------
   7. LAYOUT SYSTEM — the v5 full-width core
   -------------------------------------------------------------------------- */
/* 7.1 Full-bleed breakout. Any section carrying a background — and every
   top-level homepage section, so dividers and rhythm stay full-width —
   breaks out of the 80rem container to the viewport edges, while its
   content stays aligned to the 80rem container via padding-inline.
   The formula works at any nesting depth: each containing block is centred
   and 80rem wide (or the section's own content box, which is 80rem after
   the section's padding), so margin-left:calc(50% - 50vw) always lands the
   element's left edge exactly on the viewport edge. No page content was
   changed to achieve this — the live homepage's own classes do the work.
   Square corners on sections: radius lives on components, never on a
   section background.
   v5.0.1 — WHY THE MARGINS CARRY !important (read before removing it).
   WordPress core's global-styles inline CSS fights this breakout with TWO
   mechanisms, both verified in the live page's own <head> 2026-11-25:
   (1) alignfull sections (hero, contact):
       .has-global-padding > .alignfull { margin-left/right:
       calc(var(--wp--style--root--padding-*) * -1); } (0,2,0), and the
       :where() variant that sets margin-left/right: 0 (0,2,0) — the later
       rule wins, so the margins were 0 and the 100vw section started at
       the container's left edge (320px in at 1920px) and ran off the
       right edge.
   (2) every NON-alignfull top-level section (stats, trust, price-hook,
       FAQ, blog) and every nested dark panel (founder-card, chart):
       .is-layout-constrained > :where(:not(.alignleft):not(.alignright):
       :not(.alignfull)) { max-width: var(--wp--style--global--
       --content-size); margin-left: auto !important; margin-right: auto
       !important; } — the margins are !important, so NO specificity
       alone can beat them. The !important below is therefore REQUIRED,
       not a shortcut: it is the only way to override core's !important.
   The selectors are also raised to (0,3,0) so the width / max-width /
   padding declarations beat core's (0,2,0) alignfull rules and (0,1,0)
   constrained max-width on specificity alone (global styles load BEFORE
   theme.css, so a tie would go to the theme — but we do not rely on
   order). The descendant fallbacks (0,2,0) cover the same sections if
   they ever sit one level deeper in the markup.
   The 360px ~15px right clip was this same failure, not the scrollbar:
   at 360px the entry-content box is 328px (1rem root padding each side),
   so margin:0 + width:100vw put the hero 16px past the right edge
   (observed ~15px). With the margins fixed the hero starts exactly at
   x=0 and spans exactly 360px; mobile browsers use overlay scrollbars,
   so 100vw == visible width there. On classic-scrollbar desktops the
   100vw overhang (<=17px) is absorbed by padding-inline, which is never
   less than 1rem — no content can be clipped by it. */
.wp-block-post-content.has-global-padding > .sma-sec,
.wp-block-post-content.has-global-padding > .sma-price-hook,
.wp-block-post-content.has-global-padding > .sma-faq,
.wp-block-post-content.has-global-padding > .sma-trust,
.wp-block-post-content.has-global-padding > .sma-stats,
.wp-block-post-content.has-global-padding > .wp-block-cover,
.wp-block-post-content.has-global-padding > .sma-hero,
.wp-block-post-content.has-global-padding > .sma-contact,
.wp-block-post-content .sma-sec,
.wp-block-post-content .sma-price-hook,
.wp-block-post-content .sma-faq,
.wp-block-post-content .sma-trust,
.wp-block-post-content .sma-stats,
.wp-block-post-content .wp-block-cover,
.wp-block-post-content .sma-hero,
.wp-block-post-content .sma-contact,
.wp-block-post-content .smseo-section,
.wp-block-post-content .sma-sec .sma-founder-card,
.wp-block-post-content .sma-sec .sma-chart{
  width:100vw;max-width:100vw;
  margin-left:calc(50% - 50vw) !important;margin-right:calc(50% - 50vw) !important;
  border-radius:0;
  padding-left:max(1rem,calc((100vw - var(--sma-container)) / 2));
  padding-right:max(1rem,calc((100vw - var(--sma-container)) / 2));
}
/* 7.2 Section rhythm + dividers. One vertical rhythm for every section;
   lime dividers span the full viewport width (they sit on the bleed). */
.wp-block-post-content > .sma-sec,
.wp-block-post-content > .sma-price-hook,
.wp-block-post-content > .sma-faq,
.wp-block-post-content > .sma-trust{
  padding-top:var(--sma-section-pad);padding-bottom:var(--sma-section-pad);
  border-top:2px solid var(--sma-lime);
}
/* v5.0.3 (H10/H11): the founder section (.sma-sec.sma-founder) wraps
   ONLY the founder card, which already carries its own section padding
   — the two paddings stacked to ~9rem of empty space around the card.
   The section gives up its padding (its lime divider stays). */
.wp-block-post-content > .sma-sec.sma-founder{padding-top:0;padding-bottom:0}
.wp-block-post-content > .sma-stats,
.wp-block-post-content > .sma-trust{
  padding-top:var(--sma-section-pad);padding-bottom:0;
}
.wp-block-post-content > .sma-stats:first-child,
.wp-block-post-content > .sma-trust:first-child{padding-top:0}
/* Paper sections: tinted full-bleed background, square corners. */
.sma-sec--paper,.sma-blog{background:var(--sma-paper)}
/* 7.3 Children of a bleed section fill the section's content box — the
   section itself supplies the container alignment, so WP's constrained-
   layout caps would otherwise double-inset them. Direct children only;
   deeper components keep their own layout. */
.sma-hero.is-layout-constrained > *,
.sma-sec.is-layout-constrained > *,
.sma-price-hook.is-layout-constrained > *,
.sma-faq.is-layout-constrained > *,
.sma-contact.is-layout-constrained > *,
.sma-trust.is-layout-constrained > *,
.sma-stats.is-layout-constrained > *{max-width:none}
.sma-hero > .has-global-padding,
.sma-sec > .has-global-padding,
.sma-price-hook > .has-global-padding,
.sma-faq > .has-global-padding,
.sma-contact > .has-global-padding,
.sma-trust > .has-global-padding,
.sma-stats > .has-global-padding{padding-left:0;padding-right:0}
/* 7.4 Readability: body paragraphs inside full-width sections cap at 82ch
   (left edge still on the container edge); FAQ answers cap the same way.
   Headings stay full-width. v5.0.9: 75ch → 82ch — the 75ch column left
   ~40% of the 80rem container empty on the right at desktop width. */
.wp-block-post-content > .sma-sec > p,
.wp-block-post-content > .sma-price-hook > p{
  max-width:82ch;
  /* v5.0.3 (H7/S1): core's constrained layout centres a capped paragraph
     with auto !important margins — the ~240px indent. Left-align it so
     headings and body share one left margin. */
  margin-left:0 !important;margin-right:auto !important;
}
/* v5.0.3 (P10): FAQ answers are no longer capped at 75ch — they use the
   full card width. See §8.13. */
/* Price hook: full-width lime divider, centred 44rem content. */
/* v5.0.3 (H14): the teaser was centred while every section around it
   is left-aligned. One alignment system: left. */
.sma-price-hook{text-align:left}
.sma-price-hook > *{max-width:44rem;margin-left:0 !important;margin-right:auto !important}
/* 7.5 12-column grid utility (1.5rem gutters, the one gutter token).
   The homepage's own grids (stats, cards, steps, check-grid, near-split)
   use the same gutter and container; this utility is for new sections. */
.sma-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--sma-gutter)}
.sma-span-1{grid-column:span 1}.sma-span-2{grid-column:span 2}.sma-span-3{grid-column:span 3}
.sma-span-4{grid-column:span 4}.sma-span-5{grid-column:span 5}.sma-span-6{grid-column:span 6}
.sma-span-7{grid-column:span 7}.sma-span-8{grid-column:span 8}.sma-span-9{grid-column:span 9}
.sma-span-10{grid-column:span 10}.sma-span-11{grid-column:span 11}.sma-span-12{grid-column:span 12}
@media (max-width:767px){.sma-grid > *{grid-column:1 / -1}}
/* 7.6 Prose cap — single posts and plain pages only (never the homepage,
   whose sections are components, and never custom page templates).
   Text caps at 68ch; images, tables and embeds keep the full container. */
body.single .wp-block-post-content > p,
body.single .wp-block-post-content > ul,
body.single .wp-block-post-content > ol,
body.single .wp-block-post-content > h2,
body.single .wp-block-post-content > h3,
body.single .wp-block-post-content > h4,
body.single .wp-block-post-content > blockquote,
body.page-template-default .wp-block-post-content > p,
body.page-template-default .wp-block-post-content > ul,
body.page-template-default .wp-block-post-content > ol,
body.page-template-default .wp-block-post-content > h2,
body.page-template-default .wp-block-post-content > h3,
body.page-template-default .wp-block-post-content > h4,
body.page-template-default .wp-block-post-content > blockquote{max-width:68ch}

/* v5.0.3 (P6/N2/S1): the same 82ch measure on the content-page templates
   (pricing / service / location / industry). Their paragraphs spanned
   the full 80rem container while the homepage body is capped — one text
   measure site-wide. Headings stay full-width. No !important: these
   pages' entry-content is is-layout-flow, so core's auto margins do not
   apply here. v5.0.9: 75ch → 82ch (same empty-right-column reason as §7.4). */
body.page-template-page-pricing .wp-block-post-content > p,
body.page-template-page-service .wp-block-post-content > p,
body.page-template-page-location .wp-block-post-content > p,
body.page-template-page-industry .wp-block-post-content > p,
body.page-template-page-pricing .wp-block-post-content > ul,
body.page-template-page-service .wp-block-post-content > ul,
body.page-template-page-location .wp-block-post-content > ul,
body.page-template-page-industry .wp-block-post-content > ul,
body.page-template-page-pricing .wp-block-post-content > ol,
body.page-template-page-service .wp-block-post-content > ol,
body.page-template-page-location .wp-block-post-content > ol,
body.page-template-page-industry .wp-block-post-content > ol,
body.page-template-page-pricing .wp-block-post-content > blockquote,
body.page-template-page-service .wp-block-post-content > blockquote,
body.page-template-page-location .wp-block-post-content > blockquote,
body.page-template-page-industry .wp-block-post-content > blockquote{
  max-width:82ch;margin-left:0;margin-right:auto;
}

/* --------------------------------------------------------------------------
   8. HOMEPAGE — full-width restyle of the live sma-* sections
   The live page content is unchanged (copy verbatim, 09:38 redesign). These
   rules restyle its own classes full-width: section backgrounds bleed
   edge-to-edge with square corners (§7); radius lives on components only.
   -------------------------------------------------------------------------- */

/* 8.1 Hero — navy gradient, full-bleed, square corners. */
.sma-hero{
  background:linear-gradient(135deg,#0d1526 0%,#16348f 55%,#0f3d4d 100%);
  padding-top:var(--sma-section-pad);padding-bottom:var(--sma-section-pad);
}
.sma-hero .wp-block-columns{align-items:center;gap:var(--sma-gutter)}
.sma-hero h1{
  font-size:clamp(1.9rem,7.5vw,3.4rem);line-height:1.12;letter-spacing:-.02em;color:#fff;
}
/* v5.0.3 (H1): the block ::after bar read as a short detached dash
   below the whole H1. The emphasis now underlines the highlighted
   phrase itself, so it can never detach. */
.sma-hero h1 .sma-hl{
  color:var(--sma-lime);text-decoration:underline;
  text-decoration-color:var(--sma-lime);text-decoration-thickness:.09em;
  text-underline-offset:.16em;
}
.sma-hero .sma-hero-lede{color:#d5dcee}
.sma-hero .sma-btns{margin-top:1.25rem}
.sma-hero-media-wrap{margin-top:1.5rem}
.sma-hero-media-wrap img{border-radius:var(--sma-radius);display:block;width:100%}
.sma-float-chips{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-top:.9rem}
.sma-float{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:14px;padding:.85rem 1rem;text-align:center}
.sma-float-num{font-size:1.5rem;font-weight:800;color:#fff;line-height:1.1}
.sma-float-label{color:#d5dcee;font-size:.85rem}
.sma-hero h1,.sma-hero .sma-hero-lede,.sma-hero .sma-btns{animation:sma-rise .6s ease-out both}
.sma-hero .sma-hero-lede{animation-delay:.12s}
.sma-hero .sma-btns{animation-delay:.24s}
@keyframes sma-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
/* Hero columns stack below 900px (WP stacks them only below 782px). */
@media (max-width:899px){
  .sma-hero .wp-block-columns{flex-wrap:wrap}
  .sma-hero .wp-block-column{flex-basis:100% !important}
}

/* 8.2 Proof strip — stat cards, 2×2 on a phone, 4 across on desktop. */
.sma-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sma-gutter);align-items:stretch}
/* v5.0.3 (priority 2 / H3): 16-20px side padding (labels touched the
   card edges at .9rem); flex column centres short labels vertically so
   all four cards' tops align. */
.sma-stat{background:#fff;border:1px solid var(--sma-line);border-radius:16px;padding:1.1rem 1.25rem;text-align:center;display:flex;flex-direction:column;justify-content:center}
/* v5.0.4 (H3 — root causes, verified against the live site's own
   global-styles-inline-css): the (0,1,0) padding above never reliably
   applied — core's zero-padding rule
   `.has-global-padding :where(... > .has-global-padding)` is also
   (0,1,0), so the outcome depended on load order alone. Worse, two
   other core rules hit the cards directly: (a) the constrained-layout
   rule `.is-layout-constrained > :where(:not(.alignleft)...)` sets
   `margin-left/right: auto !important` on every grid child — auto
   margins defeat the grid's stretch, so each card shrink-to-fits its
   content (card 3, "24 hours" / "Free audit delivered", rendered
   roughly half the width of the others) and the nowrap number overflows
   its card; (b) the block-gap rule `:root :where(.is-layout-constrained)
   > *{margin-block-start:1.5rem}` (with `:first-child{margin-block-start:
   0}`) puts ~24px on cards 2–4, lifting card 1 ~25px above them.
   This (0,3,0) rule beats the (0,1,0) padding and gap rules on
   specificity, and the horizontal margins need !important because
   core's are !important (same justification as §7.1). Result: real
   padding, equal track-filling widths, aligned tops, at every width. */
.sma-stats > .wp-block-group.sma-stat{padding:1.25rem 1.25rem;margin-block-start:0;margin-block-end:0;margin-left:0 !important;margin-right:0 !important}
.sma-stat-num{font-size:clamp(1.2rem,3.2vw,1.55rem);font-weight:800;line-height:1.1;white-space:nowrap;animation:sma-fade .7s ease-out both}
/* v5.0.9 (V9-0): one colour for every stat number — the orange/green/blue
   mix read as four different accents. All primary-deep now. */
.sma-stats .sma-stat .sma-stat-num{color:var(--sma-primary-deep)}
.sma-stat-label{color:var(--sma-ink-muted);font-size:.82rem;line-height:1.45;margin-top:.3rem}
@keyframes sma-fade{from{opacity:0}to{opacity:1}}
@media (min-width:768px){
  .sma-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
  /* v5.0.4: the .sma-stat padding line that was here is gone — the
     (0,3,0) rule above now sets the padding at every width. */
}
/* v5.0.5 (D2-09): at 320px the 2-column grid leaves ~92px of content
   width per card, and the nowrap "24 hours" number (~95px at the 1.2rem
   clamp floor) can poke past the card edge. Smaller number + tighter
   padding on very narrow screens. Same (0,3,0) selector as the main
   stat rule, so it wins inside this width. */
@media (max-width:380px){
  .sma-stats > .wp-block-group.sma-stat{padding:1rem .75rem}
  .sma-stat-num{font-size:1.05rem}
}

/* 8.3 Tools — wrapping chips. */
/* v5.0.3 (H4): the pills wrapped 4 + 3 with a ragged right edge.
   Centred, the rows read as one balanced group. */
.sma-tools-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}
.sma-tools-list li{background:#fff;border:1px solid var(--sma-line);border-radius:999px;padding:.45rem .9rem;font-weight:600;font-size:.92rem;margin:0}

/* 8.4 Research table — scrolls inside its own container, never the page. */
.sma-research-table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--sma-line);border-radius:14px}
.sma-research-table table{min-width:30rem;margin:0}
.sma-research-table th,.sma-research-table td{padding:.8rem .9rem;text-align:left}
.sma-research-table th{background:#fff;border-bottom:2px solid var(--sma-primary);font-family:var(--sma-font-display);font-weight:700}
.sma-research-table td{border-bottom:1px solid var(--sma-hairline)}
.sma-research-table tbody tr:nth-child(even) td{background:var(--sma-paper)}
.sma-research-table td:first-child{font-weight:600}
.sma-source{color:var(--sma-ink-muted);font-size:.9rem}
/* v5.0.3 (H5): the Feature column took ~half the table and Share sat in
   empty space. Fixed layout: Feature 30%, Share 70%. */
.sma-research-table table{table-layout:fixed}
.sma-research-table th:first-child,.sma-research-table td:first-child{width:30%}
.sma-research-table th:last-child,.sma-research-table td:last-child{width:70%}

/* 8.5 CSS bar chart — dark panel, full-bleed, gradient fills. */
.sma-chart{
  background:var(--sma-grad-midnight);color:#fff;
  padding-top:var(--sma-section-pad);padding-bottom:var(--sma-section-pad);
}
/* The live chart group also carries the --dark modifier; the chart is
   always dark, so the modifier needs no extra declarations. */
.sma-chart--dark{background:var(--sma-grad-midnight);color:#fff}
.sma-chart__head{display:flex;flex-wrap:wrap;gap:.2rem .75rem;align-items:baseline;justify-content:space-between}
.sma-chart__head h3{color:#fff;margin:0}
.sma-chart__meta{color:#d5dcee;font-size:.88rem}
.sma-bar{margin-top:1rem}
.sma-bar-label{display:flex;justify-content:space-between;gap:.75rem;font-size:.95rem}
.sma-bar-value{font-weight:700;white-space:nowrap}
.sma-bar-track{height:.65rem;border-radius:999px;background:rgba(255,255,255,.14);margin-top:.35rem;overflow:hidden}
.sma-bar-fill{height:100%;border-radius:999px;animation:sma-bar 1s ease-out both}
@keyframes sma-bar{from{width:0}to{width:var(--sma-bar-w,50%)}}
/* v5.0.9 (V9-0): one blue sequential ramp — the lime/green/purple/amber/
   grey rainbow read as six different accents. Darkest = most common. */
.sma-bar--video .sma-bar-fill{background:#16348f}
.sma-bar--reviews .sma-bar-fill{background:#1e46c7}
.sma-bar--local .sma-bar-fill{background:#2f5bd7}
.sma-bar--paa .sma-bar-fill{background:#4a72dd}
.sma-bar--ai .sma-bar-fill{background:#6b8fe3}
.sma-bar--reddit .sma-bar-fill{background:#8aa8e8}
.sma-chart__axis{display:flex;justify-content:space-between;color:#d5dcee;font-size:.85rem;border-top:1px solid rgba(255,255,255,.2);margin-top:1.1rem;padding-top:.5rem}
.sma-chart__foot{color:#d5dcee;font-size:.9rem;margin-top:.6rem}

/* v5.0.3 (priority 1 / H6): the bars never encoded the data. Two causes:
   (a) --sma-bar-w was never set anywhere, so every bar animated to the
   50% fallback — Video (88%) and Reddit/Quora (7%) looked identical;
   (b) the fill is a nested group, so core's constrained layout centred
   it with auto !important margins and its own root padding inset it
   from the track edges. Widths below are the live labels. */
.sma-bar--video .sma-bar-fill{--sma-bar-w:88%}
.sma-bar--reviews .sma-bar-fill{--sma-bar-w:84%}
.sma-bar--local .sma-bar-fill{--sma-bar-w:72%}
.sma-bar--paa .sma-bar-fill{--sma-bar-w:46%}
.sma-bar--ai .sma-bar-fill{--sma-bar-w:39%}
.sma-bar--reddit .sma-bar-fill{--sma-bar-w:7%}
.sma-chart .sma-bar-track{padding-left:0;padding-right:0}
.sma-bar-track > .sma-bar-fill{
  width:var(--sma-bar-w,50%);max-width:none;padding:0;
  margin-left:0 !important;margin-right:0 !important;
}

/* 8.6 Service cards — one column on a phone, 2 at 640px, 3 at 1024px. */
.sma-cards{display:grid;grid-template-columns:1fr;gap:var(--sma-gutter)}
.sma-card{
  position:relative;background:#fff;border:1px solid var(--sma-line);border-radius:18px;
  overflow:hidden;transition:transform .25s ease,box-shadow .25s ease;
  display:flex;flex-direction:column;
}
.sma-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(13,21,38,.18)}
/* Spotlight hover (theme.js sets --sma-mx/--sma-my); desktop fine-pointer only. */
.sma-card::before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .25s ease;
  background:radial-gradient(240px circle at var(--sma-mx,50%) var(--sma-my,50%),rgba(29,70,199,.08),transparent 70%);
}
.sma-card:hover::before{opacity:1}
.sma-card .wp-block-image{margin:0;overflow:hidden}
/* v5.0.3 (H8): the image's square top corners poked past the card's
   18px radius, so the 4px coloured strip peeked unevenly above it. */
.sma-card .wp-block-image img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;transition:transform .35s ease;border-radius:14px 14px 0 0}
.sma-card:hover .wp-block-image img{transform:scale(1.03)}
.sma-card .sma-card-num{
  display:inline-flex;align-items:center;justify-content:center;min-width:2.75rem;height:2.75rem;
  padding:.6rem;border-radius:.75rem;color:#fff;font-size:1.05rem;font-weight:800;margin:1rem 1.25rem 0;
}
/* v5.0.9 (V9-0): one accent for every service card — the blue/green/amber/
   deep/purple/lime coding read as six different accents. */
.sma-c1 .sma-card-num,.sma-c2 .sma-card-num,.sma-c3 .sma-card-num,
.sma-c4 .sma-card-num,.sma-c5 .sma-card-num,.sma-card.sma-c6 .sma-card-num{background:var(--sma-primary);color:#fff}
.sma-card h3{padding:0 1.25rem;margin-top:.75rem}
.sma-card p{padding:0 1.25rem;color:var(--sma-ink-muted);font-size:.975rem}
/* v5.0.3 (H8/S4): pin the link to the card bottom so all three links
   sit on one line despite different paragraph lengths. */
.sma-card .sma-card-link{padding:0 1.25rem 1.25rem;margin-bottom:0;margin-top:auto}
.sma-card a{font-weight:700;text-decoration:none}
/* Arrow on service-card links ONLY — never on blog-card links (the blog
   card carries BOTH .sma-card and .sma-post-card; the v4.0.3 double-arrow
   bug was this rule hitting the excerpt "Read more →" as well). */
.sma-card:not(.sma-post-card) .sma-card-link a::after{content:" →"}
.sma-card .sma-tag{
  display:inline-block;font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  background:var(--sma-lime);color:var(--sma-ink);border-radius:999px;padding:.2rem .6rem;margin-bottom:.6rem;
}
.sma-c1,.sma-c2,.sma-c3,.sma-c4,.sma-c5,.sma-c6{border-top:4px solid var(--sma-primary)}
@media (min-width:640px){.sma-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1024px){.sma-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* 8.7 Timeline — stacked on a phone, 4 across on desktop. */
.sma-steps{display:grid;grid-template-columns:1fr;gap:var(--sma-gutter);align-items:stretch}
.sma-step{background:#fff;border:1px solid var(--sma-line);border-radius:16px;padding:1.25rem}
.sma-step-days{display:block;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--sma-primary);margin-bottom:.35rem}
@media (min-width:1024px){
  .sma-steps{grid-template-columns:repeat(4,minmax(0,1fr))}
  /* v5.0.3 (H9): equalise the step headings so the body text starts on
     the same line in every card (day label + title wrapped to different
     heights, leaving empty white space at the bottom of cards 2-4). */
  .sma-step h3{min-height:2.6em}
}
/* v5.0.3 (H9): the laptop photograph above the timeline rendered ~720px
   tall and dominated the section. Cap it; object-fit crops the excess. */
.sma-sec:has(> .sma-steps) > figure.wp-block-image img{max-height:26rem;object-fit:cover}

/* 8.8 Founder card — navy, full-bleed, stacked on a phone. */
.sma-founder-card{
  display:grid;grid-template-columns:1fr;gap:var(--sma-gutter);
  background:var(--sma-grad-midnight);color:#fff;
  padding-top:var(--sma-section-pad);padding-bottom:var(--sma-section-pad);
}
.sma-founder-card h2,.sma-founder-card h3{color:#fff}
.sma-founder-card p{color:#d5dcee}
.sma-founder-photo-col{display:grid;gap:1rem;align-content:start}
/* v5.0.3 (H10): the MK tile was centred in its column by core's
   constrained-layout auto !important margins, so it floated above and
   right of the photograph. Pin it to the photo column's left edge. */
.sma-founder-photo-col > *{max-width:none}
.sma-founder-photo-col .sma-mono{margin-left:0 !important;margin-right:auto !important;justify-self:start}
/* v5.0.3 (H10): with the outer section's padding removed (see §7.2),
   the card keeps a smaller bottom pad so the LinkedIn link is not
   flush against the dark edge. */
.sma-sec > .sma-founder-card{padding-bottom:2.5rem}
.sma-mono{background:var(--sma-primary);border-radius:16px;aspect-ratio:1;max-width:7.5rem}
.sma-mono p{color:#fff;font-size:2.25rem;font-weight:800;margin:0}
.sma-founder-photo-col .wp-block-image{margin:0;overflow:hidden;border-radius:16px}
/* v5.0.5 (D2-01): the real founder photo is square (560x560). The old
   16/10 ratio was written for the landscape team photo and centre-cropped
   ~37% of the square portrait's height — a head-and-shoulders shot can
   lose the chin or the top of the head. Square keeps the whole photo. */
.sma-founder-photo-col .wp-block-image img{width:100%;aspect-ratio:1;object-fit:cover;display:block}
.sma-founder-link a{color:var(--sma-lime);font-weight:700}
@media (min-width:900px){
  .sma-founder-card{grid-template-columns:260px 1fr;align-items:start}
}

/* 8.9 Check grid + offer. The extra left padding clears the check-mark
   ::before so it never covers the first word of a commitment. */
.sma-check-grid{display:grid;grid-template-columns:1fr;gap:var(--sma-gutter);align-items:stretch}
.sma-check-grid .wp-block-group{
  position:relative;background:#fff;border:1px solid var(--sma-line);border-radius:14px;
  padding:1rem 1.1rem 1rem 2.75rem;
}
.sma-check-grid .wp-block-group::before{
  content:"✓";position:absolute;left:1.25rem;top:1.25rem;color:var(--sma-green);
  font-weight:800;font-size:1rem;
}
.sma-check-grid .wp-block-group p{margin:0}
/* 5.0.2: core global styles zero the left/right padding of nested
   .has-global-padding elements at (0,1,0), tying with the old
   single-class .sma-offer rule. The (0,2,0) selector below wins. */
/* v5.0.3 (H12): the amber left border was the ONLY card with a thick
   border, and it forced asymmetric padding. One uniform treatment now:
   same border and same padding as the other founding-client cards. */
.wp-block-group.sma-offer{background:#fff;border:1px solid var(--sma-line);border-radius:14px;padding:1rem 1.25rem;margin-top:1.5rem}
@media (min-width:768px){.sma-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* §15 checklist (plain list with checks). */
.sma-check{list-style:none;margin:0 0 1rem;padding:0}
.sma-check li{position:relative;padding-left:1.75rem;margin-bottom:.6rem}
.sma-check li::before{content:"✓";position:absolute;left:0;top:0;color:var(--sma-lime);font-weight:800}

/* 8.10 Price hook — full-width lime divider, centred content. */
.sma-price-hook .sma-price-big{
  font-size:clamp(2.75rem,11vw,4rem);font-weight:800;line-height:1;color:var(--sma-primary);margin:.5rem 0;
}
.sma-price-hook .sma-price-big small{font-size:.45em;font-weight:600;color:var(--sma-ink-muted)}
.sma-price-hook .sma-btns{justify-content:flex-start}

/* 8.11 Near split + radar. */
.sma-near-split{display:grid;grid-template-columns:1fr;gap:var(--sma-gutter);align-items:center}
.sma-industries-strip{margin-bottom:1rem}
.sma-radar{position:relative;aspect-ratio:1;max-width:20rem;width:100%;margin:0 auto}
/* v5.0.9 (V9-0): the 66% ring was still reading as a dotted circle
   clipped at the section's edge (first-time-visitor check, 2026-11-25).
   No hard ring at all now — a soft radial glow behind the dots, so the
   radar reads as a map of markets, not a cut-off circle. */
.sma-radar::before{
  content:"";position:absolute;inset:0;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(30,70,199,.08),transparent 70%);
}
.sma-radar-dot{
  position:absolute;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;
  background:var(--sma-primary);z-index:1;
}
.sma-radar-dot.sma-radar-centre{
  background:var(--sma-lime);width:12px;height:12px;margin:-6px 0 0 -6px;
  box-shadow:0 0 0 6px rgba(163,230,53,.35),0 0 18px rgba(163,230,53,.8);
  animation:sma-pulse 2.2s ease-in-out infinite;
}
@keyframes sma-pulse{0%,100%{opacity:1}50%{opacity:.55}}
@media (min-width:768px){.sma-near-split{grid-template-columns:1.15fr .85fr}}

/* 8.12 Blog — paper full-bleed section, white post cards. */
.sma-post-card{
  background:#fff;border:1px solid var(--sma-line);border-radius:16px;overflow:hidden;
  display:flex;flex-direction:column;height:100%;
  transition:transform .25s ease,box-shadow .25s ease;
}
.sma-post-card:hover{transform:translateY(-4px);box-shadow:var(--sma-shadow)}
.sma-post-card .wp-block-post-featured-image{margin:0}
.sma-post-card .wp-block-post-featured-image img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
/* v5.0.3 (H16): dates left-aligned like the titles (the centred
   reading in the audit could not be reproduced from the markup). */
.sma-post-date{color:var(--sma-ink-muted);font-size:.85rem;padding:0 1.1rem;margin-bottom:.5rem;text-align:left}
.sma-post-card .wp-block-post-title{padding:0 1.1rem;font-size:1.15rem}
.sma-post-card .wp-block-post-title a{color:var(--sma-ink);text-decoration:none}
.sma-post-card .wp-block-post-title a:hover{color:var(--sma-primary)}
.sma-post-card .wp-block-post-title a::after{content:" →";color:var(--sma-primary)}
/* v5.0.3 (H16/S4): the excerpt fills the card and the "Read more" link
   is pinned to the bottom, so all three cards' links sit on one line. */
.sma-post-card .wp-block-post-excerpt{padding:0 1.1rem 1.1rem;flex:1;display:flex;flex-direction:column}
.sma-post-card .wp-block-post-excerpt__more-text{margin-top:auto}
/* No ::after on the excerpt link — its moreText already ends in "→". */
.sma-post-card .wp-block-post-excerpt__more-link{font-weight:700;white-space:nowrap}

/* 8.13 FAQ — ONE component everywhere (v5.0.3, S2/H17/P10/N8).
   The theme engine renders .sma-faq-item; legacy pages (Noida) render
   .smseo-faq__item from the old theme's FAQ block; both get the same
   card, the same "+" toggle (ported from v4) and the same collapsed
   default. Answers use the full card width (no 75ch cap).
   Default state: collapsed for visitors (theme.js closes the
   server-rendered `open` items on load — the raw HTML keeps them open
   so crawlers and non-JS readers still get the answers; see faq.php). */
.sma-faq .sma-faq-item,
.smseo-faq__item{
  border:1px solid var(--sma-line);border-radius:14px;padding:.9rem 1.1rem;
  margin-bottom:.6rem;background:#fff;
}
.sma-faq-item summary,.smseo-faq__q{
  cursor:pointer;font-family:var(--sma-font-display);font-weight:700;font-size:1.0625rem;line-height:1.4;
  list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem;
}
.sma-faq-item summary::-webkit-details-marker,.smseo-faq__q::-webkit-details-marker{display:none}
.sma-faq-item summary::after,.smseo-faq__q::after{
  content:"+";flex:0 0 auto;width:1.75rem;height:1.75rem;display:grid;place-items:center;
  border-radius:50%;background:var(--sma-primary-tint);color:var(--sma-primary);font-size:1.25rem;line-height:1;
  transition:transform .25s ease,background .25s ease,color .25s ease;
}
.sma-faq-item[open] summary::after,.smseo-faq__item[open] .smseo-faq__q::after{
  transform:rotate(45deg);background:var(--sma-lime);color:var(--sma-ink);
}
.sma-faq-item[open],.smseo-faq__item[open]{border-color:var(--sma-primary)}
.sma-faq-item p,.smseo-faq__a{margin:.5rem 0 0;max-width:none;color:var(--sma-ink-muted)}
.sma-faq-item p:first-of-type,.smseo-faq__a p:first-child{margin-top:.5rem}
/* Yoast FAQ blocks (kept on the research page) get the same card. */
.schema-faq .schema-faq-section{border:1px solid var(--sma-line);border-radius:14px;padding:.9rem 1.1rem;margin-bottom:.6rem;background:#fff}
.schema-faq .schema-faq-question{display:block;font-family:var(--sma-font-display);font-weight:700;font-size:1.0625rem;line-height:1.4;margin-bottom:.5rem}
.schema-faq .schema-faq-answer{color:var(--sma-ink-muted)}

/* 8.14 Contact / form — navy, full-bleed, stacked on a phone. */
.sma-contact{
  background:var(--sma-grad-midnight);color:#fff;
  padding-top:var(--sma-section-pad);padding-bottom:var(--sma-section-pad);
}
.sma-contact h2{color:#fff}
.sma-contact p{color:#e6ebf5}
/* v5.0.4 (H18 — closing checklist): the checklist <li>s had no color
   rule of their own and rendered dark grey on the navy background,
   barely readable on desktop and mobile. (The footer lists are fine —
   .sma-footer sets color on its container and styles its links; this
   was the only dark-section list without a color.) */
.sma-contact li{color:#e6ebf5}
.sma-contact .wp-block-columns{display:grid;grid-template-columns:1fr;gap:var(--sma-gutter);align-items:stretch}
.sma-form input,.sma-form select,.sma-form textarea{width:100%}
.sma-form button{width:100%}
@media (min-width:900px){
  /* v5.0.9 (V9-0): 5fr/7fr — the 50/50 split left the text half empty
     (the form is much taller than the text); a narrower text column
     reads fuller and the form gets room to breathe. */
  .sma-contact .wp-block-columns{grid-template-columns:5fr 7fr;align-items:stretch}
  /* v5.0.3 (H18): the left column is much shorter than the form; centre
     its content vertically so the empty space splits evenly instead of
     pooling ~400px below the buttons. */
  .sma-contact .wp-block-column:first-child{display:flex;flex-direction:column;justify-content:center}
  .sma-form button{width:auto}
}

/* 8.15 Image band — the Cover block between §10 and §11. Square, full-bleed. */
.wp-block-cover{
  position:relative;min-height:280px;display:flex;align-items:center;justify-content:center;
  padding:2rem;color:#fff;background:var(--sma-dark);border-radius:0;overflow:hidden;
}
.wp-block-cover .wp-block-cover__inner-container{max-width:var(--sma-container);width:100%}
/* v5.0.3 (H13): the dim-70 overlay left the bright photograph unevenly
   darkened behind white text. Raise the overlay and add a text shadow. */
.wp-block-cover > span.wp-block-cover__background{opacity:.82}
.wp-block-cover .wp-block-cover__inner-container{position:relative;z-index:1}
.wp-block-cover .wp-block-cover__inner-container p{text-shadow:0 1px 10px rgba(0,0,0,.55)}

/* --------------------------------------------------------------------------
   9. Blog / archive / single
   -------------------------------------------------------------------------- */
.sma-blog-header{padding-top:var(--sma-section-pad);padding-bottom:2rem;border-bottom:1px solid var(--sma-hairline)}
.sma-blog-header p{color:var(--sma-ink-muted);max-width:75ch}
.wp-block-query{margin-bottom:2rem}
.wp-block-post-template{list-style:none;margin:0;padding:0;display:grid;gap:var(--sma-gutter)}
.wp-block-post{margin:0}
.wp-block-post-title{font-size:1.375rem;margin-bottom:.4rem}
/* v5.0.3 (N1): the 1.375rem size was meant for titles inside query loops,
   but it also hit the page H1 rendered by post-title (Noida, pricing,
   services) — a 22px "H1". A page H1 rendered by the template gets the
   real H1 size; loop titles keep 1.375rem (the rule above). */
main > .wp-block-post-title{font-size:clamp(2rem,5vw,3rem);line-height:1.08;text-wrap:balance;margin-bottom:1rem}
/* v5.0.3 (P1): the pricing H1 is one long line; at 3rem it orphaned the
   word "Us" on a second line. 2.5rem max lets it sit on one line at
   desktop width; balance handles narrower widths. Text unchanged. */
body.page-template-page-pricing main > .wp-block-post-title{font-size:clamp(1.75rem,4vw,2.5rem)}
.wp-block-post-title a{color:var(--sma-ink);text-decoration:none}
.wp-block-post-title a:hover{color:var(--sma-primary)}
.wp-block-post-excerpt{color:var(--sma-ink-muted)}
.wp-block-post-excerpt__more-link{font-weight:700;white-space:nowrap}
.wp-block-post-date,.wp-block-post-author{font-size:.875rem;color:var(--sma-ink-muted)}
.wp-block-post-featured-image img{border-radius:var(--sma-radius);display:block;width:100%}
.wp-block-post-terms{font-size:.8125rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.wp-block-query-pagination{display:flex;gap:.5rem;justify-content:center;margin:2rem 0}
.wp-block-query-pagination a,.wp-block-query-pagination span{
  padding:.5rem .9rem;border:1px solid var(--sma-hairline);border-radius:8px;text-decoration:none;color:var(--sma-ink);
}
.wp-block-query-pagination .current{background:var(--sma-primary);color:#fff;border-color:var(--sma-primary)}
.wp-block-query-no-results{text-align:center;color:var(--sma-ink-muted);padding:2rem 0}
@media (min-width:640px){.wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1024px){.wp-block-post-template{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Single article: 2/3 content + 1/3 sidebar, stacked on a phone. */
.sma-article{gap:var(--sma-gutter)}
.sma-article-main{min-width:0}
.sma-article-side{min-width:0}
.sma-post-meta{
  display:flex;flex-wrap:wrap;gap:.25rem 1.5rem;align-items:baseline;
  color:var(--sma-ink-muted);font-size:.9rem;margin-bottom:1.5rem;
  padding-bottom:1rem;border-bottom:1px solid var(--sma-hairline);
}
.sma-post-meta p{margin:0}
.sma-author{font-weight:600;color:var(--sma-ink)}
.sma-reviewed{color:var(--sma-green);font-weight:600}
.sma-updated{display:flex;gap:.35rem;flex-wrap:nowrap}
.sma-sidebar .sma-toc{
  background:var(--sma-paper);border:1px solid var(--sma-hairline);
  border-radius:14px;padding:1.25rem;margin-bottom:1.5rem;
}
.sma-sidebar .sma-toc h3{font-size:1.05rem}
.sma-sidebar-cta{background:var(--sma-dark);border-radius:14px;padding:1.25rem}
.sma-sidebar-cta h3{color:#fff}
.sma-sidebar-cta p{color:#d5dcee}
/* Closing CTA band (service/location templates) — navy, full-bleed.
   Breakout selector raised in v5.0.1: the band is a direct child of the
   .wp-block-template-part wrapper inside <main> (verified on the live
   /seo-services/ page), so the selector is (0,3,1). Its own margins face
   no core competitor (the parent wrapper is not is-layout-constrained
   and the band is not alignfull), so no !important is needed here —
   unlike §7.1, where core's !important forces it. */
main.wp-block-group > .wp-block-template-part > .sma-cta,
.wp-block-template-part > .sma-cta{
  background:var(--sma-grad-midnight);color:#fff;
  padding-top:var(--sma-section-pad);padding-bottom:var(--sma-section-pad);
  margin-top:3rem;
  width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
  border-radius:0;
  padding-left:max(1rem,calc((100vw - var(--sma-container)) / 2));
  padding-right:max(1rem,calc((100vw - var(--sma-container)) / 2));
}
.sma-cta h2{color:#fff;max-width:44rem}
.sma-cta p{color:#d5dcee;max-width:75ch}
.sma-cta .sma-btns{margin-top:1.25rem}

/* Comments */
.wp-block-comments{margin-top:3rem}
.wp-block-comment-template{list-style:none;padding:0}
.wp-block-comment-author-name{font-weight:700}
.wp-block-comment-date{font-size:.875rem;color:var(--sma-ink-muted)}
.comment-form input,.comment-form textarea,.wp-block-post-comments-form input,.wp-block-post-comments-form textarea{
  width:100%;padding:.75rem .9rem;border:1px solid var(--sma-hairline);border-radius:8px;font:inherit;
}
.comment-form label,.wp-block-post-comments-form label{font-weight:600;font-size:.9375rem;display:block;margin-bottom:.35rem}

/* Pattern visuals (service / research / about heroes). */
.sma-service-visual img,.sma-about-visual img,.sma-research-hero img,.sma-hero-media img{
  border-radius:var(--sma-radius);display:block;width:100%;
}

/* --------------------------------------------------------------------------
   10. Forms (SureForms in .sma-form, comment + search forms)
   -------------------------------------------------------------------------- */
.sma-form label,.wp-block-search__label{font-weight:600;font-size:.9375rem;display:block;margin-bottom:.35rem}
.sma-form input,.sma-form select,.sma-form textarea,
.wp-block-search__input{
  width:100%;padding:.75rem .9rem;border:1px solid var(--sma-hairline);border-radius:8px;
  font:inherit;color:var(--sma-ink);background:#fff;
}
.sma-form textarea{min-height:120px;resize:vertical}
.sma-form input:focus,.sma-form select:focus,.sma-form textarea:focus,
.wp-block-search__input:focus{border-color:var(--sma-primary);outline:3px solid var(--sma-primary-tint);outline-offset:0}
.sma-form input[type="checkbox"],.sma-form input[type="radio"]{width:auto;accent-color:var(--sma-primary)}
/* v5.0.3 (H19): SureForms field gaps were uneven (a large gap after
   "Full name", tighter elsewhere). One consistent gap between fields.
   v5.0.9: 1rem → .6rem — the gaps still read as large empty bands
   between fields at desktop width. */
.sma-form .srfm-block,.sma-form .srfm-block-wrap{margin-bottom:.6rem}
.sma-form .srfm-submit-container{margin-top:1.25rem}

/* 5.0.2 — SureForms success message. The success box is filled by JS into
   .srfm-success-box-description on submit, inside the navy .sma-contact
   section, but it renders on the form's white card (--srfm-bg-color:#fff).
   It inherited the section's white heading / pale body text, so the
   "Thank you" heading was invisible and the body barely legible.
   Dark text on the white card. (0,2,1) beats .sma-contact h2/p (0,1,1). */
.sma-form .srfm-success-box{color:#0d1526}
.sma-form .srfm-success-box h1,.sma-form .srfm-success-box h2,.sma-form .srfm-success-box h3,.sma-form .srfm-success-box h4,.sma-form .srfm-success-box h5,.sma-form .srfm-success-box h6{color:#0d1526}
.sma-form .srfm-success-box-description{color:#0d1526}
.sma-form .srfm-success-box-description p{color:#334155}
.wp-block-search__button{
  background:var(--sma-lime);color:var(--sma-primary-deep);border:0;border-radius:8px;
  padding:.75rem 1.25rem;font-family:var(--sma-font-display);font-weight:600;cursor:pointer;
}
.wp-block-search__button:hover{background:var(--sma-lime-deep)}

/* --------------------------------------------------------------------------
   11. Tables + misc blocks
   -------------------------------------------------------------------------- */
.wp-block-table{overflow-x:auto;margin:0 0 1.5rem;border:1px solid var(--sma-line);border-radius:14px}
.wp-block-table table{width:100%;border-collapse:collapse;margin:0;font-size:.9375rem}
.wp-block-table th,.wp-block-table td{padding:.8rem .9rem;text-align:left;border-bottom:1px solid var(--sma-hairline)}
/* v5.0.9 (V9-0): tables read as default WordPress (beige/grey headers).
   Designed header: white, ink text, a 2px primary rule under the header
   row; zebra body rows; first column semibold. (Replaces the v5.0.3 P2
   1px hairline under the header.) */
.wp-block-table > table > thead{border-bottom:2px solid var(--sma-primary)}
.wp-block-table tbody tr:nth-child(even) td{background:var(--sma-paper)}
.wp-block-table td:first-child{font-weight:600}
/* v5.0.3 (P2/P5): fixed layout + column widths. The 4-column plan table
   gets a narrow first column; the 3-column cost table gets 25% / 25% /
   50%, with tighter cell padding so rows stop looking empty. */
.wp-block-table table{table-layout:fixed}
.wp-block-table:has(> table > thead > tr > th:nth-child(4)) th:first-child,
.wp-block-table:has(> table > thead > tr > th:nth-child(4)) td:first-child{width:18%}
.wp-block-table:has(> table > thead > tr > th:nth-child(3):last-child) th:first-child,
.wp-block-table:has(> table > thead > tr > th:nth-child(3):last-child) td:first-child,
.wp-block-table:has(> table > thead > tr > th:nth-child(3):last-child) th:nth-child(2),
.wp-block-table:has(> table > thead > tr > th:nth-child(3):last-child) td:nth-child(2){width:25%}
.wp-block-table:has(> table > thead > tr > th:nth-child(3):last-child) th,
.wp-block-table:has(> table > thead > tr > th:nth-child(3):last-child) td{padding:.5rem .7rem}
/* v5.0.3 (P2): the plan table's top-left header cell is empty in the
   content; label it in the theme so the table reads as a table. */
.wp-block-table thead th:empty::before{content:"Plan details";color:var(--sma-ink-muted);font-weight:600}
.wp-block-table th{background:#fff;border-bottom:0;font-family:var(--sma-font-display);font-weight:700}
.wp-block-table figcaption{font-size:.875rem;color:var(--sma-ink-muted)}
.wp-block-pullquote{
  font-family:var(--sma-font-display);font-size:1.5rem;font-weight:600;line-height:1.35;
  border-left:3px solid var(--sma-primary);padding-left:1.5rem;margin:0 0 1.5rem;
}
.wp-block-gallery{gap:1rem}
.wp-block-embed iframe{width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:var(--sma-radius)}
.wp-block-post-content > .wp-block-image img{border-radius:var(--sma-radius)}
/* YouTube facade (theme.js): no iframe before click — good for CWV. */
.sma-video-facade{
  position:relative;aspect-ratio:16/9;background:var(--sma-dark);border-radius:var(--sma-radius);
  overflow:hidden;cursor:pointer;display:flex;align-items:center;justify-content:center;
}
.sma-video-facade::after{
  content:"▶";display:grid;place-items:center;width:4rem;height:4rem;border-radius:50%;
  background:var(--sma-lime);color:var(--sma-dark);font-size:1.5rem;
}
.sma-video-facade iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* --------------------------------------------------------------------------
   12. Animations — transform/opacity only, never layout. Reduced motion
   disables everything (also covers the hero rise, stat fade, chart bars
   and radar pulse from §8).
   -------------------------------------------------------------------------- */
[data-reveal]{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease}
[data-reveal].is-visible{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}
  [data-reveal]{opacity:1;transform:none}
  html{scroll-behavior:auto}
}

/* ==========================================================================
   13. v5.0.3 — DESIGN AUDIT FIXES (2026-11-25) + LEGACY CONTENT
   The audit (DESIGN-AUDIT-2026-11-25.md, desktop 1919px) found the
   homepage / pricing / Noida pages inconsistent. Two structural causes:
   (a) the Noida / city pages were built under the OLD theme and carry
   smseo-* classes this theme never styled — they rendered unstyled;
   (b) core's constrained-layout auto !important margins centred capped
   text. This section styles the legacy classes in v5's own tokens and
   unifies section padding. Content deletions / duplicates are NOT
   fixed here — they are listed in CONTENT-EDITS-2026-11-25.md.
   Mobile-first: every rule below is fluid (no fixed widths that break
   at 360px); the auto-fit grid collapses to one column on a phone.
   ========================================================================== */

/* 13.1 Legacy sections — full-bleed + ONE section padding (S3/N1).
   Inline spacing--70/--50 paddings varied per section; the single
   rhythm below replaces them. The first section after the page H1
   gets a small top pad (N1: the ~110px gap was H1 margin + 70-spacing). */
.wp-block-post-content .smseo-section{
  padding-top:var(--sma-section-pad) !important;
  padding-bottom:var(--sma-section-pad) !important;
}
.entry-content > .smseo-section:first-child{padding-top:1.5rem !important}
.smseo-section > .alignwide{
  max-width:var(--sma-container);
  margin-left:auto !important;margin-right:auto !important;
}

/* 13.2 Legacy measure + lede (H7/N2): one 75ch text measure, left edge
   shared with the headings. */
.smseo-measure{max-width:75ch}
.smseo-lede{max-width:75ch}

/* 13.3 Legacy panels (N3/N4/N5): white cards in v5's tokens, equal
   heights per row with the link pinned to the bottom (S4). */
.is-style-smseo-panel{
  background:#fff;border:1px solid var(--sma-line);border-radius:14px;
  padding:1.25rem;display:flex;flex-direction:column;
}
.is-style-smseo-panel .smseo-card-title{margin-top:.75rem}
.is-style-smseo-panel .smseo-card-body{color:var(--sma-ink-muted);font-size:.975rem}
.is-style-smseo-panel .smseo-card-link{margin-top:auto;font-weight:700}
.is-style-smseo-panel .smseo-card-link a{text-decoration:none}
/* One icon treatment (N3): the three SVGs arrive in different colours;
   a shared tinted chip behind each icon makes them read as one set. */
.is-style-smseo-panel > .wp-block-image{
  width:4.5rem;height:4.5rem;display:grid;place-items:center;
  background:var(--sma-primary-tint);border-radius:14px;margin:0 0 .75rem;
}
/* v5.0.3 (image-SEO pass, CLS): the legacy SVGs carry no width/height,
   so pin the icon to a fixed 3rem square inside the 4.5rem chip — one
   size for every icon, and the reserved box means no layout shift. */
.is-style-smseo-panel > .wp-block-image img{display:block;width:3rem;height:3rem}
.smseo-lift{transition:transform .25s ease,box-shadow .25s ease}
.smseo-lift:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(13,21,38,.18)}

/* 13.4 Legacy stagger grid (N3/N4): any number of panels fills the row
   evenly — 3 benefits panels in 3 columns, 4 service panels in 4, and
   one column on a phone. Beats core's fixed 3-column container rule. */
.wp-block-group.smseo-stagger{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));
  gap:var(--sma-gutter);align-items:stretch;
}
.wp-block-group.smseo-stagger > *{min-width:0}

/* 13.5 Legacy check list + heading underline + prose (N2/N3/N5). */
.is-style-smseo-check{list-style:none;margin:0 0 1rem;padding:0}
.is-style-smseo-check li{position:relative;padding-left:1.75rem;margin-bottom:.6rem}
.is-style-smseo-check li::before{content:"✓";position:absolute;left:0;top:0;color:var(--sma-green);font-weight:800}
.is-style-smseo-underline::after{
  content:"";display:block;width:4.5rem;height:4px;border-radius:2px;
  background:var(--sma-lime);margin-top:.6rem;
}
.smseo-prose-block{max-width:75ch}

/* 13.6 Legacy sections' columns (N2/N5): centre the short column
   against the long one instead of leaving its empty space at the bottom. */
.smseo-section .wp-block-columns{align-items:center}

/* 13.7 Homepage dates byline (H20): the "Published / Last updated" line
   is the last paragraph of the homepage content; it sat alone on a wide
   white strip between the navy form section and the navy footer. Style
   it as a small centred byline instead of a detached strip. */
body.home .wp-block-post-content > p:last-child{
  font-size:.85rem;color:var(--sma-ink-muted);text-align:center;
  margin:1.5rem auto .5rem;max-width:75ch;
}

/* 13.8 Closing CTA guard (P11/N9): the shared .sma-cta part is used on
   every page; its buttons follow its text alignment (left text, left
   buttons — verified identical on pricing and Noida). Lock it in. */
.sma-cta .sma-btns{justify-content:flex-start}

/* --------------------------------------------------------------------------
   13.9 v5.0.5 — DESIGN AUDIT v2 (2026-11-25) legacy leftovers.
   Class-coverage check over the 9 audited live pages (125 sma-/smseo-
   classes used) found only these without a rule in theme.css. All three
   are old-theme classes on live content, so they get v5 styling here
   rather than a content rewrite.
   -------------------------------------------------------------------------- */
/* D2-06: the accent callout panel (Noida "Everything else — audits,
   content…" + the choose-post "Want this done for you…" CTA). It rendered
   as plain floating text / an unboxed CTA. Tinted panel in v5 tokens. */
.is-style-smseo-panel-accent{
  background:var(--sma-primary-tint);border:1px solid var(--sma-line);
  border-left:4px solid var(--sma-primary);border-radius:14px;
  padding:1.25rem 1.5rem;
}
.is-style-smseo-panel-accent p{margin:0 0 .5rem}
.is-style-smseo-panel-accent p:last-child{margin-bottom:0}
.is-style-smseo-panel-accent .wp-block-buttons{margin-top:.75rem}
/* D2-07: legacy kicker ("Where Noida businesses sit") rendered as a plain
   paragraph. Same eyebrow treatment as .sma-kicker (§2). */
.smseo-kicker{
  color:var(--sma-primary);font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  font-size:.8rem;margin:0 0 .5rem;
}
/* D2-08: legacy arrow button (Noida "See the full pricing breakdown",
   choose-post CTA) rendered as a default button with no arrow. */
.is-style-smseo-button-arrow .wp-block-button__link::after{content:" →"}

/* ==========================================================================
   14. v5.0.9 — DESIGN AUDIT v3 (2026-11-25) + first-time-visitor check
   Owner: the whole site still reads as "bilkul bekar" — pricing and
   services read as long blog articles, not company pages; no consistent
   colour system; buttons vary; the footer has no brand block; the header
   is overcrowded. Competitor patterns studied: Webwave (proof numbers
   under the hero, numbered pain cards, direct-answer H2 + price range up
   top, one named case study), Matebiz (tiered packs with grouped feature
   lists, "Most Popular" badge, comparison table), PageTraffic (keyword-
   count packs, Most Popular tier, named case studies). Adapted to SMA's
   brand (navy #0d1526 + lime #a3e635, Plus Jakarta Sans) — NOT copied.
   No live content, copy, headings, prices, URLs or slugs are changed
   by anything in this section; the two render-time filters (V9-2/V9-6)
   only restyle existing markup.
   -------------------------------------------------------------------------- */

/* V9-1 CSS-only hero band for company pages (pricing, services, local,
   location, industry, and default-template pages such as the city pages).
   These pages open with a bare H1 on white and read as documents; the
   band gives them a real hero without touching content. The H1 is the
   template post-title on Noida/Surat/Vadodara and a content H1 (first
   child of post-content) on pricing/services/local — both forms are
   covered. Excluded: home (has .sma-hero), research (page-id-350, own
   inline-styled hero), audit (page-wide, own dark hero group), contact
   (page-contact, .smseo-hero below), blog singles (own header). The
   full-bleed math is the §7 pattern (100vw + calc(50% - 50vw) margins,
   max() floor on the side padding); !important on the margins beats
   core's constrained-layout auto margins. */
body.page-template-page-service .wp-block-post-content > h1:first-child,
body.page-template-page-pricing .wp-block-post-content > h1:first-child,
body.page-template-page-industry .wp-block-post-content > h1:first-child,
body.page-template-page-location .wp-block-post-content > h1:first-child,
body.page-template-page-location main > .wp-block-post-title,
body.page-template-page-industry main > .wp-block-post-title,
body.page-template-default:not(.home):not(.page-id-350) main > .wp-block-post-title,
body.page-template-default:not(.home):not(.page-id-350) .wp-block-post-content > h1:first-child{
  background:var(--sma-grad-midnight);color:#fff;
  width:100vw;max-width:100vw;
  margin-left:calc(50% - 50vw) !important;margin-right:calc(50% - 50vw) !important;
  padding-top:3.5rem;padding-bottom:3rem;
  padding-left:max(1rem,calc((100vw - var(--sma-container)) / 2));
  padding-right:max(1rem,calc((100vw - var(--sma-container)) / 2));
  font-size:clamp(2rem,4.5vw,2.9rem);line-height:1.08;text-wrap:balance;
  margin-bottom:2rem;
}
body.page-template-page-service .wp-block-post-content > h1:first-child::after,
body.page-template-page-pricing .wp-block-post-content > h1:first-child::after,
body.page-template-page-industry .wp-block-post-content > h1:first-child::after,
body.page-template-page-location .wp-block-post-content > h1:first-child::after,
body.page-template-page-location main > .wp-block-post-title::after,
body.page-template-page-industry main > .wp-block-post-title::after,
body.page-template-default:not(.home):not(.page-id-350) main > .wp-block-post-title::after,
body.page-template-default:not(.home):not(.page-id-350) .wp-block-post-content > h1:first-child::after{
  content:"";display:block;width:4rem;height:4px;background:var(--sma-lime);
  margin-top:1.25rem;border-radius:2px;
}
/* v5.0.3 (P1) intent, restated for the content H1: the pricing H1 is one
   long line; 2.5rem max lets it sit on one line at desktop width. */
body.page-template-page-pricing .wp-block-post-content > h1:first-child{font-size:clamp(1.75rem,4vw,2.5rem)}

/* V9-2 Date line on commercial pages (pricing, services, local): the
   "Published / Last updated" paragraph is the first <p> after the H1 and
   reads as a blog byline. Restyle it as a discreet meta line under the
   hero band instead of body-size text. (Homepage byline is already
   styled in §13.7; Noida/city pages have no date line.) */
body.page-template-page-pricing .wp-block-post-content > h1 + p,
body.page-template-page-service .wp-block-post-content > h1 + p{
  font-size:.85rem;color:var(--sma-ink-muted);
  margin-bottom:1.75rem;padding-bottom:1rem;
  border-bottom:1px solid var(--sma-hairline);
}

/* V9-3 Lede — the opening paragraph after the hero band. On pricing /
   services it is the paragraph after the date line; on default-template
   city pages (Surat, Vadodara) it is the first paragraph of the content. */
body.page-template-page-pricing .wp-block-post-content > h1 + p + p,
body.page-template-page-service .wp-block-post-content > h1 + p + p,
body.page-template-default:not(.home):not(.page-id-350) .wp-block-post-content > p:first-child{
  font-size:1.125rem;line-height:1.7;color:var(--sma-ink);
}

/* V9-4 Homepage: the first paragraph after each section H2 is the
   section's lead — set it larger so the long prose sections stop reading
   as undifferentiated document text. */
body.home .wp-block-post-content > .sma-sec > h2 + p{
  font-size:1.125rem;line-height:1.7;color:var(--sma-ink);
}

/* V9-5 Pricing plan cards. The three plans were plain text columns —
   no border, background, shadow or highlighted plan; the "★ RECOMMENDED"
   label pushed the Growth heading down; the three "Choose … →" links
   sat at three different heights (unequal feature lists). The plan
   columns are the ONLY .wp-block-columns group in the pricing page's
   content, so the selector below cannot hit anything else. Cards are
   real cards; Growth gets a primary border + the badge as an absolute
   pill overlapping the top edge (out of flow, so all three headings
   align); the price is a large primary figure; the feature list is a
   check list; the button is pinned to the card bottom and full-width. */
body.page-template-page-pricing .wp-block-post-content > .wp-block-columns{
  display:grid;grid-template-columns:1fr;gap:var(--sma-gutter);
  margin-top:1rem;margin-bottom:2rem;
}
@media (min-width:782px){
  body.page-template-page-pricing .wp-block-post-content > .wp-block-columns{
    grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;
  }
}
body.page-template-page-pricing .wp-block-post-content > .wp-block-columns > .wp-block-column{
  background:#fff;border:1px solid var(--sma-line);border-radius:16px;
  padding:1.5rem;display:flex;flex-direction:column;position:relative;
  box-shadow:0 2px 8px rgba(13,21,38,.04);margin:0;
  transition:transform .25s ease,box-shadow .25s ease;
}
body.page-template-page-pricing .wp-block-post-content > .wp-block-columns > .wp-block-column:hover{
  transform:translateY(-3px);box-shadow:0 12px 28px rgba(13,21,38,.12);
}
body.page-template-page-pricing .wp-block-post-content > .wp-block-columns > .wp-block-column:nth-child(2){
  border:2px solid var(--sma-primary);
  box-shadow:0 10px 28px rgba(30,70,199,.14);
}
/* The RECOMMENDED label is the first <p> of the middle column. Absolute
   (out of flow) so the Growth heading sits level with Starter/Scale. */
body.page-template-page-pricing .wp-block-post-content > .wp-block-columns > .wp-block-column:nth-child(2) > p:first-child{
  position:absolute;top:-0.85rem;left:50%;transform:translateX(-50%);
  background:var(--sma-lime);color:var(--sma-primary-deep);
  font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;
  padding:.35rem .9rem;border-radius:999px;white-space:nowrap;margin:0;z-index:1;
}
body.page-template-page-pricing .wp-block-post-content > .wp-block-columns > .wp-block-column > h3{
  font-size:1.25rem;margin-bottom:.25rem;
}
/* Price: the <p> immediately after the plan name. */
body.page-template-page-pricing .wp-block-post-content > .wp-block-columns > .wp-block-column > h3 + p{
  font-size:1.9rem;font-weight:800;color:var(--sma-primary);line-height:1.15;margin-bottom:.5rem;
}
/* Audience line: the <p> after the price. */
body.page-template-page-pricing .wp-block-post-content > .wp-block-columns > .wp-block-column > h3 + p + p{
  color:var(--sma-ink-muted);font-size:.95rem;margin-bottom:1rem;
}
body.page-template-page-pricing .wp-block-post-content > .wp-block-columns > .wp-block-column > ul{
  list-style:none;padding:0;margin:0 0 1.5rem;
}
body.page-template-page-pricing .wp-block-post-content > .wp-block-columns > .wp-block-column > ul li{
  position:relative;padding-left:1.6rem;margin-bottom:.55rem;
}
body.page-template-page-pricing .wp-block-post-content > .wp-block-columns > .wp-block-column > ul li::before{
  content:"✓";position:absolute;left:0;top:0;color:var(--sma-green);font-weight:800;
}
body.page-template-page-pricing .wp-block-post-content > .wp-block-columns > .wp-block-column .wp-block-buttons{
  margin-top:auto;
}
body.page-template-page-pricing .wp-block-post-content > .wp-block-columns > .wp-block-column .wp-block-button{
  flex:1;
}
body.page-template-page-pricing .wp-block-post-content > .wp-block-columns > .wp-block-column .wp-block-button__link{
  width:100%;text-align:center;
}

/* V9-6 Services process stepper. The four process paragraphs are wrapped
   in .sma-process by the render-time filter in functions.php (no stored
   content change; the filter is a no-op if the copy changes). Numbered
   circles on a connecting line; the first sentence of each step (bolded
   by the filter) renders as the step title on its own line. */
.sma-process{counter-reset:sma-step;position:relative;margin:2rem 0 2.5rem}
.sma-process::before{
  content:"";position:absolute;left:1.1rem;top:1.25rem;bottom:1.25rem;
  width:2px;background:var(--sma-hairline);
}
.sma-process > p{
  position:relative;padding-left:3.25rem;margin-bottom:1.5rem;max-width:82ch;
}
.sma-process > p:last-child{margin-bottom:0}
.sma-process > p::before{
  counter-increment:sma-step;content:counter(sma-step);
  position:absolute;left:0;top:0;width:2.25rem;height:2.25rem;border-radius:50%;
  background:var(--sma-primary);color:#fff;display:flex;align-items:center;
  justify-content:center;font-weight:800;font-size:1rem;
}
.sma-process > p > strong{display:block;font-size:1.05rem;color:var(--sma-ink);margin-bottom:.25rem}

/* V9-7 Card link hairline. Equal-height cards + a link pinned to the
   bottom left dead white gaps above the "→" link. A hairline above the
   pinned link gives the gap a boundary so it reads as intentional
   spacing, not emptiness. Same treatment on blog cards' "Read more". */
.sma-card .sma-card-link{border-top:1px solid var(--sma-hairline);padding:.9rem 1.25rem 1.25rem}
.sma-post-card .wp-block-post-excerpt__more-text{
  border-top:1px solid var(--sma-hairline);padding-top:.9rem;margin-top:auto;
}

/* V9-8 CTA hierarchy on dark sections. The hero's "Get a free SEO audit"
   and the contact section's "Book a strategy call" are secondary (outline)
   buttons, but each is the primary action of its section — the hierarchy
   read inverted (text link vs outline). On dark sections the secondary
   becomes the solid lime action; the CTA band keeps its outline secondary
   (it already has a lime primary). */
.sma-hero .sma-btn-secondary .wp-block-button__link,
.sma-contact .sma-btn-secondary .wp-block-button__link{
  background:var(--sma-lime);color:var(--sma-primary-deep);border-color:var(--sma-lime);
}
.sma-hero .sma-btn-secondary .wp-block-button__link:hover,
.sma-contact .sma-btn-secondary .wp-block-button__link:hover{
  background:var(--sma-lime-deep);color:var(--sma-primary-deep);border-color:var(--sma-lime-deep);
}

/* V9-9 Submit buttons join the one-accent system. The SureForms submit
   was a dark navy rectangle (SureForms' own styling); the comment submit
   was unstyled WordPress default. Both are lime + dark text now. */
.sma-form .srfm-submit-container .srfm-submit-button{
  background:var(--sma-lime);color:var(--sma-primary-deep);
  border:1px solid var(--sma-lime);border-radius:8px;font-weight:600;
}
.sma-form .srfm-submit-container .srfm-submit-button:hover{
  background:var(--sma-lime-deep);border-color:var(--sma-lime-deep);color:var(--sma-primary-deep);
}
.wp-block-post-comments-form input[type="submit"],
.comment-form input[type="submit"]{
  background:var(--sma-lime);color:var(--sma-primary-deep);border:0;border-radius:8px;
  padding:.75rem 1.25rem;font-family:var(--sma-font-display);font-weight:600;cursor:pointer;
}
.wp-block-post-comments-form input[type="submit"]:hover,
.comment-form input[type="submit"]:hover{background:var(--sma-lime-deep)}

/* V9-10 Footer brand row (see parts/footer.html): logo + site title +
   one-line company description + LinkedIn icon, above the four link
   columns. The description reuses the homepage lede sentence verbatim. */
.sma-footer-brand{
  max-width:var(--sma-container);margin-inline:auto;
  display:flex;flex-wrap:wrap;gap:1rem 1.5rem;align-items:center;
  padding-bottom:2rem;margin-bottom:2rem;border-bottom:1px solid rgba(255,255,255,.12);
}
.sma-footer-brand .wp-block-site-logo{margin:0;flex-shrink:0}
.sma-footer-brand-text{flex:1 1 24rem;min-width:0}
.sma-footer-site-title{font-size:1.15rem;font-weight:700;margin:0 0 .35rem}
.sma-footer-site-title a{color:#fff;text-decoration:none}
.sma-footer-brand-text p{color:#d5dcee;font-size:.95rem;margin:0;max-width:62ch}
.sma-footer-social{margin:0 0 0 auto}
.sma-footer-social .wp-social-link{background:transparent;border:1px solid rgba(255,255,255,.35)}
.sma-footer-social .wp-social-link a{color:#fff}
.sma-footer-social .wp-social-link:hover{border-color:var(--sma-lime)}
.sma-footer-social .wp-social-link:hover a{color:var(--sma-lime)}

/* V9-11 Contact page legacy classes (D3-03). The contact hero rendered
   as plain white (no background); the "Office" band had an empty 55%
   column; the "What happens next" list rendered as bullets, not numbers;
   the contact-details list was plain bullets. All styled in v5 tokens
   here rather than a content rewrite. */
.smseo-hero{
  background:var(--sma-grad-midnight);color:#fff;
  padding-top:var(--sma-section-pad);padding-bottom:var(--sma-section-pad);
}
.smseo-hero h1,.smseo-hero h2{color:#fff}
.smseo-hero .smseo-lede{color:#d5dcee}
.smseo-hero .smseo-kicker{color:var(--sma-lime)}
.smseo-hero .wp-block-columns{align-items:center}
.smseo-contact-list{list-style:none;padding:0;margin:0 0 1.5rem}
.smseo-contact-list li{margin-bottom:.5rem}
.smseo-contact-list strong{color:#fff}
.smseo-contact-list a{color:var(--sma-primary);font-weight:600;text-decoration:none}
.smseo-hero .smseo-contact-list a{color:var(--sma-lime)}
.smseo-contact-list a:hover,.smseo-hero .smseo-contact-list a:hover{text-decoration:underline}
.is-style-smseo-numbered{list-style:none;counter-reset:smseo-num;padding:0;margin:0 0 1rem}
.is-style-smseo-numbered li{
  counter-increment:smseo-num;position:relative;padding-left:2.75rem;margin-bottom:.9rem;
}
.is-style-smseo-numbered li::before{
  content:counter(smseo-num);position:absolute;left:0;top:0;
  width:2rem;height:2rem;border-radius:50%;background:var(--sma-primary);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.9rem;
}
/* The "Office" band: hide the empty 55% column and let the text column
   take the row (its inline flex-basis is overridden with !important). */
.smseo-band--rule{border-top:1px solid var(--sma-hairline);padding-top:2.5rem;padding-bottom:2.5rem}
.smseo-band--rule .wp-block-column:empty{display:none}
.smseo-band--rule .wp-block-column{flex:1 1 auto !important;max-width:75ch}

/* V9-12 Research page (page-id-350, D3-04). The page body carries inline
   typography that breaks the type scale: all 11 H2s at ~22–24% below the
   theme size, the lede in grey #495057, the kicker in off-palette #0f4a3c.
   !important is required — the values are inline styles on the elements. */
body.page-id-350 .wp-block-post-content h2{font-size:clamp(1.5rem,4vw,2.15rem) !important}
body.page-id-350 .has-brand-soft-gradient-background p:first-child{color:var(--sma-primary) !important}
body.page-id-350 .wp-block-post-content > p:nth-of-type(2){
  color:var(--sma-ink) !important;font-size:1.125rem !important;line-height:1.7 !important;
}

/* V9-13 Audit page (D3-07). The framed sample-audit image had no frame
   styling; the form intro paragraph (.sma-audit-form-intro, rendered by
   inc/seo/audit-form.php) had no styling. The intro sits on a light
   background on the audit page and on the dark contact hero — two rules. */
.is-style-smseo-framed{
  border:1px solid var(--sma-line);border-radius:14px;padding:.75rem;
  background:#fff;box-shadow:0 8px 24px rgba(13,21,38,.08);
}
.is-style-smseo-framed img{display:block;border-radius:8px !important}
.sma-audit-form-intro{font-size:1rem;color:var(--sma-ink-muted);margin-bottom:1rem;max-width:60ch}
.smseo-hero .sma-audit-form-intro{color:#d5dcee}

/* --------------------------------------------------------------------------
   v5.0.11 — AI SEO dark "measure" section heading contrast (2026-11-26).
   Desktop visual check found the H2 + four H3s in the dark-navy
   "How we measure something that sends no click" block rendering in dark
   text on the dark background (body text in the same block is white and
   readable). Global h1–h6 { color: currentColor } does not reliably pick
   up the section's light text colour on these headings, so force light
   headings inside any dark-background section. Scoped to
   .has-dark-background-color so light sections are untouched.
   -------------------------------------------------------------------------- */
.has-dark-background-color h1,
.has-dark-background-color h2,
.has-dark-background-color h3,
.has-dark-background-color h4,
.has-dark-background-color h5,
.has-dark-background-color h6{color:#fff}
