:root {
  --bg: #ffffff;
  --bg2: #f2f4f7;
  --line: rgba(0, 0, 0, 0.14);
  --text: #111111;
  --muted: rgba(0, 0, 0, 0.62);
  --accent: #111111;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(150deg, var(--bg), var(--bg2));
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(1000px 600px at 40% -20%, rgba(0, 0, 0, 0.08), transparent 65%);
}

.bgVideo {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: grayscale(1) contrast(1.05);
}

.bgShade {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.92));
}

.shell {
  position: relative;
  width: min(1320px, 96vw);
  margin: 0 auto;
  padding: 24px 0 32px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  padding: 12px 14px;
}

.topNav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menuToggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: auto;
  position: relative;
  overflow: visible;
  border-radius: 10px;
  padding: 2px 4px;
}

.logo {
  width: clamp(220px, 24vw, 320px);
  height: auto;
  max-height: 72px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.34s ease, filter 0.34s ease;
  animation: logoFloat 3.6s ease-in-out infinite;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.16));
}

.brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 46%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-18deg);
  transition: left 0.45s ease;
}

.brand::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: -6px;
  bottom: -6px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.14), transparent 70%);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.brand:hover .logo {
  transform: translateY(-2px) scale(1.03);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}

.brand:hover::before {
  left: 155%;
}

.brand:hover::after {
  opacity: 1;
  transform: scale(1.02);
}

.catalogBtn {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 11px 20px;
  border-radius: 12px;
  border: 0;
  background: #111;
  color: #fff;
  text-decoration: none;
  box-shadow: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: visible;
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  cursor: pointer;
  filter: none;
  isolation: isolate;
}

.catalogBtn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background:
    radial-gradient(70% 120% at 50% 120%, rgba(255, 255, 255, 0.28), transparent 58%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 45%);
  opacity: 0;
  transform: scale(0.92);
  filter: blur(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  z-index: -1;
}

.catalogBtn::after {
  content: none;
}

.catalogBtn:hover {
  transform: translateY(-2px) scale(1.02);
  background: #262626;
  box-shadow: none;
  filter: none;
}

.catalogBtn:hover::after {
  transform: none;
}

.catalogBtn:hover::before {
  opacity: 1;
  transform: scale(1);
}

.catalogBtn:active {
  transform: translateY(0);
}

.langBtn {
  min-width: 60px;
  text-align: center;
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  border-radius: 12px;
  padding-inline: 0;
}

.contactBtn {
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  border-radius: 12px;
}

@keyframes logoFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
  100% { transform: translateY(0); }
}

.hero {
  margin: 16px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.08;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.cta {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.45);
  color: #111111;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.cta:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.07);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.26);
}

.viewerWrap {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.viewer {
  display: block;
  width: 100%;
  min-height: 82vh;
  border: 0;
}

.homeVideoWrap {
  margin: 16px 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  width: 100%;
}

.homeVideo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  transform: none;
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
  background: transparent;
}

.siteFooter {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 0 6px;
}

.contactOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 30;
  padding: 16px;
}

.contactOverlay.open {
  display: flex;
}

.contactModal {
  width: min(520px, 96vw);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  padding: 16px;
  position: relative;
}

.contactClose {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.08);
  font-size: 22px;
  cursor: pointer;
}

.contactTitle {
  font-weight: 700;
  margin-bottom: 10px;
}

.contactForm {
  display: grid;
  gap: 10px;
}

.contactForm label {
  display: grid;
  gap: 6px;
  font-size: 13px;
}

.contactForm input,
.contactForm textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 10px;
  font-family: inherit;
  font-size: 14px;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.submitBtn {
  clip-path: none;
  border-radius: 10px;
  justify-self: start;
  min-width: 120px;
  border: 0;
}

.contactStatus {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.72);
  min-height: 18px;
}

@media (max-width: 800px) {
  .shell {
    width: 95vw;
    padding-top: 14px;
  }

  .top {
    border-radius: 14px;
    padding: 10px 12px;
    align-items: center;
  }

  .menuToggle {
    display: inline-grid;
    place-items: center;
  }

  .topNav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.2);
    z-index: 40;
    min-width: 180px;
    flex-direction: column;
    align-items: stretch;
  }

  .topNav.open {
    display: flex;
  }

  .top {
    position: relative;
  }

  .topNav .catalogBtn {
    clip-path: none;
    border-radius: 10px;
    text-align: center;
    width: 100%;
  }

  .hero {
    border-radius: 14px;
    padding: 14px 12px;
  }

  .viewerWrap {
    border-radius: 14px;
  }

  .viewer {
    min-height: 76vh;
  }

  .homeVideoWrap {
    border-radius: 0;
  }

  .homeVideo {
    transform: none;
    border-radius: 0;
  }
}
