/* SBI 아파트담보대출 LP */
:root {
  --blue: #1877f2;
  --blue-dark: #002d96;
  --blue-text: #1a73e8;
  --blue-soft: #e8f4ff;
  --blue-mid: #d6ebff;
  --gray-bg: #f2f4f7;
  --gray-text: #555;
  --gray-muted: #777;
  --line: #e8e8e8;
  --footer-bg: #4a4e51;
  --max: 430px;
  --font: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: #fff;
  color: #111;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

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

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding-bottom: 88px;
  position: relative;
  overflow-x: clip;
}

/* Header */
.header {
  padding: 18px 20px 12px;
  background: #fff;
}

.header a {
  display: inline-block;
}

.header-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.header img {
  height: 28px;
  width: auto;
}

.header-trustee {
  font-size: 11px;
  font-weight: 500;
  color: #888;
  letter-spacing: -0.03em;
  line-height: 1.2;
  white-space: nowrap;
}

/* Hero */
.hero {
  padding: 0 16px 0;
}

.hero-card {
  background: linear-gradient(180deg, #eaf5ff 0%, #dcefff 100%);
  border-radius: 36px 36px 56px 0;
  padding: 32px 24px 0;
  overflow: visible;
}

.hero-sub {
  color: var(--blue-text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  letter-spacing: -0.02em;
}

.hero-visual {
  margin: 12px auto 0;
  width: 96%;
  max-width: 360px;
  overflow: visible;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* 원본: 파란 영역 왼쪽 하단에 흰 탭이 자연스럽게 붙음 */
.credit-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0 -10px;
  padding: 14px 22px 16px 14px;
  background: #fff;
  border-radius: 999px 28px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  letter-spacing: -0.045em;
  line-height: 1.35;
}

.credit-note img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Contact: consult + CTA */
.contact-section {
  margin: 14px 16px 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.consult {
  display: block;
  background: #eef0f5;
  border-radius: 36px;
  padding: 28px 20px 26px;
  text-align: center;
}

.consult-label {
  font-size: 18px;
  font-weight: 800;
  color: #000;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.consult-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #1877f2;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.consult-phone img {
  width: 42px;
  height: auto;
  object-fit: contain;
  display: block;
}

.cta-block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1877f2;
  color: #fff;
  border-radius: 36px;
  padding: 22px 48px;
  text-align: center;
  min-height: 92px;
}

.cta-block .cta-sub {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.cta-block .cta-main {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.045em;
  margin-top: 4px;
}

.cta-block .chevron {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  opacity: 0.95;
}

/* Biz highlight */
.biz-wrap {
  margin: 28px 16px 0;
  background: #eaf4ff;
  border-radius: 28px;
  padding: 28px 14px 22px;
  overflow: visible;
}

.biz-section {
  margin: 0;
  background: transparent;
  border-radius: 0;
  padding: 0 2px 18px;
  text-align: center;
}

.interest-card {
  margin-top: 4px;
}

.biz-badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 6px;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.biz-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.biz-title .accent {
  color: var(--blue);
}

.biz-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(30, 90, 160, 0.1);
  padding: 18px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  overflow: visible;
}

.dsr-sign {
  width: 118px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.dsr-sign img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.biz-card-text {
  flex: 1;
  text-align: center;
}

.biz-card-text .blue {
  color: var(--blue);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.biz-card-text .black {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 2px;
}

/* Interest repayment card (icon left) */
.feature-pad {
  margin: 18px 16px 0;
}

.feature-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  padding: 24px 22px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow: visible;
}

.feature-card--icon-left {
  justify-content: flex-start;
  gap: 12px;
  padding: 22px 20px 22px 16px;
  border-radius: 28px;
  box-shadow: 0 12px 30px rgba(30, 90, 160, 0.1);
}

.feature-card--icon-left .icon {
  width: 96px;
  order: 0;
  margin-right: 0;
  overflow: visible;
  flex-shrink: 0;
}

.feature-card--icon-left .text {
  flex: 1;
  text-align: left;
  padding-right: 4px;
}

.feature-card--icon-left .title {
  font-size: 22px;
  margin-bottom: 6px;
  letter-spacing: -0.04em;
  color: #1877f2;
}

.feature-card--icon-left .desc {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.04em;
  color: #000;
}

.feature-card + .feature-card {
  margin-top: 14px;
}

.feature-card .title {
  color: var(--blue);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.feature-card .desc {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: #111;
}

.feature-card .note {
  font-size: 13px;
  font-weight: 500;
  color: #555;
  margin-top: 4px;
}

.feature-card .icon {
  width: 92px;
  flex-shrink: 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-right: 2px;
}

.feature-card .icon img {
  width: 100%;
  max-width: 92px;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.feature-card .title-stack {
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
  margin-bottom: 4px;
}

.feature-card .household {
  letter-spacing: 0.35em;
}

/* Mid heading */
.mid-heading {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.35;
  margin: 36px 20px 18px;
}

.section-soft {
  background: #f5f8fb;
  padding: 8px 14px 28px;
  margin-top: 8px;
  overflow: visible;
}

/* Product guide */
.product-guide {
  padding: 40px 20px 10px;
  text-align: center;
}

.product-guide h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.product-guide .guide-sub {
  color: var(--blue);
  font-size: 24px;
  font-weight: 800;
  margin: 4px 0 22px;
  letter-spacing: -0.03em;
}

.guide-block {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.guide-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.pill {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.guide-body {
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: -0.02em;
  color: #222;
}

.guide-body strong {
  font-weight: 800;
}

.guide-note {
  font-size: 13px;
  color: #555;
  margin-top: 4px;
}

/* Detail toggle */
.detail-toggle {
  margin: 18px 16px 0;
  width: calc(100% - 32px);
  padding: 0;
  background: transparent;
  border: 0;
  display: block;
  line-height: 0;
}

.detail-toggle-img {
  width: 100%;
  height: auto;
  display: block;
}

.detail-panel {
  display: none;
  margin: 12px 16px 0;
  border: 1px solid #e0e0e0;
  border-radius: 18px;
  padding: 22px 18px 18px;
  background: #fff;
}

.detail-panel.is-open {
  display: block;
}

.detail-list {
  font-size: 13px;
  line-height: 1.65;
  color: var(--gray-text);
  letter-spacing: -0.02em;
}

.detail-list .h {
  font-weight: 700;
  color: #444;
  margin-top: 16px;
}

.detail-list .h:first-child {
  margin-top: 0;
}

.detail-list .item {
  padding-left: 10px;
}

.detail-list .sub {
  padding-left: 22px;
}

.detail-list .deep {
  padding-left: 34px;
}

.detail-list .bold {
  font-weight: 700;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 8px;
}

.btn-info-img {
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  line-height: 0;
}

.btn-info-img img {
  display: block;
  height: auto;
  max-width: 100%;
}

/* Notices */
.notices {
  padding: 28px 22px 10px;
  font-size: 12.5px;
  line-height: 1.75;
  color: #666;
  letter-spacing: -0.02em;
}

.notices p {
  text-indent: -1em;
  padding-left: 1em;
  margin-bottom: 2px;
}

.notices .indent {
  text-indent: 0;
  padding-left: 1em;
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: #dcdcdc;
  padding: 22px 18px 28px;
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

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

.footer-brand {
  flex-shrink: 0;
  padding-top: 2px;
}

.footer-logo {
  font-style: italic;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer-logo span {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  margin-left: 4px;
}

.footer-trustee {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.03em;
  line-height: 1.3;
  white-space: nowrap;
}

.footer-info {
  flex: 1;
  text-align: left;
}

.footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 14px 0;
}

.footer-examples {
  opacity: 0.95;
}

/* Sticky bottom */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: min(calc(100% - 28px), 402px);
  z-index: 50;
  display: block;
  line-height: 0;
  filter: drop-shadow(0 8px 24px rgba(24, 119, 242, 0.35));
}

.sticky-cta > img:first-child {
  width: 100%;
  height: auto;
  display: block;
}

.sticky-cta .sticky-arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: auto;
}

.float-top {
  position: fixed;
  right: max(12px, calc(50% - 215px));
  bottom: 78px;
  z-index: 49;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  line-height: 0;
}

.float-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.float-top.is-show {
  opacity: 1;
  pointer-events: auto;
}

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

.popup-backdrop.is-open {
  display: flex;
}

.popup--img {
  background: transparent;
  border-radius: 0;
  width: min(100%, 360px);
  padding: 0;
  position: relative;
  line-height: 0;
}

.popup--img > img {
  width: 100%;
  height: auto;
  display: block;
}

.popup-close {
  position: absolute;
  top: 2%;
  right: 2%;
  width: 12%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: transparent;
  border: 0;
  z-index: 2;
}

@media (min-width: 480px) {
  .page {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
  }
}
