/* ==========================================================
   THE WITHIN — Company Website Stylesheet
   Corporate financial-group design (v2)
   ========================================================== */

:root {
  --navy: #0a1f44;
  --navy-soft: #14325f;
  --navy-deep: #071733;
  --accent: #b3413a;
  --accent-soft: #e08d85;
  --primary: var(--navy);
  --primary-dark: var(--navy-deep);
  --primary-light: #eef1f6;
  --text: #1d2433;
  --text-sub: #5f6b7f;
  --line: #e4e8ee;
  --bg-soft: #f6f7f9;
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 2px 10px rgba(10, 31, 68, 0.05);
  --shadow-hover: 0 12px 30px rgba(10, 31, 68, 0.1);
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  word-break: keep-all;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------------------------------------
   Header
   ---------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.logo img { height: 46px; width: auto; }

.logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--navy);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.logo strong { color: var(--accent); }

.gnb { display: flex; align-items: center; gap: 34px; }

.gnb__item { position: relative; }

.gnb__top {
  position: relative;
  display: inline-block;
  padding: 25px 2px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #6b7484;
  transition: color 0.3s ease;
}

.gnb__top::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 100%;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.gnb__item:hover .gnb__top,
.gnb__top:hover { color: var(--navy); }
.gnb__item:hover .gnb__top::after,
.gnb__top:hover::after { transform: scaleX(1); }

.gnb__top.is-active { color: var(--navy); font-weight: 700; }
.gnb__top.is-active::after {
  transform: scaleX(1);
  background: var(--accent);
}

/* dropdown */
.gnb__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: 0 18px 40px rgba(11, 27, 63, 0.14);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 60;
}

.gnb__item:hover .gnb__sub,
.gnb__item:focus-within .gnb__sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.gnb__sub a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #5b6478;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.gnb__sub a:hover { background: var(--bg-soft); color: var(--navy); }
.gnb__sub a.is-active { color: var(--accent); }

.gnb__cta {
  margin-left: 6px;
  padding: 13px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  letter-spacing: 0.03em;
  transition: background 0.25s ease;
}
.gnb__cta:hover { color: #fff; background: var(--navy-soft); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -8px; left: 0; }
.nav-toggle span::after { top: 8px; left: 0; }

.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); background: var(--navy); }
.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); background: var(--navy); }

/* ----------------------------------------------------------
   Hero (light, corporate)
   ---------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 88% -20%, rgba(10, 31, 68, 0.06), transparent 60%),
    radial-gradient(800px 420px at -10% 120%, rgba(179, 65, 58, 0.05), transparent 55%),
    linear-gradient(180deg, #fbfcfd 0%, #f2f4f8 100%);
  color: var(--text);
  padding: 120px 0 130px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(10, 31, 68, 0.08);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(10, 31, 68, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 26px;
}
.hero__eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 26px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-sub);
  max-width: 640px;
  margin-bottom: 44px;
}
.hero p strong { color: var(--text); }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-soft); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: #b9c2d0;
}
.btn--ghost:hover { border-color: var(--navy); }

.btn--outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--primary-light); }

/* ----------------------------------------------------------
   Sections
   ---------------------------------------------------------- */
.section { padding: 110px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #fff; }

.section__head { text-align: center; max-width: 760px; margin: 0 auto 64px; }

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section__eyebrow::before,
.section__eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section--navy .section__eyebrow { color: var(--accent-soft); }

.section__title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 18px;
  color: var(--navy);
}
.section--navy .section__title { color: #fff; }

.section__desc { color: var(--text-sub); font-size: 17px; }
.section--navy .section__desc { color: rgba(255, 255, 255, 0.72); }

/* ----------------------------------------------------------
   Service overview cards
   ---------------------------------------------------------- */
.easy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.easy-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--navy);
  padding: 40px 32px 34px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.easy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #cfd6e0;
  border-top-color: var(--accent);
}

.easy-card__icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 2px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--navy);
  background: #fff;
}
.easy-card__icon svg { width: 26px; height: 26px; }

.easy-card h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 8px;
}

.easy-card .easy-card__tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 14px;
}

