/* Level 5 Drywall Finish — ported from original static site (1:1).
   Background image url()s repointed to theme img/ folder; image-panel
   widgets may override these with inline styles set in Elementor. */
:root {
  --ink: #101722;
  --ink-soft: #263142;
  --paper: #f6f7f8;
  --white: #ffffff;
  --line: #d7dce3;
  --blue: #315f9f;
  --blue-bright: #6ea0dc;
  --cta: #f3c735;
  --cta-hover: #ffd95a;
  --muted: #6b7583;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

.site-header { height: 84px; padding: 0 clamp(24px, 4.4vw, 72px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 36px; background: rgba(246,247,248,.96); border-bottom: 1px solid rgba(16,23,34,.12); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px); }
.brand { display: inline-flex; width: max-content; line-height: 1; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; }
.brand-lockup > span:last-child { display: flex; flex-direction: column; }
.level-mark { position: relative; width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--blue); color: var(--ink); font-family: "Manrope", sans-serif; overflow: hidden; }
.level-mark::before { content: ""; position: absolute; width: 52px; height: 1px; background: var(--blue); transform: rotate(-45deg); }
.level-mark b { position: absolute; left: 4px; top: 4px; font-size: .66rem; line-height: 1; letter-spacing: -.05em; }
.level-mark i { position: absolute; right: 5px; bottom: 3px; color: var(--blue); font-size: .67rem; font-style: normal; font-weight: 700; }
.brand-primary { font: 600 1.03rem/1 "Manrope", sans-serif; letter-spacing: .17em; white-space: nowrap; }
.brand-primary b { color: var(--blue); font-weight: 600; }
.brand-secondary { margin-top: 7px; font-size: .68rem; letter-spacing: .08em; color: var(--muted); }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: .85rem; color: var(--ink-soft); }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: var(--blue); transition: right .25s; }
.desktop-nav a:hover::after { right: 0; }
.header-cta { justify-self: end; border: 0; padding: 14px 19px; background: var(--cta); color: #111722; font-size: .79rem; font-weight: 600; letter-spacing: .02em; box-shadow: 0 8px 24px rgba(16,23,34,.16); transition: background .2s, transform .2s; }
.header-cta:hover { background: var(--cta-hover); transform: translateY(-1px); }
.header-cta span { margin-left: 9px; }
.menu-button, .mobile-nav { display: none; }

.hero { min-height: calc(100svh - 84px); position: relative; display: flex; align-items: flex-end; overflow: hidden; background: #1c2734; }
.hero-image { position: absolute; inset: 0; background-image: linear-gradient(110deg, rgba(16,23,34,.08), rgba(16,23,34,.02)), url("img/hero-wide.webp"); background-size: cover; background-position: center 38%; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,12,20,.76) 0%, rgba(6,12,20,.38) 44%, rgba(6,12,20,.04) 75%), linear-gradient(0deg, rgba(6,12,20,.38), transparent 45%); }
.hero-content { position: relative; z-index: 2; color: white; width: min(850px, 87%); padding: 0 0 clamp(72px, 10vh, 120px) clamp(24px, 7vw, 112px); }
.eyebrow { margin: 0 0 24px; font: 500 .72rem/1.2 "Manrope", sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.eyebrow.light { color: #d6e6f8; }
.hero h1 { margin: 0; font: 400 clamp(4.1rem, 8.5vw, 8.7rem)/.9 "Manrope", sans-serif; letter-spacing: -.065em; }
.hero-copy { max-width: 600px; margin: 34px 0 0; font-size: clamp(1.04rem, 1.6vw, 1.32rem); line-height: 1.55; color: rgba(255,255,255,.8); }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.button { border: 1px solid transparent; padding: 17px 23px; min-height: 54px; font-weight: 600; font-size: .86rem; letter-spacing: .025em; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; display: inline-flex; align-items: center; justify-content: center; }
.button-accent { background: var(--cta); color: #111722; box-shadow: 0 12px 34px rgba(8,15,25,.24); }
.button-accent:hover { background: var(--cta-hover); transform: translateY(-2px); box-shadow: 0 16px 38px rgba(8,15,25,.3); }
.button-accent span { margin-left: 12px; }
.button-light { background: white; color: var(--ink); }
.button-light:hover { background: #dce8f5; }
.button-dark { background: var(--ink); color: white; }
.button-outline { background: transparent; color: white; border-color: rgba(255,255,255,.5); }
.button-outline:hover { background: white; color: var(--ink); }
.text-link { display: inline-block; font-size: .84rem; font-weight: 500; border-bottom: 1px solid rgba(16,23,34,.3); padding-bottom: 4px; }
.text-link.light { border-color: rgba(255,255,255,.45); color: #fff; }
.text-link span { margin-left: 10px; }
.hero-index { position: absolute; right: clamp(24px,4vw,64px); bottom: 38px; z-index: 2; color: rgba(255,255,255,.55); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }

.trust-strip { max-width: var(--max); margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); }
.trust-strip > div { padding: 27px clamp(18px, 2.2vw, 34px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip span, .trust-strip strong { display: block; }
.trust-strip span { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .61rem; }
.trust-strip strong { margin-top: 7px; font: 500 .94rem/1.3 "Manrope", sans-serif; }

.section { padding: clamp(88px, 11vw, 168px) clamp(24px, 6vw, 96px); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-label { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(55px, 7vw, 95px); color: var(--muted); font-size: .67rem; letter-spacing: .16em; text-transform: uppercase; }
.section-label span { color: var(--blue); }
.section-label::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.light-label { color: rgba(255,255,255,.55); }
.light-label::after { background: rgba(255,255,255,.2); }
.light-label span { color: var(--blue-bright); }
h2 { margin: 0; font: 400 clamp(2.8rem, 5.4vw, 5.6rem)/1.02 "Manrope", sans-serif; letter-spacing: -.055em; }
h2 em { color: var(--blue); font-style: normal; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: clamp(50px, 9vw, 145px); align-items: start; }
.intro-copy { padding-top: 10px; color: var(--ink-soft); }
.intro-copy p { margin: 0 0 24px; font-size: 1.05rem; }
.comparison { margin-top: 92px; border-top: 1px solid var(--ink); }
.comparison-row { display: grid; grid-template-columns: .7fr 1.3fr 1.4fr; border-bottom: 1px solid var(--line); }
.comparison-row > div { padding: 28px 24px 28px 0; }
.comparison-row > div + div { border-left: 1px solid var(--line); padding-left: 32px; }
.comparison-head { color: var(--muted); font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; }
.comparison-head > div { padding-top: 17px; padding-bottom: 17px; }
.comparison-row strong, .comparison-row span { display: block; }
.comparison-row strong { font: 500 1.45rem/1.2 "Manrope", sans-serif; }
.comparison-row span { margin-top: 4px; color: var(--muted); font-size: .78rem; }
.comparison-row.active { background: #edf2f8; }
.technical-note { max-width: 760px; margin-top: 32px; margin-right: 0; font-size: .78rem; color: var(--muted); }
.technical-note span { color: var(--blue); margin-right: 12px; text-transform: uppercase; letter-spacing: .08em; font-size: .65rem; }

.projects { background: white; }
.projects-heading { display: grid; grid-template-columns: 1fr .48fr; gap: 80px; align-items: end; }
.projects-heading p { color: var(--muted); margin: 0 0 8px; }
.project-gallery { margin-top: 78px; display: grid; grid-template-columns: 1fr 1fr; gap: 54px 28px; }
.project-card.wide { grid-column: 1 / -1; width: 100%; margin-left: 0; }
.before-after { --position: 50%; position: relative; overflow: hidden; aspect-ratio: 4 / 4.2; background: #dfe3e8; }
.before-after.landscape { aspect-ratio: 1.55 / 1; }
.before-after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; pointer-events: none; }
.image-after-wrap { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 calc(100% - var(--position)) 0 0); }
.image-after { width: 100% !important; }
.comparison-slider { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.slider-line { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--position); width: 1px; background: white; transform: translateX(-50%); }
.slider-handle { position: absolute; z-index: 3; left: var(--position); top: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: white; display: grid; place-items: center; color: var(--ink); box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.before-label, .after-label { position: absolute; z-index: 2; bottom: 14px; padding: 5px 8px; background: rgba(16,23,34,.76); color: white; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.before-label { right: 14px; }
.after-label { left: 14px; }
.project-caption { display: flex; justify-content: space-between; gap: 30px; padding-top: 17px; border-top: 1px solid var(--ink); }
.project-caption h3 { margin: 0; font: 500 1rem/1.3 "Manrope",sans-serif; }
.project-caption p { margin: 0; color: var(--muted); font-size: .72rem; text-align: right; }
.commercial-scope { margin-top: clamp(90px, 10vw, 160px); padding-top: 34px; border-top: 1px solid var(--ink); }
.commercial-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 7vw; align-items: start; }
.commercial-intro .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.commercial-intro h3 { max-width: 650px; margin: 0; font: 400 clamp(2.5rem, 5vw, 5rem)/1.05 "Manrope", sans-serif; letter-spacing: -.055em; }
.commercial-intro > p:last-child { max-width: 480px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.visualization-note { margin: 56px 0 16px; max-width: 780px; color: var(--muted); font-size: .88rem; }
.commercial-visuals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.commercial-visual { aspect-ratio: 1; }
.commercial-visual .image-before, .commercial-visual .image-after { width: 200% !important; max-width: none; object-fit: fill; }
.commercial-visual .image-after { transform: translateX(-50%); }
.commercial-visuals .project-caption h4 { margin: 0; font: 500 1rem/1.3 "Manrope", sans-serif; }
.commercial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 65px; }
.commercial-grid article { min-height: 275px; padding: 22px 0 30px; border-top: 1px solid var(--line); }
.commercial-grid span { color: var(--blue); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.commercial-grid h4 { margin: 48px 0 12px; font: 500 1.45rem/1.2 "Manrope", sans-serif; letter-spacing: -.035em; }
.commercial-grid p { max-width: 360px; margin: 0; color: var(--muted); }

.dark { background: var(--ink); color: white; }
.applications-head { display: grid; grid-template-columns: 1fr .55fr; gap: 70px; align-items: end; }
.applications-head p { max-width: 460px; margin: 0 0 10px; color: rgba(255,255,255,.62); font-size: 1.05rem; }
.application-cards { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 85px; border-top: 1px solid rgba(255,255,255,.25); }
.application-cards article { min-height: 420px; padding: 35px 34px 36px 0; display: flex; flex-direction: column; }
.application-cards article + article { border-left: 1px solid rgba(255,255,255,.2); padding-left: 34px; }
.card-number { color: var(--blue-bright); font-size: .68rem; letter-spacing: .1em; }
.application-cards h3 { margin: 62px 0 18px; font: 400 2rem/1.1 "Manrope", sans-serif; letter-spacing: -.035em; }
.application-cards p { color: rgba(255,255,255,.66); }
.application-cards ul { list-style: none; padding: 0; margin: auto 0 0; color: rgba(255,255,255,.8); font-size: .81rem; }
.application-cards li { border-top: 1px solid rgba(255,255,255,.15); padding: 9px 0; }

.process-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 8vw, 120px); align-items: stretch; }
.process-image { min-height: 760px; background: #d8dde2 url("img/project-2-after.webp") center/cover no-repeat; }
.process-content h2 { margin-bottom: 58px; }
.steps article { display: grid; grid-template-columns: 42px 1fr; gap: 22px; padding: 25px 0; border-top: 1px solid var(--line); }
.steps article > span { color: var(--blue); font-size: .68rem; letter-spacing: .12em; }
.steps h3 { margin: 0 0 9px; font: 500 1.15rem/1.2 "Manrope", sans-serif; }
.steps p { margin: 0; color: var(--muted); max-width: 520px; }

.proof { padding-top: 0; padding-bottom: 0; display: grid; grid-template-columns: 1fr 1fr; max-width: none; background: var(--ink); }
.proof > * { max-width: none; margin: 0; }
.proof-image { min-height: 780px; background: #cdd3d9 url("img/project-3-after.webp") center/cover no-repeat; }
.proof-panel { padding: clamp(70px, 8vw, 125px); color: white; display: flex; flex-direction: column; justify-content: center; }
.proof-panel .section-label { width: 100%; margin-bottom: 64px; }
.proof-panel h2 { font-size: clamp(2.8rem, 4.8vw, 5rem); }
.proof-panel > p { margin: 32px 0 36px; max-width: 560px; color: rgba(255,255,255,.66); }
.fit-list { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.fit-list span { border: 1px solid rgba(255,255,255,.24); padding: 9px 12px; font-size: .74rem; }
.proof-panel .button { align-self: flex-start; }

.partnership-grid { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(60px, 10vw, 160px); }
.partnership-copy > p { margin: 4px 0 54px; color: var(--ink-soft); font-size: 1.06rem; }
.deliverables { border-top: 1px solid var(--ink); }
.deliverables div { display: grid; grid-template-columns: 38px 1fr; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.deliverables span { color: var(--blue); font-size: .66rem; }
.partnership-cta { margin-top: 34px; }
.systems-strip { margin-top: 82px; padding: 30px 0 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: .65fr 1.35fr; gap: 18px 60px; align-items: center; }
.systems-strip p { margin: 0; color: var(--muted); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.systems-strip > div { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.systems-strip > div span { font: 600 clamp(.9rem, 1.45vw, 1.25rem)/1 "Manrope", sans-serif; letter-spacing: .07em; color: var(--ink-soft); }
.systems-strip small { grid-column: 2; color: var(--muted); font-size: .68rem; line-height: 1.5; }

.reputation { background: white; }
.reputation-grid { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(70px, 10vw, 160px); }
.reputation-signature { display: inline-flex; flex-direction: column; width: max-content; margin-bottom: 40px; padding: 13px 17px; border-left: 2px solid var(--blue); background: #edf2f8; }
.reputation-signature span { color: var(--muted); font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; }
.reputation-signature strong { margin-top: 3px; font: 600 .95rem/1.3 "Manrope", sans-serif; }
.reputation-intro h2 { font-size: clamp(2.8rem, 4.8vw, 5rem); }
.reputation-intro > p:not(.eyebrow) { max-width: 660px; color: var(--muted); margin: 30px 0; }
.review-stack { border-top: 1px solid var(--ink); }
.review-stack article { padding: 28px 0; border-bottom: 1px solid var(--line); }
.stars { color: #c68c00; letter-spacing: .11em; font-size: .75rem; }
.review-stack blockquote { margin: 18px 0 24px; font: 400 clamp(1.55rem, 2.5vw, 2.35rem)/1.25 "Manrope",sans-serif; letter-spacing: -.035em; }
.review-stack article > p { margin: 0; color: var(--muted); font-size: .73rem; }
.rating-card { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; }
.rating-card strong { font: 400 4rem/1 "Manrope",sans-serif; color: var(--blue); }
.rating-card span { color: var(--muted); font-size: .8rem; }
.rating-card a { grid-column: 1 / -1; margin-top: 16px; font-size: .78rem; }

.faq { background: #edf0f3; }
.faq-grid { display: grid; grid-template-columns: .65fr 1fr; gap: clamp(60px, 10vw, 160px); }
.accordion { border-top: 1px solid var(--ink); }
.accordion details { border-bottom: 1px solid #cbd1d8; }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 23px 0; font: 500 1rem/1.4 "Manrope", sans-serif; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { font-size: 1.3rem; font-weight: 400; transition: transform .2s; }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion p { margin: -4px 50px 25px 0; color: var(--muted); }

.closing { min-height: 720px; padding: 110px 24px 42px; background: linear-gradient(130deg, rgba(22,38,58,.92), rgba(16,23,34,.97)), url("img/project-1-after.webp") center/cover; color: white; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.closing h2 { font-size: clamp(3.6rem, 7vw, 7.3rem); }
.closing > p:not(.eyebrow) { color: rgba(255,255,255,.7); font-size: 1.05rem; }
.closing .button { margin-top: 25px; }
.service-area { margin-top: auto; padding-top: 80px; color: rgba(255,255,255,.5); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }

.site-footer { padding: 58px clamp(24px, 5vw, 80px) 26px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 50px; background: white; }
.footer-copy { color: var(--muted); font-size: .78rem; }
.footer-copy p { margin: 0 0 4px; }
.footer-links { justify-self: end; display: flex; flex-direction: column; gap: 8px; font-size: .79rem; }
.copyright { grid-column: 1 / -1; margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .67rem; }

.project-dialog { width: min(880px, calc(100% - 32px)); max-height: calc(100svh - 32px); border: 0; padding: 0; background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.project-dialog::backdrop { background: rgba(8,13,20,.76); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; right: 20px; top: 15px; border: 0; background: transparent; font-size: 1.8rem; color: var(--muted); z-index: 2; }
.dialog-intro { padding: 50px 55px 38px; background: var(--ink); color: white; }
.dialog-intro h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.dialog-intro > p:last-child { max-width: 600px; color: rgba(255,255,255,.65); }
.project-dialog form { padding: 40px 55px 50px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.project-dialog label { display: block; margin-bottom: 20px; color: var(--muted); font-size: .74rem; letter-spacing: .04em; }
.project-dialog input, .project-dialog select, .project-dialog textarea { display: block; width: 100%; margin-top: 7px; border: 1px solid #cbd1d9; border-radius: 0; padding: 13px 14px; background: white; color: var(--ink); font-size: .94rem; outline: none; }
.project-dialog input:focus, .project-dialog select:focus, .project-dialog textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(49,95,159,.12); }
.project-dialog textarea { resize: vertical; }
.form-note { color: var(--muted); font-size: .72rem; }
.form-success { display: none; margin-top: 18px; color: var(--blue); font-size: .85rem; }
.is-submitted .form-success { display: block; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; height: 72px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-button { display: flex; width: 42px; height: 42px; border: 0; background: transparent; flex-direction: column; justify-content: center; gap: 7px; padding: 9px; }
  .menu-button span { display: block; height: 1px; background: var(--ink); width: 100%; }
  .mobile-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 24px; flex-direction: column; gap: 20px; font-size: 1rem; }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav button { border: 0; background: var(--cta); color: var(--ink); padding: 14px; font-weight: 600; text-align: left; }
  .hero { min-height: calc(100svh - 72px); }
  .hero-content { padding-left: 24px; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .intro-grid, .applications-head, .process-layout, .partnership-grid, .reputation-grid, .faq-grid, .projects-heading { grid-template-columns: 1fr; }
  .project-card.wide { width: 100%; }
  .commercial-intro { grid-template-columns: 1fr; }
  .commercial-grid { gap: 18px; }
  .systems-strip { grid-template-columns: 1fr; }
  .systems-strip small { grid-column: 1; }
  .comparison-row { grid-template-columns: .55fr 1fr 1fr; }
  .application-cards { grid-template-columns: 1fr; }
  .application-cards article { min-height: 330px; }
  .application-cards article + article { border-left: 0; border-top: 1px solid rgba(255,255,255,.2); padding-left: 0; }
  .process-image { min-height: 600px; }
  .proof { grid-template-columns: 1fr; }
  .proof-image { min-height: 600px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-links { justify-self: start; }
}

@media (max-width: 620px) {
  .site-header { padding: 0 18px; }
  .level-mark { width: 35px; height: 35px; }
  .brand-primary { font-size: .72rem; letter-spacing: .1em; }
  .brand-secondary { font-size: .61rem; }
  .hero-image { background-position: 58% center; }
  .hero h1 { font-size: clamp(3.75rem, 18vw, 5.7rem); }
  .hero-content { width: 100%; padding-right: 24px; padding-bottom: 75px; }
  .hero-copy { font-size: .98rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .hero-index { display: none; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip > div { min-height: 96px; padding: 20px 16px; }
  .section { padding: 86px 22px; }
  .section-label { margin-bottom: 48px; }
  h2 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .intro-grid { gap: 38px; }
  .comparison { margin-top: 58px; }
  .comparison-head { display: none; }
  .comparison-row { grid-template-columns: 1fr; padding: 20px 0; }
  .comparison-row > div, .comparison-row > div + div { padding: 9px 14px; border-left: 0; }
  .applications-head { gap: 30px; }
  .application-cards { margin-top: 52px; }
  .process-image, .proof-image { min-height: 440px; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-card.wide { grid-column: auto; }
  .commercial-grid { grid-template-columns: 1fr; margin-top: 45px; }
  .commercial-visuals { grid-template-columns: 1fr; gap: 42px; }
  .visualization-note { margin-top: 40px; }
  .commercial-grid article { min-height: 0; }
  .commercial-grid h4 { margin-top: 30px; }
  .proof { padding: 0; }
  .proof-panel { padding: 76px 22px; }
  .proof-panel .section-label { margin-bottom: 46px; }
  .faq-grid { gap: 48px; }
  .accordion p { margin-right: 0; }
  .closing { min-height: 670px; padding-left: 22px; padding-right: 22px; }
  .service-area { line-height: 1.8; }
  .site-footer { grid-template-columns: 1fr; gap: 25px; }
  .copyright { margin-top: 10px; }
  .dialog-intro, .project-dialog form { padding-left: 24px; padding-right: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .systems-strip > div { align-items: flex-start; flex-direction: column; gap: 22px; }
}

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

/* Privacy / legal pages are styled entirely via native Elementor controls
   (see deploy/build-privacy.php) so the editor and front end match. Only the
   in-content links get the brand underline treatment here. */
.privacy-policy [data-elementor-type="wp-page"] .elementor-widget-text-editor a { color: var(--blue); border-bottom: 1px solid rgba(49,95,159,.4); }

/* Contact Form 7 inside the assessment dialog — match the bespoke form styling.
   Inputs/selects/textarea already inherit .project-dialog input{...}; here we fix
   the submit button, validation tips and response message. */
.project-dialog .wpcf7-form-control-wrap { display: block; }
.project-dialog .wpcf7-form .wpcf7-submit { width: auto; margin-top: 4px; background: var(--cta); color: #111722; border: 0; border-radius: 0; padding: 15px 22px; font: 600 .86rem/1 "DM Sans", sans-serif; letter-spacing: .025em; box-shadow: 0 12px 34px rgba(8,15,25,.24); cursor: pointer; transition: background .2s, transform .2s; }
.project-dialog .wpcf7-form .wpcf7-submit:hover { background: var(--cta-hover); transform: translateY(-2px); }
.project-dialog .wpcf7-not-valid-tip { color: #b3261e; font-size: .72rem; margin-top: 5px; }
.project-dialog .wpcf7-form .wpcf7-response-output { margin: 18px 0 0 !important; border: 0 !important; border-left: 2px solid var(--blue) !important; background: #eef3f8; padding: 10px 14px !important; font-size: .82rem; color: var(--ink-soft); }
.project-dialog .wpcf7-form.invalid .wpcf7-response-output, .project-dialog .wpcf7-form.unaccepted .wpcf7-response-output, .project-dialog .wpcf7-form.failed .wpcf7-response-output { border-left-color: #b3261e !important; background: #fdecea; color: #7a1c13; }
.project-dialog .wpcf7-spinner { margin: 0 0 0 10px; }

/* ===== Standard-home hero (#l5-hero) — replicates the live home .hero
   exactly on a plain Elementor container: two-layer gradient, calc height,
   clamp type. Photo comes from the Media Library via --l5-hero-img. ===== */
#l5-hero { position: relative; min-height: calc(100svh - 84px); overflow: hidden; background: #1c2734; padding: 0 0 clamp(72px, 10vh, 120px) clamp(24px, 7vw, 112px); }
#l5-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(110deg, rgba(16,23,34,.08), rgba(16,23,34,.02)), var(--l5-hero-img, url("img/hero-wide.webp")); background-size: cover; background-position: center 38%; }
#l5-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6,12,20,.76) 0%, rgba(6,12,20,.38) 44%, rgba(6,12,20,.04) 75%), linear-gradient(0deg, rgba(6,12,20,.38), transparent 45%); }
#l5-hero > * { position: relative; z-index: 2; }
#l5-hero p.elementor-heading-title { color: #d6e6f8; font: 500 .72rem/1.2 "Manrope", sans-serif; letter-spacing: .18em; text-transform: uppercase; }
#l5-hero h1.elementor-heading-title { color: #fff; font: 400 clamp(4.1rem, 8.5vw, 8.7rem)/.9 "Manrope", sans-serif; letter-spacing: -.065em; }
#l5-hero .elementor-widget-text-editor, #l5-hero .elementor-widget-text-editor p { color: rgba(255,255,255,.8); font-size: clamp(1.04rem, 1.6vw, 1.32rem); line-height: 1.55; }

/* ===== FAQ accordion (standard Elementor) restyled to match the original:
   no boxed border (just bottom rules) + a rotating "+" instead of the icon. ===== */
.elementor-widget-accordion.l5-faq .elementor-accordion-item { border: 0; border-bottom: 1px solid #cbd1d8; }
.elementor-widget-accordion.l5-faq .elementor-tab-title { position: relative; background: transparent; padding: 23px 40px 23px 0; }
.elementor-widget-accordion.l5-faq .elementor-tab-content { background: transparent; border: 0 !important; padding: 0 40px 25px 0; }
.elementor-widget-accordion.l5-faq .elementor-tab-content p { margin: 0; }
.elementor-widget-accordion.l5-faq .elementor-accordion-icon { display: none !important; }
.elementor-widget-accordion.l5-faq .elementor-tab-title::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 400 1.3rem/1 "Manrope", sans-serif; color: var(--ink); transition: transform .2s; }
.elementor-widget-accordion.l5-faq .elementor-tab-title.elementor-active::after { transform: translateY(-50%) rotate(45deg); }

/* ===== Reset stray paragraph margins inside built Elementor pages — spacing is
   controlled by each widget's own margin, so the browser default would double it. ===== */
.elementor-widget-text-editor p { margin: 0; }

/* Sticky header with HFE: the theme's .site-header is nested inside HFE's
   #masthead, so sticky on it has no travel room. Make #masthead (a direct child
   of <body>) sticky instead. */
.ehf-header #masthead { position: sticky; top: 0; z-index: 30; }
