/*
Theme Name: EG GROUP
Theme URI: https://eggroup.lt
Author: EG GROUP
Description: Premium industrial WordPress theme for EG GROUP vacuum lifter store and VEKA 82 window calculator.
Version: 1.0.47
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: eggroup
*/

:root {
  --eg-bg: #0a0a0a;
  --eg-panel: #1a1a1a;
  --eg-red: #ff0000;
  --eg-glow: #ff2b2b;
  --eg-white: #ffffff;
  --eg-muted: #b5b5b5;
  --eg-border: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 4%, rgba(255, 0, 0, 0.2), transparent 30rem),
    linear-gradient(135deg, rgba(255, 0, 0, 0.1), transparent 26rem),
    var(--eg-bg);
  color: var(--eg-white);
  font-family: Montserrat, Poppins, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

.eg-hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.eg-container {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.eg-section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.eg-grid-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
}

.eg-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(18px);
}

.eg-header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-width: 0;
}

.eg-logo img {
  width: clamp(82px, 7vw, 98px);
  display: block;
}

.eg-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.2vw, 1.65rem);
  color: var(--eg-muted);
  font-size: clamp(0.72rem, 0.9vw, 0.86rem);
  font-weight: 900;
  text-transform: uppercase;
  min-width: 0;
  white-space: nowrap;
}

.eg-nav a:hover {
  color: var(--eg-white);
}

.eg-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  gap: 3px;
  border: 1px solid var(--eg-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.eg-menu-toggle:hover,
.eg-header.is-menu-open .eg-menu-toggle {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 0, 0, 0.35);
}

.eg-menu-toggle:active {
  transform: scale(0.96);
}

.eg-menu-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: var(--eg-white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.eg-header.is-menu-open .eg-menu-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.eg-header.is-menu-open .eg-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.eg-header.is-menu-open .eg-menu-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.eg-cart-link {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--eg-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.eg-cart-count {
  position: absolute;
  right: -8px;
  top: -8px;
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--eg-red);
  font-size: 0.72rem;
  font-weight: 900;
}

.eg-hero {
  position: relative;
  isolation: isolate;
  min-height: max(760px, calc(100vh - 78px));
  overflow: hidden;
  --hero-x: 0;
  --hero-y: 0;
}

.eg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.eg-hero::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
  width: 47%;
  height: 100%;
  background: linear-gradient(135deg, #df0000, #750000);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  transform: translate3d(calc(var(--hero-x) * -8px), calc(var(--hero-y) * -5px), 0);
  transition: transform 180ms ease-out;
}

.eg-hero-inner {
  display: grid;
  min-height: max(760px, calc(100vh - 78px));
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(4.75rem, 7vh, 6.25rem) clamp(3.25rem, 5vh, 4.25rem);
}

[data-parallax-layer] {
  --depth: 1;
  transform: translate3d(calc(var(--hero-x, 0) * var(--depth) * 10px), calc(var(--hero-y, 0) * var(--depth) * 8px), 0);
  transition: transform 180ms ease-out;
  will-change: transform;
}

.eg-kicker {
  color: var(--eg-red);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eg-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 0, 0, 0.5);
  border-radius: 8px;
  padding: 0.8rem 1.1rem;
  background: rgba(0, 0, 0, 0.4);
  color: var(--eg-white);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 0 26px rgba(255, 0, 0, 0.22);
}

.eg-title {
  margin: 1.4rem 0 0;
  color: var(--eg-white);
  max-width: 780px;
  font-size: clamp(2.8rem, 4.75vw, 5.35rem);
  font-weight: 950;
  line-height: 0.98;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

.eg-title span {
  color: var(--eg-red);
}

.eg-lead {
  max-width: 620px;
  margin: 1.5rem 0 0;
  color: var(--eg-white);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
}

.eg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.eg-btn {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid var(--eg-red);
  border-radius: 8px;
  padding: 0.95rem 1.45rem;
  background: var(--eg-red);
  color: var(--eg-white);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.35);
  overflow: hidden;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

[data-glow] {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --glow-x: 50%;
  --glow-y: 50%;
}

[data-glow]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 255, 255, 0.18), transparent 34%);
  transition: opacity 220ms ease;
}

