/* ===================== TOKENS ===================== */
:root {
  --primary: #0E254C;
  --primary-light: #1b3a6e;
  --primary-dark: #091a38;
  --text: #1a1f2b;
  --text-muted: #5b6474;
  --line: #e5e8ee;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --radius: 14px;
  --max: 1200px;
  --header-h: 76px;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", sans-serif;
}

/* ===================== RESET ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum";
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  cursor: pointer; border: 1.5px solid transparent; transition: all .2s ease;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--block { width: 100%; padding: 16px; font-size: 1.05rem; }

/* ===================== HEADER ===================== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: var(--header-h); display: flex; align-items: center; gap: 48px;
}
.header__logo img { height: 34px; width: auto; }

.gnb__list { display: flex; gap: 40px; }
.gnb__list a {
  position: relative; font-size: 1.02rem; font-weight: 600; color: var(--primary);
  padding: 6px 0;
}
.gnb__list a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--primary); transition: width .25s ease;
}
.gnb__list a:hover::after { width: 100%; }

.gnb__toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; background: none;
  border: none; cursor: pointer; flex-direction: column; justify-content: center;
  gap: 6px; padding: 10px;
}
.gnb__toggle span { display: block; height: 2px; background: var(--primary); border-radius: 2px; transition: .25s; }

/* ===================== HERO ===================== */
.hero {
  background:
    linear-gradient(135deg, rgba(9,26,56,.92) 0%, rgba(14,37,76,.82) 55%, rgba(27,58,110,.72) 100%),
    url("../images/hero-banner.png") center / cover no-repeat;
  color: #fff; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%); border-radius: 50%;
}
.hero__inner {
  max-width: var(--max); margin: 0 auto; padding: 120px 24px 130px; position: relative; z-index: 1;
}
.hero__eyebrow {
  letter-spacing: .25em; font-size: .85rem; font-weight: 600;
  color: rgba(255,255,255,.65); margin-bottom: 22px;
}
.hero__title { font-size: 3.1rem; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.hero__title strong { color: #8db4ff; }
.hero__desc { margin: 26px 0 40px; font-size: 1.15rem; color: rgba(255,255,255,.8); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===================== SECTION ===================== */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; margin-bottom: 60px; }
.section__tag {
  display: inline-block; letter-spacing: .2em; font-size: .8rem; font-weight: 700;
  color: var(--primary-light); margin-bottom: 14px;
}
.section__title { font-size: 2.2rem; font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.section__sub { margin-top: 14px; color: var(--text-muted); font-size: 1.08rem; }

/* ===================== ABOUT ===================== */
.about__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.about__text h3 { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; letter-spacing: -.01em; }
.about__text p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.05rem; }
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about__stats li {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
}
.about__stats strong { display: block; font-size: 2.3rem; font-weight: 800; color: var(--primary); }
.about__stats strong span { font-size: 1.1rem; font-weight: 700; }
.about__stats p { margin-top: 6px; color: var(--text-muted); font-size: .95rem; }

/* ===================== CARDS ===================== */
#business .container { max-width: 1360px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(14,37,76,.12); border-color: transparent; }
.card__thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.card__thumb img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease;
}
.card:hover .card__thumb img { transform: scale(1.06); }
.card__body { padding: 24px 24px 28px; }
.card__num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 1.05rem;
  margin-bottom: 16px;
}
.card__body h3 { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.card__body p { color: var(--text-muted); font-size: 1rem; }

/* ===================== QUOTE FORM ===================== */
.quote-form { max-width: 760px; margin: 0 auto; }
.quote-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--primary); font-size: .98rem; }
.field label span { color: #e2574c; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 1rem; font-family: inherit; color: var(--text); background: #fff; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); }
.field textarea { resize: vertical; }

.quote-form__status { margin-top: 16px; text-align: center; font-size: .98rem; font-weight: 600; min-height: 1.2em; }
.quote-form__status.is-success { color: #1a8a4f; }
.quote-form__status.is-error { color: #e2574c; }

/* ===================== FOOTER ===================== */
.footer { background: var(--primary-dark); color: rgba(255,255,255,.6); padding: 56px 0; }
.footer__inner { display: block; }
.footer__name { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.footer__tel { margin-top: 16px; font-size: 1.35rem; font-weight: 700; color: #fff; letter-spacing: .01em; }

.footer__nav { display: flex; flex-wrap: wrap; gap: 26px; margin-bottom: 22px; }
.footer__nav a { font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.85); }
.footer__nav a:hover { color: #fff; }

.footer__line { font-size: .82rem; line-height: 1.5; color: rgba(255,255,255,.55); margin-bottom: 7px; }
.footer__line strong { font-weight: 600; color: rgba(255,255,255,.85); margin-right: 6px; }
.footer__line span { position: relative; }
.footer__line span + span { margin-left: 14px; padding-left: 14px; }
.footer__line span + span::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 11px; background: rgba(255,255,255,.25);
}
.footer__copy { margin-top: 20px; font-size: .8rem; color: rgba(255,255,255,.4); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .header__inner { gap: 0; }
  .gnb {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .gnb.is-open { max-height: 260px; }
  .gnb__list { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .gnb__list li { border-bottom: 1px solid var(--line); }
  .gnb__list li:last-child { border-bottom: none; }
  .gnb__list a { display: block; padding: 16px 0; }
  .gnb__toggle { display: flex; }
  .hero__title { font-size: 2.1rem; }
  .hero__inner { padding: 80px 24px 90px; }
  .section { padding: 70px 0; }
  .section__title { font-size: 1.8rem; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .quote-form__row { grid-template-columns: 1fr; gap: 0; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .footer__line span { display: block; }
  .footer__line span + span { margin-left: 0; padding-left: 0; }
  .footer__line span + span::before { display: none; }
}
