:root {
  --deep: #0f3d7a;
  --slate: #7f93c9;
  --graphite: #101318;
  --graphite-2: #171b22;
  --line: rgba(255, 255, 255, 0.13);
  --text: #f6f8fb;
  --muted: #aab2c3;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--graphite);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 5%, rgba(127, 147, 201, 0.18), transparent 28rem),
    linear-gradient(135deg, #0a0c10 0%, #171b22 48%, #0f1217 100%);
}

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

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

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.32;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.transition-screen {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  background: #0a0c10;
  opacity: 0;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  display: flex;
  width: min(1120px, calc(100% - 28px));
  height: 70px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(16, 19, 24, 0.72);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand-mark {
  display: grid;
  width: 168px;
  height: 48px;
  place-items: center;
  overflow: hidden;
}

.brand img {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  mix-blend-mode: screen;
}

.logo-reveal img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
}

.nav {
  display: flex;
  gap: 6px;
}

.nav a {
  padding: 12px 16px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: 0.25s ease;
}

.nav a:hover,
.nav a.active {
  background: rgba(127, 147, 201, 0.14);
  color: var(--white);
}

.icon-menu {
  display: none;
}

.page {
  display: none;
  min-height: 100vh;
  padding: 120px max(22px, calc((100vw - 1180px) / 2)) 76px;
}

.page.active {
  display: block;
}

.hero {
  display: grid;
  min-height: calc(100vh - 170px);
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  align-items: center;
  gap: 42px;
}

.logo-reveal {
  width: min(420px, 82vw);
  height: 150px;
  margin-bottom: 16px;
  filter: drop-shadow(0 18px 40px rgba(15, 61, 122, 0.42));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--slate);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}

h3 {
  font-size: 24px;
}

.lead,
.page-head p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions,
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 18px;
  color: var(--white);
  cursor: pointer;
  font-weight: 850;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.primary {
  border-color: rgba(127, 147, 201, 0.3);
  background: linear-gradient(135deg, var(--deep), #1a5aa8);
  box-shadow: 0 16px 42px rgba(15, 61, 122, 0.32);
}

.ghost {
  background: rgba(255, 255, 255, 0.06);
}

.hero-visual {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    #11161d;
  box-shadow: var(--shadow);
}

#paverCanvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 590px;
}

.visual-caption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(10, 12, 16, 0.55);
  backdrop-filter: blur(12px);
}

.visual-caption span {
  display: block;
  color: var(--slate);
  font-size: 12px;
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.trust-card,
.service,
.process,
.delivery-card,
.contact-card,
.map-panel,
.product-card,
.home-section,
.catalog-intro,
.detail-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.about-deep {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.about-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
}

.about-panel p,
.about-panel li,
.about-panel details {
  color: var(--muted);
  line-height: 1.7;
}

.about-panel ul {
  margin: 0;
  padding-left: 20px;
}

.about-panel details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.about-panel summary {
  color: var(--white);
  cursor: pointer;
  font-weight: 850;
}

.trust-card {
  padding: 26px;
}

.trust-card span {
  display: block;
  color: var(--white);
  font-size: clamp(38px, 7vw, 74px);
  font-weight: 950;
  line-height: 1;
}

.trust-card p,
.service p,
.process p,
.contact-card small,
.home-section p,
.catalog-intro p,
.detail-shell p {
  color: var(--muted);
  line-height: 1.6;
}

.home-section {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 42px);
}

.factory-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: stretch;
}

.story-metrics {
  display: grid;
  gap: 12px;
}

.story-metrics div,
.knowledge-grid article,
.road-steps div,
.detail-fact,
.spec-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
}

.story-metrics div {
  display: grid;
  align-content: center;
  min-height: 116px;
  padding: 18px;
}

.story-metrics b {
  font-size: 42px;
  line-height: 1;
}

.story-metrics span,
.category-tile span,
.road-steps span {
  color: var(--slate);
  font-weight: 900;
}

.section-title {
  max-width: 820px;
  margin-bottom: 22px;
}

.category-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.category-tile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.category-tile img,
.catalog-intro img,
.detail-hero img,
.product-media img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.category-tile img {
  height: 180px;
}

.category-tile div {
  padding: 18px;
}

