/* ============================================================
   ELEMENTOR BRIDGE
   The Stantech design system was written for hand-built markup.
   Inside Elementor, the section/column structure owns layout, so
   the theme's own grid/flex rules must not fight it. These rules
   neutralise layout only — every colour, border, radius, shadow
   and typographic rule from stantech.css still applies.
   ============================================================ */

/* --- 1. Layout classes must not turn an Elementor section into a grid --- */
.elementor-section.svc-grid,
.elementor-section.proj-grid,
.elementor-section.cat-grid,
.elementor-section.grid-2,
.elementor-section.grid-3,
.elementor-section.grid-4,
.elementor-section.gallery-strip,
.elementor-section.lead-grid,
.elementor-section.contact-grid,
.elementor-section.split,
.elementor-section.section-head-row,
.elementor-section.quote-layout,
.elementor-section.stats-strip,
.elementor-section.spec-strip,
.elementor-section.svc-rows,
.elementor-section.item-list,
.elementor-section.item-group,
.elementor-section.std-grid,
.elementor-section.range-grid,
.elementor-section.quote-grid,
.elementor-section.hero-inner {
  display: block !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  gap: 0 !important;
  align-items: initial !important;
  justify-content: initial !important;
}

/* --- 2. Elementor columns inside those sections behave normally --- */
.elementor-section.svc-grid > .elementor-container,
.elementor-section.proj-grid > .elementor-container,
.elementor-section.cat-grid > .elementor-container,
.elementor-section.grid-2 > .elementor-container,
.elementor-section.grid-3 > .elementor-container,
.elementor-section.grid-4 > .elementor-container,
.elementor-section.gallery-strip > .elementor-container,
.elementor-section.lead-grid > .elementor-container,
.elementor-section.contact-grid > .elementor-container,
.elementor-section.split > .elementor-container,
.elementor-section.section-head-row > .elementor-container,
.elementor-section.quote-layout > .elementor-container,
.elementor-section.stats-strip > .elementor-container,
.elementor-section.spec-strip > .elementor-container,
.elementor-section.svc-rows > .elementor-container,
.elementor-section.item-list > .elementor-container,
.elementor-section.item-group > .elementor-container,
.elementor-section.std-grid > .elementor-container,
.elementor-section.range-grid > .elementor-container,
.elementor-section.quote-grid > .elementor-container,
.elementor-section.hero-inner > .elementor-container {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* --- 3. Section padding: the theme's .section rule still applies, but
        Elementor adds its own default padding — keep the theme's rhythm. --- */
.elementor-section.section { padding: clamp(64px, 8vw, 110px) 0; }
.elementor-section.section.tight { padding: clamp(48px, 5vw, 72px) 0; }
.elementor-section.hero { padding: 0; }
.elementor-section.page-hero { padding: 0; }
.elementor-section.stats-strip,
.elementor-section.spec-strip { padding: 0; }

/* --- 4. The page gutter: Elementor's boxed container is 1280px, matching
        the theme's --max. Add the same 32px gutter the .wrap rule used. --- */
.elementor-section > .elementor-container { padding-left: 32px; padding-right: 32px; }
.elementor-section.hero > .elementor-container,
.elementor-section.page-hero > .elementor-container,
.elementor-section.stats-strip > .elementor-container,
.elementor-section.spec-strip > .elementor-container { padding-left: 32px; padding-right: 32px; }
@media (max-width: 640px) {
  .elementor-section > .elementor-container { padding-left: 20px; padding-right: 20px; }
}

/* --- 5. Widgets must not add their own margins inside the design system --- */
.elementor-widget-heading .elementor-heading-title { margin: 0; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-widget-image img { display: block; }
.elementor-widget-button .elementor-button { background: none; padding: 0; }

/* --- 6. Stats / spec strips: restore the divider rhythm the .wrap rule gave --- */
.elementor-section.stats-strip > .elementor-container > .elementor-column,
.elementor-section.spec-strip > .elementor-container > .elementor-column {
  border-left: 1px solid rgba(255, 255, 255, .1);
}
.elementor-section.stats-strip > .elementor-container > .elementor-column:first-child,
.elementor-section.spec-strip > .elementor-container > .elementor-column:first-child {
  border-left: 0;
}
.elementor-section.stats-strip .elementor-widget-wrap,
.elementor-section.spec-strip .elementor-widget-wrap { padding: 40px 26px; }
.elementor-section.stats-strip > .elementor-container > .elementor-column:first-child .elementor-widget-wrap,
.elementor-section.spec-strip > .elementor-container > .elementor-column:first-child .elementor-widget-wrap {
  padding-left: 0;
}
.elementor-section.spec-strip { border-radius: var(--radius-lg); overflow: hidden; }

/* --- 7. Hero: background image lives on the section, so the overlay
        pseudo-element needs the section to be the positioning context. --- */
.elementor-section.hero { position: relative; isolation: isolate; }
.elementor-section.hero > .elementor-container { position: relative; z-index: 1; }
.elementor-section.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(13, 15, 17, .94) 0%, rgba(13, 15, 17, .82) 42%, rgba(13, 15, 17, .45) 100%),
    linear-gradient(0deg, rgba(13, 15, 17, .7), transparent 55%);
}
.elementor-section.page-hero { position: relative; isolation: isolate; }
.elementor-section.page-hero > .elementor-container { position: relative; z-index: 1; }
.elementor-section.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(100deg, rgba(13, 15, 17, .95) 0%, rgba(13, 15, 17, .8) 55%, rgba(13, 15, 17, .55) 100%);
}

