/* ===== Pino Medical — design system ===== */
:root {
  /* The design is light-only: tell browsers not to auto-invert it in dark mode
     (Chrome/Android "auto dark" would otherwise blacken the white hexagon tiles). */
  color-scheme: light;
  --brand: #0b4f8a;
  --brand-600: #0d5da1;
  --brand-700: #083a66;
  --brand-050: #eef5fb;
  --accent: #00a6a6;
  --accent-700: #078c8c;
  --ink: #0f2438;
  --body: #40566b;
  --muted: #6b8299;
  --line: #e1eaf3;
  --bg: #f6fafd;
  --surface: #fff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 36, 56, .06), 0 2px 8px rgba(15, 36, 56, .05);
  --shadow: 0 4px 12px rgba(15, 36, 56, .07), 0 12px 32px rgba(15, 36, 56, .07);
  --shadow-lg: 0 18px 48px rgba(11, 79, 138, .16);
  --wrap: 1220px;
  --header-h: 74px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, "Noto Sans", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Naskh Arabic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.16rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .9em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 999;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.chev { width: .9em; height: .9em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 12px 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: transform .12s, box-shadow .18s, background-color .18s, color .18s, border-color .18s;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(11, 79, 138, .22); }
.btn-primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 10px 26px rgba(11, 79, 138, .28); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-700); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); background: var(--brand-050); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: #eaf3fb; color: var(--brand-700); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: .87rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 120; background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar { background: var(--brand-700); color: #cfe2f2; font-size: .82rem; }
.topbar-inner { display: flex; gap: 26px; align-items: center; justify-content: flex-end; min-height: 36px; flex-wrap: wrap; }
a.topbar-item { color: #cfe2f2; }
a.topbar-item:hover { color: #fff; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand-link { display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 44px; width: auto; display: block; }
.site-footer .brand-logo { height: 40px; }

.primary-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 18px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 13px;
  border-radius: var(--radius-sm); font-weight: 600; font-size: .93rem; color: var(--ink);
  transition: background-color .15s, color .15s;
}
.nav-list > li > a:hover, .nav-list > li > a.is-active { background: var(--brand-050); color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; margin-inline-start: auto; background: none; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 10px 12px; cursor: pointer; color: var(--ink);
}
.bars { display: block; width: 22px; }
.bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mega menu */
.mega {
  position: absolute; inset-inline-start: 50%; transform: translateX(-50%) translateY(8px);
  top: calc(100% + 6px); width: min(880px, 92vw); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega-list a { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: var(--radius-sm); }
.mega-list a:hover { background: var(--brand-050); }
.mega-ico img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; }
.mega-txt { display: flex; flex-direction: column; min-width: 0; }
.mega-txt strong { color: var(--ink); font-size: .9rem; font-weight: 600; }
.mega-txt small { color: var(--muted); font-size: .76rem; }
.mega-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); text-align: center; }

/* language switcher */
.lang { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .87rem; font-weight: 600; color: var(--ink);
}
.lang-toggle:hover { border-color: var(--brand); color: var(--brand); }
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 6px); min-width: 190px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s;
}
.lang[data-open] .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 11px; border-radius: 8px; color: var(--ink); font-size: .9rem; }
.lang-menu a:hover, .lang-menu a.is-active { background: var(--brand-050); color: var(--brand); }
.lang-code { font-size: .7rem; color: var(--muted); letter-spacing: .08em; }

