/* ===========================
   CSS Variables & Design Tokens
   =========================== */
:root {
  /* Colors */
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #EFF6FF;
  --primary-sky: #66A3F4;
  --accent: #F97316;
  --accent-dark: #EA580C;
  --text: #313131;
  --text-sub: #888888;
  --text-placeholder: #ACACAC;
  --bg: #FFFFFF;
  --bg-section: #F9FBFF;
  --border: #DDDDDD;
  --success: #31C01E;
  --warning: #FFAF1B;
  --danger: #FF4516;
  --danger-dark: #E50606;

  /* Typography */
  --font-hero: 30px;
  --font-section: 26px;
  --font-body: 15px;
  --font-small: 13px;
  --font-xs: 11px;

  /* Spacing */
  --container-padding: 20px;
  --section-padding: 70px 0;

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

  /* Shadow */
  --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);
  --shadow-card: 0 4px 4px rgba(0,0,0,0.25);
}

/* ===========================
   Layout
   =========================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: var(--font-section);
  font-weight: 700;
  text-align: center;
  margin-bottom: 7px;
  color: var(--text);
  word-break: keep-all;
}

.section-title.light {
  color: #fff;
}

.section-desc {
  font-size: var(--font-body);
  color: var(--text-sub);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 500;
  word-break: keep-all;
}

.section-desc.light {
  color: rgba(255, 255, 255, 0.85);
}

.bg-light {
  background: var(--bg-section);
}

/* ===========================
   Header
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: 64px;
  transition: box-shadow 0.3s;
}

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

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
}

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

/* Desktop Nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 40px;
}

.nav-desktop > a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

.nav-desktop > a:hover {
  color: var(--primary);
}

.nav-desktop .btn-nav-switch {
  color: var(--accent);
  font-weight: 600;
  font-size: 16px;
}

.nav-desktop .btn-nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  transition: background 0.2s;
}

.nav-desktop .btn-nav-cta:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 64px;
  right: -100%;
  width: 75%;
  max-width: 320px;
  height: calc(100vh - 64px);
  background: #fff;
  z-index: 999;
  transition: right 0.3s ease;
  box-shadow: var(--shadow-lg);
  padding: 30px 24px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu .btn-menu-cta {
  display: block;
  text-align: center;
  margin-top: 24px;
  background: var(--primary);
  color: #fff;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 16px;
}

.overlay {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Body offset for fixed header */
body {
  padding-top: 64px;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  min-height: 520px;
  padding: 50px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: var(--font-hero);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  word-break: keep-all;
}

.hero p {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

/* Hero Form Card */
.hero-form-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.form-toast-close {
  display: none;
}

.hero-form-header {
  background: var(--primary);
  padding: 22px 24px;
  text-align: center;
}

.hero-form-header h2 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.hero-form {
  padding: 24px 20px;
}

/* ===========================
   Form (shared)
   =========================== */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--danger-dark);
  margin-left: 2px;
}

.form-input,
.form-select {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
  appearance: none;
  font-family: inherit;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ACACAC' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input::placeholder {
  color: var(--text-placeholder);
  font-weight: 500;
}

.form-select {
  color: var(--text-placeholder);
}

.form-select:valid {
  color: var(--text);
}

.form-input.error,
.form-select.error {
  border-color: var(--danger);
}

.form-error {
  display: none;
  font-size: var(--font-xs);
  color: var(--danger);
  margin-top: 4px;
}

.form-input.error + .form-error,
.form-select.error + .form-error {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  margin-top: 6px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--primary);
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 13px;
  color: var(--text-placeholder);
  line-height: 1.4;
  cursor: pointer;
}

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

.btn-submit {
  width: 100%;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 17px;
  font-weight: 700;
  transition: background 0.2s;
  font-family: inherit;
}

.btn-submit:hover {
  background: var(--primary-dark);
}

