
:root{
  --oe-green:#074940;
  --oe-green-deep:#04352f;
  --oe-yellow:#f1ad1d;
  --oe-ink:#102824;
  --oe-muted:#60736e;
  --oe-bg:#f4f7f5;
  --oe-warm:#fbf7ee;
  --oe-line:#dce5e2;
  --oe-white:#fff;
  --oe-radius:18px;
  --oe-shadow:0 16px 46px rgba(7,73,64,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--oe-ink);background:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
.container{width:min(1320px,calc(100% - 48px));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:100;background:var(--oe-green);color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}
.header-inner{height:78px;display:flex;align-items:center;justify-content:space-between;gap:34px}
.brand img{display:block;width:154px;height:auto;max-height:48px;object-fit:contain}
.desktop-nav{margin-left:auto}
.menu,.mobile-menu-list{list-style:none;margin:0;padding:0}
.menu{display:flex;align-items:center;gap:36px}
.menu a{font-size:14px;font-weight:650;color:rgba(255,255,255,.9)}
.menu a:hover{color:var(--oe-yellow)}
.header-actions{display:flex;align-items:center;gap:18px}
.header-phone{font-size:13px;font-weight:700;color:#fff;white-space:nowrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 22px;border:1px solid transparent;border-radius:10px;font-size:14px;font-weight:800;transition:.2s ease}
.btn-primary{background:var(--oe-yellow);color:#172b27}
.btn-primary:hover{filter:brightness(.97);transform:translateY(-1px)}
.btn-dark{background:var(--oe-green);color:#fff}
.btn-outline-light{border-color:rgba(255,255,255,.5);color:#fff}
.btn-block{width:100%}
.menu-toggle{display:none;width:46px;height:46px;border:0;background:transparent;padding:10px}
.menu-toggle span{display:block;height:2px;background:#fff;margin:6px 0;border-radius:999px}
.mobile-menu{background:var(--oe-green-deep);border-top:1px solid rgba(255,255,255,.08);padding:16px 0 22px}
.mobile-menu-list{display:grid;gap:4px;margin-bottom:14px}
.mobile-menu-list a{display:block;padding:12px 4px;color:#fff;font-weight:700}
.hero{background:var(--oe-green);color:#fff;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.03fr .97fr;min-height:610px;align-items:stretch}
.hero-copy{padding:78px 54px 72px 0;align-self:center}
.eyebrow,.kicker{text-transform:uppercase;letter-spacing:.13em;font-size:12px;font-weight:850;color:var(--oe-yellow)}
.eyebrow{color:rgba(255,255,255,.78)}

.hero h1{font-size:clamp(48px,5vw,72px);line-height:.98;letter-spacing:-.045em;margin:18px 0 22px;max-width:700px}
.hero h1 em{display:block;font-style:normal;color:var(--oe-yellow)}
.hero-copy>p{max-width:620px;font-size:18px;color:rgba(255,255,255,.78);margin:0}
.hero-actions{display:flex;gap:12px;margin-top:32px}
.hero-trust{display:flex;gap:38px;margin-top:42px}
.hero-trust>div{display:flex;align-items:center;gap:10px}
.hero-trust b{width:34px;height:34px;border:1px solid var(--oe-yellow);border-radius:50%;display:grid;place-items:center;color:var(--oe-yellow)}
.hero-trust span{font-size:13px;line-height:1.25;color:rgba(255,255,255,.84)}
.hero-media{position:relative;min-height:610px;background:#0b3f37;clip-path:polygon(18% 0,100% 0,100% 100%,0 100%)}
.hero-media img{width:100%;height:100%;object-fit:cover;display:block}
.placeholder-badge{position:absolute;right:24px;bottom:24px;background:rgba(4,53,47,.88);color:#fff;padding:10px 14px;border-radius:10px;font-size:12px}
.section{padding:82px 0}
.section-heading h2,.measurements h2,.process h2,.calculator-cta h2,.contact-cta h2{margin:8px 0 0;font-size:clamp(34px,4vw,50px);line-height:1.05;letter-spacing:-.035em;color:var(--oe-green)}
.split-heading{display:flex;align-items:end;justify-content:space-between;gap:30px}
.center{text-align:center}
.text-link{font-size:14px;font-weight:800;color:var(--oe-green)}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:34px}
.service-card{border:1px solid var(--oe-line);border-radius:var(--oe-radius);padding:28px;min-height:300px;display:flex;flex-direction:column}
.service-card:hover{border-color:#b8cbc6;box-shadow:var(--oe-shadow)}
.service-icon{width:58px;height:58px;border:1px solid #b7cbc6;border-radius:14px;display:grid;place-items:center;color:var(--oe-green);background:#fbfdfc}
.service-card h3{margin:22px 0 7px;color:var(--oe-green);font-size:18px}
.service-card p{margin:0;color:var(--oe-muted);font-size:14px}
.service-card a{margin-top:auto;padding-top:20px;color:var(--oe-yellow);font-size:22px}
.section-green{background:var(--oe-green);color:#fff}
.section-green .section-heading h2,.section-green h2{color:#fff}
.section-heading.light .text-link{color:#fff}
.project-grid{display:grid;grid-template-columns:1.3fr .72fr .72fr;gap:14px;margin-top:30px}
.project-card{position:relative;border-radius:18px;overflow:hidden;min-height:310px;background:#dce5e2}
.project-card img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.project-card:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(2,40,35,.82),rgba(2,40,35,0) 60%)}
.project-overlay{position:absolute;z-index:2;left:22px;right:22px;bottom:20px}
.project-overlay small{color:rgba(255,255,255,.7)}
.project-overlay h3{margin:4px 0 0;font-size:19px}
.metrics-bar{background:#fff;border-bottom:1px solid var(--oe-line)}
.metrics-grid{display:grid;grid-template-columns:repeat(3,1fr);padding:28px 0}
.metrics-grid>div{padding:0 28px;border-left:1px solid var(--oe-line)}
.metrics-grid>div:first-child{border-left:0;padding-left:0}
.metrics-grid strong{display:block;color:var(--oe-green);font-size:20px}
.metrics-grid span{display:block;color:var(--oe-muted);font-size:12px;margin-top:2px}
.measurements{background:var(--oe-green-deep);color:#fff}
.measurement-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center}
.measurement-visual{position:relative;min-height:450px;border-radius:24px;overflow:hidden;background:#d7e1de;border:1px solid rgba(255,255,255,.12)}
.measurement-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.55) contrast(.95)}
.measurement-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(2,40,35,.88),rgba(2,40,35,.08) 62%)}
.measurement-visual-label{position:absolute;z-index:2;left:24px;right:24px;bottom:24px}
.measurement-visual-label span{display:block;color:var(--oe-yellow);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.12em}
.measurement-visual-label strong{display:block;margin-top:5px;color:#fff;font-size:20px;line-height:1.2;max-width:360px}
.measurement-copy>p{color:rgba(255,255,255,.72);max-width:700px;font-size:17px}
.measurement-benefits{display:grid;gap:14px;margin:26px 0}
.measurement-benefits article{display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:start;padding:17px 18px;border:1px solid rgba(255,255,255,.13);border-radius:16px;background:rgba(255,255,255,.045)}
.benefit-icon{width:38px;height:38px;border-radius:10px;background:rgba(241,173,29,.12);border:1px solid rgba(241,173,29,.45);display:grid;place-items:center;color:var(--oe-yellow);font-weight:900}
.measurement-benefits h3{margin:0 0 3px;color:#fff;font-size:16px}
.measurement-benefits p{margin:0;color:rgba(255,255,255,.62);font-size:13px;line-height:1.5}
.measurement-types{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px}
.measurement-types span{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.07);color:rgba(255,255,255,.74);font-size:11px;border:1px solid rgba(255,255,255,.09)}







.measurements h2{color:#fff}
.measurements p{color:rgba(255,255,255,.7);max-width:670px;font-size:17px}
.check-list{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;list-style:none;padding:0;margin:24px 0 28px}
.check-list li:before{content:"✓";color:var(--oe-yellow);font-weight:900;margin-right:8px}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:36px}
.why-grid article{background:var(--oe-bg);padding:26px;border-radius:18px}
.why-grid b,.process-grid b{font-size:28px;color:var(--oe-yellow)}
.why-grid h3,.process-grid h3{margin:16px 0 7px;color:var(--oe-green)}
.why-grid p,.process-grid p{margin:0;color:var(--oe-muted);font-size:14px}
.process-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:36px}
.process-grid article{padding:0 28px;border-left:1px solid rgba(255,255,255,.15)}
.process-grid article:first-child{border-left:0;padding-left:0}
.process-grid h3{color:#fff}
.process-grid p{color:rgba(255,255,255,.62)}
.calculator-cta{background:var(--oe-warm)}
.calculator-grid{display:grid;grid-template-columns:1fr .9fr;gap:70px;align-items:center}
.calculator-cta p{color:var(--oe-muted);font-size:17px;max-width:620px}
.estimate-card{background:#fff;border:1px solid #e8e1d3;border-radius:20px;padding:24px;box-shadow:var(--oe-shadow)}
.estimate-card>div{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid #eee9df;font-size:14px}
.estimate-card .estimate-head{padding-top:0}
.estimate-head span{color:var(--oe-muted);font-size:12px}
.estimate-card .estimate-total{border-bottom:0;padding-bottom:0;font-size:18px;color:var(--oe-green)}
.contact-cta-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;align-items:start}
.contact-cta p{color:rgba(255,255,255,.68);font-size:17px}
.contact-form-slot{background:#fff;color:var(--oe-ink);border-radius:22px;padding:28px}
.plugin-notice{padding:30px;text-align:center;color:var(--oe-muted);background:var(--oe-bg);border-radius:14px}
.site-footer{background:#032f2a;color:#fff;padding:56px 0 0}
.footer-grid{display:grid;grid-template-columns:1.4fr .8fr .8fr;gap:70px}
.footer-logo{width:170px}
.footer-grid p{max-width:390px;color:rgba(255,255,255,.55);font-size:14px}
.footer-grid h3{font-size:14px;margin:0 0 14px}
.footer-grid a,.footer-grid span{display:block;color:rgba(255,255,255,.6);font-size:14px;padding:4px 0}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:40px;padding:20px 0;color:rgba(255,255,255,.4);font-size:12px}
.page-main{padding:70px 0 90px;background:#fff}
.content-page{max-width:920px}
.page-breadcrumbs{font-size:12px;color:var(--oe-muted);display:flex;gap:8px;margin-bottom:28px}
.content-header h1{font-size:clamp(42px,6vw,68px);line-height:1;letter-spacing:-.04em;color:var(--oe-green);margin:0 0 30px}
.entry-content{font-size:17px}
.entry-content h2,.entry-content h3{color:var(--oe-green);line-height:1.15}
.entry-content img{border-radius:18px}
.post-card{padding:24px 0;border-bottom:1px solid var(--oe-line)}
.center-404{text-align:center;padding:60px 0}
.oe-form{display:grid;gap:16px}
.oe-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.oe-form label{display:block;font-size:13px;font-weight:750;color:var(--oe-green);margin-bottom:6px}
.oe-form input,.oe-form select,.oe-form textarea{width:100%;border:1px solid #cddbd7;border-radius:10px;background:#fff;padding:12px 13px;color:var(--oe-ink);outline:none}
.oe-form input:focus,.oe-form select:focus,.oe-form textarea:focus{border-color:var(--oe-green);box-shadow:0 0 0 3px rgba(7,73,64,.09)}
.oe-form small{display:block;color:var(--oe-muted);margin-top:5px}
.oe-form .oe-files{padding:10px;background:var(--oe-bg)}
.oe-form-consent{display:flex;gap:9px;align-items:flex-start;font-size:12px;color:var(--oe-muted)}
.oe-form-consent input{width:auto;margin-top:3px}
.oe-form-message{border-radius:10px;padding:12px 14px;font-size:13px}
.oe-form-message.success{background:#e6f4ef;color:#075c4d}
.oe-form-message.error{background:#fff1ec;color:#8a2e16}
.oe-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:1000px){
  .desktop-nav,.header-phone{display:none}
  .menu-toggle{display:block}
  .hero-grid{grid-template-columns:1fr .78fr}
  .hero-copy{padding-right:30px}
  .service-grid{grid-template-columns:repeat(2,1fr)}
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .metrics-grid{grid-template-columns:repeat(2,1fr);row-gap:24px}
  .metrics-grid>div:nth-child(3){border-left:0;padding-left:0}
}
@media(max-width:760px){
  .container{width:min(100% - 28px,1180px)}
  .header-inner{height:68px}
  .brand img{width:132px;max-height:40px}
  .desktop-cta{display:none}
  .hero-grid{display:flex;flex-direction:column;min-height:auto}
  .hero-copy{padding:52px 0 40px}
  .hero h1{font-size:42px}
  .hero-copy>p{font-size:16px}
  .hero-actions{display:grid}
  .hero-trust{gap:12px;justify-content:space-between;margin-top:30px}
  .hero-trust>div{display:block;text-align:center}
  .hero-trust b{margin:0 auto 8px}
  .hero-media{min-height:310px;clip-path:polygon(0 14%,100% 0,100% 100%,0 100%)}
  .section{padding:58px 0}
  .split-heading{align-items:start}
  .split-heading .text-link{display:none}
  .section-heading h2,.measurements h2,.process h2,.calculator-cta h2,.contact-cta h2{font-size:34px}
  .service-grid{grid-template-columns:repeat(2,1fr);gap:8px}
  .service-card{min-height:180px;padding:18px}
  .service-card p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:12px;line-height:1.45}
  .service-icon{width:42px;height:42px}
  .service-card h3{font-size:14px;margin-top:15px}
  .project-grid{grid-template-columns:1fr 1fr}
  .project-card{min-height:210px}
  .project-wide{grid-column:1/-1;min-height:280px}
  .metrics-grid{grid-template-columns:1fr 1fr}
  .metrics-grid>div{padding:0 14px}
  .measurement-grid,.calculator-grid,.contact-cta-grid{grid-template-columns:1fr;gap:36px}
  
  .check-list{grid-template-columns:1fr}
  .why-grid{grid-template-columns:1fr}
  .process-grid{grid-template-columns:1fr;gap:22px}
  .process-grid article,.process-grid article:first-child{border-left:0;border-top:1px solid rgba(255,255,255,.15);padding:20px 0 0}
  .footer-grid{grid-template-columns:1fr;gap:30px}
  .oe-form-row{grid-template-columns:1fr}
}
@media(max-width:430px){
  .service-grid{grid-template-columns:1fr 1fr}
  .hero h1{font-size:38px}
  .hero-trust span{font-size:11px}
}

.header-actions .btn{white-space:nowrap}.desktop-cta{min-width:160px}

/* v0.1.2 - simplified client-facing measurements */
.measurement-layout{display:grid;grid-template-columns:1.06fr .94fr;gap:72px;align-items:center}
.measurement-copy{max-width:720px}
.measurement-copy h2{color:#fff}
.measurement-copy>p{font-size:17px;line-height:1.65;color:rgba(255,255,255,.72)}
.measurement-points{margin:28px 0 24px;border-top:1px solid rgba(255,255,255,.13)}
.measurement-points>div{display:grid;grid-template-columns:42px 1fr;gap:14px;padding:17px 0;border-bottom:1px solid rgba(255,255,255,.13);align-items:start}
.measurement-point-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;border:1px solid rgba(241,173,29,.55);color:var(--oe-yellow);font-weight:900}
.measurement-points strong{display:block;color:#fff;font-size:15px}
.measurement-points small{display:block;color:rgba(255,255,255,.62);font-size:13px;line-height:1.5;margin-top:3px}
.measurement-photo{position:relative;min-height:520px;border-radius:24px;overflow:hidden;border:1px solid rgba(255,255,255,.15);background:#d7e1de}
.measurement-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.measurement-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(2,40,35,.9),rgba(2,40,35,.03) 66%)}
.measurement-photo-note{position:absolute;z-index:2;left:24px;right:24px;bottom:24px}
.measurement-photo-note span{display:block;color:var(--oe-yellow);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.12em}
.measurement-photo-note strong{display:block;color:#fff;font-size:20px;line-height:1.25;margin-top:5px;max-width:390px}

/* merged process + reasons */
.work-process{background:#fff}
.process-heading{display:grid;grid-template-columns:1fr .7fr;gap:80px;align-items:end}
.process-heading h2{margin:8px 0 0;font-size:clamp(34px,4vw,50px);line-height:1.05;letter-spacing:-.035em;color:var(--oe-green)}
.process-heading>p{margin:0;color:var(--oe-muted);font-size:16px;line-height:1.65;max-width:520px}
.work-process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:38px}
.work-process-grid article{border:1px solid var(--oe-line);border-radius:18px;padding:28px;display:flex;flex-direction:column;min-height:270px}
.work-process-grid b{color:var(--oe-yellow);font-size:28px}
.work-process-grid h3{margin:18px 0 8px;color:var(--oe-green)}
.work-process-grid p{margin:0;color:var(--oe-muted);font-size:14px;line-height:1.55}
.work-process-grid span{margin-top:auto;padding-top:24px;color:var(--oe-green);font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}

/* compact contact CTA */
.contact-cta-simple{display:flex;align-items:center;justify-content:space-between;gap:60px}
.contact-cta-simple>div{max-width:820px}
.contact-cta-simple p{margin-bottom:0}
.contact-cta-button{flex:0 0 auto;white-space:nowrap}

@media(max-width:900px){
  .measurement-layout{grid-template-columns:1fr;gap:36px}
  .measurement-photo{min-height:360px}
  .process-heading{grid-template-columns:1fr;gap:16px}
  .work-process-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .container{width:min(100% - 28px,1320px)}
  .metrics-grid{grid-template-columns:1fr}
  .metrics-grid>div,.metrics-grid>div:first-child,.metrics-grid>div:nth-child(3){border-left:0;padding:13px 0;border-top:1px solid var(--oe-line)}
  .metrics-grid>div:first-child{border-top:0}
  .work-process-grid{grid-template-columns:1fr}
  .work-process-grid article{min-height:auto}
  .contact-cta-simple{align-items:flex-start;flex-direction:column;gap:26px}
  .contact-cta-button{width:100%}
}

.hero h1{max-width:620px}
.hero h1 em{display:initial;color:inherit}

.service-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.service-card h3{font-size:19px}
.service-card p{font-size:14px;line-height:1.65}

.metrics-bar{background:#f8faf9;border-top:1px solid var(--oe-line);border-bottom:1px solid var(--oe-line);padding:22px 0}
.metrics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:0}
.metrics-grid>div,.metrics-grid>div:first-child,.metrics-grid>div:nth-child(3){
  position:relative;border:1px solid var(--oe-line);border-radius:16px;background:#fff;
  padding:20px 22px 20px 62px;min-height:86px;
}
.metrics-grid>div:before{
  content:"✓";position:absolute;left:20px;top:22px;width:28px;height:28px;border-radius:50%;
  display:grid;place-items:center;background:rgba(241,173,29,.13);color:var(--oe-yellow);
  font-weight:900;border:1px solid rgba(241,173,29,.45);
}
.metrics-grid strong{font-size:18px}
.metrics-grid span{font-size:12px}

@media(max-width:760px){
  .service-card{min-height:220px;padding:18px}
  .service-icon{width:48px;height:48px}
  .service-icon svg{width:25px;height:25px}
  .metrics-bar{padding:10px 0}
  .metrics-grid{gap:8px}
  .metrics-grid>div,.metrics-grid>div:first-child,.metrics-grid>div:nth-child(3){
    border:1px solid var(--oe-line);padding:16px 16px 16px 54px;min-height:76px;
  }
  .metrics-grid>div:before{left:16px;top:18px}
}

.hero-trust>div{min-width:0}
.hero-trust span{white-space:normal}

/* Trust strip v0.1.4 */
.metrics-bar{background:#f7f9f8;padding:24px 0;border-top:1px solid var(--oe-line);border-bottom:1px solid var(--oe-line)}
.metrics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;padding:0;background:#fff;border:1px solid var(--oe-line);border-radius:18px;overflow:hidden}
.metrics-grid>.metric-item,.metrics-grid>.metric-item:first-child,.metrics-grid>.metric-item:nth-child(3){
  position:relative;border:0;border-left:1px solid var(--oe-line);border-radius:0;background:#fff;
  min-height:106px;padding:24px 28px;display:flex;align-items:center;gap:16px;
}
.metrics-grid>.metric-item:first-child{border-left:0}
.metric-icon{flex:0 0 auto;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:rgba(241,173,29,.12);color:var(--oe-yellow);border:1px solid rgba(241,173,29,.45);font-weight:900}
.metric-item strong{display:block;color:var(--oe-green);font-size:17px;line-height:1.25}
.metric-item span:not(.metric-icon){display:block;color:var(--oe-muted);font-size:12px;line-height:1.4;margin-top:4px}

/* Calculator example */
.estimate-note{display:block!important;border:0!important;padding:12px 0 0!important;color:var(--oe-muted);font-size:11px;line-height:1.45}

/* Reviews */
.reviews-section{background:#fff}
.oe-reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:30px}
.oe-review-card{border:1px solid var(--oe-line);border-radius:18px;padding:26px;background:#fff;min-height:220px;display:flex;flex-direction:column}
.oe-review-stars{color:var(--oe-yellow);letter-spacing:.08em;font-size:15px}
.oe-review-card blockquote{margin:18px 0 22px;color:var(--oe-ink);font-size:15px;line-height:1.65}
.oe-review-meta{margin-top:auto}
.oe-review-meta strong{display:block;color:var(--oe-green);font-size:14px}
.oe-review-meta span{display:block;color:var(--oe-muted);font-size:11px;margin-top:3px}
.reviews-placeholder{margin-top:30px;border:1px dashed #b9cbc6;border-radius:18px;padding:26px;background:var(--oe-bg);display:grid;gap:5px;color:var(--oe-green)}
.reviews-placeholder span{color:var(--oe-muted);font-size:13px}

@media(max-width:760px){
  .eyebrow{font-size:10px;letter-spacing:.09em}
  .hero-trust{
    display:grid;
    grid-template-columns:1fr;
    gap:0;
    margin-top:28px;
    border-top:1px solid rgba(255,255,255,.15);
    border-bottom:1px solid rgba(255,255,255,.15);
  }
  .hero-trust>div{
    display:flex;
    align-items:center;
    gap:11px;
    text-align:left;
    padding:10px 0;
    border-top:1px solid rgba(255,255,255,.1);
  }
  .hero-trust>div:first-child{border-top:0}
  .hero-trust b{
    width:27px;height:27px;margin:0;flex:0 0 27px;font-size:12px
  }
  .hero-trust span{
    font-size:12px;
    line-height:1.25;
  }
  .hero-trust span br{display:none}

  .metrics-bar{padding:14px 0}
  .metrics-grid{
    grid-template-columns:1fr;
    gap:0;
    border-radius:16px;
  }
  .metrics-grid>.metric-item,.metrics-grid>.metric-item:first-child,.metrics-grid>.metric-item:nth-child(3){
    min-height:auto;
    padding:16px 18px;
    border:0;
    border-top:1px solid var(--oe-line);
    display:flex;
    align-items:center;
    gap:14px;
  }
  .metrics-grid>.metric-item:first-child{border-top:0}
  .metric-icon{width:32px;height:32px}
  .metric-item strong{font-size:15px}
  .metric-item span:not(.metric-icon){font-size:11px}
  .oe-reviews-grid{grid-template-columns:1fr}
}

.metrics-grid>.metric-item:before{content:none!important;display:none!important}

.work-process-grid .process-note{
  margin-top:auto;
  padding-top:20px;
  color:#6b7d78;
  font-size:12px;
  font-weight:700;
  text-transform:none;
  letter-spacing:0;
}
.work-process-grid .process-note::first-letter{color:var(--oe-yellow)}
.work-process-grid h3{font-size:19px;font-weight:800}
.work-process-grid b{font-size:25px}

@media(max-width:760px){
  /* Hero trust: one clean line per item, without concatenated words */
  .hero-trust span{
    display:block;
    font-size:12px;
    line-height:1.35;
  }

  /* Services: retain readable copy but remove unnecessary card height */
  .service-card{
    min-height:195px;
    padding:16px;
  }
  .service-card h3{
    margin-top:13px;
    margin-bottom:6px;
    font-size:14px;
    line-height:1.28;
  }
  .service-card p{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    font-size:11px;
    line-height:1.45;
  }
  .service-card a{
    padding-top:12px;
  }

  /* Trust strip: one simple accent icon per row */
  .metrics-grid>.metric-item,
  .metrics-grid>.metric-item:first-child,
  .metrics-grid>.metric-item:nth-child(3){
    padding:15px 16px;
    gap:13px;
  }
  .metric-icon{
    width:30px;
    height:30px;
    border:0;
    background:transparent;
    color:var(--oe-yellow);
    font-size:20px;
  }

  /* Work process: secondary promise should not compete with heading */
  .work-process-grid article{
    padding:22px;
  }
  .work-process-grid b{
    font-size:22px;
  }
  .work-process-grid h3{
    margin-top:12px;
    font-size:18px;
  }
  .work-process-grid .process-note{
    margin-top:16px;
    padding-top:12px;
    border-top:1px solid var(--oe-line);
    font-size:11px;
    color:#71827d;
  }
}

/* v0.1.6 trust strip icons */
.metric-icon{
  border:0!important;
  background:transparent!important;
  width:40px!important;
  height:40px!important;
  color:var(--oe-yellow)!important;
}
.metric-icon svg{
  width:32px;
  height:32px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* v0.1.6 process hierarchy */
.process-heading{
  display:block;
}
.process-heading-copy{
  max-width:780px;
}
.process-heading-copy h2{
  margin:8px 0 0;
  font-size:clamp(34px,4vw,50px);
  line-height:1.05;
  letter-spacing:-.035em;
  color:var(--oe-green);
}
.process-heading-copy p{
  margin:16px 0 0;
  color:var(--oe-muted);
  font-size:16px;
  line-height:1.65;
  max-width:700px;
}
.work-process-grid article{
  min-height:235px;
}

/* v0.1.6 calculator scenario */
.scenario-card{
  display:block;
}
.scenario-list{
  list-style:none;
  padding:0;
  margin:22px 0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.scenario-list li{
  border:1px solid var(--oe-line);
  border-radius:12px;
  padding:14px 12px;
  text-align:center;
  color:var(--oe-muted);
  font-size:13px;
}
.scenario-list li span{
  display:block;
  color:var(--oe-green);
  font-size:24px;
  font-weight:800;
  line-height:1;
  margin-bottom:5px;
}
.scenario-price{
  border-top:1px solid #ece7dc;
  border-bottom:1px solid #ece7dc;
  padding:18px 0;
  margin:10px 0 0;
}
.scenario-price small{
  display:block;
  color:var(--oe-muted);
  font-size:12px;
}
.scenario-price strong{
  display:block;
  margin-top:4px;
  color:var(--oe-green);
  font-size:32px;
  line-height:1.1;
}
.scenario-card .estimate-note{
  margin:14px 0 0;
  padding:0!important;
  color:var(--oe-muted);
  font-size:11px;
  line-height:1.5;
}

/* Reviews: desktop grid, mobile swipe only when multiple cards */
@media(max-width:760px){
  .oe-reviews-grid{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    padding-bottom:4px;
  }
  .oe-reviews-grid::-webkit-scrollbar{display:none}
  .oe-review-card{
    flex:0 0 calc(100% - 20px);
    scroll-snap-align:start;
    min-height:210px;
  }
  .oe-reviews-grid .oe-review-card:only-child{
    flex-basis:100%;
  }
  .scenario-list{
    grid-template-columns:repeat(3,1fr);
    gap:7px;
  }
  .scenario-list li{
    padding:12px 8px;
    font-size:11px;
  }
  .scenario-list li span{
    font-size:21px;
  }
}

/* v0.1.7 polish */
.scenario-price small b{
  font-weight:800;
  color:var(--oe-ink);
}

@media(max-width:760px){
  /* Hero image should end the hero immediately - no extra green tail */
  .hero-grid{
    gap:0;
  }
  .hero-media{
    margin-bottom:0;
    min-height:0;
    height:auto;
    clip-path:none;
    background:transparent;
  }
  .hero-media img{
    position:static;
    display:block;
    width:100%;
    height:auto;
    min-height:0;
    object-fit:cover;
    aspect-ratio:16/10;
  }
  .hero{
    padding-bottom:0;
  }

  /* Process cards: content-driven height */
  .work-process-grid article{
    min-height:0;
    padding:20px;
  }
  .work-process-grid{
    gap:10px;
  }

  /* Calculator price: keep on one line and reduce visual weight */
  .scenario-price{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:12px;
  }
  .scenario-price small{
    max-width:125px;
    margin:0;
  }
  .scenario-price strong{
    font-size:27px;
    white-space:nowrap;
    margin-top:0;
  }
}

/* v0.1.8 - more integrated mobile hero image */
@media(max-width:760px){
  .hero-media{
    width:calc(100% + 28px);
    margin-left:-14px;
    overflow:hidden;
    clip-path:polygon(0 12%,100% 0,100% 100%,0 100%);
  }

  .hero-media img{
    width:100%;
    aspect-ratio:16/8.7;
    object-fit:cover;
    object-position:center 48%;
    transform:scale(1.02);
    transform-origin:center;
  }

  .service-section{
    position:relative;
    z-index:2;
  }
}

/* v0.1.9 - calculator price label hierarchy */
.scenario-price small{
  color:var(--oe-green);
  font-size:14px;
  line-height:1.35;
}
.scenario-price small b{
  color:var(--oe-green);
  font-size:14px;
  font-weight:800;
}

@media(max-width:760px){
  .scenario-price small{
    font-size:12px;
    line-height:1.3;
    max-width:140px;
  }
  .scenario-price small b{
    font-size:12px;
  }
}


/* =========================================================
   Elektromontāža service page
   ========================================================= */

.service-page{background:#fff}
.service-hero{background:var(--oe-green);color:#fff}
.service-hero-grid{display:grid;grid-template-columns:1.02fr .98fr;min-height:590px}
.service-hero-copy{padding:74px 58px 68px 0;align-self:center}
.service-hero-copy h1{font-size:clamp(46px,5vw,68px);line-height:1;letter-spacing:-.045em;margin:12px 0 22px;max-width:760px}
.service-lead{font-size:17px;line-height:1.7;color:rgba(255,255,255,.76);max-width:690px}
.service-hero-actions{display:flex;gap:12px;margin-top:30px}
.btn-outline-dark{border-color:rgba(255,255,255,.45);color:#fff}
.service-hero-facts{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:42px;padding-top:26px;border-top:1px solid rgba(255,255,255,.13)}
.service-hero-facts strong{display:block;color:#fff;font-size:14px}
.service-hero-facts span{display:block;color:rgba(255,255,255,.58);font-size:12px;line-height:1.45;margin-top:4px}
.service-hero-media{position:relative;overflow:hidden;clip-path:polygon(16% 0,100% 0,100% 100%,0 100%)}
.service-hero-media img{width:100%;height:100%;object-fit:cover;display:block}

.service-section-heading{display:grid;grid-template-columns:1fr .7fr;gap:70px;align-items:end}
.service-section-heading h2{margin:8px 0 0;font-size:clamp(36px,4vw,50px);line-height:1.05;letter-spacing:-.035em;color:var(--oe-green)}
.service-section-heading>p{margin:0;color:var(--oe-muted);font-size:16px;line-height:1.65}

.electro-services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:38px}
.electro-services-grid article{border:1px solid var(--oe-line);border-radius:18px;padding:26px;min-height:260px}
.electro-services-grid h3{color:var(--oe-green);font-size:18px;margin:20px 0 8px}
.electro-services-grid p{color:var(--oe-muted);font-size:14px;line-height:1.6;margin:0}
.mini-icon{width:52px;height:52px;border-radius:13px;border:1px solid #b8cbc6;display:grid;place-items:center;color:var(--oe-green)}
.mini-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.section-soft{background:var(--oe-bg)}
.section-warm{background:var(--oe-warm)}

.service-need-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px;align-items:start}
.service-need h2{font-size:clamp(34px,4vw,48px);line-height:1.06;letter-spacing:-.035em;color:var(--oe-green);margin:8px 0 0}
.need-list{border-top:1px solid var(--oe-line)}
.need-list>div{display:grid;grid-template-columns:48px 1fr;gap:18px;padding:20px 0;border-bottom:1px solid var(--oe-line)}
.need-list span{color:var(--oe-yellow);font-weight:800}
.need-list p{margin:0;color:var(--oe-ink);font-size:15px;line-height:1.55}

.service-detail-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:72px;align-items:center}
.service-detail-media{min-height:470px;border-radius:22px;overflow:hidden}
.service-detail-media img{width:100%;height:100%;object-fit:cover;display:block}
.service-detail-copy h2{font-size:clamp(36px,4vw,50px);line-height:1.05;letter-spacing:-.035em;color:#fff;margin:8px 0 18px}
.service-detail-copy>p{color:rgba(255,255,255,.72);font-size:16px;line-height:1.7}
.service-checks{list-style:none;padding:0;margin:26px 0 0;display:grid;gap:12px}
.service-checks li{color:#fff;font-size:14px;padding-left:26px;position:relative}
.service-checks li:before{content:"✓";position:absolute;left:0;color:var(--oe-yellow);font-weight:900}

.service-process-head{display:grid;grid-template-columns:1fr .65fr;gap:70px;align-items:end}
.service-process-head h2{font-size:clamp(36px,4vw,50px);line-height:1.05;letter-spacing:-.035em;color:var(--oe-green);margin:8px 0 0}
.service-process-head>p{margin:0;color:var(--oe-muted);font-size:16px;line-height:1.65}
.service-process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:36px}
.service-process-grid article{border:1px solid var(--oe-line);border-radius:18px;padding:24px;min-height:220px}
.service-process-grid b{color:var(--oe-yellow);font-size:24px}
.service-process-grid h3{color:var(--oe-green);font-size:17px;margin:16px 0 7px}
.service-process-grid p{color:var(--oe-muted);font-size:13px;line-height:1.55;margin:0}

.service-cost-grid{display:grid;grid-template-columns:1fr .8fr;gap:80px;align-items:center}
.service-cost h2{font-size:clamp(36px,4vw,50px);line-height:1.05;letter-spacing:-.035em;color:var(--oe-green);margin:8px 0 14px}
.service-cost p{color:var(--oe-muted);font-size:16px;line-height:1.7}
.service-cost-note{background:#fff;border:1px solid #e6dfd1;border-radius:18px;padding:28px;box-shadow:var(--oe-shadow)}
.service-cost-note strong{color:var(--oe-green);font-size:18px}
.service-cost-note p{font-size:14px;margin:10px 0 0}

.faq-wrap{max-width:980px}
.service-faq .section-heading h2{font-size:clamp(36px,4vw,50px)}
.faq-list{margin-top:30px;border-top:1px solid var(--oe-line)}
.faq-list details{border-bottom:1px solid var(--oe-line);padding:0}
.faq-list summary{cursor:pointer;list-style:none;padding:20px 42px 20px 0;color:var(--oe-green);font-weight:800;position:relative}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary:after{content:"+";position:absolute;right:0;top:18px;color:var(--oe-yellow);font-size:22px;font-weight:500}
.faq-list details[open] summary:after{content:"−"}
.faq-list details p{margin:0;padding:0 50px 20px 0;color:var(--oe-muted);font-size:14px;line-height:1.65}

@media(max-width:980px){
  .service-hero-grid{grid-template-columns:1fr .8fr}
  .electro-services-grid{grid-template-columns:repeat(2,1fr)}
  .service-process-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:760px){
  .service-hero-grid{display:flex;flex-direction:column;min-height:auto}
  .service-hero-copy{padding:50px 0 34px}
  .service-hero-copy h1{font-size:38px}
  .service-lead{font-size:15px}
  .service-hero-actions{display:grid}
  .service-hero-facts{grid-template-columns:1fr;gap:14px;margin-top:28px;padding-top:20px}
  .service-hero-media{clip-path:polygon(0 9%,100% 0,100% 100%,0 100%);min-height:0}
  .service-hero-media img{aspect-ratio:16/9;object-fit:cover}

  .service-section-heading,
  .service-need-grid,
  .service-detail-grid,
  .service-process-head,
  .service-cost-grid{grid-template-columns:1fr;gap:24px}

  .electro-services-grid{grid-template-columns:1fr 1fr;gap:8px;margin-top:26px}
  .electro-services-grid article{min-height:210px;padding:17px}
  .electro-services-grid h3{font-size:14px;margin-top:14px}
  .electro-services-grid p{font-size:11px;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  .mini-icon{width:44px;height:44px}
  .mini-icon svg{width:23px;height:23px}

  .need-list>div{grid-template-columns:36px 1fr;gap:10px;padding:16px 0}
  .need-list p{font-size:13px}

  .service-detail-media{min-height:300px;order:2}
  .service-detail-copy h2{font-size:34px}

  .service-process-grid{grid-template-columns:1fr;gap:10px}
  .service-process-grid article{min-height:0;padding:20px}

  .service-cost-note{padding:22px}

  .faq-list summary{font-size:14px;padding-right:34px}
  .faq-list details p{padding-right:10px}
}

/* =========================================================
   Elektromontāža v0.2.1 - editorial service hero
   ========================================================= */

.service-hero-simple{
  background:#fff;
  padding:34px 0 0;
}
.service-breadcrumbs{
  display:flex;
  gap:8px;
  align-items:center;
  color:var(--oe-muted);
  font-size:12px;
  margin-bottom:34px;
}
.service-breadcrumbs a:hover{color:var(--oe-green)}
.service-title-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:90px;
  align-items:end;
  padding-bottom:42px;
}
.service-title-grid h1{
  margin:8px 0 0;
  color:var(--oe-green);
  font-size:clamp(46px,5vw,68px);
  line-height:1;
  letter-spacing:-.045em;
  max-width:760px;
}
.service-title-copy p{
  margin:0;
  color:var(--oe-muted);
  font-size:17px;
  line-height:1.7;
  max-width:620px;
}
.service-title-actions{
  display:flex;
  align-items:center;
  gap:20px;
  margin-top:24px;
}
.service-title-actions .text-link{
  color:var(--oe-green);
}
.service-wide-image{
  width:100%;
  height:430px;
  border-radius:22px;
  overflow:hidden;
  background:var(--oe-bg);
}
.service-wide-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.service-trust-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-bottom:1px solid var(--oe-line);
}
.service-trust-row>div{
  padding:22px 28px;
  border-left:1px solid var(--oe-line);
}
.service-trust-row>div:first-child{
  border-left:0;
  padding-left:0;
}
.service-trust-row strong{
  display:block;
  color:var(--oe-green);
  font-size:14px;
}
.service-trust-row span{
  display:block;
  margin-top:4px;
  color:var(--oe-muted);
  font-size:12px;
  line-height:1.45;
}

/* Slightly calmer service cards */
.electro-services-grid article{
  min-height:235px;
  padding:24px;
}
.electro-services-grid h3{
  margin-top:18px;
}
.service-intro.section{
  padding-top:72px;
}

@media(max-width:760px){
  .service-hero-simple{
    padding-top:18px;
  }
  .service-breadcrumbs{
    margin-bottom:22px;
    font-size:11px;
  }
  .service-title-grid{
    grid-template-columns:1fr;
    gap:18px;
    padding-bottom:28px;
  }
  .service-title-grid h1{
    font-size:38px;
  }
  .service-title-copy p{
    font-size:15px;
  }
  .service-title-actions{
    display:grid;
    gap:12px;
  }
  .service-title-actions .btn{
    width:100%;
  }
  .service-title-actions .text-link{
    text-align:center;
    padding:8px 0;
  }
  .service-wide-image{
    height:auto;
    border-radius:16px;
  }
  .service-wide-image img{
    aspect-ratio:16/9;
    height:auto;
  }
  .service-trust-row{
    grid-template-columns:1fr;
  }
  .service-trust-row>div,
  .service-trust-row>div:first-child{
    padding:14px 0;
    border-left:0;
    border-top:1px solid var(--oe-line);
  }
  .service-trust-row>div:first-child{
    border-top:0;
  }
  .electro-services-grid article{
    min-height:190px;
    padding:16px;
  }
}

/* =========================================================
   Elektromontāža v0.2.2 - compact service hero
   ========================================================= */

.service-hero-simple{
  padding:30px 0 52px;
}

.service-breadcrumbs{
  margin-bottom:28px;
}

.service-compact-hero{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:74px;
  align-items:center;
}

.service-compact-copy{
  max-width:700px;
}

.service-compact-copy h1{
  margin:8px 0 20px;
  color:var(--oe-green);
  font-size:clamp(46px,5vw,66px);
  line-height:1;
  letter-spacing:-.045em;
}

.service-compact-copy p{
  margin:0;
  color:var(--oe-muted);
  font-size:17px;
  line-height:1.7;
  max-width:650px;
}

.service-compact-copy .btn{
  margin-top:26px;
}

.service-compact-media{
  min-height:390px;
  max-height:470px;
  border-radius:22px;
  overflow:hidden;
  background:var(--oe-bg);
}

.service-compact-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Remove visual footprint from the previous hero arrangement */
.service-title-grid,
.service-wide-image,
.service-trust-row{
  display:none;
}

@media(max-width:900px){
  .service-compact-hero{
    grid-template-columns:1fr .85fr;
    gap:38px;
  }
}

@media(max-width:760px){
  .service-hero-simple{
    padding:18px 0 34px;
  }

  .service-breadcrumbs{
    margin-bottom:22px;
  }

  .service-compact-hero{
    grid-template-columns:1fr;
    gap:26px;
  }

  .service-compact-copy h1{
    font-size:38px;
  }

  .service-compact-copy p{
    font-size:15px;
  }

  .service-compact-copy .btn{
    width:100%;
    margin-top:22px;
  }

  .service-compact-media{
    min-height:0;
    max-height:none;
    border-radius:16px;
  }

  .service-compact-media img{
    height:auto;
    aspect-ratio:16/9;
  }
}

/* =========================================================
   v0.2.3 service page polish
   ========================================================= */

/* Service cards: consistent inner rhythm without forcing excess height */
.electro-services-grid article{
  display:flex;
  flex-direction:column;
}
.electro-services-grid .mini-icon{
  flex:0 0 auto;
}
.electro-services-grid h3{
  min-height:24px;
}
.electro-services-grid p{
  margin-top:0;
}

/* Detail section: true vertical centering */
.service-detail-grid{
  align-items:center;
}
.service-detail-media{
  min-height:0;
  aspect-ratio:4/3;
  align-self:center;
}
.service-detail-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.service-detail-copy{
  align-self:center;
}

/* Process heading no longer reserves a second text column */
.service-process-head{
  display:block;
}
.service-process-head>div{
  max-width:780px;
}

@media(max-width:760px){
  .electro-services-grid h3{
    min-height:36px;
  }

  .service-detail-media{
    aspect-ratio:4/3;
  }
}

/* =========================================================
   v0.2.4 service cards: full mobile copy + swipe
   ========================================================= */

/* The heading no longer reserves a right-hand text column */
.service-section-heading{
  display:block;
}
.service-section-heading>div{
  max-width:760px;
}

/* Desktop cards keep a tidy grid */
.electro-services-grid article{
  min-height:235px;
}
.electro-services-grid p{
  display:block;
  overflow:visible;
}

@media(max-width:760px){
  /* Informational service cards become a horizontal reading carousel.
     Full descriptions remain visible - no line clamp. */
  .electro-services-grid{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    margin-right:-14px;
    padding-right:14px;
    padding-bottom:5px;
  }

  .electro-services-grid::-webkit-scrollbar{
    display:none;
  }

  .electro-services-grid article{
    flex:0 0 82%;
    min-height:0;
    height:auto;
    scroll-snap-align:start;
    padding:20px;
  }

  .electro-services-grid h3{
    min-height:0;
    font-size:16px;
    line-height:1.3;
    margin:15px 0 8px;
  }

  .electro-services-grid p{
    display:block;
    overflow:visible;
    font-size:13px;
    line-height:1.55;
    -webkit-line-clamp:unset;
  }

  .electro-services-grid .mini-icon{
    width:48px;
    height:48px;
  }

  .electro-services-grid .mini-icon svg{
    width:25px;
    height:25px;
  }
}


/* =========================================================
   Elektriskie mērījumi service page
   ========================================================= */

.measurement-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:36px;
}

.measurement-cards article{
  border:1px solid var(--oe-line);
  border-radius:18px;
  padding:24px;
  min-height:245px;
  display:flex;
  flex-direction:column;
}

.measurement-cards h3{
  color:var(--oe-green);
  font-size:18px;
  margin:18px 0 8px;
}

.measurement-cards p{
  color:var(--oe-muted);
  font-size:14px;
  line-height:1.6;
  margin:0;
}

.measurement-process-grid article{
  min-height:220px;
}

@media(max-width:980px){
  .measurement-cards{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:760px){
  .measurement-cards{
    display:flex;
    gap:12px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    margin-right:-14px;
    padding-right:14px;
    padding-bottom:5px;
  }

  .measurement-cards::-webkit-scrollbar{
    display:none;
  }

  .measurement-cards article{
    flex:0 0 82%;
    min-height:0;
    height:auto;
    scroll-snap-align:start;
    padding:20px;
  }

  .measurement-cards h3{
    font-size:16px;
    line-height:1.3;
    margin:15px 0 8px;
  }

  .measurement-cards p{
    font-size:13px;
    line-height:1.55;
  }

  .measurement-process-grid article{
    min-height:0;
  }
}


/* v0.2.7 measurement standards note */
.measurement-standards{
  display:flex;
  gap:18px;
  align-items:flex-start;
  margin-top:26px;
  padding:20px 22px;
  border:1px solid var(--oe-line);
  border-radius:16px;
  background:var(--oe-bg);
}
.measurement-standards-icon{
  flex:0 0 42px;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  color:var(--oe-yellow);
}
.measurement-standards-icon svg{
  width:28px;
  height:28px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.measurement-standards strong{
  display:block;
  color:var(--oe-green);
  font-size:15px;
}
.measurement-standards p{
  margin:5px 0 0;
  color:var(--oe-muted);
  font-size:13px;
  line-height:1.6;
}

@media(max-width:760px){
  .measurement-standards{
    padding:17px;
    gap:12px;
  }
  .measurement-standards-icon{
    flex-basis:34px;
    width:34px;
    height:34px;
  }
  .measurement-standards-icon svg{
    width:24px;
    height:24px;
  }
}


/* v0.2.8 measurement cards without decorative icons */
.measurement-card-number{
  color:var(--oe-yellow);
  font-size:13px;
  font-weight:850;
  letter-spacing:.12em;
  line-height:1;
}
.measurement-cards h3{
  margin-top:16px;
}

@media(max-width:760px){
  .measurement-card-number{
    font-size:12px;
  }
}


/* =========================================================
   v0.2.9 - typography-first service cards
   ========================================================= */

.service-card-number{
  color:var(--oe-yellow);
  font-size:12px;
  font-weight:850;
  letter-spacing:.12em;
  line-height:1;
}

/* Homepage service cards */
.service-grid .service-card-number{
  margin-bottom:16px;
}
.service-grid .service-card h3{
  margin-top:0;
}

/* Elektromontāža service cards */
.electro-services-grid .service-card-number{
  margin-bottom:16px;
}
.electro-services-grid h3{
  margin-top:0;
}

@media(max-width:760px){
  .service-card-number{
    font-size:11px;
  }
  .service-grid .service-card-number,
  .electro-services-grid .service-card-number{
    margin-bottom:12px;
  }
}


/* =========================================================
   v0.3.0 - clean service cards without decorative accents
   ========================================================= */

.service-grid .service-card h3,
.electro-services-grid h3,
.measurement-cards h3{
  margin-top:0;
}

/* Number accents are intentionally not used in non-sequential cards. */
.service-card-number,
.measurement-card-number{
  display:none !important;
}


/* =========================================================
   v0.3.1 - content-driven service card heights
   ========================================================= */

/* Desktop/tablet:
   grid rows size themselves to the tallest card in that row.
   No artificial vertical space is reserved. */
@media(min-width:761px){

  /* Homepage */
  .service-grid{
    align-items:stretch;
  }

  .service-grid .service-card{
    min-height:0;
    height:auto;
    padding-top:24px;
    padding-bottom:22px;
  }

  /* Keep homepage arrow at the bottom without forcing a tall card. */
  .service-grid .service-card{
    display:flex;
    flex-direction:column;
  }

  .service-grid .service-card .service-arrow{
    margin-top:18px;
  }

  /* Elektromontāža */
  .electro-services-grid{
    align-items:stretch;
  }

  .electro-services-grid article{
    min-height:0;
    height:auto;
    padding-top:22px;
    padding-bottom:22px;
  }

  /* Elektriskie mērījumi */
  .measurement-cards{
    align-items:stretch;
  }

  .measurement-cards article{
    min-height:0;
    height:auto;
    padding-top:22px;
    padding-bottom:22px;
  }
}

/* Slightly tighten the card typography rhythm now that there is no icon/number. */
.service-grid .service-card h3,
.electro-services-grid h3,
.measurement-cards h3{
  margin-top:0;
  margin-bottom:8px;
}

.service-grid .service-card p,
.electro-services-grid p,
.measurement-cards p{
  margin-bottom:0;
}


/* =========================================================
   v0.3.2 - homepage mobile service card heights
   ========================================================= */

@media(max-width:760px){

  /* Homepage cards: remove legacy fixed/min heights.
     CSS grid keeps both cards in each row equal to the tallest card. */
  .service-grid{
    align-items:stretch;
  }

  .service-grid .service-card{
    min-height:0 !important;
    height:auto !important;
    padding:16px 14px 14px;
  }

  .service-grid .service-card h3{
    margin:0 0 6px;
  }

  .service-grid .service-card p{
    margin:0;
  }

  .service-grid .service-card .service-arrow{
    margin-top:14px;
  }
}


/* =========================================================
   v0.4.0 - Par mums + client marquee
   ========================================================= */

.about-hero{
  padding:30px 0 70px;
  background:#fff;
}
.about-hero-grid{
  display:grid;
  grid-template-columns:1fr .92fr;
  gap:76px;
  align-items:center;
}
.about-hero-copy h1{
  margin:8px 0 20px;
  color:var(--oe-green);
  font-size:clamp(48px,5.3vw,70px);
  line-height:.98;
  letter-spacing:-.047em;
}
.about-hero-copy p{
  color:var(--oe-muted);
  font-size:17px;
  line-height:1.72;
  max-width:690px;
  margin:0;
}
.about-hero-copy .btn{
  margin-top:26px;
}
.about-hero-media{
  border-radius:22px;
  overflow:hidden;
  aspect-ratio:4/3;
  background:var(--oe-bg);
}
.about-hero-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.about-editorial-grid{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:90px;
}
.about-editorial-grid h2,
.about-region-grid h2{
  color:var(--oe-green);
  font-size:clamp(36px,4vw,50px);
  line-height:1.05;
  letter-spacing:-.035em;
  margin:8px 0 0;
}
.about-editorial-copy>p{
  margin:0;
  color:var(--oe-muted);
  font-size:16px;
  line-height:1.72;
  max-width:720px;
}
.about-values{
  margin-top:34px;
  border-top:1px solid var(--oe-line);
}
.about-values>div{
  display:grid;
  grid-template-columns:.72fr 1fr;
  gap:28px;
  padding:18px 0;
  border-bottom:1px solid var(--oe-line);
}
.about-values strong{
  color:var(--oe-green);
  font-size:14px;
}
.about-values span{
  color:var(--oe-muted);
  font-size:13px;
  line-height:1.55;
}

.about-work-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:74px;
  align-items:center;
}
.about-work-media{
  border-radius:22px;
  overflow:hidden;
  aspect-ratio:4/3;
}
.about-work-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.about-work-copy h2{
  color:#fff;
  font-size:clamp(38px,4vw,52px);
  line-height:1.03;
  letter-spacing:-.038em;
  margin:8px 0 18px;
}
.about-work-copy>p{
  color:rgba(255,255,255,.72);
  font-size:16px;
  line-height:1.7;
}
.about-service-links{
  margin-top:28px;
  border-top:1px solid rgba(255,255,255,.16);
}
.about-service-links a{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  padding:15px 0;
  border-bottom:1px solid rgba(255,255,255,.16);
  color:#fff;
  font-weight:750;
  font-size:14px;
}
.about-service-links b{
  color:var(--oe-yellow);
  font-size:18px;
}

.about-clients{
  overflow:hidden;
}
.about-clients-head{
  display:grid;
  grid-template-columns:1fr .65fr;
  gap:70px;
  align-items:end;
}
.about-clients-head h2{
  margin:8px 0 0;
  color:var(--oe-green);
  font-size:clamp(36px,4vw,50px);
  line-height:1.05;
  letter-spacing:-.035em;
}
.about-clients-head>p{
  color:var(--oe-muted);
  margin:0;
  font-size:14px;
  line-height:1.65;
}
.about-clients-marquee-wrap{
  margin-top:36px;
  overflow:hidden;
  mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent);
  -webkit-mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent);
}

.oe-clients-marquee{
  width:100%;
  overflow:hidden;
}
.oe-clients-track{
  display:flex;
  width:max-content;
  will-change:transform;
  animation:oeClientsMarquee 26s linear infinite;
}
.oe-clients-marquee:hover .oe-clients-track{
  animation-play-state:paused;
}
.oe-clients-set{
  display:flex;
  gap:14px;
  padding-right:14px;
}
.oe-client-item{
  width:220px;
  height:112px;
  border:1px solid var(--oe-line);
  border-radius:16px;
  display:grid;
  place-items:center;
  background:#fff;
  padding:22px 28px;
  flex:0 0 auto;
}
.oe-clients-small .oe-client-item{
  width:calc((min(1200px, 86vw) - 28px)/3);
  min-width:260px;
}
.oe-clients-many .oe-client-item{
  width:220px;
}
.oe-client-logo{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
}
.oe-client-logo-image{
  display:block;
  max-width:100%;
  max-height:62px;
  width:auto;
  height:auto;
  object-fit:contain;
  filter:grayscale(1);
  opacity:.72;
  transition:filter .2s ease,opacity .2s ease,transform .2s ease;
}
a.oe-client-item:hover .oe-client-logo-image{
  filter:grayscale(0);
  opacity:1;
  transform:scale(1.03);
}
@keyframes oeClientsMarquee{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

.clients-placeholder{
  border:1px dashed var(--oe-line);
  border-radius:14px;
  padding:20px;
  display:grid;
  gap:5px;
  color:var(--oe-muted);
}
.clients-placeholder strong{color:var(--oe-green)}

.about-region-grid{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:90px;
  align-items:center;
}
.about-region-grid p{
  max-width:650px;
  color:var(--oe-muted);
  font-size:15px;
  line-height:1.7;
  margin:0;
}

@media(max-width:900px){
  .about-hero-grid,
  .about-work-grid{
    gap:42px;
  }
  .oe-clients-small .oe-client-item{
    width:280px;
  }
}

@media(max-width:760px){
  .about-hero{
    padding:18px 0 38px;
  }
  .about-hero-grid,
  .about-editorial-grid,
  .about-work-grid,
  .about-clients-head,
  .about-region-grid{
    grid-template-columns:1fr;
    gap:24px;
  }
  .about-hero-copy h1{
    font-size:39px;
  }
  .about-hero-copy p{
    font-size:15px;
  }
  .about-hero-copy .btn{
    width:100%;
  }
  .about-hero-media,
  .about-work-media{
    border-radius:16px;
    aspect-ratio:16/10;
  }
  .about-values>div{
    grid-template-columns:1fr;
    gap:5px;
    padding:15px 0;
  }
  .about-work-copy h2{
    font-size:35px;
  }
  .about-clients-marquee-wrap{
    margin-top:26px;
    margin-right:-14px;
    mask-image:none;
    -webkit-mask-image:none;
  }
  .oe-client-item,
  .oe-clients-small .oe-client-item,
  .oe-clients-many .oe-client-item{
    width:190px;
    height:92px;
    padding:18px 22px;
  }
  .oe-client-logo-image{
    max-height:52px;
  }
  .oe-clients-track{
    animation-duration:22s;
  }
}

@media(prefers-reduced-motion:reduce){
  .oe-clients-track{
    animation:none;
  }
  .oe-clients-marquee{
    overflow-x:auto;
    scrollbar-width:none;
  }
  .oe-clients-marquee::-webkit-scrollbar{display:none}
}


/* =========================================================
   v0.4.1 - About page copy + clients polish
   ========================================================= */

.about-clients-head{
  display:block;
}

.about-clients-head>div{
  max-width:none;
}

.about-clients-head h2{
  max-width:none;
  white-space:nowrap;
}

/* Larger client-logo presentation */
.oe-client-item{
  width:250px;
  height:128px;
  padding:18px 22px;
}

.oe-clients-small .oe-client-item{
  width:calc((min(1200px, 86vw) - 28px)/3);
  min-width:300px;
  height:132px;
}

.oe-clients-many .oe-client-item{
  width:230px;
  height:122px;
}

.oe-client-logo-image{
  max-width:96%;
  max-height:88px;
  width:auto;
  height:auto;
}

@media(max-width:1180px){
  .about-clients-head h2{
    white-space:normal;
  }
}

@media(max-width:760px){
  .oe-client-item,
  .oe-clients-small .oe-client-item,
  .oe-clients-many .oe-client-item{
    width:210px;
    height:108px;
    padding:15px 18px;
  }

  .oe-client-logo-image{
    max-width:98%;
    max-height:72px;
  }
}


/* =========================================================
   v0.4.2 - About image + larger client logos
   ========================================================= */

/* Only the Par mums hero image: show the entire PNG inside the box. */
.about-page .about-hero-media{
  background:#f5f7f6;
}

.about-page .about-hero-media img{
  object-fit:contain;
  object-position:center;
  padding:24px;
}

/* Client logos should visually occupy most of each card. */
.about-page .oe-client-logo{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.about-page .oe-client-logo-image{
  width:70% !important;
  height:70% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:contain;
  object-position:center;
}

/* Some uploaded logo files include generous whitespace.
   A restrained scale-up makes their visible mark closer to the intended card size. */
.about-page .oe-client-logo-image{
  transform:scale(1.35);
}

.about-page a.oe-client-item:hover .oe-client-logo-image{
  transform:scale(1.42);
}

/* Par mums only: hero illustration/logo is unnecessary on mobile. */
@media(max-width:760px){
  .about-page .about-hero-media{
    display:none;
  }

  .about-page .about-hero-grid{
    grid-template-columns:1fr;
  }

  .about-page .oe-client-logo-image{
    width:72% !important;
    height:72% !important;
    transform:scale(1.3);
  }

  .about-page a.oe-client-item:hover .oe-client-logo-image{
    transform:scale(1.3);
  }
}


/* =========================================================
   v0.4.3 - client logos use full card area
   ========================================================= */

.about-page .oe-client-item{
  padding:8px !important;
}

.about-page .oe-client-logo{
  width:100%;
  height:100%;
  overflow:visible;
}

.about-page .oe-client-logo-image{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center !important;
  transform:scale(1.15);
}

.about-page a.oe-client-item:hover .oe-client-logo-image{
  transform:scale(1.2);
}

@media(max-width:760px){
  .about-page .oe-client-item{
    padding:6px !important;
  }

  .about-page .oe-client-logo-image{
    width:100% !important;
    height:100% !important;
    transform:scale(1.12);
  }

  .about-page a.oe-client-item:hover .oe-client-logo-image{
    transform:scale(1.12);
  }
}


/* =========================================================
   v0.4.4 - restore safe client-logo sizing at 85%
   ========================================================= */

.about-page .oe-client-item{
  padding:18px 22px !important;
}

.about-page .oe-client-logo{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.about-page .oe-client-logo-image{
  width:85% !important;
  height:85% !important;
  max-width:85% !important;
  max-height:85% !important;
  object-fit:contain !important;
  object-position:center !important;
  transform:none !important;
}

.about-page a.oe-client-item:hover .oe-client-logo-image{
  transform:scale(1.03) !important;
}

@media(max-width:760px){
  .about-page .oe-client-item{
    padding:15px 18px !important;
  }

  .about-page .oe-client-logo-image{
    width:85% !important;
    height:85% !important;
    max-width:85% !important;
    max-height:85% !important;
    transform:none !important;
  }

  .about-page a.oe-client-item:hover .oe-client-logo-image{
    transform:none !important;
  }
}


/* =========================================================
   v0.4.5 - client logo native-size cap
   ========================================================= */

.about-page .oe-client-logo-image{
  width:auto !important;
  height:auto !important;
  max-width:200px !important;
  max-height:50px !important;
  object-fit:contain !important;
  object-position:center !important;
  transform:none !important;
}

.about-page a.oe-client-item:hover .oe-client-logo-image{
  transform:none !important;
}

@media(max-width:760px){
  .about-page .oe-client-logo-image{
    width:auto !important;
    height:auto !important;
    max-width:200px !important;
    max-height:50px !important;
  }
}


/* =========================================================
   v0.4.9 - mobile client logo swipe
   Keep the stable CSS infinite marquee; add native touch scroll only.
   ========================================================= */

@media(max-width:760px){
  .about-page .oe-clients-marquee{
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    touch-action:pan-x;
    scrollbar-width:none;
  }

  .about-page .oe-clients-marquee::-webkit-scrollbar{
    display:none;
  }

  /* Pause the existing marquee only while the user is actively touching it. */
  .about-page .oe-clients-marquee:active .oe-clients-track{
    animation-play-state:paused;
  }

  .about-page .oe-client-item,
  .about-page .oe-client-logo,
  .about-page .oe-client-logo-image{
    -webkit-user-select:none;
    user-select:none;
  }

  .about-page .oe-client-logo-image{
    -webkit-user-drag:none;
  }
}


/* =========================================================
   v0.6.0 - Darbi / portfolio system
   ========================================================= */

.work-archive-hero{
  padding:30px 0 34px;
  background:#fff;
}
.work-archive-heading{
  display:grid;
  grid-template-columns:1fr .72fr;
  gap:80px;
  align-items:end;
}
.work-archive-heading h1{
  color:var(--oe-green);
  font-size:clamp(48px,5.3vw,70px);
  line-height:.98;
  letter-spacing:-.047em;
  margin:8px 0 0;
}
.work-archive-heading>p{
  margin:0;
  color:var(--oe-muted);
  font-size:16px;
  line-height:1.7;
  max-width:600px;
}

.work-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.work-card{
  border:1px solid var(--oe-line);
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  display:flex;
  flex-direction:column;
}
.work-card-image{
  display:block;
  aspect-ratio:4/3;
  overflow:hidden;
  background:var(--oe-bg);
}
.work-card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .28s ease;
}
.work-card:hover .work-card-image img{
  transform:scale(1.025);
}
.work-card-body{
  padding:22px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.work-card-region{
  color:var(--oe-yellow);
  font-size:11px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.1em;
  margin-bottom:8px;
}
.work-card h2{
  font-size:20px;
  line-height:1.2;
  color:var(--oe-green);
  margin:0;
}
.work-card h2 a{color:inherit}
.work-card p{
  color:var(--oe-muted);
  font-size:13px;
  line-height:1.6;
  margin:10px 0 0;
}
.work-card-link{
  color:var(--oe-green);
  font-size:13px;
  font-weight:800;
  margin-top:18px;
}
.work-empty{
  border:1px dashed var(--oe-line);
  border-radius:16px;
  padding:28px;
  color:var(--oe-muted);
}
.work-empty strong{
  display:block;
  color:var(--oe-green);
  font-size:18px;
}
.work-empty p{margin:5px 0 0}

.work-pagination{
  margin-top:34px;
}
.work-pagination ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.work-pagination a,
.work-pagination span{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:1px solid var(--oe-line);
  border-radius:10px;
  color:var(--oe-green);
  font-weight:700;
}
.work-pagination .current{
  background:var(--oe-green);
  color:#fff;
  border-color:var(--oe-green);
}

/* Single project */
.work-single-hero{
  padding:30px 0 64px;
  background:#fff;
}
.work-single-heading{
  display:grid;
  grid-template-columns:1fr .95fr;
  gap:74px;
  align-items:center;
}
.work-single-title h1{
  color:var(--oe-green);
  font-size:clamp(46px,5vw,66px);
  line-height:1;
  letter-spacing:-.045em;
  margin:8px 0 18px;
}
.work-single-title>p{
  color:var(--oe-muted);
  font-size:16px;
  line-height:1.7;
  max-width:650px;
}
.work-single-meta{
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  margin-top:25px;
  padding-top:20px;
  border-top:1px solid var(--oe-line);
}
.work-single-meta span{
  display:grid;
  gap:3px;
  color:var(--oe-muted);
  font-size:13px;
}
.work-single-meta strong{
  color:var(--oe-green);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.work-single-hero-image{
  border-radius:22px;
  overflow:hidden;
  aspect-ratio:4/3;
  background:var(--oe-bg);
}
.work-single-hero-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.work-single-content-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:90px;
  align-items:start;
}
.work-single-content h2{
  color:var(--oe-green);
  font-size:clamp(34px,3.5vw,46px);
  line-height:1.06;
  letter-spacing:-.035em;
  margin:8px 0 20px;
}
.work-prose{
  color:var(--oe-muted);
  font-size:15px;
  line-height:1.75;
}
.work-prose p:first-child{margin-top:0}
.work-single-done ul{
  list-style:none;
  padding:0;
  margin:0;
  border-top:1px solid var(--oe-line);
}
.work-single-done li{
  padding:15px 0 15px 24px;
  border-bottom:1px solid var(--oe-line);
  color:var(--oe-ink);
  font-size:14px;
  line-height:1.55;
  position:relative;
}
.work-single-done li:before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--oe-yellow);
  font-weight:900;
}

.work-gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:30px;
}
.work-gallery-item{
  display:block;
  aspect-ratio:4/3;
  overflow:hidden;
  border-radius:14px;
  background:#fff;
}
.work-gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .25s ease;
}
.work-gallery-item:hover img{
  transform:scale(1.025);
}

/* Homepage project cards are links when real projects exist. */
.project-card>a{
  display:block;
  width:100%;
  height:100%;
  color:inherit;
}
.project-card>a>img{
  width:100%;
  height:100%;
  object-fit:cover;
}

@media(max-width:980px){
  .work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .work-single-heading{gap:40px}
}

@media(max-width:760px){
  .work-archive-hero{
    padding:18px 0 24px;
  }
  .work-archive-heading,
  .work-single-heading,
  .work-single-content-grid{
    grid-template-columns:1fr;
    gap:24px;
  }
  .work-archive-heading h1{
    font-size:40px;
  }
  .work-archive-heading>p{
    font-size:14px;
  }
  .work-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
  .work-card-body{
    padding:18px;
  }
  .work-single-hero{
    padding:18px 0 38px;
  }
  .work-single-title h1{
    font-size:39px;
  }
  .work-single-hero-image{
    border-radius:16px;
    aspect-ratio:16/10;
  }
  .work-single-meta{
    gap:18px;
  }
  .work-gallery-grid{
    display:flex;
    overflow-x:auto;
    gap:10px;
    margin-right:-14px;
    padding-right:14px;
    scrollbar-width:none;
    scroll-snap-type:x mandatory;
  }
  .work-gallery-grid::-webkit-scrollbar{display:none}
  .work-gallery-item{
    flex:0 0 82%;
    scroll-snap-align:start;
  }
}


/* =========================================================
   v0.6.1 - project card fix + single project gallery/lightbox
   ========================================================= */

/* Homepage project card: prevent white seams at rounded bottom corners. */
.project-card{
  overflow:hidden;
  isolation:isolate;
}
.project-card>a{
  overflow:hidden;
  border-radius:inherit;
}
.project-card>a>img{
  display:block;
}
.project-card .project-overlay{
  border-radius:0 0 inherit inherit;
}

/* Single project gallery */
.work-single-gallery{
  min-width:0;
}
.work-single-gallery .work-single-hero-image{
  width:100%;
  border:0;
  padding:0;
  cursor:zoom-in;
  display:block;
  text-align:inherit;
}
.work-single-gallery .work-single-hero-image img{
  transition:transform .22s ease;
}
.work-single-gallery .work-single-hero-image:hover img{
  transform:scale(1.012);
}

.work-single-thumbs{
  display:flex;
  gap:8px;
  margin-top:10px;
  overflow-x:auto;
  padding-bottom:3px;
  scrollbar-width:none;
}
.work-single-thumbs::-webkit-scrollbar{display:none}
.work-single-thumb{
  flex:0 0 82px;
  width:82px;
  height:58px;
  padding:0;
  border:2px solid transparent;
  border-radius:9px;
  overflow:hidden;
  background:var(--oe-bg);
  cursor:pointer;
  opacity:.7;
  transition:border-color .15s ease,opacity .15s ease;
}
.work-single-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.work-single-thumb.is-active{
  border-color:var(--oe-yellow);
  opacity:1;
}
.work-single-thumb:hover{opacity:1}

/* Lightbox */
.work-lightbox[hidden]{display:none!important}
.work-lightbox{
  position:fixed;
  inset:0;
  z-index:99999;
  display:grid;
  place-items:center;
  padding:28px;
}
.work-lightbox-backdrop{
  position:absolute;
  inset:0;
  background:rgba(1,20,17,.9);
}
.work-lightbox-dialog{
  position:relative;
  z-index:1;
  width:min(1180px,94vw);
  height:min(820px,88vh);
  display:grid;
  grid-template-columns:64px minmax(0,1fr) 64px;
  align-items:center;
}
.work-lightbox-figure{
  margin:0;
  min-width:0;
  min-height:0;
  height:100%;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  place-items:center;
  gap:10px;
}
.work-lightbox-figure img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:12px;
}
.work-lightbox-figure figcaption{
  color:rgba(255,255,255,.75);
  font-size:12px;
  text-align:center;
}
.work-lightbox-close{
  position:absolute;
  top:-6px;
  right:0;
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  z-index:2;
}
.work-lightbox-nav{
  width:50px;
  height:64px;
  border:0;
  background:rgba(255,255,255,.09);
  color:#fff;
  border-radius:12px;
  font-size:46px;
  line-height:1;
  cursor:pointer;
}
.work-lightbox-nav:hover,
.work-lightbox-close:hover{
  background:rgba(255,255,255,.18);
}
.work-lightbox-prev{justify-self:start}
.work-lightbox-next{justify-self:end}
body.work-lightbox-open{overflow:hidden}

@media(max-width:760px){
  .work-single-thumbs{
    margin-right:-14px;
    padding-right:14px;
  }
  .work-single-thumb{
    flex-basis:72px;
    width:72px;
    height:52px;
  }

  .work-lightbox{
    padding:14px;
  }
  .work-lightbox-dialog{
    width:100%;
    height:82vh;
    grid-template-columns:42px minmax(0,1fr) 42px;
  }
  .work-lightbox-nav{
    width:38px;
    height:54px;
    font-size:36px;
  }
  .work-lightbox-close{
    top:0;
    right:0;
  }
}


/* =========================================================
   v0.6.2 - tighter desktop project detail composition
   ========================================================= */

@media(min-width:761px){
  .work-single-heading{
    display:grid;
    grid-template-columns:1fr .95fr;
    grid-template-areas:
      "title gallery"
      "done  gallery";
    gap:28px 74px;
    align-items:start;
  }

  .work-single-title{
    grid-area:title;
    align-self:start;
  }

  .work-single-gallery{
    grid-area:gallery;
    align-self:start;
  }

  .work-single-done-hero{
    grid-area:done;
    align-self:start;
    margin-top:2px;
  }

  .work-single-done-hero h2{
    color:var(--oe-green);
    font-size:clamp(30px,3vw,40px);
    line-height:1.06;
    letter-spacing:-.035em;
    margin:0 0 16px;
  }

  /* The hero no longer needs the previous large bottom gap. */
  .work-single-hero{
    padding-bottom:46px;
  }

  /* If a longer project description exists below, keep it compact. */
  .work-single-content{
    padding-top:54px;
  }

  .work-single-content-grid{
    grid-template-columns:minmax(0,760px);
    gap:0;
  }
}

/* Mobile order remains:
   title/meta -> gallery -> completed work */
@media(max-width:760px){
  .work-single-heading{
    display:grid;
    grid-template-columns:1fr;
    grid-template-areas:
      "title"
      "gallery"
      "done";
    gap:24px;
  }

  .work-single-title{grid-area:title}
  .work-single-gallery{grid-area:gallery}
  .work-single-done-hero{grid-area:done}

  .work-single-done-hero h2{
    color:var(--oe-green);
    font-size:32px;
    line-height:1.08;
    letter-spacing:-.03em;
    margin:4px 0 16px;
  }
}


/* =========================================================
   v0.6.3 - homepage interaction + project/lightbox polish
   ========================================================= */

/* Entire homepage service card is clickable. */
.service-card{
  padding:0 !important;
}
.service-card-link{
  display:flex;
  flex-direction:column;
  width:100%;
  height:100%;
  min-height:inherit;
  padding:24px;
  color:inherit;
  border-radius:inherit;
}
.service-card-link h3{
  margin:0 0 8px;
}
.service-card-link p{
  margin:0;
}
.service-card-arrow{
  display:block;
  margin-top:18px;
  color:var(--oe-yellow);
  font-size:22px;
  line-height:1;
}
.service-card-link:focus-visible{
  outline:2px solid var(--oe-yellow);
  outline-offset:3px;
}

/* Homepage project cards:
   clip all layers to exactly the same radius and remove anti-aliased white seams. */
.project-card{
  background:var(--oe-green) !important;
  border-radius:18px;
  overflow:hidden;
  clip-path:inset(0 round 18px);
}
.project-card>a{
  position:absolute;
  inset:0;
  display:block;
  border-radius:inherit;
  overflow:hidden;
  background:var(--oe-green);
}
.project-card>a>img,
.project-card>img{
  position:absolute;
  inset:-1px;
  width:calc(100% + 2px);
  height:calc(100% + 2px);
  max-width:none;
}
.project-card:after{
  inset:-1px;
  border-radius:inherit;
  pointer-events:none;
}
.project-overlay{
  pointer-events:none;
}

/* Homepage measurement icons */
.measurement-point-icon svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Mobile-only link below project cards. */
.projects-mobile-all{
  display:none;
  color:#fff;
  font-size:13px;
  font-weight:800;
}

/* Full-width long-form project description on desktop. */
@media(min-width:761px){
  .work-single-content-grid{
    display:block;
  }
  .work-single-description{
    width:100%;
    max-width:none;
  }
  .work-prose{
    width:100%;
    max-width:none;
  }
}

/* Precisely centered lightbox controls on desktop. */
.work-lightbox-nav,
.work-lightbox-close{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  text-align:center;
  font-family:Arial,sans-serif;
}
.work-lightbox-nav{
  line-height:1;
}
.work-lightbox-close{
  line-height:1;
}

/* Mobile: swipe through lightbox, no side arrow buttons. */
@media(max-width:760px){
  .service-card-link{
    padding:16px 14px 14px;
  }
  .service-card-arrow{
    margin-top:14px;
  }

  .projects-mobile-all{
    display:inline-flex;
    margin-top:20px;
  }

  .work-lightbox-dialog{
    grid-template-columns:minmax(0,1fr) !important;
  }
  .work-lightbox-nav{
    display:none !important;
  }
  .work-lightbox-figure{
    grid-column:1;
    touch-action:pan-y;
  }
}


/* =========================================================
   v0.6.4 - project content width + spacing correction
   ========================================================= */

.work-single-description,
.work-prose{
  width:100%;
  max-width:none;
}

/* Reduce the oversized gap between completed-work block and long-form content. */
@media(min-width:761px){
  .work-single-hero{
    padding-bottom:24px;
  }

  .work-single-content{
    padding-top:34px;
  }
}

@media(max-width:760px){
  .work-single-hero{
    padding-bottom:24px;
  }

  .work-single-content{
    padding-top:34px;
  }
}


/* =========================================================
   v0.6.5 - align project long-form content with site container
   ========================================================= */



/* =========================================================
   v0.6.6 - single project content uses the global site container
   ========================================================= */

/* Intentionally no custom width here.
   .work-single-content > .container inherits the theme-wide:
   width:min(1320px,calc(100% - 48px));
   and the existing mobile container rule. */
.work-single-content-grid,
.work-single-description,
.work-prose{
  max-width:none;
}


/* =========================================================
   v0.6.7 - fix actual single-project container cascade
   ========================================================= */

/*
 * .work-single-content-grid is the SAME element as .container.
 * Do not assign width:100% to it, because that overrides the global
 * .container width due to equal selector specificity and later source order.
 *
 * Geometry therefore comes exclusively from the global .container rule.
 */
.work-single-content-grid.container{
  margin-inline:auto;
}

@media(min-width:761px){
  .work-single-content-grid.container{
    width:min(1320px, calc(100% - 48px));
  }
}

@media(max-width:760px){
  .work-single-content-grid.container{
    width:min(100% - 28px, 1320px);
  }
}


/* =========================================================
   v0.6.8 - tighter /darbi/ archive vertical rhythm
   ========================================================= */

/* Bring the project grid closer to the archive heading. */
.work-archive-hero{
  padding-bottom:18px;
}

.work-archive-list{
  padding-top:34px;
}

@media(max-width:760px){
  .work-archive-hero{
    padding-bottom:12px;
  }

  .work-archive-list{
    padding-top:24px;
  }
}


/* =========================================================
   v0.7.0 - full site-container pricing page
   ========================================================= */

/*
 * The generic content-page intentionally has max-width:920px.
 * /cenu-kalkulators/ uses its own template so the calculator can
 * use the same global 1320px content width as the rest of the site.
 */
.pricing-content-page{
  max-width:none;
}

.pricing-entry-content{
  width:100%;
  max-width:none;
}


/* =========================================================
   v0.7.1 - Kontakti / pieteikums
   ========================================================= */

.contact-hero{
  padding:30px 0 46px;
  background:#fff;
}
.contact-hero-grid{
  display:grid;
  grid-template-columns:1fr .72fr;
  gap:80px;
  align-items:end;
}
.contact-hero h1{
  margin:8px 0 0;
  color:var(--oe-green);
  font-size:clamp(48px,5.3vw,70px);
  line-height:.98;
  letter-spacing:-.047em;
}
.contact-hero-grid>p{
  max-width:570px;
  margin:0;
  color:var(--oe-muted);
  font-size:16px;
  line-height:1.7;
}

.contact-main{
  background:var(--oe-bg);
}
.contact-layout{
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:74px;
  align-items:start;
}
.contact-info{
  padding-top:10px;
}
.contact-info h2,
.contact-form-head h2,
.contact-region-grid h2{
  color:var(--oe-green);
  letter-spacing:-.035em;
}
.contact-info h2{
  margin:8px 0 16px;
  font-size:clamp(34px,3.6vw,48px);
  line-height:1.06;
}
.contact-info-intro{
  margin:0;
  max-width:500px;
  color:var(--oe-muted);
  font-size:14px;
  line-height:1.7;
}

.contact-details{
  margin-top:32px;
  border-top:1px solid var(--oe-line);
}
.contact-detail{
  padding:17px 0;
  border-bottom:1px solid var(--oe-line);
  display:grid;
  gap:4px;
}
.contact-detail>span{
  color:var(--oe-muted);
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.contact-detail>a,
.contact-detail>strong{
  width:max-content;
  max-width:100%;
  color:var(--oe-green);
  font-size:17px;
  font-weight:800;
}
.contact-detail small{
  color:var(--oe-muted);
  font-size:12px;
}

.contact-help{
  margin-top:32px;
}
.contact-help h3{
  margin:0 0 12px;
  color:var(--oe-green);
  font-size:17px;
}
.contact-help ul{
  list-style:none;
  margin:0;
  padding:0;
}
.contact-help li{
  position:relative;
  padding:10px 0 10px 22px;
  border-bottom:1px solid var(--oe-line);
  color:var(--oe-muted);
  font-size:13px;
  line-height:1.5;
}
.contact-help li:before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--oe-yellow);
  font-weight:900;
}

.contact-form-panel{
  background:#fff;
  border:1px solid var(--oe-line);
  border-radius:20px;
  padding:34px;
  box-shadow:0 18px 45px rgba(7,73,64,.055);
}
.contact-form-head{
  margin-bottom:26px;
}
.contact-form-head h2{
  margin:7px 0 0;
  font-size:clamp(30px,3vw,40px);
  line-height:1.08;
}

/* Theme-level styling for the Core inquiry form. */
.contact-form-panel .oe-form{
  gap:18px;
}
.contact-form-panel .oe-form-row{
  gap:14px;
}
.contact-form-panel .oe-form label{
  color:var(--oe-green);
  font-size:12px;
  font-weight:800;
}
.contact-form-panel .oe-form input,
.contact-form-panel .oe-form select,
.contact-form-panel .oe-form textarea{
  min-height:46px;
  border:1px solid var(--oe-line);
  border-radius:10px;
  background:#fff;
  padding:11px 13px;
  color:var(--oe-ink);
  font:inherit;
  outline:none;
  transition:border-color .15s ease,box-shadow .15s ease;
}
.contact-form-panel .oe-form textarea{
  min-height:150px;
  line-height:1.55;
}
.contact-form-panel .oe-form input:focus,
.contact-form-panel .oe-form select:focus,
.contact-form-panel .oe-form textarea:focus{
  border-color:var(--oe-green);
  box-shadow:0 0 0 3px rgba(7,73,64,.08);
}
.contact-form-panel .oe-form .oe-files{
  min-height:auto;
  padding:13px;
  background:var(--oe-bg);
}
.contact-form-panel .oe-form small{
  color:var(--oe-muted);
  font-size:11px;
  line-height:1.5;
}
.contact-form-panel .oe-form-consent{
  color:var(--oe-muted);
  line-height:1.5;
}
.contact-form-panel .oe-form-consent input{
  min-height:auto;
  margin-top:2px;
  accent-color:var(--oe-green);
}
.contact-form-panel .oe-form .btn{
  width:max-content;
  min-width:180px;
  margin-top:2px;
}
.contact-form-panel .oe-form-message{
  margin-bottom:18px;
}
.contact-form-missing{
  margin:0;
  color:var(--oe-muted);
}

.contact-region-strip{
  padding:66px 0;
  background:#fff;
}
.contact-region-grid{
  display:grid;
  grid-template-columns:.7fr 1fr;
  gap:90px;
  align-items:center;
}
.contact-region-grid h2{
  margin:7px 0 0;
  font-size:clamp(34px,3.7vw,48px);
  line-height:1.05;
}
.contact-region-grid>p{
  margin:0;
  max-width:650px;
  color:var(--oe-muted);
  font-size:14px;
  line-height:1.7;
}

@media(max-width:900px){
  .contact-layout{
    grid-template-columns:1fr;
    gap:42px;
  }
  .contact-info{
    padding-top:0;
  }
}

@media(max-width:760px){
  .contact-hero{
    padding:18px 0 30px;
  }
  .contact-hero-grid{
    grid-template-columns:1fr;
    gap:18px;
  }
  .contact-hero h1{
    font-size:40px;
  }
  .contact-hero-grid>p{
    font-size:14px;
  }

  .contact-main{
    padding-top:38px;
    padding-bottom:42px;
  }
  .contact-layout{
    gap:34px;
  }
  .contact-info h2{
    font-size:32px;
  }
  .contact-details{
    margin-top:24px;
  }
  .contact-help{
    margin-top:25px;
  }

  .contact-form-panel{
    margin-inline:-2px;
    padding:22px 18px;
    border-radius:16px;
  }
  .contact-form-head{
    margin-bottom:20px;
  }
  .contact-form-panel .oe-form .btn{
    width:100%;
  }

  .contact-region-strip{
    padding:44px 0;
  }
  .contact-region-grid{
    grid-template-columns:1fr;
    gap:18px;
  }
  .contact-region-grid h2{
    font-size:34px;
  }
}


/* =========================================================
   v0.7.2 - contact WhatsApp action
   ========================================================= */
.contact-phone-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px 14px;
}
.contact-phone-row>a:first-child{
  color:var(--oe-green);
  font-size:17px;
  font-weight:800;
}
.contact-whatsapp{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:0 12px;
  border:1px solid var(--oe-line);
  border-radius:9px;
  background:#fff;
  color:var(--oe-green)!important;
  font-size:12px!important;
  font-weight:800!important;
  transition:border-color .15s ease,background .15s ease;
}
.contact-whatsapp:hover{
  border-color:var(--oe-green);
  background:var(--oe-bg);
}
.contact-whatsapp svg{
  width:16px;
  height:16px;
  fill:currentColor;
  flex:none;
}


/* =========================================================
   v0.7.3 - simplified contact page
   ========================================================= */

.contact-page .contact-main{
  padding-top:72px;
}

@media(max-width:760px){
  .contact-page .contact-main{
    padding-top:42px;
  }
}


/* =========================================================
   v0.7.4 - refined site footer
   ========================================================= */

.site-footer{
  background:#032f2a;
  color:#fff;
  padding:42px 0 0;
}

.footer-main{
  display:grid;
  grid-template-columns:1.3fr 1fr .8fr;
  gap:64px;
  align-items:start;
}

.footer-brand{
  max-width:430px;
}

.footer-logo{
  width:155px;
  height:auto;
  display:block;
}

.footer-brand p{
  max-width:390px;
  margin:16px 0 0;
  color:rgba(255,255,255,.56);
  font-size:13px;
  line-height:1.55;
}

.footer-main h3{
  margin:2px 0 14px;
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.footer-nav-links{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px 24px;
}

.footer-main a,
.footer-main span{
  color:rgba(255,255,255,.64);
  font-size:13px;
  line-height:1.45;
}

.footer-main a{
  transition:color .15s ease;
}

.footer-main a:hover{
  color:#fff;
}

.footer-contact{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:7px;
}

.footer-contact .footer-contact-strong{
  color:#fff;
  font-weight:800;
}

.footer-bottom{
  margin-top:34px;
  padding:17px 0 18px;
  border-top:1px solid rgba(255,255,255,.09);
  color:rgba(255,255,255,.38);
  font-size:11px;
}

@media(max-width:900px){
  .footer-main{
    grid-template-columns:1.2fr 1fr;
    gap:40px 54px;
  }

  .footer-contact{
    grid-column:2;
  }
}

@media(max-width:760px){
  .site-footer{
    padding-top:34px;
  }

  .footer-main{
    grid-template-columns:1fr;
    gap:28px;
  }

  .footer-brand{
    max-width:none;
  }

  .footer-logo{
    width:145px;
  }

  .footer-brand p{
    max-width:330px;
    margin-top:13px;
    font-size:12px;
  }

  .footer-nav-links{
    grid-template-columns:1fr 1fr;
    gap:8px 22px;
  }

  .footer-contact{
    grid-column:auto;
  }

  .footer-main h3{
    margin-bottom:11px;
  }

  .footer-bottom{
    margin-top:28px;
    padding:15px 0 17px;
  }
}


/* =========================================================
   v0.7.5 - footer hierarchy refinements
   ========================================================= */

.footer-nav-links{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.footer-nav-column{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.footer-contact a,
.footer-contact span{
  color:rgba(255,255,255,.64);
  font-weight:400;
}

.footer-bottom{
  text-align:center;
}

@media(max-width:760px){
  .footer-nav-links{
    grid-template-columns:1fr 1fr;
    gap:22px;
  }
}