[data-glow]:hover::after {
  opacity: 1;
}

[data-glow] > * {
  position: relative;
  z-index: 1;
}

.eg-btn:hover {
  transform: translateY(-2px);
  background: var(--eg-glow);
  box-shadow: 0 0 42px rgba(255, 43, 43, 0.5);
}

.eg-btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--eg-border);
  box-shadow: none;
}

.eg-product-stage {
  position: relative;
  min-height: clamp(410px, 43vw, 610px);
  min-width: 0;
  perspective: 1100px;
}

.eg-product-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 42px 80px rgba(0, 0, 0, 0.75));
}

.eg-demo-product {
  z-index: 3;
  transform-origin: 48% 60%;
  transition: transform 420ms cubic-bezier(0.2, 0.78, 0.24, 1), filter 420ms ease;
}

.eg-demo-surface {
  position: absolute;
  left: 10%;
  top: 18%;
  z-index: 1;
  width: 58%;
  height: 58%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 45%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 54px),
    rgba(230, 244, 245, 0.12);
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.03), 0 30px 90px rgba(0, 0, 0, 0.36);
  transform: rotateX(58deg) rotateZ(-9deg) translate3d(-2%, 14%, 0);
  transform-origin: center;
  transition: transform 520ms ease, border-color 420ms ease, background 420ms ease;
}

.eg-demo-surface span {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.28);
  filter: blur(10px);
}

.eg-demo-surface span:nth-child(1) {
  right: 11%;
  top: 18%;
  width: 78px;
  height: 78px;
}

.eg-demo-surface span:nth-child(2) {
  left: 18%;
  bottom: 20%;
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.18);
}

.eg-demo-surface span:nth-child(3) {
  right: 30%;
  bottom: 10%;
  width: 34px;
  height: 34px;
}

.eg-suction-field {
  position: absolute;
  left: 43%;
  top: 46%;
  z-index: 2;
  width: clamp(120px, 17vw, 220px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(0.76);
  opacity: 0;
  transition: opacity 260ms ease, transform 420ms ease;
}

.eg-suction-field span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 0, 0, 0.56);
  border-radius: 999px;
  box-shadow: 0 0 32px rgba(255, 0, 0, 0.32);
}

.eg-suction-field span:nth-child(2) {
  inset: 18%;
  border-color: rgba(255, 255, 255, 0.32);
}

.eg-suction-field span:nth-child(3) {
  inset: 36%;
  border-color: rgba(255, 0, 0, 0.7);
  background: rgba(255, 0, 0, 0.12);
}

.eg-vacuum-panel {
  position: absolute;
  left: 0;
  top: 52%;
  bottom: auto;
  z-index: 5;
  width: min(260px, 46%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(5, 5, 5, 0.78);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

.eg-vacuum-label,
.eg-vacuum-panel small {
  display: block;
  color: var(--eg-muted);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
}

.eg-vacuum-panel strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--eg-white);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 950;
}

.eg-vacuum-panel small {
  margin-top: 0.55rem;
  text-transform: none;
}

.eg-vacuum-meter {
  height: 8px;
  margin-top: 0.85rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
}

.eg-vacuum-meter span {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--eg-red), #ff6b6b);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
  transition: width 540ms cubic-bezier(0.2, 0.78, 0.24, 1);
}

.eg-demo-trigger {
  position: absolute;
  right: 0;
  top: 2rem;
  z-index: 6;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 0.7rem 0.95rem;
  background: rgba(5, 5, 5, 0.68);
  color: var(--eg-white);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.eg-demo-trigger:hover {
  border-color: rgba(255, 0, 0, 0.55);
  background: rgba(255, 0, 0, 0.18);
  transform: translateY(-2px);
}

.eg-product-stage.is-demo-active .eg-demo-product {
  transform: translate3d(-2.5%, 2.5%, 0) scale(0.985) rotateZ(-1.2deg);
  filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.76)) drop-shadow(0 0 22px rgba(255, 0, 0, 0.18));
}

