:root {
  --ink: #0F1E3D;
  --body: #46567A;
  --muted: #667694;
  --blue: #2563EB;
  --blue-hover: #1D4ED8;
  --blue-deep: #1E3A8A;
  --blue-soft: #EAF1FF;
  --sky: #EEF4FF;
  --mist: #F5F8FF;
  --line: #E1E8F5;
  --white: #FFFFFF;
  --navy: #0B1630;
  --container: 1120px;
  --shadow-card: 0 1px 2px rgba(15, 30, 61, 0.04), 0 12px 32px -12px rgba(37, 99, 235, 0.14);
  --shadow-card-hover: 0 1px 2px rgba(15, 30, 61, 0.04), 0 22px 44px -16px rgba(37, 99, 235, 0.28);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    "Pretendard Variable", "Pretendard",
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic",
    system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.025em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
address { font-style: normal; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: #BFD7FF; color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 6px;
}

.container {
  width: min(var(--container), calc(100% - 80px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 16px;
  padding: 12px 20px;
  background: var(--blue);
  color: white;
  border-radius: 8px;
}

.skip-link:focus { top: 12px; }

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mascot {
  width: 38px;
  height: 48px;
  flex-shrink: 0;
}

.brand-name {
  color: var(--ink);
  font-size: 21px;
  font-weight: 760;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

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

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: #3A4A6E;
  font-size: 15px;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease;
}

.main-nav a:hover { color: var(--blue); background: var(--blue-soft); }
.main-nav .icon { width: 15px; height: 15px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 88% 0%, rgba(96, 165, 250, 0.32), transparent 62%),
    radial-gradient(40% 60% at 0% 100%, rgba(147, 197, 253, 0.28), transparent 70%),
    linear-gradient(180deg, #E8F0FF 0%, #F4F8FF 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
  min-height: 620px;
  padding-block: 72px 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 12px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 650;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(40px, 4.7vw, 62px);
  line-height: 1.32;
  font-weight: 780;
  letter-spacing: -0.065em;
}

.hero h1 em {
  position: relative;
  color: var(--blue);
  font-style: normal;
  background: linear-gradient(transparent 70%, rgba(37, 99, 235, 0.14) 70%);
}

.hero-description {
  margin-top: 26px;
  max-width: 470px;
  color: var(--body);
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: -0.035em;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 680;
  line-height: 1.4;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button-primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.7);
}

.button-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 14px 28px -10px rgba(37, 99, 235, 0.8);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.9);
  border-color: #CFDDF7;
}

.button-secondary:hover {
  background: #FFFFFF;
  border-color: var(--blue);
}

.hero-art {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: 36px 24px;
}

.hero-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 40px;
  background: linear-gradient(160deg, #FFFFFF 0%, #F3F7FF 100%);
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow:
    0 2px 4px rgba(15, 30, 61, 0.03),
    0 40px 70px -34px rgba(37, 99, 235, 0.45);
}

.hero-art::after {
  content: "";
  position: absolute;
  z-index: -2;
  right: -26px;
  bottom: -26px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #93C5FD, #3B82F6);
  opacity: 0.32;
  filter: blur(2px);
}

.hero-logo {
  width: min(100%, 400px);
  height: auto;
}

.hero-location {
  border-top: 1px solid rgba(37, 99, 235, 0.12);
  background: rgba(255, 255, 255, 0.55);
}

.hero-location-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  color: #3A4A6E;
  font-size: 14px;
}

.hero-address {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-address .icon { color: var(--blue); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-weight: 650;
}

.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-link .icon { width: 17px; height: 17px; }

/* About */
.about { padding-block: 110px 116px; }

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 84px;
  align-items: start;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-label::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
}

.section-title {
  font-size: clamp(29px, 3vw, 38px);
  line-height: 1.5;
  font-weight: 750;
  letter-spacing: -0.055em;
}

.about-copy {
  padding-top: 5px;
  color: var(--body);
  font-size: 18px;
  line-height: 2;
}

.about-copy p + p { margin-top: 19px; }

.about-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about-keywords span {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
}

/* Contact */
.contact-section {
  padding-block: 88px 96px;
  background: var(--mist);
  border-top: 1px solid var(--line);
}

.contact-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.contact-heading .section-label { margin-bottom: 10px; }

