/* ==========================================================================
   PLASTECH — corporate static site
   Design system + layout + components
   ========================================================================== */

:root {
  /* Brand palette */
  --brand:        #0b5cab;   /* primary blue */
  --brand-dark:   #073e75;
  --brand-light:  #e8f1fb;
  --accent:       #12b0a0;   /* teal accent */
  --accent-dark:  #0c8577;

  /* Neutrals */
  --ink:          #1b2733;
  --ink-2:        #48586a;
  --line:         #e2e8f0;
  --bg:           #ffffff;
  --bg-soft:      #f5f8fc;
  --bg-dark:      #0f2138;
  --white:        #ffffff;

  /* Metrics */
  --wrap:         1200px;
  --radius:       10px;
  --radius-lg:    18px;
  --shadow:       0 8px 30px rgba(15,33,56,.08);
  --shadow-hover: 0 14px 40px rgba(15,33,56,.14);
  --header-h:     104px;
  --ease:         cubic-bezier(.4,0,.2,1);
}

/* ---- Reset ---- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Malgun Gothic","Apple SD Gothic Neo","Noto Sans KR",
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4 { margin: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.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; left: 0; top: -60px; background: var(--brand);
  color: #fff; padding: 10px 18px; z-index: 1000; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--white);
  border-bottom: 1px solid var(--line);
}
.topbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 6px; height: 38px; align-items: center; }
.topbar a {
  font-size: 12.5px; color: var(--ink-2); padding: 4px 12px; border-radius: 20px;
  transition: background .2s, color .2s;
}
.topbar a:hover { background: var(--brand-light); color: var(--brand); }
.topbar .lang { font-weight: 700; color: var(--brand); }

.header-main .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { height: 42px; width: auto; display: block; }
.brand-text { font-weight: 800; font-size: 22px; letter-spacing: .5px; color: var(--brand-dark); }
.brand-text small { display:block; font-size: 10.5px; font-weight: 600; letter-spacing: 2px; color: var(--ink-2); }

/* Primary nav */
.gnb { display: flex; height: 100%; }
.gnb > li { position: relative; }
.gnb > li > a {
  display: flex; align-items: center; height: 66px; padding: 0 26px;
  font-size: 16.5px; font-weight: 700; color: var(--ink);
  transition: color .2s;
}
.gnb > li:hover > a,
.gnb > li.is-active > a { color: var(--brand); }
.gnb > li > a::after {
  content: ""; position: absolute; left: 26px; right: 26px; bottom: 14px; height: 3px;
  background: var(--brand); border-radius: 3px; transform: scaleX(0); transition: transform .25s var(--ease);
}
.gnb > li:hover > a::after,
.gnb > li.is-active > a::after { transform: scaleX(1); }

/* Dropdown */
.submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 210px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s;
}
.gnb > li:hover .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu a {
  display: block; padding: 10px 14px; border-radius: 6px; font-size: 14.5px; color: var(--ink-2);
  white-space: nowrap; transition: background .15s, color .15s;
}
.submenu a:hover { background: var(--brand-light); color: var(--brand); }
.submenu li.current > a { color: var(--brand); font-weight: 700; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ==========================================================================
   Hero slider
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--bg-dark); }
.slides { position: relative; height: clamp(360px, 52vw, 560px); }
.slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; transition: opacity .9s var(--ease); background-size: cover; background-position: center;
}
.slide::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(7,33,60,.82) 0%, rgba(7,33,60,.48) 55%, rgba(7,33,60,.16) 100%); }
.slide.is-active { opacity: 1; }
/* z-index must beat .hero-btn / .hero-dots (5), otherwise the controls sit on
   top of the copy and swallow clicks on the CTA. */