.eg-product-stage.is-demo-active .eg-demo-surface {
  border-color: rgba(255, 0, 0, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 45%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 54px),
    rgba(230, 244, 245, 0.18);
  transform: rotateX(58deg) rotateZ(-9deg) translate3d(-3%, 16%, 0);
}

.eg-product-stage.is-demo-active .eg-suction-field {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.eg-product-stage.is-demo-active .eg-suction-field span {
  animation: egPulseVacuum 1.45s ease-out infinite;
}

.eg-product-stage.is-demo-active .eg-suction-field span:nth-child(2) {
  animation-delay: 120ms;
}

.eg-product-stage.is-demo-active .eg-suction-field span:nth-child(3) {
  animation-delay: 240ms;
}

.eg-product-stage.is-demo-active .eg-vacuum-meter span {
  width: 96%;
}

.eg-product-stage.is-demo-active .eg-vacuum-panel {
  border-color: rgba(255, 0, 0, 0.34);
}

@keyframes egPulseVacuum {
  0% {
    transform: scale(0.86);
    opacity: 0.85;
  }

  70% {
    opacity: 0.18;
  }

  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

.eg-price-card {
  position: absolute;
  right: clamp(0rem, 2vw, 1rem);
  bottom: 2rem;
  z-index: 4;
  border: 1px solid rgba(255, 0, 0, 0.4);
  border-radius: 8px;
  padding: 1.4rem 1.7rem;
  background: rgba(0, 0, 0, 0.82);
  box-shadow: 0 0 36px rgba(255, 0, 0, 0.28);
}

.eg-price-card span {
  color: var(--eg-muted);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eg-price-card strong {
  display: block;
  margin-top: 0.3rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.eg-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.eg-stat,
.eg-card {
  border: 1px solid var(--eg-border);
  border-radius: 8px;
  background: rgba(26, 26, 26, 0.88);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
}

.eg-stat {
  padding: 1.15rem;
}

.eg-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 950;
}

.eg-stat span {
  display: block;
  margin-top: 0.45rem;
  color: var(--eg-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eg-section-head {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.eg-section-head h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2rem, 3.75vw, 3.1rem);
  font-weight: 950;
  line-height: 1.02;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.eg-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--eg-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.eg-benefit {
  min-height: 230px;
  padding: 1.6rem;
  background: rgba(26, 26, 26, 0.92);
}

.eg-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 0, 0, 0.5);
  border-radius: 999px;
  color: var(--eg-red);
}

.eg-benefit h3,
.eg-card h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  font-weight: 950;
  line-height: 1.12;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.eg-benefit p,
.eg-card p {
  margin: 0;
  color: var(--eg-muted);
  line-height: 1.7;
}

.eg-feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: stretch;
}

.eg-card {
  padding: 1.7rem;
  min-width: 0;
  overflow: hidden;
}

.eg-feature .eg-card {
  align-content: center;
  min-height: 250px;
}

.eg-product-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 0, 0, 0.28);
  border-radius: 8px;
  background: rgba(26, 26, 26, 0.86);
}

.eg-product-card .eg-product-media {
  min-height: 430px;
  padding: 2rem;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.18), transparent 55%);
}

.eg-product-card .eg-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eg-product-info {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.eg-product-info h1,
.eg-page-title {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.05rem, 3.95vw, 3.25rem);
  font-weight: 950;
  line-height: 1.02;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

.eg-card .eg-page-title {
  max-width: 520px;
  font-size: clamp(1.85rem, 3.1vw, 2.65rem);
  line-height: 1.06;
}

.eg-card .eg-kicker + h3 {
  margin-top: 1.1rem;
}

.eg-price {
  margin: 1rem 0;
  color: var(--eg-red);
  font-size: 2.7rem;
  font-weight: 950;
}

.eg-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.3rem 0;
  padding: 0;
  list-style: none;
}

.eg-list li {
  display: flex;
  gap: 0.65rem;
  color: var(--eg-muted);
}

.eg-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: var(--eg-red);
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.6);
}

