/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy-900: #0a1f38;
  --navy-800: #0f2b4a;
  --navy-700: #16385f;
  --navy-600: #1e4a7a;
  --gold: #c9a227;
  --gold-light: #e8c96a;
  --ink: #16202c;
  --gray-700: #4a5563;
  --gray-500: #7c8794;
  --gray-300: #d8dde3;
  --gray-100: #f4f6f8;
  --white: #ffffff;

  --c-beauty: #d16b8f;
  --c-it: #2f7fd6;
  --c-ai: #7c5cff;
  --c-realestate: #2f9e6e;
  --c-finance: #c9902f;

  --container: 1160px;
  --radius: 14px;
  --transition: 0.35s cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-900);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201,162,39,0.35);
}
.btn-outline {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(10, 31, 56, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.logo-icon {
  height: 30px;
  width: auto;
  display: block;
}
.logo-mark {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.logo-sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gold-light);
}
.main-nav {
  display: flex;
  gap: 40px;
}
.main-nav a {
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-600) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(201,162,39,0.25), transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(47,158,110,0.18), transparent 40%),
    radial-gradient(circle at 60% 90%, rgba(47,127,214,0.16), transparent 45%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 90px;
}
.hero-eyebrow {
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 14px;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.1s;
}
.hero-title {
  color: var(--white);
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.25s;
}
.hero-title span { color: var(--gold-light); }
.hero-desc {
  color: rgba(255,255,255,0.78);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.55s;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  z-index: 2;
}
.scroll-indicator span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--gold-light);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDown 1.6s ease infinite;
}
@keyframes scrollDown {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 20px; }
}

/* ===== Section common ===== */
section { padding: 110px 0; }
.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head.light .section-title,
.section-head.light .section-desc { color: var(--white); }
.section-eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 16px;
}
.section-desc {
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== About ===== */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.about-lead {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 20px;
  line-height: 1.6;
}
.about-text p { color: var(--gray-700); margin-bottom: 16px; font-size: 15.5px; }
.brand-quote {
  position: relative;
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 26px;
  margin-bottom: 28px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.brand-quote strong {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.02em;
}
.brand-quote .quote-mark {
  position: absolute;
  left: -6px;
  top: -18px;
  font-size: 56px;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.25;
  font-family: Georgia, serif;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(10,31,56,0.08); }
.stat-num {
  display: block;
  font-size: 40px;
  font-weight: 900;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.stat-num em { font-style: normal; font-size: 22px; }
.stat-label { color: var(--gray-500); font-size: 13.5px; font-weight: 500; }

/* ===== Business ===== */
.business { background: var(--gray-100); }
.business-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.biz-card { grid-column: span 2; }
.biz-card:nth-child(4) { grid-column: 2 / span 2; }
.biz-card:nth-child(5) { grid-column: 4 / span 2; }
.biz-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px 30px;
  border: 1px solid var(--gray-300);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.biz-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent, var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.biz-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10,31,56,0.1);
  border-color: transparent;
}
.biz-card:hover::before { transform: scaleX(1); }

.biz-beauty { --accent: var(--c-beauty); }
.biz-it { --accent: var(--c-it); }
.biz-ai { --accent: var(--c-ai); }
.biz-realestate { --accent: var(--c-realestate); }
.biz-finance { --accent: var(--c-finance); }

.biz-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.biz-icon svg { width: 28px; height: 28px; }
.biz-num {
  position: absolute;
  top: 34px; right: 28px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-300);
  letter-spacing: 0.05em;
}
.biz-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 12px;
}
.biz-card p {
  color: var(--gray-700);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 20px;
  min-height: 96px;
}
.biz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.biz-tags li {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, white);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ===== Values ===== */
.values {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.value-item {
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.value-index {
  display: block;
  color: var(--gold-light);
  font-weight: 800;
  font-size: 14px;
  margin: 20px 0 14px;
}
.value-item h3 {
  color: var(--white);
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 12px;
}
.value-item p {
  color: rgba(255,255,255,0.68);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ===== News ===== */
.news { background: var(--white); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(10,31,56,0.08);
}
.news-tag {
  display: inline-block;
  background: var(--navy-900);
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.news-card time {
  display: block;
  color: var(--gray-500);
  font-size: 12.5px;
  margin-bottom: 10px;
}
.news-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
  line-height: 1.5;
}
.news-card p {
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== Contact ===== */
.contact { background: var(--gray-100); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
.contact-info {
  background: var(--navy-900);
  border-radius: var(--radius);
  padding: 40px;
  height: fit-content;
}
.info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.info-row:first-child { padding-top: 0; }
.info-label {
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.info-value {
  color: var(--white);
  font-size: 15.5px;
  font-weight: 500;
}
.info-note {
  margin-top: 18px;
  color: rgba(255,255,255,0.45);
  font-size: 12px;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--gray-300);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--transition);
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--navy-600);
}
.form-status {
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-realestate);
  min-height: 18px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-900);
  padding: 50px 0;
}
.footer-inner { text-align: center; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-logo-icon { height: 38px; }
.footer-text {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.footer-copy {
  color: rgba(255,255,255,0.35);
  font-size: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .business-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-card,
  .biz-card:nth-child(4),
  .biz-card:nth-child(5) { grid-column: auto; }
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  section { padding: 76px 0; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 72%;
    max-width: 320px;
    background: var(--navy-900);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .business-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .mobile-br { display: none; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
}
