/*
Theme Name: Site Theme
Description: Slim companion theme for a free-Elementor site: page frame, Elementor header/footer templates, "Site Menu" widget, and a CSS layer that reads the Elementor Kit.
Version: 1.0.28
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: site-theme
*/

/*
 * TOKENS. Each reads the Elementor Kit global first, then a literal
 * fallback that only shows if Elementor is off. Kit ids must exist in the
 * Kit — tools/gates/theme-globals.js fails the build if one dangles.
 *
 * Declared on body as well as :root: Elementor defines the Kit variables
 * on body (.elementor-kit-N), and a var() resolves where it is declared.
 * On :root alone every token silently falls back to its literal, and Site
 * Settings never restyles the header, footer, blog or forms.
 */
:root, body {
  --st-ink: var(--e-global-color-primary, #FFFFFF);
  --st-accent: var(--e-global-color-accent, #C4168F);
  --st-text: var(--e-global-color-text, #0E1621);
  --st-paper: var(--e-global-color-brand_cream, #FFFFFF);
  --st-dark: var(--e-global-color-brand_ink, #0E1621);
  --st-heading-font: var(--e-global-typography-primary-font-family, "Archivo"), serif;
  --st-body-font: var(--e-global-typography-text-font-family, "Inter"), system-ui, sans-serif;
  --st-wrap: 1140px;
  --st-radius: 3px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--st-paper);
  color: var(--st-text);
  font-family: var(--st-body-font);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--st-accent); }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.st-skip:focus {
  position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto;
  clip: auto; padding: 10px 16px; background: var(--st-accent); color: #fff;
}

/* Elementor owns the width of everything inside <main>. */
.st-main { display: block; }
.st-entry { max-width: 760px; margin: 0 auto; padding: 48px 18px; }

/* ---------------------------------------------------------------- header */

.st-header { position: sticky; top: 0; z-index: 60; background: var(--st-dark); }
/* Logged-in view: the admin bar is fixed above 600px and scrolls away below it,
   so the sticky offset must follow (46px left on a phone = page text above the header). */
.admin-bar .st-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .st-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .st-header { top: 0; } }
.st-headbar {
  max-width: var(--st-wrap); margin: 0 auto; padding: 12px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.st-brand { color: #fff; text-decoration: none; font-family: var(--st-heading-font); font-size: 20px; }
.st-brand img { height: 48px; width: auto; display: block; }

/* Menu: fallback header and the "Site Menu" widget share these rules. */
.st-navw { display: flex; align-items: center; justify-content: var(--st-nav-align, center); }
.st-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.st-nav a { display: block; padding: 9px 11px; color: #fff; text-decoration: none; border-radius: var(--st-radius); }
.st-nav a:hover, .st-nav a:focus-visible { color: var(--st-accent); }
.st-nav .current-menu-item > a { color: var(--st-accent); }
.st-nav li { position: relative; }
.st-nav .sub-menu {
  display: none; position: absolute; left: 0; top: 100%; z-index: 70;
  min-width: 240px; padding: 6px 0; background: var(--st-dark);
  flex-direction: column; align-items: stretch; gap: 0;
}
.st-nav li:hover > .sub-menu, .st-nav li.is-focus > .sub-menu { display: flex; }
.st-nav .menu-item-has-children > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg); opacity: .7;
}
.st-navw-empty { margin: 0; font-size: 13px; color: #fff; }

.st-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 0 12px; cursor: pointer;
  background: transparent; border: 1px solid currentColor; border-radius: var(--st-radius); color: #fff;
}
.st-burger span { display: block; height: 2px; background: currentColor; }
/* Fit the VISIBLE screen (dvh follows the phone's address bar) so the last
   items are not hidden under a fixed call bar; never scroll the page behind. */
.st-mobnav { max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); overflow: auto; overscroll-behavior: contain; padding: 12px 18px 22px; background: var(--st-dark); }
html.st-menu-open { overflow: hidden; }
.st-mobnav[hidden] { display: none; }
.st-mobnav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.st-mobnav .sub-menu { padding-left: 12px; }
.st-mobnav a { display: block; min-height: 48px; padding: 14px 12px; color: #fff; text-decoration: none; }

@media (max-width: 1024px) {
  .st-headbar > .st-nav { display: none; }
  .st-headbar > .st-burger { display: flex; }
}

/* Elementor header template: heading widgets take their own line height. */
.st-header .elementor-widget-heading .elementor-heading-title { display: block; }

/* ---------------------------------------------------------------- footer */

.st-footer { background: var(--st-dark); color: #fff; padding: 32px 18px; text-align: center; }
.st-footer ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.st-footer a { color: #fff; }

/* Footer menu columns ("Site Menu" widget, List layout). */
.st-navw.st-navw--list { display: block; }
.st-fnav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.st-fnav a { display: block; color: inherit; text-decoration: none; }
.st-fnav a:hover, .st-fnav a:focus-visible { color: var(--st-accent); }
.st-site-footer .elementor-widget-text-editor p { margin: 0; }

/* Phone call bar inside the footer template: hidden on wide screens, fixed
   on phones. The doubled class outranks Elementor's own display rule. */
.st-site-footer .e-con.st-stickybar { display: none; }
@media (max-width: 820px) {
  .st-site-footer .e-con.st-stickybar { display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; }
  .st-template-preview .st-site-footer .e-con.st-stickybar { position: static; }
}

/*
 * ------------------------------------------------ Elementor-vs-utility fixes
 *
 * Elementor's frontend CSS loads AFTER the theme and has the same weight as
 * a one-class utility, so `.elementor img { height: auto }` and
 * `.e-con { overflow: var(--overflow) }` silently beat them. Every utility
 * that must win inside Elementor content needs extra weight, as below.
 */

/* An image widget's Height setting leaves the width at the file's own width
   (WordPress prints width/height attributes), so a 48px-tall logo renders
   1000px wide. Give such widgets the class st-img-auto. */
.elementor .elementor-widget-image.st-img-auto img { width: auto; max-width: 100%; }

/* Logo strips: a fixed-height logo. */
.st-logo.st-logo > img,
.st-logo.st-logo > a > img,
.elementor .elementor-widget-image.st-logo img { height: 40px; width: auto; max-width: 100%; object-fit: contain; }

/* Fixed-ratio thumbnails: every layer must fill the frame. */
.st-thumb { aspect-ratio: 4 / 3; overflow: hidden; }
.elementor .elementor-widget-image.st-thumb > .elementor-widget-container,
.elementor .elementor-widget-image.st-thumb a,
.elementor .elementor-widget-image.st-thumb img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* Scroll/clip boxes set via a class (the container setting "Overflow" is the
   editable way; this covers content imported without it). */
.e-con.st-scroll { --overflow: auto; }
.e-con.st-clip { --overflow: hidden; }

/* A table never widens the page on phones: it scrolls inside its own box. */
.elementor-widget-text-editor:has(table) { max-width: 100%; overflow-x: auto; }

/* Text widgets: the first/last paragraph adds no outer space (the source's own spacing
   is carried by container gaps and inline margins). */
.elementor-widget-text-editor p:first-child { margin-top: 0; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* ---- Burrini fidelity layer: things the converter cannot express as panel settings ---- */
body{
  --b-ink:var(--e-global-color-text,#0E1621);
  --b-brand:var(--e-global-color-secondary,#0B4A9E);
  --b-accent:var(--e-global-color-accent,#C4168F);
  --b-line:var(--e-global-color-line,#DFE4EC);
  --b-surface:var(--e-global-color-surface,#F2F6FC);
  --b-muted:var(--e-global-color-muted,#586273);
}
html,body{overflow-x:clip}

/* logo */
.st-logo p{margin:0;font-family:var(--e-global-typography-primary-font-family,Archivo),sans-serif;font-weight:800;font-size:1.3rem;line-height:1;letter-spacing:-.01em;white-space:nowrap;color:var(--b-ink)}
.st-logo .st-amp{color:var(--b-accent)}

/* tables and lists inside rich text */
.elementor-widget-text-editor table{width:100%;border-collapse:collapse;margin:.5em 0 1.2em;font-size:.95rem;background:#fff;border:1px solid var(--b-line);border-radius:10px;overflow:hidden}
.elementor-widget-text-editor th,.elementor-widget-text-editor td{padding:10px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--b-line)}
.elementor-widget-text-editor thead th{background:var(--b-surface);font-weight:700;color:var(--b-ink)}
.elementor-widget-text-editor tr:last-child td{border-bottom:0}
.elementor-widget-text-editor ul,.elementor-widget-text-editor ol{margin:.4em 0 1em;padding-left:1.35em}
.elementor-widget-text-editor li{margin:.3em 0}
.elementor-widget-text-editor a{color:var(--b-brand)}
.elementor-widget-text-editor blockquote{margin:1em 0;padding:14px 18px;border-left:4px solid var(--b-accent);background:var(--b-surface);border-radius:0 10px 10px 0}
.elementor-widget-text-editor p:last-child{margin-bottom:0}
@media (max-width:640px){
  .elementor-widget-text-editor table,.elementor-widget-text-editor tbody,.elementor-widget-text-editor tr,.elementor-widget-text-editor td{display:block;width:100%}
  .elementor-widget-text-editor thead{display:none}
  .elementor-widget-text-editor td{border-bottom:0;padding:4px 12px}
  .elementor-widget-text-editor tr{border-bottom:1px solid var(--b-line);padding:8px 0}
}

/* estimate card (Contact Form 7) */
.st-estimate{background:#fff;border-radius:16px;box-shadow:0 18px 48px rgba(9,14,22,.28);padding:clamp(20px,3vw,28px)!important;color:var(--b-ink)}
.st-estimate .elementor-heading-title{margin:0 0 6px;font-size:1.5rem;line-height:1.15}
.st-estimate .wpcf7 form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.st-estimate .wpcf7 form>*{grid-column:1/-1;margin:0}
.st-estimate .wpcf7 .estimate-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.st-estimate .wpcf7 .estimate-form>*{grid-column:1/-1;margin:0}
.st-estimate .wpcf7 .estimate-form>label:nth-of-type(-n+4){grid-column:span 1}
.st-estimate .wpcf7 label{display:grid;gap:4px;font-size:.85rem;font-weight:600;color:var(--b-ink)}
.st-estimate .wpcf7 input[type=text],.st-estimate .wpcf7 input[type=tel],.st-estimate .wpcf7 input[type=email],.st-estimate .wpcf7 select,.st-estimate .wpcf7 textarea{width:100%;min-height:48px;padding:10px 12px;border:1.5px solid var(--b-line);border-radius:8px;background:#fff;color:var(--b-ink);font:inherit;font-weight:400;font-size:16px;box-sizing:border-box}
.st-estimate .wpcf7 textarea{min-height:84px}
.st-estimate .wpcf7 input:focus,.st-estimate .wpcf7 select:focus,.st-estimate .wpcf7 textarea:focus{border-color:var(--b-brand);outline:none;box-shadow:0 0 0 3px rgba(11,74,158,.15)}
.st-estimate .wpcf7 .wpcf7-list-item{display:block;margin:4px 0}
.st-estimate .wpcf7 .wpcf7-list-item label{display:flex;gap:8px;align-items:center;font-weight:400}
.st-estimate .wpcf7 .wpcf7-acceptance label{font-size:.78rem;font-weight:400;color:var(--b-muted);align-items:flex-start}
.st-estimate .wpcf7 input[type=submit]{width:100%;min-height:52px;border:0;border-radius:999px;background:var(--b-accent);color:#fff;font:800 1rem/1 var(--e-global-typography-accent-font-family,Inter),sans-serif;cursor:pointer}
.st-estimate .wpcf7 input[type=submit]:hover{filter:brightness(.92)}
.st-estimate .wpcf7-response-output{margin:8px 0 0!important;border-radius:8px;font-size:.9rem}
@media (max-width:640px){.st-estimate .wpcf7 .estimate-form,.st-estimate .wpcf7 form{grid-template-columns:1fr}.st-estimate .wpcf7 .estimate-form>label:nth-of-type(-n+4){grid-column:1/-1}}

/* accordion (FAQ) */
.elementor-widget-accordion .elementor-accordion-item{border:0;border-bottom:1px solid var(--b-line)}
.elementor-widget-accordion .elementor-tab-title{padding:16px 0;font-weight:700}
.elementor-widget-accordion .elementor-tab-content{padding:0 0 16px;color:var(--b-muted)}
.st-nav .sub-menu{max-height:70vh;overflow-y:auto;border:1px solid var(--b-line);border-radius:12px;box-shadow:0 18px 48px rgba(9,14,22,.18);padding:8px}
.st-nav .sub-menu a{border-radius:8px}
.st-estimate .wpcf7 .estimate-form>p{margin:0;grid-column:1/-1}
.st-estimate .wpcf7 .estimate-form>p:nth-child(-n+4){grid-column:span 1}
.st-estimate .wpcf7 .estimate-form br{display:none}
.st-estimate .wpcf7 .wpcf7-form-control-wrap{display:block}
@media (max-width:640px){.st-estimate .wpcf7 .estimate-form>p:nth-child(-n+4){grid-column:1/-1}}
@media (max-width:900px){
  .st-header-phone .elementor-widget-text-editor:nth-child(2){display:none}
  .st-logo p{font-size:1.05rem}
  header .elementor-widget-button .elementor-button{padding:10px 14px;font-size:.85rem}
}
header a:has(> .st-logo),header .st-logo{flex:0 0 auto;width:max-content;max-width:none}
@media (max-width:900px){
  .st-header-phone{display:none}
  header .elementor-widget-button{margin-left:auto}
}
header :has(> .elementor-widget .st-logo),header .elementor-widget-text-editor.st-logo{flex:0 0 auto;width:max-content;max-width:none}
.st-burger{color:var(--b-ink)}
@media (max-width:900px){
  .elementor .st-header-phone.e-con{display:none}
  header .st-burger{margin-left:auto}
  header .elementor-widget-button{margin-left:0}
}
@media (max-width:480px){
  .st-logo p{font-size:.95rem}
  header .elementor-widget-button .elementor-button{padding:9px 12px;font-size:.78rem;min-height:0}
  header .st-burger{width:44px;margin-left:auto}
}

/* three-step estimate form */
.st-estimate .elementor-widget-heading{position:relative;padding-right:110px}
.st-estimate .elementor-widget-heading::after{content:"60 seconds";position:absolute;right:0;top:4px;font:800 .7rem/1 var(--e-global-typography-accent-font-family,Inter),sans-serif;letter-spacing:.08em;text-transform:uppercase;background:#fff2ec;color:var(--b-accent);padding:7px 10px;border-radius:999px}
.st-estimate .elementor-widget-text-editor p{margin:0 0 12px;font-size:.95rem}
.est-step{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.est-step[hidden],.est-submit[hidden],.est-done[hidden],.est-progress[hidden]{display:none}
.est-step p{display:contents}
.est-step p.est-note,.est-step p.est-q{display:block}
.est-step br{display:none}
.est-step .f-full,.est-step .est-actions,.est-step .est-note,.est-step .est-q{grid-column:1/-1}
.est-q{margin:0;font-weight:600;font-size:.9rem}
.est-actions{display:grid;gap:10px;margin-top:4px}
.est-next{width:100%;min-height:52px;border:0;border-radius:999px;background:var(--b-accent);color:#fff;font:800 1rem/1 var(--e-global-typography-accent-font-family,Inter),sans-serif;cursor:pointer}
.est-next:disabled{opacity:.45;cursor:not-allowed}
.est-alt{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:.88rem}
.est-link{background:none!important;border:0;padding:0;color:var(--b-brand)!important;font:600 .88rem/1.4 var(--e-global-typography-text-font-family,Inter),sans-serif;text-decoration:underline;cursor:pointer;box-shadow:none}
.est-alt a{color:var(--b-brand);font-weight:600}
.est-note{margin:0;font-size:.78rem;line-height:1.5;color:var(--b-muted)}
.est-note a{color:var(--b-brand)}
.est-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:4px 0 16px;font-size:.78rem;font-weight:600;color:var(--b-muted)}
.est-progress span{display:grid;gap:6px}
.est-progress i{display:block;height:4px;border-radius:4px;background:var(--b-line)}
.est-progress .is-on{color:var(--b-ink)}
.est-progress .is-on i{background:var(--b-accent)}
.est-submit{display:grid;gap:12px;margin-top:12px}
.est-done{margin:0;font-size:1rem}
@media (max-width:640px){.est-step{grid-template-columns:1fr}.st-estimate .elementor-widget-heading{padding-right:0}.st-estimate .elementor-widget-heading::after{position:static;display:inline-block;margin-top:6px}}

.st-breadcrumb ol{display:flex;flex-wrap:wrap;gap:4px 8px;list-style:none;margin:0 0 14px;padding:0;font-size:.9rem}
.st-breadcrumb li{margin:0}
.st-breadcrumb li+li::before{content:"\203A";margin-right:8px;opacity:.7}
.st-breadcrumb a{color:inherit;font-weight:600;text-decoration:none}
.st-breadcrumb a:hover{text-decoration:underline}
.st-header-phone,.st-header-phone *{white-space:nowrap}
@media (max-width:1180px){.elementor .st-header-phone.e-con{display:none}}
.st-estimate .elementor-widget-heading{padding-right:96px}
.st-estimate .elementor-widget-heading .elementor-heading-title{font-size:1.35rem}

/* ---- match the draft exactly (values taken from the draft's site.css) ---- */
header.e-con{border-bottom:1px solid var(--b-line);background:rgba(255,255,255,.94);backdrop-filter:saturate(1.4) blur(10px)}
header.e-con .e-con-inner{min-height:72px;align-items:center}
.st-logo p{font-size:1.25rem}
.st-breadcrumb ol{gap:6px;font-size:.85rem;color:#c3ccd8;margin:0 0 14px}
.st-breadcrumb li{font-size:.85rem;color:#c3ccd8;margin:0}
.st-breadcrumb a{color:#fff}
.st-breadcrumb li+li::before{margin-right:6px;opacity:.6}

/* FAQ accordion looks like the draft's <details> list */
.elementor-widget-accordion .elementor-accordion-item{border:0;border-bottom:1px solid var(--b-line);padding:16px 0;margin:0}
.elementor-widget-accordion .elementor-tab-title{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:0;margin:0;border:0;background:none;cursor:pointer;font:700 17px/1.5 var(--e-global-typography-text-font-family,Inter),sans-serif;color:var(--b-ink)}
.elementor-widget-accordion .elementor-tab-title a,.elementor-widget-accordion .elementor-tab-title .elementor-accordion-title{color:var(--b-ink);font:inherit;text-decoration:none}
.elementor-widget-accordion .elementor-accordion-icon{order:2;margin:0;width:auto;font-size:0;line-height:1;color:var(--b-accent)}
.elementor-widget-accordion .elementor-accordion-icon>*{display:none}
.elementor-widget-accordion .elementor-accordion-icon::after{content:"+";font-size:1.4rem;line-height:1;font-weight:400}
.elementor-widget-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon::after{content:"\2013"}
.elementor-widget-accordion .elementor-tab-content{padding:10px 0 0;border:0;color:var(--b-muted);font-size:inherit;line-height:1.6}
.elementor-widget-accordion .elementor-tab-content p{margin:0 0 .6em}
footer .elementor-widget-text-editor ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}
footer .elementor-widget-text-editor li{margin:0;line-height:1.5}
footer .elementor-widget-text-editor a{color:#fff;text-decoration:none}

/* FAQ toggle: exact draft look (the draft uses <details>) */
.elementor .elementor-widget-toggle .elementor-toggle .elementor-toggle-item{border:0;border-bottom:1px solid var(--b-line);padding:16px 0;margin:0}
.elementor .elementor-widget-toggle .elementor-toggle .elementor-tab-title{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:16px;padding:0;margin:0;border:0;background:none;cursor:pointer;font:700 17px/1.5 var(--e-global-typography-text-font-family,Inter),sans-serif;color:var(--b-ink)}
.elementor .elementor-widget-toggle .elementor-toggle .elementor-tab-title a,.elementor .elementor-widget-toggle .elementor-toggle .elementor-toggle-title{color:var(--b-ink);font:inherit;text-decoration:none}
.elementor .elementor-widget-toggle .elementor-toggle .elementor-toggle-icon{order:2;margin:0;width:auto;font-size:0;line-height:1;color:var(--b-accent)}
.elementor .elementor-widget-toggle .elementor-toggle .elementor-toggle-icon>*{display:none}
.elementor .elementor-widget-toggle .elementor-toggle .elementor-toggle-icon::after{content:"+";font-size:1.4rem;line-height:1;font-weight:400}
.elementor .elementor-widget-toggle .elementor-toggle .elementor-tab-title.elementor-active .elementor-toggle-icon::after{content:"\2013"}
.elementor .elementor-widget-toggle .elementor-toggle .elementor-tab-content{padding:10px 0 0;border:0;color:var(--b-muted);font-size:inherit;line-height:1.6}
.elementor .elementor-widget-toggle .elementor-toggle .elementor-tab-content p{margin:0 0 .6em}
.elementor-widget-text-editor li{margin:0}

/* photos the draft shows as 260px-tall cover crops */
.elementor .st-ph img{width:100%;height:260px;max-height:260px;object-fit:cover;border-radius:16px;display:block}

@media (min-width:1001px){.elementor .st-header-phone.e-con{display:flex}}

/* the draft's last paragraph keeps its trailing margin inside each section */
.elementor > .e-con.e-parent:not(.st-hero):not(footer):not(header) > .e-con-inner{padding-bottom:17px}
footer .elementor-widget-text-editor li{line-height:1.6}

/* link lists in columns (draft: ul.links) */
.st-links ul{columns:3 200px;padding:0;list-style:none;margin:0}
.st-links li{break-inside:avoid;margin:0 0 6px}

/* ---- grouped navigation: Services and Service Areas ---- */
.st-nav > ul > li > .sub-menu{max-height:none;overflow:visible}
.st-nav > ul > li:hover > .sub-menu,.st-nav > ul > li.is-focus > .sub-menu{display:grid;gap:4px 20px;padding:14px 16px;width:max-content;max-width:calc(100vw - 32px);grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
.st-menu > li:nth-child(2):hover > .sub-menu,.st-menu > li:nth-child(2).is-focus > .sub-menu{grid-template-columns:repeat(4,minmax(190px,1fr))}
.st-menu > li:nth-child(3):hover > .sub-menu,.st-menu > li:nth-child(3).is-focus > .sub-menu{grid-template-columns:repeat(2,minmax(210px,1fr))}
.st-nav .sub-menu > li{break-inside:avoid;align-self:start}
.st-nav .sub-menu .sub-menu{display:grid;position:static;min-width:0;max-height:none;overflow:visible;border:0;box-shadow:none;padding:0;background:transparent;gap:0}
.st-nav .sub-menu .sub-menu a{padding:6px 11px;font-size:.92rem}
.st-nav .sub-menu .menu-item-has-children > a::after{display:none}
.st-nav .sub-menu > li.menu-item-has-children > a{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em;padding:4px 11px 8px;color:var(--b-muted)!important;background:transparent!important}
.st-nav .sub-menu a[href="#"]{pointer-events:none;cursor:default}
.st-nav .sub-menu > li.menu-item-has-children > a[href]:not([href="#"]):hover{color:var(--b-brand)!important}

/* phone menu */
.st-mobmenu > li{display:grid;grid-template-columns:1fr auto;align-items:center;border-bottom:1px solid var(--b-line)}
.st-mobmenu > li > .sub-menu{grid-column:1/-1;display:none;padding:0 0 10px}
.st-mobmenu > li.is-open > .sub-menu{display:block}
.st-sub-toggle{width:48px;height:48px;background:none;border:0;color:inherit;font-size:1.5rem;line-height:1;cursor:pointer}
.st-sub-toggle::before{content:"+";color:var(--b-accent)}
.is-open > .st-sub-toggle::before{content:"\2013"}
.st-mobmenu .sub-menu .sub-menu{padding-left:0}
.st-mobmenu .sub-menu > li.menu-item-has-children > a{min-height:0;padding:14px 12px 4px;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em;opacity:.65}
.st-mobmenu .sub-menu a[href="#"]{pointer-events:none}
.st-mobmenu .sub-menu .sub-menu a{min-height:44px;padding:10px 12px 10px 24px;font-size:.98rem}
.st-mobnav{background:#fff}
.st-mobnav a{color:var(--b-ink)}

/* phone header: logo, menu button and Free Estimate always fit on one row */
@media (max-width:1024px){
  header.e-con .e-con-inner{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding-left:16px;padding-right:16px}
  header .st-logo p{font-size:clamp(.78rem,3.9vw,1.05rem)}
  header .elementor-widget-button .elementor-button{padding:9px 12px;font-size:.78rem;min-height:0;white-space:nowrap}
  header .st-burger{margin-left:0}
}

.st-menu > li:nth-child(2):hover > .sub-menu,.st-menu > li:nth-child(2).is-focus > .sub-menu{grid-template-columns:repeat(4,minmax(0,1fr));width:min(880px,calc(100vw - 32px));left:-120px}
.st-menu > li:nth-child(3):hover > .sub-menu,.st-menu > li:nth-child(3).is-focus > .sub-menu{grid-template-columns:repeat(2,minmax(0,1fr));width:min(520px,calc(100vw - 32px))}

/* phone header row fit */
@media (max-width:480px){header.e-con .e-con-inner{gap:6px}header .elementor-widget-button .elementor-button{padding:8px 10px;font-size:.72rem}header .st-logo p{font-size:clamp(.7rem,3.3vw,.9rem)}header .st-burger{width:40px;height:40px;padding:0 9px}}

/* home: all services listed in categories */
.st-cat ul{list-style:none;margin:6px 0 0;padding:0}
.st-cat li{margin:0;border-top:1px solid var(--b-line)}
.st-cat a{display:flex;justify-content:space-between;gap:10px;padding:9px 0;text-decoration:none;font-weight:600;color:var(--b-ink)}
.st-cat a::after{content:"\2192";color:var(--b-accent)}
.st-cat a:hover{color:var(--b-brand)}

/* uniform category cards (home and Services page) */
.elementor .e-con:has(> .st-cat){gap:0;row-gap:0}
.elementor .e-con:has(> .st-cat) > .elementor-widget{margin:0;width:100%}
.elementor .e-con:has(> .st-cat) .elementor-widget-image img,.elementor .e-con:has(> .st-cat) .st-ph img{width:100%;height:auto;max-height:none;aspect-ratio:4/3;object-fit:cover;border-radius:12px;display:block}
.elementor .e-con:has(> .st-cat) .elementor-widget-image{margin-bottom:16px}
.elementor .e-con:has(> .st-cat) .elementor-widget-heading .elementor-heading-title{font-size:1.15rem;line-height:1.25;margin:0;min-height:2.5em}
.elementor .e-con:has(> .st-cat) .elementor-widget-text-editor:not(.st-cat) p{font-size:.96rem;line-height:1.5;margin:6px 0 0;min-height:4.5em}
.elementor .e-con:has(> .st-cat) .st-cat{margin-top:12px}
.st-cat ul{margin:0}
.st-cat li{border-top:1px solid var(--b-line)}
.st-cat a{display:block;padding:10px 0;font-size:.96rem;line-height:1.35;font-weight:600}
.st-cat a::after{content:none;display:none}
/* category grid columns: four across on desktop, two on tablet, one on phone (never 3 + 1) */
.elementor .e-con:has(> .e-con > .st-cat){grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:1100px){.elementor .e-con:has(> .e-con > .st-cat){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:700px){.elementor .e-con:has(> .e-con > .st-cat){grid-template-columns:minmax(0,1fr)}}
/* header hides on scroll down; sticky is already set on .st-header */
.st-header{transition:transform .25s ease}
.st-header.is-away{transform:translateY(-100%)}
@media (prefers-reduced-motion:reduce){.st-header{transition:none}}
/* touch: a tapped item must not stay open through :hover; JS opens it with .is-focus */
html.st-touch .st-nav li:hover:not(.is-focus) > .sub-menu{display:none!important}

/* menus never stay open on their own */
html.st-menu-open{overflow:auto}
html.st-quiet .st-nav li:hover:not(.is-focus) > .sub-menu{display:none!important}
