/* Hi-Tech Electricals — landing page
   Brand: indigo #382898 + red #D82010 from the logo, on deep indigo-black and warm paper. */

@font-face { font-family: "Barlow"; src: url(../fonts/barlow-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(../fonts/barlow-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(../fonts/barlow-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(../fonts/barlow-condensed-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(../fonts/barlow-condensed-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0d0b22;
  --ink-2: #16133a;
  --indigo: #382898;
  --indigo-2: #4636b8;
  --lilac: #aaa1f3;
  --red: #d82010;
  --red-2: #b51a0c;
  --red-hi: #ff5a47;
  --paper: #f3f3f6;
  --paper-2: #e8e7ee;
  --white: #fff;
  --text: #17152e;
  --muted: #5d5b6e;
  --line: #dcdae4;
  --line-dark: rgba(255, 255, 255, .14);
  --wa: #138040;

  --f-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  --pad: clamp(20px, 5vw, 64px);
  --max: 1360px;
  --hdr: 84px;
  --hd: .15s;
}
.has-intro { --hd: 1.6s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--indigo); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.h2 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(2.7rem, 5.6vw, 5.4rem);
  line-height: .93;
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.h2--xl { font-size: clamp(3.2rem, 9.4vw, 9.6rem); line-height: .88; }
.kicker {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--red); flex: none; }
.kicker--light { color: rgba(255, 255, 255, .8); }
.sec { padding-block: clamp(84px, 11vw, 150px); }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(40px, 5vw, 68px); }
.sec__head--center { justify-content: center; text-align: center; }
.sec__lead { max-width: 31em; color: var(--muted); font-size: 18px; }

/* ---------- buttons & links ---------- */
.btn {
  --bg: var(--red); --fg: #fff; --fill: var(--ink); --fill-fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px;
  font-family: var(--f-head); font-weight: 600; font-size: 17px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg); background: var(--bg);
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill);
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn:hover { color: var(--fill-fg); }
.btn .ic { width: 20px; height: 20px; flex: none; }
.btn--red { --bg: var(--red); --fill: var(--ink); }
.hero .btn--red, .cta .btn--red, .menu .btn--red, .hdr:not(.is-solid) .btn--red { --fill: #fff; --fill-fg: var(--ink); }
.btn--white { --bg: #fff; --fg: var(--indigo); --fill: var(--ink); }
.btn--line-light { --bg: transparent; --fill: #fff; --fill-fg: var(--ink); border: 1.5px solid rgba(255, 255, 255, .55); }
.btn--line-light:hover { border-color: #fff; }
.btn--sm { height: 46px; padding: 0 20px; font-size: 15px; }
.btn--full { width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--indigo);
}
.link svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.link:hover svg { transform: translateX(5px); }

/* ---------- intro (first visit per session) ---------- */
.intro { display: none; }
.has-intro .intro {
  display: block; position: fixed; inset: 0; z-index: 120; pointer-events: none;
  animation: introGone 0s linear 2.6s forwards;
}
.intro__half { position: absolute; left: 0; right: 0; height: 50.2%; background: var(--ink); }
.intro__half--top { top: 0; animation: halfUp 1s var(--ease-io) 1.45s forwards; }
.intro__half--bot { bottom: 0; animation: halfDown 1s var(--ease-io) 1.45s forwards; }
.intro__mark {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
  color: #fff; animation: markOut .45s var(--ease) 1.2s forwards;
}
.intro__svg { width: 76px; height: auto; overflow: visible; }
.intro__tri {
  fill: transparent; stroke: var(--lilac); stroke-width: 1.6; stroke-linejoin: round;
  stroke-dasharray: 210; stroke-dashoffset: 210;
  animation: triDraw .75s var(--ease-io) .1s forwards, triFill .4s ease .75s forwards;
}
.intro__t { fill: #fff; opacity: 0; transform: translateY(-10px); animation: tDrop .45s var(--ease) .85s forwards; }
.intro__name {
  font-family: var(--f-head); font-weight: 700; font-size: 22px; letter-spacing: .3em; text-transform: uppercase;
  opacity: 0; animation: nameIn .7s var(--ease) .7s forwards;
}
.intro__since { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.55); opacity: 0; animation: nameIn .7s var(--ease) .85s forwards; }
@keyframes triDraw { to { stroke-dashoffset: 0; } }
@keyframes triFill { to { fill: var(--indigo); stroke: var(--indigo); } }
@keyframes tDrop { to { opacity: 1; transform: none; } }
@keyframes nameIn { from { opacity: 0; letter-spacing: .5em; } to { opacity: 1; } }
@keyframes markOut { to { opacity: 0; transform: scale(.94); } }
@keyframes halfUp { to { transform: translateY(-101%); } }
@keyframes halfDown { to { transform: translateY(101%); } }
@keyframes introGone { to { visibility: hidden; } }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 60; color: #fff;
  transition: transform .6s var(--ease), background-color .4s, box-shadow .4s, color .4s;
}
.hdr__in { display: flex; align-items: center; gap: 28px; height: var(--hdr); transition: height .4s var(--ease); }
.logo { flex: none; margin-right: auto; }
.logo svg { height: 60px; width: auto; color: #fff; transition: height .4s var(--ease), color .4s; }
.nav { display: flex; gap: 30px; }
.nav a {
  position: relative; padding: 6px 0;
  font-family: var(--f-head); font-weight: 600; font-size: 16px; letter-spacing: .1em; text-transform: uppercase;
  opacity: .88; transition: opacity .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav a:hover, .nav a.is-current { opacity: 1; }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.hdr__call { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; line-height: 1.2; }
.hdr__call small { display: block; font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.hdr__call-ic { width: 40px; height: 40px; border: 1.5px solid currentColor; border-radius: 50%; display: grid; place-items: center; opacity: .9; }
.hdr__call-ic svg { width: 18px; height: 18px; }
.hdr.is-solid { background: #fff; color: var(--text); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(13, 11, 34, .35); }
.hdr.is-solid .hdr__in { height: 70px; }
.hdr.is-solid .logo svg { height: 50px; color: var(--text); }
.hdr.is-solid .hdr__call-ic { color: var(--red); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr.is-menu { background: transparent; color: #fff; box-shadow: none; transform: none; }
.hdr.is-menu .logo svg { color: #fff; }

.burger { display: none; width: 46px; height: 46px; position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger i:first-child { top: 18px; }
.burger i:last-child { top: 26px; }
.burger[aria-expanded="true"] i:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hdr) + 24px) var(--pad) 32px;
  clip-path: circle(0 at calc(100% - 44px) 42px);
  transition: clip-path .8s var(--ease-io);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); }
.menu__nav { display: grid; gap: 4px; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line-dark);
  font-family: var(--f-head); font-weight: 700; font-size: clamp(2.2rem, 9vw, 3.4rem); text-transform: uppercase; line-height: 1.05;
  opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .7s var(--ease);
}
.menu__nav em { font-style: normal; font-size: 14px; color: var(--red-hi); letter-spacing: .1em; }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: .25s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .3s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .35s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .4s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .45s; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: .5s; }
.menu__foot { display: grid; gap: 12px; padding-top: 28px; }
.menu__foot p { color: rgba(255, 255, 255, .6); font-size: 15px; margin-top: 6px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; color: #fff; background: var(--ink);
  display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: -6% 0; z-index: -2; will-change: transform; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%;
  animation: heroZoom 2.8s var(--ease) var(--hd) both, kenburns 28s ease-in-out calc(var(--hd) + 2.8s) infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.22); filter: brightness(.4); } to { transform: scale(1); filter: none; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09) translateX(-1.5%); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 11, 34, .94) 0%, rgba(13, 11, 34, .78) 34%, rgba(13, 11, 34, .2) 68%, rgba(13, 11, 34, .38) 100%),
    linear-gradient(0deg, rgba(13, 11, 34, .96) 0%, rgba(13, 11, 34, 0) 42%),
    linear-gradient(180deg, rgba(13, 11, 34, .6) 0%, rgba(13, 11, 34, 0) 24%);
}
.hero__fg { flex: 1; display: flex; flex-direction: column; will-change: transform, opacity; }
.hero__veil { position: absolute; inset: 0; z-index: -1; background: var(--ink); opacity: 0; pointer-events: none; }
.hero__body {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 430px); align-items: end; gap: 48px;
  padding-top: calc(var(--hdr) + 7vh); padding-bottom: 44px;
}
.hero__kicker {
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
  font-weight: 600; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .82);
}
.hero__kicker .rule { width: 40px; height: 2px; background: var(--red); transform-origin: left; }
.hero__title {
  font-family: var(--f-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(3.3rem, 7.2vw, 7.6rem); line-height: .9; letter-spacing: -.008em;
}
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .ln > span { display: block; }
.hero__title b { color: var(--red-hi); font-weight: 700; }
.hero__lead { max-width: 34em; margin-top: 26px; font-size: 19px; line-height: 1.55; color: rgba(255, 255, 255, .84); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__card { position: relative; justify-self: end; width: 100%; }
.hero__frames { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--ink-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.hero__frames img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(0 0 0 100%); transform: scale(1.12);
  transition: clip-path 1.1s var(--ease-io), transform 2.2s var(--ease);
}
.hero__frames img.is-on { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 2; }
.hero__frames img.is-prev { clip-path: inset(0 0 0 0); transform: scale(1.04); z-index: 1; }
.hero__card figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.hero__cap-k { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .5); }
.hero__cap { transition: opacity .4s; }

.hero__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-bottom: 34px; }
.tab { position: relative; text-align: left; padding: 20px 0 4px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: baseline; color: rgba(255, 255, 255, .55); transition: color .4s; }
.tab:hover, .tab.is-active { color: #fff; }
.tab__bar { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.tab__bar i { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.tab.is-active .tab__bar i { animation: tabFill var(--slide, 6.5s) linear var(--tab-delay, 0s) forwards; }
.hero.is-paused .tab.is-active .tab__bar i { animation-play-state: paused; }
@keyframes tabFill { to { transform: scaleX(1); } }
.tab__n { font-family: var(--f-head); font-weight: 600; font-size: 14px; letter-spacing: .1em; color: var(--red-hi); }
.tab__t { font-family: var(--f-head); font-weight: 700; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; }
.tab__s { grid-column: 2; font-size: 14px; color: rgba(255, 255, 255, .55); }

/* hero entrance (CSS-only so it runs even before JS) */
.js .hero__kicker, .js .hero__lead, .js .hero__cta, .js .hero__card, .js .hero__tabs { opacity: 0; animation: fadeUp 1.2s var(--ease) forwards; }
.js .hero__kicker { animation-delay: calc(var(--hd) + .2s); }
.js .hero__title .ln > span { transform: translateY(108%); animation: lineUp 1.25s var(--ease) forwards; }
.js .hero__title .ln:nth-child(1) > span { animation-delay: calc(var(--hd) + .3s); }
.js .hero__title .ln:nth-child(2) > span { animation-delay: calc(var(--hd) + .42s); }
.js .hero__lead { animation-delay: calc(var(--hd) + .65s); }
.js .hero__cta { animation-delay: calc(var(--hd) + .78s); }
.js .hero__card { animation-delay: calc(var(--hd) + .9s); }
.js .hero__tabs { animation-delay: calc(var(--hd) + 1.05s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { to { transform: none; } }

/* ---------- facts + brands ---------- */
.facts { padding-top: clamp(56px, 7vw, 96px); background: var(--white); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 6px 28px 6px 28px; border-left: 1px solid var(--line); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact__v { font-family: var(--f-head); font-weight: 700; font-size: clamp(2.6rem, 4.4vw, 4.2rem); line-height: 1; color: var(--indigo); text-transform: uppercase; }
.fact__v small { font-size: .42em; margin-left: 4px; letter-spacing: .04em; }
.fact__l { margin-top: 10px; color: var(--muted); font-size: 16px; max-width: 16em; }

.brands { padding-block: clamp(56px, 7vw, 92px) clamp(48px, 6vw, 80px); }
.brands__k { font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(28px, 4vw, 56px); width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--f-head); font-weight: 700; font-size: clamp(2rem, 4vw, 3.6rem); text-transform: uppercase; letter-spacing: .02em; color: var(--text); line-height: 1; }
.marquee__track svg { width: 14px; height: 13px; color: var(--indigo); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- products ---------- */
.products { background: var(--paper); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--white); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.pcard::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(13, 11, 34, .45); }
.pcard:hover::after { transform: scaleX(1); }
.pcard__plate { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #efeef2; overflow: hidden; }
.pcard__plate img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform 1s var(--ease); }
.pcard__plate--photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.pcard:hover .pcard__plate img { transform: scale(1.06); }
.pcard__body { flex: 1; display: flex; flex-direction: column; padding: 26px 28px 30px; }
.pcard__k { font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--indigo); }
.pcard h3 { margin-top: 8px; font-family: var(--f-head); font-weight: 700; font-size: 30px; line-height: 1.02; text-transform: uppercase; }
.pcard__body > p:not(.pcard__k) { margin-top: 10px; color: var(--muted); font-size: 16px; }
.pcard .link { margin-top: auto; padding-top: 20px; }
.pcard--dark { background: #15123a; color: #fff; }
.pcard--dark .pcard__k { color: var(--lilac); }
.pcard--dark .pcard__body > p:not(.pcard__k) { color: rgba(255, 255, 255, .78); }
.pcard--dark .link { color: #fff; }
.pcard__spec { aspect-ratio: 4 / 3; padding: 30px 28px 0; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(90% 80% at 0% 0%, rgba(70, 54, 184, .75), rgba(70, 54, 184, 0) 70%), #1b1748; }
.pcard__big { font-family: var(--f-head); font-weight: 700; font-size: clamp(4rem, 7vw, 6.4rem); line-height: .9; }
.pcard__big small { font-size: .32em; margin-left: 8px; letter-spacing: .06em; }
.pcard__meter { display: flex; align-items: flex-end; gap: 6px; height: 46%; }
.pcard__meter i { flex: 1; background: rgba(255, 255, 255, .18); height: 20%; transform-origin: bottom; transition: background .3s; }
.pcard__meter i:nth-child(1) { height: 14%; } .pcard__meter i:nth-child(2) { height: 20%; } .pcard__meter i:nth-child(3) { height: 27%; }
.pcard__meter i:nth-child(4) { height: 34%; } .pcard__meter i:nth-child(5) { height: 41%; } .pcard__meter i:nth-child(6) { height: 48%; }
.pcard__meter i:nth-child(7) { height: 56%; } .pcard__meter i:nth-child(8) { height: 64%; } .pcard__meter i:nth-child(9) { height: 72%; }
.pcard__meter i:nth-child(10) { height: 80%; } .pcard__meter i:nth-child(11) { height: 90%; } .pcard__meter i:nth-child(12) { height: 100%; }
.pcard--dark.is-in .pcard__meter i { animation: meter 2.6s var(--ease) infinite; }
.pcard__meter i:nth-child(n) { animation-delay: calc(var(--m, 0) * 1s); }
.pcard__meter i:nth-child(1) { --m: .00; } .pcard__meter i:nth-child(2) { --m: .06; } .pcard__meter i:nth-child(3) { --m: .12; }
.pcard__meter i:nth-child(4) { --m: .18; } .pcard__meter i:nth-child(5) { --m: .24; } .pcard__meter i:nth-child(6) { --m: .30; }
.pcard__meter i:nth-child(7) { --m: .36; } .pcard__meter i:nth-child(8) { --m: .42; } .pcard__meter i:nth-child(9) { --m: .48; }
.pcard__meter i:nth-child(10) { --m: .54; } .pcard__meter i:nth-child(11) { --m: .60; } .pcard__meter i:nth-child(12) { --m: .66; }
@keyframes meter { 0%, 100% { background: rgba(255, 255, 255, .18); } 30%, 55% { background: #fff; } }
.pcard__meter i:nth-child(n+11) { animation-name: meterHot; }
@keyframes meterHot { 0%, 100% { background: rgba(255, 255, 255, .18); } 30%, 55% { background: var(--red-hi); } }
.segments { margin-top: 44px; font-size: 18px; color: var(--muted); }
.segments b { color: var(--text); font-weight: 600; }

/* ---------- solar ---------- */
.solar { background: var(--ink); color: #fff; padding-bottom: clamp(84px, 10vw, 140px); }
.xpand { padding-top: clamp(16px, 3vw, 40px); }
.xpand__frame {
  --xi: 0px; --xr: 0px;
  position: relative; height: clamp(520px, 88vh, 860px); overflow: hidden; isolation: isolate;
  clip-path: inset(var(--xi) var(--xi) 0 var(--xi) round var(--xr));
  display: flex; align-items: flex-end;
}
.xpand__img { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.xpand__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.04); }
.xpand__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13, 11, 34, 1) 0%, rgba(13, 11, 34, .55) 38%, rgba(13, 11, 34, .05) 70%), linear-gradient(180deg, rgba(13, 11, 34, .5), rgba(13, 11, 34, 0) 40%), linear-gradient(90deg, rgba(13, 11, 34, .55), rgba(13, 11, 34, 0) 60%); }
.xpand__copy { padding-bottom: clamp(36px, 5vw, 64px); }
.xpand__copy .h2 { margin-top: 18px; max-width: 6.6em; }

.solar__intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px 80px; align-items: end; padding-block: clamp(48px, 6vw, 80px) clamp(44px, 5vw, 64px); border-bottom: 1px solid var(--line-dark); }
.solar__lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; color: rgba(255, 255, 255, .9); }
.solar__brands { color: rgba(255, 255, 255, .62); font-size: 17px; }
.solar__brands b { color: #fff; font-weight: 600; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); }
.mode { padding: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 40px) 0; border-left: 1px solid var(--line-dark); }
.mode:first-child { border-left: 0; padding-left: 0; }
.mode__n { font-family: var(--f-head); font-weight: 600; font-size: 15px; letter-spacing: .12em; color: var(--red-hi); }
.mode h3 { margin-top: 10px; font-family: var(--f-head); font-weight: 700; font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1; text-transform: uppercase; }
.mode > p:not(.mode__n):not(.mode__fit) { margin-top: 14px; color: rgba(255, 255, 255, .72); }
.mode__fit { margin-top: 22px; padding-top: 16px; border-top: 1px dashed rgba(255, 255, 255, .2); font-weight: 600; font-size: 16px; }
.mode__fit span { display: block; font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); margin-bottom: 2px; }

.reel { padding-top: clamp(72px, 9vw, 120px); }
.reel__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.reel__title { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.6rem); text-transform: uppercase; line-height: 1; }
.reel__nav { display: flex; gap: 10px; }
.rbtn { width: 52px; height: 52px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 50%; display: grid; place-items: center; transition: background .35s, border-color .35s, color .35s; }
.rbtn svg { width: 20px; height: 20px; }
.rbtn[data-reel="-1"] svg { transform: rotate(180deg); }
.rbtn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.reel__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
  padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  scroll-padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  overscroll-behavior-x: contain;
}
.reel__track::-webkit-scrollbar { display: none; }
.reel__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.reel__track.is-drag img { pointer-events: none; }
.reel__item { flex: 0 0 clamp(270px, 34vw, 500px); scroll-snap-align: start; }
.reel__item > img, .reel__item { user-select: none; }
.reel__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.92); }
.reel__item { overflow: hidden; }
.reel__item:hover img { transform: scale(1.04); filter: none; }
.reel__item figcaption { padding-top: 12px; font-size: 15px; color: rgba(255, 255, 255, .7); }
.reel__progress { position: relative; height: 2px; margin-top: 30px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.reel__progress i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(.2); }

