/* ==========================================================================
   Setolink design system — hand-authored, no CDN, no external font service.
   Tokens → primitives → layout → components → page blocks → responsive.
   ========================================================================== */

:root {
  /* brand */
  --brand:            #0B2E4F;
  --brand-700:        #0E3A63;
  --brand-600:        #12508A;
  --brand-500:        #1C6BB0;
  --brand-300:        #7FB2DA;
  --brand-100:        #DCEAF6;
  --brand-50:         #F1F7FC;
  --accent:           #F36B21;
  --accent-600:       #DA5A13;
  --accent-300:       #F8A063;
  --accent-50:        #FFF2E9;
  --wa:               #25D366;
  --wa-dark:          #1DA851;

  /* neutrals */
  --ink:              #101B26;
  --ink-2:            #33414F;
  --ink-3:            #5B6B7B;
  --ink-4:            #8494A3;
  --line:             #DFE5EC;
  --line-2:           #EEF2F6;
  --bg:               #FFFFFF;
  --bg-soft:          #F6F8FB;
  --bg-soft-2:        #EDF2F7;
  --bg-dark:          #08203A;
  --bg-dark-2:        #0C2C4D;

  /* type */
  --font-sans:        "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono:        "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --fs-xs:            0.75rem;
  --fs-sm:            0.8125rem;
  --fs-base:          0.9375rem;
  --fs-md:            1.0625rem;
  --fs-lg:            1.25rem;
  --fs-xl:            1.5rem;
  --fs-2xl:           1.9rem;
  --fs-3xl:           2.4rem;
  --fs-4xl:           3.1rem;
  --lh-tight:         1.16;
  --lh-snug:          1.35;
  --lh-base:          1.68;

  /* space */
  --sp-1:             4px;
  --sp-2:             8px;
  --sp-3:             12px;
  --sp-4:             16px;
  --sp-5:             24px;
  --sp-6:             32px;
  --sp-7:             48px;
  --sp-8:             64px;
  --sp-9:             88px;
  --sp-10:            120px;

  /* shape */
  --r-sm:             6px;
  --r-md:             10px;
  --r-lg:             16px;
  --r-xl:             26px;
  --r-full:           999px;
  --shadow-sm:        0 1px 2px rgba(16, 27, 38, .06), 0 1px 3px rgba(16, 27, 38, .04);
  --shadow-md:        0 6px 18px rgba(16, 27, 38, .08);
  --shadow-lg:        0 18px 45px rgba(11, 46, 79, .16);
  --shadow-ring:      0 0 0 3px rgba(28, 107, 176, .18);

  /* layout */
  --wrap:             1240px;
  --wrap-narrow:      880px;
  --header-h:         76px;
  --bar-h:            38px;
  --ease:             cubic-bezier(.4, 0, .2, 1);
  --t-fast:           .16s var(--ease);
  --t-med:            .28s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 var(--sp-3);
  color: var(--ink);
  line-height: var(--lh-tight);
  font-weight: 700;
  letter-spacing: -.015em;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
p  { margin: 0 0 var(--sp-4); }
a  { color: var(--brand-600); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.15rem; }
li { margin-bottom: var(--sp-2); }
small { font-size: var(--fs-sm); }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-6) 0; }
::selection { background: var(--brand-100); color: var(--brand); }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--sp-5); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding: var(--sp-9) 0; }
.section-sm { padding: var(--sp-7) 0; }
.section-soft { background: var(--bg-soft); }
.section-soft-2 { background: var(--bg-soft-2); }
.section-dark { background: var(--bg-dark); color: #C8D8E6; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-brand { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-600) 100%); color: #D3E4F2; }
.section-brand h2, .section-brand h3 { color: #fff; }

.grid { display: grid; gap: var(--sp-5); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-8); align-items: center; }
.split-wide { grid-template-columns: 1.3fr .7fr; }
.stack-sm > * + * { margin-top: var(--sp-3); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.section-dark .eyebrow, .section-brand .eyebrow { color: var(--accent-300); }
.lede { font-size: var(--fs-md); color: var(--ink-3); max-width: 62ch; }
.section-dark .lede, .section-brand .lede { color: #B9CEE0; }
.head { max-width: 70ch; margin-bottom: var(--sp-7); }
.head.center { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 13px 24px;
  border-radius: var(--r-full);
  font-weight: 700; font-size: var(--fs-base);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(243, 107, 33, .28); }
.btn-primary:hover { background: var(--accent-600); color: #fff; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-600); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--brand-500); color: var(--brand-600); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: var(--fs-sm); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* ---------------------------------------------------------------- header */
.topbar {
  background: var(--bg-dark);
  color: #9FB6C9;
  font-size: var(--fs-xs);
  height: var(--bar-h);
  display: flex; align-items: center;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); }
.topbar a { color: #C6D7E5; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: var(--sp-5); align-items: center; }
.topbar-links span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 13px; height: 13px; opacity: .8; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  height: var(--header-h);
  display: flex; align-items: center; gap: var(--sp-5);
}
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > li { list-style: none; margin: 0; position: relative; }
.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 13px;
  color: var(--ink); font-weight: 600; font-size: var(--fs-base);
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.is-active { background: var(--brand-50); color: var(--brand-600); }
.nav-link .caret { width: 10px; height: 10px; opacity: .55; transition: transform var(--t-fast); }
.nav-item:hover .caret { transform: rotate(180deg); }
.header-cta { margin-left: var(--sp-4); flex: none; }

/* ------------------------------------------------------------ mega menu */
.nav-item { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med);
  z-index: 70;
  max-height: min(76vh, 640px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-item:hover > .mega, .mega:hover, .nav-item:focus-within > .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner {
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: var(--sp-6) var(--sp-5);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-6);
}
.mega-inner-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-5); }
.mega-col { min-width: 0; }
.mega-col h4 {
  font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-4); margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2); border-bottom: 1px solid var(--line-2);
}
.mega-card {
  display: flex; gap: var(--sp-3); align-items: center;
  padding: 7px; border-radius: var(--r-md);
  transition: background var(--t-fast);
  min-width: 0;
}
.mega-card:hover { background: var(--brand-50); }
.mega-card img {
  width: 46px; height: 46px; flex: none; object-fit: contain;
  background: var(--bg-soft); border-radius: var(--r-sm); border: 1px solid var(--line-2);
}
.mega-card b { display: block; color: var(--ink); font-size: var(--fs-base); line-height: 1.25; overflow-wrap: anywhere; }
.mega-card span { display: block; color: var(--ink-4); font-size: var(--fs-xs); }
.mega-links { list-style: none; margin: 0; padding: 0; }
.mega-links li { margin: 0; }
.mega-links a { display: block; padding: 5px 7px; border-radius: var(--r-sm); color: var(--ink-2); font-size: var(--fs-base); overflow-wrap: anywhere; }
.mega-links a:hover { background: var(--brand-50); color: var(--brand-600); }
.mega-foot {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line-2);
  padding-top: var(--sp-4);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  flex-wrap: wrap;
}
.mega-foot p { margin: 0; color: var(--ink-3); font-size: var(--fs-sm); }
.mega-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: var(--fs-sm);
  padding: 9px 18px; border-radius: var(--r-full); white-space: nowrap;
  transition: background var(--t-fast);
}
.mega-cta:hover { background: var(--accent-600); color: #fff; }

/* burger + mobile drawer */
.burger {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border: 1px solid var(--line); background: #fff;
  border-radius: var(--r-sm); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger svg { width: 20px; height: 20px; }
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px);
  background: #fff; z-index: 90; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform var(--t-med);
  overflow-y: auto; padding: var(--sp-5);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-5); }