/* --- 8. Hero inner grid: two columns, bottom-aligned --- */
.elementor-section.hero-inner > .elementor-container { align-items: flex-end; }
.elementor-section.hero-inner { padding: clamp(70px, 9vw, 130px) 0 clamp(56px, 7vw, 96px); }

/* --- 9. Section-head-row: heading left, button right, bottom aligned --- */
.elementor-section.section-head-row > .elementor-container { align-items: flex-end; }
.elementor-section.section-head-row .elementor-column:last-child .elementor-widget-wrap {
  justify-content: flex-end;
  align-items: flex-end;
}

/* --- 10. Split: media column and text column, vertically centred --- */
.elementor-section.split > .elementor-container { align-items: center; }

/* --- 11. Quote layout: form left, sidebar right, top aligned --- */
.elementor-section.quote-layout > .elementor-container { align-items: flex-start; }

/* --- 12. Cards inside columns must fill the column height --- */
.elementor-section.svc-grid .elementor-column,
.elementor-section.proj-grid .elementor-column,
.elementor-section.cat-grid .elementor-column,
.elementor-section.grid-2 .elementor-column,
.elementor-section.grid-3 .elementor-column,
.elementor-section.grid-4 .elementor-column,
.elementor-section.lead-grid .elementor-column,
.elementor-section.contact-grid .elementor-column { display: flex; }
.elementor-section.svc-grid .elementor-widget-wrap,
.elementor-section.proj-grid .elementor-widget-wrap,
.elementor-section.cat-grid .elementor-widget-wrap,
.elementor-section.grid-2 .elementor-widget-wrap,
.elementor-section.grid-3 .elementor-widget-wrap,
.elementor-section.grid-4 .elementor-widget-wrap,
.elementor-section.lead-grid .elementor-widget-wrap,
.elementor-section.contact-grid .elementor-widget-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.elementor-section.svc-grid .elementor-widget-html,
.elementor-section.proj-grid .elementor-widget-html,
.elementor-section.cat-grid .elementor-widget-html,
.elementor-section.grid-2 .elementor-widget-html,
.elementor-section.grid-3 .elementor-widget-html,
.elementor-section.grid-4 .elementor-widget-html,
.elementor-section.lead-grid .elementor-widget-html,
.elementor-section.contact-grid .elementor-widget-html { flex: 1; display: flex; }
.elementor-section.svc-grid .elementor-widget-html > div,
.elementor-section.proj-grid .elementor-widget-html > div,
.elementor-section.cat-grid .elementor-widget-html > div,
.elementor-section.grid-2 .elementor-widget-html > div,
.elementor-section.grid-3 .elementor-widget-html > div,
.elementor-section.grid-4 .elementor-widget-html > div,
.elementor-section.lead-grid .elementor-widget-html > div,
.elementor-section.contact-grid .elementor-widget-html > div { width: 100%; }

/* --- 13. Gallery strip: 6 across, wrapping on small screens --- */
.elementor-section.gallery-strip .elementor-column { display: flex; }
.elementor-section.gallery-strip .elementor-widget-html { flex: 1; display: flex; }
.elementor-section.gallery-strip .elementor-widget-html > figure { width: 100%; }

