@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/woff2/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
}

:root {
  --ink: #0b2e4f;
  --ink-soft: #3f5b74;
  --bg: #f5f9fc;
  --bg-panel: #ffffff;
  --mint: #dcedfb;
  --mint-deep: #bfe0f5;
  --teal: #1565c0;
  --teal-deep: #0b3c74;
  --amber: #f4941d;
  --line: #dae6f0;
  --radius-s: 6px;
  --radius-m: 14px;
  --shadow: 0 12px 30px -14px rgba(16, 36, 46, 0.18);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 250, 249, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo .drop {
  color: var(--teal);
  font-size: 22px;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-logo img {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
}

.main-nav a:hover { color: var(--teal-deep); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: var(--radius-s);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

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

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

.btn-block { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 64px;
  background:
    radial-gradient(60% 90% at 82% 0%, var(--mint) 0%, transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 800;
}

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

.hero p.lead {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 46ch;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-badges {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-badges .badge {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-badges .num {
  font-size: 22px;
  font-weight: 800;
  color: var(--teal-deep);
}

.hero-badges .cap {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.hero-visual {
  background: var(--bg-panel);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 28px;
  position: relative;
}

.hero-visual .today-card {
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 22px 22px 20px;
  margin-bottom: 18px;
}

.hero-visual .today-card .label {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 6px;
}

.hero-visual .today-card .value {
  font-size: 26px;
  font-weight: 800;
}

.hero-visual .checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.hero-visual .checklist li:last-child { border-bottom: none; }
.hero-visual .checklist .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ---------- Section shell ---------- */
section { padding: 84px 0; }
section.tint { background: var(--bg-panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  max-width: 56ch;
  margin-bottom: 44px;
}

.section-head .kicker {
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 30px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  font-weight: 800;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 0;
}

/* ---------- Services ---------- */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.service-item {
  background: var(--bg-panel);
  padding: 30px 28px;
}

.service-item h3 {
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-item h3 .icon {
  color: var(--teal);
  font-size: 20px;
}

.service-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-item {
  border-top: 3px solid var(--teal);
  padding-top: 16px;
}

.why-item h3 {
  font-size: 17px;
  margin: 0 0 8px;
  font-weight: 700;
}

.why-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

/* ---------- Process ---------- */
.process-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-rail::before {
  content: '';
  position: absolute;
  top: 21px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: var(--mint-deep);
}

.process-step {
  position: relative;
  padding-top: 56px;
  text-align: left;
}

.process-step .step-num {
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 1;
}

.process-step h3 {
  font-size: 16.5px;
  margin: 0 0 6px;
  font-weight: 700;
}

.process-step p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-m);
  background: linear-gradient(150deg, var(--mint) 0%, var(--mint-deep) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  border: 1px solid var(--line);
}

.gallery-item span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal-deep);
  background: rgba(255,255,255,0.75);
  padding: 5px 10px;
  border-radius: 6px;
}

.gallery-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------- About / contact ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.info-table {
  border-top: 1px solid var(--line);
}

.info-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.info-row .k {
  color: var(--ink-soft);
  font-weight: 600;
}

.info-row .v a { color: var(--teal-deep); font-weight: 600; }

.cta-panel {
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%);
  border-radius: var(--radius-m);
  padding: 36px;
  color: #fff;
}

.cta-panel h3 {
  font-size: 22px;
  margin: 0 0 10px;
  font-weight: 800;
}

.cta-panel p {
  margin: 0 0 24px;
  font-size: 14.5px;
  opacity: 0.9;
}

.cta-panel .btn-primary {
  background: #fff;
  color: var(--teal-deep);
}
.cta-panel .btn-primary:hover { background: var(--mint); }

.cta-panel .btn-ghost {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.cta-panel .btn-ghost:hover { background: rgba(255,255,255,0.15); color: #fff; }

.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cfe3e0;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 14px;
}

.footer-grid p, .footer-grid li {
  font-size: 13.5px;
  color: #a9c2bf;
  margin: 0 0 8px;
}

.footer-grid a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  font-size: 12.5px;
  color: #7f9c98;
}

/* ---------- Apply / form page ---------- */
.page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
  background: var(--mint);
}

.page-hero h1 {
  font-size: 32px;
  margin: 0 0 10px;
  font-weight: 800;
}

.page-hero p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 50ch;
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.form-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 32px;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 8px;
}

.field .req { color: var(--amber); }

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fbfdfc;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.field input[type="file"] {
  border: 1px dashed var(--line);
  background: #fbfdfc;
  padding: 14px;
  cursor: pointer;
}

.photo-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.photo-preview img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
}

.photo-warning {
  font-size: 13px;
  color: #b23b2f;
  margin-top: 6px;
}

.field textarea { resize: vertical; min-height: 110px; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.checkbox-row input { margin-top: 3px; }

.side-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
  margin-bottom: 20px;
}

.side-card h3 {
  font-size: 16px;
  margin: 0 0 10px;
}

.side-card p, .side-card li {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

.form-status {
  margin-top: 16px;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: var(--mint); color: var(--teal-deep); }
.form-status.err { background: #fdeceb; color: #b23b2f; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .service-list { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-rail { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .process-rail::before { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-panel);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
