/* -------------------------------------- */
/* Custom Variables and Global Resets */
/* -------------------------------------- */
:root {
  --bg: #f4f9ff;
  --bg-soft: #e8f2ff;
  --text: #0b243a;
  --muted: #627a99;
  --card: #ffffff;
  --stroke: #cddff5;
  --primary: #2a9dff;
  --primary-dark: #1b6dff;
  --shadow: 0 10px 30px rgba(27, 109, 255, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow-x: hidden
}

body {
   -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none; 
  margin: 0;
  font-family: "Noto Sans KR", "Malgun Gothic", Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
}

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

/* -------------------------------------- */
/* Layout & Header */
/* -------------------------------------- */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
  min-height: 100vh;
  position: relative;
  z-index: 0;
}

.site-header {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 92px;
  border-radius: 8px;
}

.tagline {
  font-size: 1rem;
  font-weight: 600;
  color: #aeaeae;
  white-space: nowrap;
  display: none;
}

.logo-divider {
  width: 1px;
  height: 40px;
  background-color: #aeaeae;
  display: none;
}

.text-accent {
  color: var(--primary-dark);
  font-weight: 600;
}

/* -------------------------------------- */
/* Hero Section */
/* -------------------------------------- */
.hero-section {
  padding: 56px 0 0;
  position: relative;
  isolation: isolate;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto -10% -20% -10%;
  height: 58%;
  background:
    radial-gradient(600px 220px at 15% 30%, rgba(42, 157, 255, 0.12), transparent 60%),
    radial-gradient(900px 320px at 85% 20%, rgba(27, 109, 255, 0.15), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  opacity: 0.7;
}

.hero-title {
  font-size: clamp(22px, 3.5vw, 36px);
  line-height: 1.3;
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.hero-title .num {
  color: var(--primary-dark);
  font-weight: 800;
}

.hero-title strong {
  color: var(--primary);
}

.hero-subtitle {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.6;
  color: #576475;
  max-width: 680px;
  margin-top: 12px;
}

.hero-assurance {
  margin-top: 20px;
  font-size: 13px;
  color: #7a8a9c;
  max-width: 600px;
}

.section-title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
}


.cta-bar {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.cta-button--main {
  appearance: none;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 600;
  font-size: clamp(17px, 4vw, 20px);
  letter-spacing: .2px;
  padding: 14px 22px;
  border-radius: 14px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.cta-button--main:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(27, 109, 255, 0.42);
}

.cta-bar .text-detail {font-size: clamp(11px, 3vw, 13px);}

/* -------------------------------------- */
/* Content and FAQ */
/* -------------------------------------- */
.content-block {
  margin-top: 56px;
}

.num {
  font-variant-numeric: tabular-nums;
}

.faq-category-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 16px 20px;
  transition: all 0.3s ease;
}

.faq-item+.faq-item {
  margin-top: 14px;
}

.faq-summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  list-style: none;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 0;
}

.faq-summary::marker {
  content: '';
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--primary-dark);
  margin-left: 10px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.faq-item[open] {
  background: #ffffff;
  border: 1px solid var(--stroke);
  border-left: 6px solid var(--primary);
  padding: 16px 20px 16px 15px;
}

.faq-item[open] .faq-summary {
  color: var(--primary-dark);
  font-weight: 800;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--primary-dark);
}

.faq-item .text-detail {
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* -------------------------------------- */
/* Consultation Form */
/* -------------------------------------- */
.consultation-form-wrapper {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 46px 30px;
}

.form-title-section {
  text-align: center;
  padding-block: 15px 32px;
}

.form-title-text {
  color: var(--primary-dark);
}

.form-body-content>*:not(:first-child) {
  margin-top: 18px;
}

.agreement-help-text {
    margin-top: 5px !important;
}

.form-group {
  display: grid;
  gap: 6px;
}

label {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.form-hint-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.2;
}

.form-hint-text.empty-hint {
  visibility: hidden;
  height: 14.4px;
}

input,
select,
textarea {
  width: 100%;
  padding: 6px 16px !important;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #f7fbff;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-size: 16px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42, 157, 255, 0.15);
}

textarea {
  min-height: 120px;
  resize: vertical;
}


.grid--2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.btn-form-submit {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 20px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 14px;
  width: 100%;
}

.btn-form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-form-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(27, 109, 255, 0.35);
}

