/* main.css — compiled from scss/main.scss */

/* ── 보험사 로고 스텝 슬라이더 */
.ins-logos {
  padding: 18px 0;
  background: var(--bg-section);
}
.ins-logos__inner {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.ins-logos__track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  will-change: transform;
}
.ins-logos__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 230px;
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: 50px;
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.ins-logos__item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.12);
}
.ins-logos__item img {
  height: 28px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
.ins-logos__item span {
  display: none;
}
@media (max-width: 767px) {
  .ins-logos__inner { margin: 0 20px; }
  .ins-logos__item {
    width: calc((100vw - 40px - 12px * 2) / 3);
    padding: 8px 0;
  }
  .ins-logos__item img {
    height: 22px;
    max-width: 80px;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--bg-section);
  padding: 48px 0 56px;
}
.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.hero__left {
  flex: 1;
  min-width: 0;
  padding-top: 8px;
  max-width: 50%;
}
.hero__badge {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 6px 20px;
  margin-bottom: 20px;
}
.hero__title {
  font-size: 41px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 16px;
}
.hero__title .text-primary { color: var(--primary); }
.hero__desc {
  font-size: 18px;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 24px;
}
.hero__list { margin-bottom: 32px; }
.hero__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 10px;
}
.hero__list li::before {
  content: '';
  width: 22px;
  height: 22px;
  background: url('../img/check-teal.png') center/contain no-repeat;
  flex-shrink: 0;
}
.hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__right {
  flex: 1;
  min-width: 0;
  max-width: 50%;
}
.hero__card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.08);
}
.hero__card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.hero__card-sub {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 16px;
}
.hero__card-sub strong {
  color: var(--primary);
  font-weight: 700;
}

/* Swiper 카드 */
.hero-swiper .swiper-wrapper { align-items: stretch; }
.hero-swiper .swiper-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.prod-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}
.prod-card__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 8px;
  background: var(--bg-blue-light);
  border-radius: 10px;
  box-sizing: border-box;
  margin-bottom: 12px;
  flex-shrink: 0;
  transition: background 0.25s ease;
}
.prod-card__ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: filter 0.25s ease;
}
.prod-card:hover .prod-card__ico {
  background: var(--primary);
}
.prod-card:hover .prod-card__ico img {
  filter: brightness(0) invert(1);
}
.prod-card > span:not(.prod-card__ico) {
  font-size: 13px;
  color: var(--primary);
  font-weight: 400;
  margin-bottom: 4px;
  position: absolute;
  top: 10px;
  right: 10px;
}
.prod-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.prod-card p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.4;
}
.prod-card:hover {
  border-color: var(--primary);
}

