/* HITROL Homepage — design tokens & base */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;600;700;800&family=IBM+Plex+Sans+KR:wght@300;400;500;600;700&display=swap');

:root {
  --brand: #0a4d8c;
  --brand-deep: #062a4f;
  --brand-ink: #041628;
  --accent: #12826a;
  --accent-soft: #d8f0e9;
  --steel: #5b6b7c;
  --fog: #e8eef4;
  --mist: #f3f6f9;
  --paper: #fbfcfd;
  --line: rgba(6, 42, 79, 0.12);
  --text: #1a2430;
  --muted: #5a6a7a;
  --white: #ffffff;
  --danger: #b42318;
  --shadow: 0 20px 50px rgba(4, 22, 40, 0.18);
  --radius: 2px;
  --nav-h: 76px;
  --font-display: 'Syne', 'IBM Plex Sans KR', sans-serif;
  --font-body: 'IBM Plex Sans KR', 'Pretendard', sans-serif;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(18, 130, 106, 0.08), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(10, 77, 140, 0.1), transparent 50%),
    linear-gradient(180deg, #f5f8fb 0%, var(--paper) 40%, #eef3f7 100%);
  line-height: 1.65;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.site-header.is-solid {
  background: rgba(251, 252, 253, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-solid .brand-sub { color: var(--steel); }
.site-header:not(.is-solid) .brand-sub { color: rgba(255,255,255,.7); }
.site-header:not(.is-solid) .brand-name { color: #fff; }

.header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(1.25rem, 3.5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
}
.brand img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.15));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-sub {
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .02em;
  color: var(--brand-ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.35rem, 2.2vw, 2.1rem);
}
.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  padding: .35rem 0;
  color: inherit;
  transition: color .28s var(--ease), opacity .28s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s var(--ease);
  opacity: .85;
}
.nav-link:hover {
  opacity: 1;
}
.nav-link:hover::after,
.nav-link.is-active::after,
.nav-item.is-active > .nav-link::after {
  transform: scaleX(1);
}
.site-header.is-solid .nav-link {
  color: var(--brand-ink);
  opacity: .72;
}
.site-header.is-solid .nav-link:hover,
.site-header.is-solid .nav-link.is-active,
.site-header.is-solid .nav-item.is-active > .nav-link {
  color: var(--brand);
  opacity: 1;
}
.site-header:not(.is-solid) .nav-link {
  color: rgba(255,255,255,.78);
}
.site-header:not(.is-solid) .nav-link:hover,
.site-header:not(.is-solid) .nav-link.is-active,
.site-header:not(.is-solid) .nav-item.is-active > .nav-link {
  color: #fff;
  opacity: 1;
}

.nav-ext-links {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-left: .55rem;
  padding-left: .75rem;
  border-left: 1px solid rgba(255,255,255,.28);
}
.site-header.is-solid .nav-ext-links {
  border-left-color: rgba(6, 42, 79, 0.14);
}
.nav-ext {
  --ext-accent: #fff;
  --ext-fill: rgba(255,255,255,.1);
  --ext-border: rgba(255,255,255,.38);
  --ext-text: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 2rem;
  padding: .3rem .72rem .3rem .55rem;
  border: 1px solid var(--ext-border);
  background: var(--ext-fill);
  color: var(--ext-text);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1;
  white-space: nowrap;
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  transition:
    background .22s var(--ease),
    border-color .22s var(--ease),
    color .22s var(--ease),
    box-shadow .22s var(--ease),
    transform .22s var(--ease);
}
.nav-ext-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: currentColor;
  opacity: .95;
}
.nav-ext:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.nav-ext--youtube {
  --ext-accent: #ff0000;
  --ext-fill: #e60023;
  --ext-border: #ff1a3c;
  --ext-text: #fff;
}
.nav-ext--youtube:hover {
  background: #ff0033;
  border-color: #ff3355;
  color: #fff;
  box-shadow: 0 8px 20px rgba(230, 0, 35, 0.45);
}
.nav-ext--blog {
  --ext-accent: #03c75a;
  --ext-fill: #03c75a;
  --ext-border: #1ad46c;
  --ext-text: #fff;
}
.nav-ext--blog:hover {
  background: #02b351;
  border-color: #2fe07a;
  color: #fff;
  box-shadow: 0 8px 20px rgba(3, 199, 90, 0.4);
}
.site-header.is-solid .nav-ext--youtube {
  --ext-fill: rgba(255, 0, 51, 0.08);
  --ext-border: rgba(255, 0, 51, 0.28);
  --ext-text: #d4002a;
}
.site-header.is-solid .nav-ext--youtube:hover {
  background: #ff0033;
  border-color: #ff0033;
  color: #fff;
}
.site-header.is-solid .nav-ext--blog {
  --ext-fill: rgba(3, 199, 90, 0.08);
  --ext-border: rgba(3, 199, 90, 0.28);
  --ext-text: #029c47;
}
.site-header.is-solid .nav-ext--blog:hover {
  background: #03c75a;
  border-color: #03c75a;
  color: #fff;
}