/* ---------- services ---------- */
.services { background: var(--paper); }
.services__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.services__side { position: sticky; top: 110px; }
.services__side .sec__lead { margin-top: 22px; }
.standby { margin-top: 40px; background: var(--ink); color: #fff; }
.standby__img { aspect-ratio: 16 / 9; overflow: hidden; }
.standby__img img { width: 100%; height: 100%; object-fit: cover; }
.standby__body { padding: 24px 26px 28px; border-left: 3px solid var(--red); }
.standby__k { font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red-hi); }
.standby__t { margin-top: 8px; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.12; }

.svc { position: relative; }
.svc__list { counter-reset: svc; }
.svc__row {
  position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 12px;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.svc__row:last-child { border-bottom: 1px solid var(--line); }
.svc__row::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--indigo); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.svc__row:hover::before { transform: scaleX(1); }
.svc__n { font-family: var(--f-head); font-weight: 600; font-size: 18px; letter-spacing: .08em; color: var(--muted); padding-top: 6px; transition: color .4s; }
.svc__row h3 { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.04; text-transform: uppercase; transition: color .4s, transform .6s var(--ease); }
.svc__row p { margin-top: 8px; color: var(--muted); max-width: 34em; transition: transform .6s var(--ease); }
.svc__row:hover .svc__n { color: var(--red); }
.svc__row:hover h3 { color: var(--indigo); transform: translateX(8px); }
.svc__row:hover p { transform: translateX(8px); }
.svc__also { margin-top: 26px; color: var(--muted); }
.svc__peek {
  position: absolute; top: 0; left: 0; z-index: 3; width: 250px; aspect-ratio: 4 / 3; overflow: hidden; pointer-events: none;
  opacity: 0; translate: var(--px, 0) var(--py, 0); scale: .85;
  transition: opacity .35s, scale .5s var(--ease);
  box-shadow: 0 30px 60px -30px rgba(13, 11, 34, .6);
  display: none;
}
.svc__peek img { width: 100%; height: 100%; object-fit: cover; }
.svc.is-peeking .svc__peek { opacity: 1; scale: 1; }

