:root {
  --bg: #050609;
  --panel: rgba(17, 20, 28, 0.82);
  --panel-strong: #10131c;
  --text: #f6f7fb;
  --muted: #a7adba;
  --line: rgba(255, 255, 255, 0.11);
  --accent: #ff173d;
  --accent-dark: #9f0019;
  --accent-soft: rgba(255, 23, 61, 0.18);
  --glow-x: 75%;
  --glow-y: 18%;
  --tilt: 0deg;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 26px 80px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 23, 61, .32), transparent 29vw),
    radial-gradient(circle at 10% 78%, rgba(255, 23, 61, .12), transparent 26vw),
    linear-gradient(135deg, #030406 0%, #0d1018 48%, #21020a 100%);
  transition: background 280ms linear;
}
body::after {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at center, #000, transparent 70%);
  transform: rotate(var(--tilt));
  transition: transform 220ms linear;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 86px 0; position: relative; }
.section.tight { padding-top: 42px; }
.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.section-title { margin: 10px 0 0; font-size: clamp(34px, 4.4vw, 66px); line-height: .92; letter-spacing: -.055em; }
.section-lead { color: var(--muted); line-height: 1.65; max-width: 610px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(22px);
  background: rgba(5, 6, 9, .72);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.03em; }
.logo-mark { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, #fff 0 45%, var(--accent) 45% 100%); box-shadow: 0 0 30px var(--accent-soft); position: relative; }
.logo-mark::after { content: "L"; position: absolute; inset: 0; display: grid; place-items: center; color: #06070a; font-weight: 1000; font-size: 23px; }
.logo span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 22px; color: #d9dce5; font-weight: 650; font-size: 14px; }
.nav a { opacity: .86; transition: color .2s, opacity .2s; }
.nav a:hover { color: var(--accent); opacity: 1; }
.header-actions { display: flex; gap: 12px; align-items: center; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.04); color: white; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 14px 42px rgba(255, 23, 61, .26);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 58px rgba(255, 23, 61, .36); }
.btn.secondary { background: rgba(255,255,255,.06); border-color: var(--line); box-shadow: none; color: #f7f8fb; }
.btn.secondary:hover { border-color: rgba(255, 23, 61, .56); background: rgba(255, 23, 61, .1); }
.btn.ghost { min-height: 40px; background: transparent; border-color: var(--line); box-shadow: none; color: var(--muted); }
.btn.danger { background: #7c0016; box-shadow: none; }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 13px; }

.hero { padding: 76px 0 54px; min-height: 760px; display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); gap: 48px; align-items: center; }
.hero h1 { margin: 14px 0 20px; font-size: clamp(48px, 7vw, 104px); line-height: .86; letter-spacing: -.07em; }
.hero h1 em { color: var(--accent); font-style: normal; text-shadow: 0 0 40px rgba(255, 23, 61, .34); }
.hero-text { color: #c2c7d2; font-size: 18px; line-height: 1.7; max-width: 720px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.stat-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); }
.stat-card strong { display: block; font-size: 26px; }
.stat-card span { color: var(--muted); font-size: 13px; }
.hero-visual { position: relative; min-height: 550px; }
.hero-frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-slide { position: absolute; inset: 12px; opacity: 0; transform: scale(1.04); transition: opacity .75s ease, transform 1s ease; border-radius: 32px; overflow: hidden; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.scanline { position: absolute; left: 7%; right: 7%; top: 14%; height: 2px; background: linear-gradient(90deg, transparent, #fff, var(--accent), transparent); box-shadow: 0 0 24px var(--accent); animation: scan 4.8s ease-in-out infinite; opacity: .8; }
@keyframes scan { 0%,100%{ transform: translateY(0); opacity:.25 } 50%{ transform: translateY(380px); opacity:.95 } }
.floating-panel { position: absolute; z-index: 4; right: -12px; bottom: 46px; width: min(330px, 78%); padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: rgba(8, 10, 15, .72); backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.floating-panel strong { display:block; margin-bottom: 5px; }
.floating-panel p { color: var(--muted); margin: 0; line-height: 1.55; font-size: 14px; }

.category-grid, .benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card, .benefit-card, .process-card, .form-card, .admin-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.028));
  box-shadow: 0 16px 50px rgba(0,0,0,.22);
}
.category-card { min-height: 220px; padding: 24px; position: relative; overflow: hidden; transition: transform .22s ease, border-color .22s ease; }
.category-card:hover { transform: translateY(-5px); border-color: rgba(255,23,61,.48); }
.category-card::after { content:""; position:absolute; width: 170px; height:170px; right:-68px; top:-54px; border-radius:50%; background: var(--accent-soft); filter: blur(4px); }
.category-card h3, .benefit-card h3, .process-card h3 { margin: 14px 0 10px; font-size: 22px; }
.category-card p, .benefit-card p, .process-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.icon-line { width: 54px; height: 4px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 22px var(--accent-soft); }

.catalog-toolbar { display: flex; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; }
.filters { display:flex; gap:10px; flex-wrap:wrap; }
.filter-chip { border: 1px solid var(--line); color: #d8dce7; background: rgba(255,255,255,.04); border-radius: 999px; padding: 10px 14px; font-weight: 760; }
.filter-chip.active { border-color: rgba(255,23,61,.8); color: #fff; background: rgba(255,23,61,.18); }
.search-input, .field, textarea, select {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  color: var(--text);
  padding: 0 14px;
  outline: none;
}
.search-input { width: min(360px, 100%); }
textarea { min-height: 110px; padding-top: 12px; resize: vertical; }
.field:focus, textarea:focus, .search-input:focus, select:focus { border-color: rgba(255,23,61,.76); box-shadow: 0 0 0 4px rgba(255,23,61,.12); }
.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.024));
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(255,23,61,.48); box-shadow: 0 28px 76px rgba(0,0,0,.34); }
.product-image { position: relative; aspect-ratio: 1 / .72; background: #090b10; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-badge { position: absolute; left: 14px; top: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(255,23,61,.92); color: #fff; font-size: 12px; font-weight: 850; }
.product-body { padding: 18px; display: flex; flex: 1; flex-direction: column; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pill { display: inline-flex; align-items:center; min-height: 26px; padding: 0 9px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #c6cad5; font-size: 12px; font-weight: 750; }
.product-title { margin: 0 0 10px; font-size: 20px; line-height: 1.15; letter-spacing: -.02em; }
.product-desc { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.spec-list { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; color: #d9dce5; font-size: 13px; }
.spec-list li { display:flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.07); padding-bottom: 7px; }
.spec-list span { color: var(--muted); }
.product-bottom { margin-top: auto; display: grid; gap: 12px; }
.product-price { font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.product-actions { display: grid; grid-template-columns: 1fr; gap: 9px; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process-card { padding: 24px; position: relative; overflow: hidden; }
.process-number { font-size: 52px; font-weight: 1000; color: rgba(255,23,61,.22); line-height: 1; }

.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: stretch; }
.form-card { padding: 26px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.form-grid .wide { grid-column: 1 / -1; }
.notice { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.copy-box { width: 100%; min-height: 220px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }

.site-footer { border-top: 1px solid var(--line); background: rgba(0,0,0,.22); padding: 42px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 28px; }
.footer-title { font-weight: 900; margin-bottom: 12px; }
.footer-list { display:grid; gap: 10px; color: var(--muted); }
.footer-list a:hover { color: var(--accent); }

.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; background: rgba(0,0,0,.72); backdrop-filter: blur(12px); }
.modal.active { display: grid; }
.modal-card { width: min(820px, 100%); max-height: min(760px, calc(100vh - 40px)); overflow: auto; border: 1px solid var(--line); border-radius: 30px; background: #0b0d13; box-shadow: var(--shadow); }
.modal-head { display:flex; justify-content: space-between; align-items:center; gap:16px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin:0; font-size:24px; }
.modal-body { padding: 24px; display:grid; gap:18px; }
.close-btn { width: 42px; height:42px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color:#fff; }
.status { min-height: 22px; color: var(--muted); font-size: 14px; }
.status.ok { color: #72e59b; }
.status.error { color: #ff8c9d; }

.admin-page { padding: 42px 0 80px; }
.admin-grid { display: grid; grid-template-columns: 360px 1fr; gap: 22px; align-items:start; }
.admin-card { padding: 22px; }
.admin-card h2, .admin-card h3 { margin-top:0; }
.admin-stack { display:grid; gap: 12px; }
.admin-list { display:grid; gap: 12px; }
.admin-item { display:grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items:center; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.035); }
.admin-item img { width: 72px; height: 54px; object-fit: cover; border-radius: 10px; background:#080a10; }
.admin-item strong { display:block; margin-bottom: 4px; }
.admin-item span { color: var(--muted); font-size: 13px; }
.admin-actions { display:flex; gap: 8px; flex-wrap: wrap; justify-content:flex-end; }
.hidden { display:none !important; }
.full-width { width:100%; }

@media (max-width: 1040px) {
  .hero-grid, .split-grid, .admin-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 500px; }
  .products-grid, .category-grid, .benefit-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav { display: none; position: absolute; left: 14px; right: 14px; top: 80px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: rgba(8,10,15,.96); flex-direction: column; align-items:flex-start; }
  .nav.open { display:flex; }
  .burger { display:inline-grid; place-items:center; }
  .header-actions .btn.secondary { display:none; }
  .hero { min-height: auto; padding-top: 44px; }
  .hero-visual { min-height: 420px; }
  .stats, .products-grid, .category-grid, .benefit-grid, .process-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .section-head { display:block; }
  .section { padding: 62px 0; }
  .catalog-toolbar { align-items: stretch; }
  .search-input { width:100%; }
  .admin-item { grid-template-columns: 64px 1fr; }
  .admin-actions { grid-column: 1 / -1; justify-content: flex-start; }
}

/* Strict technology redesign overrides */
:root {
  --radius-xl: 2px;
  --radius-lg: 2px;
  --radius-md: 2px;
  --edge: rgba(255,255,255,.16);
}

body:not(.is-ready) { opacity: 0; transform: translateY(10px); }
body { transition: opacity .78s ease, transform .78s ease; }
body::before {
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 23, 61, .30), transparent 28vw),
    linear-gradient(110deg, rgba(255,23,61,.12), transparent 18%),
    linear-gradient(135deg, #020204 0%, #090b10 48%, #190006 100%);
}
body::after {
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 47%, rgba(255,23,61,.08) 49% 51%, transparent 53% 100%);
  background-size: 72px 72px, 72px 72px, 220px 220px;
  opacity: .9;
}

.logo-mark, .burger, .btn, .btn.secondary, .btn.ghost, .btn.danger, .filter-chip,
.search-input, .field, textarea, select, .stat-card, .category-card, .benefit-card,
.process-card, .form-card, .admin-card, .product-card, .modal-card, .close-btn,
.admin-item, .admin-item img, .hero-frame, .hero-slide, .floating-panel, .nav,
.product-badge, .pill, .gallery-card, .hero-control, .hero-dot, .hero-slide-panel {
  border-radius: var(--radius-md) !important;
}

.btn {
  min-height: 48px;
  text-transform: uppercase;
  letter-spacing: .055em;
  border: 1px solid rgba(255,23,61,.72);
  background: linear-gradient(180deg, #ff1b43, #b50020);
  box-shadow: 0 0 0 1px rgba(255,23,61,.18), 0 18px 46px rgba(255,23,61,.24);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(255,23,61,.34), 0 26px 70px rgba(255,23,61,.33); }
.btn.secondary { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.18); }
.btn.secondary:hover { background: rgba(255,23,61,.12); }

.site-header { background: rgba(4,5,7,.86); }
.site-header::after { content:""; position:absolute; left:0; right:0; bottom:-1px; height:1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity:.68; }

.hero { min-height: 800px; padding-top: 92px; }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(390px, .92fr); }
.hero-copy-slider { position: relative; min-height: 560px; }
.hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(28px); pointer-events: none; transition: opacity .7s ease, transform .7s ease; }
.hero-copy.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.hero-copy h1 { margin: 14px 0 20px; font-size: clamp(46px, 6.6vw, 96px); line-height: .88; letter-spacing: -.07em; max-width: 880px; }
.hero-copy h1::after { content:""; display:block; width: 124px; height: 3px; margin-top: 24px; background: linear-gradient(90deg, var(--accent), transparent); box-shadow: 0 0 20px rgba(255,23,61,.55); }
.hero-copy .hero-text { max-width: 760px; }

.hero-frame { border-color: rgba(255,255,255,.18); background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.018)); }
.hero-slide { inset: 10px; transform: translateX(22px) scale(1.035); transition: opacity .75s ease, transform .95s cubic-bezier(.18,.85,.22,1); }
.hero-slide.active { transform: translateX(0) scale(1); }
.hero-slide::after { content:""; position:absolute; inset:0; background: linear-gradient(135deg, rgba(0,0,0,.08), rgba(255,23,61,.13)); pointer-events:none; }
.hero-slide img { transition: transform 6s ease; }
.hero-slide.active img { transform: scale(1.045); }
.hero-slide-panel { position:absolute; z-index:3; left: 22px; right: 22px; bottom: 22px; padding: 18px; border:1px solid rgba(255,255,255,.16); background: rgba(5,7,11,.78); backdrop-filter: blur(18px); box-shadow: 0 24px 70px rgba(0,0,0,.42); }
.hero-slide-panel strong { display:block; margin-bottom: 6px; font-size: 18px; }
.hero-slide-panel p { margin:0; color: var(--muted); line-height: 1.55; font-size: 14px; }
.hero-controls { position:absolute; z-index: 5; left: 18px; right: 18px; bottom: -58px; display:flex; align-items:center; justify-content:center; gap: 14px; }
.hero-control { width: 46px; height: 42px; border:1px solid rgba(255,255,255,.16); color:#fff; background: rgba(255,255,255,.055); }
.hero-control:hover { border-color: rgba(255,23,61,.68); background: rgba(255,23,61,.12); }
.hero-dots { display:flex; gap: 8px; align-items:center; }
.hero-dot { width: 30px; height: 4px; padding:0; border:0; background: rgba(255,255,255,.24); transition: width .22s ease, background .22s ease, box-shadow .22s ease; }
.hero-dot.active { width: 54px; background: var(--accent); box-shadow: 0 0 18px rgba(255,23,61,.62); }

.reveal { animation: revealUp .72s ease both; animation-delay: calc(var(--reveal-i, 0) * 58ms); }
@keyframes revealUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.category-card, .process-card, .form-card, .admin-card, .gallery-card { position: relative; overflow: hidden; }
.category-card::before, .process-card::before, .form-card::before, .admin-card::before, .gallery-card::before {
  content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background: var(--accent); opacity:.55;
}
.category-card:hover, .process-card:hover, .gallery-card:hover { transform: translateY(-6px); border-color: rgba(255,23,61,.56); }

.products-grid { align-items: stretch; }
.product-card { position: relative; min-height: 100%; border-color: rgba(255,255,255,.13); background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.018)); }
.product-card::before { content:""; position:absolute; z-index:2; left:0; top:0; bottom:0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .28s ease; }
.product-card::after { content:""; position:absolute; z-index:2; inset:0; background: linear-gradient(105deg, transparent 0 38%, rgba(255,255,255,.11) 46%, transparent 54% 100%); transform: translateX(-120%); transition: transform .58s ease; pointer-events:none; }
.product-card:hover { transform: translateY(-9px) scale(1.012); border-color: rgba(255,23,61,.75); box-shadow: 0 34px 88px rgba(0,0,0,.46), 0 0 0 1px rgba(255,23,61,.18); }
.product-card:hover::before { transform: scaleY(1); }
.product-card:hover::after { transform: translateX(120%); }
.product-image { aspect-ratio: 4 / 3; border-bottom: 1px solid rgba(255,255,255,.09); }
.product-image img { transition: transform .42s cubic-bezier(.18,.85,.22,1), filter .42s ease; }
.product-card:hover .product-image img { transform: scale(1.075); filter: contrast(1.08) saturate(1.08); }
.product-badge { box-shadow: 0 12px 28px rgba(255,23,61,.28); }
.product-body { min-height: 500px; }
.product-actions .btn { width: 100%; }
.spec-list li { align-items: flex-start; }
.spec-list b { text-align: right; max-width: 58%; }

.gallery-grid { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery-card { border:1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); min-height: 100%; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.gallery-card img { width:100%; aspect-ratio: 16 / 10; object-fit: cover; background:#090b10; border-bottom:1px solid rgba(255,255,255,.1); transition: transform .42s ease; }
.gallery-card:hover img { transform: scale(1.035); }
.gallery-card div { padding: 16px; }
.gallery-card strong { display:block; margin-bottom: 5px; }
.gallery-card span { color: var(--muted); font-size: 13px; line-height: 1.45; }

.admin-grid { grid-template-columns: 420px 1fr; }
.admin-card h2 { letter-spacing: -.02em; }
.admin-item { transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.admin-item:hover { transform: translateX(4px); border-color: rgba(255,23,61,.48); background: rgba(255,23,61,.045); }

@media (max-width: 1040px) {
  .hero-copy-slider { min-height: 430px; }
  .hero-controls { bottom: -52px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero { padding-top: 50px; }
  .hero-copy-slider { min-height: 520px; }
  .hero-copy h1 { font-size: clamp(42px, 14vw, 66px); }
  .hero-controls { position: relative; bottom: auto; left:auto; right:auto; margin-top: 16px; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* v4: wide strict carousel like reference + safe product hover */
.hero {
  min-height: auto;
  padding: 36px 0 72px;
  overflow: hidden;
}
.hero-slider-root {
  width: min(1720px, calc(100% - 56px));
  margin: 0 auto;
}
.hero-cinema {
  position: relative;
  isolation: isolate;
  padding: 0 0 60px;
}
.hero-cinema-stage {
  position: relative;
  height: clamp(500px, 44vw, 680px);
  overflow: visible;
}
.hero-cinema-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1580px, 92vw);
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
  background: #08090d;
  box-shadow: 0 34px 110px rgba(0,0,0,.46);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(.88);
  transition:
    transform .82s cubic-bezier(.18,.86,.24,1),
    opacity .62s ease,
    border-color .32s ease,
    filter .62s ease;
}
.hero-cinema-slide.active {
  z-index: 5;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
  border-color: rgba(255,255,255,.2);
}
.hero-cinema-slide.prev {
  z-index: 2;
  opacity: .34;
  transform: translateX(calc(-50% - 86%)) scale(.92);
  filter: saturate(.82) brightness(.7);
}
.hero-cinema-slide.next {
  z-index: 2;
  opacity: .34;
  transform: translateX(calc(-50% + 86%)) scale(.92);
  filter: saturate(.82) brightness(.7);
}
.hero-cinema-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform 6.2s ease;
}
.hero-cinema-slide.active img { transform: scale(1.075); }
.hero-cinema-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.18) 34%, rgba(0,0,0,.9) 100%),
    linear-gradient(90deg, rgba(0,0,0,.18), transparent 28%, transparent 72%, rgba(0,0,0,.2));
}
.hero-cinema-topline {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 26px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-cinema-topline span:first-child {
  color: #fff;
  background: rgba(255,23,61,.92);
  padding: 8px 12px;
  box-shadow: 0 16px 42px rgba(255,23,61,.24);
}
.hero-cinema-content {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 42px;
  width: min(760px, calc(100% - 48px));
  transform: translateX(-50%);
  text-align: center;
  display: grid;
  justify-items: center;
}
.hero-cinema-kicker {
  color: var(--accent);
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
  text-shadow: 0 0 30px rgba(255,23,61,.46);
}
.hero-cinema-title {
  max-width: 880px;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4.2vw, 58px);
  line-height: .96;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero-cinema-text {
  max-width: 680px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.78);
  line-height: 1.55;
  font-size: clamp(14px, 1.18vw, 18px);
}
.hero-cinema-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.hero-cinema-controls {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.hero-cinema-dots { display: flex; align-items: center; gap: 8px; }
.hero-cinema-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.22);
  transition: width .22s ease, background .22s ease, box-shadow .22s ease;
}
.hero-cinema-dot.active {
  width: 28px;
  background: rgba(255,23,61,.92);
  box-shadow: 0 0 18px rgba(119, 3, 3, 0.44);
}
.hero-cinema-arrow,
.hero-cinema-pause {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: #fff;
  font-weight: 900;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.hero-cinema-arrow:hover,
.hero-cinema-pause:hover {
  transform: translateY(-2px);
  border-color: rgba(255,23,61,.7);
  background: rgba(255,23,61,.12);
}
.hero-cinema-pause {
  font-size: 13px;
  border-color: rgba(255,255,255,.42);
}
.hero-cinema-pause.is-paused { border-color: rgba(201,255,0,.72); }

.product-card { contain: layout paint; }
.product-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 28%, rgba(255,23,61,.2), transparent 42%),
    #08090d;
}
.product-image::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(5,6,9,.42));
  pointer-events: none;
}
.product-image img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center 42%;
  will-change: transform, filter;
}
.product-card:hover .product-image img {
  transform: scale(1.025) translateY(-2px);
  filter: contrast(1.06) saturate(1.08) brightness(1.03);
}
.product-badge {
  z-index: 4;
  border-radius: 2px;
}
.product-card:hover .product-badge {
  transform: translateY(0);
}
.product-title,
.product-desc,
.spec-list,
.product-bottom {
  position: relative;
  z-index: 3;
}

@media (max-width: 1040px) {
  .hero-slider-root { width: min(100% - 32px, 1180px); }
  .hero-cinema-stage { height: 560px; }
  .hero-cinema-slide { width: min(100%, 980px); }
  .hero-cinema-slide.prev { transform: translateX(calc(-50% - 92%)) scale(.9); }
  .hero-cinema-slide.next { transform: translateX(calc(-50% + 92%)) scale(.9); }
}
@media (max-width: 760px) {
  .hero { padding-top: 24px; padding-bottom: 48px; }
  .hero-slider-root { width: min(100% - 24px, 1180px); }
  .hero-cinema { padding-bottom: 54px; }
  .hero-cinema-stage { height: 520px; }
  .hero-cinema-slide { width: 100%; border-radius: 8px; }
  .hero-cinema-slide.prev,
  .hero-cinema-slide.next { opacity: 0; }
  .hero-cinema-content { bottom: 32px; width: calc(100% - 28px); }
  .hero-cinema-actions .btn { width: 100%; }
  .hero-cinema-topline { top: 16px; left: 16px; right: 16px; }
  .hero-cinema-topline span:last-child { display: none; }
}