.btn-submit:disabled {
  background: #9CA3AF;
  cursor: not-allowed;
}

/* ===========================
   Strengths Section
   =========================== */
.strengths-section {
  background: #fff;
}

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

.strength-card {
  position: relative;
  border-radius: var(--radius-xl);
  aspect-ratio: 280 / 270;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.strength-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.3s;
}

.strength-card:hover .strength-overlay {
  background: rgba(0, 0, 0, 0.55);
}

.strength-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 24px 16px;
}

.strength-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.strength-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.strength-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.strength-card p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.95;
  word-break: keep-all;
}

/* ===========================
   HeyCar Blue Section
   =========================== */
.heycar-section {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: 70px 0;
}

.heycar-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/heycar-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}

.heycar-overlay {
  position: absolute;
  inset: 0;
  background: var(--primary-sky);
  mix-blend-mode: normal;
  z-index: 1;
}

.heycar-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.heycar-text {
  text-align: center;
  position: relative;
}

.heycar-lead {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  /* margin-bottom: 6px; */
  word-break: keep-all;
}

.heycar-logo-wrap {
  position: relative;
  margin-top: 6px;
  display: inline-block;
}

.heycar-logo-big {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  color: #fff;
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
}



.heycar-car-img {
  position: absolute;
  bottom: -55px;
  left:-45px;
}

.heycar-car-img {
  width: 510px;
}

/* Status Board */
.status-board {
  background: #F9FBFF;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  color: var(--text);
  max-width: 100%;
}

.status-board-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.status-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  flex-shrink: 0;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.4); }
}

.status-board-body {
  height: 354px; /* 59px × 6 rows */
  overflow: hidden;
  position: relative;
}

.status-board-list {
  transition: transform 0.5s ease;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid #E6EAF0;
  font-size: 15px;
  gap: 8px;
  height: 59px;
  box-sizing: border-box;
}

.status-row:last-child {
  border-bottom: none;
}

.status-car {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.status-region {
  color: var(--text);
  text-align: center;
  font-weight: 600;
}

.status-row > span:last-child {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  min-width: 60px;
}

.badge-consulting {
  background: #FFFCAC;
  color: var(--warning);
}

.badge-completed {
  background: #C0F5B9;
  color: var(--success);
}

.badge-new {
  background: #FFD7D5;
  color: var(--danger);
}

/* ===========================
   Process Steps
   =========================== */
.process-section {
  background: #fff;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.process-step {
  position: relative;
  padding: 20px 20px 20px 72px;
  background: var(--bg-section);
  border-radius: var(--radius-lg);
}

.step-number {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.process-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.process-step p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}

.process-step p br {
  display: none;
}

/* ===========================
   Reviews Section (Dark BG)
   =========================== */
.reviews-section {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  color: #fff;
}

.reviews-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/reviews-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.reviews-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.reviews-inner {
  position: relative;
  z-index: 2;
}

.reviews-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  display: flex;
  gap: 16px;
  padding-bottom: 12px;
  scrollbar-width: none;
  /* Full viewport width breakout from .container(max-width:1200px) */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-left: max(var(--container-padding), calc((100vw - 1200px) / 2 + var(--container-padding)));
  padding-right: max(var(--container-padding), calc((100vw - 1200px) / 2 + var(--container-padding)));
}

.reviews-carousel::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  color: var(--text);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.reviews-carousel .review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.review-photo {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1;
}

.review-stars .star-filled {
  color: #FFD700;
}

.review-stars .star-empty {
  color: #ddd;
}

.review-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 500;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 500;
}

.review-car {
  font-weight: 700;
  color: var(--text);
}

