
/* Enercova Homepage V4 · November 2026 · scoped to new homepage */
.ec-home-v4{--ec-indigo:#5C3DE5;--ec-indigo-dark:#3E27B6;--ec-navy:#171D2B;--ec-paper:#F8F8F6;--ec-hair:#E4E4E8;--ec-muted:#626776;background:var(--ec-paper);color:var(--ec-navy)}
.ec-home-v4 *{box-sizing:border-box}
.ec-home-v4 a{text-decoration:none}
.ec-v4-hero{min-height:clamp(600px,76vh,820px);position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center;overflow:hidden;background:#dce6f2}
.ec-v4-hero-bg,.ec-v4-hero-bg img,.ec-v4-hero-overlay{position:absolute;inset:0;width:100%;height:100%}
.ec-v4-hero-bg{z-index:-2}
.ec-v4-hero-bg img{object-fit:cover;object-position:62% 50%}
.ec-v4-hero-overlay{z-index:-1;background:linear-gradient(90deg,rgba(249,249,250,.98) 0%,rgba(249,249,250,.94) 26%,rgba(249,249,250,.80) 40%,rgba(249,249,250,.28) 62%,rgba(249,249,250,.02) 87%)}
.ec-v4-hero-content{width:100%;max-width:1320px;margin:0 auto;padding:clamp(80px,10vw,150px) clamp(24px,5vw,76px) 115px}
.ec-v4-hero-label{display:inline-flex;align-items:center;gap:11px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.15em;margin-bottom:24px}
.ec-v4-dot{display:inline-block;width:9px;height:9px;background:var(--ec-indigo);border-radius:50%;box-shadow:0 0 0 5px rgba(92,61,229,.12)}
.ec-v4-hero h1{font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:clamp(61px,7vw,108px);line-height:.98;letter-spacing:-.074em;font-weight:880;margin:0;max-width:850px;color:var(--ec-navy)}
.ec-v4-hero h1 span{color:var(--ec-indigo)}
.ec-v4-hero-content>p{font-size:clamp(17px,1.55vw,21px);line-height:1.65;max-width:535px;margin:32px 0 34px;font-weight:450;color:#343B4B}
.ec-v4-hero-cta{display:flex;gap:13px;flex-wrap:wrap}
.ec-v4-button{display:inline-flex;align-items:center;justify-content:space-between;gap:36px;padding:16px 21px;min-width:199px;font-size:13px;font-weight:800;background:var(--ec-indigo);border:1px solid var(--ec-indigo);color:#fff!important;transition:background-color .2s ease,transform .2s ease}
.ec-v4-button:hover{background:var(--ec-indigo-dark);transform:translateY(-2px)}
.ec-v4-button-light{background:rgba(255,255,255,.86);color:var(--ec-navy)!important;border-color:#C8CAD1}
.ec-v4-button-light:hover{background:#fff}
.ec-v4-button-white{background:#fff;border-color:#fff;color:var(--ec-indigo)!important;min-width:228px}
.ec-v4-button-white:hover{background:#F0EAFB}
.ec-v4-hero-foot{position:absolute;bottom:0;left:0;right:0;min-height:46px;padding:11px clamp(24px,5vw,76px);display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:11px;color:#495064;background:rgba(250,250,251,.82);backdrop-filter:blur(8px);border-top:1px solid rgba(255,255,255,.65)}
.ec-v4-pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:1320px;padding:52px clamp(24px,5vw,76px) 26px;margin:auto;gap:20px}
.ec-v4-pillar{background:#fff;border:1px solid var(--ec-hair);min-width:0;overflow:hidden}
.ec-v4-pillar-media{height:174px;background:#EDEEF2;overflow:hidden}
.ec-v4-pillar-media img{width:100%;height:100%;object-fit:cover;object-position:center}
.ec-v4-pillar-media.ec-v4-contain{background:#F2F0F8}
.ec-v4-pillar-media.ec-v4-contain img{object-fit:contain;padding:9px}
.ec-v4-pillar-copy{padding:21px 23px 26px}
.ec-v4-tiny{font-size:10px;color:var(--ec-indigo);letter-spacing:.12em;font-weight:800;text-transform:uppercase}
.ec-v4-pillar h2{font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:clamp(20px,2.05vw,26px);line-height:1.2;letter-spacing:-.035em;margin:11px 0 10px;font-weight:800}
.ec-v4-pillar p{font-size:14px;line-height:1.58;color:var(--ec-muted);margin:0}
.ec-v4-section{padding:clamp(72px,8vw,120px) 0}
.ec-v4-section .wrap{width:100%;max-width:1320px}
.ec-v4-section-heading{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:50px;align-items:end;margin-bottom:43px}
.ec-v4-overline{font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.15em;color:var(--ec-indigo);margin:0 0 20px!important}
.ec-v4-section-heading h2,.ec-v4-spotlight-copy h2,.ec-v4-contact h2{font-family:Inter,'Segoe UI',Arial,sans-serif;letter-spacing:-.058em;font-weight:850;line-height:1.06;margin:0;font-size:clamp(38px,4.65vw,68px)}
.ec-v4-section-heading>p{font-size:16px;line-height:1.72;color:var(--ec-muted);max-width:420px;margin:0 0 4px}
.ec-v4-systems{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.ec-v4-system{position:relative;min-height:355px;background:#30384B;display:block;overflow:hidden;color:#fff!important}
.ec-v4-system>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .35s ease}
.ec-v4-system:hover>img{transform:scale(1.035)}
.ec-v4-system-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(15,20,32,.92) 0%,rgba(15,20,32,.25) 72%,rgba(15,20,32,.10))}
.ec-v4-system-copy{position:absolute;bottom:0;left:0;right:0;padding:29px 32px}
.ec-v4-system-copy>span{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#DDD3FF;font-weight:800}
.ec-v4-system h3{font-size:clamp(23px,2.4vw,33px);line-height:1.16;letter-spacing:-.04em;margin:12px 0 11px;font-weight:820;max-width:470px}
.ec-v4-system p{font-size:14px;line-height:1.55;color:#ECEEF5;max-width:470px;margin:0 0 13px}
.ec-v4-system b{font-size:12px;font-weight:800}
.ec-v4-text-link{display:inline-flex;align-items:center;gap:23px;font-size:13px;font-weight:800;color:var(--ec-indigo)!important;border-bottom:1px solid currentColor;padding-bottom:6px;margin-top:28px}
.ec-v4-spotlight{display:grid;grid-template-columns:47% 53%;min-height:535px;background:var(--ec-indigo);color:#fff}
.ec-v4-spotlight-copy{padding:clamp(54px,6vw,96px) clamp(30px,6vw,100px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.ec-v4-spotlight-copy .ec-v4-overline{color:#D4C8FF}
.ec-v4-spotlight-copy h2{font-size:clamp(43px,4.7vw,72px)}
.ec-v4-spotlight-copy>p:not(.ec-v4-overline){font-size:16px;line-height:1.7;color:#F0ECFF;max-width:480px;margin:29px 0 34px}
.ec-v4-spotlight-image{padding:40px;min-height:440px;position:relative;background:#F1EFF8;display:flex;align-items:center;justify-content:center}
.ec-v4-spotlight-image img{width:100%;height:430px;max-height:430px;object-fit:contain;object-position:center;mix-blend-mode:normal}
.ec-v4-spotlight-image>span{position:absolute;right:18px;bottom:17px;max-width:85%;font-size:10px;color:#666476;text-align:right}
.ec-v4-products{background:#fff}
.ec-v4-products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}
.ec-v4-product{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--ec-hair);color:var(--ec-navy)!important;transition:box-shadow .2s ease,border-color .2s ease}
.ec-v4-product:hover{border-color:var(--ec-indigo);box-shadow:0 15px 40px rgba(30,27,55,.07)}
.ec-v4-product-image{height:296px;position:relative;background:#F3F3F6;padding:26px 25px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.ec-v4-product-image img{width:100%;max-width:100%;height:100%;max-height:100%;object-fit:contain;object-position:center!important;mix-blend-mode:normal;transform:none!important}
.ec-v4-product-count{position:absolute;top:14px;left:15px;font-size:10px;font-weight:800;letter-spacing:.1em;color:#5D587A}
.ec-v4-product-copy{display:flex;flex-direction:column;gap:8px;flex:1;padding:21px 23px 24px}
.ec-v4-product-top{display:flex;align-items:center;justify-content:space-between;color:var(--ec-indigo);font-size:11px;font-weight:800;letter-spacing:.055em}
.ec-v4-product h3{font-size:clamp(29px,3vw,40px);line-height:1.05;letter-spacing:-.05em;font-weight:850;margin:8px 0 0}
.ec-v4-product p{color:#555A67;font-size:14px;margin:0 0 12px}
.ec-v4-product-facts{border-top:1px solid #E9E9EF;padding-top:16px;margin-top:auto;display:flex;flex-direction:column;gap:4px}
.ec-v4-product-facts strong{font-size:19px;letter-spacing:-.025em}
.ec-v4-product-facts small{color:#737685;font-size:12px}
.ec-v4-image-clarity{font-size:12px;line-height:1.6;color:#727684;max-width:950px;margin:22px 0 0}
.ec-v4-cases{background:#F8F8F6}
.ec-v4-cases-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.ec-v4-case{background:white;display:flex;flex-direction:column;border:1px solid var(--ec-hair);min-width:0;color:var(--ec-navy)!important}
.ec-v4-case>img{width:100%;height:228px;object-fit:cover}
.ec-v4-case-desc{padding:23px 23px 25px;display:flex;flex-direction:column;flex:1}
.ec-v4-case-desc>span{font-size:11px;color:var(--ec-indigo);font-weight:800;letter-spacing:.04em}
.ec-v4-case h3{font-size:23px;line-height:1.2;letter-spacing:-.028em;margin:13px 0 22px}
.ec-v4-case b{margin-top:auto;font-size:12px}
.ec-v4-work{background:#fff}
.ec-v4-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.ec-v4-steps>div{border-top:3px solid var(--ec-indigo);padding:24px 8px 0 0}
.ec-v4-steps span{display:block;color:var(--ec-indigo);font-size:34px;font-weight:850;letter-spacing:-.05em}
.ec-v4-steps h3{font-size:19px;line-height:1.24;margin:15px 0 11px;font-weight:800}
.ec-v4-steps p{font-size:14px;line-height:1.58;color:var(--ec-muted);margin:0}
.ec-v4-contact{padding:85px 0;background:var(--ec-indigo);color:#fff}
.ec-v4-contact .wrap{max-width:1320px}
.ec-v4-contact-grid{display:flex;justify-content:space-between;align-items:center;gap:50px}
.ec-v4-contact .ec-v4-overline{color:#DDCEFF}
.ec-v4-contact h2{font-size:clamp(36px,4.6vw,64px)}
.ec-v4-contact p:not(.ec-v4-overline){font-size:16px;line-height:1.65;color:#EAE5FF;max-width:670px;margin:30px 0 0}
.ec-v4-contact .ec-v4-button{flex-shrink:0}
.ec-brand-logo img{width:226px;max-height:59px;height:auto;object-fit:contain;display:block}
.ec-footer-logo{display:inline-flex!important;align-items:center;justify-content:center;background:#FFF;border-radius:3px;padding:10px 12px!important;margin:0 0 22px;width:250px;max-width:100%;min-height:77px}
/* Center the visible mark within the approved image's unequal side margins. */
.ec-footer-logo img{display:block!important;width:224px;height:auto;max-width:100%;transform:translateX(-3.5%)}
.ec-footer-lead{font-size:25px!important;font-weight:820;letter-spacing:-.05em;line-height:1.22;max-width:350px;margin:0 0 14px!important;color:#fff!important}
.ec-footer-copy{font-size:13px;color:#B7BAC8!important;line-height:1.64;max-width:335px}
@media(max-width:1200px){.ec-brand-logo img{width:198px}.mast-inner{gap:18px}.nav{gap:12px}.ec-v4-hero h1{font-size:clamp(56px,6.5vw,88px)}}
@media(max-width:920px){.ec-v4-pillars{gap:12px}.ec-v4-pillar-media{height:137px}.ec-v4-pillar-copy{padding:18px}.ec-v4-section-heading{gap:28px}.ec-v4-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ec-v4-cases-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ec-v4-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.ec-v4-contact-grid{align-items:flex-start;flex-direction:column}.ec-v4-hero-bg img{object-position:65% 50%}}
@media(max-width:860px){.ec-brand-logo img{width:220px}.ec-language-pill{margin:10px 0!important}.ec-v4-hero{min-height:660px}.ec-v4-hero-overlay{background:linear-gradient(90deg,rgba(248,248,250,.96),rgba(248,248,250,.64) 55%,rgba(248,248,250,.09))}.ec-v4-spotlight{grid-template-columns:1fr}.ec-v4-spotlight-image img{height:360px}.ec-v4-section-heading{grid-template-columns:1fr}.ec-v4-section-heading>p{max-width:700px}}
@media(max-width:680px){.ec-v4-hero{min-height:670px;justify-content:flex-start}.ec-v4-hero-bg img{object-position:66% 50%}.ec-v4-hero-overlay{background:linear-gradient(180deg,rgba(249,249,250,.98) 0%,rgba(249,249,250,.95) 46%,rgba(249,249,250,.20) 78%,rgba(249,249,250,.10) 100%)}.ec-v4-hero-content{padding:57px 22px 120px}.ec-v4-hero h1{font-size:clamp(53px,11vw,76px)}.ec-v4-hero-content>p{font-size:16px;max-width:480px;margin:24px 0 26px}.ec-v4-hero-foot{font-size:10px;padding:12px 18px}.ec-v4-hero-foot span:last-child{display:none}.ec-v4-pillars{grid-template-columns:1fr;padding:22px 20px 10px}.ec-v4-pillar{display:grid;grid-template-columns:39% 1fr;align-items:stretch}.ec-v4-pillar-media{height:100%;min-height:157px}.ec-v4-pillar h2{font-size:21px}.ec-v4-section{padding:68px 0}.ec-v4-section-heading{margin-bottom:27px}.ec-v4-section-heading h2{font-size:clamp(35px,8.5vw,49px)}.ec-v4-systems,.ec-v4-products-grid,.ec-v4-cases-grid{grid-template-columns:1fr}.ec-v4-system{min-height:315px}.ec-v4-product-image{height:310px}.ec-v4-spotlight-copy{padding:54px 25px}.ec-v4-spotlight-image{min-height:310px;padding:20px}.ec-v4-spotlight-image img{height:290px}.ec-v4-contact{padding:64px 0}.ec-v4-contact p:not(.ec-v4-overline){margin-top:25px}}
@media(max-width:420px){.ec-v4-hero h1{font-size:51px}.ec-v4-hero-cta{flex-direction:column}.ec-v4-button{min-width:0;width:100%}.ec-v4-hero-content{padding-bottom:80px}.ec-v4-pillars .ec-v4-pillar{grid-template-columns:1fr}.ec-v4-pillar-media{height:175px}.ec-v4-steps{grid-template-columns:1fr 1fr;gap:20px}.ec-v4-steps h3{font-size:17px}.ec-v4-steps p{font-size:13px}}
@media(prefers-reduced-motion:reduce){.ec-home-v4 *{transition:none!important}}


/* Header and language disclosure */
.mast .mast-inner { max-width: none; padding-inline: clamp(20px, 3.1vw, 76px); }
.mast .nav { gap: clamp(12px, 1.65vw, 28px); }
.ec-brand-logo img { width: clamp(182px, 16vw, 233px); height: auto; }
.ec-lang-control { position: relative; color: #29243e; }
.ec-lang-control summary {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  min-height: 42px; padding: 0 12px; border: 1px solid #ddd8ec;
  border-radius: 999px; background: white; color: #33265f;
  cursor: pointer; list-style: none; font-size: 12px; letter-spacing: .04em;
}
.ec-lang-control summary::-webkit-details-marker { display: none; }
.ec-lang-control summary:focus-visible { outline: 2px solid #5C3DE5; outline-offset: 3px; }
.ec-lang-control[open] summary { border-color: #5C3DE5; background: #f4f0ff; }
.ec-lang-arrow { transition: transform .18s ease; }
.ec-lang-control[open] .ec-lang-arrow { transform: rotate(180deg); }
.ec-lang-options {
  position: absolute; z-index: 2; right: 0; top: calc(100% + 8px);
  width: 174px; margin: 0; padding: 5px; list-style: none;
  border: 1px solid #e6e0f2; border-radius: 14px; background: white;
  box-shadow: 0 14px 35px rgba(31, 22, 60, .15);
}
.ec-lang-options li { list-style: none; margin: 0; }
.mast .ec-lang-options a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 42px; padding: 9px 11px; border-radius: 9px;
}
.mast .ec-lang-options a:hover, .mast .ec-lang-options a[aria-current] {
  color: #4025BB; background: #f1edff;
}
.ec-lang-current { color: #5C3DE5; font-size: 15px; }
.ec-footer-logo { border-radius: 6px; width: min(100%, 252px); min-height: 67px; margin-bottom: 20px; }

/* Show the full equipment silhouette and keep the CTA comfortable to read. */
.ec-v4-hero-bg picture { display: block; width: 100%; height: 100%; }
.ec-v4-hero-content { padding-bottom: clamp(78px, 8vw, 120px); }
.ec-v4-hero-bg img { object-position: 68% 58%; }
.ec-v4-product-image { padding: 11px; height: clamp(225px, 23vw, 322px); background: #f4f3f6; }
.ec-v4-spotlight-image { padding: clamp(12px, 2.4vw, 42px); background: #f4f3f6; }
.ec-v4-spotlight-image img { height: clamp(245px, 29vw, 430px); }
.ec-v4-contact h2 { line-height: 1.12; }
.ec-v4-contact-grid > div > p:last-child { margin-top: clamp(24px, 3vw, 40px); }
.ec-v4-product-origin { color: var(--ec-muted); }
@media (max-width: 860px) {
  .mast .nav { gap: 2px; }
  .ec-lang-control { margin-block: 5px 10px; }
  .ec-lang-options { right: auto; left: 0; }
  .ec-v4-product-image { height: 270px; }
}
@media (max-width: 860px) {
  .ec-v4-hero { min-height: 0; display: grid; }
  .ec-v4-hero-bg, .ec-v4-hero-bg img { position: static; }
  .ec-v4-hero-bg { grid-area: 1 / 1; align-self: end; height: auto; }
  .ec-v4-hero-bg img { width: 100%; height: auto; object-fit: contain; }
  .ec-v4-hero { background: #f7f8fa; }
  .ec-v4-hero-overlay { display: none; }
  .ec-v4-hero-bg { position: relative; }
  .ec-v4-hero-bg::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, #f7f8fa 0%, rgba(247,248,250,0) 25%);
  }
  .ec-v4-hero-content { grid-area: 1 / 1; padding: 43px 22px calc(48vw + 17px); }
  .ec-v4-hero h1 { font-size: clamp(41px, 10.4vw, 64px); }
  .ec-v4-product-image { height: clamp(225px, 73vw, 345px); }
  .ec-v4-spotlight-image { min-height: 0; }
}

.ec-v4-product-top { justify-content: flex-end; }
.ec-home-v4 .ec-v4-arrow {
  display: inline-block; position: relative; width: 12px; height: 12px;
  flex: 0 0 12px; margin-left: 4px; vertical-align: -.04em;
}
.ec-v4-arrow::before {
  content: ""; position: absolute; top: 5px; left: 0; width: 12px;
  border-top: 1.5px solid currentColor; transform: rotate(-45deg);
}
.ec-v4-arrow::after {
  content: ""; position: absolute; right: 1px; top: 1px; width: 6px; height: 6px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
}
@media (max-width: 860px) {
  body.wpvibe-preview-active #wpvibe-preview-banner { gap: 8px; padding: 8px 12px; }
  #wpvibe-preview-banner .wpvibe-info { display: none; }
  #wpvibe-preview-banner .wpvibe-badge, #wpvibe-preview-banner .wpvibe-btn { white-space: nowrap; }
  #wpvibe-preview-banner .wpvibe-btn { padding: 6px 9px; }
}

/* Keep solution equipment visible at each viewport size. */
#integrated-solutions { scroll-margin-top: 86px; }
.ec-v4-system-shade {
  background: linear-gradient(0deg, rgba(15,20,32,.96) 0%, rgba(15,20,32,.79) 27%, rgba(15,20,32,.39) 52%, transparent 78%);
}
@media (max-width: 860px) {
  #integrated-solutions { scroll-margin-top: 72px; }
  .ec-v4-system {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #171d2b;
  }
  .ec-v4-system > img {
    position: static;
    aspect-ratio: 8 / 5;
    height: auto;
  }
  .ec-v4-system-shade { display: none; }
  .ec-v4-system-copy {
    position: static;
    padding: clamp(18px, 3vw, 28px);
  }
  .ec-v4-system:hover > img { transform: none; }
}

/* Shared landing banners and project inquiry call to action. */
.page-hero { background: #eeebfa; }
section.banner > .wrap > .sectionhead { align-items: center; gap: clamp(24px, 4vw, 54px); }
section.banner > .wrap > .sectionhead h2 + p {
  max-width: 42rem;
  margin: clamp(22px, 3vw, 38px) 0 0;
  line-height: 1.65;
}
section.banner > .wrap > .sectionhead > .btn {
  flex: 0 0 auto;
  min-width: 0;
  white-space: nowrap;
}
.ec-products-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.ec-products-hero-visuals {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 12px;
}
.ec-products-hero-visuals figure {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: clamp(7px, 1.25vw, 17px);
  border-radius: 8px;
  background: #f5f4f7;
}
.ec-products-hero-visuals img {
  width: 100%;
  height: clamp(122px, 18vw, 245px);
  object-fit: contain;
}
.ec-products-hero-visuals figcaption {
  margin-top: 8px;
  color: #4025bb;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}
.ec-products-catalogue .filterbar { display: flex; flex-wrap: wrap; gap: 8px; }
.ec-products-catalogue .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ec-products-catalogue .prod-card[hidden] { display: none; }
.ec-products-catalogue .prod-card .tag { max-width: 100%; white-space: normal; }
@media (min-width: 861px) {
  .detail-hero .detail-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}
@media (max-width: 860px) {
  section.banner > .wrap > .sectionhead { display: flex; align-items: flex-start; flex-direction: column; }
  .ec-products-catalogue .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ec-products-hero .wrap, .ec-products-catalogue .product-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Use a single neutral backdrop and keep the product image inside a fixed media area. */
.ec-v4-product-image,
.ec-products-catalogue .prod-card .figure,
.ec-v4-pillar-media.ec-v4-contain,
.ec-v4-spotlight-image,
.ec-products-hero-visuals figure,
.detail-visual,
.ec-product-art--charging {
  background: #edeef1;
  isolation: isolate;
}
.ec-v4-product-image, .ec-products-catalogue .prod-card .figure {
  display: block;
  position: relative;
  box-sizing: border-box;
  flex: 0 0 auto;
  height: clamp(264px, 24vw, 312px);
  padding: 0;
  overflow: hidden;
}
.ec-v4-product-image > .ec-product-art,
.ec-products-catalogue .prod-card .figure > .ec-product-art {
  position: absolute;
  inset: 12px;
  max-width: 360px;
  margin-inline: auto;
}
.ec-product-art { display: block; }
.ec-product-art > img.ec-product-webp { mix-blend-mode: darken; }
.ec-v4-product-image .ec-product-webp,
.ec-products-catalogue .prod-card .figure .ec-product-webp {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.ec-v4-pillar-media.ec-v4-contain .ec-product-art {
  width: 100%;
  height: 100%;
}
.ec-v4-spotlight-image .ec-product-art { width: 100%; max-width: 720px; }
.detail-visual .ec-product-webp { max-width: min(100%, 512px); margin-inline: auto; }
.ec-product-art--charging .ec-product-webp {
  max-width: min(100%, 512px);
  height: clamp(230px, 30vw, 390px);
  margin-inline: auto;
  object-fit: contain;
}

/* Project references */
.ec-case-index .page-hero h1, .ec-case-hero h1 { max-width: 16ch; }
.ec-case-index .case-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ec-case-index .case[hidden] { display: none; }
.ec-case-index .filterbar { display: flex; flex-wrap: wrap; gap: 8px; }
.ec-case-index .case {
  overflow: hidden;
  border-radius: 8px;
  color: #171d2b;
}
.ec-case-index .case-body { flex: 1; padding: clamp(19px, 2.4vw, 30px); }
.ec-case-index .case h3 { font-weight: 780; }
.ec-case-index .case-body .tag { align-self: flex-start; }
.ec-case-index .case-bottom { color: #4025bb; flex-wrap: wrap; }
.ec-case-media { position: relative; margin: 0; overflow: hidden; background: #eeeff3; }
.ec-case-media picture { display: block; }
.ec-case-index .case-list .ec-case-media img, .ec-case-hero .ec-case-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
}
.ec-case-hero .ec-case-media img { aspect-ratio: auto; }
.ec-case-hero h1 { max-width: 23ch; }
.ec-case-copy h3 { margin: 1.2rem 0 .4rem; font-size: clamp(17px, 2vw, 20px); line-height: 1.3; }
.ec-case-copy a { color: #4025bb; text-underline-offset: 3px; }
.ec-case-media figcaption {
  position: absolute;
  inset: auto auto 12px 12px;
  max-width: calc(100% - 24px);
  padding: 5px 10px;
  border-radius: 3px;
  background: #1e2230;
  color: white;
  font-size: 11px;
  font-weight: 650;
}
.ec-case-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
.ec-case-hero .ec-case-media { border-radius: 8px; }
.ec-case-story .ec-case-return, .ec-case-story .ec-case-source a {
  display: inline-block;
  color: #4025bb;
  font-size: 14px;
  font-weight: 720;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ec-case-hero .ec-case-return { margin-bottom: 20px; }
.ec-case-hero .tag { margin-bottom: 14px; }
.ec-case-body-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(28px, 6vw, 80px);
}
.ec-case-facts {
  padding: clamp(20px, 3vw, 35px);
  border: 1px solid #e4e0ed;
  border-radius: 8px;
  background: #f5f3fa;
}
.ec-case-story .ec-case-body-grid h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -.04em;
  font-weight: 790;
}
.ec-case-facts dl { margin: 20px 0 0; }
.ec-case-facts dl > div {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 12px;
  padding-block: 11px;
  border-top: 1px solid #dfdae9;
  font-size: 14px;
}
.ec-case-facts dt { font-weight: 700; }
.ec-case-facts dd { margin: 0; }
.ec-case-copy > p { margin: 14px 0 28px; color: #535967; line-height: 1.65; }
.ec-case-copy .ec-case-source { margin-bottom: 0; font-size: 14px; }
@media (max-width: 900px) {
  .ec-case-index .case-list, .ec-case-hero .wrap, .ec-case-body-grid { grid-template-columns: minmax(0, 1fr); }
}

.ec-contact .ec-contact-hero {
  padding-block: clamp(42px, 6.5vw, 84px);
  background: #eeebfb;
}
.ec-contact .ec-contact-hero h1, .ec-contact .ec-contact-grid h2 {
  margin: 0;
  letter-spacing: -.035em;
}
.ec-contact .ec-contact-hero p { max-width: 60ch; margin: 14px 0 0; }
.ec-contact .ec-contact-main { padding-block: clamp(32px, 5vw, 72px); }
.ec-contact-grid {
  display: grid;
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 880px) {
  .ec-contact-grid { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
}
.ec-contact-info { display: grid; gap: 24px; }
.ec-contact-guide, .ec-contact-address, .ec-contact-panel {
  min-width: 0;
  border: 1px solid #dedbe8;
  border-radius: 10px;
  padding: clamp(18px, 2.5vw, 32px);
}
.ec-contact-guide, .ec-contact-panel { background: #fff; }
.ec-contact-address { background: #f2effb; }
.ec-contact .ec-contact-grid h2 {
  color: #191d27;
  font-size: clamp(23px, 2.4vw, 30px);
  line-height: 1.17;
}
.ec-contact-guide > p, .ec-contact-panel > p { margin: 10px 0 0; color: #4f5665; }
.ec-contact-guide dl { margin: 18px 0 0; }
.ec-contact-guide dl > div { border-top: 1px solid #e7e4ec; padding-top: 12px; }
.ec-contact-guide dl > div + div { margin-top: 12px; }
.ec-contact-guide dt { font-weight: 730; }
.ec-contact-guide dd { margin: 3px 0 0; color: #4f5665; font-size: 14px; line-height: 1.55; }
.ec-contact-address address { margin-top: 12px; font-style: normal; color: #3f4655; }
.ec-contact-address address p { margin: 6px 0; }
.ec-contact-address a { color: #4025bb; text-decoration: underline; text-underline-offset: 3px; }
.ec-contact-panel { container-type: inline-size; }
.ec-contact .ec-contact-panel #wpforms-25 { margin: 15px 0 0; }
.ec-contact .ec-contact-panel #wpforms-25 .wpforms-field-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px 18px;
}
@container (min-width: 425px) {
  .ec-contact .ec-contact-panel #wpforms-25 .wpforms-field-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.ec-contact .ec-contact-panel #wpforms-25 .wpforms-field-container > .wpforms-field {
  min-width: 0;
  padding: 0;
  margin: 0;
}
.ec-contact .ec-contact-panel :is(#wpforms-25-field_8-container, #wpforms-25-field_9-container, #wpforms-25-field_10-container) {
  grid-column: 1 / -1;
}
.ec-contact .ec-contact-panel #wpforms-25 :is(input[type="text"], input[type="email"], select, textarea) {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.ec-contact .ec-contact-panel #wpforms-25 textarea { height: 110px; min-height: 90px; resize: vertical; }
.ec-contact .ec-contact-panel #wpforms-25 .wpforms-field-label { font-size: 14px; line-height: 1.35; }
.ec-contact .ec-contact-panel #wpforms-25 .wpforms-field-label-inline { font-size: 14px; line-height: 1.45; }
.ec-contact .ec-contact-panel #wpforms-25 .wpforms-submit-container { padding-top: 14px; }
.ec-contact .ec-contact-panel #wpforms-submit-25 {
  background: #5c3de5;
  border-color: #5c3de5;
  border-radius: 5px;
  color: #fff;
}
.ec-contact .ec-contact-panel #wpforms-submit-25:hover { background: #492bc6; border-color: #492bc6; }
.ec-contact .ec-contact-panel :is(input, select, textarea, button, a):focus-visible,
.ec-contact .ec-contact-address a:focus-visible {
  outline: 2px solid #5c3de5;
  outline-offset: 2px;
}
.ec-contact .ec-contact-panel .ec-contact-note { margin-top: 12px; font-size: 13px; line-height: 1.55; }

/* Shared typography and section alignment */
.enercova-body {
  --ec-text-size: 16px;
  --ec-text-leading: 1.6;
  --ec-title-size: clamp(34px, 4.35vw, 62px);
  --ec-section-size: clamp(29px, 3.45vw, 49px);
  --ec-card-size: clamp(20px, 2.12vw, 29px);
  font-family: var(--font);
  font-size: var(--ec-text-size);
  line-height: var(--ec-text-leading);
  letter-spacing: normal;
}
#content :is(h1,h2,h3,h4,h5,h6) { font-family: inherit; text-transform: none; }
#content h1 {
  font-size: var(--ec-title-size); line-height: 1.09; letter-spacing: -.045em; font-weight: 800;
}
#content .ec-home-v4 h1 {
  font-size: clamp(42px, 7vw, 100px); line-height: 1.02; letter-spacing: -.055em;
}
#content h2 {
  font-size: var(--ec-section-size); line-height: 1.14; letter-spacing: -.04em; font-weight: 780;
}
#content :is(h3,h2.h3,.ec-v4-pillar h2,.ec-contact-grid h2,.ec-case-facts h2) {
  font-size: var(--ec-card-size); line-height: 1.22; letter-spacing: -.027em; font-weight: 750;
}
#content .ec-case-copy h3 {
  font-size: clamp(18px, 2vw, 23px); line-height: 1.28; letter-spacing: -.02em;
}
#content .ec-v4-product h3 { font-size: clamp(27px, 3vw, 37px); }
#content :is(.intro,.lead,.ec-solutions-card p,.ec-v4-pillars p,.ec-v4-case-desc p,.ec-case-copy > p) {
  line-height: var(--ec-text-leading);
}
#content :is(.editorial-split,.detail-grid,.ec-solutions-hero .wrap,.ec-case-hero .wrap,.ec-v4-section-heading,.body-two) {
  align-items: start;
}
#content :is(.editorial-split,.detail-grid) > * { min-width: 0; }
#content .editorial-split > :is(img,picture,figure) { display: block; width: 100%; margin: 0; }
#content .editorial-split img { display: block; max-width: 100%; height: auto; }
#content .detail-grid { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); }
#content .body-two { grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); }
#content .ec-insight-row { grid-template-columns: minmax(0, .18fr) minmax(0, 1fr); min-height: 180px; }
#content .ec-related-links {
  margin: 15px 0 0; color: var(--blueDark); font-size: 14px; font-weight: 680; line-height: 1.5;
}
#content .ec-related-links a { text-decoration: underline; text-underline-offset: 3px; }
#content.ec-policy-content { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding-block: 60px; }
#content.ec-policy-content h2 { font-size: var(--ec-card-size); margin-top: 28px; }
@media (max-width: 860px) {
  #content :is(.editorial-split,.detail-grid,.body-two) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .enercova-body { --ec-title-size: clamp(32px, 8.8vw, 42px); }
  #content .ec-insight-row { grid-template-columns: minmax(0, 1fr); min-height: 0; }
}

#content .btn > span:is(.arrow, :not([class])) {
  position: relative;
  display: inline-block;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  font-size: 0;
}
#content .btn > span:is(.arrow, :not([class]))::before {
  position: absolute;
  inset: 2px 1px auto auto;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
}
#content .btn > span:is(.arrow, :not([class]))::after {
  position: absolute;
  top: 6px;
  left: 2px;
  width: 9px;
  border-top: 1px solid currentColor;
  transform: rotate(-45deg);
  content: "";
}