.easy-card p { color: var(--text-sub); font-size: 15.5px; flex: 1; }

.easy-card__example {
  margin-top: 20px;
  padding: 16px 18px;
  background: var(--bg-soft);
  border-left: 2px solid var(--navy);
  font-size: 14px;
  color: var(--text);
}
.easy-card__example strong { color: var(--accent); }

.easy-card__link {
  margin-top: 24px;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.easy-card__link:hover { color: var(--accent); }

/* ----------------------------------------------------------
   Why section (navy band)
   ---------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.why-item {
  background: var(--navy);
  padding: 36px 28px;
}

.why-item__num {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-soft);
  margin-bottom: 14px;
}
.why-item h3 { font-size: 18px; margin-bottom: 10px; letter-spacing: -0.01em; }
.why-item p { font-size: 14.5px; color: rgba(255, 255, 255, 0.68); }

/* ----------------------------------------------------------
   Steps
   ---------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.steps--3 { grid-template-columns: repeat(3, 1fr); }

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: 34px 26px 30px;
  box-shadow: var(--shadow);
}

.step__badge {
  display: inline-block;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding: 0 2px 6px;
  margin-bottom: 18px;
}

.step h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--text-sub); }

/* ----------------------------------------------------------
   Service page: hero (unified corporate)
   ---------------------------------------------------------- */
.svc-hero {
  position: relative;
  padding: 96px 0 88px;
  color: #fff;
  background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  overflow: hidden;
}
.svc-hero::before {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -220px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}
.svc-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.svc-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-soft);
  margin-bottom: 22px;
}
.svc-hero__label::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.svc-hero h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  line-height: 1.32;
}
.svc-hero p { font-size: clamp(16px, 2vw, 19px); max-width: 680px; color: rgba(255, 255, 255, 0.78); }

/* ----------------------------------------------------------
   What-box / analogy
   ---------------------------------------------------------- */
.what-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.what-box__text h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  line-height: 1.4;
}
.what-box__text p { color: var(--text-sub); font-size: 16.5px; margin-bottom: 16px; }
.what-box__text p strong { color: var(--text); }

.analogy {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 34px 32px;
}
.analogy__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  font-size: 16px;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.analogy__title::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--accent);
}
.analogy p { font-size: 15.5px; color: var(--text); }
.analogy p + p { margin-top: 10px; }

/* ----------------------------------------------------------
   Use-case cards (numbered, text-first)
   ---------------------------------------------------------- */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: usecase;
}

.usecase {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--navy);
  padding: 28px 24px;
  text-align: left;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.usecase:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.usecase::before {
  counter-increment: usecase;
  content: "0" counter(usecase);
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}

.usecase h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 8px; letter-spacing: -0.01em; }
.usecase p { font-size: 14px; color: var(--text-sub); }

/* ----------------------------------------------------------
   Flow diagram
   ---------------------------------------------------------- */
.flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.flow__node {
  flex: 1;
  min-width: 190px;
  max-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px 22px;
  text-align: left;
  box-shadow: var(--shadow);
  position: relative;
}

.flow__node--accent { border-color: var(--navy); border-top: 2px solid var(--accent); }