.slide-inner { position: relative; z-index: 6; color: #fff; max-width: 620px; }
.slide-inner .eyebrow { display:inline-block; font-size: 13px; letter-spacing: 3px; font-weight: 700; color: #8fd4ff; margin-bottom: 14px; }
.slide-inner h2 { font-size: clamp(28px, 4.4vw, 50px); line-height: 1.15; margin-bottom: 16px; text-shadow: 0 2px 16px rgba(0,0,0,.25); }
/* Brand-led headline: the product name is the largest thing on the slide and the
   Korean/English strapline drops to a supporting line beneath it. Sizes are em so
   they ride the h2's clamp() and stay in proportion down to mobile. */
.slide-inner h2 .brand {
  display: block; font-size: 1.16em; font-weight: 800; letter-spacing: 1.5px;
  text-shadow: 0 2px 20px rgba(0,0,0,.38);
}
/* vertical-align is reset to baseline so the offset comes from `top` alone —
   the browser default `super` would otherwise stack on top of it. */
.slide-inner h2 .brand sup {
  font-size: .42em; letter-spacing: 0;
  vertical-align: baseline; position: relative; top: -.78em;
}
.slide-inner h2 .sub {
  display: block; margin-top: 12px; font-size: .56em; font-weight: 600;
  line-height: 1.32; color: #e8f1fb;
}
.slide-inner p { font-size: clamp(15px, 1.6vw, 19px); color: #e3edf8; margin-bottom: 26px; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.slide-cta {
  display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff;
  padding: 13px 26px; border-radius: 40px; font-weight: 700; transition: background .2s, transform .2s;
}
.slide-cta:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* Paired at the bottom right, clear of the left-aligned copy. Vertically centred
   arrows sat on top of the headline as soon as the wrap lost its side margin
   (below ~1240px), swallowing clicks on the CTA. */
.hero-btn {
  position: absolute; bottom: 18px; z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.18); color: #fff; font-size: 20px; backdrop-filter: blur(4px);
  transition: background .2s;
}
.hero-btn:hover { background: rgba(255,255,255,.35); }
.hero-btn.prev { right: 80px; } .hero-btn.next { right: 22px; }
.hero-dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.hero-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding:0; transition: .2s; }
.hero-dots button.is-active { background: #fff; width: 30px; border-radius: 6px; }

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow { color: var(--brand); font-weight: 800; letter-spacing: 3px; font-size: 13px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 10px 0 12px; }
.section-head p { color: var(--ink-2); max-width: 640px; margin-inline: auto; }

/* quick shortcut cards */
.quick-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.quick-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 26px; text-align: center; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.quick-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.quick-card .ico { width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 14px; background: var(--brand-light);
  display: grid; place-items: center; color: var(--brand); font-size: 26px; }
.quick-card h3 { font-size: 19px; margin-bottom: 8px; }
.quick-card p { color: var(--ink-2); font-size: 14.5px; margin: 0; }

/* two column: notice + facility */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 46px; align-items: start; }
/* Equal-weight pair. The base .split is 1.1fr 1fr and align-items:start, which
   suits a main/secondary pairing but makes two peer product cards look
   mismatched in both width and height. */
.split.even { grid-template-columns: 1fr 1fr; align-items: stretch; }
.split.even > div { display: flex; flex-direction: column; }
.split.even .facility-card { flex: 1; }
.split.even .facility-card .body { flex: 1; }
.block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.block-head h3 { font-size: 22px; }
.block-head a { color: var(--brand); font-size: 14px; font-weight: 600; }

.notice-list li { border-bottom: 1px solid var(--line); }
.notice-list a { display: flex; align-items: center; gap: 14px; padding: 16px 4px; transition: background .15s; }
.notice-list a:hover { background: var(--bg-soft); }
.notice-list .tag { font-size: 12px; font-weight: 700; color: var(--brand); background: var(--brand-light); padding: 4px 10px; border-radius: 20px; flex: none; }
.notice-list .t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-list .d { color: var(--ink-2); font-size: 13px; flex: none; }

.facility-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background:#fff; }
/* Linked cards need a block-level box; flex so the body can absorb slack when
   the pair is height-matched. Set here rather than inline, so .split.even can
   override display without fighting a style attribute. */
a.facility-card { display: flex; flex-direction: column; color: inherit; transition: box-shadow .25s, transform .25s; }
a.facility-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.facility-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.facility-card .body { padding: 22px 24px; }
.facility-card h4 { font-size: 19px; margin-bottom: 6px; }
.facility-card p { color: var(--ink-2); font-size: 14.5px; margin: 0; }

