/* SEWON M-TECH Enterprise Design System (2026 Renewal) */
:root {
  --navy: #050d1d;
  --navy-2: #0b1933;
  --navy-3: #12264a;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --sub: #475569;
  --muted: #64748b;
  --pri: #0052cc;
  --pri-hi: #1d4ed8;
  --pri-lt: #eff6ff;
  --cyan: #38bdf8;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --line: #dfe6f0;
  --max: 1340px;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.68 "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
@media (max-width: 768px) { .wrap { padding: 0 18px; } }

/* Scroll reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── Global Mega-Navigation Header ── */
header.gnb {
  position: fixed; top: 0; left: 0; right: 0; height: 84px; z-index: 120;
  transition: background .28s ease, box-shadow .28s ease, border-color .28s ease;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
header.gnb.solid {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(5,13,29,.07);
}
.gnb-in {
  max-width: 1460px; height: 100%; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.brand .logo-dark { display: none; }
header.gnb.solid .brand .logo-light { display: none; }
header.gnb.solid .brand .logo-dark { display: block; }

nav.main-nav { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav-grp { position: relative; height: 100%; display: flex; align-items: center; }
.nav-top {
  padding: 0 18px; font-size: 15.5px; font-weight: 700; color: #fff;
  letter-spacing: -.015em; height: 100%; display: flex; align-items: center;
  position: relative; transition: color .2s;
}
header.gnb.solid .nav-top { color: var(--ink); }
.nav-grp:hover .nav-top, .nav-top.active { color: #60a5fa; }
header.gnb.solid .nav-grp:hover .nav-top, header.gnb.solid .nav-top.active { color: var(--pri); }
.nav-top::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px;
  background: var(--pri-hi); transform: scaleX(0); transition: transform .22s ease;
}
.nav-grp:hover .nav-top::after, .nav-top.active::after { transform: scaleX(1); }

.sub-menu {
  position: absolute; top: 84px; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 214px; background: #fff; border: 1px solid var(--line);
  border-radius: 0 0 14px 14px; padding: 10px 8px;
  box-shadow: 0 22px 48px rgba(5,13,29,.15);
  opacity: 0; visibility: hidden; transition: all .2s ease;
}
.nav-grp:hover .sub-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sub-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 600;
  color: #334155; white-space: nowrap; transition: background .15s, color .15s;
}
.sub-menu a:hover, .sub-menu a.on { background: var(--pri-lt); color: var(--pri); font-weight: 700; }

.gnb-right { display: flex; align-items: center; gap: 14px; }
.tel-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,.9);
  font-variant-numeric: tabular-nums;
}
header.gnb.solid .tel-pill { color: #334155; }
.btn-cs {
  padding: 10px 20px; border-radius: 99px; background: var(--pri-hi); color: #fff;
  font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px;
  transition: all .2s ease; box-shadow: 0 6px 18px rgba(29,78,216,.32);
}
.btn-cs:hover { background: #1e40af; transform: translateY(-1px); }
.mob-btn {
  display: none; background: none; border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px; color: #fff; width: 40px; height: 40px;
  align-items: center; justify-content: center; cursor: pointer;
}
header.gnb.solid .mob-btn { color: var(--ink); border-color: var(--line); }
@media (max-width: 1100px) {
  nav.main-nav, .tel-pill { display: none; }
  .mob-btn { display: inline-flex; }
  .gnb-in { padding: 0 18px; }
}

/* Mobile Full Drawer */
.mob-drawer {
  position: fixed; inset: 0; background: var(--navy); z-index: 250;
  padding: 24px; color: #fff; overflow-y: auto; display: none;
}
.mob-drawer.open { display: block; }
.mob-sec { border-bottom: 1px solid rgba(255,255,255,.1); padding: 16px 0; }
.mob-sec h4 { margin: 0 0 10px; font-size: 15px; font-weight: 800; color: var(--cyan); letter-spacing: .04em; }
.mob-sec .links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.mob-sec .links a { font-size: 14px; color: #e2e8f0; padding: 6px 0; }

/* ── Common Typography & Section Layout ── */
.sec { padding: 104px 0; position: relative; }
.sec.alt { background: var(--bg-alt); }
.sec.dark {
  background: linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: #fff;
}
.blueprint-bg {
  background-image:
    linear-gradient(rgba(56,189,248,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,.045) 1px, transparent 1px);
  background-size: 48px 48px;
}
.sec-hd {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 52px; flex-wrap: wrap;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .16em;
  color: var(--pri); text-transform: uppercase; margin-bottom: 10px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: currentColor; display: inline-block;
}
.sec.dark .eyebrow { color: var(--cyan); }
.sec-title {
  font-size: clamp(27px, 2.9vw, 40px); font-weight: 900;
  letter-spacing: -.03em; margin: 0; line-height: 1.24;
}
.sec-sub { color: var(--sub); font-size: 16px; margin: 12px 0 0; max-width: 660px; line-height: 1.68; }
.sec.dark .sec-sub { color: #cbd5e1; }
@media (max-width: 768px) { .sec { padding: 72px 0; } .sec-hd { margin-bottom: 34px; } }

/* Buttons */
.btn {
  padding: 13px 26px; border-radius: 10px; font-weight: 800; font-size: 14.5px;
  display: inline-flex; align-items: center; gap: 8px; transition: all .2s ease; cursor: pointer;
}
.btn.pri { background: var(--pri-hi); color: #fff; box-shadow: 0 10px 26px rgba(29,78,216,.32); }
.btn.pri:hover { background: #1e40af; transform: translateY(-2px); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: var(--pri); transform: translateY(-2px); }
.btn.ghost { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.26); color: #fff; backdrop-filter: blur(8px); }
.btn.ghost:hover { background: rgba(255,255,255,.18); }
.btn.outline { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.btn.outline:hover { border-color: var(--pri); color: var(--pri); }

/* ── Broadcast YouTube Video Showcase (Cinema 720p HD Layout) ── */
.vid-cinema {
  background: linear-gradient(145deg, #071226 0%, #0d1f40 100%);
  border: 1px solid rgba(96,165,250,.26); border-radius: 24px; padding: 40px;
  color: #fff; box-shadow: 0 24px 60px rgba(5,13,29,.18);
}
.vid-top {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; flex-wrap: wrap; margin-bottom: 26px;
}
.yt-wrap {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px;
  overflow: hidden; background: #000; border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.yt-wrap iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
  transform-origin: 0 0;
}
.yt-ceo-facade {
  position: absolute; inset: 0; z-index: 6; cursor: pointer;
  display: flex; align-items: center; justify-content: center; background: #000;
}
.yt-ceo-facade img {
  width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease;
}
.yt-ceo-facade:hover img { transform: scale(1.025); }
.yt-ceo-facade .play-ui {
  position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.yt-ceo-facade .play-circle {
  width: 78px; height: 78px; border-radius: 50%; background: rgba(37,99,235,.94); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 28px; padding-left: 5px;
  border: 2.5px solid #fff; box-shadow: 0 16px 40px rgba(0,0,0,.65); transition: transform .2s ease;
}
.yt-ceo-facade:hover .play-circle { transform: scale(1.08); background: #ef4444; }
.yt-ceo-facade .play-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.yt-ceo-facade .p-lbl {
  padding: 7px 15px; border-radius: 99px; background: rgba(5,13,29,.9);
  border: 1px solid rgba(125,211,252,.55); color: #fff; font-size: 13px; font-weight: 800;
  box-shadow: 0 8px 22px rgba(0,0,0,.5);
}
.yt-ceo-facade .p-lbl.sub {
  background: rgba(15,23,42,.82); border-color: rgba(255,255,255,.28); color: #cbd5e1; font-size: 12px;
}
.yt-ceo-facade .p-lbl.sub:hover { color: #fff; border-color: #fff; }
.tv-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px;
  border-radius: 99px; background: rgba(239,68,68,.18); border: 1px solid rgba(248,113,113,.45);
  color: #fca5a5; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; margin-bottom: 10px;
}
.tv-dot { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 8px #ef4444; }
.vid-points-3 {
  margin: 24px 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.vid-points-3 li {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px; padding: 16px 18px; font-size: 13.8px; color: #e2e8f0; line-height: 1.58;
}
.vid-points-3 li strong { display: block; color: #7dd3fc; font-size: 13.5px; margin-bottom: 4px; }
@media (max-width: 920px) {
  .vid-cinema { padding: 22px; }
  .vid-points-3 { grid-template-columns: 1fr; }
}

/* ── Partner Logos Marquee & Grid ── */
.marquee-wrap {
  overflow: hidden; position: relative; padding: 18px 0 38px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.marquee-track {
  display: flex; gap: 18px; width: max-content;
  animation: marqueeScroll 38s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.mq-pill {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  height: 74px; min-width: 195px; padding: 14px 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(15,23,42,.03);
}
.mq-pill img { max-height: 36px; max-width: 148px; width: auto; object-fit: contain; }

.partner-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
@media (max-width: 1080px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.p-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 20px 16px; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 152px; transition: all .24s ease; position: relative; overflow: hidden;
}
.p-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--pri), var(--cyan)); opacity: 0; transition: opacity .24s;
}
.p-card:hover {
  border-color: #93c5fd; transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15,23,42,.08);
}
.p-card:hover::before { opacity: 1; }
.p-badge {
  align-self: flex-end; font-size: 10.5px; font-weight: 800; padding: 3px 8px;
  border-radius: 99px; background: #eff6ff; color: var(--pri); letter-spacing: .02em;
}
.p-badge.gold { background: #fef3c7; color: #b45309; }
.p-logo-area {
  height: 58px; display: flex; align-items: center; justify-content: center; margin: 6px 0 10px;
}
.p-logo-area img { max-height: 44px; max-width: 175px; width: auto; object-fit: contain; }
.p-logo-area img.tall { max-height: 54px; max-width: 195px; }
.p-meta { border-top: 1px solid #f1f5f9; padding-top: 10px; text-align: center; }
.p-meta strong { display: block; font-size: 13.5px; font-weight: 800; color: var(--ink); }
.p-meta span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* ── Subpage Hero & Sticky LNB ── */
.sub-hero {
  position: relative; padding: 154px 0 68px; color: #fff;
  background: var(--navy); overflow: hidden;
}
.sub-hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .28; transform: scale(1.03);
}
.sub-hero-ov {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(5,13,29,.92) 0%, rgba(11,25,51,.78) 60%, rgba(5,13,29,.9) 100%);
}
.sub-hero .wrap { position: relative; z-index: 2; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px;
  color: rgba(203,213,225,.85); margin-bottom: 14px; font-weight: 600;
}
.breadcrumb span.sep { opacity: .45; }
.sub-hero h1 {
  font-size: clamp(30px, 3.4vw, 46px); font-weight: 900;
  letter-spacing: -.03em; margin: 0 0 12px; line-height: 1.2;
}
.sub-hero p {
  margin: 0; font-size: 16px; color: rgba(226,232,240,.86); max-width: 680px;
}

.lnb-bar {
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 84px; z-index: 90;
  box-shadow: 0 4px 16px rgba(15,23,42,.03);
}
.lnb-tabs {
  display: flex; align-items: center; gap: 4px; overflow-x: auto;
  scrollbar-width: none;
}
.lnb-tabs::-webkit-scrollbar { display: none; }
.lnb-tabs a {
  padding: 16px 22px; font-size: 14.5px; font-weight: 700; color: var(--sub);
  white-space: nowrap; border-bottom: 3px solid transparent; transition: all .18s;
}
.lnb-tabs a:hover { color: var(--pri); }
.lnb-tabs a.on { color: var(--pri); border-bottom-color: var(--pri); font-weight: 800; }

/* ── Subpage Modular Content Components ── */
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; } }

.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 32px 30px; box-shadow: 0 8px 26px rgba(15,23,42,.035);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.info-card:hover { transform: translateY(-3px); border-color: #93c5fd; box-shadow: 0 16px 38px rgba(15,23,42,.07); }
.ic-box {
  width: 48px; height: 48px; border-radius: 12px; background: var(--pri-lt);
  color: var(--pri); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.info-card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.info-card p { margin: 0; color: var(--sub); font-size: 14.5px; line-height: 1.7; }

/* Split Feature Row (Product / Division Showcase) */
.feat-block {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 36px; margin-bottom: 28px; box-shadow: 0 10px 30px rgba(15,23,42,.035);
}
.feat-block.rev { grid-template-columns: 1fr 1.05fr; }
.feat-block.rev .feat-media { order: 2; }
@media (max-width: 920px) {
  .feat-block, .feat-block.rev { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .feat-block.rev .feat-media { order: 0; }
}
.feat-media {
  border-radius: 14px; overflow: hidden; background: #f8fafc; border: 1px solid #e2e8f0;
  aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center;
}
.feat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feat-media.contain img { object-fit: contain; padding: 16px; background: #fff; }
.feat-block:hover .feat-media img { transform: scale(1.03); }
.feat-body .num-tag {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .12em;
  color: var(--pri); background: var(--pri-lt); padding: 4px 10px; border-radius: 6px; margin-bottom: 12px;
}
.feat-body h3 { font-size: 24px; font-weight: 900; margin: 0 0 12px; letter-spacing: -.025em; }
.feat-body p { color: var(--sub); font-size: 15px; margin: 0 0 18px; line-height: 1.72; }
.spec-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.spec-list li {
  display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--ink-2); font-weight: 600;
}
.spec-list li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pri-hi);
  margin-top: 8px; flex-shrink: 0;
}

/* Data / Spec Table */
.corp-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table.corp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.corp-table th, .corp-table td { padding: 14px 18px; border-bottom: 1px solid #e9eef5; text-align: left; }
.corp-table thead th { background: #0f172a; color: #fff; font-weight: 700; font-size: 13.5px; }
.corp-table tbody th { background: #f8fafc; width: 190px; font-weight: 800; color: var(--ink); }
.corp-table tr:last-child th, .corp-table tr:last-child td { border-bottom: none; }

/* Gallery Grid */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
@media (max-width: 960px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
.ph-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
}
.ph-item .img-box { aspect-ratio: 4 / 3; background: #f8fafc; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ph-item .img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ph-item .img-box.contain img { object-fit: contain; padding: 12px; background: #fff; }
.ph-item:hover .img-box img { transform: scale(1.05); }
.ph-item .cap { padding: 11px 14px; font-size: 13px; font-weight: 700; color: var(--ink-2); text-align: center; border-top: 1px solid #f1f5f9; }

/* Timeline */
.timeline { position: relative; padding-left: 32px; border-left: 2px solid #cbd5e1; display: grid; gap: 28px; }
.tl-item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; }
.tl-item::before {
  content: ""; position: absolute; left: -40px; top: 28px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--pri-hi); border: 3px solid #dbeafe;
}
.tl-yr { font-size: 24px; font-weight: 900; color: var(--pri); letter-spacing: -.02em; margin-bottom: 10px; }
.tl-ev { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.tl-ev li { font-size: 14.5px; color: var(--ink-2); display: flex; gap: 12px; }
.tl-ev li b { color: var(--muted); font-variant-numeric: tabular-nums; min-width: 48px; }

/* Step Process */
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 16px; }
.step-box {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px;
  position: relative;
}
.step-box .st-no { font-size: 11.5px; font-weight: 900; color: var(--pri); letter-spacing: .1em; margin-bottom: 6px; }
.step-box h4 { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.step-box p { margin: 0; font-size: 13.5px; color: var(--sub); line-height: 1.6; }

/* ── Corporate Footer ── */
footer.corp-ft { background: #040a17; color: #94a3b8; padding: 68px 0 44px; font-size: 13.5px; border-top: 1px solid rgba(255,255,255,.08); }
.ft-top {
  display: grid; grid-template-columns: 1.55fr repeat(4, 1fr); gap: 28px;
  padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.ft-col h5 { color: #fff; font-size: 14px; font-weight: 800; margin: 0 0 14px; letter-spacing: -.01em; }
.ft-col a { display: block; color: #94a3b8; padding: 4.5px 0; font-size: 13px; transition: color .15s; }
.ft-col a:hover { color: #fff; }
.ft-btm {
  padding-top: 26px; display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: #64748b;
}
@media (max-width: 980px) { .ft-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ft-top { grid-template-columns: 1fr; } }
