/* ================================================
   PATHFINDER — Main Stylesheet
   Design System: Navy + Terracotta + Cream
   ================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary */
  --navy: #1B3A5C;
  --navy-dark: #122840;
  --navy-light: #2A5080;
  --terracotta: #C2694F;
  --terracotta-dark: #A8543C;
  --terracotta-light: #D4856E;
  --cream: #FFF8F0;

  /* Secondary */
  --gold: #D4A853;
  --green: #5B9A6F;
  --light-blue: #E8F0FE;

  /* Neutral */
  --text-dark: #2D2D2D;
  --text-sub: #6B7280;
  --border: #E5E7EB;
  --bg-gray: #F9FAFB;
  --white: #FFFFFF;

  /* Typography */
  --font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

  /* Transition */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--cream);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

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

fieldset {
  border: none;
  padding: 0;
}

legend {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--navy);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: var(--space-md);
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ---------- Section ---------- */
.section {
  padding: var(--space-4xl) 0;
}

.section__title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: var(--navy);
  margin-bottom: var(--space-sm);
  text-wrap: balance;
}

.section__title--light {
  color: var(--white);
}

.section__subtitle {
  font-size: 1.05rem;
  text-align: center;
  color: var(--text-sub);
  margin-bottom: var(--space-3xl);
}

.section__subtitle--light {
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}

.btn--primary {
  background-color: var(--terracotta);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--terracotta-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--navy);
  background: transparent;
}

.btn--ghost:hover {
  background-color: var(--bg-gray);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn--full {
  width: 100%;
}

.btn__icon {
  flex-shrink: 0;
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9991;
  background-color: rgba(255, 248, 240, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.logo-text {
  display: inline-block;
}

.logo-accent {
  color: var(--terracotta);
}

.header__nav {
  display: none;
}

.nav__list {
  display: flex;
  gap: var(--space-lg);
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: var(--space-xs) 0;
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav__link:hover {
  color: var(--terracotta);
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--terracotta);
  transition: width 0.2s var(--ease);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 4px;
  border-radius: 2px;
}

.header__cta {
  display: none;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
}

.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  position: relative;
  z-index: 9995;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--navy);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.header__hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger[aria-expanded="true"] .hamburger__line:nth-child(2) {
  opacity: 0;
}

.header__hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay (body에 직접 생성되는 오버레이) */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--cream);
  z-index: 9990;
  padding: calc(72px + var(--space-2xl)) var(--space-xl) var(--space-xl);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.mobile-nav-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-nav-overlay .nav__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.mobile-nav-overlay .nav__link {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
  display: block;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.mobile-nav-overlay .nav__link:hover,
.mobile-nav-overlay .nav__link:active {
  color: var(--terracotta);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-dark) 40%, #1a2f45 100%);
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

/* 장식용 원형 그래디언트 오버레이 — 오른쪽 상단 */
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(194, 105, 79, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* 장식용 원형 그래디언트 오버레이 — 왼쪽 하단 */
.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(212, 168, 83, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* 3D Particle Canvas */
#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__inner {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: var(--space-3xl) 0;
}

/* 시계 아이콘 + 24시간 AI 상담 */
.hero__symbol {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  color: rgba(255, 255, 255, 0.7);
}

.hero__symbol svg {
  opacity: 0.8;
}

.hero__symbol-label {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
}

/* 핵심 수치 (60~90% / 12만+ / 0원) */
.hero__stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.hero__stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--terracotta-light);
  text-shadow: 0 2px 20px rgba(10, 20, 35, 0.6);
}

.hero__stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.hero__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: var(--space-lg);
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(10, 20, 35, 0.9), 0 0 60px rgba(10, 20, 35, 0.5);
}

