:root {
  --primary: #0b6b57;
  --primary-dark: #08493c;
  --navy: #0f172a;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --soft: #f7faf9;
  --gold: #c9a25d;
  --shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.08);
  --radius: 20px;
  --header-h: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  word-break: keep-all;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-compact {
  padding: 64px 0 24px;
}

.bg-soft {
  background: var(--soft);
}

.center {
  text-align: center;
}

.max-820 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.section-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.section-title.left,
.section-desc.left {
  text-align: left;
}

.section-desc {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.two-col.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.media-card,
.text-card,
.community-card,
.plan-viewer,
.benefit-banner,
.faq-list details,
.popup-card,
.summary-card,
.hero-visual-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.media-card,
.hero-visual-card {
  overflow: hidden;
}

.media-card img,
.hero-visual-card img {
  width: 100%;
  height: auto;
}

.text-card {
  padding: 34px;
}

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

.check-list li {
  padding-left: 28px;
  position: relative;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 900;
}

.feature-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.feature-point {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.feature-point strong {
  display: block;
  margin-bottom: 6px;
}

.feature-point span {
  color: var(--muted);
  font-size: 14px;
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* 버튼 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-outline-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}

.dark-text {
  color: var(--navy);
  border-color: rgba(15, 23, 42, 0.15);
  background: #fff;
}

.btn-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* 팝업 */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.64);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 2000;
}

.popup-overlay.hidden {
  display: none;
}

.popup-card {
  width: min(560px, 100%);
  padding: 28px;
  position: relative;
  text-align: center;
}

.popup-label {
  margin: 0;
  color: var(--primary);
  font-weight: 800;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  color: var(--muted);
}

.popup-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.popup-logo {
  max-width: 260px;
  width: 100%;
  height: auto;
}

.popup-card h2 {
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.25;
  margin: 10px 0 14px;
  letter-spacing: -0.03em;
}

.popup-benefits {
  list-style: none;
  padding: 0;
  margin: 0 auto 14px;
  display: grid;
  gap: 10px;
  max-width: 360px;
}

.popup-benefits li {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--soft);
  font-weight: 900;
  color: var(--primary-dark);
}

.popup-desc {
  margin: 0;
  color: var(--muted);
}