.flow__node h3 { font-size: 15.5px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.flow__node p { font-size: 13.5px; color: var(--text-sub); }

.flow__arrow {
  display: grid;
  place-items: center;
  padding: 0 14px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 800;
}

/* ----------------------------------------------------------
   Benefit list
   ---------------------------------------------------------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.benefit {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}

.benefit__icon {
  flex: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 2px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: #fff;
}
.benefit__icon svg { width: 20px; height: 20px; }

.benefit h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 6px; letter-spacing: -0.01em; }
.benefit p { font-size: 14.5px; color: var(--text-sub); }

/* ----------------------------------------------------------
   FAQ accordion
   ---------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; }

.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: none;
  overflow: hidden;
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }

.faq__q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 28px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.2s ease;
}
.faq__q:hover { background: var(--bg-soft); }

.faq__q::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.25s;
  flex: none;
}

.faq__item.is-open .faq__q::after { transform: rotate(45deg); }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__a-inner {
  padding: 0 28px 26px;
  color: var(--text-sub);
  font-size: 15px;
}

/* ----------------------------------------------------------
   CTA band
   ---------------------------------------------------------- */
.cta-band {
  position: relative;
  background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  color: #fff;
  text-align: center;
  padding: 96px 24px;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -320px;
  transform: translateX(-50%);
  width: 720px;
  height: 720px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-band p { color: rgba(255, 255, 255, 0.72); margin-bottom: 40px; font-size: 17px; }

.cta-band .btn--primary { background: #fff; color: var(--navy); }
.cta-band .btn--primary:hover { background: #e9edf3; }

/* ----------------------------------------------------------
   Contact
   ---------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--navy);
  padding: 38px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  display: grid;
  place-items: center;
  color: var(--navy);
}
.contact-card__icon svg { width: 22px; height: 22px; }

.contact-card h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.contact-card p { font-size: 15px; color: var(--text-sub); }
.contact-card a { color: var(--navy); font-weight: 700; }
.contact-card a:hover { color: var(--accent); }

/* ----------------------------------------------------------
   Company page
   ---------------------------------------------------------- */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 36px 30px;
  box-shadow: var(--shadow);
}
.value-card:nth-child(2) { border-top-color: var(--accent); }
.value-card:nth-child(3) { border-top-color: #8b94a5; }

.value-card h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.value-card p { font-size: 14.5px; color: var(--text-sub); }

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
  padding: 20px 26px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.info-table tr:last-child th,
.info-table tr:last-child td { border-bottom: none; }
.info-table th { width: 180px; background: var(--bg-soft); color: var(--navy); font-weight: 700; }
.info-table td { color: var(--text-sub); }

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.55);
  padding: 64px 0 44px;
  font-size: 14px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.footer .logo { color: #fff; margin-bottom: 16px; }
.footer .logo img { height: 54px; }

.footer__nav { display: flex; gap: 30px; flex-wrap: wrap; }
.footer__nav a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer__nav a:hover { color: #fff; }

.footer__info p { margin-bottom: 6px; }
.footer__copy { margin-top: 22px; font-size: 13px; color: rgba(255, 255, 255, 0.35); }

/* ----------------------------------------------------------
   Reveal animation
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 960px) {
  .easy-grid,
  .about-values,
  .contact-grid { grid-template-columns: 1fr; }

  .why-grid,
  .steps,
  .usecase-grid,
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }

  .steps--3 { grid-template-columns: 1fr; }

  .what-box { grid-template-columns: 1fr; gap: 36px; }

  .flow { flex-direction: column; align-items: center; }
  .flow__node { max-width: 460px; width: 100%; }
  .flow__arrow { transform: rotate(90deg); padding: 10px 0; }

  .gnb { gap: 26px; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero { padding: 84px 0 96px; }

  .why-grid,
  .steps,
  .usecase-grid,
  .benefit-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }

  .gnb {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 2px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-hover);
    display: none;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

  .nav-open .gnb { display: flex; }

  .gnb__item { position: static; }

  .gnb__top {
    display: block;
    padding: 14px 16px;
    border-radius: 8px;
  }
  .gnb__top::after { display: none; }
  .gnb__top:hover { background: var(--bg-soft); }

  .gnb__sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 6px 18px;
    display: none;
  }

  .gnb__item.is-open .gnb__sub { display: block; }
  .gnb__item:hover .gnb__sub { transform: none; }

  .gnb__sub a { white-space: normal; color: var(--text-sub); }

  .gnb__cta { margin-left: 0; margin-top: 10px; text-align: center; }

  .info-table th { width: 110px; }
}

/* ----------------------------------------------------------
   Anchor offset for sticky header
   ---------------------------------------------------------- */
section[id], div[id] { scroll-margin-top: 92px; }

/* ----------------------------------------------------------
   History timeline (연혁)
   ---------------------------------------------------------- */
.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}

.timeline__item { position: relative; padding-bottom: 34px; }
.timeline__item:last-child { padding-bottom: 0; }

.timeline__item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--navy);
}

.timeline__year {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.timeline__item p { color: var(--text-sub); font-size: 15px; }

/* ----------------------------------------------------------
   Notice / board list (PR센터)
   ---------------------------------------------------------- */
.board {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.board__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--text);
  transition: background 0.15s;
}
.board__row:last-child { border-bottom: none; }
.board__row:hover { background: var(--bg-soft); }
.board__row .date { color: var(--text-sub); font-size: 14px; flex: none; }

.board__empty {
  padding: 56px 26px;
  text-align: center;
  color: var(--text-sub);
  font-size: 15.5px;
}

/* ----------------------------------------------------------
   Download cards (자료실)
   ---------------------------------------------------------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.download-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.download-card h3 { font-size: 16.5px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.download-card p { font-size: 14px; color: var(--text-sub); margin-bottom: 18px; }

@media (max-width: 720px) {
  .download-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 26px; }
}

/* ----------------------------------------------------------
   문의 게시판 모달
   ---------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 68, 0.55);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 300;
}
.modal-overlay.is-open { display: flex; }

.modal {
  background: #fff;
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(7, 23, 51, 0.4);
  overflow: hidden;
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  background: var(--navy);
}
.modal__head h3 { color: #fff; font-size: 18px; font-weight: 700; }

.modal__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 26px;
  line-height: 1;
  padding: 2px 8px;
}
.modal__close:hover { color: #fff; }

.modal__tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.modal__tabs button {
  padding: 13px 22px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-sub);
  border-bottom: 2px solid transparent;
}
.modal__tabs button.is-active {
  color: var(--navy);
  border-bottom-color: var(--accent);
  background: #fff;
}

.modal__body { padding: 24px 26px; overflow-y: auto; flex: 1; }

.modal__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px 26px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 13px;
  color: var(--text-sub);
}
.modal__foot button {
  background: none;
  border: none;
  font-size: 13px;
  color: var(--text-sub);
  text-decoration: underline;
}
.modal__foot button:hover { color: var(--navy); }

/* 게시판 테이블 */
.bbs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.bbs th {
  background: var(--bg-soft);
  color: var(--navy);
  font-weight: 700;
  padding: 11px 10px;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.bbs td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  color: var(--text);
}
.bbs tbody tr { cursor: pointer; transition: background 0.15s; }
.bbs tbody tr:hover { background: var(--bg-soft); }

.bbs__badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--bg-soft);
  color: var(--text-sub);
  border: 1px solid var(--line);
}
.bbs__badge--done {
  background: #eef4ee;
  color: #2e6b34;
  border-color: #cfe3d1;
}

