:root {
  --red: #b20d22;
  --red-dark: #710814;
  --ink: #181a1d;
  --graphite: #25282d;
  --steel: #d7d9dc;
  --mist: #f2f2f0;
  --paper: #fafaf8;
  --line: rgba(24, 26, 29, .13);
  --muted: #696d73;
  --shadow: 0 18px 60px rgba(20, 22, 25, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6vw, 6.4rem); margin-bottom: 24px; }
h2 { font-size: clamp(2.05rem, 4vw, 4rem); margin-bottom: 20px; }
h3 { font-size: 1.35rem; }
.lead { color: #555a61; font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 750px; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; background: white; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  color: #fff;
  background: rgba(24, 26, 29, .92);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; letter-spacing: -.04em; font-size: 1.38rem; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(135deg, #e52037, #820914); box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); }
.brand-mark::before { content: "D"; color: #fff; font-size: 1rem; }
.brand span:last-child { color: #fff; }
.brand em { color: #ff334c; font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 10px 14px; border-radius: 999px; color: rgba(255,255,255,.78); font-size: .9rem; font-weight: 700; text-decoration: none; transition: color .2s ease, background .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: var(--red); }
.nav-cta { padding: 11px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: none; color: white; font: inherit; font-weight: 700; }

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 38%, rgba(205, 21, 48, .55), transparent 26%),
    linear-gradient(112deg, #17191d 0%, #25272b 55%, #540912 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to right, transparent, black);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px; padding: 86px 0 96px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 span { color: #ff2f47; }
.hero .lead { color: rgba(255,255,255,.7); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 8px; background: var(--red); color: #fff; text-decoration: none; font-weight: 800; border: 1px solid var(--red); transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: #c51029; }
.button.secondary { background: transparent; border-color: rgba(255,255,255,.26); }
.hero-visual { position: relative; min-height: 430px; }
.hero-machine {
  position: absolute;
  inset: 28px 0 0 10px;
  width: 92%; height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 30px 35px rgba(0,0,0,.42));
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  padding: 22px;
}
.hero-badge { position: absolute; right: 0; bottom: 12px; width: 170px; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(15px); }
.hero-badge strong { display: block; font-size: 1.65rem; }
.hero-badge span { color: rgba(255,255,255,.68); font-size: .82rem; }

.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.trust-item { padding: 25px 24px; border-right: 1px solid var(--line); }
.trust-item:first-child { border-left: 1px solid var(--line); }
.trust-item strong { display: block; font-size: 1rem; }
.trust-item span { color: var(--muted); font-size: .87rem; }

.section { padding: 104px 0; }
.section.soft { background: var(--mist); }
.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.intro-grid p { color: #555a61; }
.red-rule { width: 58px; height: 5px; border-radius: 99px; background: var(--red); margin-top: 28px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 52px; }
.feature-card { padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.feature-no { color: var(--red); font-size: .73rem; font-weight: 900; letter-spacing: .16em; }
.feature-card h3 { margin: 38px 0 10px; }
.feature-card p { margin: 0; color: var(--muted); font-size: .93rem; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 42px; }
.section-head .lead { margin-bottom: 0; max-width: 590px; }
.text-link { color: var(--red); font-weight: 850; text-decoration: none; white-space: nowrap; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card { position: relative; min-height: 330px; overflow: hidden; border-radius: 16px; color: #fff; background: #23262a; box-shadow: var(--shadow); text-decoration: none; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.category-card:hover img { transform: scale(1.045); }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,14,16,.92), rgba(13,14,16,.05) 75%); }
.category-content { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; }
.category-content span { display: block; color: rgba(255,255,255,.65); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.category-content h3 { margin: 7px 0 0; }

.cta-panel { position: relative; overflow: hidden; padding: 65px; border-radius: 18px; color: #fff; background: linear-gradient(120deg, #680813, #bd1027); box-shadow: var(--shadow); }
.cta-panel::after { content: ""; position: absolute; width: 390px; height: 390px; border: 90px solid rgba(255,255,255,.07); border-radius: 50%; right: -130px; top: -150px; }
.cta-panel h2 { max-width: 780px; }
.cta-panel p { max-width: 700px; color: rgba(255,255,255,.74); }
.cta-panel .button { position: relative; z-index: 2; margin-top: 16px; background: #fff; color: var(--red-dark); border-color: #fff; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.contact-list { display: grid; gap: 12px; }
.contact-card { display: block; padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: white; }
.contact-card span { display: block; color: var(--muted); font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.contact-card strong { display: block; margin-top: 6px; font-size: 1.05rem; }
.contact-detail-link { justify-self: start; margin-top: 8px; }

.about-story { display: grid; grid-template-columns: 1.05fr .95fr; gap: 76px; align-items: center; }
.about-story-copy p:not(.eyebrow) { color: #555a61; }
.about-visual { position: relative; min-height: 430px; overflow: hidden; border-radius: 18px; background: linear-gradient(145deg, #22252a, #5f0914); box-shadow: var(--shadow); }
.about-visual img { position: absolute; width: 78%; height: 72%; object-fit: contain; left: 11%; top: 12%; padding: 20px; border-radius: 15px; background: rgba(255,255,255,.96); filter: drop-shadow(0 24px 28px rgba(0,0,0,.28)); }
.about-visual-note { position: absolute; right: 20px; bottom: 20px; max-width: 200px; padding: 17px; border: 1px solid rgba(255,255,255,.18); border-radius: 13px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.1); backdrop-filter: blur(12px); font-size: .84rem; }
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 42px; }
.sector-card { min-height: 190px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.sector-card span { color: var(--red); font-size: .75rem; font-weight: 900; letter-spacing: .13em; }
.sector-card h3 { margin: 34px 0 0; font-size: 1.25rem; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.14); }
.process-card { padding: 34px; color: #fff; background: #1a1c20; }
.process-card span { color: #ff334c; font-size: .76rem; font-weight: 900; letter-spacing: .14em; }
.process-card h3 { margin: 42px 0 12px; }
.process-card p { margin: 0; color: rgba(255,255,255,.62); font-size: .92rem; }

.contact-page-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: stretch; }
.contact-page-panel { padding: 42px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 12px 40px rgba(18,20,23,.07); }
.contact-page-panel.dark { color: white; border-color: transparent; background: linear-gradient(145deg, #1a1c20, #35383d); }
.contact-page-panel.dark .lead { color: rgba(255,255,255,.67); }
.contact-page-panel .contact-list { margin-top: 28px; }
.contact-page-panel.dark .contact-card { color: white; border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.06); }
.contact-page-panel.dark .contact-card span { color: rgba(255,255,255,.54); }
.map-panel { min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; color: white; background: linear-gradient(135deg, #7a0917, #bd1027); }
.map-panel::before { content: ""; position: absolute; inset: 0; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px); background-size: 42px 42px; transform: rotate(-8deg) scale(1.2); }
.map-pin { position: relative; width: 76px; height: 76px; display: grid; place-items: center; margin-bottom: auto; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg); background: #fff; color: var(--red); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.map-pin::before { content: "•"; transform: rotate(45deg); font-size: 2.2rem; }
.map-panel-content { position: relative; z-index: 2; }
.map-panel-content p { color: rgba(255,255,255,.72); }
.map-panel .button { width: fit-content; background: white; color: var(--red-dark); border-color: white; }

.error-page { min-height: calc(100vh - 78px); display: grid; place-items: center; color: white; background: radial-gradient(circle at 75% 25%, rgba(178,13,34,.55), transparent 28%), #181a1d; }
.error-content { padding: 80px 0; text-align: center; }
.error-code { margin: 0; color: #ff334c; font-size: clamp(6rem, 20vw, 15rem); font-weight: 950; line-height: .8; letter-spacing: -.08em; }
.error-content h1 { margin-top: 38px; font-size: clamp(2rem, 5vw, 4rem); }
.error-content .lead { margin-left: auto; margin-right: auto; color: rgba(255,255,255,.68); }

.site-footer { padding: 30px 0; color: rgba(255,255,255,.68); background: #17191d; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: .86rem; }
.footer-grid a { color: #fff; text-decoration: none; }

.page-hero { padding: 98px 0 80px; color: white; background: linear-gradient(120deg, #191b1f, #2c2f34 65%, #650a15); }
.page-hero h1 { max-width: 850px; }
.page-hero .lead { color: rgba(255,255,255,.7); }
.category-nav { position: sticky; top: 78px; z-index: 30; overflow-x: auto; background: rgba(250,250,248,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.category-nav-inner { min-width: max-content; display: flex; gap: 8px; padding: 12px 0; }
.category-nav a { padding: 10px 14px; border-radius: 999px; color: #54585e; text-decoration: none; font-size: .83rem; font-weight: 800; }
.category-nav a:hover, .category-nav a.active { color: white; background: var(--red); }
.product-section { scroll-margin-top: 150px; padding: 88px 0; border-bottom: 1px solid var(--line); }
.product-section:nth-child(even) { background: var(--mist); }
.product-title-row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 25px; margin-bottom: 28px; }
.product-title-row h2 { font-size: clamp(1.9rem, 3.5vw, 3.25rem); margin: 0; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); cursor: pointer; font-size: 1.15rem; }
.carousel-button:hover { color: white; border-color: var(--red); background: var(--red); }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 31.5%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 24px; }
.carousel::-webkit-scrollbar { display: none; }
.product-card { scroll-snap-align: start; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 10px 30px rgba(18,20,23,.06); }
.product-image-button { width: 100%; aspect-ratio: 4/3; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: #ececea; }
.product-image-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-image-button:hover img { transform: scale(1.035); }
.product-card h3 { margin: 0; padding: 18px 19px 20px; font-size: 1rem; letter-spacing: -.02em; }
.spec-section { padding: 95px 0; background: #1a1c20; color: white; }
.spec-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 78px; align-items: start; }
.spec-list { margin: 0; padding: 0; list-style: none; counter-reset: spec; }
.spec-list li { counter-increment: spec; position: relative; padding: 18px 0 18px 50px; border-bottom: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.72); }
.spec-list li::before { content: counter(spec, decimal-leading-zero); position: absolute; left: 0; top: 20px; color: #f23a50; font-size: .76rem; font-weight: 900; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 24px; background: rgba(8,9,10,.9); backdrop-filter: blur(12px); }
.lightbox.open { display: grid; }
.lightbox-shell { width: min(1120px, 94vw); display: grid; gap: 18px; }
.lightbox-stage { display: grid; grid-template-columns: 54px minmax(0, 1fr) 54px; align-items: center; gap: 18px; }
.lightbox figure { margin: 0; min-width: 0; }
.lightbox-main-image { max-width: 100%; max-height: 68vh; margin: auto; border-radius: 12px; box-shadow: 0 25px 80px rgba(0,0,0,.5); }
.lightbox figcaption { margin-top: 14px; color: white; text-align: center; font-weight: 700; }
.lightbox-close { position: fixed; right: 24px; top: 20px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: white; background: rgba(255,255,255,.08); cursor: pointer; font-size: 1.4rem; }
.lightbox-nav { width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: white; background: rgba(255,255,255,.09); cursor: pointer; font-size: 1.65rem; transition: background .2s ease, border-color .2s ease; }
.lightbox-nav:hover { border-color: var(--red); background: var(--red); }
.lightbox-thumbs { display: flex; gap: 9px; overflow-x: auto; padding: 8px 4px 12px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.35) transparent; }
.lightbox-thumb { flex: 0 0 78px; width: 78px; height: 60px; padding: 3px; overflow: hidden; border: 2px solid transparent; border-radius: 8px; background: rgba(255,255,255,.08); cursor: pointer; opacity: .58; transition: opacity .2s ease, border-color .2s ease, transform .2s ease; }
.lightbox-thumb:hover { opacity: .9; transform: translateY(-2px); }
.lightbox-thumb.active { border-color: #ff334c; opacity: 1; }
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }

@media (max-width: 900px) {
  .hero-grid, .intro-grid, .contact-grid, .spec-grid, .about-story, .contact-page-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { min-height: auto; }
  .hero-grid { padding: 70px 0 75px; }
  .hero-visual { min-height: 340px; }
  .feature-grid, .category-grid, .sector-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .carousel { grid-auto-columns: minmax(260px, 48%); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 70px; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; left: 14px; right: 14px; top: 62px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border-radius: 12px; background: #24272b; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; }
  .hero-grid { padding-top: 54px; }
  .hero-visual { min-height: 280px; }
  .hero-machine { width: 100%; inset: 0; }
  .hero-badge { width: 145px; }
  .trust-grid, .feature-grid, .category-grid, .sector-grid { grid-template-columns: 1fr; }
  .about-visual { min-height: 330px; }
  .contact-page-panel { padding: 30px 22px; }
  .map-panel { min-height: 380px; }
  .trust-item { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .section-head { display: block; }
  .section-head .text-link { display: inline-block; margin-top: 16px; }
  .category-card { min-height: 290px; }
  .cta-panel { padding: 38px 26px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 68px 0 58px; }
  .category-nav { top: 70px; }
  .product-title-row { grid-template-columns: 1fr; }
  .carousel { grid-auto-columns: 86%; }
  .lightbox { padding: 18px 10px; }
  .lightbox-stage { grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 8px; }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-main-image { max-height: 64vh; }
  .lightbox-close { right: 12px; top: 12px; width: 42px; height: 42px; }
  .lightbox-thumb { flex-basis: 66px; width: 66px; height: 51px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