.popup-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.popup-footer {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.popup-hide-today {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}

/* 헤더 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 20px;
  align-items: center;
}

.header-brand img {
  height: 38px;
  width: auto;
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.header-nav a {
  position: relative;
  font-weight: 800;
  color: #374151;
  padding: 6px 2px;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--primary);
}

.header-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: var(--primary);
}

.header-cta {
  display: flex;
  gap: 10px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid var(--line);
  background: #fff;
}

.icon-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.icon-btn-call {
  color: var(--navy);
}

.icon-btn-form {
  color: var(--primary);
}

.mobile-menu-btn,
.mobile-menu {
  display: none;
}

/* PC 플로팅 */
.quick-float {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-float-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.quick-float-btn img {
  width: 18px;
  height: 18px;
}

.quick-call {
  color: var(--navy);
}

.quick-form {
  color: #fff;
  background: var(--primary);
}

/* 히어로 */
.hero.split-hero {
  background:
    linear-gradient(180deg, #f6fbf9 0%, #ffffff 100%);
  padding: 64px 0 36px;
}

.split-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.hero-copy {
  padding: 18px 0;
}

.hero-kicker {
  margin: 0 0 14px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 900;
  color: var(--navy);
}

.hero-sub {
  margin: 20px 0 0;
  font-size: clamp(18px, 2vw, 22px);
  color: #374151;
  font-weight: 500;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-badges span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11, 107, 87, 0.16);
  background: rgba(11, 107, 87, 0.06);
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-urgency {
  margin: 14px 0 0;
  color: #b45309;
  font-weight: 700;
  font-size: 14px;
}

.hero-visual-card {
  padding: 14px;
}

.center-actions {
  justify-content: center;
}

/* 히어로 요약 */
.hero-summary {
  margin-top: 0;
  position: relative;
  z-index: 20;
  padding-bottom: 10px;
}

.hero-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.summary-card {
  padding: 22px;
}

.summary-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.summary-card p {
  margin: 0;
  color: var(--muted);
}

/* 신뢰 */
.trust-strip {
  padding: 24px 0;
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

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

.trust-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  font-weight: 900;
  background: var(--soft);
}

/* 커뮤니티 */
.community-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.community-card {
  overflow: hidden;
}

.community-copy {
  padding: 22px;
}

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

.community-copy p {
  margin: 0;
  color: var(--muted);
}

.benefit-banner {
  margin-top: 30px;
  padding: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.benefit-badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: #f3f4f6;
  font-weight: 900;
  color: var(--primary-dark);
}

/* 긴급성 */
.urgency-box {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff8ef;
  border: 1px solid #f2d3a6;
}

.urgency-box strong {
  display: block;
  color: #7c2d12;
}

.urgency-box p {
  margin: 6px 0 0;
  color: #9a3412;
}

/* 평면 */
.plan-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  justify-content: center;
}

.plan-tab {
  min-width: 92px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
  transition: all 0.2s ease;
}

.plan-tab.active,
.plan-tab:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.plan-viewer {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  padding: 24px;
}

.plan-image-wrap {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.plan-image-wrap img {
  width: 100%;
  height: auto;
}

.plan-info {
  padding: 8px;
}

.plan-topline {
  margin-bottom: 10px;
}

.plan-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(11, 107, 87, 0.10);
  color: var(--primary);
  font-weight: 900;
  font-size: 14px;
}

.plan-info h3 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.1;
}

.plan-info p {
  margin: 0;
  color: var(--muted);
}

.plan-specs {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.plan-specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.plan-specs strong {
  color: var(--navy);
}

.plan-mini-points {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plan-mini-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-weight: 800;
  font-size: 14px;
}

/* FAQ */
.faq-list {
  max-width: 900px;
  margin: 30px auto 0;
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--primary);
  font-size: 22px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* 최종 CTA */
.final-cta {
  background:
    linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #fff;
}

.final-logo {
  max-width: 320px;
  margin: 0 auto 16px;
}

.final-cta .section-title,
.final-cta .section-desc {
  color: #fff;
}

.disclaimer {
  margin-top: 24px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
}

/* 하단 고정 */
.bottom-fixed-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: none;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -12px 24px rgba(15, 23, 42, 0.12);
}

.bottom-fixed-bar a {
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
}

.bottom-fixed-bar img {
  width: 18px;
  height: 18px;
}

.bottom-fixed-call {
  background: var(--navy);
  color: #fff;
}

.bottom-fixed-form {
  background: var(--primary);
  color: #fff;
}

/* 애니메이션 */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 유틸 */
.mobile-only {
  display: none;
}

/* 접근성 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .plan-tab {
    transition: none;
  }
}

/* 반응형 */
@media (max-width: 1200px) {
  .quick-float {
    right: 14px;
  }
}

@media (max-width: 1080px) {
  .header-nav {
    gap: 14px;
  }

  .header-cta .icon-btn span {
    display: none;
  }

  .two-col,
  .two-col.reverse,
  .plan-viewer,
  .hero-summary-grid,
  .split-hero-inner {
    grid-template-columns: 1fr;
  }

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

  .quick-float {
    display: none;
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 72px;
  }

  .section {
    padding: 72px 0;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 22px;
  }

  .mobile-menu {
    display: none;
    padding: 12px 16px 18px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    background: #fff;
  }

  .mobile-menu.open {
    display: grid;
    gap: 10px;
  }

  .mobile-menu a {
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--soft);
    font-weight: 800;
  }

  .hero.split-hero {
    padding: 42px 0 20px;
  }

  .hero-actions,
  .popup-actions,
  .inline-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .trust-grid,
  .feature-points {
    grid-template-columns: 1fr;
  }

  .text-card {
    padding: 26px;
  }

  .mobile-only {
    display: inline;
  }

  .bottom-fixed-bar {
    display: grid;
  }

  body {
    padding-bottom: 62px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .popup-card {
    padding: 22px 18px;
  }

  .header-brand img {
    height: 32px;
  }

  .hero-badges span {
    font-size: 13px;
  }

  .plan-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .plan-tab {
    flex: 0 0 auto;
  }

  .plan-viewer {
    padding: 16px;
  }

  .plan-info h3 {
    font-size: 28px;
  }

  .summary-card {
    padding: 18px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-sub {
    font-size: 17px;
  }
}