.required::after {
  content: " *";
  color: var(--primary);
  font-weight: 700;
}

.form-consent-group {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.form-consent-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  appearance: none;
  border: 1px solid var(--stroke);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  padding: 0 !important;
  background-color: #f7fbff;
}

.form-consent-group input[type="checkbox"]:checked {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.form-consent-group input[type="checkbox"]:checked::before {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: white;
}

.agreement-help-text {
  font-size: 12px;
  color: var(--muted);
}

.form-status-message {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-status-message.show {
  opacity: 1;
}

.form-status-message.success {
  color: #155724;
  background-color: #d4edda;
}

.form-status-message.error {
  color: #721c24;
  background-color: #f8d7da;
}

/* -------------------------------------- */
/* Toast and Footer */
/* -------------------------------------- */
.app-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: rgba(10, 35, 70, 0.95);
  color: #fff;
  padding: 12px 14px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  display: none;
  box-shadow: var(--shadow);
  z-index: 6000;
}

.app-toast.show {
  display: block;
}

.site-footer {
  padding: 0;
  border-top: 0;
  color: #333;
  font-size: 14px;
  width: 100%;
}

.footer-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 35px 20px 40px;
  text-align: left;
  position: relative;
}

.footer-content-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--primary-dark);
}

.footer-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
}

.footer-meta {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 15px;
}

.footer-links {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--stroke);
  font-size: 13px;
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-dark);
}

.watermark {
  margin-top: 15px;
  font-size: 12px;
  color: #999;
  text-align: right;
}

/* -------------------------------------- */
/* Media Queries */
/* -------------------------------------- */
@media (max-width: 768px) {
  .main-container {
    padding: 0 20px 80px;
  }
  .cta-button--main {
    font-size: 18px;
    padding: 12px 18px;
  }
  .cta-bar {
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex-direction: column;
  }
  .hero-assurance {margin-top: 6px;}
  .content-block {
    margin-top: 40px;
}

}

@media (min-width: 681px) {

  .tagline,
  .logo-divider {
    display: none;
  }
}

@media (max-width: 680px) {
  .header-inner {
    height: 80px;
    padding: 0 16px;
  }

  .logo-img {
    height: 60px;
  }
  .hero-section {padding: 32px 0 0}
  .grid--2-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-inner {justify-content: center}
  .main-container {
    padding: 0 20px 60px;
  }

  .cta-button--main {font-size: 16px;}
  .text-xl.font-bold.text-gray-800.mb-3 {font-size: 18px;}
.text-4xl.font-extrabold.mb-2 {
    font-size: 24px;
            margin-bottom: 0;
}
.mt-3.text-sm.text-gray-500 {
    margin: 0;
}
  .content-block {
    margin-top: 48px;
    padding: 0;
  }

  .text-xl.font-bold.text-text-dark.mt-2 {
    font-size: 20px;
}

  .section-title {font-size: 20px;
}
.consultation-form-wrapper {
    padding: 36px 20px;
  }
  .form-title-text {
    font-size: 26px;
}
input, select, textarea {
    font-size: 12px;
}
}

@media (max-width: 380px) {
  .cta-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .cta-button--main {
    width: 100%;
    padding: 12px 20px;
  }

  .header-inner {
    height: 60px;
    padding: 0 10px;
  }


  .form-title-section {
    padding: 5px 20px 20px;
  }
  .pt-16 {
    padding-top: 1rem;
}
.font-extrabold{font-size: 20px!important;}
}

/* -------------------------------------- */
/* Custom Modal Styles */
/* -------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 5000;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-content-container {
  background: var(--card);
  border-radius: var(--radius);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  margin: 20px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-content-container {
  transform: scale(1);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--stroke);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: var(--text);
}

.modal-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex-grow: 1;
}

.modal-text-pre {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  word-break: break-word;
}