/* Life Partner custom theme - carenation-inspired */

:root {
  --lp-primary: #1f8fff;
  --lp-primary-dark: #0d6efd;
  --lp-accent: #00c2a8;
  --lp-text: #1a2332;
  --lp-text-sub: #5b6b7e;
  --lp-bg: #f6f8fb;
  --lp-border: #e5eaf2;
  --lp-white: #ffffff;
  --lp-radius: 12px;
  --lp-shadow: 0 4px 20px rgba(15, 30, 60, 0.06);
}

html, body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
  color: var(--lp-text);
  background: var(--lp-white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--lp-primary); }

.lp-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============ HEADER ============ */
#lp-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--lp-border);
}
.lp-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.lp-logo { font-size: 22px; font-weight: 800; color: var(--lp-primary); letter-spacing: -0.5px; }
.lp-logo span { color: var(--lp-text); }

.lp-gnb { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.lp-gnb a { font-weight: 600; font-size: 16px; color: var(--lp-text); padding: 8px 0; }
.lp-gnb a:hover { color: var(--lp-primary); }

.lp-header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lp-primary); color: #fff;
  padding: 10px 20px; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  transition: background .2s;
}
.lp-header-cta:hover { background: var(--lp-primary-dark); color: #fff; }

/* ============ HERO ============ */
.lp-hero {
  background: linear-gradient(135deg, #e7f2ff 0%, #eaf8f5 100%);
  padding: 100px 0 120px;
}
.lp-hero-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
}
.lp-hero h1 {
  font-size: 48px; font-weight: 800; line-height: 1.25;
  color: var(--lp-text); margin: 0 0 20px;
  letter-spacing: -1px;
}
.lp-hero h1 em { color: var(--lp-primary); font-style: normal; }
.lp-hero p {
  font-size: 18px; color: var(--lp-text-sub); margin: 0 0 32px;
}
.lp-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; border-radius: 999px;
  font-weight: 700; font-size: 16px;
  transition: all .2s; border: none; cursor: pointer;
}
.lp-btn-primary { background: var(--lp-primary); color: #fff; }
.lp-btn-primary:hover { background: var(--lp-primary-dark); color: #fff; transform: translateY(-2px); }
.lp-btn-outline { background: #fff; color: var(--lp-text); border: 1.5px solid var(--lp-border); }
.lp-btn-outline:hover { border-color: var(--lp-primary); color: var(--lp-primary); }

.lp-hero-visual {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--lp-shadow);
  text-align: center;
}
.lp-hero-visual-icon { font-size: 120px; color: var(--lp-primary); margin-bottom: 16px; }
.lp-hero-visual h3 { font-size: 22px; margin: 0 0 8px; }
.lp-hero-visual p { font-size: 15px; color: var(--lp-text-sub); margin: 0; }

/* ============ SECTIONS ============ */
.lp-section { padding: 100px 0; }
.lp-section-bg { background: var(--lp-bg); }
.lp-section-head { text-align: center; margin-bottom: 60px; }
.lp-section-head h2 {
  font-size: 36px; font-weight: 800; margin: 0 0 12px;
  letter-spacing: -1px;
}
.lp-section-head p { font-size: 17px; color: var(--lp-text-sub); margin: 0; }

/* 서비스 카드 */
.lp-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-service-card {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  padding: 36px 28px;
  transition: all .2s;
}
.lp-service-card:hover {
  border-color: var(--lp-primary);
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow);
}
.lp-service-icon {
  width: 64px; height: 64px;
  background: #eaf3ff; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--lp-primary);
  margin-bottom: 20px;
}
.lp-service-card h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.lp-service-card p { font-size: 15px; color: var(--lp-text-sub); margin: 0; line-height: 1.7; }

/* 이용 절차 */
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lp-step {
  background: #fff;
  border-radius: var(--lp-radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.lp-step-num {
  display: inline-block;
  width: 44px; height: 44px; line-height: 44px;
  border-radius: 50%;
  background: var(--lp-primary); color: #fff;
  font-weight: 800; font-size: 18px;
  margin-bottom: 16px;
}
.lp-step h4 { font-size: 18px; margin: 0 0 8px; }
.lp-step p { font-size: 14px; color: var(--lp-text-sub); margin: 0; }

/* 공지사항 리스트 */
.lp-notice-wrap { background: #fff; border-radius: var(--lp-radius); padding: 12px 28px; border: 1px solid var(--lp-border); }
.lp-notice-wrap ul { list-style: none; margin: 0; padding: 0; }
.lp-notice-wrap li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--lp-border);
}
.lp-notice-wrap li:last-child { border-bottom: none; }
.lp-notice-wrap li a { font-size: 16px; font-weight: 500; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 20px; }
.lp-notice-wrap li time { font-size: 14px; color: var(--lp-text-sub); }
.lp-notice-more { text-align: right; margin-top: 20px; }
.lp-notice-more a { color: var(--lp-primary); font-weight: 600; font-size: 15px; }

/* Bottom CTA */
.lp-cta-band {
  background: linear-gradient(135deg, var(--lp-primary) 0%, #2da8ff 100%);
  color: #fff; text-align: center; padding: 80px 20px;
}
.lp-cta-band h2 { font-size: 34px; font-weight: 800; margin: 0 0 12px; color: #fff; }
.lp-cta-band p { font-size: 17px; margin: 0 0 28px; opacity: .92; }
.lp-cta-band .lp-btn {
  background: #fff; color: var(--lp-primary);
}
.lp-cta-band .lp-btn:hover { background: #f0f7ff; }

/* ============ FOOTER ============ */
#lp-footer {
  background: #1a2332; color: #a0a8b3;
  padding: 60px 0 40px;
  font-size: 14px;
}
.lp-footer-top {
  display: flex; justify-content: space-between; gap: 40px;
  padding-bottom: 32px; border-bottom: 1px solid #2a3340;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.lp-footer-brand { max-width: 360px; }
.lp-footer-brand .lp-logo { color: #fff; margin-bottom: 12px; display: block; }
.lp-footer-brand p { margin: 0; line-height: 1.7; }
.lp-footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.lp-footer-links a { color: #d0d8e0; font-weight: 500; }
.lp-footer-links a:hover { color: #fff; }
.lp-footer-info { line-height: 1.9; }
.lp-footer-info strong { color: #fff; }
.lp-copy { margin-top: 24px; color: #6b7280; font-size: 13px; }

/* ============ SUB PAGE CONTAINER ============ */
#container_wr {
  max-width: 1200px; margin: 0 auto; padding: 40px 20px 80px;
}
#container_title {
  font-size: 30px; font-weight: 800; margin: 20px 0 40px;
  padding-bottom: 20px; border-bottom: 2px solid var(--lp-text);
}

/* Hide default gnuboard top nav clutter */
#tnb, #hd_h1, #hd_wrapper, nav#gnb, #aside, #ft_link, #ft_wr, #ft_company, #ft_copy, #top_btn { display: none !important; }
#hd { background: none; border: none; min-height: 0; }
#ft { background: none; padding: 0; }

/* ============ CONSULT FORM ============ */
.lp-form-wrap {
  max-width: 720px; margin: 0 auto;
  background: #fff; padding: 48px;
  border: 1px solid var(--lp-border); border-radius: var(--lp-radius);
}
.lp-form-wrap h2 { margin: 0 0 8px; font-size: 28px; }
.lp-form-wrap .lp-form-sub { color: var(--lp-text-sub); margin: 0 0 32px; }
.lp-field { margin-bottom: 20px; }
.lp-field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 15px; }
.lp-field label .req { color: #e94b4b; }
.lp-field input[type=text],
.lp-field input[type=tel],
.lp-field input[type=email],
.lp-field select,
.lp-field textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--lp-border); border-radius: 10px;
  font-size: 15px; font-family: inherit;
  background: #fff;
  box-sizing: border-box;
}
.lp-field textarea { min-height: 140px; resize: vertical; }
.lp-field input:focus, .lp-field select:focus, .lp-field textarea:focus {
  outline: none; border-color: var(--lp-primary);
}
.lp-form-agree {
  background: var(--lp-bg); padding: 16px; border-radius: 10px;
  font-size: 14px; color: var(--lp-text-sub);
  margin: 24px 0;
}
.lp-form-agree label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.lp-form-submit { width: 100%; padding: 18px; font-size: 17px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .lp-hero { padding: 60px 0 80px; }
  .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .lp-hero h1 { font-size: 34px; }
  .lp-section { padding: 70px 0; }
  .lp-section-head h2 { font-size: 28px; }
  .lp-services { grid-template-columns: 1fr; }
  .lp-steps { grid-template-columns: repeat(2, 1fr); }
  .lp-gnb { display: none; }
  .lp-form-wrap { padding: 28px 20px; }
}