/* Review Detail Button */
.btn-review-detail {
  margin-top: 12px;
  padding: 8px 0;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.btn-review-detail:hover {
  text-decoration: underline;
}

/* Review Detail Modal */
.review-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.review-modal-overlay.active {
  display: flex;
}

.review-modal {
  background: #fff;
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.review-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.review-modal-close:hover {
  background: rgba(0, 0, 0, 0.6);
}

.review-modal-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.review-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-modal-body {
  padding: 24px;
}

.review-modal-body .review-stars {
  margin-bottom: 16px;
  font-size: 22px;
}

.review-modal-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 20px;
  word-break: keep-all;
}

.review-modal-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-sub);
  font-weight: 500;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.review-modal-meta .review-car {
  font-weight: 700;
  color: var(--text);
}

.review-modal-date {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-light);
}

.btn-more-reviews {
  display: block;
  width: fit-content;
  margin: 36px auto 0;
  padding: 14px 32px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.2s;
  backdrop-filter: blur(6px);
}

.btn-more-reviews:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ===========================
   Finance Section
   =========================== */
.finance-section {
  background: #fff;
}

.finance-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.finance-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.finance-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.finance-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.finance-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.finance-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.5;
  font-weight: 500;
}

.btn-finance-cta {
  display: block;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 18px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 17px;
  font-weight: 700;
  transition: background 0.2s;
}

.btn-finance-cta:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: #111827;
  color: #9CA3AF;
  padding: 44px 0 100px;
  font-size: 14px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 14px;
  color: #D1D5DB;
  font-weight: 500;
}

.footer-info p {
  margin-bottom: 2px;
}

.footer-cs {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #374151;
}

.footer-cs .cs-number {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.footer-cs .cs-time {
  font-size: 13px;
  color: #9CA3AF;
}

/* ===========================
   Kakao Floating Button
   =========================== */
.kakao-float {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: 996;
  width: 72px;
  height: 72px;
  background: #FAE100;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s;
  color: #111;
}

.kakao-float:hover {
  transform: translateY(-2px);
  color: #111;
}

.kakao-float img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-bottom: 2px;
}

.kakao-float span {
  font-size: 11px;
  font-weight: 600;
  color: #111;
}

/* ===========================
   Bottom CTA Bar (Mobile)
   =========================== */
.bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 997;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  gap: 10px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

.bottom-cta .btn-bottom {
  flex: 1;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
}

.btn-bottom-primary {
  background: var(--primary);
}

.btn-bottom-accent {
  background: var(--accent);
}

/* ===========================
   Page Header (Sub Pages)
   =========================== */
.page-header {
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
}

.page-header p {
  font-size: 14px;
  opacity: 0.85;
}

/* ===========================
   Sell Page - Quote Form Section (Sub Pages)
   =========================== */
.quote-form-section {
  background: var(--bg-section);
}

.quote-form {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 28px 22px;
  box-shadow: var(--shadow-md);
}