.eg-delivery-box {
  margin: 1.6rem 0;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.eg-delivery-box h2 {
  margin: 0 0 1rem;
  color: var(--eg-white);
  font-size: 1rem;
  font-weight: 950;
  text-transform: uppercase;
}

.eg-delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.eg-delivery-grid div {
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
}

.eg-delivery-grid strong,
.eg-delivery-grid span {
  display: block;
}

.eg-delivery-grid strong {
  margin-bottom: 0.35rem;
  color: var(--eg-white);
  font-size: 0.85rem;
  font-weight: 950;
}

.eg-delivery-grid span {
  color: var(--eg-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.eg-form {
  display: grid;
  gap: 1rem;
}

.eg-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--eg-muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eg-form input,
.eg-form select,
.eg-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.95rem 1rem;
  background: rgba(0, 0, 0, 0.62);
  color: var(--eg-white);
}

.eg-form textarea {
  min-height: 140px;
  resize: vertical;
}

.eg-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 2.5rem;
  background: #050505;
  color: var(--eg-muted);
}

.eg-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1.5rem;
  align-items: center;
}

.eg-footer strong {
  color: var(--eg-white);
}

.eg-footer p {
  margin: 0.45rem 0 0;
}

.eg-footer-links {
  display: grid;
  gap: 0.35rem;
  color: var(--eg-muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.eg-footer-links a:hover,
.eg-footer-contact a:hover {
  color: var(--eg-white);
}

.eg-footer-contact {
  text-align: right;
}

.eg-info-page {
  max-width: 920px;
  margin-inline: auto;
}

.eg-info-page .eg-page-title {
  max-width: 760px;
  margin-top: 0.65rem;
}

.eg-info-page p {
  font-size: 1rem;
}

.eg-info-page h2 {
  margin: 2rem 0 0.65rem;
  color: var(--eg-white);
  font-size: 1.05rem;
  font-weight: 950;
  text-transform: uppercase;
}

.eg-info-page a {
  color: var(--eg-white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 0, 0, 0.7);
  text-underline-offset: 0.2em;
}

.eg-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(10px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 720ms ease;
}

.eg-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.eg-reveal[data-reveal="left"] {
  transform: translate3d(-36px, 0, 0);
}

.eg-reveal[data-reveal="right"] {
  transform: translate3d(36px, 0, 0);
}

.eg-reveal.is-visible[data-reveal="left"],
.eg-reveal.is-visible[data-reveal="right"] {
  transform: translate3d(0, 0, 0);
}

.eg-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: 1.5rem;
}

.eg-calculator > .eg-card {
  min-height: 0;
}

.eg-calculator-preview {
  display: grid;
  min-height: clamp(280px, 30vw, 360px);
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
}

.eg-window-drawing {
  position: relative;
  width: min(340px, 86%);
  aspect-ratio: 1 / 1.16;
  border: 16px solid #f3f3f3;
  box-shadow: inset 0 0 0 10px #111, 0 0 0 1px rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(180, 220, 230, 0.35), rgba(45, 55, 60, 0.65));
}

.eg-window-drawing::before,
.eg-window-drawing::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-top: 2px dashed rgba(0, 0, 0, 0.65);
  transform: rotate(28deg);
}

.eg-window-drawing::after {
  transform: rotate(-28deg);
}

.eg-summary-total {
  font-size: clamp(2.35rem, 4vw, 3.65rem);
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.eg-window-app {
  margin-top: 2rem;
}

.eg-print-brand {
  display: none;
  margin-bottom: 1.2rem;
}

.eg-print-brand img {
  display: block;
  width: 138px;
  height: auto;
}

.eg-window-toolbar,
.eg-window-item,
.eg-window-total,
.eg-window-preview-rich,
.eg-color-picker,
.eg-installation,
.eg-window-summary {
  border: 1px solid var(--eg-border);
  border-radius: 8px;
  background: rgba(26, 26, 26, 0.88);
}

.eg-window-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: rgba(255, 0, 0, 0.08);
}

.eg-window-toolbar strong,
.eg-window-item-head strong,
.eg-installation strong {
  display: block;
  color: var(--eg-white);
  font-weight: 950;
  text-transform: uppercase;
}

