:root {
  --red: #d61e18;
  --red-dark: #b3140f;
  --red-soft: #fbeceb;
  --ink: #131415;
  --ink-2: #1e1e1e;
  --gray: #5d5f61;
  --muted: #8a8c8f;
  --line: #e3e3e8;
  --light: #f5f5f7;
  --white: #fff;
  --shadow: 0 24px 60px rgba(19, 20, 21, .10);
  --font-display: "Manrope", "Microsoft YaHei", Arial, sans-serif;
  --font-body: "Inter", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }
.section { padding: 110px 0; }
.bg-light { background: var(--light); }
.bg-dark { color: var(--white); background: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav-shell { width: min(1360px, calc(100% - 48px)); height: 76px; margin: auto; display: flex; align-items: center; gap: 36px; }
.brand img { height: 30px; width: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand small { padding-left: 12px; border-left: 1px solid var(--line); color: var(--gray); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a, .nav-item > a { position: relative; display: block; padding: 28px 14px; font-size: 14px; font-weight: 600; }
.main-nav > a::after, .nav-item > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 20px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .25s; }
.main-nav > a:hover::after, .nav-item:hover > a::after, .main-nav a.active::after { transform: scaleX(1); }
.nav-item { position: relative; }
.nav-item > a span { margin-left: 6px; font-size: 10px; color: var(--muted); }
.dropdown { position: absolute; top: 100%; left: -20px; width: 560px; padding: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 14px; padding: 10px; border-radius: 4px; }
.dropdown a:hover { background: var(--light); }
.dropdown img { width: 64px; height: 64px; object-fit: contain; }
.dropdown strong { display: block; font-size: 14px; }
.dropdown small { color: var(--muted); font-size: 12px; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 26px; border: 1px solid var(--red); border-radius: 2px; background: var(--red); color: var(--white); font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s, transform .2s, border-color .2s, color .2s; }
.button:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.button span { font-size: 17px; }
.button-small { min-height: 42px; padding: 0 18px; gap: 14px; font-size: 13px; }
.button-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.button-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.button-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.button-outline-light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.button-white { background: var(--white); color: var(--ink); border-color: var(--white); }
.button-white:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 14px; padding: 6px 0; border: 0; border-bottom: 1px solid currentColor; background: none; font-size: 14px; font-weight: 700; cursor: pointer; }
.text-link:hover { color: var(--red); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); }