/* Sell Page - Comparison Chart */
.comparison-chart {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.chart-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chart-label {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.chart-bar {
  height: 36px;
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  transition: width 1s ease;
}

.chart-bar-heycar {
  background: linear-gradient(90deg, var(--primary), #3B82F6);
}

.chart-bar-normal {
  background: #D1D5DB;
  color: var(--text-sub);
}

.chart-diff {
  text-align: center;
  margin-top: 8px;
}

.chart-diff strong {
  display: inline-block;
  background: #FEF3C7;
  color: #D97706;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 800;
}

/* Sell Page - Service Info */
.service-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.service-info-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.service-info-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.service-info-item p {
  font-size: 13px;
  color: var(--text-sub);
}

/* ===========================
   Reviews Page
   =========================== */
.reviews-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.reviews-toolbar .filter-tabs {
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}

.btn-write-review {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.btn-write-review:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-write-review.trade-write-review {
  background: var(--trade-primary, #F97316);
}

/* Review Code Modal */
.review-code-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.review-code-overlay.open {
  display: flex;
}

.review-code-dialog {
  background: #fff;
  border-radius: var(--radius-xl);
  max-width: 420px;
  width: 100%;
  padding: 36px 28px 28px;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.review-code-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--text-sub);
  cursor: pointer;
  width: 32px;
  height: 32px;
}

.review-code-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.review-code-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.review-code-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.review-code-input-wrap {
  margin-bottom: 16px;
}

.review-code-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  text-align: center;
  transition: border-color 0.2s;
}

.review-code-input:focus {
  outline: none;
  border-color: var(--primary);
}

.review-code-input.shake {
  animation: shake 0.4s;
  border-color: #DC2626;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.review-code-error {
  margin-top: 8px;
  font-size: 13px;
  color: #DC2626;
}

.btn-review-code-submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-review-code-submit:hover { opacity: 0.9; }
.btn-review-code-submit.trade-code-submit { background: var(--trade-primary, #F97316); }

.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 24px;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  white-space: nowrap;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--text-sub);
  background: #fff;
  transition: all 0.2s;
  cursor: pointer;
}

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

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

.reviews-grid .review-card {
  flex: unset;
  scroll-snap-align: unset;
}

.reviews-grid .review-photo {
  height: 220px;
}

.reviews-grid .review-text {
  -webkit-line-clamp: 4;
}

.review-date-tag {
  font-size: var(--font-xs);
  color: var(--text-sub);
  margin-top: 8px;
}

.btn-load-more {
  display: block;
  width: 100%;
  padding: 16px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-sub);
  background: #fff;
  margin-top: 24px;
  transition: all 0.2s;
}

.btn-load-more:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===========================
   FAQ Page
   =========================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: left;
  color: var(--text);
  gap: 12px;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--text-sub);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-question::after {
  content: '−';
  color: var(--primary);
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-sub);
}

/* ===========================
   Scroll Animations
   =========================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===========================
   Privacy Modal
   =========================== */
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.privacy-modal.active {
  display: flex;
  animation: privacyFadeIn 0.25s ease;
}

@keyframes privacyFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.privacy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.privacy-modal-dialog {
  position: relative;
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: privacyScaleIn 0.25s ease;
}

@keyframes privacyScaleIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.privacy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.privacy-modal-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.privacy-modal-close {
  font-size: 28px;
  line-height: 1;
  color: var(--text-sub);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.privacy-modal-close:hover {
  background: var(--bg-section);
  color: var(--text);
}

.privacy-modal-body {
  padding: 22px 24px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1 1 auto;
  min-height: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-sub);
  -webkit-overflow-scrolling: touch;
}

.privacy-modal-body p {
  margin-bottom: 14px;
}

.privacy-modal-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 18px 0 8px;
}

.privacy-modal-body h3:first-of-type {
  margin-top: 6px;
}

.privacy-modal-body ul {
  padding-left: 18px;
  margin-bottom: 10px;
  list-style: disc;
}

.privacy-modal-body li {
  margin-bottom: 6px;
}

.privacy-modal-footer {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

.btn-privacy-close {
  background: var(--primary);
  color: #fff;
  padding: 11px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-privacy-close:hover {
  background: #1e50c8;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .privacy-modal {
    padding: 0;
    height: 100vh;
    height: 100dvh;
  }

  .privacy-modal-dialog {
    max-width: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
  }

  .privacy-modal-header {
    flex: 0 0 auto;
  }

  .privacy-modal-footer {
    flex: 0 0 auto;
  }
}

/* ===========================
   Utility
   =========================== */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

/* ===========================
   CTA Section (index)
   =========================== */
.cta-section {
  background: var(--primary-light);
  padding: 80px 0;
}
.btn-cta {
  display: inline-block;
  padding: 16px 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
  margin-top: 24px;
}
.btn-cta:hover {
  background: var(--primary-dark);
}
.btn-cta-sub {
  display: block;
  margin-top: 16px;
  color: var(--text-sub);
  font-size: 14px;
  text-decoration: underline;
}
.btn-cta-sub:hover {
  color: var(--primary);
}