/* CTA / inquiry band */
.band { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; }
.band .split { align-items: center; }
.band h2 { font-size: clamp(24px,3vw,34px); margin-bottom: 12px; }
.band p { color: #d5e6f7; }
.band .btn-white { background: #fff; color: var(--brand-dark); }

/* Product highlight strip */
.prod-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.prod-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background:#fff; transition: box-shadow .25s, transform .25s; }
.prod-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.prod-card img { aspect-ratio: 4/3; object-fit: cover; }
.prod-card .body { padding: 18px 20px; }
.prod-card h4 { font-size: 17px; margin-bottom: 6px; }
.prod-card p { color: var(--ink-2); font-size: 13.5px; margin: 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 40px;
  font-weight: 700; background: var(--brand); color: #fff; border: 0; cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn.outline { background: transparent; border: 2px solid var(--brand); color: var(--brand); }
.btn.outline:hover { background: var(--brand); color: #fff; }

/* ==========================================================================
   Sub-page (interior) layout
   ========================================================================== */
.page-hero {
  position: relative; color: #fff; padding: 66px 0; text-align: center;
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
}
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 10px; }
.page-hero p { color: #d5e6f7; margin: 0; }
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.breadcrumb .wrap { display: flex; align-items: center; gap: 8px; height: 52px; font-size: 13.5px; color: var(--ink-2); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { opacity: .5; }

.page-body { padding: 66px 0; }
.page-body h2 { font-size: 26px; margin: 0 0 18px; }
.page-body h3 { font-size: 20px; margin: 34px 0 12px; color: var(--brand-dark); }
.lead { font-size: 19px; color: var(--ink-2); margin-bottom: 26px; }

/* sub layout with side nav */
.sub-layout { display: grid; grid-template-columns: 240px 1fr; gap: 46px; align-items: start; }
.side-nav { position: sticky; top: 120px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-nav .head { background: var(--brand); color: #fff; padding: 18px 20px; font-weight: 700; font-size: 18px; }
.side-nav a { display: block; padding: 13px 20px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px; transition: .15s; }
.side-nav a:hover { background: var(--bg-soft); color: var(--brand); }
.side-nav li.current a { color: var(--brand); font-weight: 700; background: var(--brand-light); }

/* tables */
.tbl { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 13px 16px; text-align: left; }
.tbl thead th { background: var(--brand); color: #fff; font-weight: 700; }
.tbl tbody tr:nth-child(even) { background: var(--bg-soft); }
.table-scroll { overflow-x: auto; }
/* Headline grade inside a table (SAYTEX ALERO, Dynacard Diamond-Cu).
   Marked per cell, not per row: 구분/상표 cells are rowspan-merged from the row
   above, so a row background would only paint the trailing columns and read as
   a misaligned stripe. The badge sits on the grade itself and is unaffected. */
.tbl .main-item { font-weight: 800; color: var(--brand-dark); }
.tbl .main-item::after {
  content: "MAIN"; display: inline-block; margin-left: 8px;
  padding: 1px 7px; border-radius: 20px;
  background: var(--brand); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 1px;
  vertical-align: 2px; line-height: 1.6;
}

/* highlight card — main emphasised item at the top of a product page */
.highlight-card {
  border: 1px solid var(--brand); border-left: 5px solid var(--brand);
  border-radius: var(--radius); background: var(--brand-light);
  padding: 26px 28px; box-shadow: var(--shadow);
}
.highlight-card .tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 2px;
  color: #fff; background: var(--brand); padding: 4px 12px; border-radius: 20px;
}
.highlight-card h3 { margin: 14px 0 4px; font-size: 26px; color: var(--brand-dark); }
.highlight-card .maker { color: var(--brand); font-weight: 700; font-size: 14.5px; margin-bottom: 12px; }
.highlight-card p { color: var(--ink-2); margin: 0; font-size: 15px; line-height: 1.8; }
.highlight-card p b { color: var(--ink); }
.highlight-card .claim {
  margin: 0 0 14px; font-size: 18px; font-weight: 700; font-style: italic;
  color: var(--brand); line-height: 1.5;
}

/* Product spotlight — visual on the left, structured copy on the right.
   Used for the SAYTEX ALERO block on the flame retardant page. */
.spec-split { display: grid; grid-template-columns: 320px 1fr; gap: 38px; align-items: start; }
.spec-split .visual { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft); }
.spec-split .visual img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.spec-split .eyebrow {
  display: block; font-size: 12.5px; font-weight: 800; letter-spacing: 2.5px;
  color: var(--brand); margin-bottom: 10px;
}
.spec-split h4 { font-size: 23px; line-height: 1.4; color: var(--brand-dark); margin-bottom: 14px; }
.spec-split .copy > p { color: var(--ink-2); line-height: 1.85; }
/* Supplier mark above the heading — height-constrained so swapping in the
   official logo at any aspect ratio can't disturb the layout. */
.maker-mark { display: block; height: 34px; width: auto; margin-bottom: 14px; }

/* Key figures strip — the headline numbers for a product, pulled out of the
   spec table so they land before the reader reaches the detail. */
/* auto-fit rather than a fixed 4 columns: the two product pages carry different
   numbers of figures, and this also removes the need for breakpoint overrides. */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 24px; }
.stat {
  border: 1px solid var(--line); border-top: 3px solid var(--brand);
  border-radius: var(--radius); padding: 22px 18px; background: #fff; text-align: center;
}
/* .n also carries text figures ("Albemarle"), so allow it to wrap and break
   rather than overflow the tile. */
.stat .n { display: block; font-size: 28px; font-weight: 800; color: var(--brand); line-height: 1.15; overflow-wrap: anywhere; }
.stat .n small { font-size: 15px; font-weight: 700; letter-spacing: 0; }
.stat .k { display: block; margin-top: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.55; }

/* Application tiles — deliberately icon-free; the labels are the content and
   glyph fallbacks differ too much across the Korean system fonts. */
.app-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin-top: 18px; }
.app {
  border: 1px solid var(--line); border-top: 3px solid var(--brand);
  border-radius: var(--radius); padding: 18px 14px; background: #fff;
}
.app b { display: block; font-size: 15px; }
.app span { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }

/* Inline schematic (package stack, process flow …). The SVG scales to the
   column; keep viewBox-driven sizing so it stays sharp at any width. */
.diagram { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); padding: 22px 20px; margin-top: 18px; }
.diagram svg { display: block; width: 100%; height: auto; }
.diagram figcaption { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); text-align: center; }

/* Benefit list — flat rows, no card chrome, so it reads as a spec sheet. */
.bullet-list { margin: 16px 0 0; padding: 0; list-style: none; }
.bullet-list li {
  position: relative; padding: 11px 0 11px 26px; color: var(--ink-2);
  line-height: 1.7; border-bottom: 1px solid var(--line);
}
.bullet-list li:last-child { border-bottom: 0; }
.bullet-list li::before {
  content: ""; position: absolute; left: 4px; top: 21px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
}
.bullet-list li b { color: var(--ink); font-weight: 700; }

/* history timeline */
.timeline { border-left: 3px solid var(--line); margin-left: 10px; padding-left: 30px; }
.timeline .item { position: relative; padding-bottom: 30px; }
.timeline .item::before { content:""; position:absolute; left: -40px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-light); }
.timeline .year { font-size: 22px; font-weight: 800; color: var(--brand); margin-bottom: 8px; }
.timeline .row { display: flex; gap: 14px; margin-bottom: 4px; }
.timeline .row .m { font-weight: 700; color: var(--ink); flex: none; width: 44px; }

/* info cards / feature list */
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background:#fff; }
.feature .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-light); color: var(--brand); display:grid; place-items:center; font-size: 22px; margin-bottom: 16px; }
.feature h4 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 14.5px; margin: 0; }