/* Language switch + hide Google Translate chrome */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-left: .15rem;
}
.lang-switch-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.lang-select {
  min-height: 1.9rem;
  padding: .28rem .55rem;
  border: 1px solid rgba(255,255,255,.4);
  background: transparent;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  cursor: pointer;
  max-width: 7.5rem;
}
.lang-select option { color: var(--brand-ink); background: #fff; }
.site-header.is-solid .lang-select {
  border-color: rgba(6, 42, 79, 0.2);
  color: var(--brand-ink);
  background: #fff;
}
.site-header.is-solid .lang-select:hover {
  border-color: var(--brand);
}

#google_translate_element,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-te-gadget,
.skiptranslate iframe,
body > .skiptranslate {
  display: none !important;
}
body { top: 0 !important; }
font font { background-color: transparent !important; box-shadow: none !important; }


.nav-item {
  position: relative;
}
.nav-item.has-sub > .nav-link {
  padding-right: .85rem;
}
.nav-item.has-sub > .nav-link::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: .55;
  transition: transform .25s var(--ease), opacity .25s;
}
.nav-item.has-sub:hover > .nav-link::before,
.nav-item.has-sub.is-open > .nav-link::before {
  opacity: .9;
  transform: translateY(-35%) rotate(225deg);
}
.nav-sub {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: min(14.5rem, calc(100vw - 2rem));
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(248,251,253,.99) 100%);
  border: 1px solid rgba(6, 42, 79, 0.1);
  box-shadow:
    0 24px 48px rgba(4, 22, 40, 0.16),
    0 0 0 1px rgba(255,255,255,.6) inset;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 120;
  overflow: hidden;
}
.nav-sub::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 55%, transparent 100%);
}
.nav-sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}
.nav-item.has-sub:hover > .nav-sub,
.nav-item.has-sub:focus-within > .nav-sub,
.nav-item.has-sub.is-open > .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-sub-head {
  padding: .7rem .85rem .6rem;
  border-bottom: 1px solid rgba(6, 42, 79, 0.08);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(10,77,140,.07), transparent 55%);
}
.nav-sub-eyebrow {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: .25rem;
}
.nav-sub-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--brand-ink);
}
.nav-sub-list {
  padding: .3rem 0 .4rem;
}
.nav-sub-link {
  display: block;
  padding: .55rem .85rem;
  color: var(--brand-ink);
  white-space: normal;
  transition: background .22s var(--ease), color .22s var(--ease);
  position: relative;
}
.nav-sub-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55rem;
  bottom: .55rem;
  width: 2px;
  background: var(--brand);
  transform: scaleY(0);
  transition: transform .22s var(--ease);
}
.nav-sub-num {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--steel);
  padding-top: .18rem;
  transition: color .22s;
}
.nav-sub-copy {
  display: grid;
  gap: .18rem;
  min-width: 0;
}
.nav-sub-label {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1.25;
}
.nav-sub-desc {
  font-size: .78rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: .01em;
  line-height: 1.35;
}
.nav-sub-link:hover,
.nav-sub-link.is-active {
  background: linear-gradient(90deg, rgba(10,77,140,.08), rgba(10,77,140,.02) 55%, transparent);
  color: var(--brand);
  padding-left: 1.15rem;
}
.nav-sub-link:hover::before,
.nav-sub-link.is-active::before {
  transform: scaleY(1);
}
.nav-sub-link:hover .nav-sub-num,
.nav-sub-link.is-active .nav-sub-num {
  color: var(--brand);
}
.nav-sub-link:hover .nav-sub-desc,
.nav-sub-link.is-active .nav-sub-desc {
  color: rgba(10, 77, 140, .72);
}
.site-header:not(.is-solid) .nav-item.has-sub:hover > .nav-link {
  color: #fff;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.data-table th,
.data-table td {
  padding: .85rem .75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.data-table th {
  color: var(--brand-ink);
  font-weight: 600;
  background: var(--mist);
}
.timeline {
  display: grid;
  gap: 0;
  border-left: 2px solid var(--line);
  margin-left: .4rem;
  padding-left: 1.25rem;
}
.timeline-item {
  position: relative;
  padding: 0 0 1.5rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.45rem;
  top: .35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand);
  margin: 0 0 .55rem;
  line-height: 1.2;
}
.timeline-item ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  list-style: none;
}
.timeline-item li {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  column-gap: 1rem;
  align-items: start;
  margin: 0 0 .55rem;
  line-height: 1.55;
  word-break: keep-all;
}
.timeline-date {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--brand-ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.timeline-text {
  color: var(--muted);
  min-width: 0;
}
.timeline .err { color: var(--danger); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.15);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
}
.site-header:not(.is-solid) .menu-toggle { color: #fff; border-color: rgba(255,255,255,.35); }
.site-header.is-solid .menu-toggle { color: var(--brand-ink); }

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.25s var(--ease);
  pointer-events: none;
}
.hero-media img.is-active {
  opacity: 1;
  z-index: 1;
  animation: heroZoom 10s var(--ease) forwards;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(4, 22, 40, 0.88) 0%, rgba(4, 22, 40, 0.55) 42%, rgba(4, 22, 40, 0.28) 100%),
    linear-gradient(0deg, rgba(4, 22, 40, 0.65) 0%, transparent 45%);
}
.hero-content {
  width: min(42rem, calc(100% - clamp(2.5rem, 7vw, 6rem)));
  max-width: 42rem;
  margin: 0;
  margin-right: auto;
  padding: calc(var(--nav-h) + 2.5rem) 0 4rem;
  padding-left: clamp(1.25rem, 3.5vw, 3rem);
  align-self: end;
  justify-self: start;
}
.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  letter-spacing: -.02em;
  line-height: .92;
  margin: 0 0 1rem;
  opacity: 0;
  animation: rise .9s .15s var(--ease) forwards;
  text-shadow: 0 8px 40px rgba(0,0,0,.35);
}
.hero-brand span {
  display: block;
  font-size: .28em;
  letter-spacing: .22em;
  font-weight: 600;
  opacity: .85;
  margin-bottom: .55rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  max-width: 18ch;
  margin: 0 0 1rem;
  opacity: 0;
  animation: rise .9s .3s var(--ease) forwards;
}
.hero-lead {
  max-width: 36rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,.86);
  margin: 0 0 2rem;
  opacity: 0;
  animation: rise .9s .45s var(--ease) forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  opacity: 0;
  animation: rise .9s .6s var(--ease) forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .9rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #0d6d59; }
