* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Noto Sans KR", sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.6;
}

body {
  word-break: keep-all;
}

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

button,
input,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e8e8e8;
  backdrop-filter: blur(10px);
}

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

.header-call {
  margin-left: 20px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.header-call:hover {
  background: #1a237e;
}

.logo img {
  height: 40px;
  object-fit: contain;
}

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

.gnb a {
  font-size: 16px;
  font-weight: 500;
  color: #222;
  transition: color 0.2s ease;
}

.gnb a:hover {
  color: #0d1b63;
}

.gnb-point {
  padding: 10px 18px;
  background: #0d1b63;
  color: #fff !important;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
}

.hero-bg {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.4)
  );
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  max-width: 760px;
  text-align: center;
  color: #fff;
  padding: 0 16px;
}

.hero-text h2 {
  font-size: 22px;
  margin-bottom: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero-text h1 {
  font-size: 54px;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

/* consult */
.consult-box {
  width: min(1100px, calc(100% - 40px));
  margin: -70px auto 0;
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 22px;
  padding: 36px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.consult-box h3 {
  font-size: 30px;
  font-weight: 700;
  color: #0d1b63;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.consult-box p {
  font-size: 16px;
  color: #555;
  margin-bottom: 24px;
}

.consult-btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.open-popup-btn,
.call-btn {
  min-width: 180px;
  height: 52px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.open-popup-btn {
  border: 1px solid #1a237e;
  background: #1a237e;
  color: #fff;
  cursor: pointer;
}

.open-popup-btn:hover {
  background: #2b35a0;
  border-color: #2b35a0;
}

.call-btn {
  border: 1px solid #111;
  background: #111;
  color: #fff;
}

.call-btn:hover {
  background: #333;
  border-color: #333;
}

/* section */
.section {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 44px;
  text-align: center;
}

.section-title h2 {
  font-size: 40px;
  margin-bottom: 14px;
  color: #0d1b63;
  letter-spacing: -0.03em;
}

.section-title p {
  font-size: 17px;
  color: #666;
  line-height: 1.8;
}

/* cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.card-body {
  padding: 24px 22px;
}

.card-body h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #111;
}

.card-body p {
  color: #555;
  line-height: 1.8;
  font-size: 15px;
}

.zoomable-image {
  cursor: pointer;
}

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 3000;
}

.image-modal.active {
  display: flex;
}

.image-modal img {
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}

.card img {
  cursor: pointer;
}

/* footer */
.site-footer {
  padding: 60px 0;
  background: #111;
  color: #fff;
}

.footer-top strong {
  display: block;
  font-size: 24px;
  margin-bottom: 8px;
}

.footer-top p,
.footer-info p,
.footer-copy p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.footer-info {
  margin: 20px 0;
}

.footer-contact {
  margin: 16px 0;
  font-size: 16px;
  font-weight: 600;
}

/* popup */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.popup.active {
  display: flex;
}

.popup-content {
  position: relative;
  width: min(440px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 34px 24px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.popup-content h2 {
  margin-bottom: 18px;
  color: #0d1b63;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.popup-close {
  position: absolute;
  right: 16px;
  top: 10px;
  border: none;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
  color: #333;
}

.consult-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.consult-form input,
.consult-form select,
.consult-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 14px 15px;
  font-size: 15px;
  color: #111;
  background: #fff;
}

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

.consult-form input:focus,
.consult-form textarea:focus,
.consult-form select:focus {
  outline: none;
  border-color: #1a237e;
}

.consult-form button[type="submit"] {
  height: 52px;
  border: none;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.consult-form button[type="submit"]:hover {
  background: #2a2a2a;
}

.agree-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.agree-text-box {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7f7f7;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

.agree-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.agree-box input {
  width: auto;
  margin-top: 3px;
}

.required-text {
  color: #d32f2f;
  font-weight: 700;
}

/* tablet */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 44px;
  }

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

/* mobile */
@media (max-width: 999px) {
  .header-inner {
    height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .gnb {
    display: none;
    position: absolute;
    left: 0;
    top: 70px;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
  }

  .gnb.active {
    display: flex;
  }

  .gnb a {
    width: 100%;
    padding: 14px 20px;
  }

  .hero-bg {
    height: 100vh;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-text h2 {
    font-size: 18px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .consult-box {
    margin-top: -40px;
    padding: 28px 20px;
  }

  .consult-box h3 {
    font-size: 24px;
  }

  .consult-box p {
    font-size: 14px;
  }

  .consult-btn-group {
    width: 100%;
    flex-direction: column;
  }

  .open-popup-btn,
  .call-btn {
    width: 100%;
  }

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

  .section {
    padding: 70px 0;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .section-title p {
    font-size: 15px;
  }

  .popup-content {
    padding: 30px 18px 20px;
  }

  .popup-content h2 {
    font-size: 24px;
  }
}