.category-tile a {
  color: var(--white);
  font-weight: 850;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.knowledge-grid article,
.road-steps div {
  padding: 18px;
}

.knowledge-grid b,
.road-steps b {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.road-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.page-head {
  margin-bottom: 30px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.filter.active {
  border-color: rgba(127, 147, 201, 0.48);
  background: rgba(15, 61, 122, 0.82);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  padding: 0;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: translateX(-80%);
  transition: 0.5s ease;
}

.product-card:hover {
  border-color: rgba(127, 147, 201, 0.55);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
  transform: translateY(-8px);
}

.product-card:hover::before {
  opacity: 1;
  transform: translateX(80%);
}

.product-card .category {
  color: var(--slate);
  font-size: 12px;
  font-weight: 900;
}

.product-media {
  height: 150px;
  overflow: hidden;
  background: #0d1117;
}

.product-media img {
  height: 100%;
  transition: transform 0.45s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.06);
}

.product-body {
  padding: 18px;
}

.product-card h3 {
  min-height: 58px;
  margin: 14px 0;
  font-size: 19px;
  line-height: 1.2;
}

.price {
  font-size: 26px;
  font-weight: 950;
}

.unit,
.status {
  color: var(--muted);
}

.product-card .actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.product-card .actions .btn {
  position: static;
  opacity: 1;
  transform: none;
  
}



@media (min-width: 721px) {
  .product-card .actions {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    margin-top: 0;
  }
  
  .product-card .actions .btn {
    position: static;
    opacity: 1;
    transform: none;
  }
}

.catalog-intro {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
  padding: 18px;
}

.catalog-intro img {
  height: 190px;
  border-radius: 6px;
}

.detail-shell {
  padding: clamp(22px, 4vw, 38px);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}

.detail-hero img {
  height: min(460px, 58vh);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--slate);
  font-weight: 900;
}

.detail-price {
  margin: 18px 0;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 950;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.detail-fact {
  padding: 18px;
}

.detail-fact span {
  display: block;
  color: var(--slate);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 18px;
}

.detail-text,
.spec-card {
  padding: 22px;
}

.detail-text ul,
.spec-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.related-grid {
  display: grid;
  gap: 10px;
}

.related-grid a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.service {
  padding: 28px;
}

.service span {
  color: var(--slate);
  font-weight: 950;
}

.process {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 28px;
  padding: 30px;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.process-line div {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  background: rgba(15, 61, 122, 0.2);
}

.process-line b {
  color: var(--slate);
}

.contact-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
}

.delivery-card,
.contact-card {
  padding: 24px;
}

.delivery-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 700;
}

.delivery-card input,
.delivery-card select,
.order-form input,
.order-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  outline: none;
}

.delivery-card option {
  color: #111;
}

.delivery-result {
  margin: 18px 0;
  color: var(--white);
  font-size: 36px;
  font-weight: 950;
}

.map-panel {
  min-height: 520px;
  overflow: hidden;
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(0.82) brightness(0.72) saturate(0.75);
}

.contact-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 90px 1fr 90px 1fr auto;
  gap: 12px 18px;
  align-items: center;
}

.contact-card p {
  margin: 0;
  color: var(--slate);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card a {
  color: var(--white);
  font-weight: 850;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.order-form {
  position: relative;
  display: grid;
  width: min(460px, 100%);
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background: #121820;
  box-shadow: var(--shadow);
}

.order-form h3 {
  margin-bottom: 6px;
}

.order-form textarea {
  min-height: 110px;
  resize: vertical;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  cursor: pointer;
  font-size: 24px;
}

@media (max-width: 1000px) {
  .hero,
  .process,
  .contact-layout,
  .factory-story,
  .detail-hero,
  .detail-content,
  .catalog-intro {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .category-showcase,
  .knowledge-grid,
  .road-steps,
  .detail-facts,
  .about-deep {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    height: auto;
    flex-wrap: wrap;
  }

  .brand-mark {
    width: 138px;
  }

  .icon-menu {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
  }

  .icon-menu span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
  }

  .nav {
    display: none;
    width: 100%;
    padding-top: 8px;
  }

  .nav.open {
    display: grid;
  }

  .nav a {
    width: 100%;
  }

  .page {
    padding-top: 112px;
  }

  .logo-reveal {
    width: min(250px, 70vw);
    height: 116px;
    margin-inline: auto;
  }

  .hero-visual,
  #paverCanvas {
    min-height: 390px;
  }

  .trust-strip,
  .product-grid,
  .process-line,
  .category-showcase,
  .knowledge-grid,
  .road-steps,
  .detail-facts,
  .about-deep {
    grid-template-columns: 1fr;
  }

  .product-body {
    display: grid;
    gap: 10px;
  }

  .detail-hero img {
    height: 260px;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .video-card {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #111;
    border: 1px solid var(--line);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  }

  .video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .video-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.25s ease;
  }

  .video-card:hover .video-play {
    background: rgba(0, 0, 0, 0.15);
  }

  .video-play::after {
    content: "";
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    clip-path: polygon(35% 30%, 35% 30%, 35% 30%, 35% 30%, 35% 30%, 70% 50%, 35% 70%, 35% 70%, 35% 70%, 35% 70%);
    transition: transform 0.25s ease;
  }

  .video-card:hover .video-play::after {
    transform: scale(1.1);
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.video-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.25s ease;
}

.video-card:hover .video-play {
  background: rgba(0, 0, 0, 0.15);
}

.video-play::after {
  content: "";
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  clip-path: polygon(35% 30%, 70% 50%, 35% 70%, 35% 30%);
  transition: transform 0.25s ease;
}

.video-card:hover .video-play::after {
  transform: scale(1.1);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 20px;
}

.video-modal.open {
  display: grid;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.video-modal-content {
  position: relative;
  width: min(900px, 100%);
  aspect-ratio: 16 / 9;
}

.video-modal-content video {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  font-size: 24px;
  z-index: 1;
}

@media (max-width: 720px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .video-modal-content {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  .video-modal-content video {
    height: 100vh;
    object-fit: contain;
  }
}