.bbs__empty { padding: 44px 10px; text-align: center; color: var(--text-sub); font-size: 15px; }

.bbs__pager { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.bbs__pager button {
  min-width: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-sub);
}
.bbs__pager button.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* 폼 */
.bbs-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bbs-form .full { grid-column: 1 / -1; }
.bbs-form label { display: block; font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.bbs-form label .req { color: var(--accent); }
.bbs-form input,
.bbs-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: #fff;
}
.bbs-form input:focus,
.bbs-form textarea:focus { outline: none; border-color: var(--navy); }
.bbs-form textarea { min-height: 140px; resize: vertical; }

.bbs-form__msg { grid-column: 1 / -1; color: var(--accent); font-size: 14px; min-height: 20px; }

.bbs-btn {
  padding: 12px 26px;
  border: none;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s;
}
.bbs-btn:hover { background: var(--navy-soft); }
.bbs-btn--line {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.bbs-btn--line:hover { background: var(--bg-soft); }
.bbs-btn--danger { background: #fff; color: var(--accent); border: 1px solid var(--accent-soft); }
.bbs-btn--danger:hover { background: #fdf3f2; }

/* 상세 보기 */
.bbs-pass { max-width: 380px; margin: 20px auto; text-align: center; }
.bbs-pass p { font-size: 14.5px; color: var(--text-sub); margin-bottom: 14px; }
.bbs-pass input {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 15px;
  margin-bottom: 10px;
}
.bbs-pass .bbs-form__msg { display: block; margin-top: 8px; }

.bbs-view__meta { font-size: 13.5px; color: var(--text-sub); margin-bottom: 10px; }
.bbs-view__content {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px;
  font-size: 15px;
  white-space: pre-wrap;
  margin-bottom: 18px;
}
.bbs-view__reply {
  border-left: 3px solid var(--navy);
  background: #f4f6fa;
  padding: 16px 18px;
  border-radius: 0 4px 4px 0;
  margin-bottom: 18px;
}
.bbs-view__reply-meta { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.bbs-view__reply-content { font-size: 15px; white-space: pre-wrap; }

.bbs-view__actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .bbs-form { grid-template-columns: 1fr; }
  .bbs th:nth-child(3), .bbs td:nth-child(3) { display: none; }
  .modal-overlay { padding: 10px; }
  .modal { max-height: 94vh; }
}

/* ----------------------------------------------------------
   협력사 그리드 (PR센터)
   ---------------------------------------------------------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.partner-card__logo {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.partner-card__logo img {
  max-height: 84px;
  max-width: 100%;
  object-fit: contain;
}
.partner-card__logo--none {
  background: var(--bg-soft);
  border-radius: 50%;
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
}

.partner-card h3 { font-size: 16.5px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.partner-card p { font-size: 13.5px; color: var(--text-sub); line-height: 1.5; }
.partner-card p a:hover { color: var(--navy); text-decoration: underline; }

/* 관리자 협력사 관리 */
.admin-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.admin-tabs button {
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-sub);
}
.admin-tabs button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.pt-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}
.pt-admin-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px 14px;
  text-align: center;
  position: relative;
}
.pt-admin-card .partner-card__logo { height: 64px; margin-bottom: 10px; }
.pt-admin-card .partner-card__logo img { max-height: 64px; }
.pt-admin-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.pt-admin-card p { font-size: 12.5px; color: var(--text-sub); }
.pt-admin-card__actions { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.pt-admin-card__actions button {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-sub);
}
.pt-admin-card__actions button:hover { color: var(--navy); border-color: var(--navy); }
.pt-admin-card__actions button.danger:hover { color: var(--accent); border-color: var(--accent-soft); }