.contact-heading > p {
  padding-bottom: 7px;
  color: var(--body);
  font-size: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 38px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.contact-card:hover {
  border-color: #C9DAF8;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.card-heading h3 { font-size: 18px; font-weight: 720; }

.card-heading .icon {
  width: 42px;
  height: 42px;
  padding: 11px;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue);
}

.phone-number {
  display: inline-block;
  color: var(--blue);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 760;
  line-height: 1.4;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.phone-number:hover { text-decoration: underline; text-underline-offset: 6px; }

.contact-detail {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  margin-top: 24px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  color: var(--body);
  font-size: 15px;
}

.contact-detail dt,
.contact-detail dd { margin: 0; }

.contact-detail dt { color: var(--muted); }
.contact-detail a { overflow-wrap: anywhere; }
.contact-detail a:hover { color: var(--blue); text-decoration: underline; }

.contact-card .card-action {
  margin-top: auto;
  padding-top: 26px;
}

.address-text {
  font-size: 23px;
  line-height: 1.7;
  font-weight: 680;
  letter-spacing: -0.045em;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  padding: 6px 0;
  border: 0;
  color: var(--muted);
  background: none;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copy-button:hover { color: var(--blue); }
.copy-button .icon { width: 15px; height: 15px; }

.blog-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  padding: 24px 4px 0;
  border-top: 1px solid var(--line);
  color: var(--body);
  font-size: 15px;
}

/* Footer */
.site-footer {
  padding-block: 52px 44px;
  background: var(--navy);
  color: #E6EDFB;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-company {
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 720;
}

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9FB0D3;
  font-size: 13px;
}

.top-link:hover { color: #FFFFFF; }
.top-link .icon { width: 15px; height: 15px; }

.business-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 22px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(159, 176, 211, 0.18);
  color: #B7C4E0;
  font-size: 13px;
  line-height: 1.8;
}

.business-info > div { display: flex; gap: 8px; }
.business-info dt, .business-info dd { margin: 0; }
.business-info dt { color: #8497BF; }
.business-info .full { flex-basis: 100%; }
.business-info a:hover { color: #FFFFFF; text-decoration: underline; }

.copyright {
  margin-top: 26px;
  color: #8497BF;
  font-size: 12px;
  letter-spacing: 0;
}

.mobile-actions { display: none; }

.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 28px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 13px 20px;
  border-radius: 12px;
  color: #FFFFFF;
  background: var(--ink);
  box-shadow: 0 16px 36px -12px rgba(15, 30, 61, 0.5);
  font-size: 14px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .container { width: calc(100% - 48px); }
  .hero-grid { gap: 28px; min-height: 570px; }
  .hero h1 { font-size: 44px; }
  .hero-art { min-height: 400px; }
  .hero-logo { width: min(100%, 320px); }
  .about-grid { gap: 40px; }
  .contact-card { padding: 28px; }
  .contact-heading > p { max-width: 240px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 130px; }
  .container { width: calc(100% - 40px); }

  .header-inner {
    min-height: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    padding-top: 12px;
  }

  .brand { gap: 9px; }
  .brand-name { font-size: 19px; }
  .brand-mascot { width: 31px; height: 39px; }

  .main-nav {
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding-block: 6px 6px;
  }

  .main-nav a { min-height: 40px; padding: 0 12px; font-size: 14px; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: auto;
    padding-block: 44px 44px;
  }

  .eyebrow { font-size: 12px; }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(34px, 8.8vw, 47px);
    line-height: 1.4;
  }

  .hero-description {
    margin-top: 19px;
    max-width: 480px;
    font-size: 16px;
    line-height: 1.9;
  }

  .hero-actions { gap: 9px; margin-top: 26px; }
  .button { min-height: 52px; padding: 12px 20px; font-size: 15px; }

  .hero-art {
    width: min(100%, 360px);
    min-height: 330px;
    margin-inline: auto;
    padding: 28px 20px;
  }

  .hero-art::before { border-radius: 30px; }
  .hero-art::after { width: 100px; height: 100px; right: -14px; bottom: -14px; }
  .hero-logo { width: min(100%, 290px); }

  .hero-location-inner { padding-block: 16px; }
  .hero-address { align-items: flex-start; font-size: 12px; line-height: 1.8; }
  .hero-address .icon { width: 16px; height: 16px; margin-top: 3px; }
  .hero-location .text-link { display: none; }

  .about { padding-block: 68px; }
  .about-grid { grid-template-columns: 1fr; gap: 23px; }
  .section-label { margin-bottom: 12px; font-size: 13px; }
  .section-title { font-size: 28px; }
  .about-copy { font-size: 16px; padding-top: 0; }
  .about-keywords { margin-top: 24px; padding-top: 22px; }
  .about-keywords span { padding: 7px 15px; font-size: 14px; }

  .contact-section { padding-block: 56px; }
  .contact-heading { display: block; margin-bottom: 26px; }
  .contact-heading > p { max-width: none; margin-top: 13px; font-size: 14px; }
  .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-card { padding: 26px; border-radius: 20px; }
  .contact-card:hover { transform: none; }
  .card-heading { margin-bottom: 21px; }
  .card-heading h3 { font-size: 17px; }
  .phone-number { font-size: 30px; }
  .address-text { font-size: 21px; }
  .contact-detail { margin-top: 20px; padding-top: 20px; font-size: 14px; }

  .blog-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 22px;
    font-size: 14px;
  }

  .site-footer {
    padding-top: 38px;
    padding-bottom: calc(108px + env(safe-area-inset-bottom));
  }

  .footer-company { font-size: 15px; }
  .business-info { gap: 7px 18px; font-size: 12px; }
  .business-info .full { flex-wrap: wrap; column-gap: 8px; row-gap: 0; }
  .copyright { margin-top: 22px; font-size: 11px; }

  .mobile-actions {
    position: fixed;
    z-index: 40;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }

  .mobile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 680;
  }

  .mobile-map { color: var(--blue-deep); background: var(--blue-soft); }
  .mobile-call { color: white; background: var(--blue); }
  .mobile-actions .icon { width: 18px; height: 18px; }

  .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-header { position: static; }
  .mobile-actions, .toast, .copy-button, .top-link { display: none !important; }
  .hero-grid { min-height: auto; }
  .hero, .contact-section { background: white; }
  .about, .contact-section { padding-block: 28px; }
  .site-footer { padding-bottom: 20px; background: white; color: var(--ink); }
  .footer-company { color: var(--ink); }
  .contact-card { break-inside: avoid; box-shadow: none; }
}