.eg-window-toolbar span,
.eg-window-item-head small,
.eg-installation small,
.eg-window-total p {
  display: block;
  color: var(--eg-muted);
  line-height: 1.5;
}

.eg-window-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: 1.25rem;
  align-items: start;
}

.eg-cad-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: 1.25rem;
  align-items: start;
}

.eg-cad-main,
.eg-cad-product {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.eg-cad-inspector {
  display: grid;
  gap: 1rem;
  margin: 0 1.15rem 1.15rem;
  border: 1px solid var(--eg-border);
  border-radius: 8px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.46);
}

.eg-cad-inspector h3 {
  margin: 0;
  color: var(--eg-white);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 950;
}

.eg-window-fields-stacked {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
}

.eg-window-actions-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
}

.eg-cad-export {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.65rem;
  margin: 0 1.15rem 1.15rem;
}

.eg-cad-export button,
.eg-drawing-ok,
.eg-drawing-errors {
  border-radius: 8px;
}

.eg-cad-export button {
  min-height: 42px;
  border: 1px solid var(--eg-border);
  background: rgba(0, 0, 0, 0.55);
  color: var(--eg-white);
  cursor: pointer;
  font-weight: 900;
}

.eg-cad-export button:hover {
  border-color: var(--eg-red);
}

.eg-cad-export button.is-active {
  border-color: var(--eg-red);
  background: rgba(255, 0, 0, 0.18);
  color: var(--eg-white);
  box-shadow: 0 0 0 1px rgba(255, 0, 0, 0.25) inset;
}

.eg-cad-export button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.eg-drawing-hint {
  margin: 0 1.15rem 1.15rem;
  border: 1px solid rgba(255, 0, 0, 0.38);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 0, 0, 0.1);
  color: var(--eg-white);
  font-weight: 800;
}

.eg-drawing-ok,
.eg-drawing-errors {
  margin: 0 1.15rem 1.15rem;
  padding: 0.85rem 1rem;
  font-weight: 800;
}

.eg-drawing-ok {
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.1);
  color: #b7f7d7;
}

.eg-drawing-errors {
  border: 1px solid rgba(255, 0, 0, 0.45);
  background: rgba(255, 0, 0, 0.1);
  color: #ffd0d0;
}

.eg-drawing-errors p {
  margin: 0.25rem 0;
}

