:root {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --text: #131418;
  --muted: #636a75;
  --line: #e5e7eb;
  --accent: #0f172a;
  --accent-2: #334155;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 5%, #ffffff 0%, #f3f4f6 35%, #eef0f3 100%);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.05rem;
  font-weight: 750;
}

.header-actions,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  border-radius: 999px;
  padding: 0.76rem 1.2rem;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 650;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

.btn-solid {
  background: var(--accent);
  color: #fff;
}

.btn-solid:hover {
  background: #0b1223;
}

.btn-ghost {
  background: #fff;
  color: var(--accent);
  border-color: var(--line);
}

.hero {
  padding-top: 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #eef2f7;
  color: #1e293b;
  font-size: 0.8rem;
  font-weight: 650;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  margin-bottom: 1.2rem;
}

.lead {
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  margin: 1rem 0 0.55rem;
  color: #1f2937;
  font-weight: 600;
}

.sub {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.hero-visual-wrap {
  display: grid;
  gap: 0.8rem;
}

.hero-visual {
  position: relative;
  min-height: 290px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #f0f9ff 35%, #e2e8f0);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.hero-visual.has-image img {
  display: block;
}

.placeholder-content {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #334155;
  font-weight: 650;
}

.hero-visual.has-image .placeholder-content {
  display: none;
}

.hero-info-cards {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(3, 1fr);
}

.mini-card,
.card,
.value-card,
.content-card,
.accordion-item,
.contact-inner {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.mini-card {
  padding: 0.95rem;
}

.mini-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.mini-value {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.section-highlight .value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.value-card {
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.value-card h3 {
  margin-top: 0.7rem;
  font-size: 1.1rem;
}

.value-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.badge {
  display: inline-block;
  min-width: 46px;
  text-align: center;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 750;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1.2rem;
}

.card p {
  color: var(--muted);
  margin: 0.6rem 0 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.content-card {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: #0f172a;
  background:
    linear-gradient(160deg, #e7f0ff 0%, #f8fafc 55%, #e2e8f0 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.content-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.accordion {
  display: grid;
  gap: 0.7rem;
}

.accordion-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 1.1rem;
  cursor: pointer;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.accordion-panel p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--muted);
}

.accordion-item.open .accordion-trigger {
  color: #0b1223;
}

.contact-section {
  padding-bottom: 96px;
}

.contact-inner {
  padding: 1.8rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-inner p {
  margin: 0.7rem 0 1.3rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  padding: 1rem 0 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 90;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.modal-panel {
  position: relative;
  width: min(520px, calc(100% - 2rem));
  margin: 10vh auto;
  padding: 1.2rem 1.2rem 1.4rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  right: 0.8rem;
  top: 0.6rem;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: #475569;
}

.modal-panel h3 {
  margin-bottom: 0.6rem;
  padding-right: 2rem;
}

.modal-panel p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .section-highlight .value-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .header-inner {
    min-height: 64px;
  }

  .btn {
    padding: 0.72rem 1rem;
    font-size: 0.88rem;
  }

  .hero-info-cards {
    grid-template-columns: 1fr;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}