.drawer-close { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink-3); }
.drawer nav ul { list-style: none; padding: 0; margin: 0; }
.drawer nav > ul > li { border-bottom: 1px solid var(--line-2); }
.drawer nav a { display: block; padding: 11px 4px; color: var(--ink); font-weight: 600; }
.drawer nav ul ul { padding-left: var(--sp-4); padding-bottom: var(--sp-3); }
.drawer nav ul ul a { font-weight: 500; font-size: var(--fs-sm); color: var(--ink-3); padding: 6px 4px; }
.scrim { position: fixed; inset: 0; background: rgba(8, 32, 58, .5); z-index: 80; opacity: 0; visibility: hidden; transition: opacity var(--t-med), visibility var(--t-med); }
.scrim.open { opacity: 1; visibility: visible; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: clamp(520px, 78vh, 760px); display: grid; isolation: isolate; }
.hero-slide {
  grid-area: 1 / 1; position: relative;
  display: grid; align-items: center;
  opacity: 0; transition: opacity .9s var(--ease);
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero-slide::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(5, 20, 36, .94) 0%, rgba(6, 26, 46, .88) 46%, rgba(7, 32, 56, .62) 76%, rgba(9, 38, 64, .44) 100%);
}
.hero-body { padding: var(--sp-9) 0; max-width: 46rem; color: #D8E6F2; }
.hero-body h1, .hero-body h2 {
  color: #fff; font-size: var(--fs-4xl); letter-spacing: -.02em;
  text-shadow: 0 2px 18px rgba(4, 16, 30, .55);
}
.hero-body p { font-size: var(--fs-md); color: #C3D6E6; max-width: 40rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(243, 107, 33, .16);
  border: 1px solid rgba(243, 107, 33, .45);
  color: #FFC79E;
  padding: 6px 14px; border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.hero-dots { position: absolute; bottom: var(--sp-6); left: 0; right: 0; z-index: 5; }
.hero-dots .wrap { display: flex; gap: 10px; }
.hero-dot {
  width: 40px; height: 4px; border-radius: var(--r-full);
  background: rgba(255,255,255,.32); border: 0; cursor: pointer; padding: 0;
  transition: background var(--t-fast), width var(--t-fast);
}
.hero-dot.active { background: var(--accent); width: 64px; }
.hero-strip {
  position: relative; z-index: 4;
  background: rgba(8, 32, 58, .92);
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-strip div { padding: var(--sp-5) var(--sp-4); border-left: 1px solid rgba(255,255,255,.10); }
.hero-strip div:first-child { border-left: 0; padding-left: 0; }
.hero-strip b { display: block; color: #fff; font-size: var(--fs-xl); line-height: 1.1; }
.hero-strip span { color: #9FB6C9; font-size: var(--fs-sm); }

/* ---------------------------------------------------------------- cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-300); }
.card-media { position: relative; background: #fff; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: var(--sp-4); border-bottom: 1px solid var(--line-2); }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-media-wide { aspect-ratio: 16 / 10; padding: 0; }
.card-media-wide img { object-fit: cover; }
.card-body { padding: var(--sp-4) var(--sp-5) var(--sp-5); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: var(--fs-base); margin: 0; line-height: 1.35; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--brand-600); }
.card-model { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--accent); letter-spacing: .04em; }
.card-note { font-size: var(--fs-sm); color: var(--ink-3); margin: 0; }
.card-foot { margin-top: auto; padding-top: var(--sp-3); display: flex; justify-content: space-between; align-items: center; }
.card-foot a { font-size: var(--fs-sm); font-weight: 700; }
.badge {
  display: inline-block; padding: 3px 10px; border-radius: var(--r-full);
  background: var(--brand-50); color: var(--brand-600);
  font-size: var(--fs-xs); font-weight: 700;
}
.badge-accent { background: var(--accent-50); color: var(--accent-600); }

.tile {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 230px; display: flex; align-items: flex-end;
  color: #fff; border: 0;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 24, 42, .88) 8%, rgba(6, 24, 42, .18) 72%); }
.tile-body { position: relative; z-index: 2; padding: var(--sp-5); }
.tile-body h3 { color: #fff; margin-bottom: 4px; }
.tile-body p { color: #C3D6E6; font-size: var(--fs-sm); margin: 0; }

.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-5); height: 100%;
}
.feature .ico {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--brand-50); color: var(--brand-600);
  display: grid; place-items: center; margin-bottom: var(--sp-4);
}
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: var(--fs-md); }
.feature p { font-size: var(--fs-base); color: var(--ink-3); margin: 0; }
.section-dark .feature, .section-brand .feature { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.section-dark .feature p, .section-brand .feature p { color: #B9CEE0; }
.section-dark .feature .ico, .section-brand .feature .ico { background: rgba(255,255,255,.10); color: var(--accent-300); }

.stat { text-align: center; padding: var(--sp-5) var(--sp-3); }
.stat b { display: block; font-size: var(--fs-3xl); color: var(--brand-600); line-height: 1; letter-spacing: -.03em; }
.section-dark .stat b, .section-brand .stat b { color: #fff; }
.stat span { font-size: var(--fs-sm); color: var(--ink-3); }
.section-dark .stat span, .section-brand .stat span { color: #A9C1D6; }

.steps { counter-reset: step; display: grid; gap: var(--sp-5); }
.step { position: relative; padding-left: 64px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: var(--fs-base);
}
.step h3 { font-size: var(--fs-md); margin-bottom: 4px; }
.step p { margin: 0; color: var(--ink-3); }
.section-dark .step::before { background: var(--accent); }
.section-dark .step p { color: #B9CEE0; }

/* ---------------------------------------------------------------- tables */
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-base); }
.spec-table th, .spec-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.spec-table th { width: 42%; color: var(--ink-3); font-weight: 600; background: var(--bg-soft); }
.spec-table td { color: var(--ink); font-weight: 600; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
.table-wrap .spec-table { min-width: 520px; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px var(--sp-4); font-size: var(--fs-base); }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- product page */
.prod-top { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: start; }
.gallery-main {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  aspect-ratio: 1 / 1; display: grid; place-items: center; padding: var(--sp-6); overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: var(--sp-3); margin-top: var(--sp-3); flex-wrap: wrap; }
.gallery-thumbs button {
  width: 78px; height: 78px; padding: 6px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff;
  transition: border-color var(--t-fast);
}
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.prod-meta { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.prod-lede { font-size: var(--fs-md); color: var(--ink-2); }
.prod-cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: var(--sp-5) 0; }
.prod-assure { border-top: 1px solid var(--line); padding-top: var(--sp-4); display: grid; gap: 6px; font-size: var(--fs-sm); color: var(--ink-3); }
.prod-assure span { display: flex; gap: 8px; align-items: flex-start; }
.prod-assure svg { width: 16px; height: 16px; color: var(--brand-500); flex: none; margin-top: 3px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.checklist li { display: flex; gap: var(--sp-3); align-items: flex-start; margin: 0; }
.checklist svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 4px; }

.faq { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  padding: var(--sp-4) var(--sp-5); cursor: pointer; font-weight: 700; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; gap: var(--sp-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: var(--fs-lg); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 var(--sp-5) var(--sp-4); margin: 0; color: var(--ink-3); }

/* --------------------------------------------------------------- article */
.article-body { font-size: var(--fs-md); }
.article-body h2 { font-size: var(--fs-xl); margin-top: var(--sp-7); }
.article-body h3 { margin-top: var(--sp-6); }
.article-body p { color: var(--ink-2); }
.article-body img { border-radius: var(--r-lg); border: 1px solid var(--line); margin: var(--sp-5) 0; }
.article-meta { color: var(--ink-4); font-size: var(--fs-sm); margin-bottom: var(--sp-5); }
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); position: sticky; top: calc(var(--header-h) + 16px); }
.toc h4 { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc a { font-size: var(--fs-sm); color: var(--ink-2); display: block; padding: 4px 0; }

/* ------------------------------------------------------------ breadcrumb */
.crumbs { padding: var(--sp-4) 0; font-size: var(--fs-sm); color: var(--ink-4); border-bottom: 1px solid var(--line-2); background: var(--bg-soft); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; gap: 8px; align-items: center; }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a { color: var(--ink-3); }

.page-head { background: linear-gradient(135deg, var(--bg-dark) 0%, var(--brand-700) 100%); color: #C8D8E6; padding: var(--sp-8) 0; }
.page-head h1 { color: #fff; max-width: 24ch; }
.page-head p { color: #B9CEE0; max-width: 62ch; margin-bottom: 0; font-size: var(--fs-md); }
.page-head-img { position: relative; overflow: hidden; }
.page-head-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.page-head-img .wrap { position: relative; z-index: 2; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--bg-dark); color: #9FB6C9; padding: var(--sp-8) 0 0; font-size: var(--fs-base); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--sp-7); }
.site-footer h4 { color: #fff; font-size: var(--fs-sm); letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #9FB6C9; }
.site-footer a:hover { color: #fff; }
.footer-logo img { height: 52px; width: auto; margin-bottom: var(--sp-4); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--accent-300); flex: none; margin-top: 4px; }
.footer-bottom {
  margin-top: var(--sp-7); border-top: 1px solid rgba(255,255,255,.10);
  padding: var(--sp-5) 0; display: flex; justify-content: space-between; gap: var(--sp-4);
  flex-wrap: wrap; font-size: var(--fs-sm); color: #7D95AA;
}
.footer-bottom a { color: #7D95AA; }

/* ------------------------------------------------------- floating contact */
.float-contact {
  position: fixed; right: 18px; bottom: 22px; z-index: 75;
  display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  width: 56px; height: 56px; border-radius: var(--r-full);
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-fast), filter var(--t-fast);
}
.float-btn:hover { transform: scale(1.07); }
.float-btn svg { width: 28px; height: 28px; }
.float-wa { background: var(--wa); color: #fff; }
.float-mail { background: var(--brand); color: #fff; }
.float-mail svg { width: 24px; height: 24px; }

.to-top {
  position: fixed; left: 18px; bottom: 22px; z-index: 74;
  width: 42px; height: 42px; border-radius: var(--r-full);
  background: #fff; border: 1px solid var(--line); color: var(--ink-3);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transition: opacity var(--t-med), visibility var(--t-med);
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- misc */
.cta-band { background: linear-gradient(115deg, var(--brand) 0%, var(--brand-600) 60%, var(--brand-500) 100%); color: #D3E4F2; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-6); padding-top: var(--sp-8); padding-bottom: var(--sp-8); flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #BCD3E6; max-width: 56ch; }

.pill-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.pill {
  display: inline-block; padding: 6px 14px; border-radius: var(--r-full);
  border: 1px solid var(--line); background: #fff;
  font-size: var(--fs-sm); color: var(--ink-2); font-weight: 600;
}
.pill:hover { border-color: var(--brand-500); color: var(--brand-600); }

.note {
  border-left: 3px solid var(--accent); background: var(--accent-50);
  padding: var(--sp-4) var(--sp-5); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--fs-base); color: var(--ink-2);
}
.note p:last-child { margin-bottom: 0; }

.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.photo-grid img { border-radius: var(--r-md); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.photo-grid figure { margin: 0; }
.photo-grid figcaption { font-size: var(--fs-xs); color: var(--ink-4); padding-top: 6px; }

.dl-row {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5); border: 1px solid var(--line);
  border-radius: var(--r-lg); background: #fff; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.dl-row:hover { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.dl-ico { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--accent-50); color: var(--accent-600); display: grid; place-items: center; flex: none; }
.dl-ico svg { width: 22px; height: 22px; }
.dl-row b { display: block; color: var(--ink); }
.dl-row span { font-size: var(--fs-sm); color: var(--ink-4); }
.dl-row .btn { margin-left: auto; }

.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6); height: 100%; }
.contact-card .ico { width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center; margin-bottom: var(--sp-4); background: var(--brand-50); color: var(--brand-600); }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card b { display: block; font-size: var(--fs-md); color: var(--ink); margin-bottom: 4px; }
.contact-card p { color: var(--ink-3); font-size: var(--fs-base); }

.map-frame { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.map-frame iframe { display: block; width: 100%; height: 360px; border: 0; }

.err { text-align: center; padding: var(--sp-10) 0; }
.err b { display: block; font-size: 5rem; color: var(--brand-100); line-height: 1; letter-spacing: -.04em; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1280px) {
  :root { --wrap: 1140px; --fs-4xl: 2.8rem; }
  .mega-inner { gap: var(--sp-4) var(--sp-5); }
}

@media (max-width: 1120px) {
  .nav-link { padding: 10px 9px; font-size: var(--fs-sm); }
  .logo img { height: 42px; }
  .header-cta { margin-left: var(--sp-2); }
  .header-cta .btn { padding: 11px 16px; font-size: var(--fs-sm); }
}

@media (max-width: 1024px) {
  :root { --fs-4xl: 2.45rem; --fs-3xl: 2.05rem; --fs-2xl: 1.65rem; --sp-9: 64px; }
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .split, .split-wide, .prod-top { grid-template-columns: 1fr; gap: var(--sp-6); }
  .g-4, .g-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .g-3, .g-4, .g-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .hero-strip div, .hero-strip div:first-child { padding-left: var(--sp-4); }
  .hero-strip div:nth-child(3) { border-left: 0; }
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { justify-content: center; }
  .hero { min-height: 560px; }
  .topbar-links span:nth-child(2) { display: none; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .article-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
}

@media (max-width: 640px) {
  :root { --fs-4xl: 2.05rem; --fs-3xl: 1.7rem; --fs-2xl: 1.45rem; --sp-9: 52px; --sp-8: 44px; }
  .wrap { padding: 0 var(--sp-4); }
  .g-2, .g-3, .g-4, .g-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { gap: var(--sp-4); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .float-contact { right: 12px; bottom: 74px; }
  .float-btn { width: 50px; height: 50px; }
  .to-top { left: 12px; bottom: 74px; }
  .hero-body { padding: var(--sp-8) 0 var(--sp-9); }
  .topbar { height: auto; padding: 6px 0; }
  .topbar-links { gap: var(--sp-3); flex-wrap: wrap; justify-content: center; }
  .topbar-links span:nth-child(3) { display: none; }
  .btn { padding: 12px 18px; }
  .gallery-thumbs button { width: 62px; height: 62px; }
  .spec-table th, .spec-table td { padding: 9px 12px; }
}

@media (max-width: 460px) {
  .g-2, .g-3, .g-4, .g-5 { grid-template-columns: 1fr; }
  .hero-strip .wrap { grid-template-columns: 1fr 1fr; }
  .hero-strip b { font-size: var(--fs-lg); }
  .btn-row .btn { width: 100%; justify-content: center; }
  .stat b { font-size: var(--fs-2xl); }
}

@media (hover: none) {
  .card:hover { transform: none; box-shadow: none; }
  .tile:hover img { transform: none; }
}

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

@media print {
  .site-header, .topbar, .site-footer, .float-contact, .to-top, .hero-dots { display: none !important; }
  body { color: #000; }
  .section { padding: 12px 0; }
}

/* reveal-on-scroll */
/* content is visible by default; the animation is opt-in once JS has taken over,
   so a blocked or failed script can never leave a section blank */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
