:root {
  --ink: #171b22;
  --ink-soft: #252a33;
  --gold: #c9932f;
  --gold-light: #e5bc67;
  --warm: #f4f0e8;
  --paper: #fbfaf7;
  --white: #fff;
  --muted: #676b72;
  --line: #dcd8cf;
  --line-dark: rgba(255,255,255,.16);
  --shadow: 0 24px 70px rgba(20, 22, 27, .12);
  --radius: 2px;
  --wrap: min(1240px, calc(100% - 48px));
  --font: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
[id] { scroll-margin-top: 110px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.narrow { max-width: 820px; }
.section { padding: 120px 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-warm { background: var(--warm); }
.skip-link { position: fixed; z-index: 999; top: 10px; left: 10px; padding: 10px 16px; background: var(--gold); color: var(--ink); transform: translateY(-140%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(3.2rem, 7.2vw, 7.2rem); font-weight: 600; }
h2 { font-size: clamp(2.3rem, 4.5vw, 4.4rem); font-weight: 600; }
h3 { font-size: clamp(1.35rem, 2vw, 2rem); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: #8a6522; font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-light); }
.prose-large, .lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.75; }
.rich-copy p { color: #4f535a; }
.rich-copy .lead { color: var(--ink); font-weight: 500; }
.rich-copy h2 { margin: 2.5em 0 .6em; font-size: 1.55rem; letter-spacing: -.025em; }
.rich-copy h2:first-child { margin-top: 0; }

.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 14px 27px; border: 1px solid var(--gold); border-radius: var(--radius); background: var(--gold); color: #12151a; font-size: .82rem; font-weight: 800; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; transition: background .2s, color .2s, transform .2s; }
.button:hover { background: var(--gold-light); transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 10px 18px; font-size: .72rem; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid var(--gold); color: var(--ink); font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translate(3px, -3px); }
.text-link-light { color: var(--white); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; border-bottom: 1px solid rgba(255,255,255,.2); background: rgba(23,27,34,.98); color: var(--white); box-shadow: 0 8px 30px rgba(0,0,0,.12); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 12px 38px rgba(0,0,0,.2); }
.nav-shell { display: flex; min-height: 92px; align-items: center; gap: 30px; }
.brand { flex: 0 0 auto; padding: 3px 9px; background: var(--white); }
.brand img { width: 128px; height: 68px; object-fit: contain; }
.header-phone { display: inline-flex; align-items: center; color: var(--white); font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--gold-light); }
.primary-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a { position: relative; padding: 33px 0; color: rgba(255,255,255,.82); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.nav-list a::after { content: ""; position: absolute; right: 0; bottom: 24px; left: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-list a.is-active { color: var(--white); }
.subnav-list { position: absolute; z-index: 5; top: calc(100% - 13px); left: -20px; visibility: hidden; min-width: 230px; margin: 0; padding: 9px; border: 1px solid rgba(255,255,255,.14); background: #11151b; box-shadow: 0 20px 45px rgba(0,0,0,.3); opacity: 0; list-style: none; transform: translateY(-7px); transition: opacity .18s, transform .18s, visibility .18s; }
.subnav-list a { display: block; padding: 12px 13px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .72rem; }
.subnav-list li:last-child a { border-bottom: 0; }
.subnav-list a::after { display: none; }
.subnav-list a:hover, .subnav-list a.is-active { background: rgba(201,147,47,.13); color: var(--gold-light); }
.has-subnav:hover .subnav-list, .has-subnav:focus-within .subnav-list { visibility: visible; opacity: 1; transform: translateY(0); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 1px solid rgba(255,255,255,.3); background: transparent; }
.menu-toggle span { display: block; height: 1px; margin: 5px 0; background: white; transition: transform .2s, opacity .2s; }

.hero { position: relative; min-height: 820px; height: 100svh; max-height: 1040px; overflow: hidden; color: var(--white); background: #151a21; }
.hero-media, .hero-media video, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media video { object-fit: cover; }
.hero-shade { background: linear-gradient(rgba(190,119,33,.08), rgba(190,119,33,.08)), linear-gradient(90deg, rgba(10,13,18,.88) 0%, rgba(10,13,18,.64) 50%, rgba(10,13,18,.18) 100%), linear-gradient(0deg, rgba(10,13,18,.7) 0%, transparent 42%); }
.hero-content { position: relative; z-index: 2; display: flex; height: 100%; flex-direction: column; justify-content: flex-start; padding-top: clamp(165px,20svh,220px); padding-bottom: 140px; }
.hero h1 { max-width: 1240px; margin-bottom: 28px; font-size: clamp(3.2rem,min(7.2vw,11svh),7.2rem); }
.hero h1 span { color: var(--gold-light); }
.hero-lead { max-width: 690px; margin-bottom: 38px; color: rgba(255,255,255,.8); font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
.hero-facts { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.32); }
.hero-facts div { display: flex; min-height: 100px; align-items: center; gap: 18px; padding-left: 28px; border-right: 1px solid rgba(255,255,255,.32); }
.hero-facts div:first-child { padding-left: 0; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts span { color: var(--gold-light); font-size: .7rem; letter-spacing: .12em; }
.hero-facts strong { font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; }

.split-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; align-items: end; }
.align-bottom { align-items: end; }
.split-heading h2 { margin-bottom: 0; }
.split-heading .prose-large { color: #555a61; }
.split-heading.compact { margin-bottom: 65px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 58px; }
.section-head h2 { max-width: 760px; margin-bottom: 0; }
.section-head > p { max-width: 510px; margin-bottom: 6px; color: var(--muted); }
.section-head-light > p { color: rgba(255,255,255,.65); }

.service-showcase { overflow: hidden; }
.service-panels { display: grid; min-height: 650px; grid-template-columns: 1fr 1fr; }
.service-panel { position: relative; display: flex; overflow: hidden; flex-direction: column; justify-content: space-between; padding: 42px; background-position: center; background-size: cover; isolation: isolate; }
.service-panel::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(15,18,23,.95), rgba(15,18,23,.12)); transition: background .35s; }
.service-panel:hover::before { background: linear-gradient(0deg, rgba(15,18,23,.9), rgba(15,18,23,.02)); }
.service-panel-roof { background-image: url('/assets/images/gallery/roof-installation.jpg'); }
.service-panel-interior { background-image: url('/assets/images/gallery/tiling.jpg'); }
.service-index { align-self: flex-end; color: var(--gold-light); font-size: .75rem; letter-spacing: .15em; }
.service-panel > div:last-child { max-width: 500px; }
.service-panel h3 { margin-bottom: 16px; font-size: clamp(2.3rem, 4vw, 4rem); }
.service-panel p:not(.eyebrow) { color: rgba(255,255,255,.73); }

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.audience-grid article { min-height: 245px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s, transform .2s; }
.audience-grid article:hover { z-index: 1; background: var(--white); box-shadow: var(--shadow); transform: translateY(-3px); }
.audience-grid span { color: #9b762d; font-size: .7rem; letter-spacing: .12em; }
.audience-grid h3 { margin: 50px 0 12px; font-size: 1.2rem; letter-spacing: -.025em; }
.audience-grid p { margin: 0; color: var(--muted); font-size: .92rem; }

.work-preview { background: var(--warm); }
.preview-grid, .gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.preview-grid .work-card:nth-child(1) { grid-column: span 7; }
.preview-grid .work-card:nth-child(2) { grid-column: span 5; }
.preview-grid .work-card:nth-child(3) { grid-column: span 5; }
.preview-grid .work-card:nth-child(4) { grid-column: span 7; }
.work-card { margin: 0; }
.work-card-link { display: block; color: inherit; text-decoration: none; }
.work-card-image { position: relative; display: block; overflow: hidden; }
.work-card-image i { position: absolute; right: 16px; bottom: 16px; display: grid; width: 44px; height: 44px; place-items: center; background: var(--gold); color: var(--ink); font-style: normal; font-weight: 800; }
.work-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 18px 0; }
.work-caption > span { color: #8a6522; font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.work-card img { width: 100%; height: 440px; object-fit: cover; transition: transform .5s; }
.work-card:hover img { transform: scale(1.025); }
.work-card figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 18px 0; }
.work-card figcaption span { color: #8a6522; font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.work-card figcaption strong { font-size: .95rem; }

.cta-band { padding: 85px 0; background: linear-gradient(115deg, #171b22 0 68%, #222831 68%); color: var(--white); }
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; align-items: center; }
.cta-grid h2 { margin-bottom: 0; font-size: clamp(2.4rem, 4vw, 4.2rem); }
.cta-grid > div:last-child p { color: rgba(255,255,255,.7); }

.page-hero { position: relative; display: flex; min-height: 640px; align-items: end; overflow: hidden; padding: 180px 0 90px; color: var(--white); background-color: var(--ink); background-position: center; background-size: cover; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(13,16,21,.92), rgba(13,16,21,.45)); }
.page-hero-services { background-image: url('/assets/images/gallery/roof-team.jpg'); }
.page-hero-roof { background-image: url('/assets/images/gallery/roof-installation.jpg'); }
.page-hero-interior { background-image: url('/assets/images/gallery/painting.jpg'); }
.page-hero-about { background-image: url('/assets/images/gallery/roof-inspection.jpg'); background-position: center 35%; }
.page-hero-works { background-image: url('/assets/images/projects/saulkrasti-interior/09.jpg'); }
.page-hero-contact { background-image: url('/assets/images/gallery/drywall.jpg'); }
.page-hero h1 { max-width: 980px; margin-bottom: 24px; font-size: clamp(3.2rem, 6vw, 6rem); }
.page-hero-content > p:last-child { max-width: 650px; margin-bottom: 0; color: rgba(255,255,255,.75); font-size: 1.15rem; }
.page-hero-content > p.page-hero-lead-large:last-child { max-width: 920px; font-size: clamp(2rem, 2.6vw, 2.3rem); line-height: 1.42; letter-spacing: -.025em; }

.service-detail-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 110px; align-items: start; }
.sticky-heading { position: sticky; top: 135px; }
.sticky-heading h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.sticky-heading > p:last-child { max-width: 430px; color: var(--muted); }
.service-list { border-top: 1px solid var(--line); }
.service-list article { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.service-list article > span { color: #9a742a; font-size: .7rem; font-weight: 800; }
.service-list h3 { margin-bottom: 9px; font-size: 1.25rem; letter-spacing: -.02em; }
.service-list p { margin-bottom: 0; color: var(--muted); }
.process-section { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; }
.process-grid li { min-height: 270px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid span { color: #956e25; font-size: .7rem; letter-spacing: .12em; }
.process-grid h3 { margin: 70px 0 14px; font-size: 1.2rem; }
.process-grid p { color: var(--muted); font-size: .88rem; }

.service-route { display: grid; min-height: 650px; grid-template-columns: 1fr 1fr; background: var(--white); }
.service-route-interior .service-route-media { order: 2; }
.service-route-media { min-height: 560px; background-position: center; background-size: cover; }
.service-route-roof .service-route-media { background-image: linear-gradient(rgba(16,19,24,.08),rgba(16,19,24,.08)), url('/assets/images/gallery/roof-installation.jpg'); }
.service-route-interior .service-route-media { background-image: linear-gradient(rgba(16,19,24,.08),rgba(16,19,24,.08)), url('/assets/images/gallery/tiling.jpg'); }
.service-route-copy { display: flex; align-items: flex-start; justify-content: center; padding: clamp(55px,8vw,125px); flex-direction: column; }
.service-route-copy h2 { font-size: clamp(2.5rem,4vw,4.2rem); }
.service-route-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); }
.check-list { margin: 12px 0 32px; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 9px 0 9px 27px; border-bottom: 1px solid var(--line); color: #4f535a; }
.check-list li::before { content: "✓"; position: absolute; top: 9px; left: 0; color: #8a6522; font-weight: 800; }

.service-scope-grid, .signal-grid, .benefit-grid, .home-process-grid, .application-guide-grid { display: grid; margin: 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); list-style: none; }
.service-scope-grid { grid-template-columns: repeat(3,1fr); border-color: var(--line-dark); }
.service-scope-grid-two { grid-template-columns: repeat(2,1fr); }
.signal-grid, .benefit-grid { grid-template-columns: repeat(4,1fr); }
.home-process-grid { grid-template-columns: repeat(3,1fr); }
.application-guide-grid { grid-template-columns: repeat(5,1fr); }
.service-scope-grid article, .signal-grid article, .benefit-grid article, .home-process-grid li, .application-guide-grid article { min-height: 250px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-scope-grid article { border-color: var(--line-dark); }
.service-scope-grid span, .signal-grid span, .benefit-grid span, .home-process-grid span, .application-guide-grid span { color: #956e25; font-size: .7rem; letter-spacing: .12em; }
.service-scope-grid span { color: var(--gold-light); }
.service-scope-grid h3, .signal-grid h3, .benefit-grid h3, .home-process-grid h3, .application-guide-grid h3 { margin: 64px 0 14px; font-size: 1.25rem; }
.service-scope-grid p, .signal-grid p, .benefit-grid p, .home-process-grid p, .application-guide-grid p { margin: 0; color: var(--muted); font-size: .88rem; }
.service-scope-grid p { color: rgba(255,255,255,.64); }

.service-link-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.service-link-grid > a { display: grid; min-height: 250px; align-items: end; grid-template-columns: auto minmax(0,1fr) auto; gap: 24px; padding: 35px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); color: var(--white); text-decoration: none; transition: background .2s; }
.service-link-grid > a:hover { background: var(--ink-soft); }
.service-link-grid > a > span { align-self: start; color: var(--gold-light); font-size: .7rem; }
.service-link-grid h3 { margin-bottom: 12px; }
.service-link-grid p { margin: 0; color: rgba(255,255,255,.62); }
.service-link-grid i { display: grid; width: 44px; height: 44px; place-items: center; background: var(--gold); color: var(--ink); font-style: normal; font-weight: 800; }

.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 25px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border: 1px solid #b9b6af; color: #8a6522; font-style: normal; transition: transform .2s, background .2s; }
.faq-item[open] summary i { background: var(--gold); color: var(--ink); transform: rotate(45deg); }
.faq-item > div { max-width: 760px; padding: 0 50px 22px 0; color: var(--muted); }
.faq-item > div p { margin: 0; }

.editorial-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 120px; align-items: end; }
.editorial-grid h2 { font-size: clamp(2.5rem,4vw,4.2rem); }
.principle-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.principle-grid article { min-height: 290px; padding: 34px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.principle-grid span { color: var(--gold-light); font-size: .7rem; }
.principle-grid h3 { margin: 90px 0 16px; font-size: 1.4rem; }
.principle-grid p { margin: 0; color: rgba(255,255,255,.63); }
.coverage { background: var(--warm); }
.coverage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.coverage-grid h2 { font-size: clamp(2.5rem,4vw,4.2rem); }
.coverage-grid p { max-width: 560px; color: var(--muted); }
.coverage-map { position: relative; display: flex; min-height: 450px; align-items: center; justify-content: center; flex-direction: column; overflow: hidden; background: var(--ink); color: var(--white); }
.latvia-map { position: relative; z-index: 1; width: min(88%, 570px); height: auto; overflow: visible; }
.latvia-map .latvia-outline { fill: rgba(201,147,47,.16); stroke: var(--gold); stroke-width: 4; stroke-linejoin: round; }
.latvia-map circle { fill: var(--gold-light); stroke: var(--white); stroke-width: 3; }
.latvia-map .riga-line { fill: none; stroke: var(--gold-light); stroke-width: 2; }
.latvia-map text { fill: var(--white); font: 700 22px var(--font); letter-spacing: .04em; }
.coverage-map strong { margin-top: 24px; font-size: 1.2rem; }
.coverage-map small { color: rgba(255,255,255,.55); }

.gallery-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: end; margin-bottom: 50px; }
.gallery-intro p:last-child { color: var(--muted); }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-button { padding: 10px 17px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.filter-button:hover, .filter-button.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.gallery-grid .work-card { grid-column: auto; }
.work-image { position: relative; display: block; width: 100%; overflow: hidden; padding: 0; border: 0; background: none; cursor: pointer; }
.work-image span { position: absolute; right: 16px; bottom: 16px; display: grid; width: 44px; height: 44px; place-items: center; background: var(--gold); font-weight: 800; }
.work-card[hidden] { display: none; }
.project-caption { display: grid; grid-template-columns: 1fr auto; gap: 7px 20px; padding: 18px 0; }
.project-caption > span { color: #8a6522; font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.project-caption strong { font-size: 1rem; }
.project-caption small { grid-column: 1 / -1; color: var(--muted); }
.project-lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #0c0f14; color: var(--white); }
.project-lightbox::backdrop { background: rgba(10,12,16,.96); }
.project-lightbox-shell { display: grid; height: 100%; grid-template-rows: auto minmax(0,1fr) auto; }
.lightbox-toolbar { display: grid; min-height: 88px; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; padding: 14px 28px; border-bottom: 1px solid var(--line-dark); }
.lightbox-toolbar > div:first-child { display: flex; flex-direction: column; }
.lightbox-toolbar > div:first-child span { color: var(--gold-light); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lightbox-toolbar > div:first-child strong { font-size: 1rem; }
.lightbox-count { color: rgba(255,255,255,.65); font-size: .8rem; }
.lightbox-close { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: var(--white); cursor: pointer; font-size: 1.7rem; }
.lightbox-stage { position: relative; display: grid; min-height: 0; grid-template-columns: 70px minmax(0,1fr) 70px; align-items: center; gap: 18px; padding: 24px; overflow: hidden; touch-action: pan-y; }
.lightbox-stage img { width: 100%; height: 100%; max-height: calc(100dvh - 155px); object-fit: contain; }
.lightbox-arrow { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid rgba(255,255,255,.28); background: rgba(23,27,34,.8); color: var(--white); cursor: pointer; font-size: 1.3rem; }
.lightbox-arrow:hover, .lightbox-close:hover { border-color: var(--gold); color: var(--gold-light); }
.lightbox-hint { margin: 0; padding: 0 24px 15px; color: rgba(255,255,255,.43); text-align: center; font-size: .72rem; }

.contact-section { background: var(--warm); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.contact-layout > * { min-width: 0; }
.contact-details h2 { font-size: clamp(2.4rem,3.7vw,3.8rem); }
.contact-cards { margin-top: 55px; border-top: 1px solid var(--line); }
.contact-cards > * { display: flex; padding: 22px 0; border-bottom: 1px solid var(--line); flex-direction: column; text-decoration: none; }
.contact-cards span { color: #8a6522; font-size: .67rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.contact-cards strong { margin: 6px 0; font-size: 1.15rem; }
.contact-cards small { color: var(--muted); }
.contact-cards a:hover strong { color: #8a6522; }
.form-card { padding: clamp(30px,5vw,65px); background: var(--white); box-shadow: var(--shadow); }
.form-card h2 { margin-bottom: 12px; font-size: clamp(2rem,3vw,3rem); }
.form-card > p:not(.eyebrow) { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 35px; }
.form-grid label { display: flex; flex-direction: column; gap: 8px; }
.form-grid label > span { font-size: .73rem; font-weight: 700; letter-spacing: .03em; }
.form-full { grid-column: 1 / -1; }
.form-grid fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-grid legend { margin-bottom: 10px; padding: 0; font-size: .73rem; font-weight: 700; letter-spacing: .03em; }
input, textarea, select { width: 100%; border: 0; border-bottom: 1px solid #b9b6af; border-radius: 0; background: transparent; color: var(--ink); }
input, select { height: 46px; }
select { cursor: pointer; }
textarea { padding: 10px 0; resize: vertical; }
input:focus, textarea:focus, select:focus { border-bottom-color: var(--gold); outline: 0; box-shadow: 0 1px 0 var(--gold); }
.work-scope-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.form-grid .work-scope-option { position: relative; display: block; cursor: pointer; }
.work-scope-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-grid .work-scope-option span { display: flex; min-height: 52px; align-items: center; justify-content: center; padding: 9px 12px; border: 1px solid #c9c3b8; color: var(--muted); font-size: .75rem; font-weight: 750; line-height: 1.25; text-align: center; transition: border-color .18s, background .18s, color .18s; }
.work-scope-option input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.work-scope-option input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.field-label { display: block; margin-bottom: 8px; font-size: .73rem; font-weight: 700; letter-spacing: .03em; }
.service-picker { position: relative; }
.service-picker-toggle { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: space-between; gap: 18px; padding: 9px 12px; border: 1px solid #c9c3b8; background: var(--paper); cursor: pointer; text-align: left; }
.service-picker-toggle > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.service-picker-toggle i { flex: 0 0 auto; font-style: normal; transition: transform .2s; }
.service-picker-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.service-picker-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.service-options { position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; left: 0; display: grid; max-height: min(430px,55svh); overflow-y: auto; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; padding: 10px; border: 1px solid #d6d0c4; background: var(--paper); box-shadow: 0 22px 55px rgba(20,22,27,.2); overscroll-behavior: contain; }
.service-options[hidden] { display: none; }
.service-option-group { padding: 9px 10px 6px; color: #8a6522; font-size: .64rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.service-option-group { grid-column: 1 / -1; }
.service-option-group:not(:first-child) { margin-top: 7px; padding-top: 14px; border-top: 1px solid var(--line); }
.form-grid .service-option { position: relative; display: grid; min-height: 42px; align-items: center; grid-template-columns: 20px minmax(0,1fr); gap: 10px; padding: 7px 10px; border: 1px solid transparent; cursor: pointer; flex-direction: initial; transition: border-color .18s, background .18s, color .18s; }
.service-option:hover { border-color: #d8c8a9; background: #fff; }
.service-option.is-selected { border-color: var(--ink); background: var(--ink); color: var(--white); }
.service-option-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.service-option-mark { display: grid; width: 19px; height: 19px; place-items: center; border: 1px solid #aaa69e; color: transparent; font-size: .68rem; font-weight: 800; transition: border-color .18s, background .18s, color .18s; }
.service-option.is-selected .service-option-mark { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.service-option-text { min-width: 0; font-size: .84rem; font-weight: 650; line-height: 1.35; }
.consent { display: flex; align-items: start; gap: 12px; margin: 26px 0; color: var(--muted); font-size: .78rem; }
.consent input { width: 18px; height: 18px; flex: 0 0 auto; }
.honeypot { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0 0 0 0); }
.form-status { min-height: 24px; margin: 18px 0 0; font-size: .85rem; font-weight: 700; }
.form-status.is-error { color: #a52626; }
.form-status.is-success { color: #27723e; }

.legal-hero { padding: 190px 0 80px; background: var(--ink); color: var(--white); }
.legal-hero h1 { margin-bottom: 18px; font-size: clamp(3rem,5vw,5rem); }
.legal-hero > div > p:last-child { color: rgba(255,255,255,.55); }
.legal-content { background: var(--white); }

.site-footer { padding-top: 75px; background: #11141a; color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1.35fr .75fr .85fr 1fr; gap: 65px; padding-bottom: 60px; }
.footer-brand a { display: inline-block; padding: 7px 12px; background: var(--white); }
.footer-brand img { width: 145px; height: 82px; object-fit: contain; }
.footer-brand p { max-width: 390px; color: rgba(255,255,255,.55); }
.footer-title { margin: 14px 0 22px; color: var(--gold-light); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 10px 0; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.contact-links span { color: rgba(255,255,255,.55); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.42); font-size: .75rem; }
.footer-bottom p { margin: 0; }
.footer-meta { display: flex; align-items: center; gap: 26px; }
.developer-credit { color: rgba(255,255,255,.65); text-decoration: none; }
.developer-credit:hover { color: var(--gold-light); }

.whatsapp-float { position: fixed; z-index: 999; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid rgba(229,188,103,.72); border-radius: 50%; background: var(--ink); color: var(--gold-light); box-shadow: 0 14px 38px rgba(0,0,0,.28); text-decoration: none; backface-visibility: hidden; transform: translateZ(0); transition: background .2s, color .2s, transform .2s; }
.whatsapp-float:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.whatsapp-float svg { width: 37px; height: 37px; overflow: visible; }
.whatsapp-bubble { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; transform: scale(1.1); transform-origin: center; }
.whatsapp-handset { fill: currentColor; transform: scale(1.1); transform-origin: center; }

@media (max-width: 1180px) {
  :root { --wrap: min(100% - 36px, 1240px); }
  .nav-shell { display: grid; min-height: 78px; grid-template-columns: auto minmax(0,1fr) auto; gap: 14px; }
  .brand img { width: 110px; height: 58px; }
  .header-phone { justify-self: end; margin: 0; }
  .brand { grid-column: 1; grid-row: 1; }
  .header-phone { grid-column: 2; grid-row: 1; }
  .menu-toggle { grid-column: 3; grid-row: 1; }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; inset: 78px 0 0; display: flex; visibility: hidden; align-items: stretch; margin-left: 0; padding: 36px 24px; background: var(--ink); opacity: 0; transform: translateY(-12px); transition: opacity .2s, transform .2s, visibility .2s; flex-direction: column; }
  .primary-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-list { align-items: stretch; gap: 0; flex-direction: column; }
  .nav-list > li { display: grid; grid-template-columns: 1fr; }
  .nav-list a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
  .nav-list a::after { display: none; }
  .nav-cta { align-self: flex-start; margin-top: 20px; }
  .subnav-list { position: static; display: block; visibility: visible; min-width: 0; padding: 5px 0 12px 18px; border: 0; background: transparent; box-shadow: none; opacity: 1; transform: none; }
  .subnav-list a { padding: 13px 14px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .84rem; }
  .primary-nav:not(.is-open) { pointer-events: none; }
  .primary-nav:not(.is-open) .subnav-list, .primary-nav:not(.is-open) a { visibility: hidden; }
  .primary-nav.is-open { pointer-events: auto; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .split-heading, .editorial-grid, .coverage-grid, .gallery-intro, .contact-layout { gap: 60px; }
  .service-detail-grid { gap: 65px; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; gap: 50px; }
  .footer-brand { grid-column: 1 / -1; }
  .signal-grid, .benefit-grid, .application-guide-grid { grid-template-columns: repeat(2,1fr); }
  .service-route-copy { padding: 65px 45px; }
}

@media (max-width: 760px) {
  :root { --wrap: min(100% - 30px, 1240px); }
  .section { padding: 80px 0; }
  h1, .hero h1, .page-hero h1 { font-size: clamp(2.55rem,11vw,4rem); }
  h2 { font-size: clamp(2rem,9vw,3.2rem); }
  .hero { min-height: 760px; height: 100svh; }
  .hero-content { justify-content: flex-end; padding: 120px 0 175px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div { min-height: 48px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .hero-facts div, .hero-facts div:first-child { padding-left: 12px; }
  .hero-facts div:last-child { border-bottom: 0; }
  .hero-shade { background: linear-gradient(rgba(190,119,33,.08), rgba(190,119,33,.08)), linear-gradient(0deg, rgba(10,13,18,.95) 0%, rgba(10,13,18,.68) 65%, rgba(10,13,18,.45) 100%); }
  .split-heading, .editorial-grid, .coverage-grid, .gallery-intro, .contact-layout, .service-detail-grid, .cta-grid { grid-template-columns: 1fr; align-items: start; gap: 45px; }
  .faq-layout { grid-template-columns: 1fr; gap: 45px; }
  .section-head { align-items: start; margin-bottom: 40px; flex-direction: column; gap: 18px; }
  .service-panels { min-height: auto; grid-template-columns: 1fr; }
  .service-panel { min-height: 530px; padding: 28px; }
  .audience-grid, .principle-grid, .process-grid { grid-template-columns: 1fr; }
  .service-scope-grid, .service-scope-grid-two, .signal-grid, .benefit-grid, .home-process-grid, .application-guide-grid, .service-link-grid { grid-template-columns: 1fr; }
  .service-scope-grid article, .signal-grid article, .benefit-grid article, .home-process-grid li, .application-guide-grid article { min-height: 0; padding: 24px; }
  .service-scope-grid h3, .signal-grid h3, .benefit-grid h3, .home-process-grid h3, .application-guide-grid h3 { margin: 24px 0 10px; }
  .service-route { grid-template-columns: 1fr; }
  .service-route-interior .service-route-media { order: 0; }
  .service-route-media { min-height: 390px; }
  .service-route-copy { padding: 65px 24px; }
  .service-link-grid > a { min-height: 210px; padding: 24px; }
  .work-scope-options, .service-options { grid-template-columns: 1fr; }
  .service-options { max-height: min(420px,50svh); }
  .form-grid .service-option { z-index: 1; touch-action: manipulation; }
  .audience-grid article { min-height: 215px; }
  .process-grid li, .principle-grid article { min-height: 0; padding: 24px; }
  .process-grid h3, .principle-grid h3 { margin: 24px 0 10px; }
  .process-grid p, .principle-grid p { margin-bottom: 0; }
  .preview-grid, .gallery-grid { display: grid; grid-template-columns: 1fr; }
  .preview-grid .work-card:nth-child(n), .gallery-grid .work-card:nth-child(n) { grid-column: 1; }
  .work-card img { height: 330px; }
  .work-card figcaption { align-items: start; flex-direction: column; gap: 6px; }
  .work-caption { align-items: start; flex-direction: column; gap: 6px; }
  .cta-band { background: var(--ink); }
  .cta-grid { gap: 30px; }
  .page-hero { min-height: 570px; padding-bottom: 70px; }
  .page-hero-content > p.page-hero-lead-large:last-child { font-size: clamp(1.45rem, 6vw, 1.8rem); }
  .brand { padding: 2px 7px; }
  .brand img { width: 94px; height: 54px; }
  .nav-shell { gap: 9px; }
  .header-phone { font-size: .69rem; letter-spacing: 0; }
  .menu-toggle { width: 43px; height: 43px; padding: 9px; }
  .sticky-heading { position: static; }
  .coverage-map { min-height: 350px; }
  .form-grid { grid-template-columns: minmax(0,1fr); }
  .form-grid > * { min-width: 0; }
  .form-full { grid-column: auto; }
  .form-card { padding: 28px 22px; }
  .footer-main { grid-template-columns: 1fr; gap: 35px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: start; flex-direction: column; }
  .footer-meta { align-items: start; flex-direction: column; gap: 10px; }
  .lightbox-toolbar { min-height: 76px; grid-template-columns: minmax(0,1fr) auto auto; gap: 12px; padding: 10px 14px; }
  .lightbox-stage { display: block; padding: 0; }
  .lightbox-stage img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
  .lightbox-arrow { position: absolute; z-index: 2; top: 50%; width: 44px; height: 54px; background: rgba(23,27,34,.82); box-shadow: 0 8px 24px rgba(0,0,0,.28); transform: translateY(-50%); }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .whatsapp-float { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 52px; height: 52px; }
  .whatsapp-float svg { width: 34px; height: 34px; }
}

@media (max-width: 390px) {
  :root { --wrap: min(100% - 24px, 1240px); }
  .button-row { align-items: flex-start; flex-direction: column; }
  .hero-lead { font-size: .98rem; }
  .service-panel { min-height: 470px; }
  .contact-cards strong { overflow-wrap: anywhere; }
  .header-phone { font-size: .64rem; }
  .brand img { width: 86px; height: 50px; }
  .lightbox-toolbar > div:first-child span { display: none; }
  .lightbox-toolbar > div:first-child strong { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .hero video { display: none; }
  .hero-media { background: url('/assets/images/gallery/roof-installation.jpg') center / cover; }
}