/* ---------- home banner ---------- */
.banner-band { background: #f2f8fd; line-height: 0; }
.banner-band img { width: 100%; height: auto; display: block; }

.hero-bar { position: relative; overflow: hidden; background: linear-gradient(135deg, #062f52 0%, #0b4f8a 52%, #0a6f9e 100%); color: #dceaf6; }
.hero-bg {
  position: absolute; inset: 0; opacity: .22;
  background: url('/assets/img/site/pattern.jpg') center/cover no-repeat;
}
.hero-bar::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-end: -10%;
  width: 55%; background: radial-gradient(circle at 60% 40%, rgba(0, 166, 166, .35), transparent 62%);
}
.hero-bar-inner {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  gap: clamp(24px, 4vw, 56px); padding-block: clamp(34px, 4.6vw, 56px); flex-wrap: wrap;
}
.hero-bar h1 { color: #fff; font-size: clamp(1.6rem, 3.1vw, 2.5rem); letter-spacing: -.025em; margin-bottom: .35em; }
.hero-bar .lede { font-size: clamp(1rem, 1.3vw, 1.1rem); color: #c5dcee; max-width: 62ch; margin: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: .6em; font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .9em;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }

/* ---------- stats ---------- */
.stats { background: var(--brand-700); color: #cfe2f2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.stat { padding: 30px 22px; text-align: center; border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.stat:first-child { border-inline-start: 0; }
.stat strong { display: block; font-size: clamp(1.7rem, 3vw, 2.4rem); color: #fff; font-weight: 700; letter-spacing: -.02em; }
.stat span { font-size: .84rem; color: #a9c8e2; }

/* ---------- sections ---------- */
.section { padding-block: clamp(52px, 7vw, 88px); }
.section-alt { background: var(--bg); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.section-sub { color: var(--muted); font-size: 1.03rem; }
.h-sm { font-size: 1.35rem; margin-bottom: 22px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel h3 { margin-top: 0; }

.check-list { display: grid; gap: 12px; margin-block: 20px 26px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--body); }
.check-list .ico { color: var(--accent); margin-top: 5px; }
.bullet-list { display: grid; gap: 10px; }
.bullet-list li { position: relative; padding-inline-start: 20px; }
.bullet-list li::before {
  content: ""; position: absolute; inset-inline-start: 4px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}

/* ---------- category cards ---------- */
.cgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ccard {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; color: inherit;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0ee; }
.ccard-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--brand-050); }
.ccard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.ccard:hover .ccard-media img { transform: scale(1.06); }
.ccard-body { display: flex; flex-direction: column; gap: 5px; padding: 17px 18px 20px; flex: 1; }
.ccard-body strong { color: var(--ink); font-size: 1rem; }
.ccard-body small { color: var(--muted); font-size: .83rem; line-height: 1.5; flex: 1; }
.ccard-count { font-size: .76rem; font-weight: 700; color: var(--brand); letter-spacing: .04em; text-transform: uppercase; margin-top: 6px; }

/* ---------- product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pcard {
  position: relative;
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0ee; }
/* one real link per card, stretched so the whole card (including the CTA) is clickable */
.pcard-body h3 a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard-media {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; background: linear-gradient(160deg, #f7fbfe, #eef5fb); overflow: hidden;
}
.pcard-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .4s; }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.ph { font-size: 1.5rem; font-weight: 700; color: #b9cfe1; letter-spacing: .08em; }
.pcard-body { display: flex; flex-direction: column; gap: 7px; padding: 16px 17px 18px; flex: 1; }
.pcard-code { font-size: .74rem; font-weight: 700; letter-spacing: .1em; color: var(--accent); margin: 0; }
.pcard-body h3 { margin: 0; font-size: .98rem; line-height: 1.35; }
.pcard-body h3 a { color: var(--ink); }
.pcard-body h3 a:hover { color: var(--brand); }
.pcard-specs { display: grid; gap: 3px; margin-top: auto; font-size: .8rem; }
.pcard-specs li { display: flex; gap: 6px; color: var(--muted); }
.pcard-specs span { flex: none; }
.pcard-specs b { font-weight: 600; color: var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard-intro { font-size: .84rem; color: var(--muted); margin: 0; }
.pcard-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .84rem; font-weight: 600; color: var(--brand); }
.pcard-cta .ico { transition: transform .18s; }
.pcard:hover .pcard-cta .ico { transform: translateX(4px); }
html[dir="rtl"] .pcard:hover .pcard-cta .ico { transform: translateX(-4px); }

/* ---------- why / values / steps ---------- */
.why-grid, .value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card, .value-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; position: relative; overflow: hidden;
}
.why-card::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.why-num { display: block; font-size: 1.6rem; font-weight: 800; color: #dbe9f5; letter-spacing: -.03em; margin-bottom: 6px; }
.why-card h3, .value-card h3 { font-size: 1.05rem; }
.why-card p, .value-card p { margin: 0; font-size: .9rem; color: var(--muted); }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 1rem; }
.step p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- certs ---------- */
.cert-strip { display: flex; flex-wrap: wrap; gap: 14px; }
.cert-strip li {
  padding: 15px 30px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); font-weight: 700; color: var(--ink); letter-spacing: .02em;
  box-shadow: var(--shadow-sm);
}

/* ---------- cta band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-700), var(--brand) 55%, #0b7fa8); color: #d8e9f7; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: clamp(40px, 5vw, 62px); flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; max-width: 60ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- page hero ---------- */
.page-hero { position: relative; background: var(--brand-700); color: #cfe2f2; padding-block: clamp(38px, 5vw, 62px); overflow: hidden; }
.page-hero.has-pattern::before {
  content: ""; position: absolute; inset: 0; opacity: .16;
  background: url('/assets/img/site/pattern.jpg') center/cover no-repeat;
}
.page-hero[style*="--hero-img"]::before {
  content: ""; position: absolute; inset: 0; opacity: .22;
  background: var(--hero-img) center/cover no-repeat;
}
.page-hero > .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero .lede { color: #b9d4ea; max-width: 70ch; margin: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; font-size: .83rem; }
.crumbs a { color: #a9c8e2; }
.crumbs a:hover { color: #fff; }
.crumbs li[aria-current] { color: #fff; }
.crumbs .sep { color: #6f9dc0; }

/* ---------- product detail ---------- */
.pd { padding-top: 34px; }
.pd .crumbs a { color: var(--muted); }
.pd .crumbs li[aria-current] { color: var(--ink); }
.pd .crumbs .sep { color: #c3d4e2; }
.pd-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 18px; }
.pd-gallery { margin: 0; display: grid; gap: 18px; }
.pd-gallery.is-empty { min-height: 300px; place-items: center; background: var(--bg); border-radius: var(--radius); }
.pd-main { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; object-fit: contain; width: 100%; }
.pd-spec { border: 1px solid var(--line); border-radius: var(--radius); }
.pd-info h1 { margin-bottom: .35em; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pd-block { margin-top: 46px; }
.spec-table { width: 100%; border-collapse: collapse; margin-block: 20px; font-size: .93rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { background: var(--brand-050); font-weight: 600; color: var(--ink); width: 34%; white-space: nowrap; }
.spec-table td { color: var(--body); }

/* ---------- search + filters ---------- */
.searchbar {
  display: flex; align-items: center; gap: 10px; background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 8px 8px 8px 18px;
  max-width: 620px; margin-bottom: 34px; box-shadow: var(--shadow-sm);
}
.searchbar .ico { color: var(--muted); }
.searchbar input { flex: 1; border: 0; font: inherit; padding: 10px 0; background: none; color: var(--ink); min-width: 0; }
.searchbar input:focus { outline: none; }
.result-count { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.cat-intro { max-width: 78ch; color: var(--body); }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink); font-size: .87rem; font-weight: 500;
}
.chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-050); }
.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--bg); border-radius: var(--radius); }
.empty-state { margin-top: 30px; }
.empty-state img { border-radius: var(--radius); opacity: .9; }
.empty-state p { margin-top: 18px; color: var(--muted); }

/* ---------- pager ---------- */
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; margin-top: 42px; }
.pager-num, .pager-btn {
  min-width: 42px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); font-size: .9rem; font-weight: 600; text-align: center;
}
.pager-num:hover, .pager-btn:hover { border-color: var(--brand); color: var(--brand); }
.pager-num.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager-gap { padding: 0 6px; color: var(--muted); }

/* ---------- forms ---------- */
.inquiry-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font: inherit; font-size: .93rem; padding: 11px 14px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
  transition: border-color .16s, box-shadow .16s; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(11, 79, 138, .1);
}
.field textarea { resize: vertical; min-height: 90px; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { font-size: .78rem; color: var(--muted); margin: 0; }
.form-msg { margin: 0; padding: 13px 16px; border-radius: var(--radius-sm); font-size: .9rem; }
.form-msg.ok { background: #e7f7f0; color: #14663f; border: 1px solid #b9e6d3; }
.form-msg.err { background: #fdeceb; color: #97231b; border: 1px solid #f6cbc8; }

.contact-list { display: grid; gap: 18px; margin-top: 26px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-ico {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--brand-050); border: 1px solid #d9e7f3; color: var(--brand);
}
.contact-ico svg { width: 19px; height: 19px; }
.contact-ico .ico-fill { stroke: none; }
.contact-row b { display: block; color: var(--ink); font-size: .84rem; }
.contact-row span span { color: var(--body); font-size: .93rem; }
.narrow .panel { margin-top: 26px; }

/* ---------- footer ---------- */
.site-footer { background: #08253c; color: #9fbdd6; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 36px; padding-block: 56px 40px; }
.site-footer .brand-link { color: #fff; }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.site-footer p { font-size: .89rem; }
.footer-brand p { max-width: 34ch; }
.footer-list { display: grid; gap: 10px; font-size: .89rem; }
.footer-list a { color: #9fbdd6; }
.footer-list a:hover { color: #fff; }
.footer-contact li { color: #9fbdd6; }
.footer-contact li { display: flex; gap: 9px; align-items: flex-start; }
.footer-contact .ico { width: 16px; height: 16px; margin-top: 3px; color: #6f9dc0; flex: none; }
.footer-contact .ico-fill { stroke: none; }
.footer-contact a { color: #9fbdd6; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem;
}
.footer-bottom p { margin: 0; }
.footer-meta { display: flex; align-items: center; gap: 10px; }
.footer-meta a { color: #9fbdd6; }
.footer-meta a:hover { color: #fff; text-decoration: underline; }
.footer-filings {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px;
  padding-bottom: 20px; font-size: .78rem; color: #7fa3c2;
}
.footer-filings a { color: #9fbdd6; }
.footer-filings a:hover { color: #fff; text-decoration: underline; }

/* ---------- privacy policy / legal notice ---------- */
.legal-meta {
  display: inline-block; margin: 0 0 20px; padding: 5px 12px;
  background: var(--brand-050); color: var(--brand-700);
  border-radius: 999px; font-size: .8rem;
}
.legal-info {
  margin: 0 0 32px; padding: 20px 24px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
}
.legal-row { display: grid; grid-template-columns: 200px 1fr; gap: 4px 20px; padding-block: 8px; }
.legal-row + .legal-row { border-top: 1px solid var(--line); }
.legal-row dt { color: var(--muted); font-size: .88rem; }
.legal-row dd { margin: 0; color: var(--ink); }
.legal-block { margin-bottom: 28px; }
.legal-block h2 { font-size: 1.14rem; margin-bottom: .35em; }
.legal-block p { margin: 0; }
.legal-note {
  margin: 34px 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .87rem;
}

/* ---------- floating contact dock ---------- */
.dock {
  position: fixed; inset-inline-end: 0; top: 50%; transform: translateY(-50%);
  z-index: 90; display: flex; flex-direction: column;
  box-shadow: -4px 0 18px rgba(15, 36, 56, .14);
}
.dock[hidden] { display: none; }
.dock-btn {
  width: 54px; height: 54px; display: grid; place-items: center;
  background: var(--brand); color: #fff; border: 0; padding: 0; cursor: pointer;
  transition: background-color .18s;
}
.dock-btn:hover { background: var(--brand-700); color: #fff; }
.dock-btn .ico { width: 22px; height: 22px; }
.dock-btn .ico-fill { stroke: none; }
.dock-btn--wa { background: #25d366; }
.dock-btn--wa:hover { background: #1eb455; }
.dock-btn--top { background: var(--brand-700); }

.dockbar { display: none; }

/* ---------- inquiry modal ---------- */
.inquiry-modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; }
.inquiry-modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 37, 60, .55); backdrop-filter: blur(6px); }
.modal-panel {
  position: relative; z-index: 2; width: min(640px, 100%); max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius); padding: 30px 30px 26px;
  box-shadow: 0 30px 70px rgba(4, 26, 45, .35); animation: modalIn .22s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-panel h2 { margin-bottom: .35em; font-size: 1.35rem; }
.modal-lede { color: var(--muted); font-size: .93rem; margin-bottom: 18px; }
.modal-close {
  position: absolute; inset-inline-end: 14px; top: 14px;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center;
}
.modal-close:hover { background: var(--brand-050); color: var(--brand); }
.modal-close .ico { width: 17px; height: 17px; }
body.modal-open { overflow: hidden; }

/* ---------- RTL ---------- */
html[dir="rtl"] .hero-bar::after { inset-inline-end: auto; inset-inline-start: -10%; }
html[dir="rtl"] .kicker::before { transform: scaleX(-1); }
html[dir="rtl"] .pcard-specs b { text-align: start; }
html[dir="rtl"] .mega { inset-inline-start: 50%; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cgrid, .pgrid, .why-grid, .value-grid, .step-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed; inset-block: 0; inset-inline-end: 0; width: min(360px, 88vw);
    background: var(--surface); flex-direction: column; align-items: stretch; gap: 0;
    padding: 22px; transform: translateX(100%); transition: transform .28s ease;
    box-shadow: -20px 0 48px rgba(8, 37, 60, .22); overflow-y: auto; z-index: 200; margin: 0;
  }
  html[dir="rtl"] .primary-nav { transform: translateX(-100%); box-shadow: 20px 0 48px rgba(8, 37, 60, .22); }
  .primary-nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list > li > a { justify-content: space-between; padding: 13px 12px; font-size: 1rem; }
  .mega { position: static; transform: none; width: auto; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 4px 0 10px; display: none; }
  .has-mega.is-open .mega { display: block; }
  .mega-list { grid-template-columns: 1fr; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
  .lang-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; }
  .lang[data-open] .lang-menu { display: block; }
  .lang-toggle { justify-content: space-between; width: 100%; }

  .hero-bar-inner { flex-direction: column; align-items: flex-start; gap: 22px; padding-block: 34px 38px; }
  .hero-actions { width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .split, .duo { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse .split-media { order: 0; }
  .pd-layout { grid-template-columns: 1fr; }
  .cgrid, .pgrid, .why-grid, .value-grid, .step-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head.row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  .dock { display: none; }
  .dockbar {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(15, 36, 56, .10);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .dockbar a, .dockbar button {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 9px 4px 8px; color: var(--brand); font: inherit; font-size: .72rem;
    background: none; border: 0; cursor: pointer; text-decoration: none;
  }
  .dockbar a:hover, .dockbar button:hover { color: var(--brand-700); background: var(--brand-050); }
  .dockbar .ico { width: 20px; height: 20px; }
  .dockbar .ico-fill { stroke: none; }
  .dockbar > * + * { border-inline-start: 1px solid var(--line); }
  body { padding-bottom: 60px; }
  .modal-panel { padding: 24px 18px 20px; max-height: 92vh; }
}

@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .cgrid, .pgrid, .why-grid, .value-grid, .step-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .topbar-inner { justify-content: center; }
  .brand-logo { height: 36px; }
  .hero-actions .btn { flex: 1; }
  .cta-actions { width: 100%; }
  .legal-row { grid-template-columns: 1fr; gap: 2px; }
  .legal-info { padding: 16px 18px; }
}