/* --- 14. Service rows: full-width rows, not columns --- */
.elementor-section.svc-rows .elementor-column { width: 100% !important; }
.elementor-section.svc-rows .elementor-widget-html { width: 100%; }

/* --- 15. Item list (quote form): full-width rows --- */
.elementor-section.item-list .elementor-column,
.elementor-section.item-group .elementor-column { width: 100% !important; }

/* --- 16. Elementor's own widget spacing must not break the theme rhythm --- */
.elementor-widget:not(:last-child) { margin-bottom: 0; }
.elementor-element .elementor-widget-container { overflow: visible; }

/* --- 17. Keep the theme's own .wrap working if a page still uses it --- */
.elementor-section .wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* --- 18. Elementor's heading widget sets its own font-family; the design
        system's condensed display face must win. --- */
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-heading .elementor-heading-title a {
  font-family: var(--display) !important;
  font-weight: 800;
  line-height: .94;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--text);
}
.elementor-widget-heading h1.elementor-heading-title { font-size: clamp(2.9rem, 7vw, 5.6rem); font-weight: 900; }
.elementor-widget-heading h2.elementor-heading-title { font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 800; }
.elementor-widget-heading h3.elementor-heading-title { font-size: clamp(1.35rem, 2.1vw, 1.85rem); font-weight: 700; line-height: 1.02; }
.elementor-widget-heading h4.elementor-heading-title { font-size: 1.15rem; font-weight: 700; letter-spacing: .02em; }
.elementor-widget-heading h5.elementor-heading-title { font-size: .95rem; font-weight: 700; letter-spacing: .04em; }

/* Kicker eyebrows keep the sans face, not the display face */
.elementor-widget-heading .kicker,
.elementor-widget-heading .kicker .elementor-heading-title {
  font-family: var(--sans) !important;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--purple);
  line-height: 1.4;
}
.elementor-widget-heading .kicker.on-dark { color: var(--yellow); }

