:root {
  --red: #e6312b;
  --red-dark: #b71f1b;
  --navy: #0b2347;
  --ink: #111722;
  --muted: #5f6876;
  --line: #dfe3e8;
  --soft: #f4f6f8;
  --white: #ffffff;
  --dark: #101722;
  --container: 1240px;
  --shadow-sm: 0 8px 30px rgba(15, 25, 40, .08);
  --shadow-lg: 0 28px 70px rgba(12, 22, 36, .16);
  --radius: 6px;
  --header-height: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: 0; line-height: 1.13; }
h1 { margin-bottom: 26px; font-size: clamp(3.1rem, 5vw, 4.8rem); font-weight: 750; }
h2 { margin-bottom: 0; font-size: clamp(2.25rem, 3.5vw, 3.85rem); font-weight: 720; }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
::selection { color: var(--white); background: var(--red); }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 120px 0; }
.skip-link { position: fixed; z-index: 9999; top: 8px; left: 8px; padding: 10px 14px; color: white; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 1000; top: 0; left: 0; width: 100%; color: var(--white); transition: box-shadow .25s ease, transform .25s ease; }
.topbar { height: 34px; color: rgba(255,255,255,.84); background: var(--navy); font-size: .75rem; }
.topbar-inner, .topbar-links { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.topbar-links { gap: 26px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; }
.nav-wrap { border-bottom: 1px solid rgba(255,255,255,.15); background: rgba(12,19,30,.45); backdrop-filter: blur(16px); transition: background .25s ease; }
.site-header.scrolled .nav-wrap { background: rgba(255,255,255,.98); box-shadow: 0 8px 24px rgba(18,30,46,.08); }
.site-header.scrolled .main-nav a, .site-header.scrolled .brand { color: var(--ink); }
.nav-inner { display: flex; align-items: center; min-height: 74px; gap: 34px; }
.brand { display: inline-flex; align-items: center; flex: none; gap: 11px; color: var(--white); }
.brand-symbol { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; overflow: hidden; background: var(--navy); }
.brand-symbol img { width: 114px; max-width: none; height: 38px; object-fit: cover; object-position: center; }
.brand strong, .brand small { display: block; letter-spacing: 0; }
.brand strong { font-size: 1.2rem; line-height: 1; }
.brand small { margin-top: 5px; font-size: .57rem; font-weight: 700; opacity: .7; }
.main-nav { display: flex; align-items: center; justify-content: center; flex: 1; gap: 26px; }
.main-nav a { position: relative; color: var(--white); font-size: .86rem; font-weight: 600; }
.main-nav a::after { position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; content: ""; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle.icon-button { display: none; margin-left: auto; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 25px; gap: 10px; border: 1px solid var(--red); border-radius: 2px; color: var(--white); background: var(--red); font-size: .9rem; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { background: var(--red-dark); box-shadow: 0 12px 28px rgba(230,49,43,.24); transform: translateY(-2px); }
.button svg { width: 18px; height: 18px; }
.button-sm { min-height: 42px; padding-inline: 18px; font-size: .82rem; }
.button-outline { border-color: rgba(255,255,255,.5); color: var(--white); background: transparent; }
.button-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.button-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.button-outline-dark:hover { color: var(--white); background: var(--ink); box-shadow: var(--shadow-sm); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: .9rem; font-weight: 700; }
.text-link svg { width: 17px; }
.text-link:hover { color: var(--red); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: inherit; background: transparent; }

.hero { position: relative; min-height: 780px; padding-top: calc(var(--header-height) + 48px); color: var(--white); background: linear-gradient(115deg, #071427 0%, #0b2347 52%, #172f4d 100%); overflow: hidden; }
.hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(0,0,0,.12), transparent 55%); pointer-events: none; }
.hero-grid-lines { position: absolute; inset: 0; opacity: .08; 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: 96px 96px; }
.hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, .94fr) minmax(460px, 1.06fr); align-items: center; min-height: 600px; }
.hero-copy { position: relative; z-index: 2; padding: 38px 0 90px; }
.hero-lead { max-width: 670px; margin-bottom: 36px; color: rgba(255,255,255,.72); font-size: 1.2rem; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.hero-actions .text-link { color: var(--white); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 660px; margin: 54px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.hero-stats div { padding-right: 20px; border-right: 1px solid rgba(255,255,255,.16); }
.hero-stats div:not(:first-child) { padding-left: 24px; }
.hero-stats div:last-child { border-right: 0; }
.hero-stats dt { font-size: 1.8rem; font-weight: 760; }
.hero-stats dd { margin: 2px 0 0; color: rgba(255,255,255,.55); font-size: .74rem; text-transform: uppercase; }
.micro-note { max-width: 630px; margin: 14px 0 0; color: rgba(255,255,255,.42); font-size: .67rem; line-height: 1.5; }
.hero-media { position: relative; align-self: end; height: 630px; }
.hero-media > img { position: absolute; z-index: 1; right: -5%; bottom: -8%; width: min(690px, 62vw); height: auto; filter: drop-shadow(0 28px 32px rgba(0,0,0,.35)); }
.hero-product-shadow { position: absolute; right: 5%; bottom: 7%; width: 70%; height: 16%; border-radius: 50%; background: rgba(0,0,0,.36); filter: blur(30px); }
.hero-callout { position: absolute; z-index: 2; display: flex; align-items: center; width: 210px; padding: 13px 16px; gap: 12px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(5,16,32,.68); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); }
.hero-callout span { color: var(--red); font-size: .68rem; font-weight: 800; }
.hero-callout strong { font-size: .76rem; line-height: 1.35; }
.callout-a { top: 27%; right: 3%; }
.callout-b { right: 45%; bottom: 24%; }
.trust-rail { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; border-top: 1px solid rgba(255,255,255,.13); background: rgba(4,12,23,.52); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid span { display: flex; align-items: center; justify-content: center; min-height: 72px; gap: 10px; border-right: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.72); font-size: .78rem; font-weight: 600; }
.trust-grid span:first-child { border-left: 1px solid rgba(255,255,255,.12); }
.trust-grid svg { width: 19px; color: #ef6b64; }

.section-heading { margin-bottom: 64px; }
.split-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 80px; }
.split-heading > p { margin-bottom: 4px; font-size: 1.02rem; line-height: 1.8; }
.section-index { margin-bottom: 16px; color: var(--red); font-size: .73rem; font-weight: 800; text-transform: uppercase; }
.principle-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.principle-media { position: relative; min-height: 590px; background: linear-gradient(145deg, #edf1f5, #fff); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.principle-media img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 40px; object-fit: contain; }
.media-caption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; padding: 14px 18px; color: var(--white); background: rgba(11,35,71,.92); font-size: .72rem; }
.process-list article { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.process-list article:last-child { border-bottom: 1px solid var(--line); }
.process-number { color: var(--red); font-size: .72rem; font-weight: 800; }
.process-list h3 { margin-bottom: 8px; }
.process-list p { margin: 0; font-size: .92rem; }
.structure-strip { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 70px; border: 1px solid var(--line); }
.structure-strip div { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 128px; padding: 18px; gap: 12px; border-right: 1px solid var(--line); text-align: center; }
.structure-strip div:last-child { border-right: 0; }
.structure-strip svg { width: 24px; color: var(--red); }
.structure-strip span { font-size: .78rem; font-weight: 700; }

.dark-section { color: var(--white); background: linear-gradient(135deg, #0d151f, #172230); }
.light h2, .light h3 { color: var(--white); }
.light > p { color: rgba(255,255,255,.58); }
.dark-section .section-index, .service-section .section-index, .specs-section .section-index { color: #ff736c; }
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.advantage-item { position: relative; min-height: 370px; padding: 36px 28px; border-right: 1px solid rgba(255,255,255,.14); }
.advantage-item:first-child { border-left: 1px solid rgba(255,255,255,.14); }
.advantage-number { position: absolute; top: 20px; right: 20px; color: rgba(255,255,255,.2); font-size: .75rem; }
.advantage-item > svg { width: 34px; height: 34px; margin: 54px 0 46px; color: #f1514b; }
.advantage-item h3 { min-height: 48px; margin-bottom: 14px; }
.advantage-item p { margin: 0; color: rgba(255,255,255,.56); font-size: .88rem; }
.ceramic-feature { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; margin-top: 80px; background: #fff; box-shadow: var(--shadow-lg); }
.ceramic-feature img { width: 100%; height: 480px; object-fit: cover; }
.ceramic-feature > div { padding: 55px; }
.ceramic-feature h3 { color: var(--ink); font-size: 2rem; }
.ceramic-feature p { font-size: .94rem; }
.check-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: .84rem; font-weight: 700; }
.check-list svg { width: 18px; color: var(--red); }

.material-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.material-item { display: grid; grid-template-columns: 84px 1fr; min-height: 190px; padding: 28px; gap: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.material-sample { width: 74px; height: 100px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 12px 24px rgba(20,25,32,.12); }
.sample-graphite { background: linear-gradient(145deg, #5d6469 0%, #111 45%, #444 100%); }
.sample-coke { background: linear-gradient(145deg, #332e2a, #090909 52%, #38302b); }
.sample-pitch { background: linear-gradient(145deg, #24262a, #08090a 70%, #40444b); }
.sample-lfp { background: linear-gradient(145deg, #777c70, #b4b8ac 55%, #656b62); }
.sample-lithium { background: linear-gradient(145deg, #e3e6e8, #aab1b6 58%, #f5f6f7); }
.sample-hydroxide { background: linear-gradient(145deg, #f2f3f2, #c4c7c5 55%, #fff); }
.material-item span { color: var(--red); font-size: .64rem; font-weight: 800; text-transform: uppercase; }
.material-item h3 { margin: 7px 0 9px; }
.material-item p { margin: 0; font-size: .82rem; line-height: 1.55; }
.video-feature { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; margin-top: 78px; gap: 60px; }
.video-frame, .factory-video { position: relative; background: #05070a; box-shadow: var(--shadow-lg); overflow: hidden; }
.video-frame { aspect-ratio: 16 / 9; }
.video-frame video, .factory-video video { width: 100%; height: 100%; object-fit: cover; }
.video-watermark { position: absolute; top: 18px; right: 18px; width: 120px; opacity: .9; pointer-events: none; }
.video-copy h3 { font-size: 2.1rem; }
.test-steps { display: grid; gap: 12px; margin-top: 30px; }
.test-steps span { display: flex; align-items: center; gap: 12px; font-size: .84rem; font-weight: 700; }
.test-steps b { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: white; background: var(--navy); font-size: .7rem; }

.case-section { background: var(--soft); }
.case-gallery { display: grid; grid-template-columns: 1.35fr .65fr .65fr; grid-template-rows: 300px 300px; gap: 16px; }
.case-gallery figure { position: relative; margin: 0; overflow: hidden; }
.case-gallery .case-large { grid-row: 1 / 3; }
.case-gallery figure:nth-child(4) { grid-column: 2 / 4; }
.case-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-gallery figure:hover img { transform: scale(1.035); }
.case-gallery figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 40px 20px 18px; color: white; background: linear-gradient(transparent, rgba(5,10,16,.86)); }
.case-gallery figcaption span, .case-gallery figcaption strong { display: block; }
.case-gallery figcaption span { color: rgba(255,255,255,.62); font-size: .65rem; text-transform: uppercase; }
.case-gallery figcaption strong { margin-top: 4px; font-size: .85rem; }

.specs-section { color: white; background: #0b2347; }
.table-wrap { overflow-x: auto; border: 1px solid rgba(255,255,255,.16); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: 18px 22px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); text-align: left; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
th:last-child, td:last-child { border-right: 0; }
thead th { color: rgba(255,255,255,.62); background: rgba(0,0,0,.18); font-size: .71rem; text-transform: uppercase; }
tbody th { color: rgba(255,255,255,.6); font-weight: 500; }
tbody td { color: white; font-weight: 650; }
.table-total { background: rgba(255,255,255,.05); }
.table-output { background: var(--red); }
.table-output th, .table-output td { color: white; }
.spec-note { display: flex; align-items: flex-start; margin-top: 24px; gap: 12px; }
.spec-note svg { flex: none; width: 18px; margin-top: 3px; color: #ff7770; }
.spec-note p { margin: 0; color: rgba(255,255,255,.5); font-size: .75rem; }

.comparison-table { color: var(--ink); border-color: var(--line); }
.comparison-table th, .comparison-table td { border-color: var(--line); }
.comparison-table thead th { color: var(--ink); background: var(--soft); }
.comparison-table tbody th { color: var(--muted); }
.comparison-table tbody td { color: var(--ink); font-weight: 500; }
.comparison-table .recommended { color: white; background: var(--navy); }
.recommended span { display: inline-block; margin-left: 8px; padding: 3px 6px; color: var(--navy); background: white; font-size: .56rem; }
.comparison-table tbody td:nth-child(2) { background: #f2f6fb; }
.comparison-table b { color: var(--navy); }
.upstream-callout { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; margin-top: 36px; padding: 30px 34px; gap: 24px; color: white; background: var(--dark); }
.callout-icon { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; background: var(--red); }
.upstream-callout h3 { margin-bottom: 6px; }
.upstream-callout p { margin: 0; color: rgba(255,255,255,.55); font-size: .84rem; }

.company-section { background: var(--soft); }
.company-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.company-intro p { font-size: 1rem; }
.company-intro strong { color: var(--ink); }
.company-metrics { display: grid; grid-template-columns: repeat(4, 1fr); margin: 70px 0; border-top: 1px solid #cfd5db; border-bottom: 1px solid #cfd5db; }
.company-metrics div { padding: 32px; border-right: 1px solid #cfd5db; }
.company-metrics div:last-child { border-right: 0; }
.company-metrics strong { display: block; color: var(--navy); font-size: 2.5rem; }
.company-metrics span { display: block; margin-top: 4px; color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.factory-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.factory-video { aspect-ratio: 16 / 10; }
.factory-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.factory-stack figure { position: relative; margin: 0; overflow: hidden; }
.factory-stack img { width: 100%; height: 100%; object-fit: cover; }
.factory-stack figcaption { position: absolute; bottom: 0; left: 0; padding: 9px 12px; color: white; background: rgba(11,35,71,.9); font-size: .68rem; }
.cert-heading { display: grid; grid-template-columns: .9fr 1.1fr; align-items: end; margin-top: 96px; gap: 80px; }
.cert-heading h3 { margin: 0; font-size: 2.2rem; }
.cert-heading > p { margin: 0; }
.certificate-rail { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 38px; gap: 12px; }
.certificate-card { position: relative; min-width: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow: hidden; text-align: left; transition: box-shadow .2s ease, transform .2s ease; }
.certificate-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.certificate-card img { width: 100%; height: 230px; padding: 15px; object-fit: contain; background: #f9fafb; }
.certificate-card span { display: block; padding: 14px; border-top: 1px solid var(--line); font-size: .72rem; font-weight: 700; }

.parts-section { background: white; }
.parts-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.parts-copy { position: sticky; top: 130px; align-self: start; }
.parts-copy h2 { margin-bottom: 28px; }
.dark-checks { margin-bottom: 28px; }
.parts-list { border-top: 1px solid var(--line); }
.parts-list > div { display: grid; grid-template-columns: 54px .7fr 1.3fr; align-items: center; min-height: 116px; border-bottom: 1px solid var(--line); gap: 18px; }
.parts-list span { color: var(--red); font-size: .72rem; font-weight: 800; }
.parts-list h3, .parts-list p { margin: 0; }
.parts-list p { font-size: .84rem; }

.service-section { color: white; background: linear-gradient(130deg, #101722, #1b2634); }
.service-timeline { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.service-timeline article { position: relative; min-height: 260px; padding: 30px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.service-timeline article > span { position: absolute; top: 20px; right: 20px; color: rgba(255,255,255,.2); font-size: .68rem; }
.service-timeline svg { width: 30px; height: 30px; margin: 24px 0 32px; color: #ff6d66; }
.service-timeline h3 { margin-bottom: 12px; }
.service-timeline p { margin: 0; color: rgba(255,255,255,.5); font-size: .84rem; }

.faq-layout { display: grid; grid-template-columns: .67fr 1.33fr; gap: 110px; }
.faq-intro { position: sticky; top: 130px; align-self: start; }
.faq-intro h2 { margin-bottom: 26px; }
.faq-intro .button { margin-top: 18px; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; color: var(--ink); font-weight: 700; list-style: none; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary svg { flex: none; width: 19px; color: var(--red); transition: transform .2s ease; }
.accordion details[open] summary svg { transform: rotate(45deg); }
.accordion details p { max-width: 760px; margin: -4px 50px 25px 0; font-size: .9rem; }

.contact-section { padding: 120px 0; color: white; background: var(--navy); }
.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.contact-copy h2 { margin-bottom: 28px; color: var(--white); }
.contact-copy > p { color: rgba(255,255,255,.62); }
.contact-direct { display: grid; margin-top: 48px; border-top: 1px solid rgba(255,255,255,.16); }
.contact-direct > a, .contact-direct > div { display: flex; align-items: flex-start; padding: 22px 0; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-direct svg { flex: none; width: 20px; margin-top: 3px; color: #ff7069; }
.contact-direct small, .contact-direct strong { display: block; }
.contact-direct small { margin-bottom: 4px; color: rgba(255,255,255,.45); font-size: .65rem; text-transform: uppercase; }
.contact-direct strong { font-size: .82rem; line-height: 1.55; }
.quote-form { padding: 42px; color: var(--ink); background: white; box-shadow: var(--shadow-lg); }
.form-header { display: flex; align-items: end; justify-content: space-between; margin-bottom: 30px; }
.form-header h3 { margin: 0; font-size: 1.7rem; }
.form-header span { color: var(--muted); font-size: .67rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid label { color: #3b4552; font-size: .72rem; font-weight: 700; }
.form-grid input, .form-grid textarea, .form-grid select { width: 100%; margin-top: 8px; padding: 12px 0; border: 0; border-bottom: 1px solid #cfd5dc; border-radius: 0; outline: 0; color: var(--ink); background: transparent; font-size: .88rem; transition: border-color .2s ease; }
.form-grid textarea { padding: 12px; border: 1px solid #cfd5dc; resize: vertical; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { border-color: var(--red); }
.full-field { grid-column: 1 / -1; }
.consent { display: flex; align-items: flex-start; margin: 24px 0; gap: 9px; color: var(--muted); font-size: .68rem; }
.consent input { margin-top: 3px; accent-color: var(--red); }
.form-submit { width: 100%; }
.form-status { min-height: 24px; margin: 12px 0 0; color: #2c764d; font-size: .74rem; text-align: center; }

.site-footer { padding-top: 76px; color: white; background: #080d14; }
.footer-grid { display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 60px; padding-bottom: 62px; }
.brand-light { color: white; }
.footer-brand p { max-width: 400px; margin-top: 24px; color: rgba(255,255,255,.48); font-size: .82rem; }
.footer-grid h3 { margin-bottom: 22px; color: rgba(255,255,255,.48); font-size: .68rem; text-transform: uppercase; }
.footer-grid > div:not(:first-child) a { display: block; margin: 11px 0; color: rgba(255,255,255,.78); font-size: .82rem; }
.footer-grid > div:not(:first-child) a:hover { color: #ff6e67; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; min-height: 70px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.36); font-size: .68rem; }

.whatsapp-float { position: fixed; z-index: 900; right: 22px; bottom: 24px; display: flex; align-items: center; min-height: 50px; padding: 0 18px; gap: 9px; border-radius: 25px; color: white; background: #1fae5b; box-shadow: 0 12px 28px rgba(0,0,0,.2); font-size: .76rem; font-weight: 800; transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-3px); }
.whatsapp-float svg { width: 24px; fill: currentColor; }
.back-to-top { position: fixed; z-index: 850; right: 28px; bottom: 86px; color: white; background: var(--ink); opacity: 0; pointer-events: none; transform: translateY(12px); transition: .2s ease; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.image-modal { width: min(820px, calc(100% - 40px)); max-height: 90vh; padding: 20px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.image-modal::backdrop { background: rgba(4,8,14,.82); backdrop-filter: blur(4px); }
.image-modal img { width: 100%; max-height: 74vh; object-fit: contain; }
.image-modal p { margin: 14px 0 0; color: var(--ink); text-align: center; font-weight: 700; }
.modal-close { position: absolute; z-index: 2; top: 12px; right: 12px; color: white; background: var(--ink); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  :root { --header-height: 74px; }
  .topbar { display: none; }
  .main-nav { gap: 17px; }
  .nav-cta { display: none; }
  .hero { min-height: 760px; }
  .hero-layout { grid-template-columns: 1fr .85fr; }
  .hero-media { height: 620px; }
  .hero-callout { display: none; }
  .split-heading { gap: 50px; }
  .advantage-item { padding: 30px 20px; }
  .certificate-card img { height: 190px; }
  .contact-layout { gap: 50px; }
}

@media (max-width: 900px) {
  .section { padding: 90px 0; }
  .menu-toggle.icon-button { display: inline-flex; color: white; }
  .site-header.scrolled .menu-toggle { color: var(--ink); }
  .main-nav { position: fixed; inset: 74px 0 auto 0; display: grid; padding: 32px 24px; gap: 0; background: white; box-shadow: var(--shadow-lg); transform: translateY(-130%); transition: transform .3s ease; }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .main-nav a::after { display: none; }
  .hero { min-height: auto; padding-top: 120px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { padding: 40px 0 20px; }
  .hero-media { height: 530px; }
  .hero-media > img { right: 50%; width: 560px; max-width: 90vw; transform: translateX(50%); }
  .trust-rail { position: relative; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .split-heading, .principle-layout, .ceramic-feature, .video-feature, .company-intro, .cert-heading, .parts-layout, .faq-layout, .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .principle-media { min-height: 540px; }
  .structure-strip { grid-template-columns: repeat(3, 1fr); }
  .structure-strip div:nth-child(3) { border-right: 0; }
  .structure-strip div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .advantage-grid { grid-template-columns: 1fr 1fr; }
  .advantage-item:nth-child(2) { border-right: 1px solid rgba(255,255,255,.14); }
  .advantage-item { min-height: 320px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .ceramic-feature > div { padding: 38px; }
  .material-grid { grid-template-columns: 1fr 1fr; }
  .video-copy { max-width: 620px; }
  .case-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 420px 270px 270px; }
  .case-gallery .case-large { grid-column: 1 / 3; grid-row: auto; }
  .case-gallery figure:nth-child(4) { grid-column: 1 / 3; }
  .upstream-callout { grid-template-columns: 60px 1fr; }
  .upstream-callout .button { grid-column: 1 / 3; }
  .company-metrics { grid-template-columns: 1fr 1fr; }
  .company-metrics div:nth-child(2) { border-right: 0; }
  .company-metrics div:nth-child(-n+2) { border-bottom: 1px solid #cfd5db; }
  .factory-layout { grid-template-columns: 1fr; }
  .factory-stack { grid-template-columns: 1fr 1fr; grid-template-rows: 260px; }
  .certificate-rail { grid-template-columns: repeat(3, 1fr); }
  .parts-copy, .faq-intro { position: static; }
  .service-timeline { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 3; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 74px 0; }
  h1 { margin-bottom: 18px; font-size: 2.5rem; line-height: 1.06; }
  h2 { font-size: 2.2rem; }
  .nav-inner { min-height: 68px; }
  .main-nav { top: 68px; }
  .brand strong { font-size: 1.05rem; }
  .brand small { font-size: .5rem; }
  .hero { min-height: auto; padding-top: 82px; }
  .hero-copy { padding: 34px 0 32px; }
  .hero-lead { margin-bottom: 24px; font-size: .92rem; line-height: 1.58; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-actions .button { min-height: 48px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); margin-top: 32px; padding-top: 20px; }
  .hero-stats div, .hero-stats div:not(:first-child) { padding: 8px 8px 8px 0; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 0; }
  .hero-stats div:not(:first-child) { padding-left: 8px; }
  .hero-stats div:last-child { grid-column: auto; border-right: 0; }
  .hero-stats dt { font-size: 1.28rem; }
  .hero-stats dd { font-size: .52rem; line-height: 1.45; }
  .micro-note { display: none; }
  .hero-media { display: none; }
  .trust-rail { position: relative; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid span { min-height: 58px; justify-content: flex-start; padding: 0 10px; border-left: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); font-size: .64rem; }
  .section-heading { margin-bottom: 40px; }
  .principle-media { min-height: 400px; }
  .principle-media img { padding: 22px; }
  .structure-strip { grid-template-columns: 1fr 1fr; }
  .structure-strip div:nth-child(3) { border-right: 1px solid var(--line); }
  .structure-strip div:nth-child(2n) { border-right: 0; }
  .structure-strip div:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .advantage-grid, .material-grid, .company-metrics, .service-timeline { grid-template-columns: 1fr; }
  .advantage-item { min-height: auto; }
  .advantage-item > svg { margin: 24px 0 28px; }
  .advantage-item h3 { min-height: auto; }
  .ceramic-feature img { height: 300px; }
  .ceramic-feature > div { padding: 28px 22px; }
  .material-item { grid-template-columns: 72px 1fr; padding: 22px; }
  .material-sample { width: 62px; }
  .video-feature { margin-top: 50px; }
  .video-watermark { top: 10px; right: 10px; width: 82px; }
  .case-gallery { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .case-gallery .case-large, .case-gallery figure:nth-child(4) { grid-column: auto; }
  .case-gallery figure { height: 250px; }
  .comparison-table table, .specs-section table { min-width: 730px; }
  .upstream-callout { grid-template-columns: 1fr; padding: 26px 22px; }
  .upstream-callout .button { grid-column: auto; width: 100%; }
  .company-metrics div { padding: 24px 0; border-right: 0; border-bottom: 1px solid #cfd5db; }
  .factory-stack { grid-template-columns: 1fr; grid-template-rows: 240px 240px; }
  .certificate-rail { display: flex; margin-right: -16px; padding-right: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .certificate-card { flex: 0 0 72vw; scroll-snap-align: start; }
  .parts-list > div { grid-template-columns: 38px 1fr; padding: 20px 0; }
  .parts-list p { grid-column: 2; }
  .service-timeline article { min-height: 230px; }
  .form-grid { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .quote-form { padding: 28px 20px; }
  .form-header { align-items: flex-start; flex-direction: column; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 42px 28px; }
  .footer-brand { grid-column: 1 / 3; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; padding: 0; justify-content: center; }
  .whatsapp-float span { display: none; }
  .back-to-top { right: 20px; bottom: 82px; }
}

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