/* DCEN – Ducatechnic. Họa tiết nhận diện: hình thoi và đường chéo lấy từ logo. */
:root {
  --red: #eb000c;
  --red-deep: #c9000a;
  --red-soft: #ff737a;
  --ink: #1b1718;
  --char: #211c1d;
  --deep: #151112;
  --muted: #655d5f;
  --paper: #f6f3f1;
  --line: #e3dbda;
  --line-dark: #ffffff1f;
  --on-dark: #d8cfd1;
  --font: 'Be Vietnam Pro', Arial, sans-serif;
  --section: clamp(64px, 9vw, 120px);
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .6; }
img { display: block; max-width: 100%; object-fit: cover; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.03em; line-height: 1.18; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.2vw, 72px); }
h2 { font-size: clamp(28px, 3.4vw, 46px); }
h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.3; }
p { color: var(--muted); text-wrap: pretty; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
[hidden] { display: none !important; }
.container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.icon { width: 22px; height: 22px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -90px; z-index: 100; background: var(--red); color: #fff; padding: 12px 20px; }
.skip-link:focus { top: 12px; }

/* Shared pieces */
.dia { display: inline-block; width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); flex: none; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); flex: none; }
.lead { font-size: 20px; line-height: 1.6; color: var(--ink); }
.section { padding-block: var(--section); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 56px; }
.section-head h2 { max-width: 18ch; }
.section-head > p { max-width: 46ch; }
.section-head > .text-link { justify-self: end; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; border: 0; background: none; padding: 6px 0; border-bottom: 2px solid var(--red); }
.text-link .icon { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 56px; padding: 14px 26px; border: 1.5px solid transparent; border-radius: 2px; font-size: 16px; font-weight: 600; line-height: 1.3; transition: background .2s, color .2s, border-color .2s; }
.button .icon { width: 20px; height: 20px; transition: transform .2s; }
.button:hover .icon { transform: translateX(4px); }
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover { background: var(--red-deep); }
.button-ghost { border-color: #ffffff66; color: #fff; }
.button-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.button-outline { border-color: var(--ink); }
.button-outline:hover { background: var(--ink); color: #fff; }
.button-light { background: #fff; color: var(--red-deep); }
.button-light:hover { background: var(--ink); color: #fff; }
.inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 36px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { font-size: 13px; font-weight: 500; line-height: 1.4; padding: 6px 12px; border: 1px solid var(--line); border-radius: 2px; }
.diamond { display: grid; place-items: center; width: 54px; height: 54px; margin: 11px; border: 1.5px solid var(--red); transform: rotate(45deg); flex: none; }
.diamond .icon { transform: rotate(-45deg); width: 24px; height: 24px; }
.photo-credit { position: absolute; right: 12px; bottom: 8px; color: #fff; font-size: 11px; opacity: .75; }

/* Top bar and header */
.topbar { background: var(--deep); color: var(--on-dark); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar-legal { letter-spacing: .04em; }
.topbar-links { display: flex; gap: 28px; margin-left: auto; }
.topbar-links a { display: flex; align-items: center; gap: 8px; color: #fff; }
.topbar-links a:hover { color: var(--red-soft); }
.topbar .icon { width: 14px; height: 14px; }
.site-header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 80px; }
.brand img { width: 190px; height: auto; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 36px; font-size: 16px; font-weight: 500; }
.main-nav > a, .nav-services > a { position: relative; padding-block: 12px; white-space: nowrap; }
.main-nav > a:hover, .nav-services > a:hover { color: var(--red-deep); }
.main-nav > a[aria-current=page]:not(.header-contact)::after, .nav-services > a[aria-current=page]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--red); }
.main-nav .header-contact { display: flex; align-items: center; gap: 12px; background: var(--red); color: #fff; font-weight: 600; padding: 13px 20px; border-radius: 2px; }
.main-nav .header-contact:hover { background: var(--red-deep); color: #fff; }
.header-contact .icon { width: 18px; height: 18px; }
.nav-services { position: relative; display: flex; align-items: center; gap: 2px; }
.submenu-toggle { display: grid; place-items: center; width: 28px; height: 36px; border: 0; background: none; padding: 0; }
.submenu-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.submenu-toggle[aria-expanded=true] .icon { transform: rotate(180deg); }
.service-menu { position: absolute; top: 58px; left: -24px; width: 360px; background: #fff; padding: 10px; border: 1px solid var(--line); border-top: 3px solid var(--red); box-shadow: 0 20px 44px #1511121f; }
.service-menu a { display: flex; align-items: center; gap: 14px; padding: 13px 12px; font-size: 15px; }
.service-menu a:hover { background: var(--paper); }
.service-menu a > .icon:first-child { color: var(--red-deep); }
.service-menu a > .icon:last-child { margin-left: auto; width: 16px; height: 16px; opacity: .5; }
.service-menu small { display: block; font-size: 12px; color: var(--red-deep); }
.menu-toggle { display: none; }

/* Hero: nền tối, ảnh cắt chéo theo cạnh hình thoi */
.hero { position: relative; background: var(--deep); color: #fff; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 56px 56px; pointer-events: none; }
.hero-top { position: relative; }
.hero-inner { position: relative; z-index: 1; display: flex; align-items: center; min-height: 600px; padding-block: 88px; }
.hero-content { width: min(620px, 50%); }
.hero .eyebrow { color: var(--red-soft); }
.hero h1 em { font-style: normal; color: var(--red-soft); display: block; }
.hero-content > p { color: var(--on-dark); font-size: 19px; line-height: 1.65; margin-top: 28px; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-media { position: absolute; inset: 0 0 0 auto; width: 48%; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.hero-media img { width: 100%; height: 100%; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #15111299, #15111226 55%); }
.hero-slash { position: absolute; inset: 0 0 0 auto; width: 48%; background: var(--red); clip-path: polygon(22% 0, 23.4% 0, 1.4% 100%, 0 100%); }
.hero-facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.hero-facts li { display: flex; align-items: center; gap: 18px; padding: 28px 24px 30px 0; }
.hero-facts li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero-facts b { font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--red-soft); font-variant-numeric: tabular-nums; }
.hero-facts span { font-size: 13px; line-height: 1.5; color: var(--on-dark); }
.hero-facts strong { display: block; font-size: 16px; font-weight: 600; color: #fff; }

/* Detail hero variant */
.detail-hero .hero-inner { min-height: 520px; padding-block: 40px 72px; align-items: flex-start; }
.detail-hero .breadcrumb { margin-bottom: 56px; }
.detail-hero .tag-list { margin-top: 32px; }
.detail-hero .tag-list li { border-color: #ffffff40; color: var(--on-dark); }

/* Inner page hero */
.page-hero { position: relative; background: var(--deep); color: #fff; padding: 40px 0 80px; overflow: hidden; }
.page-hero .eyebrow { color: var(--red-soft); }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 62px); max-width: 16ch; }
.page-hero-grid > p { color: var(--on-dark); font-size: 19px; line-height: 1.65; }
.page-hero-mark { position: absolute; right: -90px; top: 50%; width: 380px; height: 380px; border: 1.5px solid #eb000c80; transform: translateY(-50%) rotate(45deg); box-shadow: 0 0 0 60px #ffffff05, 0 0 0 120px #ffffff03; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--on-dark); margin-bottom: 64px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb > span[aria-hidden] { opacity: .45; }
.breadcrumb [aria-current] { color: #fff; }

/* About + profile sheet */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px 80px; align-items: start; }
.about-copy h2 { margin-bottom: 28px; max-width: 18ch; }
.about-copy p + p { margin-top: 18px; }
.profile-sheet { background: var(--paper); border-top: 3px solid var(--red); }
.profile-sheet-head { display: flex; align-items: center; gap: 12px; padding: 20px 28px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.profile-sheet dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 28px; border-bottom: 1px solid var(--line); }
.profile-sheet dl > div:last-child { border-bottom: 0; }
.profile-sheet dt { font-size: 13px; color: var(--muted); padding-top: 3px; }
.profile-sheet dd { font-size: 16px; font-weight: 500; line-height: 1.55; }
.profile-sheet dd a:hover { color: var(--red-deep); }
.about-banner { position: relative; height: clamp(260px, 36vw, 460px); }
.about-banner img { width: 100%; height: 100%; }
.statement-section { background: var(--paper); }
.statement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.statement-grid article { background: #fff; border: 1px solid var(--line); padding: 40px; }
.statement-grid .diamond { margin-bottom: 30px; color: var(--red-deep); }
.statement-grid p { font-size: clamp(20px, 2vw, 26px); font-weight: 500; line-height: 1.5; letter-spacing: -.01em; color: var(--ink); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.values-grid article { padding: 28px 28px 8px 0; }
.values-grid article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.value-num { display: block; font-size: 13px; font-weight: 600; color: var(--red-deep); margin-bottom: 36px; }
.values-grid .icon { width: 34px; height: 34px; color: var(--red-deep); margin-bottom: 18px; }
.values-grid h3 { margin-bottom: 10px; }
.values-grid p { font-size: 16px; }
.eco-grid { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 16px; }
.eco-grid a { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; border: 1px solid var(--line); min-height: 170px; transition: border-color .2s; }
.eco-grid a:hover { border-color: var(--red); }
.eco-grid a > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.eco-grid a > .icon:not(.eco-arrow) { width: 30px; height: 30px; color: var(--red-deep); }
.eco-grid strong { font-size: 20px; line-height: 1.3; margin-top: auto; padding-right: 30px; }
.eco-arrow { position: absolute; right: 24px; bottom: 28px; opacity: .5; }
.eco-grid .is-core { grid-row: span 2; background: var(--red); border-color: var(--red); color: #fff; }
.eco-grid .is-core > span, .eco-grid .is-core > .icon:not(.eco-arrow) { color: #fff; }
.eco-grid .is-core > .icon:not(.eco-arrow) { width: 48px; height: 48px; }
.eco-grid .is-core strong { font-size: 32px; }
.eco-grid .is-core:hover { background: var(--red-deep); }

/* Services on home */
.services-section { background: var(--paper); }
.svc-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; }
.svc-flagship { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; min-height: 520px; padding: 40px; background: var(--red); color: #fff; transition: background .2s; }
.svc-flagship:hover { background: var(--red-deep); }
.svc-flagship-mark { position: absolute; right: -70px; bottom: -70px; width: 340px; height: 340px; stroke-width: .5; opacity: .22; pointer-events: none; }
.flagship-badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border: 1px solid #ffffff80; border-radius: 2px; }
.svc-flagship h3 { font-size: clamp(34px, 3.6vw, 48px); letter-spacing: -.035em; line-height: 1.15; margin-top: auto; padding-top: 80px; max-width: 9ch; }
.svc-flagship h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.svc-flagship p { color: #fff; margin-block: 20px 24px; max-width: 40ch; }
.svc-flagship .tag-list li { border-color: #ffffff66; }
.card-more { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; margin-top: 32px; }
.card-more .icon { width: 18px; height: 18px; transition: transform .2s; }
.svc-flagship:hover .card-more .icon, .service-card:hover .card-more .icon { transform: translateX(4px); }
.svc-list { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.svc-row { flex: 1; display: grid; grid-template-columns: 34px 34px 1fr 24px; align-items: center; gap: 20px; padding: 24px 32px; transition: background .2s; }
.svc-row + .svc-row { border-top: 1px solid var(--line); }
.svc-row:hover { background: #fff5f5; }
.svc-num { font-size: 13px; font-weight: 600; color: var(--muted); }
.svc-icon { width: 30px; height: 30px; color: var(--red-deep); }
.svc-text strong { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.svc-text > span { display: block; font-size: 15px; color: var(--muted); margin-top: 4px; }
.svc-arrow { color: var(--muted); transition: transform .2s, color .2s; }
.svc-row:hover .svc-arrow { transform: translateX(4px); color: var(--red); }

/* Commitments (dark) */
.why-section { background: var(--char); color: #fff; }
.why-section .eyebrow { color: var(--red-soft); }
.why-section p { color: var(--on-dark); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.why-grid article { padding: 40px 28px 8px 0; }
.why-grid article + article { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.why-grid .diamond { margin-bottom: 34px; color: var(--red-soft); }
.why-grid h3 { margin-bottom: 12px; }
.why-grid p { font-size: 16px; }

/* Industries */
.industries-section { background: var(--paper); }
.industries-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; align-items: stretch; }
.industry-tabs { display: flex; flex-direction: column; gap: 8px; }
.industry-tabs > button { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 22px 24px; background: transparent; border: 1px solid var(--line); border-left: 3px solid transparent; font-size: 17px; font-weight: 600; line-height: 1.35; transition: background .2s; }
.industry-tabs > button:hover { background: #fff; }
.industry-tabs > button > .icon:first-child { width: 26px; height: 26px; color: var(--muted); }
.industry-tabs > button > .icon:last-child { margin-left: auto; width: 18px; height: 18px; opacity: 0; }
.industry-tabs > button[aria-selected=true] { background: #fff; border-left-color: var(--red); }
.industry-tabs > button[aria-selected=true] > .icon { color: var(--red-deep); opacity: 1; }
.industry-panel { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); min-height: 400px; height: 100%; }
.industry-panel > img { width: 100%; height: 100%; min-height: 240px; }
.industry-body { display: flex; flex-direction: column; align-items: flex-start; padding: 36px; }
.panel-index { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--red-deep); }
.industry-body h3 { font-size: 28px; letter-spacing: -.03em; margin-block: 18px 14px; }
.industry-body > p { font-size: 16px; margin-bottom: 22px; }
.industry-body .text-link { margin-top: auto; }
.industry-body .tag-list { margin-bottom: 28px; }
.industry-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.industry-cards article { background: #fff; border: 1px solid var(--line); }
.industry-cards img { width: 100%; height: 200px; }
.industry-cards article > div { padding: 28px; }
.industry-cards h3 { margin-block: 12px; }
.industry-cards p { font-size: 16px; margin-bottom: 20px; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.process-grid li { position: relative; }
.process-grid li::before { content: ''; position: absolute; top: 27px; left: 64px; right: -24px; height: 1px; background: var(--line); }
.process-grid li:last-child::before { display: none; }
.step-number { display: grid; place-items: center; width: 40px; height: 40px; margin: 8px 8px 36px; background: var(--red); color: #fff; transform: rotate(45deg); }
.step-number b { transform: rotate(-45deg); font-size: 14px; font-weight: 600; }
.process-grid h3 { margin-bottom: 10px; }
.process-grid p { font-size: 16px; max-width: 30ch; }

/* CTA */
.cta-section { position: relative; background: var(--red); color: #fff; overflow: hidden; }
.cta-section::after { content: ''; position: absolute; right: -120px; top: 50%; width: 420px; height: 420px; border: 1.5px solid #ffffff4d; transform: translateY(-50%) rotate(45deg); box-shadow: 0 0 0 70px #ffffff0d; pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px 64px; padding-block: 80px; }
.cta-inner .eyebrow { color: #fff; }
.cta-inner .eyebrow::before { background: #fff; }
.cta-inner h2 { max-width: 20ch; }
.cta-inner p { color: #fff; margin-top: 18px; max-width: 52ch; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; flex: none; }
.cta-phone { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.cta-phone:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Footer */
.site-footer { background: var(--deep); color: var(--on-dark); padding-top: 72px; font-size: 15px; }
.footer-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-logo { display: inline-flex; align-items: center; gap: 16px; font-size: 30px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.footer-logo .dia { width: 16px; height: 16px; }
.footer-brand p { color: var(--on-dark); max-width: 46ch; margin-top: 16px; }
.footer-call span { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.footer-call strong { display: block; font-size: 34px; letter-spacing: -.03em; line-height: 1.3; color: #fff; }
.footer-call:hover strong { color: var(--red-soft); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr 1.7fr; gap: 48px; padding-block: 48px; }
.footer-grid h2 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-grid > div > a { display: block; margin-bottom: 10px; }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-contact p { color: var(--on-dark); margin-bottom: 8px; max-width: 44ch; }
.footer-contact strong { color: #fff; font-weight: 600; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line-dark); padding-block: 22px; font-size: 13px; }
.footer-bottom a:hover { color: #fff; }

/* Catalog */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-button { min-height: 46px; padding: 10px 20px; background: #fff; border: 1px solid var(--line); border-radius: 2px; font-size: 15px; font-weight: 500; }
.filter-button:hover { border-color: var(--ink); }
.filter-button[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-button > span { margin-left: 8px; opacity: .6; font-size: 13px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 360px; padding: 32px; background: #fff; border: 1px solid var(--line); transition: border-color .2s; }
.service-card:hover { border-color: var(--red); }
.service-card:focus-within { outline: 3px solid var(--red); outline-offset: 3px; }
.card-top { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 40px; }
.card-top > .service-icon { width: 36px; height: 36px; color: var(--red-deep); }
.card-top > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.service-card h3 { font-size: 26px; letter-spacing: -.03em; }
.service-card h3 a::after { content: ''; position: absolute; inset: 0; }
.service-card h3 a:focus-visible { outline: none; }
.service-card p { font-size: 16px; margin-block: 14px 22px; }
.service-card .card-more { margin-top: auto; padding-top: 28px; color: var(--red-deep); }
.service-card-featured { grid-column: span 2; background: var(--red); border-color: var(--red); color: #fff; }
.service-card-featured:hover { border-color: var(--red-deep); background: var(--red-deep); }
.service-card-featured h3 { font-size: clamp(30px, 3.2vw, 42px); }
.service-card-featured p { color: #fff; max-width: 56ch; }
.service-card-featured .service-icon, .service-card-featured .card-top > span, .service-card-featured .card-more { color: #fff; }
.service-card-featured .tag-list li { border-color: #ffffff66; }

/* Service detail */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.detail-content > h2 { margin-bottom: 40px; }
.scope-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.scope-list article { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.scope-list article:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.scope-list article > span { display: block; font-size: 13px; font-weight: 600; color: var(--red-deep); margin-bottom: 14px; }
.scope-list h3 { margin-bottom: 10px; }
.scope-list p { font-size: 16px; }
.deliverables { margin-top: 72px; padding: 44px; background: var(--char); color: #fff; }
.deliverables .eyebrow { color: var(--red-soft); }
.deliverables h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 28px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.5; }
.check-list .icon { width: 20px; height: 20px; color: var(--red-soft); margin-top: 2px; }
.faq { margin-top: 72px; }
.faq h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; font-size: 18px; font-weight: 600; line-height: 1.4; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > .icon { color: var(--red-deep); transition: transform .2s; }
.faq details[open] summary > .icon { transform: rotate(45deg); }
.faq details > p { padding-bottom: 24px; max-width: 68ch; }
.detail-sidebar { position: sticky; top: 108px; }
.consult-card { padding: 32px; background: var(--paper); border-top: 3px solid var(--red); }
.consult-card .diamond { color: var(--red-deep); margin-bottom: 26px; }
.consult-card h2 { font-size: 24px; letter-spacing: -.02em; line-height: 1.3; }
.consult-card p { font-size: 16px; margin-block: 14px 24px; }
.consult-card .button { width: 100%; }
.consult-phone { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 18px; font-weight: 600; margin-top: 18px; }
.consult-phone:hover { color: var(--red-deep); }
.consult-phone .icon { width: 18px; height: 18px; }
.other-services { padding-top: 36px; }
.other-services h2 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.other-services > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.other-services > a:hover { color: var(--red-deep); }
.other-services .icon { width: 16px; height: 16px; opacity: .5; }

/* Capability matrix */
.matrix-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); }
.matrix { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 16px; }
.matrix th, .matrix td { padding: 20px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix tbody tr:last-child > * { border-bottom: 0; }
.matrix thead th { background: var(--char); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; }
.matrix th:first-child { text-align: left; padding-left: 28px; width: 30%; }
.matrix tbody th { font-weight: 600; }
.matrix tbody th a { display: flex; align-items: baseline; gap: 16px; }
.matrix tbody th a:hover { color: var(--red-deep); }
.matrix tbody th span { font-size: 13px; color: var(--muted); }
.matrix td + td, .matrix th + th { border-left: 1px solid var(--line); }
.matrix thead th + th { border-left-color: var(--line-dark); }
.matrix .dia { width: 13px; height: 13px; }
.matrix-none { color: #b9aeb0; }
.matrix .is-core { background: #fff5f5; }
.matrix .is-core th { box-shadow: inset 3px 0 0 var(--red); }
.matrix-legend { display: flex; align-items: center; gap: 12px; font-size: 14px; margin-top: 18px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 80px; align-items: start; }
.contact-info > h2 { font-size: 32px; margin-bottom: 36px; }
.contact-method { display: flex; align-items: flex-start; gap: 20px; padding-block: 24px; border-top: 1px solid var(--line); }
.contact-method > .icon { color: var(--red-deep); margin-top: 4px; }
.contact-method > div > span { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-method > div > a:not(.text-link) { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.contact-method > div > a:not(.text-link):hover { color: var(--red-deep); }
.contact-method > div > p { color: var(--ink); font-size: 16px; max-width: 34ch; }
.contact-method .text-link { font-size: 15px; margin-top: 12px; }
.contact-help { display: flex; align-items: flex-start; gap: 14px; padding: 22px; background: var(--paper); margin-top: 12px; }
.contact-help > .icon { color: var(--red-deep); margin-top: 3px; }
.contact-help p { font-size: 16px; color: var(--ink); }
.contact-help a { text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
.contact-form-wrap { border: 1px solid var(--line); border-top: 3px solid var(--red); padding: 44px; }
.contact-form-wrap h2 { font-size: 30px; }
.form-note { font-size: 14px; line-height: 1.6; background: var(--paper); padding: 14px 16px; margin: 20px 0 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-grid label { display: block; font-size: 15px; font-weight: 600; }
.form-grid label > span { color: var(--red-deep); }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; min-height: 52px; padding: 13px 14px; margin-top: 8px; background: #fff; border: 1px solid #cfc4c5; border-radius: 2px; font-size: 16px; font-weight: 400; line-height: 1.5; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.form-grid ::placeholder { color: #8d8284; }
.full-width { grid-column: 1 / -1; }
.contact-form-wrap form > .button { width: 100%; margin-top: 28px; }
.form-privacy { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-top: 14px; }
.form-privacy .icon { width: 16px; height: 16px; }
.request-preview h3 { font-size: 24px; margin-bottom: 12px; }
.request-preview pre { background: var(--paper); padding: 20px; margin-block: 20px; white-space: pre-wrap; overflow-wrap: anywhere; font: 15px/1.7 var(--font); }
.preview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
#form-status { margin-top: 16px; font-size: 14px; color: var(--red-deep); }

/* Tablet */
@media (max-width: 1100px) {
  .main-nav { gap: 24px; font-size: 15px; }
  .brand img { width: 168px; }
  .about-grid { gap: 48px; }
  .why-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .why-grid article, .values-grid article { padding: 32px 28px 32px 0; }
  .why-grid article:nth-child(odd), .values-grid article:nth-child(odd) { padding-left: 0; border-left: 0; }
  .why-grid article:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .values-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-facts li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .industry-panel { grid-template-columns: 1fr; }
  .industry-panel > img { height: 220px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
  .scope-list { grid-template-columns: 1fr; }
  .scope-list article:nth-child(even) { padding-left: 0; border-left: 0; }
  .check-list { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}

/* Mobile navigation + stacked layouts */
@media (max-width: 960px) {
  body { font-size: 16px; }
  .topbar-legal { display: none; }
  .header-inner { height: 72px; }
  .menu-toggle { display: grid; place-items: center; width: 48px; height: 48px; background: transparent; border: 1px solid var(--line); border-radius: 2px; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; height: var(--menu-height, calc(100dvh - 112px)); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 48px; background: #fff; overflow-y: auto; font-size: 18px; }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .main-nav > a[aria-current=page]:not(.header-contact)::after, .nav-services > a[aria-current=page]::after { display: none; }
  .main-nav > a[aria-current=page]:not(.header-contact), .nav-services > a[aria-current=page] { color: var(--red-deep); }
  .main-nav .header-contact { justify-content: space-between; margin-top: 24px; padding: 17px 20px; border: 0; }
  .nav-services { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav-services > a { padding: 18px 0; flex: 1; }
  .submenu-toggle { width: 48px; height: 48px; }
  .service-menu { position: static; width: 100%; padding: 4px 8px; margin-bottom: 12px; border: 0; box-shadow: none; background: var(--paper); }
  .hero-inner { min-height: 0; padding-block: 56px 48px; }
  .detail-hero .hero-inner { min-height: 0; padding-block: 28px 48px; }
  .detail-hero .breadcrumb { margin-bottom: 40px; }
  .hero-content { width: 100%; }
  .hero-media { position: relative; width: 100%; height: clamp(220px, 46vw, 360px); clip-path: none; }
  .hero-media::after { background: linear-gradient(180deg, #151112, #15111200 40%); }
  .hero-slash { display: none; }
  .section-head, .page-hero-grid, .about-grid, .svc-layout, .industries-layout, .contact-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 40px; gap: 20px; }
  .section-head > .text-link { justify-self: start; }
  .page-hero { padding: 28px 0 56px; }
  .page-hero-mark { width: 240px; height: 240px; right: -130px; opacity: .6; }
  .breadcrumb { margin-bottom: 40px; }
  .svc-flagship { min-height: 420px; }
  .svc-flagship h3 { padding-top: 48px; }
  .industry-tabs { flex-direction: row; overflow-x: auto; }
  .industry-tabs > button { flex: 1 0 auto; width: auto; padding: 16px 18px; font-size: 15px; border-left: 1px solid var(--line); border-bottom: 3px solid transparent; }
  .industry-tabs > button[aria-selected=true] { border-left-color: var(--line); border-bottom-color: var(--red); }
  .industry-tabs > button > .icon:last-child { display: none; }
  .industry-cards { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 44px 28px; }
  .process-grid li::before { display: none; }
  .step-number { margin-bottom: 24px; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding-block: 64px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .eco-grid { grid-template-columns: 1fr 1fr; }
  .eco-grid .is-core { grid-column: 1 / -1; grid-row: auto; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .topbar { font-size: 12px; }
  .topbar-links { gap: 16px; width: 100%; justify-content: space-between; }
  .brand img { width: 156px; }
  .lead { font-size: 18px; }
  .hero-content > p, .page-hero-grid > p { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-facts li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 12px 22px 0; }
  .hero-facts li + li { padding-left: 16px; }
  .hero-facts li:nth-child(3) { padding-left: 0; }
  .hero-facts b { font-size: 36px; }
  .profile-sheet-head, .profile-sheet dl > div { padding-inline: 20px; }
  .profile-sheet dl > div { grid-template-columns: 1fr; gap: 2px; }
  .statement-grid, .why-grid, .values-grid, .catalog-grid, .form-grid, .eco-grid, .process-grid { grid-template-columns: 1fr; }
  .statement-grid article { padding: 28px 24px; }
  .why-grid article, .values-grid article { padding: 28px 0; border-left: 0 !important; padding-left: 0 !important; }
  .why-grid article + article { border-top: 1px solid var(--line-dark); }
  .values-grid article + article { border-top: 1px solid var(--line); }
  .value-num { margin-bottom: 20px; }
  .svc-flagship { padding: 28px 24px; }
  .svc-row { grid-template-columns: 30px 1fr 22px; gap: 14px; padding: 20px; }
  .svc-num { display: none; }
  .svc-text strong { font-size: 19px; }
  .industry-body { padding: 26px 22px; }
  .industry-body h3 { font-size: 24px; }
  .service-card { min-height: 0; padding: 26px 22px; }
  .service-card-featured { grid-column: auto; }
  .card-top { margin-bottom: 28px; }
  .process-grid { gap: 36px; }
  .deliverables { padding: 30px 22px; margin-top: 56px; }
  .faq { margin-top: 56px; }
  .faq summary { font-size: 17px; }
  .contact-form-wrap { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-call strong { font-size: 30px; }
  .footer-logo { font-size: 26px; }
}

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