@charset "utf-8";

/* ==========================================================================
   기본 설정 · 리셋 · 변수 · 공통 레이아웃
   ========================================================================== */
:root {
  --container: 1180px;
  --primary: #8519d2;
  --primary-dark: #0d47a1;
  --primary-soft: #eaf4ff;
  --accent: #39e0d2;
  --accent-soft: #eef8ff;
  --mint: #58c4dc;
  --ink: #1f2d3d;
  --muted: #000000;
  --line: #dddddd;
  --surface: #ffffff;
  --background: #f6f6f6;
  --shadow: 0 22px 55px rgba(20, 80, 140, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", system-ui, sans-serif;
  color: #000;
  background: #fff;
  word-break: keep-all;
  line-height: 1.65;
  font-size: 18px;
}

h4 {
  font-size: 24px;
  margin: 0;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

em {
  color: #8519d2;
  font-style: normal;
}

/* ==========================================================================
   TOP : 헤더 · 로고 · 네비게이션 · 모바일 메뉴
   ========================================================================== */
.skip-link {
  position: fixed;
  top: -50px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  background: #111;
  color: #fff;
  border-radius: 8px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(232, 230, 239, .9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand-mark {
  width: 50px;
  height: 50px;
  color: var(--primary);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: .25s;
  transform: translateX(-50%);
}

.desktop-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: .2s;
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 12px 20px 20px;
}

.mobile-menu a {
  display: block;
  padding: 13px 4px;
  font-weight: 700;
}

.brand-copy strong {
  letter-spacing: -.6px;
  font-size: 33px;
}

.brand-copy small {
  margin-top: 6px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 1.2px;
  font-size: 10px;
}

.desktop-nav a {
  position: relative;
  font-weight: 500;
  font-size: 17px;
}

.brand-mark img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.header-right {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  flex-direction: column;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-contact .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.header-contact .contact-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.header-contact .contact-tel {
  font-size: 28px;
}

.header-contact .contact-kakao {
  display: none;
}

.mobile-menu,
.nav-dimmed {
  display: none;
}

body.nav-open {
  overflow: hidden;
}

/* ==========================================================================
   TOP : 히어로 영역
   ========================================================================== */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(25, 118, 210, .12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
  opacity: .5;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.hero-orb-one {
  width: 350px;
  height: 350px;
  left: -170px;
  top: -130px;
  background: #fae3f9;
}

.hero-orb-two {
  width: 270px;
  height: 270px;
  right: -100px;
  bottom: -100px;
  background: #f7e5fb;
}

.hero h1 {
  margin: 0px 0 22px;
  font-size: clamp(42px, 5vw, 50px);
  line-height: 1.17;
  letter-spacing: -3px;
}

.hero-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 20px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 38px;
  border-bottom: 1px solid #ddd;
  background: #f6f6f6;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 270px) 430px;
  align-items: center;
}

.hero-illustration {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  pointer-events: none;
}

.hero-illustration img {
  display: block;
  width: min(100%, 320px);
  height: auto;
  object-fit: contain;
}

/* ==========================================================================
   TOP : 견적 신청 폼 (quote-card / 본인인증)
   ========================================================================== */
.quote-card {
  position: relative;
  padding: 34px 34px 27px;
  border: 1px solid #ddd;
  border-radius: 30px;
  background: rgba(255, 255, 255, .94);
}

.quote-card h2 strong {
  color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 12px;
}

.field,
.gender-field {
  display: block;
  margin: 0 0 15px;
  padding: 0;
  border: 0;
}

.field input:focus,
.field select:focus {
  border-color: var(--primary);
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 50px;
  padding: 4px;
  border: 1px solid #d7e2ed;
  border-radius: 12px;
  background: #f7faff;
}

.segmented label {
  cursor: pointer;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented input:checked+span {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(25, 118, 210, .25);
}

.phone-inputs {
  display: grid;
  grid-template-columns: 92px 1fr 1fr;
  gap: 8px;
}

.phone-inputs select {
  appearance: none;
}

.agreement-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 2px 0 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  cursor: pointer;
  color: #52677d;
}

.checkbox-label input {
  position: absolute;
  opacity: 0;
}

.fake-check {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1px solid #d5e0ea;
  border-radius: 6px;
  background: #fff;
}

.checkbox-label input:checked+.fake-check {
  border-color: var(--primary);
  background: var(--primary);
}

.checkbox-label input:checked+.fake-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.text-button {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}

.form-error {
  margin: 0 0 5px;
  color: #e9465d;
  font-size: 12px;
  font-weight: 600;
}

.submit-button:hover {
  transform: translateY(-2px);
}

.quote-card h2 {
  margin: 11px 0 9px;
  line-height: 1.3;
  letter-spacing: -1.2px;
  font-size: 31px;
}

.field>span,
.gender-field legend {
  display: block;
  margin-bottom: 7px;
  color: #52657a;
  font-weight: 700;
  font-size: 14px;
}

.field input,
.field select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #d7e2ed;
  border-radius: 12px;
  outline: none;
  background: #fff;
  color: var(--ink);
  transition: .2s;
  font-size: 17px;
}

.segmented span {
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: 9px;
  color: #6f8296;
  font-weight: 700;
  transition: .2s;
  font-size: 16px;
}

.checkbox-label,
.text-button,
.form-error {
  font-size: 14px;
}

.auth-request-button,
.verification-confirm-button,
.verification-resend-button {
  border: 0;
  font: inherit;
  cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s, opacity .2s;
}

.auth-request-button:hover {
  transform: translateY(-1px);
  background: #740da1;
}

.auth-request-button.is-sent {
  background: #315c82;
}

.auth-request-button.is-verified {
  background: #2ca895;
}

.verification-field {
  min-width: 0;
  margin: 0 0 15px;
}

.verification-field[hidden] {
  display: none !important;
}

.verification-label {
  display: block;
  margin: 0 !important;
}

.verification-label>span {
  display: none;
}

.verification-controls {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 60px 72px;
  grid-template-areas:
    "code confirm resend"
    "timer timer timer";
  align-items: center;
  column-gap: 8px;
  row-gap: 4px;
}

.verification-controls input {
  grid-area: code;
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #d7e2ed;
  border-radius: 12px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
}

.verification-controls input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(25, 118, 210, .10);
}

.verification-controls input:disabled {
  background: #f2faf8;
  color: #338b7e;
}

.verification-confirm-button,
.verification-resend-button {
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 0 6px;
  border: 1px solid #d7e2ed;
  border-radius: 11px;
  background: #fff;
  color: #4c647b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.verification-confirm-button {
  grid-area: confirm;
}

.verification-resend-button {
  grid-area: resend;
}

.verification-confirm-button:hover,
.verification-resend-button:hover {
  border-color: var(--primary);
  background: #faf6ff;
  color: var(--primary);
}

.auth-timer {
  grid-area: timer;
  min-height: 0;
  margin: -2px 2px 0;
  color: #e9465d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}

.auth-timer:empty {
  display: none;
}

.auth-status {
  min-height: 18px;
  margin: 6px 0 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.auth-status.is-success {
  color: #269c8b;
}

.auth-status.is-error {
  color: #e9465d;
}

.quote-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: -1;
  border-radius: 24px;
}

.submit-button {
  width: 100%;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  font-weight: 800;
  transition: .2s;
  font-size: 18px;
  background: linear-gradient(100deg, #7d17c2, #8825d8 56%, #7f39e0);
}

.auth-request-button {
  width: 100%;
  min-height: 52px;
  margin: 0 0 15px;
  padding: 0 18px;
  border-radius: 12px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
  letter-spacing: 0;
  background: #3e125b;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .5fr) minmax(0, .6fr);
  grid-template-areas:
    "name . ."
    "birth gender gender"
    "phone phone auth"
    "verify verify verify"
    "agree agree agree"
    "error error error"
    "submit submit submit";
  align-items: end;
  column-gap: 8px;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec .name-gender-row {
  display: contents;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec .name-field {
  grid-area: name;
  min-width: 0;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec .gender-field {
  grid-area: gender;
  min-width: 0;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec>.field:nth-of-type(1) {
  grid-area: birth;
  min-width: 0;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec>.field:nth-of-type(2) {
  grid-area: phone;
  min-width: 0;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec>.auth-request-button {
  grid-area: auth;
  width: 100%;
  height: 50px;
  min-height: 50px;
  margin: 0 0 15px;
  padding: 0 7px;
  font-size: 17px;
  line-height: 1;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec>.verification-field {
  grid-area: verify;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec>.agreement-row {
  grid-area: agree;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec>.form-error {
  grid-area: error;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec>.submit-button {
  grid-area: submit;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec .phone-inputs {
  grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px;
}

.quote-card:not(.subpage-horizontal-quote) #frm_sec .phone-inputs input,
.quote-card:not(.subpage-horizontal-quote) #frm_sec .phone-inputs select {
  min-width: 0;
  padding-inline: 7px;
}

.submit-button img {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  align-items: center;
  object-fit: contain;
}

.hero-copy,
.hero-illustration,
.quote-card {
  position: relative;
  z-index: 2;
}

.segmented.gender-options .gender-option {
  min-width: 0;
  height: 50px;
  cursor: pointer;
}

.segmented.gender-options .gender-option span {
  width: 100%;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: none;
  transition: border-color .2s, background .2s, color .2s, box-shadow .2s, transform .2s;
}

.segmented.gender-options .gender-option:hover span {
  border-color: #8519d2;
  background: #f6f6f6;
}

.segmented.gender-options .gender-option input:focus-visible+span {
  outline: 3px solid rgba(25, 118, 210, .18);
  outline-offset: 2px;
}

.segmented.gender-options .gender-option-male input:checked+span {
  border-color: #8519d2;
  background: #8519d2;
  color: #fff;
}

.segmented.gender-options .gender-option-female input:checked+span {
  border-color: #8519d2;
  background: #8519d2;
  color: #fff;
}

/* ==========================================================================
   공통 : 섹션 헤딩 · 더보기 링크
   ========================================================================== */
.section {
  padding: 40px 0;
}

.section-heading {
  max-width: 580px;
}

.section-heading.center {
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading h2 {
  margin: 17px 0 17px;
  font-size: clamp(34px, 4vw, 38px);
  line-height: 1.3;
  letter-spacing: -2px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 18px;
}

.section-heading-row {
  max-width: none;
  display: block;
  margin-bottom: 30px;
}

.section-title-line {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.section-title-line h2 {
  min-width: 0;
  margin: 0;
}

.section-heading-row>p {
  margin-top: 12px;
}

.section-more-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid var(--primary);
  border-radius: 12px;
  color: var(--primary);
  background: #fff;
  font-size: 15px;
  font-weight: 800;
  transition: .2s;
}

.section-more-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.section-more-link span {
  font-size: 18px;
}

/* ==========================================================================
   INDEX : 메인 콘텐츠 (가이드 · 비교 · 보험사 · FAQ · Q&A · 게시판)
   ========================================================================== */
.guide-section {
  background: #fff;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-card:hover {
  transform: translateY(-7px);
  border-color: transparent;
  border: 1px solid #ddd;
}

.card-number {
  position: absolute;
  right: 23px;
  top: 18px;
  color: #ddd;
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
}

.card-link span {
  transition: transform .2s;
}

.card-link:hover span {
  transform: translateX(4px);
}

.compare-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  right: -220px;
  top: -250px;
  border-radius: 50%;
  filter: blur(1px);
}

.compare-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 520px;
  align-items: center;
}

.compare-copy h2 {
  margin: 18px 0 22px;
  font-size: clamp(36px, 4vw, 40px);
  line-height: 1.3;
  letter-spacing: -2px;
}

.compare-copy>p {
  max-width: 570px;
  margin: 0;
  color: #d5c5e0;
  line-height: 1.8;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 34px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 13px 0;
  color: #eef4f8;
}

.check-list span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(111, 207, 192, .18);
  color: #bb6be5;
  font-size: 12px;
  font-weight: 800;
}

.comparison-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 25px 60px rgba(7, 30, 52, .30);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 26px;
  background: linear-gradient(100deg, #eaf4ff, #eef8ff);
}

.panel-top span {
  color: var(--primary);
  font-weight: 800;
}

.panel-top strong {
  font-size: 18px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.1fr .55fr 1.05fr;
  align-items: center;
  min-height: 61px;
  padding: 0 26px;
  border-top: 1px solid var(--line);
}

.comparison-row.head {
  min-height: 42px;
  background: #f7faff;
  color: var(--muted);
}

.comparison-row> :nth-child(3) {
  justify-self: end;
  text-align: right;
}

.dot.yes {
  color: var(--mint);
}

.tag {
  justify-self: end;
  padding: 5px 20px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  text-align: right;
}

.panel-foot {
  padding: 18px 26px;
  background: #f7faff;
  color: #7c8fa2;
  font-size: 14px;
}

.insurer-strip {
  padding: 18px 0 0 0;
  background: var(--cream);
}

.insurer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border: 1px solid #ddd;
  border-radius: 22px;
  background: #f6f6f6;
}

.insurer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.insurer-inner p strong {
  color: var(--forest);
}

.marquee {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
  width: max-content;
  display: flex;
  gap: 15px;
  animation: roll 28s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  min-width: 165px;
  padding: 5px;
  border-radius: 10px;
  background-color: #fff;
  border: solid 1px #ddd;
  ackground: var(--soft);
  color: var(--forest);
  font-size: 13px;
  font-weight: 900;
}

@keyframes roll {
  to {
    transform: translateX(-50%);
  }
}

.faq-section {}

.accordion {
  border-top: 2px solid var(--ink);
}

.accordion-item {
  border-bottom: 1px solid #d7e1eb;
}

.accordion-trigger b {
  margin-right: 10px;
  color: var(--primary);
}

.accordion-trigger i {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.accordion-trigger i::before,
.accordion-trigger i::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 3px;
  width: 16px;
  height: 2px;
  background: var(--ink);
  transition: .2s;
}

.accordion-trigger i::after {
  transform: rotate(90deg);
}

.accordion-item.open .accordion-trigger i::after {
  transform: rotate(0deg);
}

.accordion-content {
  padding: 0 45px 27px 44px;
}

.guide-card {
  position: relative;
  padding: 30px;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 22px;
  background: #fff;
  transition: .25s;
  min-height: 290px;
}

.guide-card h3 {
  margin: 22px 0 11px;
  letter-spacing: -.6px;
  font-size: 23px;
}

.guide-card p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

.card-link {
  position: absolute;
  left: 30px;
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 800;
  font-size: 15px;
}

.accordion-trigger {
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 8px;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
}

.accordion-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

@keyframes partnerLogoRoll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.card-icon {
  place-items: center;
  font-size: 25px;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: color-mix(in srgb, currentColor 12%, transparent);
}

.guide-grid>a:nth-child(1) .card-icon {
  color: #376fd0;
}

.guide-grid>a:nth-child(2) .card-icon {
  color: #db5b70;
}

.guide-grid>a:nth-child(3) .card-icon {
  color: #5b67c8;
}

.guide-grid>a:nth-child(4) .card-icon {
  color: #e06a58;
}

.guide-grid>a:nth-child(5) .card-icon {
  color: #387fb8;
}

.guide-grid>a:nth-child(6) .card-icon {
  color: #6c5cc5;
}

.guide-grid>a:nth-child(7) .card-icon {
  color: #376fd0;
}

.guide-grid>a:nth-child(8) .card-icon {
  color: #db5b70;
}

.guide-grid>a:nth-child(9) .card-icon {
  color: #5b67c8;
}

@supports not (background: color-mix(in srgb, red 10%, transparent)) {
  .card-icon {
    background: rgba(73, 111, 190, .10);
  }
}

.card-icon img {
  display: block;
  object-fit: contain;
}

.qna-section {
  background: #fff;
}

.qna-accordion {}

.qna-accordion .accordion-trigger b {}

.qna-accordion .accordion-item.open {}

.compare-section .comparison-row> :nth-child(2) {
  justify-self: center;
  text-align: center;
}

.compare-section .comparison-row> :nth-child(3) {
  justify-self: end;
  text-align: right;
}

.compare-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #301343;
  padding-top: 72px;
  padding-bottom: 72px;
}

.compare-section .compare-copy h2 {
  margin: 18px 0 24px;
  font-size: clamp(40px, 4vw, 46px);
  line-height: 1.28;
}

.compare-section .compare-copy>p {
  max-width: 610px;
  font-size: 18px;
  line-height: 1.9;
}

.compare-section .check-list {
  margin-top: 30px;
}

.compare-section .check-list li {
  gap: 13px;
  margin: 15px 0;
  font-size: 17px;
  line-height: 1.6;
}

.compare-section .check-list span {
  width: 25px;
  height: 25px;
  font-size: 13px;
}

.compare-section .comparison-panel {
  border: 1px solid rgba(255, 255, 255, .18);
  background: #fff;
  box-shadow: none;
  border-radius: 24px;
}

.compare-section .panel-top {
  background: #f7f5f8;
  min-height: 76px;
  padding: 22px 28px;
}

.compare-section .panel-top span {
  color: #8519d2;
  font-weight: 800;
  font-size: 15px;
}

.compare-section .panel-top strong {
  color: #1f2d3d;
  font-size: 22px;
  letter-spacing: -.5px;
}

.compare-section .comparison-row {
  grid-template-columns: 1.2fr .45fr .85fr;
  min-height: 72px;
  padding: 0 28px;
  font-size: 18px;
}

.compare-section .comparison-row strong {
  font-size: 18px;
}

.compare-section .comparison-row.head {
  background: #fbfafc;
  color: #7a7a82;
  min-height: 50px;
  font-size: 14px;
  font-weight: 700;
}

.compare-section .dot.yes {
  color: #8519d2;
  font-size: 14px;
}

.compare-section .tag {
  border-radius: 999px;
  background: #f5eef9;
  color: #6f288f;
  font-weight: 800;
  padding: 7px 16px;
  font-size: 15px;
}

.compare-section .panel-foot {
  background: #fbfafc;
  color: #7b7b82;
  padding: 18px 28px;
  font-size: 14px;
  line-height: 1.65;
}

.board-section {
  background: #fff;
}

.board_list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.board_item {
  border-bottom: 1px solid #e7dbd7;
}

.board_link,
.board_item--empty p {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 80px;
  padding: 20px 8px;
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  text-decoration: none;
}

.board_link .title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board_link:hover .title,
.board_link:focus-visible .title {
  color: #8a7400;
  text-decoration: underline;
}

.board_item--empty p {
  color: var(--muted);
  font-weight: 400;
}

/* ==========================================================================
   SUB : 서브페이지 (본문 · 좌측 메뉴 · 관련글)
   ========================================================================== */
.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb strong {
  color: #40566d;
}

.article-main {
  min-width: 0;
}

.content-section {
  padding: 42px 20px;
  scroll-margin-top: 100px;
}

.content-section:first-of-type {}

.content-section h2 {
  margin: 0 0 20px;
  font-size: clamp(27px, 3vw, 34px);
  line-height: 1.4;
  letter-spacing: -1.3px;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.responsive-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.responsive-table table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
}

.responsive-table thead th {
  background: #f6f6f6;
  color: #263b50;
  font-weight: 800;
}

.responsive-table tbody th {
  width: 150px;
  background: #f9f8f3;
}

.responsive-table tr:last-child th,
.responsive-table tr:last-child td {
  border-bottom: 0;
}

.table-note {
  margin-top: 13px !important;
  color: #7c8fa2 !important;
  font-size: 13px !important;
}

.checklist-section {
  border-bottom: 0;
}

.article-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-checklist label {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: #455a6f;
  font-size: 16px;
  line-height: 1.55;
  cursor: pointer;
  transition: .2s;
}

.article-checklist label:hover {
  border-color: #dddddd;
  background: #f6f6f6;
}

.article-checklist input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.article-accordion {
  margin-top: 12px;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  transition: .2s;
}

.related-card:hover {
  border-color: #dddddd;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 91, 150, .08);
}

.related-card strong {
  flex: 1;
  font-size: 14px;
}

.related-card i {
  color: var(--primary);
  font-style: normal;
}

.related-section {
  padding: 95px 0;
  background: var(--background);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related-grid .related-card {
  min-height: 75px;
  padding: 16px 18px;
}

.subpage-shell {
  position: relative;
  background: #fff;
}

.subpage-top-copy {
  max-width: 930px;
  min-width: 0;
}

.subpage-top-copy .breadcrumb {
  margin: 20px 0;
}

.subpage-top-copy h1 {
  max-width: 900px;
  margin: 16px 0 18px;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.18;
  letter-spacing: -3px;
}

.subpage-top-copy>p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.subpage-content-section {
  background: #fff;
}

.subpage-content-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.subpage-left-column {
  position: sticky;
  top: 98px;
  min-width: 0;
  display: grid;
  gap: 18px;
  align-self: start;
}

.subpage-keyword-panel {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dddddd;
  border-radius: 0;
  background: #fff;
}

.subpage-keyword-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
}

.subpage-keyword-nav a:last-child {
  border-bottom: 0;
}

.subpage-keyword-nav a:hover {
  position: relative;
  z-index: 1;
  padding-left: 21px;
  background: #f8f6ff;
  box-shadow: inset 4px 0 0 #ef9af5;
}

.subpage-keyword-nav a.active span {
  color: rgba(255, 255, 255, .64);
}

.subpage-keyword-nav a.active i {
  color: #fff;
}

.subpage-right-column {
  min-width: 0;
}

.subpage-main-column {
  min-width: 0;
}

.subpage-main-column .article-main {
  min-width: 0;
}

.subpage-main-column .content-section:first-of-type {}

.subpage-shell+.related-section {
  border-top: 1px solid var(--line);
}

.intro-section {
  padding: 34px;
  border: 1px solid #dddddd;
  border-radius: 22px;
  background: linear-gradient(145deg, #f6f6f6, #fff);
}

.subpage-keyword-head {
  display: block;
  padding: 24px 21px 22px;
  border-bottom: 0;
  color: #fff;
  background: linear-gradient(135deg, #301343, #721f75);
}

.subpage-keyword-nav a.active {
  padding-left: 21px;
  color: #fff;
  background: linear-gradient(105deg, #8519d2, #8519d2);
  box-shadow: inset 4px 0 0 #ce69ec;
}

.subpage-keyword-head span {
  display: block;
  margin-bottom: 8px;
  color: #9fd2ff;
  font-weight: 900;
  letter-spacing: 1.7px;
  font-size: 12px;
}

.subpage-keyword-head h2 {
  margin: 0;
  color: #fff;
  line-height: 1.35;
  letter-spacing: -.8px;
  font-size: 26px;
}

.subpage-keyword-nav a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 8px;
  padding: 12px 17px;
  border-bottom: 1px solid #e3ecf4;
  background: #fff;
  color: #40566d;
  transition: .2s;
  min-height: 66px;
}

.subpage-keyword-nav span {
  color: #93a7ba;
  font-weight: 900;
  font-size: 12px;
}

.subpage-keyword-nav strong {
  min-width: 0;
  line-height: 1.4;
  font-size: 16px;
}

.subpage-keyword-nav i {
  color: var(--primary);
  font-style: normal;
  text-align: right;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: #7a8da1;
  font-size: 15px;
}

.content-section p {
  margin: 0 0 18px;
  color: #556a7f;
  line-height: 2.02;
  font-size: 18px;
}

.responsive-table th,
.responsive-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  line-height: 1.65;
  font-size: 16px;
}

.related-grid .related-card strong {
  font-size: 19px;
}

.related-card span {
  flex: 0 0 auto;
  color: #93a7ba;
  font-weight: 800;
  font-size: 13px;
}

.info-hub-content {}

.faq-page-list {
  padding-left: 0;
  padding-right: 0;
}

.faq-page-list>h2 {
  margin-bottom: 25px;
  margin-top: -42px;
}

.faq-page-list .accordion-trigger {
  padding-left: 18px;
  padding-right: 18px;
}

.faq-page-list .accordion-content {
  padding-left: 58px;
  padding-right: 28px;
}

.faq-page-list .accordion-item.open {
  background: #F6F6F6;
}

.qna-page-list .accordion-item.open {}

.subp_thumb {
  width: 100%;
  padding: 12px;
}

.subp_thumb img {
  width: 40%;
  height: auto;
  margin: 0 auto;
}

/* ==========================================================================
   SUB : 가로형 견적폼 (.horizontal-quote-form) — 현재 템플릿에서 미사용
   ========================================================================== */
.horizontal-quote-form .name-gender-row {
  grid-area: name;
}

.horizontal-quote-form>.field:nth-of-type(1) {
  grid-area: birth;
}

.horizontal-quote-form>.field:nth-of-type(2) {
  grid-area: phone;
}

.horizontal-quote-form .form-row {
  grid-template-columns: minmax(0, 1.25fr) 105px;
  gap: 8px;
}

.horizontal-quote-form .field,
.horizontal-quote-form .gender-field {
  min-width: 0;
  margin: 0;
}

.horizontal-quote-form .field>span,
.horizontal-quote-form .gender-field legend {
  margin-bottom: 6px;
  color: #52657a;
  font-size: 12px;
}

.horizontal-quote-form .field input,
.horizontal-quote-form .field select,
.horizontal-quote-form .segmented {
  height: 48px;
  border-color: #d7e2ed;
  border-radius: 8px;
  background: #fff;
}

.horizontal-quote-form .segmented {
  padding: 3px;
  background: #fff;
}

/* ==========================================================================
   TOP : 견적 신청 폼 (quote-card / 본인인증)
   ========================================================================== */
.segmented.gender-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

/* ==========================================================================
   SUB : 가로형 견적폼 (.horizontal-quote-form) — 현재 템플릿에서 미사용
   ========================================================================== */
.horizontal-quote-form .segmented span {
  height: 40px;
  border-radius: 6px;
}

.horizontal-quote-form .phone-inputs {
  grid-template-columns: 78px 1fr 1fr;
  gap: 6px;
}

.horizontal-quote-form .phone-inputs input,
.horizontal-quote-form .phone-inputs select {
  padding-inline: 9px;
}

.horizontal-quote-form .submit-button {
  grid-area: submit;
  height: 48px;
  border-radius: 8px;
  font-size: 15px;
  box-shadow: 0 10px 22px rgba(12, 45, 78, .25);
}

.horizontal-quote-form .checkbox-label {
  color: #52677d;
}

.horizontal-quote-form .fake-check {
  width: 18px;
  height: 18px;
  border-color: #d5e0ea;
  background: #fff;
}

.horizontal-quote-form .text-button {
  color: var(--primary);
}

.horizontal-quote-form .auth-request-button:hover {
  background: linear-gradient(100deg, var(--primary-dark), var(--primary));
}

.horizontal-quote-form .auth-request-button.is-sent {
  background: #3f7fb5;
}

.horizontal-quote-form .auth-request-button.is-verified {
  background: #2ca895;
}

.horizontal-quote-form .verification-field {
  grid-area: verify;
  min-width: 0;
  margin: 0;
}

.horizontal-quote-form .verification-label {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.horizontal-quote-form .verification-label>span {
  margin: 0;
  color: #52657a;
  font-size: 12px;
  font-weight: 700;
}

.horizontal-quote-form .verification-controls {
  grid-template-columns: minmax(0, 1fr) 54px 66px 48px;
  gap: 6px;
}

.horizontal-quote-form .verification-controls input,
.horizontal-quote-form .verification-confirm-button,
.horizontal-quote-form .verification-resend-button {
  height: 46px;
  border-radius: 8px;
}

.horizontal-quote-form .verification-controls input {
  border-color: #d7e2ed;
  background: #fff;
}

.horizontal-quote-form .auth-status {
  grid-column: 2;
  min-height: 0;
  margin: 4px 0 0;
  color: var(--primary);
  font-size: 11px;
}

.horizontal-quote-form .auth-status.is-success {
  color: #269c8b;
}

.horizontal-quote-form .auth-status.is-error {
  color: #e9465d;
}

.horizontal-quote-form .agreement-row {
  grid-area: agree;
  justify-content: flex-start;
  margin: 2px 0 0;
  align-self: center;
}

.horizontal-quote-form .form-error {
  grid-area: error;
  min-height: 17px;
  margin: 2px 0 0;
  color: #e9465d;
  font-size: 11px;
  text-align: left;
}

.horizontal-quote-form .auth-request-button {
  grid-area: auth;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding-inline: 12px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(25, 118, 210, .20);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(100deg, #0d5fb2, #8519d2);
}

.horizontal-quote-form>.auth-request-button {
  grid-area: auth;
  width: 82px;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0 8px;
  line-height: 1;
}

.horizontal-quote-form .segmented.gender-options {
  height: 48px;
}

.horizontal-quote-form .segmented.gender-options .gender-option,
.horizontal-quote-form .segmented.gender-options .gender-option span {
  height: 48px;
  border-radius: 8px;
}

/* ==========================================================================
   BOTTOM : 푸터
   ========================================================================== */
.site-footer {
  padding: 60px 0 36px;
  background: #2a103a;
  color: #fff;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin-bottom: 28px;
}

.footer-notice {
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.footer-notice ul {
  margin: 0;
  padding-left: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 0;
}

.footer-bottom p {
  margin: 0;
  font-size: 11px;
}

.footer-bottom button {
  border: 0;
  background: transparent;
  text-decoration: underline;
}

.footer-brand strong {
  color: #fff;
  font-size: 29px;
}

.footer-brand span {
  font-size: 15px;
}

.footer-notice h2 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 20px;
}

.footer-notice li {
  margin: 7px 0;
  font-size: 17px;
  line-height: 1.25;
  list-style: none;
}

.footer-bottom p,
.footer-bottom button {
  font-size: 17px;
}

/* ==========================================================================
   BOTTOM : 모달 · 약관 팝업 · 결과 레이어
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.show {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 32, 52, .68);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 600px);
  max-height: min(82vh, 780px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 25px 80px rgba(10, 42, 74, .30);
}

.modal-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
}

.modal-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #eef4f9;
  color: var(--ink);
  font-size: 27px;
  line-height: 1;
}

.modal-body {
  overflow-y: auto;
  padding: 26px;
}

.modal-foot {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  padding: 17px 25px;
  border-top: 1px solid var(--line);
}

.legal-copy h3:first-child {
  margin-top: 0;
}

.legal-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.result-dialog {
  display: block;
  max-width: 430px;
  padding: 42px 34px 32px;
  text-align: center;
}

.result-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e8faf7;
  color: #35aa98;
  font-size: 34px;
  font-weight: 800;
}

.result-dialog h2 {
  margin: 10px 0 17px;
  font-size: 24px;
  line-height: 1.45;
}

.result-dialog h2 strong {
  color: var(--primary);
}

.modal-head h2 {
  margin: 0;
  font-size: 20px;
}

.legal-copy h3 {
  margin: 20px 0 8px;
  font-size: 16px;
}

.legal-copy p {
  font-size: 16px;
}

.primary-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}

.result-label {
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
}

.result-dialog p {
  margin: 0 0 26px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

#main_cp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
}

#layer_bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

#result_popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: #fff;
  border-radius: 4px;
  z-index: 9999;
  overflow: hidden;
}

.layer_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #ddd;
  background: #f5f5f5;
}

.layer_title {
  font-size: 16px;
  font-weight: bold;
  color: #222;
}

.layer_close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #888;
}

.layer_body {
  padding: 0;
  overflow-y: auto;
  max-height: calc(90vh - 50px);
}

#layer_iframe {
  width: 100%;
  height: 70vh;
  border: none;
  display: block;
}

/* ==========================================================================
   반응형 (Media Queries)
   ========================================================================== */
/*  브레이크포인트 순서(수정 금지 권장) :
 *  1180 → min1025 → 1180&min1025 → 1024 → 900 → 820 → 768 → 600 → 480 → 390
 *  넓은 화면부터 좁은 화면 순으로 내려갑니다. 새 규칙은 해당 브레이크포인트 블록 안,
 *  아래 소제목(BASE / TOP / INDEX / SUB / BOTTOM)에 맞춰 넣어주세요.
 */

@media (max-width: 1180px) {

  /* --- TOP·히어로 --- */
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(210px, 270px) 390px;
    gap: 24px;
  }

  .hero-illustration img {
    width: min(100%, 260px);
  }

  /* --- SUB·서브페이지 --- */
  .subpage-content-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 40px;
  }

  /* --- SUB·가로형폼(미사용) --- */
  .horizontal-quote-form .form-row {
    grid-template-columns: minmax(0, 1fr) 94px;
  }

  .horizontal-quote-form .verification-label {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .horizontal-quote-form>.auth-request-button {
    width: 80px;
  }
}

@media (min-width: 1025px) {

  /* --- INDEX --- */
  .compare-section .compare-grid {
    grid-template-columns: minmax(0, 1fr) 600px;
    gap: 58px;
  }
}

@media (max-width: 1180px) and (min-width: 1025px) {

  /* --- INDEX --- */
  .compare-section .compare-grid {
    grid-template-columns: minmax(0, 1fr) 545px;
    gap: 38px;
  }

  .compare-section .compare-copy h2 {
    font-size: 40px;
  }
}

@media (max-width: 1024px) {

  /* --- TOP·헤더 --- */
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-right {
    gap: 4px;
    align-items: center;
    flex-direction: row;
  }

  .header-contact {
    gap: 6px;
  }

  .header-contact .contact-tel .contact-txt {
    display: none;
  }

  .header-contact .contact-link {
    width: 36px;
    height: 36px;
    justify-content: center;
    border-radius: 999px;
  }

  .header-contact .contact-kakao {
    display: inline-flex;
  }

  .nav-dimmed {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: block;
    background: rgba(18, 20, 24, .58);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
  }

  .nav-dimmed.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    width: min(84vw, 360px);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 0 22px 28px;
    border: 0;
    background: #fff;
    box-shadow: -18px 0 44px rgba(0, 0, 0, .2);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .32s ease, visibility .32s ease;
  }

  .mobile-menu.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-menu-head {
    min-height: 78px;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu-head strong {
    font-size: 20px;
    letter-spacing: -.4px;
  }

  .nav-close {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: 0;
    border-radius: 50%;
    background: transparent;
  }

  .nav-close:hover {
    background: #f2f2f4;
  }

  .close-icon-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
  }

  .mobile-menu-list {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 0;
  }

  .mobile-menu-list a {
    display: block;
    padding: 16px 4px;
    border-bottom: 1px solid #f0e8e5;
    color: var(--ink);
    font-weight: 700;
  }

  .mobile-menu-list a:hover,
  .mobile-menu-list a:focus-visible {
    color: var(--primary-dark);
  }

  /* --- TOP·히어로 --- */
  .hero h1 {
    font-size: 32px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 220px 370px;
    gap: 20px;
  }

  .hero-illustration img {
    width: min(100%, 220px);
  }

  /* --- INDEX --- */
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-grid {
    grid-template-columns: 1fr 460px;
  }

  .faq-grid {
    grid-template-columns: 300px 1fr;
  }

  .compare-section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .compare-section .comparison-panel {
    width: min(100%, 600px);
  }

  /* --- SUB·서브페이지 --- */
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .subpage-content-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 34px;
  }
}

@media (max-width: 900px) {

  /* --- SUB·서브페이지 --- */
  .subpage-top-copy {
    text-align: center;
    margin-inline: auto;
  }

  .subpage-top-copy .breadcrumb {
    justify-content: center;
  }

  .subpage-top-copy h1,
  .subpage-top-copy>p {
    margin-left: auto;
    margin-right: auto;
  }

  .subpage-content-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .subpage-left-column {
    position: static;
  }

  .subpage-keyword-panel {
    border-radius: 16px;
  }

  .subpage-keyword-head {
    padding: 18px 20px;
  }

  .subpage-keyword-head h2 {
    font-size: 20px;
  }

  .subpage-keyword-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subpage-keyword-nav a:nth-child(odd) {
    border-right: 1px solid #e3ecf4;
  }

  /* --- SUB·가로형폼(미사용) --- */
  .horizontal-quote-form .submit-button {
    height: 54px;
  }

  .horizontal-quote-form .form-error {
    text-align: left;
  }

  .horizontal-quote-form .verification-label {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .horizontal-quote-form .auth-request-button {
    width: 82px;
    height: 50px;
    min-height: 50px;
    margin: 0;
    padding: 0 6px;
    font-size: 16px;
  }

  .horizontal-quote-form .phone-inputs {
    grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
  }
}

@media (max-width: 820px) {

  /* --- BASE --- */
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  /* --- TOP·헤더 --- */
  .header-inner {
    height: 68px;
  }

  .brand-mark {
    width: 40px;
  }

  .brand-copy strong {
    font-size: 21px;
  }

  /* --- TOP·히어로 --- */
  .hero {}

  .hero h1 {
    font-size: clamp(40px, 10vw, 48px);
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-copy {
    grid-area: hero-copy;
    order: initial;
    min-width: 0;
    text-align: left;
  }

  .hero-illustration {
    margin-top: -8px;
    margin-bottom: -2px;
    grid-area: hero-art;
    position: static;
    order: initial;
    width: 110px;
    min-width: 0;
    margin: 0;
    align-self: center;
    justify-self: end;
    justify-content: flex-end;
  }

  .hero-illustration img {
    width: 110px;
    max-width: 100%;
    height: auto;
    margin: 0;
    filter: drop-shadow(0 10px 20px rgba(25, 118, 210, .14));
  }

  .hero-grid {
    gap: 22px;
    display: grid;
    grid-template-areas: "hero-copy hero-art"
      "hero-form hero-form";
    row-gap: 20px;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) 132px;
    column-gap: 8px;
  }

  .hero-illustration,
  .hero-illustration img {
    width: 132px;
  }

  /* --- TOP·견적폼 --- */
  .quote-card {
    grid-area: hero-form;
    order: initial;
    width: 100%;
    margin: 0 auto;
  }

  /* --- 공통·섹션헤딩 --- */
  .section {
    padding: 0 0;
  }

  .section-heading p {
    font-size: 17px;
  }

  .section-heading-row {
    text-align: left;
  }

  .section-title-line {
    gap: 16px;
  }

  .section-more-link {
    padding: 10px 14px;
    gap: 9px;
    font-size: 13px;
  }

  /* --- INDEX --- */
  .compare-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .compare-copy>p {
    margin-inline: auto;
  }

  .check-list {
    display: inline-block;
    text-align: left;
  }

  .comparison-panel {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .faq-section .section-heading {
    max-width: none;
    text-align: center;
  }

  .guide-card {
    min-height: 295px;
  }

  .insurer-strip .insurer-inner>p {
    display: none !important;
  }

  .insurer-strip .insurer-inner {
    gap: 0;
    padding: 12px 14px;
  }

  .insurer-strip .marquee {
    width: 100%;
    flex: 1 1 100%;
  }

  /* --- SUB·서브페이지 --- */
  .info-hub-content {
    padding-top: 30px;
  }

  .subpage-left-column,
  .subpage-keyword-panel {
    display: none !important;
  }

  .subpage-content-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  .subpage-right-column,
  .subpage-main-column,
  .article-main {
    width: 100%;
    min-width: 0;
  }

  .subpage-shell>section[aria-labelledby="pageTitle"],
  .subpage-shell #pageTitle {
    display: none !important;
  }

  .subpage-shell>section[aria-labelledby="pageTitle"],
  .subpage-shell #pageTitle {
    display: none !important;
  }

  .subpage-shell .subpage-content-section,
  .subpage-shell .info-hub-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

@media (max-width: 768px) {

  /* --- INDEX --- */
  .board_link,
  .board_item--empty p {
    min-height: 72px;
    padding: 16px 4px;
    font-size: 17px;
  }

  /* --- SUB·서브페이지 --- */
  .subp_thumb img {
    width: 75%;
  }
}

@media (max-width: 600px) {

  /* --- BASE --- */
  body {
    font-size: 17px;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  /* --- TOP·헤더 --- */
  .brand-copy small {
    display: none;
  }

  .mobile-menu a {
    font-size: 16px;
  }

  /* --- TOP·히어로 --- */
  .hero {
    padding-top: 34px;
    margin-bottom: 20px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero h1 {
    margin-top: 8px;
    margin-bottom: 14px;
    font-size: clamp(29px, 8.4vw, 35px);
    line-height: 1.23;
    letter-spacing: -1.8px;
  }

  .hero-description {
    font-size: 17px;
    line-height: 1.25;
  }

  .hero-illustration {
    width: 88px;
  }

  .hero-illustration img {
    width: 88px;
  }

  .hero-grid {
    row-gap: 16px;
    grid-template-columns: minmax(0, 1fr) 130px;
    column-gap: 5px;
  }

  .hero-illustration,
  .hero-illustration img {
    width: 130px;
  }

  /* --- TOP·견적폼 --- */
  .quote-card {
    padding: 28px 20px 23px;
    border-radius: 23px;
  }

  .quote-card h2 {
    font-size: 25px;
  }

  .form-row {
    grid-template-columns: 1fr 132px;
    gap: 8px;
  }

  .field input,
  .field select,
  .segmented {
    height: 48px;
  }

  .segmented span {
    height: 38px;
  }

  .phone-inputs {
    grid-template-columns: 82px 1fr 1fr;
    gap: 6px;
  }

  .phone-inputs input,
  .phone-inputs select {
    padding: 0 9px;
  }

  .agreement-row {
    align-items: flex-start;
  }

  .checkbox-label {
    align-items: flex-start;
    line-height: 1.5;
  }

  .field>span,
  .gender-field legend {
    font-size: 14px;
  }

  .field input,
  .field select {
    font-size: 16px;
  }

  .checkbox-label,
  .text-button {}

  .verification-controls {
    grid-template-columns: minmax(0, 1fr) 60px 72px;
    column-gap: 8px;
    row-gap: 4px;
  }

  .segmented.gender-options {
    gap: 7px;
  }

  .segmented.gender-options .gender-option span {
    border-radius: 9px;
    font-size: 16px;
  }

  /* --- 공통·섹션헤딩 --- */
  .section {
    padding: 30px 0 20px 0;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .section-heading p {
    font-size: 16px;
  }

  .section-heading-row {
    margin-bottom: 22px;
  }

  .section-title-line {
    align-items: center;
    gap: 10px;
  }

  .section-title-line h2 {
    font-size: clamp(25px, 7.4vw, 32px);
    letter-spacing: -1.5px;
  }

  .section-more-link {
    min-width: auto;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 15px;
    white-space: nowrap;
  }

  .section-more-link span {
    font-size: 14px;
  }

  /* --- INDEX --- */
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .compare-copy h2 {
    font-size: 30px;
  }

  .comparison-row {
    grid-template-columns: 1.05fr .55fr 1.05fr;
    padding: 0 16px;
  }

  .panel-top {
    padding: 20px 18px;
  }

  .panel-top strong {}

  .accordion-content {
    padding: 0 8px 24px 37px;
  }

  .guide-card {
    min-height: 285px;
  }

  .guide-card h3 {
    font-size: 22px;
  }

  .guide-card p {
    font-size: 16px;
  }

  .card-link {
    font-size: 15px;
  }

  .accordion-trigger {
    min-height: 72px;
    font-size: 16px;
  }

  .accordion-content p {
    font-size: 15px;
  }

  .compare-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .compare-section .compare-copy h2 {
    font-size: 32px;
  }

  .compare-section .compare-copy>p {
    font-size: 16px;
    line-height: 1.8;
  }

  .compare-section .check-list li {
    margin: 12px 0;
    font-size: 15px;
  }

  .compare-section .panel-top {
    min-height: 66px;
    padding: 18px 17px;
  }

  .compare-section .panel-top span {
    font-size: 13px;
  }

  .compare-section .panel-top strong {
    font-size: 18px;
  }

  .compare-section .comparison-row {
    grid-template-columns: 1.15fr .38fr .85fr;
    min-height: 62px;
    padding: 0 15px;
    font-size: 15px;
  }

  .compare-section .comparison-row strong {
    font-size: 15px;
  }

  .compare-section .comparison-row.head {
    min-height: 44px;
    font-size: 12px;
  }

  .compare-section .dot.yes {
    font-size: 12px;
  }

  .compare-section .tag {
    padding: 5px 10px;
    font-size: 13px;
  }

  .compare-section .panel-foot {
    padding: 15px 16px;
    font-size: 12px;
  }

  .insurer-inner>p {
    display: none;
  }

  /* --- SUB·서브페이지 --- */
  .breadcrumb {
    margin-bottom: 22px;
    font-size: 12px;
  }

  .content-section {
    padding: 34px 10px;
  }

  .content-section h2 {
    font-size: 27px;
  }

  .intro-section {
    padding: 24px 20px;
  }

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

  .related-section {
    padding: 70px 0;
  }

  .subpage-top-copy .breadcrumb {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .subpage-top-copy h1 {
    margin-top: 12px;
    font-size: 36px;
    line-height: 1.23;
    letter-spacing: -2px;
  }

  .subpage-top-copy>p {
    font-size: 15px;
    line-height: 1.75;
  }

  .subpage-content-section {}

  .subpage-content-layout {
    gap: 28px;
  }

  .subpage-keyword-nav {
    grid-template-columns: 1fr;
  }

  .subpage-keyword-nav a:nth-child(odd) {
    border-right: 0;
  }

  .subpage-keyword-nav a {
    min-height: 54px;
  }

  .content-section p {
    line-height: 1.95;
    font-size: 17px;
  }

  .faq-page-list .accordion-trigger {
    padding-left: 8px;
    padding-right: 8px;
  }

  .faq-page-list .accordion-content {
    padding-left: 38px;
    padding-right: 8px;
  }

  /* --- SUB·가로형폼(미사용) --- */
  .horizontal-quote-form .form-row {
    grid-template-columns: 1fr 125px;
  }

  .horizontal-quote-form .phone-inputs {
    grid-template-columns: 76px 1fr 1fr;
  }

  .horizontal-quote-form .field input,
  .horizontal-quote-form .field select,
  .horizontal-quote-form .segmented {
    height: 50px;
  }

  /* --- TOP·견적폼 --- */
  .segmented.gender-options,
  .segmented.gender-options .gender-option,
  .segmented.gender-options .gender-option span {
    height: 48px;
  }

  /* --- SUB·가로형폼(미사용) --- */
  .horizontal-quote-form .segmented span {
    height: 42px;
  }

  .horizontal-quote-form .verification-label {
    display: block;
  }

  .horizontal-quote-form .verification-label>span {
    display: block;
    margin: 0 0 6px;
  }

  .horizontal-quote-form .verification-controls {
    grid-template-columns: minmax(0, 1fr) 54px 64px;
  }

  .horizontal-quote-form .auth-status {
    grid-column: auto;
  }

  .horizontal-quote-form {
    grid-template-columns: minmax(0, 1fr) 76px;
    column-gap: 7px;
  }

  .horizontal-quote-form .auth-request-button {
    width: 76px;
    padding-inline: 4px;
    font-size: 16px;
    letter-spacing: 0;
  }

  .horizontal-quote-form .phone-inputs {
    grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr);
    gap: 5px;
  }

  /* --- BOTTOM·푸터 --- */
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .footer-brand strong {
    font-size: 27px;
  }

  .footer-brand span {
    font-size: 14px;
  }

  /* --- BOTTOM·모달 --- */
  .modal {
    padding: 12px;
  }

  .modal-dialog {
    max-height: 88vh;
    border-radius: 17px;
  }

  .modal-head {
    padding: 18px;
  }

  .modal-body {
    padding: 20px;
  }

  .result-dialog {
    padding: 36px 22px 24px;
  }
}

@media (max-width: 480px) {

  /* --- SUB·서브페이지 --- */
  .subp_thumb {
    display: none;
  }

  /* --- BOTTOM·모달 --- */
  #result_popup {
    width: 95%;
  }

  #layer_iframe {
    height: 60vh;
  }
}

@media (max-width: 390px) {

  /* --- TOP·히어로 --- */
  .hero h1 {
    font-size: 28px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 96px;
    column-gap: 3px;
  }

  .hero-illustration,
  .hero-illustration img {
    width: 96px;
  }

  /* --- TOP·견적폼 --- */
  .phone-inputs {
    grid-template-columns: 78px 1fr 1fr;
  }

  .quote-card {
    padding-inline: 16px;
  }

  /* --- SUB·가로형폼(미사용) --- */
  .horizontal-quote-form .name-gender-row {
    grid-template-columns: 1fr;
  }

  .horizontal-quote-form .phone-inputs {
    grid-template-columns: 72px 1fr 1fr;
  }

  .horizontal-quote-form {
    grid-template-columns: minmax(0, 1fr) 72px;
    column-gap: 6px;
  }

  .horizontal-quote-form .auth-request-button {
    width: 72px;
    font-size: 15px;
  }

  .horizontal-quote-form .phone-inputs {
    grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1fr);
    gap: 4px;
  }
}