/* CEO layout */
.ceo { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: start; }
.ceo .photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.ceo .sign { margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.ceo .sign b { font-size: 20px; color: var(--ink); }

/* contact / map */
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/8; background: var(--bg-soft); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.info-list { border-top: 2px solid var(--brand); }
.info-list .r { display: flex; gap: 16px; padding: 15px 6px; border-bottom: 1px solid var(--line); }
.info-list .k { width: 120px; font-weight: 700; flex: none; }

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 14.5px; }
.field label .req { color: #e0483d; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font: inherit; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; background:#fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light);
}
.field textarea { resize: vertical; min-height: 150px; }
.field .err { color: #e0483d; font-size: 12.5px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #e0483d; }
.form-actions { grid-column: 1/-1; display: flex; gap: 12px; align-items: center; }
.form-note { color: var(--ink-2); font-size: 13.5px; }
.agree { display: flex; align-items: center; gap: 8px; font-size: 14px; }

/* sitemap */
.sitemap-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.sitemap-col h3 { font-size: 17px; color: var(--brand); border-bottom: 2px solid var(--brand); padding-bottom: 10px; margin-bottom: 12px; }
.sitemap-col a { display: block; padding: 7px 0; color: var(--ink-2); font-size: 14px; }
.sitemap-col a:hover { color: var(--brand); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--bg-dark); color: #b9c8d8; padding: 54px 0 30px; margin-top: 20px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.1); }
.logo-footer { height: 46px; width: auto; display: block; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text small { color: #7f93a8; }
.footer-brand p { font-size: 13.5px; margin-top: 14px; max-width: 340px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; padding: 4px 0; color: #b9c8d8; }
.footer-col a:hover { color: #fff; }
.footer-contact li { font-size: 13.5px; padding: 4px 0; }
.footer-contact b { color: #fff; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; font-size: 12.5px; color: #7f93a8; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  /* .split.even is (0,2,0) and would outrank a bare .split here, keeping two
     columns on tablets — name it explicitly. */
  .split, .split.even, .ceo, .sub-layout { grid-template-columns: 1fr; }
  /* Cap the visual so it doesn't blow up to full width once stacked. */
  .spec-split { grid-template-columns: 1fr; }
  .spec-split .visual { max-width: 320px; }
  .app-grid { grid-template-columns: repeat(3,1fr); }
  .quick-grid, .prod-grid { grid-template-columns: repeat(2,1fr); }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .sitemap-grid { grid-template-columns: repeat(2,1fr); }
  .side-nav { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .header-main .wrap { height: 60px; }
  .gnb {
    position: fixed; top: 0; right: -100%; width: min(82vw, 340px); height: 100vh;
    flex-direction: column; background: #fff; box-shadow: -8px 0 40px rgba(0,0,0,.15);
    padding: 80px 0 40px; overflow-y: auto; transition: right .3s var(--ease); z-index: 200;
  }
  body.nav-open .gnb { right: 0; }
  body.nav-open .nav-toggle span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }
  /* .gnb goes position:fixed here, leaving <nav> as a zero-width flex child.
     space-between then split the row three ways and parked the hamburger in the
     middle — take the empty wrapper out of flow so the row is logo | toggle. */
  .header-main .wrap > nav { position: absolute; }
  .nav-toggle { position: relative; z-index: 210; margin-left: auto; margin-right: 0; }
  .brand { margin-left: 0; }
  .gnb > li > a { height: auto; padding: 16px 26px; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .gnb > li > a::after { display: none; }
  .submenu {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: 0; border-radius: 0; padding: 0; min-width: 0; max-height: 0; overflow: hidden; transition: max-height .3s;
    background: var(--bg-soft);
  }
  .gnb > li.open .submenu { max-height: 500px; }
  /* The desktop dropdown rule `.gnb > li:hover .submenu` lives outside this
     media query and outranks a bare `.submenu` (0,3,1 vs 0,1,0), so hovering
     re-applied translateX(-50%) and pushed the panel's text off-screen.
     Match its specificity here to keep the accordion in place. */
  .gnb > li:hover .submenu { transform: none; }
  .submenu a { padding: 12px 40px; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.4); opacity: 0; visibility: hidden; transition: .3s; z-index: 150; }
  body.nav-open .nav-scrim { opacity: 1; visibility: visible; }
  /* .site-header is position:sticky with z-index:100, so it forms a stacking
     context — the z-index:200 on .gnb only competes *inside* the header, and at
     root level the scrim (150) beat the header (100) and covered the open menu,
     swallowing every tap. Lift the whole header above the scrim while open. */
  body.nav-open .site-header { z-index: 160; }
  /* stop the page behind the drawer from scrolling */
  body.nav-open { overflow: hidden; }
  .quick-grid, .prod-grid, .feature-grid, .form-grid, .footer-top, .sitemap-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: repeat(2,1fr); }
  /* The stack diagram has fixed label sizes in its viewBox — let it scroll
     rather than shrink the type to nothing on a phone. */
  .diagram { overflow-x: auto; padding: 18px 14px; }
  .diagram svg { min-width: 560px; }
  section { padding: 52px 0; }
  .footer-bottom { justify-content: center; text-align: center; }
  /* Copy spans the full width on phones, so the scrim runs top-to-bottom
     instead of left-to-right. */
  .slide::before { background: linear-gradient(180deg, rgba(7,33,60,.58) 0%, rgba(7,33,60,.82) 100%); }
  .hero-btn { width: 38px; height: 38px; font-size: 17px; bottom: 14px; }
  .hero-btn.prev { right: 60px; } .hero-btn.next { right: 14px; }
  .hero-dots { bottom: 24px; }
  /* keep the copy clear of the controls now that they share the bottom edge */
  .slide-inner { padding-bottom: 44px; }
}