.hero__title--accent {
  color: var(--terracotta-light);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-2xl);
  text-shadow: 0 1px 20px rgba(10, 20, 35, 0.8);
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.hero__badges {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.badge__icon {
  color: var(--green);
}

.hero__badge--highlight {
  background: var(--terracotta);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
}

.hero__badge--highlight .badge__icon {
  color: var(--white);
}

/* ---------- PAIN POINTS ---------- */
.pain {
  background-color: var(--white);
}

.pain__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.pain__card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.pain__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pain__icon {
  color: var(--terracotta);
  margin-bottom: var(--space-sm);
}

.pain__label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.pain__desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.pain__closing {
  text-align: center;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.8;
}

/* ---------- Section Canvas (shared) ---------- */
.section-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- SERVICES ---------- */
.services {
  background-color: var(--cream);
  position: relative;
  overflow: hidden;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services .section__title {
  text-shadow: 0 1px 15px rgba(255, 248, 240, 0.7);
}

.services .section__subtitle {
  text-shadow: 0 1px 10px rgba(255, 248, 240, 0.5);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-lg);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.service-card__icon {
  color: var(--terracotta);
  margin-bottom: var(--space-md);
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ---------- SELF-CHECK ---------- */
.checklist {
  background-color: var(--white);
}

.check-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.check-tab {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-sub);
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.check-tab:hover {
  border-color: var(--terracotta-light);
  color: var(--terracotta);
}

.check-tab:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}

.check-tab.active {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background-color: rgba(194, 105, 79, 0.06);
}

.check-tab__icon {
  flex-shrink: 0;
}

.check-panel {
  display: none;
  max-width: 640px;
  margin: 0 auto;
}

.check-panel.active {
  display: block;
}

/* Quick Check */
.quick-check__intro {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-sub);
  margin-bottom: var(--space-2xl);
}

.quick-check__question {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--bg-gray);
  border-radius: var(--radius-md);
}

.toggle-group {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.toggle-label {
  flex: 1;
  cursor: pointer;
}

.toggle-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-btn {
  display: block;
  text-align: center;
  padding: 0.75rem;
  font-weight: 600;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.toggle-label input:checked + .toggle-btn {
  border-color: var(--terracotta);
  background-color: var(--terracotta);
  color: var(--white);
}

.toggle-label input:focus-visible + .toggle-btn {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}

.toggle-btn:hover {
  border-color: var(--terracotta-light);
}

/* Quick Result */
.quick-check__result {
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
}

.quick-check__result.result--green {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 2px solid var(--green);
}

.quick-check__result.result--yellow {
  background: linear-gradient(135deg, #fefce8, #fef3c7);
  border: 2px solid var(--gold);
}

.quick-check__result.result--red {
  background: linear-gradient(135deg, #fef2f2, #fecaca);
  border: 2px solid #ef4444;
}

.result__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.result__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.result__desc {
  color: var(--text-sub);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

/* Detail Check */
.detail-check__intro {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-sub);
  margin-bottom: var(--space-xl);
}

.detail-check__progress {
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--terracotta), var(--terracotta-light));
  border-radius: var(--radius-full);
  transition: width 0.4s var(--ease);
}

.progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sub);
}

.detail-step {
  display: none;
}

.detail-step.active {
  display: block;
}

.detail-step__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--terracotta);
}

.detail-question {
  margin-bottom: var(--space-xl);
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem var(--space-md);
  background: var(--bg-gray);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.15s var(--ease);
  font-size: 0.95rem;
}

.radio-label:hover,
.checkbox-label:hover {
  background: var(--light-blue);
}

.radio-label input,
.checkbox-label input {
  accent-color: var(--terracotta);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.radio-label input:focus-visible,
.checkbox-label input:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.detail-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.detail-nav .btn {
  min-width: 120px;
}

/* Detail Result */
.detail-check__result {
  padding: var(--space-2xl);
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
}

.detail-result__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.detail-result__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.detail-result__recommendation {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

.detail-result__summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.summary-item {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
}

.summary-item__label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: var(--space-xs);
}

.summary-item__value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.fit-bar {
  margin-bottom: var(--space-md);
}

.fit-bar__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
}

.fit-bar__track {
  height: 10px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.fit-bar__fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.6s var(--ease);
}

.fit-bar__fill--rehab {
  background: var(--green);
}

.fit-bar__fill--bankrupt {
  background: var(--gold);
}

.fit-bar__fill--adjust {
  background: var(--navy-light);
}

.detail-result__disclaimer {
  font-size: 0.85rem;
  color: var(--text-sub);
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  line-height: 1.6;
}

/* ---------- PROCESS ---------- */
.process {
  background-color: var(--bg-gray);
}

.process__timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 500px;
  margin: 0 auto;
}

.process__step {
  text-align: center;
  padding: var(--space-lg);
  position: relative;
}

.process__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

.process__icon {
  color: var(--navy);
  margin-bottom: var(--space-sm);
}

.process__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.process__desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.process__connector {
  width: 2px;
  height: 24px;
  background: var(--border);
  margin: 0 auto;
}

.process__note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-sub);
  margin-top: var(--space-2xl);
  font-weight: 500;
}

/* ---------- PRICING ---------- */
.pricing {
  background-color: var(--white);
}

