/* Nhật Duy — public site styles (design option A). Hand-written: no build step required. */

:root {
  --ink: #0e1e2e;
  --navy: #12304d;
  --navy-2: #1a3d61;
  --navy-line: #2b5079;
  --ground: #f3f4f1;
  --surface: #ffffff;
  --line: #dadfd8;
  --line-soft: #eceeea;
  --muted: #4a5763;
  --muted-2: #6b7682;
  --on-dark: #c3ccd6;
  --accent: #b91c1c;
  --accent-dark: #991b1b;
  --accent-tint: #fdecec;
  --accent-light: #fca5a5;
  --success: #1f7a4d;
  --success-tint: #e7f3ec;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 10px 30px rgba(14, 30, 46, 0.08);
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--ground); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
/* Text fields always have a light background, so never inherit white text from dark sections. */
input, select, textarea { color: var(--ink); }
input::placeholder, textarea::placeholder { color: var(--muted-2); opacity: 1; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -48px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0 24px; }
.section--tight { padding-top: 48px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.section-head h2, .h2 { font-size: 32px; font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 8px; }
.link-more { font-weight: 700; color: var(--accent); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.eyebrow--pill { background: var(--accent-tint); padding: 6px 12px; border-radius: 4px; letter-spacing: .06em; }
.eyebrow--light { color: var(--accent-light); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 6px; font-weight: 700; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; text-align: center; transition: background .15s, color .15s; }
.btn-lg { min-height: 52px; font-size: 16px; padding: 0 24px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--ground); color: var(--ink); }
.btn-ghost-light { border-color: #fff; color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-zalo { background: #0068ff; color: #fff; }
.btn-zalo:hover { background: #0052cc; color: #fff; }

/* Header */
.topbar { background: var(--ink); color: #d5dce3; font-size: 13px; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #d5dce3; }
.topbar strong { color: #fff; }
.topbar-end { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; border: 1px solid rgba(255, 255, 255, .22); border-radius: 5px; overflow: hidden; font-weight: 700; font-size: 12px; letter-spacing: .04em; }
.lang-switch a { padding: 2px 9px; }
.lang-switch a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.lang-switch a[aria-current="true"] { background: var(--accent); color: #fff; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.site-header .container { display: flex; align-items: center; gap: 12px 32px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: .02em; color: var(--accent); }
.brand-tagline { font-size: 12px; color: var(--muted); }
.main-nav { flex: 1; display: flex; justify-content: center; gap: 4px 28px; font-weight: 600; font-size: 15px; }
.main-nav > a { padding: 10px 0; border-bottom: 3px solid transparent; }
.main-nav > a[aria-current="page"] { border-color: var(--accent); }
.nav-menu { position: relative; }
.nav-menu > summary { list-style: none; display: flex; align-items: center; gap: 4px; padding: 10px 0; border-bottom: 3px solid transparent; cursor: pointer; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary.is-current { border-color: var(--accent); }
.nav-menu__toggle { color: var(--muted); transform: rotate(90deg); transition: transform .2s; }
.nav-menu[open] .nav-menu__toggle { transform: rotate(-90deg); }
.nav-menu__panel { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); z-index: 50; width: min(760px, calc(100vw - 32px)); padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(14, 30, 46, .14); font-size: 14px; }
.nav-menu__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.nav-menu__item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; transition: background .15s; }
.nav-menu__item:hover { background: #f3f5f7; }
.nav-menu__item[aria-current="page"] { background: var(--accent-tint); color: var(--accent); }
.nav-menu__logo { width: 56px; height: 30px; flex: none; display: flex; align-items: center; justify-content: center; }
.nav-menu__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.nav-menu__name { flex: 1; min-width: 0; line-height: 1.3; }
/* Products mega menu: centred on the header (not the menu item) so it fits narrow screens. */
.nav-menu--products { position: static; }
.nav-menu--products .nav-menu__panel { top: calc(100% - 4px); width: min(1180px, calc(100vw - 32px)); padding: 18px 20px; }
.nav-mega { list-style: none; margin: 0; padding: 0; column-count: 3; column-gap: 24px; }
.nav-mega__group { break-inside: avoid; padding-bottom: 10px; }
.nav-mega__root { font-weight: 700; }
.nav-mega__children { list-style: none; margin: 0 0 0 26px; padding: 0 0 0 16px; border-left: 2px solid var(--line-soft); }
.nav-mega__children a { display: block; padding: 4px 8px; border-radius: 6px; color: #3a4754; font-weight: 500; font-size: 13.5px; line-height: 1.4; }
.nav-mega__children a:hover { background: #f3f5f7; color: var(--navy); }
.nav-mega__children a[aria-current="page"] { background: var(--accent-tint); color: var(--accent); }
.nav-menu__all { display: block; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-soft); text-align: center; font-weight: 700; color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.menu-toggle { display: none; }
.search-panel { border-top: 1px solid var(--line); background: #fff; }
.search-panel[hidden] { display: none; }
.search-panel form { display: flex; padding: 14px 0; }

.search-form { display: flex; min-width: 0; }
.search-form input { flex: 1; min-width: 0; height: 50px; padding: 0 16px; border: 1.5px solid var(--ink); border-right: 0; border-radius: 6px 0 0 6px; background: #fff; }
.search-form button { height: 50px; padding: 0 20px; border: 0; background: var(--ink); color: #fff; border-radius: 0 6px 6px 0; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.search-form--hero input { border: 0; height: 56px; font-size: 16px; }
.search-form--hero button { height: 56px; background: var(--accent); }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .site-header .container { flex-wrap: wrap; }
  .header-actions { margin-left: auto; }
  .main-nav { order: 3; flex-basis: 100%; flex-direction: column; gap: 0; display: none; padding-bottom: 8px; }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .main-nav > a[aria-current="page"] { color: var(--accent); border-color: var(--line-soft); }
  .nav-menu > summary { justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-menu > summary.is-current { color: var(--accent); border-color: var(--line-soft); }
  .nav-menu__panel { position: static; transform: none; width: auto; padding: 6px 0 10px; border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; box-shadow: none; }
  .nav-menu__grid { grid-template-columns: minmax(0, 1fr); }
  .nav-mega { column-count: 1; }
  .header-actions .btn-contact { display: none; }
  .topbar .topbar-hours { display: none; }
}

/* Hero (home) */
.hero { background: var(--surface); }
.hero .container { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 64px; }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-text h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.hero-text p { font-size: 18px; color: var(--muted); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { flex: 1 1 440px; min-width: 0; position: relative; background: var(--ground); border-radius: 12px; height: 460px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-media::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#e3e6e1 1px, transparent 1px), linear-gradient(90deg, #e3e6e1 1px, transparent 1px); background-size: 32px 32px; }
.hero-media img { position: relative; max-height: 380px; width: auto; max-width: 90%; object-fit: contain; mix-blend-mode: multiply; }
.hero-caption { position: absolute; left: 20px; bottom: 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; display: flex; flex-direction: column; }
.hero-caption small { font-size: 12px; color: var(--muted); }
.hero-caption strong { font-size: 15px; }
@media (max-width: 640px) { .hero-media { height: 300px; } .hero-media img { max-height: 240px; } }

/* Stats strip */
.stats { background: var(--ink); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.stat strong { display: block; font-size: 32px; font-weight: 800; }
.stat span { font-size: 14px; color: var(--on-dark); }

/* Generic grids & cards */
.grid { display: grid; gap: 16px; }
.grid-280 { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.grid-250 { grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 18px; }
.grid-320 { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.grid-brands { grid-template-columns: repeat(auto-fill, minmax(min(170px, 100%), 1fr)); gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

.cat-card { padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 150px; }
.cat-card h3 { font-size: 17px; font-weight: 700; }
.cat-card p { font-size: 14px; color: var(--muted); }
.icon-tile { width: 44px; height: 44px; border-radius: 8px; background: #eef1f4; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.count { margin-top: auto; font-family: var(--mono); font-size: 13px; color: var(--muted); }

.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-card .thumb { height: 210px; padding: 18px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line-soft); background: #fff; }
.product-card .thumb img { max-height: 100%; max-width: 100%; object-fit: contain; }
.product-card .thumb .placeholder { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--muted-2); }
.product-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .kicker { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.product-card h3 { font-size: 16px; font-weight: 700; line-height: 1.35; }
.chip { align-self: flex-start; font-family: var(--mono); font-size: 12px; background: #eef1f4; padding: 3px 8px; border-radius: 4px; }
.product-card .more { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 14px; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }

.brand-tile { height: 84px; display: flex; align-items: center; justify-content: center; padding: 10px 14px; font-weight: 800; font-size: 15px; letter-spacing: .08em; color: #3a4652; text-align: center; }
.brand-tile img { max-height: 54px; max-width: 100%; object-fit: contain; }

.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-card .cover { height: 190px; background: #dde3e8; overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.post-card .meta { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.post-card h3 { font-size: 17px; font-weight: 700; line-height: 1.35; }

/* About teaser / split */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split-text { display: flex; flex-direction: column; gap: 18px; }
.split-text h2 { font-size: 34px; font-weight: 800; }
.split-text p { color: var(--muted); line-height: 1.7; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { color: var(--success); flex: none; margin-top: 2px; }
.split-media { height: 420px; border-radius: 12px; overflow: hidden; background: #dde3e8; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* Services band (home) */
.band-navy { background: var(--navy); color: #fff; margin-top: 72px; }
.band-navy .container { padding-top: 72px; padding-bottom: 72px; }
.band-navy .section-head p { color: var(--on-dark); }
.band-navy .section-head a { color: #fff; }
.service-tile { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; color: #fff; min-height: 220px; }
.service-tile:hover { color: #fff; border-color: var(--accent-light); }
.service-tile .num { font-family: var(--mono); font-size: 13px; color: var(--accent-light); }
.service-tile h3 { font-size: 18px; font-weight: 700; }
.service-tile p { font-size: 14px; color: var(--on-dark); }

.industry { display: flex; align-items: center; gap: 14px; padding: 20px; font-weight: 700; }
.dot { width: 10px; height: 10px; border-radius: 5px; background: var(--accent); flex: none; }

/* CTA band */
.cta-band { background: var(--accent); color: #fff; }
.cta-band .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 44px; padding-bottom: 44px; }
.cta-band h2 { font-size: 26px; font-weight: 800; }
.cta-band p { opacity: .92; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.site-footer h3 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }
.site-footer .company { color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.site-footer .bottom { border-top: 1px solid #24384c; padding-top: 20px; padding-bottom: 20px; font-size: 13px; }

.mobile-bar { display: none; }
@media (max-width: 720px) {
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .mobile-bar .btn { min-height: 46px; padding: 0 8px; font-size: 14px; }
  body { padding-bottom: 72px; }
}

/* Page heroes */
.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.page-hero--grid::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#17293b 1px, transparent 1px), linear-gradient(90deg, #17293b 1px, transparent 1px); background-size: 40px 40px; }
.page-hero--navy { background: var(--navy); }
.page-hero .container { position: relative; padding-top: 32px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.page-hero h1 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; letter-spacing: -0.02em; max-width: 880px; }
.page-hero p { font-size: 18px; color: var(--on-dark); max-width: 760px; }
.page-hero--photo { min-height: 480px; display: flex; }
.page-hero--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 30, 46, .94) 0%, rgba(14, 30, 46, .82) 45%, rgba(14, 30, 46, .3) 100%); }
.page-hero--photo .container { z-index: 1; justify-content: space-between; width: 100%; padding-bottom: 110px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: var(--on-dark); }
.page-hero .breadcrumb [aria-current] { color: #fff; }

.facts-card { position: relative; margin-top: -72px; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.facts-card > div { padding: 28px 30px; border-right: 1px solid var(--line-soft); }
.facts-card strong { display: block; font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.facts-card span { font-size: 14px; color: var(--muted); }

.prose { font-size: 17px; line-height: 1.8; color: #2e3b47; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 26px; margin-top: 1.6em; color: var(--ink); }
.prose h3 { font-size: 21px; margin-top: 1.4em; color: var(--ink); }
.prose a { color: var(--accent); text-decoration: underline; }
.prose img { border-radius: 8px; margin: 1.2em 0; height: auto; }
.video-embed { margin: 1.4em 0; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #0f1e2e; }
.video-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 4px solid var(--accent); background: #fff; border-radius: 0 10px 10px 0; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.prose th, .prose td { padding: 10px 12px; border-top: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.prose tr:first-child td, .prose tr:first-child th { border-top: 0; }
.prose iframe { max-width: 100%; }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pillars > div { padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--line-soft); }
.pillars .letter { display: flex; align-items: baseline; gap: 12px; }
.pillars .letter strong { font-size: 44px; font-weight: 800; color: var(--accent); line-height: 1; }
.pillars .letter span { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.pillars h3 { font-size: 21px; font-weight: 800; }
.pillars p { color: var(--muted); font-size: 15px; line-height: 1.7; }


.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.logo-wall > * { height: 96px; display: flex; align-items: center; justify-content: center; padding: 12px 16px; font-weight: 800; font-size: 16px; letter-spacing: .08em; color: #3a4652; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); text-align: center; }
.logo-wall img { max-height: 60px; max-width: 100%; object-fit: contain; }

.numbered-list { list-style: none; margin: 0; padding: 0; }
.numbered-list li { display: flex; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.numbered-list .n { font-family: var(--mono); font-size: 15px; color: var(--accent); padding-top: 4px; }
.numbered-list h3 { font-size: 20px; font-weight: 800; }
.numbered-list p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-top: 6px; }

.cert { display: flex; flex-direction: column; gap: 14px; }
.cert .paper { aspect-ratio: 3 / 4; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 6px 18px rgba(14, 30, 46, .08); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cert .paper img { width: 100%; height: 100%; object-fit: cover; }
.cert strong { font-size: 15px; line-height: 1.4; }

.cta-card { background: var(--accent); color: #fff; border-radius: var(--radius-lg); padding: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-card h2 { font-size: 26px; font-weight: 800; }
.cta-card p { opacity: .92; }

/* Services page */
.service-index { background: #fff; border-bottom: 1px solid var(--line); }
.service-row { display: flex; flex-wrap: wrap; overflow: hidden; }
.service-row .media { flex: 1 1 420px; min-height: 320px; background: #eef1f4; display: flex; align-items: center; justify-content: center; padding: 24px; }
.service-row .media img { max-height: 300px; object-fit: contain; mix-blend-mode: multiply; }
.service-row .text { flex: 1.3 1 480px; min-width: 0; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.service-row h2 { font-size: 28px; font-weight: 800; }
.tag { display: inline-block; padding: 6px 12px; border-radius: 4px; background: #eef1f4; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.steps li { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.step-num { width: 40px; height: 40px; border-radius: 20px; background: var(--ink); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

/* Catalog */
.catalog-hero .container { flex-direction: row; flex-wrap: wrap; gap: 40px; align-items: center; padding-bottom: 48px; }
.catalog-hero .text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.catalog-hero .media { flex: 1 1 360px; min-width: 0; background: #fff; border-radius: 12px; height: 300px; display: flex; align-items: center; justify-content: center; padding: 20px; }
.catalog-hero .media img { max-height: 100%; object-fit: contain; }
.catalog-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 32px; padding-bottom: 56px; }
.catalog-layout aside { flex: 1 1 260px; max-width: 100%; display: flex; flex-direction: column; gap: 20px; }
.catalog-layout main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tree { overflow: hidden; }
.tree__head { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); cursor: pointer; }
.tree__head::-webkit-details-marker { display: none; }
.tree__title { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.tree__title svg { color: var(--accent); }
.tree__toggle { color: var(--muted); transition: transform .2s; transform: rotate(90deg); }
.tree:not([open]) .tree__toggle { transform: rotate(0deg); }
.tree:not([open]) .tree__head { border-bottom: 0; }
.tree__list { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.tree__link { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; color: #2e3b47; font-size: 14px; font-weight: 600; line-height: 1.35; transition: background .15s, color .15s; }
.tree__link:hover { background: #f3f5f7; color: var(--navy); }
.tree__icon { width: 32px; height: 32px; flex: none; border-radius: 7px; background: #eef1f4; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.tree__name { flex: 1; min-width: 0; }
.tree__count { flex: none; min-width: 28px; padding: 2px 8px; border-radius: 999px; background: #f0f2f4; color: var(--muted); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; font-weight: 500; text-align: center; }
.tree__item.is-open > .tree__link { background: var(--navy); color: #fff; }
.tree__item.is-open > .tree__link .tree__icon { background: rgba(255, 255, 255, .12); color: #fff; }
.tree__item.is-open > .tree__link .tree__count { background: rgba(255, 255, 255, .14); color: #fff; }
.tree__link.is-active { box-shadow: inset 3px 0 0 var(--accent); }
.tree__sub { list-style: none; margin: 6px 0 8px 26px; padding: 0 0 0 16px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 1px; }
.tree__sublink { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 6px; font-size: 13.5px; color: #3a4754; line-height: 1.4; position: relative; }
.tree__sublink::before { content: ""; position: absolute; left: -21px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #fff; border: 2px solid var(--line); }
.tree__sublink:hover { background: #f3f5f7; color: var(--navy); }
.tree__sublink.is-active { background: var(--accent-tint); color: var(--accent); font-weight: 700; }
.tree__sublink.is-active::before { border-color: var(--accent); background: var(--accent); }
.tree__sublink.is-active .tree__count { background: #fff; color: var(--accent); }
.tree__all { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 4px 8px 12px; padding: 10px; border: 1px dashed var(--line); border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--accent); }
.tree__all:hover { border-color: var(--accent); background: var(--accent-tint); }
@media (min-width: 961px) { .tree__head { cursor: default; } .tree__toggle { display: none; } }
.category-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); overflow: hidden; }
.category-index__item { padding: 20px 22px; border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); }
.category-index__head { display: flex; gap: 16px; align-items: center; }
.category-index__head strong { flex: 1; min-width: 0; font-size: 16px; line-height: 1.35; transition: color .15s; }
.category-index__head:hover strong { color: var(--accent); }
.category-index__sub { margin: 10px 0 0 21px; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.toolbar h2 { font-size: 22px; font-weight: 800; }
.empty { padding: 48px 24px; text-align: center; color: var(--muted); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 6px; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.pagination [aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .disabled { color: var(--muted-2); }

/* Product detail */
.product-top { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 20px; padding-bottom: 40px; }
.gallery { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery .main { background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 500px; display: flex; align-items: center; justify-content: center; padding: 24px; }
.gallery .main img { max-height: 100%; max-width: 100%; object-fit: contain; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.gallery .thumbs button { height: 84px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px; cursor: pointer; }
.gallery .thumbs button[aria-current="true"] { border: 2px solid var(--ink); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product-info { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.product-info h1 { font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 4px; background: #eef1f4; color: var(--navy); }
.badge--dark { background: var(--ink); color: #fff; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.badge--ok { background: var(--success-tint); color: #1f5f3c; }
.spec-list { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.spec-list div { background: var(--ground); border-radius: 8px; padding: 14px; }
.spec-list dt { font-size: 13px; color: var(--muted); }
.spec-list dd { margin: 4px 0 0; font-family: var(--mono); font-size: 17px; }
.info-card { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row .btn { flex: 1 1 200px; }
.service-note { background: var(--navy); color: #fff; border-radius: 12px; padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.service-note p { color: var(--on-dark); font-size: 14px; }
.tabs [role="tablist"] { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); }
.tabs [role="tab"] { height: 48px; padding: 0 18px; border: 0; background: transparent; font-size: 15px; font-weight: 500; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer; }
.tabs [role="tab"][aria-selected="true"] { font-weight: 700; color: var(--ink); border-color: var(--accent); }
.tabs .panel { background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; padding: 28px; }
.doc-link { display: flex; gap: 12px; align-items: center; padding: 16px; font-weight: 600; }
.doc-link .ext { font-family: var(--mono); font-size: 12px; background: var(--accent-tint); color: var(--accent-dark); padding: 6px 8px; border-radius: 4px; }

/* Projects & news */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { min-height: 42px; padding: 0 16px; border-radius: 21px; border: 1.5px solid #c9cec6; background: #fff; display: inline-flex; align-items: center; font-size: 14px; }
.chips a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.project-card { overflow: hidden; display: flex; flex-direction: column; }
.project-card .cover { position: relative; height: 230px; background: #dde3e8; }
.project-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.project-card .cover .label { position: absolute; left: 14px; top: 14px; background: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 4px; }
.project-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-card h3 { font-size: 19px; font-weight: 800; line-height: 1.35; }
.pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 12px; background: #eef1f4; color: var(--navy); }

.news-list { display: flex; flex-direction: column; gap: 20px; max-width: 1080px; }
.news-item { overflow: hidden; display: flex; flex-wrap: wrap; }
.news-item .cover { flex: 1 1 340px; min-height: 230px; position: relative; background: #dde3e8; }
.news-item .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-item .body { flex: 1.4 1 420px; padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.news-item h2 { font-size: 24px; font-weight: 800; line-height: 1.3; }

.article-head { padding-top: 36px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 16px; }
.article-head h1 { font-size: clamp(32px, 4.5vw, 46px); font-weight: 800; letter-spacing: -0.02em; max-width: 900px; }
.article-cover { height: 480px; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); padding: 32px; }
.article-cover img { width: 100%; height: 100%; object-fit: contain; }
.article-cover__open { display: block; height: 100%; cursor: zoom-in; }
.project-gallery { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.project-gallery h2 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.project-gallery ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.project-gallery a { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #dde3e8; cursor: zoom-in; }
.project-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.project-gallery a:hover img { transform: scale(1.04); }
.article-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 40px; padding-bottom: 56px; }
.article-layout article { flex: 999 1 600px; min-width: 0; max-width: 760px; }
.article-layout aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 640px) { .article-cover { height: 260px; } .gallery .main { height: 340px; } }

/* Contact */
.channels { position: relative; margin-top: -76px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 16px; }
.channel { padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.channel .label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.channel .value { font-size: 18px; font-weight: 800; line-height: 1.35; word-break: break-word; }
.channel .action { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--accent); }
.icon-tile--accent { background: var(--accent-tint); color: var(--accent); width: 48px; height: 48px; border-radius: 10px; }
.contact-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; padding-top: 40px; padding-bottom: 72px; }
.contact-form { flex: 1.35 1 560px; min-width: 0; padding: 36px; }
.contact-aside { flex: 1 1 360px; min-width: 0; overflow: hidden; display: flex; flex-direction: column; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field input, .field textarea { min-height: 50px; border: 1px solid #c9cec6; border-radius: 8px; padding: 0 14px; font-weight: 400; background: #fbfbfa; width: 100%; }
.field textarea { padding: 14px; resize: vertical; min-height: 150px; }
.field .error { color: var(--accent); font-weight: 500; font-size: 13px; }
.field [aria-invalid="true"] { border-color: var(--accent); }
.topic-group { border: 0; margin: 0; padding: 0; }
.topic-group legend { font-size: 14px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.topic-group label { display: inline-flex; margin: 0 6px 8px 0; }
.topic-group input { position: absolute; opacity: 0; pointer-events: none; }
.topic-group span { min-height: 42px; padding: 0 16px; border-radius: 21px; border: 1.5px solid #c9cec6; background: #fff; display: inline-flex; align-items: center; font-size: 14px; cursor: pointer; }
.topic-group input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.topic-group input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); font-weight: 400; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 10px; padding: 16px 18px; font-size: 15px; }
.alert-success { background: var(--success-tint); color: #1f5f3c; border: 1px solid #a9d3ba; }
.alert-error { background: var(--accent-tint); color: var(--accent-dark); border: 1px solid #f3b4b4; }
.map { position: relative; height: 300px; background: #e8ece6; }
.map iframe { width: 100%; height: 100%; border: 0; }
.office { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.office dl { margin: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.office dl div { display: flex; gap: 12px; }
.office dt { width: 100px; flex: none; color: var(--muted); }
.office dd { margin: 0; font-weight: 600; }

.error-page { padding: 96px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.error-page .code { font-size: 96px; font-weight: 800; color: var(--accent); line-height: 1; }

/* News listing */
.news-hero { padding-bottom: 72px; }
.news-hero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.news-hero__text { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.news-hero__count { display: flex; flex-direction: column; align-items: flex-end; padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.15); }
.news-hero__count strong { font-size: 44px; font-weight: 800; line-height: 1; }
.news-hero__count span { font-size: 14px; color: var(--on-dark); }
.news-featured-wrap { margin-top: -40px; position: relative; z-index: 2; }
.news-featured { display: flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.news-featured__media { flex: 1.25 1 520px; min-height: 380px; position: relative; background: #fff; overflow: hidden; border-right: 1px solid var(--line); }
/* News images are mostly product photos on white: show them whole, with breathing room, never cropped. */
.news-featured__media img { position: absolute; inset: 32px; width: calc(100% - 64px); height: calc(100% - 64px); object-fit: contain; transition: transform .4s ease; }
@media (max-width: 960px) { .news-featured__media { border-right: 0; border-bottom: 1px solid var(--line); min-height: 300px; } }
.news-featured:hover .news-featured__media img, .news-card:hover .news-card__media img { transform: scale(1.03); }
.news-featured__body { flex: 1 1 380px; padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.news-featured__body h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; line-height: 1.25; }
.news-featured__excerpt { color: var(--muted); font-size: 16px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.news-featured__body .btn { align-self: flex-start; }
.news-badge { position: absolute; left: 18px; top: 18px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 4px; }
.news-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.news-meta span { display: inline-flex; align-items: center; gap: 6px; }
.news-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 56px; padding-bottom: 72px; }
.news-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.news-main__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.news-main__head h2 { font-size: 24px; font-weight: 800; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.news-card { overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.news-card__media { height: 200px; background: #fff; overflow: hidden; display: block; padding: 18px; border-bottom: 1px solid var(--line); }
.news-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.news-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #eef1f4, #dde3e8); opacity: .8; }
.news-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card h3 { font-size: 18px; font-weight: 800; line-height: 1.35; }
.news-card p { font-size: 14px; line-height: 1.65; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.news-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--muted); }
.news-aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }
.news-widget { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.news-widget h2 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.news-widget .search-form input { border-width: 1px; }
.popular-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.popular-list li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.popular-list li:first-child { border-top: 0; padding-top: 0; }
.popular-list__n { font-family: var(--mono); font-size: 14px; color: var(--accent); padding-top: 2px; }
.popular-list a { font-weight: 700; font-size: 15px; line-height: 1.4; display: block; }
.popular-list small { color: var(--muted); font-size: 12px; }
.news-widget--cta { background: var(--navy); color: #fff; border-radius: var(--radius); }
.news-widget--cta h2 { color: #fff; font-size: 18px; letter-spacing: 0; text-transform: none; font-weight: 800; }
.news-widget--cta p { color: var(--on-dark); font-size: 14px; line-height: 1.6; }
.news-widget--cta .icon-tile { background: rgba(255, 255, 255, .08); color: var(--accent-light); }
.news-widget--cta .btn { align-self: flex-start; }
.news-widget__phone { color: #fff; font-weight: 800; font-size: 18px; }
.news-widget__phone:hover { color: var(--accent-light); }
@media (max-width: 960px) { .news-aside { position: static; } .news-hero__count { display: none; } }

/* Article page extras */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.share > span { font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.share a, .share button { min-height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--ink); color: var(--ink); }
.post-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; margin-top: 28px; }
.post-nav a { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.post-nav small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.post-nav strong { line-height: 1.4; }
.post-nav .next { text-align: right; align-items: flex-end; }
.article-lead { font-size: 20px; line-height: 1.7; margin-bottom: 24px; font-weight: 500; color: var(--ink); }
.article-layout .news-aside { flex: 1 1 300px; }

/* Services page */
.svc-hero { min-height: 560px; }
.svc-hero .container { padding-bottom: 130px; }
.svc-hero__text { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.svc-overview { position: relative; z-index: 2; margin-top: -84px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.svc-overview__item { padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line-soft); transition: background .15s; }
.svc-overview__item:hover { background: #fbfbfa; color: var(--ink); }
.svc-overview__item:hover strong { color: var(--accent); }
.svc-overview__top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-overview__num { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.svc-overview__item strong { font-size: 17px; line-height: 1.35; }
.svc-overview__summary { font-size: 14px; line-height: 1.6; color: var(--muted); }
.svc-overview__more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.svc-details { display: flex; flex-direction: column; gap: 32px; padding-top: 72px; padding-bottom: 24px; scroll-margin-top: 90px; }
.svc-detail { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); scroll-margin-top: 100px; }
.svc-detail--reverse { flex-direction: row-reverse; }
.svc-detail__media { flex: 1 1 400px; min-width: 0; position: relative; min-height: 340px; border-radius: 12px; background: var(--ground); display: flex; align-items: center; justify-content: center; padding: 28px; position: sticky; top: 100px; }
.svc-detail__media img { max-height: 320px; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.svc-detail__media[data-lightbox] { flex-direction: column; gap: 16px; }
.svc-detail__open { position: relative; flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; cursor: zoom-in; }
.svc-detail__zoom { position: absolute; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 6px; background: rgba(15, 30, 46, .78); color: #fff; font-size: 13px; font-weight: 600; transition: background .15s; }
.svc-detail__open:hover .svc-detail__zoom { background: var(--accent); }
.svc-detail__thumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.svc-detail__thumbs a { position: relative; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; padding: 4px; border-radius: 8px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: border-color .15s; }
.svc-detail__thumbs a:hover { border-color: var(--accent); }
.svc-detail__thumbs img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: normal; }
.svc-detail__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(15, 30, 46, .72); color: #fff; font-weight: 700; font-size: 15px; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 18, 28, .94); color: #fff; }
.lightbox::backdrop { background: rgba(10, 18, 28, .6); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: calc(100vw - 160px); }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 8px; background: #fff; }
.lightbox__caption { font-size: 15px; font-weight: 600; text-align: center; }
.lightbox__counter { margin-left: 8px; font-family: var(--mono); font-weight: 400; color: #b8c2cc; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s; }
.lightbox__btn:hover { background: var(--accent); }
.lightbox__btn[hidden] { display: none; }
.lightbox__btn--prev { left: 24px; top: 50%; margin-top: -24px; }
.lightbox__btn--next { right: 24px; top: 50%; margin-top: -24px; }
.lightbox__btn--close { right: 24px; top: 24px; }
@media (max-width: 700px) {
  .lightbox__figure { max-width: calc(100vw - 24px); }
  .lightbox__btn--prev, .lightbox__btn--next { top: auto; bottom: 20px; margin-top: 0; }
  .lightbox__btn--close { right: 12px; top: 12px; }
}
.svc-detail__placeholder { color: #9aa5b0; }
.svc-detail__badge { position: absolute; left: 16px; top: 16px; font-family: var(--mono); font-size: 13px; background: var(--ink); color: #fff; padding: 6px 10px; border-radius: 6px; }
.svc-detail__text { flex: 1.25 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.svc-detail__text h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; }
.svc-detail__lead { font-size: 18px; line-height: 1.6; color: var(--ink); font-weight: 500; }
.svc-detail__prose { font-size: 16px; }
.svc-benefits .container { padding-top: 80px; padding-bottom: 80px; }
.svc-benefits__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.svc-benefit { padding: 26px; border-radius: var(--radius); background: var(--navy-2); border: 1px solid var(--navy-line); display: flex; flex-direction: column; gap: 12px; }
.svc-benefit__icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(252, 165, 165, .12); color: var(--accent-light); display: inline-flex; align-items: center; justify-content: center; }
.svc-benefit h3 { font-size: 18px; font-weight: 700; }
.svc-benefit p { font-size: 14px; line-height: 1.65; color: var(--on-dark); }
.svc-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; position: relative; }
.svc-timeline li { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.svc-timeline li::before { content: ""; position: absolute; top: 24px; left: 56px; right: -24px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.svc-timeline li:last-child::before { display: none; }
.svc-timeline__dot { width: 48px; height: 48px; border-radius: 24px; background: var(--accent); color: #fff; font-weight: 800; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--accent-tint); position: relative; z-index: 1; }
.svc-timeline strong { font-size: 18px; margin-top: 8px; }
.svc-timeline span:last-child { font-size: 14px; line-height: 1.65; color: var(--muted); }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chevron { transition: transform .2s; color: var(--muted-2); flex: none; }
.faq__item[open] .faq__chevron { transform: rotate(90deg); color: var(--accent); }
.faq__item[open] summary { color: var(--accent); }
.faq__item p { padding: 0 20px 20px; color: var(--muted); line-height: 1.7; }
@media (max-width: 900px) {
  .svc-detail { padding: 24px; gap: 24px; }
  .svc-detail__media { position: static; min-height: 240px; }
  .svc-timeline li::before { display: none; }
}
