:root {
  --red: #e31b23;
  --red-dark: #b90f18;
  --red-soft: #fff0ed;
  --ink: #171313;
  --ink-2: #2d2725;
  --muted: #6f6460;
  --cream: #f7f1ed;
  --paper: #fffdfb;
  --line: #ded3ce;
  --white: #fff;
  --shadow: 0 24px 70px rgba(65, 24, 20, .12);
  --radius: 18px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: "Segoe UI", Inter, Arial, sans-serif; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; color: #fff; background: var(--ink); transition: top .2s; }
.skip-link:focus { top: 16px; }

.utility-bar { color: #fff; background: var(--ink); font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.utility-inner { width: min(var(--max), calc(100% - 48px)); min-height: 34px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.utility-inner a { color: #ffaaa3; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(222,211,206,.8); background: rgba(255,253,251,.94); backdrop-filter: blur(18px); }
.header-inner { width: min(var(--max), calc(100% - 48px)); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand img { width: 180px; height: 54px; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; gap: 30px; color: #4f4643; font-size: 13px; font-weight: 650; }
.nav a { position: relative; padding: 10px 0; }
.nav > a:not(.nav-admin)::after { content: ""; position: absolute; left: 0; bottom: 3px; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.nav > a:hover::after, .nav > a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-admin { padding: 10px 16px !important; border: 1px solid var(--ink); }
.nav-admin:hover { color: #fff; background: var(--ink); }
.language-switch { display: inline-flex; border: 1px solid var(--line); }
.language-switch button { min-width: 40px; padding: 8px 9px; border: 0; color: var(--muted); background: transparent; font: 800 10px/1 Arial, sans-serif; cursor: pointer; }
.language-switch button.active { color: #fff; background: var(--red); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { overflow: hidden; background: linear-gradient(180deg, #fffdfb 0%, #f6eee9 100%); }
.hero-grid { width: min(var(--max), calc(100% - 48px)); min-height: 680px; margin: auto; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr); gap: 70px; align-items: center; padding: 74px 0 62px; }
.kicker, .eyebrow { margin: 0 0 18px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.kicker { display: flex; align-items: center; gap: 10px; }
.kicker span { width: 38px; height: 2px; background: var(--red); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(52px, 6.8vw, 92px); line-height: .96; letter-spacing: -.06em; font-weight: 760; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-lead { max-width: 690px; margin: 28px 0 32px; color: var(--muted); font-size: 18px; line-height: 1.72; }
.hero-actions, .tool-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 0 20px; border: 1px solid transparent; font-size: 13px; font-weight: 750; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.7); }
.button-ghost:hover { border-color: var(--ink); }
.button-light { color: var(--ink); background: #fff; }
.button-light:hover { color: #fff; background: var(--red); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 660px; margin: 48px 0 0; padding: 0; border-top: 1px solid var(--line); }
.hero-facts div { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 18px 18px 0 0; }
.hero-facts dt { color: var(--red); font: 700 11px/1.3 Consolas, monospace; }
.hero-facts dd { margin: 0; color: #4d4441; font-size: 12px; line-height: 1.4; }

.hero-visual { position: relative; min-height: 520px; isolation: isolate; border: 1px solid #d8cac5; background: #211c1a; box-shadow: var(--shadow); }
.visual-grid { position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 44px 44px; }
.visual-brand { position: absolute; left: 50%; top: 45%; width: 57%; padding: 34px 28px; background: #fff; transform: translate(-50%, -50%); box-shadow: 0 20px 50px rgba(0,0,0,.24); }
.visual-brand img { width: 100%; }
.orbit { position: absolute; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; font: 700 9px/1 Consolas, monospace; letter-spacing: .13em; }
.orbit::before { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(227,27,35,.2); }
.orbit-a { width: 110px; height: 110px; left: 30px; top: 45px; }.orbit-a::before { right: 3px; top: 12px; }
.orbit-b { width: 132px; height: 132px; right: 25px; top: 52px; }.orbit-b::before { left: 2px; bottom: 20px; }
.orbit-c { width: 92px; height: 92px; right: 62px; bottom: 62px; }.orbit-c::before { right: 2px; top: 16px; }
.visual-note { position: absolute; left: 30px; right: 30px; bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; }
.visual-note strong { color: #ff746c; font: 700 11px/1 Consolas, monospace; letter-spacing: .16em; }
.visual-note span { color: #cfc1bc; font-size: 11px; }
.hero-marquee { min-height: 55px; display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 45px); overflow: hidden; color: #fff; background: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .18em; white-space: nowrap; }
.hero-marquee i { width: 5px; height: 5px; border-radius: 50%; background: #fff; }

.section { width: min(var(--max), calc(100% - 48px)); margin: auto; padding: 112px 0; }
.section-label { display: grid; grid-template-columns: 46px auto 1fr; align-items: center; gap: 12px; margin-bottom: 70px; color: var(--muted); }
.section-label::after { content: ""; height: 1px; background: var(--line); }
.section-label span { color: var(--red); font: 700 11px/1 Consolas, monospace; }
.section-label p { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.section-label.light { color: #baa9a4; }.section-label.light::after { background: #50433f; }
.section-heading h2 { margin: 0; font-size: clamp(40px, 5vw, 66px); line-height: 1.02; letter-spacing: -.055em; }
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.intro-copy { max-width: 700px; }
.intro-lead { margin: 0 0 22px; color: var(--ink); font-size: 22px; line-height: 1.55; }
.intro-copy > p:not(.intro-lead) { color: var(--muted); line-height: 1.75; }
.capability-list { margin-top: 42px; border-top: 1px solid var(--line); }
.capability-list article { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.capability-list article > span { color: var(--red); font: 700 11px/1.4 Consolas, monospace; }
.capability-list h3 { margin: 0 0 6px; font-size: 17px; }
.capability-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.products-section { padding-top: 60px; }
.products-head { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 70px; }
.section-summary { margin: 0 0 8px; color: var(--muted); line-height: 1.7; }
.product-toolbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 12px 0; }
.filter-button { min-height: 34px; border: 1px solid transparent; padding: 0 13px; color: var(--muted); background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.filter-button:hover, .filter-button.active { color: #fff; background: var(--ink); }
.product-count { color: var(--muted); font: 600 11px/1 Consolas, monospace; white-space: nowrap; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.product-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.product-card:hover { transform: translateY(-6px); border-color: #c7b5ae; box-shadow: var(--shadow); }
.product-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--cream); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.product-card:hover .product-media img { transform: scale(1.025); }
.product-index { position: absolute; left: 18px; top: 18px; min-width: 38px; padding: 7px 9px; color: #fff; background: var(--red); font: 700 10px/1 Consolas, monospace; text-align: center; }
.product-body { padding: 25px 26px 27px; }
.product-category { margin: 0 0 10px; color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.product-title-row { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.product-title-row h3 { margin: 0; font-size: 27px; letter-spacing: -.035em; }
.product-title-row span { color: var(--red); font-weight: 800; }
.product-summary { min-height: 50px; margin: 13px 0 22px; color: var(--muted); line-height: 1.62; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.product-price { font-size: 13px; font-weight: 800; }
.product-detail-button { border: 0; padding: 4px 0; color: var(--red); background: none; cursor: pointer; font-size: 12px; font-weight: 800; }
.product-empty { margin-top: 28px; padding: 40px; color: var(--muted); border: 1px dashed var(--line); text-align: center; }

.tools-section { color: #fff; background: var(--ink); }
.tools-shell { width: min(var(--max), calc(100% - 48px)); margin: auto; padding: 100px 0; }
.tools-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 95px; align-items: center; }
.tool-copy h2 { max-width: 720px; margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1; letter-spacing: -.055em; }
.tool-copy > p:not(.eyebrow):not(.browser-note) { max-width: 650px; margin: 28px 0; color: #c4b5b0; font-size: 16px; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 28px; color: #fff; font-size: 13px; font-weight: 750; }
.text-link:hover { color: #ff837b; }
.text-link.dark { color: var(--ink); }.text-link.dark:hover { color: var(--red); }
.browser-note { margin: 28px 0 0; color: #978984; font-size: 12px; }
.tool-console { border: 1px solid #4b3f3b; background: #211c1a; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.console-top { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid #4b3f3b; color: #d0c2bd; font: 700 10px/1 Consolas, monospace; letter-spacing: .13em; }
.console-top i { width: 8px; height: 8px; border-radius: 50%; background: #48d38a; box-shadow: 0 0 0 5px rgba(72,211,138,.12); }
.console-status { display: grid; grid-template-columns: 54px 1fr; gap: 4px 16px; align-items: center; padding: 28px 24px; border-bottom: 1px solid #4b3f3b; }
.pulse { grid-row: 1/3; width: 48px; height: 48px; border: 1px solid #6c5a55; border-radius: 50%; position: relative; }
.pulse::before, .pulse::after { content: ""; position: absolute; border-radius: 50%; }
.pulse::before { inset: 10px; border: 2px solid var(--red); }.pulse::after { inset: 19px; background: #ff655d; }
.console-status strong { font-size: 18px; }.console-status span { color: #9e8f8a; font-size: 11px; line-height: 1.4; }
.tool-steps { margin: 0; padding: 0; list-style: none; }
.tool-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 17px 24px; border-bottom: 1px solid #3d3431; }
.tool-steps li:last-child { border-bottom: 0; }
.tool-steps li > span { color: #ff6f66; font: 700 11px/1.5 Consolas, monospace; }
.tool-steps p { margin: 0; color: #a99a95; font-size: 12px; line-height: 1.5; }.tool-steps strong { color: #fff; margin-right: 8px; }
.risk-strip { margin-top: 70px; padding: 18px 22px; color: #bcaea9; border: 1px solid #4b3f3b; font-size: 12px; line-height: 1.6; }.risk-strip strong { color: #ff756d; }

.process-head { display: flex; justify-content: space-between; align-items: end; gap: 60px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.process-grid article { min-height: 230px; padding: 24px 24px 30px 0; border-right: 1px solid var(--line); }
.process-grid article:not(:first-child) { padding-left: 24px; }
.process-grid article:last-child { border-right: 0; }
.process-grid span { color: var(--red); font: 700 11px/1 Consolas, monospace; }
.process-grid h3 { margin: 48px 0 14px; font-size: 24px; }.process-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.contact-section { padding: 32px; background: var(--red); }
.contact-shell { width: min(var(--max), 100%); margin: auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; padding: 78px 64px; color: #fff; background: var(--red); border: 1px solid rgba(255,255,255,.34); }
.contact-copy .eyebrow { color: #ffd0ca; }
.contact-copy h2 { margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1; letter-spacing: -.055em; }
.contact-copy > p:last-child { max-width: 600px; color: #ffd8d4; line-height: 1.7; }
.contact-cards { display: grid; gap: 10px; }
.contact-cards a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label link" "name link" "phone link"; align-items: center; min-height: 114px; padding: 18px 20px; color: var(--ink); background: #fff; transition: transform .2s, background .2s; }
.contact-cards a:hover { transform: translateX(6px); background: #fff5f2; }
.contact-cards span { grid-area: label; color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-cards strong { grid-area: name; margin-top: 5px; font-size: 21px; }.contact-cards p { grid-area: phone; margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.contact-cards i { grid-area: link; color: var(--red); font-size: 11px; font-style: normal; font-weight: 800; }
.contact-cards a[href^="http"] { display: none; }

.site-footer { color: #fff; background: #100d0c; }
.footer-main { width: min(var(--max), calc(100% - 48px)); min-height: 250px; margin: auto; display: grid; grid-template-columns: 260px 1fr auto; align-items: center; gap: 55px; }
.footer-main img { width: 210px; filter: brightness(0) invert(1); opacity: .95; }
.footer-main p { max-width: 370px; color: #9d8f8a; line-height: 1.6; }
.footer-main nav { display: grid; grid-template-columns: repeat(2, 100px); gap: 14px 30px; color: #d6cac6; font-size: 12px; }.footer-main a:hover { color: #ff746c; }
.footer-main nav a:last-child { grid-column: 1 / -1; white-space: nowrap; }
.footer-bottom { width: min(var(--max), calc(100% - 48px)); min-height: 62px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #756965; border-top: 1px solid #2d2725; font-size: 11px; }

.product-dialog { width: min(980px, calc(100% - 34px)); max-height: calc(100vh - 34px); padding: 0; border: 0; color: var(--ink); background: #fff; box-shadow: 0 40px 120px rgba(0,0,0,.35); }
.product-dialog::backdrop { background: rgba(16,13,12,.76); backdrop-filter: blur(4px); }
.product-dialog[open] { display: grid; grid-template-columns: 1fr 1fr; }
.dialog-close { position: absolute; z-index: 2; right: 16px; top: 16px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: #fff; background: var(--ink); cursor: pointer; font-size: 25px; }
.dialog-media { min-height: 540px; background: var(--cream); }.dialog-media img { width: 100%; height: 100%; object-fit: cover; }
.dialog-content { padding: 62px 48px 42px; overflow: auto; }
.dialog-content h2 { margin: 0; font-size: 42px; letter-spacing: -.045em; }
.dialog-description { color: var(--muted); line-height: 1.75; }
.dialog-content ul { margin: 30px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.dialog-content li { padding: 13px 0 13px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 13px; }.dialog-content li::before { content: ""; position: absolute; left: 0; top: 19px; width: 7px; height: 7px; background: var(--red); }
.dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 36px; }.dialog-footer strong { font-size: 14px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 500px; }
  .intro-grid, .products-head, .tools-grid, .contact-shell { grid-template-columns: 1fr; gap: 48px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid article:nth-child(2) { border-right: 0; }.process-grid article:nth-child(3) { padding-left: 0; }
  .contact-shell { padding: 62px 46px; }
}

@media (max-width: 760px) {
  .utility-bar { display: none; }
  .header-inner { width: calc(100% - 32px); min-height: 68px; }
  .brand img { width: 145px; height: 44px; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 68px 0 auto; display: none; align-items: stretch; padding: 24px; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 50px rgba(43,20,17,.12); }
  .nav.open { display: grid; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav-admin { margin-top: 8px; text-align: center; }
  .hero-grid, .section, .tools-shell, .footer-main, .footer-bottom { width: calc(100% - 32px); }
  .hero-grid { min-height: 0; padding: 58px 0 42px; gap: 44px; }
  .hero h1 { font-size: clamp(46px, 15vw, 68px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; }.hero-actions .button { width: 100%; justify-content: space-between; }
  .hero-facts { grid-template-columns: 1fr; }.hero-facts div { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .hero-visual { min-height: 390px; }
  .visual-brand { width: 72%; padding: 25px 18px; }
  .orbit-a { left: 15px; top: 24px; }.orbit-b { right: 12px; top: 30px; }.orbit-c { right: 28px; bottom: 62px; }
  .visual-note { left: 18px; right: 18px; }.visual-note span { display: none; }
  .hero-marquee { justify-content: flex-start; padding-left: 20px; }
  .section { padding: 80px 0; }
  .section-label { margin-bottom: 48px; }
  .intro-grid { gap: 34px; }
  .intro-lead { font-size: 19px; }
  .products-section { padding-top: 30px; }
  .product-toolbar { display: block; padding: 12px 0; }
  .product-count { display: block; padding: 5px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-title-row h3 { font-size: 24px; }
  .tools-shell { padding: 78px 0; }
  .tool-copy h2 { font-size: 42px; }
  .tool-actions { align-items: stretch; }.tool-actions .button, .tool-actions .text-link { width: 100%; justify-content: space-between; }
  .process-head { display: block; }.process-head .text-link { margin-top: 26px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article, .process-grid article:not(:first-child) { min-height: 0; padding: 24px 0; border-right: 0; }
  .process-grid h3 { margin-top: 22px; }
  .contact-section { padding: 16px; }
  .contact-shell { padding: 50px 22px; border: 1px solid rgba(255,255,255,.3); }
  .contact-copy h2 { font-size: 43px; }
  .contact-cards a { grid-template-columns: 1fr; grid-template-areas: "label" "name" "phone" "link"; }
  .contact-cards i { margin-top: 12px; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; padding: 55px 0; }.footer-main nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding: 20px 0; }
  .product-dialog[open] { display: block; }.dialog-media { min-height: 250px; height: 34vh; }.dialog-content { padding: 38px 24px 30px; }.dialog-content h2 { font-size: 34px; }.dialog-footer { align-items: stretch; flex-direction: column; }
}

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