.pricing__zero-banner {
  text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-2xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pricing__zero-amount {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
}

.pricing__zero-desc {
  font-size: 0.95rem;
  opacity: 0.85;
}

.pricing-card__highlight {
  color: var(--terracotta) !important;
  font-weight: 700 !important;
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 2px solid var(--border);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--terracotta-light);
}

.pricing-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.pricing-card__icon {
  color: var(--terracotta);
  flex-shrink: 0;
}

.pricing-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.pricing-card__list {
  margin-bottom: var(--space-lg);
}

.pricing-card__list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-dark);
}

.pricing-card__includes {
  margin-bottom: var(--space-xl);
}

.pricing-card__includes li {
  padding: var(--space-xs) 0;
  font-size: 0.9rem;
  color: var(--green);
  font-weight: 500;
}

.pricing-card__includes li::before {
  content: "\2713 ";
}

.pricing__note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-top: var(--space-xl);
}

/* ---------- REVIEWS ---------- */
.reviews {
  background-color: var(--bg-gray);
}

.reviews__scroll-outer {
  position: relative;
}

.reviews__scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: var(--space-lg);
}

.reviews__scroll-wrap::-webkit-scrollbar {
  display: none;
}

.reviews__fade-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 12%;
  height: calc(100% - var(--space-lg));
  background: linear-gradient(to right, transparent, var(--bg-gray));
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s var(--ease);
}

.reviews__fade-right.is-hidden {
  opacity: 0;
}

.reviews__track {
  display: flex;
  gap: var(--space-lg);
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-xl);
  transition: box-shadow 0.2s var(--ease);
  scroll-snap-align: start;
  flex: 0 0 85%;
  min-width: 0;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.review-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-gray);
  flex-shrink: 0;
  overflow: hidden;
}

.review-card__avatar svg,
.review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.review-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-card__author {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  font-style: normal;
}

.review-card__meta {
  font-size: 0.85rem;
  color: var(--text-sub);
}

.review-card__keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-lg);
}

.review-card__tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--cream);
  color: var(--terracotta);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 100px;
  white-space: nowrap;
}

.review-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: var(--space-md);
  word-break: keep-all;
}

.review-card__text {
  font-style: normal;
  margin: 0;
}

.review-card__body {
  position: relative;
  max-height: 7.2em;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.review-card__body::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3em;
  background: linear-gradient(transparent, var(--white));
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.review-card__body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 0 0 0.8em;
  word-break: keep-all;
}

.review-card__body p:last-child {
  margin-bottom: 0;
}

.review-card.is-expanded .review-card__body {
  max-height: 2000px;
}

.review-card.is-expanded .review-card__body::after {
  opacity: 0;
}

.review-card__toggle {
  display: inline-block;
  margin-top: var(--space-md);
  padding: 10px 28px;
  background: var(--green);
  border: none;
  border-radius: 100px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.review-card__toggle:hover {
  background: #4e8a60;
  transform: translateY(-1px);
}

.review-card__toggle:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 100px;
}

.review-card.is-expanded .review-card__toggle {
  background: var(--text-sub);
}

.review-card.is-expanded .review-card__toggle:hover {
  background: #555e6b;
}

/* Reviews dots */
.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-md);
}

.reviews__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border);
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.reviews__dot.active {
  background: var(--navy);
}

.reviews__dot:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.reviews__note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-top: var(--space-lg);
}

/* ---------- FAQ ---------- */
.faq {
  background-color: var(--white);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  line-height: 1.6;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: var(--space-md);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236B7280' stroke-width='2' stroke-linecap='round' d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s var(--ease);
}

.faq__item[open] .faq__question::after {
  transform: rotate(180deg);
}

.faq__question:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
  border-radius: 2px;
}

.faq__answer {
  padding: 0 0 var(--space-lg) 0;
}

.faq__answer p {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ---------- CONTACT ---------- */
.contact {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
}

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  max-width: 800px;
  margin: 0 auto;
}