h1, h2, h3, h4 { font-family: var(--font-display); }
.display { margin: 0; font-size: clamp(44px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; }
.display em, .title em { font-style: normal; color: var(--red); }
.title { margin: 0; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.06; letter-spacing: -.04em; font-weight: 800; }
.lead { color: var(--gray); font-size: 18px; line-height: 1.7; }
.bg-dark .lead { color: #a9abae; }
.section-heading { display: grid; grid-template-columns: 1.4fr .8fr; align-items: end; gap: 70px; margin-bottom: 56px; }
.section-heading p { margin: 0 0 6px; color: var(--gray); font-size: 16px; line-height: 1.7; }
.bg-dark .section-heading p { color: #a9abae; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(circle at 72% 45%, #3a1210 0%, #1a1414 32%, var(--ink) 62%); }
.hero::after { content: "riton"; position: absolute; right: -40px; bottom: -70px; color: rgba(255,255,255,.035); font: 800 340px/1 var(--font-display); letter-spacing: -.06em; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; min-height: 700px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; padding: 70px 0 90px; }
.hero .eyebrow { color: #ff5a52; }
.hero .eyebrow::before { background: #ff5a52; }
.hero .lead { max-width: 540px; margin: 26px 0 34px; color: #b7b8bb; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); gap: 46px; margin-top: 64px; padding-top: 26px; width: max-content; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats strong { display: block; font: 800 34px/1 var(--font-display); }
.hero-stats strong sup { color: var(--red); font-size: 20px; }
.hero-stats span { display: block; margin-top: 8px; color: #8d8f92; font-size: 12px; letter-spacing: .04em; }
.hero-visual { position: relative; height: 560px; }
.hero-visual::before { content: ""; position: absolute; left: 12%; right: 0; bottom: 52px; height: 70px; border-radius: 50%; background: radial-gradient(rgba(214,30,24,.55), transparent 70%); filter: blur(20px); }
.hero-visual img { position: absolute; bottom: 70px; filter: drop-shadow(0 40px 50px rgba(0,0,0,.55)); }
.hero-visual .hv-main { right: 36%; height: 450px; z-index: 2; }
.hero-visual .hv-second { right: -2%; height: 330px; z-index: 3; }
.hero-badge { position: absolute; z-index: 4; right: 0; top: 6%; padding: 16px 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); }
.hero-badge small { display: block; color: #a9abae; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.hero-badge strong { display: block; margin-top: 5px; font: 800 26px var(--font-display); }
.hero-badge strong span { color: #ff5a52; }

.trust-strip { border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { padding: 30px 28px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong { display: block; font: 800 30px var(--font-display); }
.trust-grid strong em { font-style: normal; color: var(--red); }
.trust-grid span { color: var(--gray); font-size: 13px; }

/* ---------- Applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.app-card { position: relative; min-height: 330px; overflow: hidden; color: var(--white); background: #000; }
.app-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.app-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.88)); }
.app-card:hover img { transform: scale(1.06); }
.app-card-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 26px; }
.app-card-body small { color: #ff6b63; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.app-card-body h3 { margin: 8px 0 6px; font-size: 24px; }
.app-card-body p { margin: 0; color: #c4c5c8; font-size: 13px; line-height: 1.55; }
.app-card-body b { display: inline-block; margin-top: 14px; font-size: 12px; }

/* ---------- Product lineup ---------- */
.lineup { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { position: relative; display: flex; flex-direction: column; padding: 28px; background: var(--white); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-card .tag { align-self: flex-start; padding: 5px 10px; background: var(--light); color: var(--gray); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-card .pc-img { height: 230px; margin: 22px 0; display: grid; place-items: center; }
.product-card .pc-img img { max-height: 230px; max-width: 100%; width: auto; object-fit: contain; }
.product-card h3 { margin: 0; font-size: 22px; }
.product-card p { margin: 8px 0 18px; color: var(--gray); font-size: 13px; line-height: 1.6; }
.product-card ul { margin: 0 0 22px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.product-card li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.product-card li span { color: var(--muted); }
.product-card .pc-link { margin-top: auto; font-size: 13px; font-weight: 700; }
.product-card .pc-link:hover { color: var(--red); }

/* ---------- Feature split ---------- */
.feature-split { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 80px; }
.feature-split.reverse { grid-template-columns: .95fr 1.05fr; }
.feature-split.reverse .fs-media { order: 2; }
.fs-media { position: relative; display: grid; place-items: center; min-height: 520px; background: var(--light); }
.bg-dark .fs-media { background: radial-gradient(circle at 50% 60%, #3a1210, #1a1414 60%); }
.fs-media img { max-height: 460px; max-width: 80%; width: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.18)); }
.fs-media .fs-label { position: absolute; left: 24px; top: 24px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.icon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 34px 0; background: var(--line); border: 1px solid var(--line); }
.bg-dark .icon-grid { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.12); }
.icon-grid > div { padding: 20px; background: var(--white); }
.bg-dark .icon-grid > div { background: var(--ink); }
.bg-light .icon-grid > div { background: var(--light); }
.icon-grid i { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 50%; background: var(--red-soft); color: var(--red); font-style: normal; font-weight: 800; font-size: 15px; }
.bg-dark .icon-grid i { background: rgba(214,30,24,.18); color: #ff6b63; }
.icon-grid strong { display: block; font-size: 15px; }
.icon-grid span { display: block; margin-top: 4px; color: var(--gray); font-size: 12px; line-height: 1.5; }
.bg-dark .icon-grid span { color: #8d8f92; }

/* ---------- Workflow ---------- */
.workflow-track { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.workflow-track article { position: relative; padding: 34px 28px 10px 0; }
.workflow-track article::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.workflow-track span { color: #ff6b63; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.workflow-track h3 { margin: 12px 0 8px; font-size: 22px; }
.workflow-track p { margin: 0 0 16px; color: #a9abae; font-size: 14px; line-height: 1.6; }
.workflow-track a { color: var(--white); font-size: 12px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.4); }

/* ---------- Materials ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter-tabs button { padding: 10px 18px; border: 1px solid var(--line); border-radius: 40px; background: var(--white); color: var(--gray); font-size: 13px; font-weight: 600; cursor: pointer; transition: .2s; }
.filter-tabs button:hover { border-color: var(--ink); color: var(--ink); }
.filter-tabs button.active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.material-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.material-grid.compact { grid-template-columns: repeat(6, 1fr); }
.resin-card { display: flex; flex-direction: column; padding: 24px 22px; background: var(--white); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.resin-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.resin-card.hidden { display: none; }
.resin-card .rc-img { height: 200px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(180deg, transparent 62%, var(--light) 62%); }
.resin-card .rc-img img { height: 190px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(0,0,0,.12)); }
.resin-card small { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.resin-card h3 { margin: 6px 0 10px; font-size: 18px; line-height: 1.25; }
.resin-card ul { margin: 0 0 14px; padding: 0; list-style: none; }
.resin-card li { position: relative; padding-left: 14px; color: var(--gray); font-size: 13px; line-height: 1.6; }
.resin-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.resin-card .colors { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.resin-card .colors b { padding: 3px 8px; background: var(--light); color: var(--ink); font-size: 11px; font-weight: 600; }
.resin-card .rc-quote { margin-top: 14px; padding: 0; border: 0; background: none; color: var(--ink); font-size: 12px; font-weight: 700; text-align: left; cursor: pointer; }
.resin-card .rc-quote:hover { color: var(--red); }
.material-grid.compact .resin-card { padding: 18px 14px; }
.material-grid.compact .rc-img { height: 150px; }
.material-grid.compact .rc-img img { height: 140px; }
.material-grid.compact h3 { font-size: 14px; margin-bottom: 0; }
.material-grid.compact ul, .material-grid.compact .colors, .material-grid.compact .rc-quote { display: none; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { padding: 34px 30px; background: var(--white); border-top: 3px solid var(--red); }
.service-card .num { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.service-card h3 { margin: 14px 0 16px; font-size: 24px; }
.service-card ul { margin: 0; padding: 0; list-style: none; }
.service-card li { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--gray); font-size: 14px; }
.service-card li::before { content: "—"; margin-right: 10px; color: var(--red); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.about-stats div { padding: 30px; background: var(--ink); }
.about-stats strong { display: block; font: 800 44px/1 var(--font-display); }
.about-stats strong em { font-style: normal; color: var(--red); }
.about-stats span { display: block; margin-top: 10px; color: #8d8f92; font-size: 13px; }
.honor-list { margin: 30px 0 0; padding: 0; list-style: none; }
.honor-list li { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: #c4c5c8; font-size: 14px; }
.honor-list li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 12px; border-radius: 50%; background: var(--red); vertical-align: middle; }

/* ---------- CTA & Footer ---------- */
.cta-band { padding: 90px 0; color: var(--white); background: var(--red); }
.cta-inner { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 70px; }
.cta-band .title em { color: var(--ink); }
.cta-band p { margin: 0 0 26px; color: #ffd9d7; line-height: 1.7; }
footer { padding: 70px 0 26px; color: var(--white); background: #0c0c0d; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.4fr; gap: 46px; }
.footer-grid h4 { margin: 0 0 20px; color: #8d8f92; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid a, .footer-grid p { display: block; margin: 0 0 12px; color: #d4d5d8; font-size: 13px; line-height: 1.6; }
.footer-grid a:hover { color: #ff6b63; }
.footer-brand img { height: 30px; width: auto; margin-bottom: 22px; }
.footer-brand p { color: #8d8f92; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #6f7174; font-size: 11px; }

/* ---------- Product detail pages ---------- */
.breadcrumb { padding: 18px 0; color: var(--muted); font-size: 12px; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 8px; }
.pd-hero { background: var(--light); overflow: hidden; }
.pd-hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; min-height: 600px; padding: 30px 0 70px; }
.pd-hero .lead { max-width: 520px; margin: 22px 0 30px; }
.pd-hero-media { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 24px; height: 520px; }
.pd-hero-media::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 40px; border-radius: 50%; background: radial-gradient(rgba(0,0,0,.18), transparent 70%); }
.pd-hero-media img { position: relative; max-height: 480px; max-width: 60%; width: auto; object-fit: contain; }
.pd-hero-media img:only-child { max-width: 90%; }
.pd-hero-media .pd-sub { max-height: 380px; }
.pd-quick { display: grid; grid-template-columns: repeat(3, auto); gap: 40px; margin-top: 46px; padding-top: 24px; width: max-content; border-top: 1px solid var(--line); }
.pd-quick strong { display: block; font: 800 26px var(--font-display); }
.pd-quick span { color: var(--gray); font-size: 12px; }
.sub-nav { position: sticky; top: 76px; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.sub-nav .container { display: flex; align-items: center; gap: 30px; height: 56px; overflow-x: auto; }
.sub-nav strong { margin-right: auto; font-size: 15px; white-space: nowrap; }
.sub-nav a { color: var(--gray); font-size: 13px; font-weight: 600; white-space: nowrap; }
.sub-nav a:hover { color: var(--red); }
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-cards.four { grid-template-columns: repeat(4, 1fr); }
.feature-card { padding: 30px 26px; background: var(--white); border: 1px solid var(--line); }
.bg-light .feature-card { border-color: transparent; }
.feature-card .fc-num { display: block; font: 800 34px/1 var(--font-display); color: var(--ink); }
.feature-card .fc-num em { font-style: normal; color: var(--red); font-size: 18px; margin-left: 3px; }
.feature-card h3 { margin: 18px 0 8px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--gray); font-size: 13px; line-height: 1.6; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table thead th { background: var(--ink); color: var(--white); font-size: 13px; letter-spacing: .04em; }
.spec-table thead th:first-child { width: 30%; }
.spec-table tbody th { color: var(--gray); font-weight: 500; background: var(--light); }
.spec-table td.merge { text-align: center; }
.spec-table td.hl { color: var(--red); font-weight: 700; }
.spec-wrap { overflow-x: auto; border: 1px solid var(--line); }
.spec-note { margin-top: 14px; color: var(--muted); font-size: 12px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: #000; aspect-ratio: 3 / 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: var(--white); font-size: 13px; font-weight: 600; }
.compare-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pick-card { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 26px; padding: 26px; background: var(--white); border: 1px solid var(--line); }
.pick-card img { max-height: 220px; max-width: 100%; width: auto; margin: auto; object-fit: contain; }
.pick-card h3 { margin: 0 0 6px; font-size: 26px; }
.pick-card .pk-for { color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pick-card ul { margin: 16px 0 20px; padding: 0; list-style: none; }
.pick-card li { padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--gray); font-size: 13px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps div { position: relative; padding: 26px 22px; background: var(--white); border: 1px solid var(--line); }
.steps div::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 18px; color: var(--red); font: 800 28px var(--font-display); }
.steps strong { display: block; font-size: 16px; }
.steps span { display: block; margin-top: 6px; color: var(--gray); font-size: 13px; line-height: 1.5; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.before-after figure { margin: 0; position: relative; background: var(--light); }
.before-after img { width: 100%; height: auto; }
.sub-nav .button { flex: 0 0 auto; }
.before-after figcaption { position: absolute; left: 14px; top: 14px; padding: 5px 12px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.before-after figure:last-child figcaption { background: var(--red); }
.check-list { margin: 26px 0 30px; padding: 0; list-style: none; }
.check-list li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips span { padding: 7px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 30px; font-size: 13px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.page-hero-simple { padding: 40px 0 70px; background: var(--light); }
.page-hero-simple .lead { max-width: 640px; }
.demo-note { margin-top: 26px; color: var(--muted); font-size: 12px; }

/* ---------- Modal ---------- */
.quote-modal { width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 40px); padding: 44px; border: 0; border-top: 4px solid var(--red); background: var(--white); box-shadow: 0 40px 120px rgba(0,0,0,.35); }
.quote-modal::backdrop { background: rgba(10,10,11,.78); backdrop-filter: blur(4px); }
.modal-close { position: absolute; top: 14px; right: 18px; border: 0; background: none; font-size: 28px; cursor: pointer; }
.quote-modal h2 { margin: 0; font-size: 36px; letter-spacing: -.03em; }
.quote-modal h2 em { font-style: normal; color: var(--red); }
.modal-head p { color: var(--gray); }
.interest-pill { display: none; margin-top: 12px; padding: 10px 14px; background: var(--red-soft); color: var(--red-dark); font-size: 13px; font-weight: 600; }
.interest-pill.show { display: block; }
.quote-modal form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.quote-modal label { display: grid; gap: 7px; color: var(--gray); font-size: 12px; font-weight: 600; }
.quote-modal input, .quote-modal select, .quote-modal textarea { width: 100%; padding: 12px; border: 1px solid #d5d5da; border-radius: 2px; outline: none; background: var(--white); }
.quote-modal input:focus, .quote-modal select:focus, .quote-modal textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(214,30,24,.1); }
.quote-modal .full { grid-column: 1 / -1; }
.quote-modal .consent { display: flex; align-items: flex-start; gap: 10px; }
.quote-modal .consent input { width: 16px; margin-top: 2px; }
.form-success { padding: 50px 10px; text-align: center; }
.form-success > div { width: 68px; height: 68px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: var(--white); font-size: 30px; }
.form-success p { color: var(--gray); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav > a, .nav-item > a { padding: 28px 9px; font-size: 13px; }
  .lineup, .material-grid { grid-template-columns: repeat(2, 1fr); }
  .material-grid.compact { grid-template-columns: repeat(4, 1fr); }
  .feature-cards.four, .gallery, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .compare-pick { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .container { width: min(100% - 36px, 680px); }
  .section { padding: 76px 0; }
  .nav-shell { height: 64px; width: calc(100% - 32px); }
  .brand small { display: none; }
  .nav-toggle { margin-left: auto; width: 38px; height: 38px; padding: 8px; display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 0; background: none; }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); }
  .main-nav { position: absolute; top: 64px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 64px); overflow-y: auto; }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-item > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav > a::after, .nav-item > a::after { display: none; }
  .dropdown { position: static; width: auto; padding: 8px 0; grid-template-columns: 1fr; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; }
  .dropdown img { width: 44px; height: 44px; }
  .dropdown a { grid-template-columns: 44px 1fr; }
  .nav-cta { display: none; }
  .sub-nav { top: 64px; }
  .hero-inner, .pd-hero-inner { grid-template-columns: 1fr; min-height: 0; padding: 50px 0 60px; }
  .hero-visual { height: 380px; }
  .hero-visual .hv-main { height: 300px; right: 40%; }
  .hero-visual .hv-second { height: 220px; right: 0; }
  .hero-badge { top: 0; right: 0; }
  .hero-stats, .pd-quick { width: 100%; gap: 20px; }
  .hero-stats strong { font-size: 26px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div { padding: 22px 16px; border-bottom: 1px solid var(--line); }
  .trust-grid > div:first-child { padding-left: 16px; }
  .section-heading, .feature-split, .feature-split.reverse, .about-grid, .cta-inner { grid-template-columns: 1fr; gap: 36px; }
  .feature-split.reverse .fs-media { order: 0; }
  .fs-media { min-height: 360px; }
  .fs-media img { max-height: 320px; }
  .app-grid, .service-grid, .feature-cards, .related { grid-template-columns: 1fr; }
  .workflow-track { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
  .pd-hero-media { height: 360px; }
  .pd-hero-media img { max-height: 330px; }
  .pd-hero-media .pd-sub { max-height: 260px; }
  .pick-card { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .lineup, .material-grid, .feature-cards.four, .gallery, .steps, .before-after { grid-template-columns: 1fr; }
  .material-grid.compact { grid-template-columns: repeat(2, 1fr); }
  .icon-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stats strong { font-size: 22px; }
  .about-stats strong { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .quote-modal { padding: 34px 20px; }
  .quote-modal form { grid-template-columns: 1fr; }
  .quote-modal .full { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
