:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #14213d;
  --muted: #4b5568;
  --primary: #0f5bd9;
  --primary-dark: #0a3e98;
  --accent: #7dd3fc;
  --border: #e6ebf5;
  --shadow: 0 20px 45px rgba(20, 33, 61, 0.14);
  --shadow-sm: 0 10px 24px rgba(20, 33, 61, 0.1);
  --shadow-lift: 0 30px 60px rgba(20, 33, 61, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16.5px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 235, 245, 0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary-dark);
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

.hero {
  position: relative;
  padding: 5rem 0 4rem;
  color: white;
  background: linear-gradient(135deg, rgba(5, 29, 78, 0.93), rgba(15, 91, 217, 0.82)),
    url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1400&q=80') center/cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 26, 62, 0.92), rgba(9, 26, 62, 0.5));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.3);
}

.hero p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.06rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.hero-card p {
  color: var(--text);
  text-shadow: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.84rem 1.2rem;
  font-weight: 700;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: white;
  color: var(--primary-dark);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.26);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
}

.hero-highlights li {
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-card {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  border-radius: 24px;
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.card-badge {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #e8f1ff;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 1rem;
}

.stat-grid div {
  padding: 0.8rem;
  border-radius: 14px;
  background: #f6f9ff;
  text-align: center;
  box-shadow: inset 0 0 0 1px var(--border);
}

.stat-grid strong {
  display: block;
  font-size: 1.15rem;
  color: var(--primary-dark);
}

.stat-grid span {
  font-size: 0.83rem;
  color: var(--muted);
}

.trust-band {
  padding: 1.4rem 0;
  background: white;
  border-bottom: 1px solid var(--border);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  font-weight: 700;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-list span {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--primary-dark);
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, #f9fbff 0%, #f2f6ff 100%);
}

.section-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.section-heading h2,
.split-layout h2,
.contact-wrap h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 0.6rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.info-card,
.testimonial-card,
.panel-box,
.contact-form {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
  overflow: hidden;
}

.info-card::before,
.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.9;
}

.info-card {
  display: block;
  padding: 1.6rem 1.5rem;
}

.info-card h3,
.panel-box h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.info-card p,
.testimonial-card p {
  color: var(--muted);
}

a.info-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(15, 91, 217, 0.25);
}

.subject-card h3 {
  color: var(--primary-dark);
}

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.lead {
  color: var(--muted);
  font-size: 1.04rem;
}

.check-list {
  padding-left: 1.1rem;
  color: var(--text);
}

.check-list li {
  margin-bottom: 0.75rem;
}

.panel-box {
  padding: 1.6rem 1.5rem;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.step-item:last-child {
  border-bottom: 0;
}

.step-item strong {
  width: 2.3rem;
  height: 2.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 8px 16px rgba(15, 91, 217, 0.28);
  font-size: 0.95rem;
  font-weight: 700;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  padding: 1.5rem;
}

.testimonial-card p {
  margin-top: 0.4rem;
}

#regions {
  background-image: radial-gradient(rgba(15, 91, 217, 0.14) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

.region-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.region-group {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-sm);
}

.region-group h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--primary-dark);
}

.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.region-tags li {
  padding: 0.35rem 0.75rem;
  background: #eef4ff;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.page-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  color: white;
  background: linear-gradient(135deg, rgba(5, 29, 78, 0.95), rgba(15, 91, 217, 0.85));
}

.page-hero .eyebrow {
  color: var(--accent);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.3);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.05rem;
  max-width: 640px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

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

.contact-form {
  padding: 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(15, 91, 217, 0.2);
  border-color: var(--primary);
}

.form-message {
  min-height: 1.2rem;
  margin: 0;
  color: var(--primary);
  font-weight: 700;
}

.site-footer {
  background: #0f1830;
  color: rgba(255, 255, 255, 0.86);
  padding: 2.5rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links strong {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: white;
}

@media (max-width: 860px) {
  .hero-content,
  .split-layout,
  .contact-wrap,
  .card-grid,
  .testimonial-grid,
  .region-groups {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

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

@media (max-width: 700px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    flex-direction: column;
    background: white;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: none;
  }

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

  .footer-wrap {
    flex-direction: column;
  }
}