.btn-ghost {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.35);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-solid {
  background: var(--brand);
  color: #fff;
}
.btn-solid:hover { background: var(--brand-deep); }
.btn-outline {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff; }

/* ——— Sections ——— */
.section { padding: 5.5rem 0; }
.section-head {
  display: grid;
  gap: .75rem;
  margin-bottom: 2.5rem;
  max-width: 40rem;
}
.eyebrow {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin: 0;
  color: var(--brand-ink);
  letter-spacing: -.01em;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cat-item {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  display: grid;
  gap: .7rem;
  transition: background .25s, color .25s;
  min-height: 160px;
  position: relative;
  overflow: hidden;
}
.cat-item::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.cat-item:hover {
  background: var(--brand-ink);
  color: #fff;
}
.cat-item:hover::before { transform: scaleX(1); }
.cat-item:hover .cat-desc { color: rgba(255,255,255,.72); }
.cat-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}
.cat-desc { margin: 0; color: var(--muted); font-size: .92rem; }
.cat-meta { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }

.about-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}
.about-visual {
  position: relative;
  min-height: 420px;
}
.about-visual img,
.about-visual .about-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
  filter: saturate(1.05) contrast(1.02);
}
.about-video-stage {
  position: absolute;
  inset: 0;
  min-height: 420px;
  background: #0b1c2c;
  overflow: hidden;
}
.about-video-stage iframe.about-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease;
}
.about-video-stage iframe.about-video.is-active {
  opacity: 1;
  pointer-events: auto;
}
.about-visual::after {
  content: '';
  position: absolute;
  inset: auto -16px -16px auto;
  width: 42%;
  height: 42%;
  border: 2px solid var(--accent);
  z-index: -1;
}
.about-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: .4rem 0 1.2rem;
  color: var(--brand-ink);
}
.about-copy p { color: var(--muted); margin: 0 0 1rem; }
.about-copy .intro-sign {
  margin-top: 2rem;
  font-weight: 600;
  color: var(--brand-ink);
}
.about-copy .err { color: var(--danger); }
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--brand);
  line-height: 1;
}
.stat span { font-size: .85rem; color: var(--muted); }