.contact__form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group--checkbox {
  margin-bottom: var(--space-xl);
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.form-label__optional {
  font-weight: 400;
  color: var(--text-sub);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem var(--space-md);
  font-size: 1rem;
  font-family: var(--font-family);
  color: var(--text-dark);
  background: var(--bg-gray);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(194, 105, 79, 0.15);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
  background-color: var(--bg-gray);
  color: var(--text-dark);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
}

.checkbox-consent input {
  margin-top: 4px;
  accent-color: var(--terracotta);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.checkbox-consent a {
  color: var(--terracotta);
  text-decoration: underline;
  font-weight: 500;
}

.contact__form-result {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
}

.contact__form-result.success {
  background: #ecfdf5;
  color: var(--green);
  border: 1px solid var(--green);
}

.contact__form-result.error {
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid #ef4444;
}

.contact__direct {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact__direct-title {
  font-size: 1.05rem;
  font-weight: 600;
  opacity: 0.9;
}

.contact__method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 1rem;
  color: var(--white);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: background-color 0.2s var(--ease);
}

.contact__method:hover {
  background: rgba(255, 255, 255, 0.18);
}

.contact__method:focus-visible {
  outline: 2px solid var(--terracotta-light);
  outline-offset: 2px;
}

.contact__hours {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.95rem;
  opacity: 0.8;
  padding: var(--space-md);
}

/* ---------- FOOTER ---------- */
.footer {
  background-color: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) 0 calc(var(--space-3xl) + 72px);
}

.footer__inner {
  text-align: center;
}

.footer__logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: var(--space-md);
}

.footer__info {
  margin-bottom: var(--space-xl);
}

.footer__info p {
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer__links {
  margin-bottom: var(--space-lg);
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  font-size: 0.85rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s var(--ease);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__links a:focus-visible {
  outline: 2px solid var(--terracotta-light);
  outline-offset: 2px;
}

.footer__copyright {
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ---------- STICKY BAR ---------- */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  padding-bottom: env(safe-area-inset-bottom);
}

.sticky-bar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--space-sm) var(--space-xs);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.sticky-bar__item:hover {
  background: var(--light-blue);
  color: var(--terracotta);
}

.sticky-bar__item:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: -2px;
}

/* ---------- Form Validation ---------- */
.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #ef4444;
}

.form-error {
  display: block;
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: var(--space-xs);
}

/* ---------- Loading Spinner ---------- */
.btn--loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn--loading::after {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: var(--space-sm);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background-color: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg) 0;
}

.trust-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.trust-item svg {
  color: var(--terracotta);
  flex-shrink: 0;
}

/* ---------- CONSULTATION CHANNELS ---------- */
.channels {
  background-color: var(--white);
}

.channels__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-lg);
  max-width: 960px;
  margin: 0 auto;
}

.channel-card {
  background: var(--bg-gray);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  border: 2px solid var(--border);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  position: relative;
  cursor: pointer;
}

.channel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--terracotta-light);
}

.channel-card--ai {
  background: linear-gradient(135deg, rgba(194, 105, 79, 0.04), rgba(212, 168, 83, 0.04));
  border-color: var(--terracotta);
}

.channel-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.channel-card__icon {
  color: var(--navy);
  margin-bottom: var(--space-md);
}

.channel-card--ai .channel-card__icon {
  color: var(--terracotta);
}

.channel-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-md);
}

.channel-card__features {
  margin-bottom: var(--space-xl);
}

.channel-card__features li {
  padding: var(--space-xs) 0;
  font-size: 0.95rem;
  color: var(--text-sub);
}

.channel-card__features li::before {
  content: "\2713 ";
  color: var(--green);
  font-weight: 700;
}

.btn--outline-dark {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn--outline-dark:hover {
  background-color: var(--navy);
  color: var(--white);
}

/* ---------- AI CHATBOT PREVIEW ---------- */
.ai-preview {
  background-color: var(--bg-gray);
}

.ai-preview__chat {
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.chat-bubble {
  display: flex;
  gap: var(--space-sm);
  max-width: 85%;
}

.chat-bubble--bot {
  align-self: flex-start;
}

.chat-bubble--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-bubble__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-bubble__content {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  line-height: 1.7;
}

.chat-bubble--bot .chat-bubble__content {
  background: var(--cream);
  color: var(--text-dark);
  border-bottom-left-radius: var(--radius-sm);
}

.chat-bubble--user .chat-bubble__content {
  background: var(--navy);
  color: var(--white);
  border-bottom-right-radius: var(--radius-sm);
}

.ai-preview__cta {
  text-align: center;
}

.ai-preview__note {
  margin-top: var(--space-md);
  font-size: 0.85rem;
  color: var(--text-sub);
}

/* ---------- STICKY BAR AI ITEM ---------- */
.sticky-bar__item--ai {
  color: var(--terracotta);
}

.sticky-bar__item--ai:hover {
  color: var(--white);
  background: var(--terracotta);
}

/* ---------- RESPONSIVE: CHANNELS GRID ---------- */
@media (min-width: 768px) {
  .channels__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-bar__inner {
    gap: var(--space-3xl);
  }
}