/* Headings inside dark / purple bands must be white */
.elementor-section.dark .elementor-widget-heading .elementor-heading-title,
.elementor-section.purple .elementor-widget-heading .elementor-heading-title { color: #fff; }
.elementor-section.dark .elementor-widget-heading .kicker,
.elementor-section.purple .elementor-widget-heading .kicker { color: var(--yellow); }

/* Hero headline: white, with the yellow emphasis line */
.elementor-section.hero .elementor-widget-heading .elementor-heading-title { color: #fff; }
.elementor-section.hero .elementor-widget-heading .elementor-heading-title em {
  font-style: normal; color: var(--yellow); display: block;
}
.elementor-section.page-hero .elementor-widget-heading .elementor-heading-title { color: #fff; }

/* --- 19. Text-editor widget: keep the body face and colour --- */
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-widget-text-editor li {
  font-family: var(--sans);
  color: var(--body);
}
.elementor-section.dark .elementor-widget-text-editor,
.elementor-section.dark .elementor-widget-text-editor p { color: #b9b7b0; }
.elementor-section.purple .elementor-widget-text-editor,
.elementor-section.purple .elementor-widget-text-editor p { color: #e0d3ee; }
.elementor-section.hero .elementor-widget-text-editor,
.elementor-section.hero .elementor-widget-text-editor p { color: #cfcdc6; }
.elementor-section.page-hero .elementor-widget-text-editor,
.elementor-section.page-hero .elementor-widget-text-editor p { color: #cfcdc6; }

/* --- 20. Button widget: render the theme's .btn look --- */
.elementor-widget-button .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  background: var(--purple);
  color: #fff;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.elementor-widget-button .elementor-button:hover { background: var(--purple-deep); color: #fff; }
.elementor-widget-button .btn-yellow .elementor-button,
.elementor-widget-button .elementor-button.btn-yellow { background: var(--yellow); color: var(--ink); }
.elementor-widget-button .btn-yellow .elementor-button:hover { background: var(--yellow-deep); color: var(--ink); }
.elementor-widget-button .btn-outline .elementor-button,
.elementor-widget-button .elementor-button.btn-outline {
  background: transparent; color: var(--text); border-color: var(--line-strong);
}
.elementor-widget-button .btn-outline .elementor-button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.elementor-widget-button .btn-ghost .elementor-button,
.elementor-widget-button .elementor-button.btn-ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.35);
}
.elementor-widget-button .btn-ghost .elementor-button:hover { background: #fff; color: var(--ink); }
.elementor-widget-button .btn-dark .elementor-button { background: var(--ink); color: #fff; }
.elementor-widget-button .btn-sm .elementor-button { padding: 11px 18px; font-size: .72rem; }

/* --- 21. Icon list widget: the theme's ticked feature list --- */
.elementor-widget-icon-list .elementor-icon-list-item { align-items: flex-start; }
.elementor-widget-icon-list .elementor-icon-list-icon i {
  background: var(--purple-soft); color: var(--purple);
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem;
}
.elementor-section.dark .elementor-widget-icon-list .elementor-icon-list-icon i {
  background: rgba(255,208,46,.16); color: var(--yellow);
}
.elementor-widget-icon-list .elementor-icon-list-text {
  font-family: var(--sans); font-size: .98rem; font-weight: 700; color: var(--text);
}
.elementor-widget-icon-list .elementor-icon-list-item .elementor-icon-list-text + * { color: var(--muted); }
.elementor-section.dark .elementor-widget-icon-list .elementor-icon-list-text { color: #fff; }

/* --- 22. Image widget: no Elementor caption chrome --- */
.elementor-widget-image .elementor-image { width: 100%; }
.elementor-widget-image figcaption { display: none; }

/* ============================================================
   MOBILE — Elementor sections must follow the same phone rhythm
   as the static build (52px section padding, 18px gutter,
   smaller display headings, single-column stacks).
   ============================================================ */
@media (max-width: 900px) {
  .elementor-section > .elementor-container { padding-left: 20px; padding-right: 20px; }
  .elementor-section.hero > .elementor-container,
  .elementor-section.page-hero > .elementor-container,
  .elementor-section.stats-strip > .elementor-container,
  .elementor-section.spec-strip > .elementor-container { padding-left: 20px; padding-right: 20px; }

  /* Stats / spec strips: 2-up, dividers only on the right-hand cell */
  .elementor-section.stats-strip > .elementor-container > .elementor-column,
  .elementor-section.spec-strip > .elementor-container > .elementor-column {
    width: 50% !important;
    border-left: 0;
  }
  .elementor-section.stats-strip > .elementor-container > .elementor-column:nth-child(even),
  .elementor-section.spec-strip > .elementor-container > .elementor-column:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, .1);
  }
  .elementor-section.stats-strip .elementor-widget-wrap,
  .elementor-section.spec-strip .elementor-widget-wrap { padding: 26px 16px; }
  .elementor-section.stats-strip > .elementor-container > .elementor-column:nth-child(odd) .elementor-widget-wrap,
  .elementor-section.spec-strip > .elementor-container > .elementor-column:nth-child(odd) .elementor-widget-wrap {
    padding-left: 0;
  }

  /* Hero inner: single column */
  .elementor-section.hero-inner { padding: 52px 0 44px; }
  .elementor-section.hero-inner > .elementor-container { align-items: flex-start; }

  /* Section head row: stack */
  .elementor-section.section-head-row > .elementor-container { align-items: flex-start; }
  .elementor-section.section-head-row .elementor-column:last-child .elementor-widget-wrap {
    justify-content: flex-start;
    align-items: flex-start;
  }

  /* Display headings scale down */
  .elementor-widget-heading h1.elementor-heading-title { font-size: clamp(2.35rem, 10.5vw, 3.1rem); }
  .elementor-widget-heading h2.elementor-heading-title { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .elementor-widget-heading h3.elementor-heading-title { font-size: clamp(1.25rem, 5.4vw, 1.5rem); }
  .elementor-widget-heading h4.elementor-heading-title { font-size: 1.02rem; }

  /* Buttons: comfortable tap height */
  .elementor-widget-button .elementor-button { min-height: 48px; padding: 14px 22px; font-size: .74rem; }
}

@media (max-width: 640px) {
  .elementor-section > .elementor-container { padding-left: 18px; padding-right: 18px; }
  .elementor-section.hero > .elementor-container,
  .elementor-section.page-hero > .elementor-container,
  .elementor-section.stats-strip > .elementor-container,
  .elementor-section.spec-strip > .elementor-container { padding-left: 18px; padding-right: 18px; }

  .elementor-section.section { padding: 52px 0; }
  .elementor-section.section.tight { padding: 40px 0; }
  .elementor-section.hero-inner { padding: 44px 0 38px; }

  /* Every column goes full width on a phone */
  .elementor-section .elementor-column { width: 100% !important; }
  .elementor-section.stats-strip > .elementor-container > .elementor-column,
  .elementor-section.spec-strip > .elementor-container > .elementor-column { width: 50% !important; }

  /* Gallery: 2-up */
  .elementor-section.gallery-strip .elementor-column { width: 50% !important; }

  /* Buttons full width in action rows */
  .elementor-section.hero-actions .elementor-column,
  .elementor-section.cta-actions .elementor-column { width: 100% !important; }
  .elementor-widget-button .elementor-button { width: 100%; justify-content: center; }
}

/* ============================================================
   MOBILE OVERFLOW GUARD
   Elementor inner sections carry their own padding, which can push
   content past the viewport on a narrow phone. Neutralise it and
   let long strings wrap.
   ============================================================ */
@media (max-width: 900px) {
  /* Inner sections inherit the outer gutter only */
  .elementor-section .elementor-inner-section > .elementor-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .elementor-section .elementor-inner-section { padding-left: 0; padding-right: 0; }

  /* Columns and widget wraps may shrink */
  .elementor-column, .elementor-widget-wrap, .elementor-widget,
  .elementor-widget-container { min-width: 0; max-width: 100%; }

  /* Long words, emails and URLs wrap instead of pushing the page wide */
  .elementor-widget-text-editor, .elementor-widget-text-editor p,
  .elementor-widget-text-editor a, .elementor-widget-text-editor li,
  .elementor-widget-heading .elementor-heading-title {
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .elementor-widget-text-editor a[href^="mailto:"] { overflow-wrap: anywhere; }

  /* Tables inside HTML widgets scroll rather than overflow the page */
  .elementor-widget-html .spec-table-wrap { max-width: 100%; overflow-x: auto; }
  .elementor-widget-html table { max-width: 100%; }

  /* Images never exceed their column */
  .elementor-widget-image img, .elementor-widget-html img { max-width: 100%; height: auto; }
}

@media (max-width: 640px) {
  /* Belt and braces: nothing may create a horizontal scrollbar */
  .elementor, .elementor-section, .elementor-container { max-width: 100%; }
  .elementor-widget-html { overflow-x: clip; }
}

/* ============================================================
   WIDGET WIDTH FIX
   Elementor's widget-wrap is a flex row, so a widget with
   flex:0 1 auto shrinks to its content width — which made the
   contact grid (and its email links) only ~200px wide on a phone.
   Force widgets to fill their column.
   ============================================================ */
@media (max-width: 900px) {
  .elementor-widget-wrap > .elementor-widget {
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
  }
  .elementor-widget-wrap > .elementor-widget > .elementor-widget-container {
    width: 100%;
  }
  /* Grids inside HTML widgets fill the column */
  .elementor-widget-html .contact-grid,
  .elementor-widget-html .grid-2,
  .elementor-widget-html .grid-3,
  .elementor-widget-html .grid-4,
  .elementor-widget-html .svc-grid,
  .elementor-widget-html .proj-grid,
  .elementor-widget-html .lead-grid,
  .elementor-widget-html .cat-grid,
  .elementor-widget-html .std-grid,
  .elementor-widget-html .gallery-strip { width: 100%; }
}

/* Elementor's per-element CSS sets an explicit width on widgets, which
   beats a plain width:100%. Force the widget to fill its column. */
@media (max-width: 900px) {
  .elementor-widget-wrap > .elementor-widget {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }
  .elementor-widget-wrap > .elementor-widget > .elementor-widget-container {
    width: 100% !important;
  }
}

/* ============================================================
   COLUMN PADDING ON PHONES
   Elementor's per-element CSS gives columns 76px of side padding,
   which on a 390px screen leaves only ~200px of content — that is
   what squeezed the contact cards and cut the email address off.
   Cap it so content gets the full width.
   ============================================================ */
@media (max-width: 900px) {
  .elementor-section .elementor-column > .elementor-widget-wrap.elementor-element-populated {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* Keep a little vertical rhythm from the original padding */
  .elementor-section .elementor-column > .elementor-widget-wrap.elementor-element-populated {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  /* Inner sections: no extra inset either */
  .elementor-inner-section .elementor-column > .elementor-widget-wrap.elementor-element-populated {
    padding: 0 !important;
  }
  /* Restore breathing room between stacked widgets */
  .elementor-widget-wrap > .elementor-widget + .elementor-widget { margin-top: 18px; }
}

/* ============================================================
   WIDGET WRAP MUST WRAP
   Elementor's widget-wrap is a flex row. With several widgets in
   one column they sat side by side and pushed the page to 726px.
   ============================================================ */
@media (max-width: 900px) {
  .elementor-widget-wrap {
    flex-wrap: wrap !important;
    align-content: flex-start;
  }
  .elementor-widget-wrap > .elementor-widget {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ============================================================
   THE REAL CAUSE OF THE 726px PAGE WIDTH
   Elementor's widget-wrap computes to `flex-direction: column`
   PLUS `flex-wrap: wrap`. A wrapping column container puts extra
   items into NEW COLUMNS beside the first — so every second widget
   landed 354px to the right of the viewport. Column direction must
   never wrap; stack instead.
   ============================================================ */
@media (max-width: 900px) {
  .elementor-widget-wrap {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }
  .elementor-widget-wrap > .elementor-widget {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ============================================================
   LAYOUT-CLASS LEAK GUARD
   The theme's own layout classes (.svc-row, .section-head-row,
   .gallery-strip, …) were written for hand-built markup. When the
   converter also put them on Elementor COLUMNS, their grid rules
   fought Elementor's own layout and squashed the service list into
   two 56px/268px tracks. Elementor owns layout here — strip the
   theme's layout behaviour from any Elementor node.
   ============================================================ */
.elementor-column.svc-row,
.elementor-column.section-head-row,
.elementor-column.split,
.elementor-column.quote-layout,
.elementor-column.contact-grid,
.elementor-column.footer-grid,
.elementor-column.gallery-strip,
.elementor-column.hero-inner,
.elementor-column.svc-grid,
.elementor-column.proj-grid,
.elementor-column.range-grid,
.elementor-column.cat-grid,
.elementor-column.std-grid,
.elementor-column.lead-grid,
.elementor-column.grid-2,
.elementor-column.grid-3,
.elementor-column.grid-4,
.elementor-column.section-head {
  display: flex !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  gap: normal !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}

@media (max-width: 900px) {
  .elementor-column.svc-row > .elementor-widget-wrap,
  .elementor-column.section-head-row > .elementor-widget-wrap,
  .elementor-column.split > .elementor-widget-wrap,
  .elementor-column.section-head > .elementor-widget-wrap {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }
}

/* ============================================================
   SECTION COLOUR INHERITANCE FOR ELEMENTOR WIDGETS
   Elementor's own heading/text CSS sets an explicit colour with
   higher specificity than the theme's `.cta h2 { color:#fff }`,
   so headings on dark, purple and yellow bands rendered near-black
   and were almost invisible. Re-assert the palette per band.
   ============================================================ */
/* Dark bands */
.section.dark .elementor-widget-heading .elementor-heading-title,
.section.dark .elementor-widget-text-editor,
.section.dark .elementor-widget-text-editor p,
.hero .elementor-widget-heading .elementor-heading-title,
.hero .elementor-widget-text-editor,
.hero .elementor-widget-text-editor p {
  color: #fff;
}
.section.dark .elementor-widget-text-editor a,
.hero .elementor-widget-text-editor a { color: var(--yellow); }

/* Purple CTA bands */
.cta .elementor-widget-heading .elementor-heading-title,
.section.purple .elementor-widget-heading .elementor-heading-title,
.cta .elementor-widget-text-editor,
.cta .elementor-widget-text-editor p,
.section.purple .elementor-widget-text-editor,
.section.purple .elementor-widget-text-editor p {
  color: #fff;
}
.cta .elementor-widget-text-editor a,
.section.purple .elementor-widget-text-editor a { color: var(--yellow); }
.cta .kicker, .section.purple .kicker { color: rgba(255, 255, 255, .72); }

/* Yellow band */
.band-yellow .elementor-widget-heading .elementor-heading-title,
.band-yellow .elementor-widget-text-editor,
.band-yellow .elementor-widget-text-editor p { color: var(--ink); }

/* Stats strip */
.stats-strip .elementor-widget-heading .elementor-heading-title,
.stats-strip .elementor-widget-text-editor,
.stats-strip .elementor-widget-text-editor p { color: #fff; }

/* ============================================================
   PHONE-NUMBER SEPARATOR
   The contact cards list two numbers as "a / b". On a phone the
   two links stack, leaving the " / " stranded on its own line.
   Hide it once they stack.
   ============================================================ */
@media (max-width: 900px) {
  .tel-sep { display: none !important; }
}