.product-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.product-tile {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem;
  transition: transform .25s var(--ease), border-color .25s;
  display: grid;
  gap: .85rem;
}
.product-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 77, 140, .35);
}
.product-tile .thumb {
  height: 160px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, var(--mist), #fff);
}
.product-tile .thumb img {
  max-height: 140px;
  width: auto;
  object-fit: contain;
}
.product-tile h3 {
  margin: 0;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 700;
}
.product-tile p {
  margin: 0;
  font-size: .88rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--brand-ink), var(--brand) 55%, #0d6b58);
  color: #fff;
  padding: 4rem 0;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: -20% 40% auto auto;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 .5rem;
}
.cta-inner p { margin: 0; opacity: .85; max-width: 36rem; }

/* ——— Page hero (inner) ——— */
.page-hero {
  padding: calc(var(--nav-h) + 3.5rem) 0 3rem;
  background:
    linear-gradient(135deg, rgba(4,22,40,.92), rgba(10,77,140,.78)),
    url('/images/hero/building-full.jpg') center/cover;
  color: #fff;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: .4rem 0 .6rem;
}
.page-hero p {
  margin: 0;
  opacity: .85;
  max-width: 52rem;
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.filter-box {
  border: 1px solid var(--line);
  background: rgba(248, 251, 253, 0.85);
  padding: .55rem .85rem;
  margin-bottom: .65rem;
}
.filter-box:last-child { margin-bottom: 0; }
.filter-box-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  padding: .2rem 0;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--brand-ink);
  cursor: pointer;
  text-align: left;
}
.filter-box-title:hover { color: var(--brand); }
.filter-box-toggle {
  width: .55rem;
  height: .55rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-135deg);
  transition: transform .2s ease;
  margin-left: .75rem;
  flex: 0 0 auto;
}
.filter-box.is-collapsed .filter-box-toggle {
  transform: rotate(45deg);
}
.filter-box .filters {
  margin: .65rem 0 0;
}
.filter-box.is-collapsed .filters {
  display: none;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.chip {
  border: 1px solid var(--line);
  background: var(--white);
  padding: .45rem .85rem;
  font-size: .86rem;
  cursor: pointer;
  border-radius: 999px;
  color: var(--steel);
  transition: .2s;
}
.chip:hover, .chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--brand-ink);
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--mist);
  padding: .75rem .9rem;
  border-radius: var(--radius);
  outline: none;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
  background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.form-msg {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  display: none;
}
.form-msg.show { display: block; }
.form-msg.ok { background: var(--accent-soft); color: #0d5a48; }
.form-msg.err { background: #fdecea; color: var(--danger); }

.agency-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.agency-row {
  display: grid;
  grid-template-columns: 1.2fr .7fr 1fr 1.4fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.agency-row strong { color: var(--brand-ink); }
.agency-row .muted { color: var(--muted); font-size: .92rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
}
.contact-block h3 {
  margin: 0 0 .75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.contact-block p { margin: 0 0 .4rem; color: var(--muted); }
.dept-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.dept {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.dept h4 { margin: 0 0 .35rem; color: var(--brand-ink); }
.map-frame {
  min-height: 360px;
  border: 0;
  width: 100%;
  filter: grayscale(.15) contrast(1.05);
}

/* ——— Footer ——— */
.site-footer {
  background: var(--brand-ink);
  color: rgba(255,255,255,.78);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: .5rem;
}
.footer-grid h4 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: .95rem;
  letter-spacing: .04em;
}
.footer-grid a { display: block; margin-bottom: .45rem; font-size: .92rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .85rem;
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroZoom {
  to { transform: scale(1); }
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-strip { grid-template-columns: repeat(2, 1fr); }
  .about-split, .contact-grid, .cta-inner, .footer-grid { grid-template-columns: 1fr; }
  .agency-row { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: rgba(251,252,253,.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: .3s var(--ease);
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    color: var(--brand-ink) !important;
    opacity: 1 !important;
    letter-spacing: .06em;
    padding: .95rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-link::after { display: none; }
  .nav-item.has-sub > .nav-link::before {
    right: .15rem;
  }
  .nav-sub {
    left: 0;
    transform: none;
  }
  .nav-item.has-sub:hover > .nav-sub,
  .nav-item.has-sub:focus-within > .nav-sub,
  .nav-item.has-sub.is-open > .nav-sub {
    transform: none;
  }
  .nav-item.has-sub {
    border-bottom: 1px solid var(--line);
  }
  .nav-item.has-sub > .nav-link {
    border-bottom: 0;
  }
  .nav-sub {
    position: static;
    width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    display: none;
    padding: 0 0 .55rem .35rem;
    overflow: visible;
  }
  .nav-sub::after { display: none; }
  .nav-sub-head {
    display: none;
  }
  .nav-sub-list {
    padding: 0;
  }
  .nav-sub-link {
    padding: .55rem 0 .55rem .4rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-sub-link::before { display: none; }
  .nav-sub-desc { display: none; }
  .nav-item.has-sub.is-open > .nav-sub {
    display: block;
  }
  .nav-sub-link {
    padding: .55rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-ext-links {
    display: flex;
    width: 100%;
    margin: .35rem 0 0;
    padding: .65rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    gap: .5rem;
  }
  .nav-ext {
    flex: 1;
    justify-content: center;
  }
  .nav-ext--youtube {
    --ext-fill: rgba(255, 0, 51, 0.08);
    --ext-border: rgba(255, 0, 51, 0.28);
    --ext-text: #d4002a;
  }
  .nav-ext--blog {
    --ext-fill: rgba(3, 199, 90, 0.08);
    --ext-border: rgba(3, 199, 90, 0.28);
    --ext-text: #029c47;
  }
  .lang-select {
    border-color: var(--line);
    color: var(--brand-ink);
    background: #fff;
    flex: 1;
    max-width: none;
  }
}
@media (max-width: 640px) {
  .cat-grid, .product-strip, .form-grid, .stat-row, .agency-row { grid-template-columns: 1fr; }
  .hero-content {
    width: calc(100% - 2rem);
    max-width: none;
    padding: calc(var(--nav-h) + 1.2rem) 1rem 2.4rem;
    padding-left: 1.25rem;
  }
  .hero h1 { max-width: none; font-size: 1.35rem; }
  .hero-lead { font-size: .95rem; margin-bottom: 1.25rem; }
  .hero-actions .btn { flex: 1; min-width: 140px; }
}

.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;
}


/* Inquiry result popup */
.inquiry-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(4, 22, 40, 0.45);
  animation: inquiryFadeIn .2s var(--ease);
}
.inquiry-popup {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.75rem 2rem 1.5rem;
  max-width: min(560px, 100%);
  text-align: center;
}
.inquiry-popup-msg {
  margin: 0 0 1.25rem;
  color: var(--brand-ink);
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.5;
}
.inquiry-popup-msg.is-error { color: var(--danger); }
.inquiry-popup-ok { min-width: 96px; }
@keyframes inquiryFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 640px) {
  .inquiry-popup {
    padding: 1.4rem 1.1rem 1.25rem;
  }
  .inquiry-popup-msg {
    font-size: .9rem;
  }
}


/* Certifications tabs */
.cert-panel { overflow-x: auto; }
.cert-tab[hidden] { display: none !important; }
.cert-tab.is-active { display: block; }

.data-table .col-cat,
.data-table .col-cat2 {
  white-space: nowrap;
}
.data-table .col-file {
  width: 5.5rem;
  white-space: nowrap;
  text-align: center;
}
.file-badge {
  display: inline-block;
  padding: .2rem .55rem;
  border: 1px solid var(--line);
  background: var(--mist);
  color: var(--steel);
  font-size: .8rem;
  font-weight: 600;
}
.data-table .err { color: var(--danger); }
.data-table .muted { color: var(--muted); }


/* Certification image lightbox */
.file-badge.is-clickable {
  cursor: pointer;
  border-color: rgba(10,77,140,.28);
  color: var(--brand);
  background: rgba(10,77,140,.06);
  transition: background .2s, border-color .2s;
}
.file-badge.is-clickable:hover {
  background: rgba(10,77,140,.12);
  border-color: var(--brand);
}
.cert-image-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(4, 22, 40, 0.78);
  animation: inquiryFadeIn .2s var(--ease);
}
.cert-image-popup {
  position: relative;
  width: min(1100px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.cert-image-popup img {
  max-width: 100%;
  max-height: min(78vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.cert-image-popup-close {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  background: rgba(255,255,255,.95);
  color: var(--brand-ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.cert-image-popup-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: rgba(255,255,255,.92);
  color: var(--brand-ink);
  font-size: 1.8rem;
  cursor: pointer;
}
.cert-image-popup-nav.is-prev { left: 0; }
.cert-image-popup-nav.is-next { right: 0; }
.cert-image-popup-meta {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  width: 100%;
  color: rgba(255,255,255,.9);
  font-size: .9rem;
}