.pt-logo-preview {
  height: 72px;
  border: 1px dashed var(--line);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  color: var(--text-sub);
  font-size: 13px;
  overflow: hidden;
}
.pt-logo-preview img { max-height: 68px; max-width: 100%; object-fit: contain; }

/* 이메일 문의 비활성화 후 2열 연락처 그리드 */
.contact-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 780px;
  margin: 0 auto;
}

/* ----------------------------------------------------------
   섹션 간격 축소 (메인 상단) + 협력사 등록 티커
   ---------------------------------------------------------- */
.hero--compact { padding: 84px 0 88px; }
.section--compact { padding: 72px 0; }

.partner-ticker {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 24px 9px 10px;
  box-shadow: var(--shadow);
  max-width: 100%;
}

.partner-ticker__label {
  flex: none;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
}

.partner-ticker__viewport { height: 26px; overflow: hidden; }

.partner-ticker__list { margin: 0; padding: 0; }
.partner-ticker__list li {
  height: 26px;
  line-height: 26px;
  font-size: 14.5px;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.partner-ticker__list li strong { color: var(--navy); font-weight: 700; }
.partner-ticker[hidden] { display: none; }

/* 티커를 히어로와 사업영역 사이 띠로 배치 */
.ticker-band {
  position: relative;
  height: 0;
  overflow: visible;
}
.ticker-band[hidden] { display: none; }
.ticker-band .container { text-align: center; }
.ticker-band .partner-ticker {
  margin-top: 0;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: min(690px, calc(100% - 8px));
}
.ticker-band .partner-ticker__viewport { flex: 1; }
.ticker-band .partner-ticker__list li { text-align: center; }

/* ----------------------------------------------------------
   토스트 팝업
   ---------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 44px;
  transform: translate(-50%, 16px);
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(10, 31, 68, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 400;
  max-width: calc(100% - 40px);
  text-align: center;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