.eg-window-items {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.eg-window-item {
  overflow: hidden;
}

.eg-window-item-head {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  padding: 1.15rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.eg-window-item-head b {
  display: block;
  color: var(--eg-red);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.eg-window-item-head strong {
  margin-top: 0.15rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.05;
}

.eg-window-item-head em {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--eg-border);
  border-radius: 8px;
  color: var(--eg-red);
  font-style: normal;
  font-size: 1.5rem;
}

.eg-window-actions,
.eg-window-fields,
.eg-panel-list {
  display: grid;
  gap: 0.75rem;
  padding: 0 1.15rem 1.15rem;
}

.eg-window-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eg-window-actions button,
.eg-panel-row button {
  min-height: 42px;
  border: 1px solid var(--eg-border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--eg-white);
  cursor: pointer;
  font-weight: 900;
}

.eg-window-actions button:hover,
.eg-panel-row button:hover {
  border-color: var(--eg-red);
}

.eg-window-actions button:disabled,
.eg-panel-row button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.eg-window-fields {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eg-window-fields label,
.eg-panel-row label {
  display: grid;
  gap: 0.4rem;
  color: var(--eg-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eg-window-fields input,
.eg-window-fields select,
.eg-panel-row input,
.eg-panel-row select,
.eg-color-picker input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.82rem 0.9rem;
  background: rgba(0, 0, 0, 0.72);
  color: var(--eg-white);
}

.eg-window-preview-rich {
  margin: 0 1.15rem 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.48);
}

.eg-window-preview-technical {
  background: #f7f7f4;
  color: #111;
}

.eg-window-preview-technical svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: Arial, sans-serif;
}

.eg-technical-svg [data-segment] {
  cursor: pointer;
}

.eg-technical-svg.is-drawing [data-segment] {
  cursor: crosshair;
}

.eg-window-preview-technical {
  touch-action: none;
  user-select: none;
}

.eg-client-tools {
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.eg-client-tools section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 0.55rem;
  border: 1px solid var(--eg-border);
  border-radius: 8px;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.28);
}

.eg-client-tools section > span {
  grid-column: 1 / -1;
  color: var(--eg-red);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.eg-client-tools button {
  min-height: 46px;
  padding: 0.55rem 0.7rem;
  line-height: 1.15;
}

.eg-inspector-head {
  display: grid;
  gap: 0.25rem;
}

.eg-inspector-head small {
  color: var(--eg-muted);
  font-weight: 800;
}

.eg-client-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eg-client-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eg-client-actions button {
  min-height: 46px;
  line-height: 1.15;
}

.eg-draw-frame-outer,
.eg-draw-frame,
.eg-draw-sash,
.eg-draw-glass {
  fill: none;
  stroke: #1f1f1f;
  vector-effect: non-scaling-stroke;
}

.eg-draw-segment.is-selected .eg-draw-sash {
  stroke: #ff0000;
  stroke-width: 2.5;
}

.eg-draw-frame-outer {
  stroke-width: 2;
}

.eg-draw-frame {
  stroke-width: 3;
}

.eg-draw-sash {
  stroke-width: 1.5;
}

.eg-draw-glass {
  fill: rgba(210, 225, 228, 0.45);
  stroke-width: 1;
}

.eg-draw-open,
.eg-draw-dim,
.eg-draw-tick {
  fill: none;
  stroke: #1f1f1f;
  vector-effect: non-scaling-stroke;
}

.eg-draw-open {
  stroke-width: 1.35;
}

.eg-draw-arrow {
  stroke-width: 1.6;
}

.eg-draw-soft {
  stroke-dasharray: 5 4;
}

.eg-draw-dim,
.eg-draw-tick {
  stroke-width: 1;
}

.eg-draw-marker {
  fill: none;
  stroke: #1f1f1f;
  stroke-width: 1.2;
}

.eg-draw-name {
  fill: #555;
  font-size: 22px;
  font-weight: 700;
}

.eg-draw-area-main {
  fill: #555;
  font-size: 15px;
}

.eg-draw-dim-text,
.eg-draw-part,
.eg-draw-small,
.eg-draw-area,
.eg-draw-view,
.eg-draw-fix {
  fill: #111;
  font-weight: 700;
}

.eg-draw-dim-text {
  font-size: 15px;
}

.eg-draw-part {
  font-size: 12px;
}

.eg-draw-small {
  font-size: 11px;
}

.eg-draw-area {
  fill: #555;
  font-size: 12px;
}

.eg-draw-view {
  fill: #333;
  font-size: 13px;
}

.eg-draw-fix {
  font-size: 28px;
  font-weight: 800;
}

.eg-window-size,
.eg-window-note {
  color: var(--eg-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.eg-window-frame {
  display: flex;
  min-height: 230px;
  gap: 0.35rem;
  margin: 0.75rem auto;
  padding: 0.85rem;
  border: 12px solid var(--frame);
  background: #f4f4f4;
  box-shadow: inset 0 0 0 8px #111;
}

.eg-window-panel {
  position: relative;
  display: grid;
  min-width: 72px;
  place-items: center;
  border: 8px solid;
  background: linear-gradient(135deg, rgba(180, 220, 230, 0.5), rgba(40, 55, 60, 0.72));
  color: #111;
  text-align: center;
}

.eg-window-panel span {
  position: absolute;
  left: 0.35rem;
  top: 0.25rem;
  color: #111;
  font-size: 0.72rem;
  font-weight: 950;
}

.eg-window-panel b {
  font-size: 2rem;
  line-height: 1;
}

.eg-window-panel small {
  position: absolute;
  bottom: 0.3rem;
  left: 0.25rem;
  right: 0.25rem;
  font-size: 0.64rem;
  font-weight: 900;
}

.eg-color-picker {
  display: grid;
  gap: 0.75rem;
  margin: 0 1.15rem 1.15rem;
  padding: 1rem;
}

.eg-color-selected {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eg-color-selected strong {
  display: block;
  color: var(--eg-white);
  font-weight: 950;
  text-transform: uppercase;
}

.eg-color-selected small,
.eg-color-option small {
  display: block;
  color: var(--eg-muted);
}

.eg-color-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  max-height: 330px;
  overflow: auto;
}

.eg-color-option {
  display: flex;
  min-height: 72px;
  align-items: flex-start;
  gap: 0.65rem;
  border: 1px solid var(--eg-border);
  border-radius: 8px;
  padding: 0.6rem;
  background: rgba(0, 0, 0, 0.55);
  color: var(--eg-white);
  cursor: pointer;
  text-align: left;
}

.eg-color-option .eg-color-copy {
  display: grid;
  min-width: 0;
  gap: 0.18rem;
  line-height: 1.16;
}

.eg-color-option strong {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: var(--eg-white);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.eg-color-option small {
  min-width: 0;
  overflow: hidden;
  font-size: 0.68rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.eg-color-option.is-active {
  border-color: var(--eg-red);
  background: rgba(255, 0, 0, 0.14);
}

.eg-color-swatch {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.eg-panel-row {
  display: grid;
  grid-template-columns: 72px repeat(4, minmax(0, 1fr)) 42px;
  gap: 0.65rem;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.85rem;
  background: rgba(0, 0, 0, 0.42);
}

.eg-panel-row > strong {
  align-self: center;
  color: var(--eg-white);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.eg-installation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 1.15rem 1.15rem;
  padding: 1rem;
}

.eg-installation input {
  width: 20px;
  height: 20px;
  accent-color: var(--eg-red);
}

.eg-window-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 1.15rem 1.15rem;
  padding: 1rem;
}

.eg-window-summary span {
  color: var(--eg-muted);
}

.eg-window-summary strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--eg-white);
}

.eg-window-total {
  position: sticky;
  top: 104px;
}

.eg-window-total > strong {
  display: block;
  margin: 0.75rem 0;
  color: var(--eg-white);
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  font-weight: 950;
  line-height: 1;
}

.eg-quote-pdf-btn {
  width: 100%;
  margin: 0.35rem 0 0.55rem;
  justify-content: center;
}

.eg-inquiry-form {
  margin-top: 1rem;
  gap: 0.7rem;
}

.eg-inquiry-form label {
  font-size: 0.72rem;
}

.eg-inquiry-form input {
  padding: 0.72rem 0.8rem;
}

.eg-inquiry-form .eg-btn {
  width: 100%;
  margin-top: 0.2rem;
  border: 0;
}

.eg-inquiry-status {
  margin-top: 0.85rem;
  border-radius: 8px;
  padding: 0.78rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.eg-inquiry-status.is-ok {
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.1);
  color: #b7f7d7;
}

.eg-inquiry-status.is-error {
  border: 1px solid rgba(255, 0, 0, 0.45);
  background: rgba(255, 0, 0, 0.1);
  color: #ffd0d0;
}

.eg-calculator aside.eg-card > div:last-child {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end !important;
}

.eg-calculator aside.eg-card .eg-btn {
  min-width: 136px;
  padding-inline: 1.15rem;
}

@media (max-width: 900px) {
  .eg-header-inner {
    position: relative;
    gap: 0.45rem;
  }

  .eg-menu-toggle {
    display: grid;
    margin-left: auto;
    margin-right: 0.15rem;
  }

  .eg-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: grid;
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    gap: 0;
    border: 0 solid var(--eg-border);
    border-radius: 8px;
    background: rgba(8, 8, 8, 0.98);
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.24s ease, opacity 0.2s ease, padding 0.2s ease, border-width 0.2s ease;
    white-space: normal;
  }

  .eg-header.is-menu-open .eg-nav {
    max-height: 420px;
    padding-block: 0.65rem;
    border-width: 1px;
    opacity: 1;
    pointer-events: auto;
  }

  .eg-nav a {
    display: block;
    padding: 0.95rem 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--eg-white);
  }

  .eg-nav a:last-child {
    border-bottom: 0;
  }

  .eg-hero-inner,
  .eg-feature,
  .eg-product-card,
  .eg-calculator {
    grid-template-columns: 1fr;
  }

  .eg-hero {
    min-height: auto;
  }

  .eg-hero-inner {
    min-height: auto;
    padding-block: 2.4rem;
  }

  .eg-hero::after {
    width: 100%;
    opacity: 0.72;
    clip-path: none;
  }

  .eg-product-stage {
    min-height: 430px;
  }

  .eg-demo-surface {
    left: 18%;
    top: 12%;
    width: 62%;
    height: 50%;
  }

  .eg-vacuum-panel {
    left: 0;
    bottom: 5.8rem;
    width: min(270px, 58%);
  }

  .eg-demo-trigger {
    right: 0;
    top: 0;
  }

  .eg-benefits {
    grid-template-columns: 1fr;
  }

  .eg-card .eg-page-title {
    max-width: 100%;
  }

  .eg-calculator aside.eg-card > div:last-child {
    grid-template-columns: 1fr;
  }

  .eg-window-layout,
  .eg-cad-layout,
  .eg-window-fields,
  .eg-window-summary {
    grid-template-columns: 1fr;
  }

  .eg-window-total {
    position: static;
  }

  .eg-window-actions,
  .eg-window-actions-stack,
  .eg-cad-export,
  .eg-client-tools section,
  .eg-client-fields,
  .eg-client-actions,
  .eg-window-fields-stacked,
  .eg-panel-row,
  .eg-color-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .eg-header,
  .eg-footer,
  .eg-window-toolbar,
  .eg-window-fields,
  .eg-cad-export,
  .eg-cad-inspector,
  .eg-window-total {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  .eg-container,
  .eg-section {
    width: 100%;
    padding: 0;
  }

  .eg-window-item,
  .eg-window-preview-rich {
    border: 0;
    box-shadow: none;
  }

  .eg-print-brand {
    display: block !important;
  }

  .eg-print-brand img {
    width: 118px;
  }
}

@media (max-width: 640px) {
  .eg-container {
    width: calc(100% - 24px);
  }

  .eg-title {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.04;
  }

  .eg-header-inner {
    min-height: 74px;
  }

  .eg-cart-link {
    width: 42px;
    height: 42px;
  }

  .eg-menu-toggle {
    width: 42px;
    height: 42px;
  }

  .eg-product-stage {
    min-height: 340px;
  }

  .eg-price-card {
    left: 0;
    right: auto;
    bottom: 0;
    padding: 1rem 1.15rem;
  }

  .eg-demo-surface {
    left: 16%;
    top: 16%;
    width: 70%;
    height: 46%;
  }

  .eg-suction-field {
    left: 52%;
    top: 43%;
    width: 120px;
  }

  .eg-vacuum-panel {
    left: 0;
    top: 3.2rem;
    bottom: auto;
    width: min(230px, 62%);
    padding: 0.85rem;
  }

  .eg-vacuum-panel strong {
    font-size: 0.98rem;
  }

  .eg-vacuum-panel small {
    display: none;
  }

  .eg-demo-trigger {
    top: 0;
    right: 0;
    min-height: 38px;
    padding: 0.62rem 0.78rem;
    font-size: 0.68rem;
  }

  .eg-stats {
    grid-template-columns: 1fr;
  }

  .eg-section-head h2,
  .eg-page-title {
    font-size: clamp(1.9rem, 8.5vw, 2.55rem);
    line-height: 1.08;
  }

  .eg-actions,
  .eg-btn {
    width: 100%;
  }

  .eg-delivery-grid {
    grid-template-columns: 1fr;
  }

  .eg-footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .eg-footer-contact {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-parallax-layer],
  .eg-hero::after,
  .eg-demo-product,
  .eg-demo-surface,
  .eg-suction-field {
    transform: none !important;
    transition: none !important;
  }

  [data-glow]::after {
    display: none;
  }

  .eg-suction-field span {
    animation: none !important;
  }

  .eg-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