/* Swiper 네비게이션 — 버튼은 .hero__card-nav 안에 있음 */
.hero__card-nav .swiper-button-prev,
.hero__card-nav .swiper-button-next {
  position: static !important;
  width: 32px;
  height: 32px;
  margin-top: 0 !important;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  font-size: 14px;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.hero__card-nav .swiper-button-prev::after,
.hero__card-nav .swiper-button-next::after { font-size: 14px; }
.hero__card-nav .swiper-button-prev:hover,
.hero__card-nav .swiper-button-next:hover { border-color: var(--primary); color: var(--primary); }

.hero__card-nav {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 12px;
}

@media (max-width: 767px) {
  .hero { padding: 32px 0 40px; }
  .hero__inner { flex-direction: column; gap: 28px; }
  .hero__left { max-width: 100%; }
  .hero__right { width: 100%; max-width: 100%; }
  .hero__title { font-size: 36px; }
  .hero__btns { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .hero__btns .btn {
    flex: 1;
    min-width: 120px;
    justify-content: center;
    padding: 10px 14px;
    font-size: 16px;
    border-radius: 8px;
  }
  .prod-card { padding: 10px; }
  .prod-card__ico { width: 36px; height: 36px; padding: 6px; border-radius: 8px; margin-bottom: 8px; }
  .prod-card h4 { font-size: 13px; margin-bottom: 2px; }
  .prod-card p { font-size: 12px; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--white);
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stats__list li {
  flex: 1;
  text-align: center;
  padding: 8px 20px;
}
.stats__list li:not(:last-child) { border-right: 1px solid var(--border); }
.stats__list li strong {
  display: block;
  font-size: 38px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.stats__list li p {
  font-size: 18px;
  color: var(--text-sub);
}

@media (max-width: 767px) {
  .stats__list { flex-direction: column; gap: 0; }
  .stats__list li {
    border-right: none !important;
    border-bottom: 1px solid var(--border);
    padding: 16px;
    width: 100%;
  }
  .stats__list li:last-child { border-bottom: none; }
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products {
  background: var(--bg-section);
  padding: 64px 0;
}
.products__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.products__inner h3 {
  font-size: 34px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.products__inner p {
  font-size: 18px;
  color: var(--text-sub);
  margin-bottom: 40px;
}
.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}
.products__grid li a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  height: 100%;
  position: relative;
}
.products__grid li a .prod-card__ico {
  width: 52px;
  height: 52px;
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 12px;
}
.products__grid li a:hover .prod-card__ico {
  background: var(--primary);
}
.products__grid li a:hover .prod-card__ico img {
  filter: brightness(0) invert(1);
}
.products__grid li a span:not(.prod-card__ico) {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 400;
}
.products__grid li a h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.products__grid li a p {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.5;
  margin: 0;
  margin-bottom: 0;
  text-align: left;
}
.products__grid li a:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.12);
  transform: translateY(-4px);
}

@media (max-width: 767px) {
  .products { padding: 40px 0; }
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .products__inner h3 { font-size: 29px; }
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  background: var(--white);
  padding: 64px 0;
  text-align: center;
}
.process__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.process__inner h3 {
  font-size: 34px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.process__inner > p {
  font-size: 18px;
  color: var(--text-sub);
  margin-bottom: 48px;
}
.process__steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: flex-start;
}
.process__steps li {
  flex: 1;
  max-width: 220px;
  text-align: center;
}
.process__steps li img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 12px;
  padding: 12px;
  background: var(--bg-blue-light);
  border-radius: 14px;
  box-sizing: border-box;
}
.process__steps li small {
  display: block;
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.process__steps li h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.process__steps li p {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.7;
}
.process__steps-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.process__steps-wrap .step-arrow {
  display: flex;
  align-items: center;
  padding-top: 28px;
  color: var(--border);
  font-size: 24px;
}

@media (max-width: 767px) {
  .process { padding: 40px 0; }
  .process__inner h3 { font-size: 29px; }
  .process__steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
  }
  .process__steps li {
    max-width: none;
    flex: 1;
  }
  .process__steps li img {
    width: 48px;
    height: 48px;
    padding: 10px;
    border-radius: 12px;
  }
  .process__steps li h4 { font-size: 17px; }
  .process__steps li p { font-size: 13px; }
}

/* ============================================================
   CONSULT FORM
   ============================================================ */
.consult {
  background: var(--white);
  padding: 48px 0;
}
.consult__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.consult__title {
  font-size: 29px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.consult__desc {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}
.consult__form {
  background: var(--primary);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.35);
}
.consult__row-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: calc(120px + 10px);
}
.consult__row {
  display: flex;
  gap: 10px;
  align-items: center;
  height: 48px;
}
.consult__row--1 #consultantNm { width: 22%; flex-shrink: 0; }
.consult__row--2 #consultantPhone { width: 40%; flex-shrink: 0; }
.consult__row--1 #age,
.consult__row--2 #consultTxt { flex: 1; min-width: 0; }
.consult__row--2 #insType { flex-shrink: 0; width: 140px; }
.consult__submit { position: absolute; right: 0; top: 0; width: 120px; height: 106px; }
.consult__row-wrap input,
.consult__row-wrap select {
  height: 48px;
  padding: 0 14px;
  background: var(--white);
  border: 1.5px solid transparent;
  border-radius: 6px;
  font-size: 18px;
  color: var(--text);
  transition: border-color 0.25s ease;
}
.consult__row-wrap input::placeholder { color: #aaa; }
.consult__row-wrap input:focus { border-color: var(--primary-hover); }
.consult__row-wrap select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23444' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  appearance: none;
  -webkit-appearance: none;
}
.consult__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 108px;
  padding: 0 24px;
  background: var(--primary-hover);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s ease;
  flex-shrink: 0;
}
.consult__submit:hover { background: var(--primary-light); }
.consult__agree {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  /* desktop: row 3, cols 1-4 (not col 5 = button) */
  grid-column: 1 / 5;
  grid-row: 3;
  margin: 4px 0 0;
}
.consult__agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--white);
  cursor: pointer;
}
.consult__agree a {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
}
.consult__agree a:hover { color: var(--white); }

@media (max-width: 767px) {
  .consult { padding: 32px 0; }
  .consult__form { padding: 20px; border-radius: 0; }
  .consult__inner { padding: 0; border-radius: 0; }
  .consult__row-wrap {
    padding-right: 0;
  }
  .consult__row { flex-wrap: wrap; height: auto; gap: 8px; }
  .consult__row--1 #consultantNm { width: 100%; flex-shrink: 1; }
  .consult__row--1 #age { flex: 1; }
  .consult__row--2 #consultantPhone { width: 100%; flex-shrink: 1; }
  .consult__row--2 #consultTxt { flex: 1; }
  .consult__row--2 #insType { width: 100%; }
  .consult__submit { position: static; width: 100%; height: 52px; }
}

/* consult 폼 성별 버튼 */
.consult .btn-gender {
  width: 44px;
  height: 48px;
  border-radius: 6px;
  font-size: 18px;
  background: var(--white);
  color: var(--text);
}
.consult #csGender input:checked + .btn-gender,
.consult .btn-gender:hover {
  background: var(--primary-hover);
  color: var(--white);
}

/* ============================================================
   MAIN FAQ
   ============================================================ */
.main-faq {
  background: var(--bg-section);
}
.main-faq .faq__content h3 {
  font-size: 34px;
  margin-bottom: 8px;
  text-align: center;
}
.main-faq .faq__content > p {
  text-align: center;
}
.main-faq .faq__nav ul li:first-child a {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
}
@media (max-width: 767px) {
  .main-faq .faq__inner { flex-direction: column; }
  .main-faq .faq__nav {
    width: 100%;
  }
  .main-faq .faq__nav ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
}

/* 모바일 화면(767px 이하)일 때 pc-only 클래스를 숨김 처리 */
@media screen and (max-width: 767px) {
    .pc-only {
      display: none !important;
    }
  }