/* ---------- steps ---------- */
.steps { background: var(--white); }
.steps__row { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.wire { position: absolute; top: 27px; left: 16.66%; right: 16.66%; height: 2px; background: var(--line); --p: 0; }
.wire i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--indigo), var(--red)); transform: scaleX(var(--p)); transform-origin: left; }
.wire b {
  position: absolute; top: 50%; left: calc(var(--p) * 100%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(216, 32, 16, .25), 0 0 18px 4px rgba(216, 32, 16, .55);
  opacity: calc(var(--p) * 40);
}
.step { position: relative; padding: 0 8px; }
.step__node { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 24px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); transition: border-color .5s, background .5s; }
.step__node i { width: 14px; height: 14px; border-radius: 50%; background: var(--line); transition: background .5s, transform .5s var(--ease); }
.step.is-lit .step__node { border-color: var(--indigo); }
.step.is-lit .step__node i { background: var(--red); transform: scale(1.15); }
.step__n { font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--indigo); }
.step h3 { margin-top: 8px; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.02; text-transform: uppercase; }
.step > p:last-child { margin: 12px auto 0; max-width: 22em; color: var(--muted); }

/* ---------- work / gallery ---------- */
.work { background: var(--ink); color: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.filters button { position: relative; padding: 6px 0; font-family: var(--f-head); font-weight: 600; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); transition: color .3s; }
.filters button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.filters button:hover, .filters button.is-on { color: #fff; }
.filters button.is-on::after { transform: scaleX(1); }
.gal { columns: 3 300px; column-gap: 16px; }
.gal__item { position: relative; display: block; margin-bottom: 16px; overflow: hidden; break-inside: avoid; background: var(--ink-2); }
.gal__item img { width: 100%; transition: transform 1.1s var(--ease), opacity .6s; }
.gal__item::after {
  content: "View"; position: absolute; left: 16px; bottom: 14px;
  font-family: var(--f-head); font-weight: 600; font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease);
}
.gal__item::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(13, 11, 34, .75), rgba(13, 11, 34, 0) 50%); opacity: 0; transition: opacity .5s; }
.gal__item::after { z-index: 2; }
.gal__item:hover img { transform: scale(1.06); }
.gal__item:hover::before, .gal__item:hover::after { opacity: 1; transform: none; }
.gal__item.is-hidden { display: none; }
.gal__item.is-show { animation: galIn .8s var(--ease) both; }
@keyframes galIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.about__media { position: relative; padding-bottom: 18%; }
.about__img { overflow: hidden; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--a { width: 64%; aspect-ratio: 419 / 500; }
.about__img--b { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 16 / 11; border: 8px solid #fff; border-right: 0; border-bottom: 0; }
.about__badge {
  position: absolute; top: 8%; right: 6%; width: 150px; height: 150px; padding: 18px;
  display: flex; flex-direction: column; justify-content: flex-end; background: var(--indigo); color: #fff;
  border-top: 4px solid var(--red); box-shadow: 0 24px 50px -24px rgba(56, 40, 152, .7);
}
.about__badge p { font-family: var(--f-head); font-weight: 700; font-size: 62px; line-height: .85; }
.about__badge small { display: block; font-size: 18px; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.about__badge > span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; margin-top: 2px; }
.about__copy .h2 { max-width: 8.5em; }
.about__lead { margin-top: 26px; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--text); }
.about__copy > p:not(.about__lead) { margin-top: 16px; color: var(--muted); }
.about__list { margin-top: 28px; display: grid; gap: 12px; }
.about__list li { display: flex; gap: 14px; align-items: baseline; font-weight: 500; }
.about__list svg { width: 11px; height: 10px; color: var(--indigo); flex: none; transform: translateY(-1px); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding-block: clamp(90px, 11vw, 150px); isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 95% at 50% 0%, rgba(70, 54, 184, .6) 0%, rgba(70, 54, 184, 0) 100%); }
.cta__wave { position: absolute; left: 0; width: 200%; top: 50%; height: 140px; transform: translateY(-50%); z-index: -1; animation: wave 14s linear infinite; }
.cta__wave path { fill: none; stroke: rgba(170, 161, 243, .22); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
@keyframes wave { to { transform: translate(-50%, -50%); } }
.cta__in { text-align: center; }
.cta__k { font-weight: 600; font-size: clamp(13px, 1.2vw, 15px); letter-spacing: .18em; text-transform: uppercase; color: var(--lilac); }
.cta__num { display: inline-block; margin-top: 10px; font-family: var(--f-head); font-weight: 700; font-size: clamp(3rem, 10vw, 9.4rem); line-height: 1; letter-spacing: .01em; transition: color .4s; }
.cta__num:hover { color: var(--red-hi); }
.cta__sub { margin-top: 12px; font-size: 18px; color: rgba(255, 255, 255, .8); }
.cta__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- reviews ---------- */
.reviews { background: var(--paper); }
.reviews__h { margin-top: 18px; max-width: 9em; }
.grate {
  flex: none; display: inline-flex; align-items: center; gap: 18px;
  padding: 16px 22px 16px 24px; background: var(--white);
  box-shadow: 0 30px 60px -40px rgba(13, 11, 34, .5);
}
.grate__v { font-family: var(--f-head); font-weight: 700; font-size: 56px; line-height: .9; color: var(--ink); }
.grate__r { display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.grate__arr { width: 20px; height: 20px; color: var(--indigo); transition: transform .45s var(--ease); }
.grate:hover .grate__arr { transform: translateX(5px); }
.stars { display: flex; gap: 2px; color: #f2a516; }
.stars svg { width: 18px; height: 18px; }
.rev { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rev__card { position: relative; display: flex; flex-direction: column; padding: 30px 30px 26px; background: var(--white); }
.rev__card::after {
  content: "\201D"; position: absolute; top: 4px; right: 22px;
  font-family: var(--f-head); font-weight: 700; font-size: 120px; line-height: 1; color: var(--paper-2);
}
.rev__card blockquote { position: relative; z-index: 1; flex: 1; margin: 18px 0 0; font-size: 17px; line-height: 1.6; }
.rev__card figcaption { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.rev__av {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--indigo); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 21px;
}
.rev__card b { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; }
.rev__card small { display: block; font-size: 14px; color: var(--muted); }

/* ---------- contact ---------- */
.contact { background: var(--paper); padding-block: clamp(72px, 8vw, 110px); }
.contact .sec__head { margin-bottom: clamp(26px, 3vw, 40px); }
/* details strip above the offer + form */
.cinfo {
  display: grid; grid-template-columns: 1fr 1.2fr 1.75fr 1.1fr; grid-template-areas: "phone mail addr time";
  margin-bottom: clamp(26px, 3vw, 40px); background: var(--white); box-shadow: 0 30px 60px -50px rgba(13, 11, 34, .4);
}
.cinfo__phone { grid-area: phone; }
.cinfo__mail { grid-area: mail; }
.cinfo__addr { grid-area: addr; }
.cinfo__time { grid-area: time; }
.cinfo li { padding: 22px clamp(18px, 2vw, 28px); border-left: 1px solid var(--line); }
.cinfo li:first-child { border-left: 0; }
.cinfo span { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cinfo svg { width: 17px; height: 17px; flex: none; color: var(--indigo); }
.cinfo a, .cinfo address, .cinfo p { font-weight: 500; font-size: 18px; line-height: 1.4; }
.cinfo__phone a { font-family: var(--f-head); font-weight: 700; font-size: 26px; line-height: 1.1; letter-spacing: .01em; color: var(--ink); }
.cinfo a:hover { color: var(--indigo); }

.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
/* offer poster: full image, never cropped; taps open WhatsApp with the offer */
.offer { display: block; align-self: start; overflow: hidden; background: var(--white); box-shadow: 0 40px 80px -50px rgba(13, 11, 34, .5); }
.offer img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease); }
.offer:hover img { transform: scale(1.015); }

.form { display: flex; flex-direction: column; background: var(--white); padding: clamp(26px, 3.4vw, 44px); box-shadow: 0 40px 80px -50px rgba(13, 11, 34, .4); }
.field.field--grow { flex: 1; display: flex; flex-direction: column; }
.field--grow textarea { flex: 1; }
.form__t { font-family: var(--f-head); font-weight: 700; font-size: 30px; text-transform: uppercase; margin-bottom: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; margin-bottom: 6px; font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--text);
  padding: 13px 14px; background: var(--paper); border: 1.5px solid transparent; border-radius: 0;
  transition: border-color .3s, background .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); background: #fff; }
.field.is-bad input { border-color: var(--red); }
.form__err { margin: -4px 0 14px; color: var(--red); font-weight: 500; font-size: 15px; }
.form__note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.form__note a { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.form .btn:disabled { opacity: .7; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map { margin-top: clamp(20px, 3vw, 40px); height: clamp(320px, 38vw, 460px); background: var(--paper-2); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: rgba(255, 255, 255, .7); font-size: 16px; }
.ftr__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(64px, 8vw, 100px) 56px; }
.ftr__logo { height: 64px; width: auto; color: #fff; }
.ftr__brand p { margin-top: 20px; max-width: 26em; }
.ftr__h { margin-bottom: 14px; font-family: var(--f-head); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.ftr__col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ftr__col a { transition: color .3s; }
.ftr__col a:hover { color: #fff; }
.ftr__bot { position: relative; display: flex; justify-content: space-between; gap: 20px; padding-block: 24px 30px; font-size: 14px; }
.ftr__bot::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: var(--line-dark); }
.ftr__up { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.ftr__up svg { width: 16px; height: 16px; transform: rotate(-90deg); transition: transform .4s var(--ease); }
.ftr__up:hover svg { transform: rotate(-90deg) translateX(4px); }

/* ---------- quick contact ---------- */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .45);
  transform: scale(0); transition: transform .6s var(--ease);
}
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.is-past-hero .wa-fab { transform: scale(1); }
.dock { display: none; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; background: rgba(8, 7, 20, .95); opacity: 0; transition: opacity .4s; }
.lb.is-open { opacity: 1; }
.lb__fig { max-width: min(1100px, 86vw); transform: scale(.94); transition: transform .6s var(--ease); }
.lb.is-open .lb__fig { transform: none; }
.lb__fig img { max-height: 78vh; width: auto; margin: 0 auto; }
.lb__fig figcaption { margin-top: 14px; text-align: center; color: rgba(255, 255, 255, .75); font-size: 15px; }
.lb__x { position: absolute; top: 18px; right: 22px; width: 52px; height: 52px; font-size: 38px; line-height: 1; color: #fff; }
.lb__arr { position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background .3s, color .3s; }
.lb__arr:hover { background: #fff; color: var(--ink); }
.lb__arr svg { width: 22px; height: 22px; }
.lb__arr--prev { left: 24px; }
.lb__arr--prev svg { transform: rotate(180deg); }
.lb__arr--next { right: 24px; }
.lb__count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-family: var(--f-head); letter-spacing: .14em; color: rgba(255, 255, 255, .55); }

/* ---------- scroll reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* the clip sits on the child: IntersectionObserver treats a fully clipped target as not visible */
.js [data-wipe] > img { clip-path: inset(0 0 100% 0); transform: scale(1.2); transition: clip-path 1.4s var(--ease-io) var(--d, 0s), transform 1.8s var(--ease) var(--d, 0s); }
.js [data-wipe].is-in > img { clip-path: inset(0); transform: none; }
.js [data-wipe] > iframe { clip-path: inset(0 0 0 100%); transition: clip-path 1.4s var(--ease-io); }
.js [data-wipe].is-in > iframe { clip-path: inset(0); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(110%); transition: transform 1.1s var(--ease) calc(var(--i, 0) * 70ms); }
.js [data-split].is-in .w > span { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .hdr__call { display: none; }
}
@media (max-width: 1024px) {
  .nav, .hdr__wa { display: none; }
  .burger { display: block; }
  .hero__body { grid-template-columns: 1fr; gap: 36px; padding-top: calc(var(--hdr) + 5vh); }
  .hero__card { justify-self: start; max-width: 460px; }
  .hero__tabs { grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
  .tab { padding-bottom: 18px; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr; }
  .services__side { position: static; }
  .standby { display: grid; grid-template-columns: 1fr 1fr; }
  .standby__img { aspect-ratio: auto; min-height: 220px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 640px; }
  .rev { grid-template-columns: repeat(2, 1fr); }
  .cinfo { grid-template-columns: 1fr 1fr; grid-template-areas: "phone mail" "addr time"; }
  .cinfo li:nth-child(3) { border-left: 0; }
  .cinfo li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .contact__grid { grid-template-columns: 1.08fr 1fr; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .offer, .contact .form { width: 100%; max-width: 600px; margin-inline: auto; }
}
@media (max-width: 760px) {
  :root { --hdr: 68px; }
  body { font-size: 16px; padding-bottom: 64px; }
  .logo svg { height: 44px; }
  .hdr.is-solid .hdr__in { height: 62px; }
  .hdr.is-solid .logo svg { height: 40px; }
  .sec__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .sec__head--center { align-items: center; }
  .sec__lead { font-size: 17px; }
  .hero__body { padding-bottom: 28px; }
  .hero__title { font-size: clamp(2.9rem, 13.6vw, 4.4rem); }
  .hero__lead { font-size: 17px; margin-top: 20px; }
  .hero__kicker { font-size: 11.5px; letter-spacing: .12em; gap: 10px; margin-bottom: 18px; }
  .hero__kicker .rule { width: 24px; }
  .hero__cta { margin-top: 26px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__card { max-width: none; }
  .hero__tabs { grid-template-columns: repeat(4, 1fr); gap: 10px; padding-bottom: 22px; }
  .tab { display: block; padding-top: 14px; }
  .tab__n { display: block; font-size: 12px; }
  .tab__t { display: block; font-size: 15px; line-height: 1.1; letter-spacing: .02em; }
  .tab__s { display: none; }
  .facts__grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .fact { padding: 0 0 0 18px; }
  .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fact__l { font-size: 15px; }
  .pgrid { grid-template-columns: 1fr; gap: 18px; }
  .pcard h3 { font-size: 27px; }
  .solar__intro { grid-template-columns: 1fr; gap: 20px; }
  .modes { grid-template-columns: 1fr; }
  .mode, .mode:first-child { padding: 30px 0 32px; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .xpand__frame { height: 74vh; min-height: 460px; }
  .reel__nav { display: none; }
  .reel__item { flex-basis: 80vw; }
  .standby { display: block; }
  .standby__img { aspect-ratio: 16 / 9; min-height: 0; }
  .svc__row { grid-template-columns: 46px 1fr; padding: 24px 0; }
  .steps__row { grid-template-columns: 1fr; gap: 34px; text-align: left; }
  .wire { top: 28px; bottom: 60px; left: 27px; right: auto; width: 2px; height: auto; }
  .wire i { transform: scaleY(var(--p)); transform-origin: top; }
  .wire b { top: calc(var(--p) * 100%); left: 50%; margin: -7px 0 0 -7px; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding: 0; }
  .step__node { grid-row: 1 / span 3; margin: 0; }
  .step > p:last-child { margin: 8px 0 0; }
  .gal { columns: 2 140px; column-gap: 10px; }
  .gal__item { margin-bottom: 10px; }
  .about__badge { width: 118px; height: 118px; padding: 14px; }
  .about__badge p { font-size: 48px; }
  .about__badge small { font-size: 15px; }
  .about__badge > span { font-size: 10.5px; letter-spacing: .06em; }
  .grate { padding: 14px 18px; gap: 14px; }
  .grate__v { font-size: 46px; }
  .rev {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--pad) * -1); padding: 0 var(--pad) 6px; scroll-padding-inline: var(--pad);
  }
  .rev::-webkit-scrollbar { display: none; }
  .rev__card { flex: 0 0 84%; scroll-snap-align: start; padding: 24px 22px 22px; }
  .rev__card blockquote { font-size: 16px; }
  .form__row { grid-template-columns: 1fr; }
  /* phone: offer + form first, details under them (the call/WhatsApp dock is always on screen) */
  .contact__main { display: flex; flex-direction: column; }
  .cinfo { order: 1; margin: 22px 0 0; grid-template-columns: 1fr; grid-template-areas: "phone" "mail" "addr" "time"; }
  .cinfo li, .cinfo li:nth-child(3) { padding: 16px 20px; border-left: 0; border-top: 1px solid var(--line); }
  .cinfo li:first-child { border-top: 0; }
  .cinfo__phone a { font-size: 22px; }
  .cinfo a, .cinfo address, .cinfo p { font-size: 17px; }
  .cta__btns .btn { flex: 1 1 100%; max-width: 360px; }
  .ftr__top { grid-template-columns: 1fr; gap: 30px; }
  .ftr__bot { flex-direction: column; }
  .wa-fab { display: none; }
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom); background: var(--ink);
    transform: translateY(100%); transition: transform .5s var(--ease);
  }
  .is-past-hero .dock { transform: none; }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 60px; font-family: var(--f-head); font-weight: 600; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
  .dock svg { width: 20px; height: 20px; }
  .dock__call { background: var(--red); }
  .dock__wa { background: var(--wa); }
  .lb__arr { top: auto; bottom: 18px; margin: 0; width: 48px; height: 48px; }
  .lb__arr--prev { left: 18px; }
  .lb__arr--next { right: 18px; }
  .lb__count { bottom: 32px; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .svc__peek { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .w > span { opacity: 1; transform: none; }
  .js [data-wipe] > img, .js [data-wipe] > iframe { clip-path: none; transform: none; }
  .marquee__track { animation: none !important; }
}

/* ---------- thank-you page ---------- */
.ty-page .hdr { position: sticky; top: 0; }
.ty-page .hdr__call { display: flex; }
.ty {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  min-height: calc(100svh - 70px); padding-block: clamp(70px, 9vw, 120px); background: var(--ink); color: #fff;
}
.ty::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(13, 11, 34, .95) 0%, rgba(13, 11, 34, .8) 55%, rgba(13, 11, 34, .5) 100%);
}
.ty__bg { position: absolute; inset: 0; z-index: -2; }
.ty__bg img { width: 100%; height: 100%; object-fit: cover; }
.ty__tick { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 30px; border-radius: 50%; background: var(--red); animation: tyPop .8s var(--ease) both; }
.ty__tick svg { width: 42px; height: 42px; }
.ty__tick path { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 32; stroke-dashoffset: 32; animation: tyDraw .6s var(--ease) .4s forwards; }
@keyframes tyPop { from { opacity: 0; transform: scale(.4); } }
@keyframes tyDraw { to { stroke-dashoffset: 0; } }
.ty__h { margin-top: 18px; font-family: var(--f-head); font-weight: 700; font-size: clamp(3.6rem, 10vw, 8.4rem); line-height: .9; text-transform: uppercase; }
.ty__lead { margin-top: 24px; max-width: 30em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: rgba(255, 255, 255, .88); }
.ty__sub { margin-top: 26px; font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--lilac); }
.ty__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.ty .btn--red { --fill: #fff; --fill-fg: var(--ink); }
.ty__back {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 34px;
  font-family: var(--f-head); font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255, 255, 255, .75); transition: color .3s;
}
.ty__back svg { width: 18px; height: 18px; transform: rotate(180deg); transition: transform .45s var(--ease); }
.ty__back:hover { color: #fff; }
.ty__back:hover svg { transform: rotate(180deg) translateX(5px); }
.ty-page .ftr__bot { padding-top: 28px; }
@media (max-width: 760px) {
  .ty-page { padding-bottom: 0; }
  .ty__call .hdr__call-ic { display: none; }
  .ty__call { font-size: 15px; text-align: right; }
  .ty__tick { width: 68px; height: 68px; margin-bottom: 24px; }
  .ty__tick svg { width: 34px; height: 34px; }
  .ty__btns .btn { flex: 1 1 100%; }
}
