﻿/* ── 기본 스케일 (110% 기준 디자인) ─────────────────────────────────────── */
html {
  zoom: 1.1;
}
@media (max-width: 768px) {
  html {
    zoom: 1;
  }
}

/* Board Styles (Added for events.html replacement) */

.board-container,
.board-view-container,
.board-write-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.board-header {
  text-align: center;
  margin-bottom: 3rem;
}

.board-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.board-header p {
  color: #64748b;
}

/* Board List Table */
.board-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #333;
}

.board-table th,
.board-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.board-table th {
  background-color: #f8fafc;
  font-weight: 600;
  color: #333;
}

.board-table td.td-title {
  text-align: left;
}

.board-table td.td-title a {
  text-decoration: none;
  color: #333;
  display: block;
  /* Larger click area */
}

.board-table td.td-title a:hover {
  text-decoration: underline;
  color: #2563eb;
}

/* Column Widths */
.th-num {
  width: 10%;
}

.th-title {
  width: 60%;
}

.th-date {
  width: 20%;
}

.th-views {
  width: 10%;
}

/* Mobile Responsive Table */
@media (max-width: 600px) {

  .th-num,
  .td-num,
  .th-views,
  .td-views {
    display: none;
  }

  .th-title {
    width: auto;
  }

  .th-date {
    width: 30%;
    font-size: 0.8rem;
  }
}

.board-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
  gap: 1rem;
}

/* Buttons */
.btn-primary {
  background-color: #2563eb;
  color: white;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.btn-secondary {
  background-color: #64748b;
  color: white;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.btn-danger {
  background-color: #ef4444;
  color: white;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.btn-list {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  background: white;
}

/* Post View */
.post-header {
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.post-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1e293b;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  color: #64748b;
  font-size: 0.9rem;
}

.post-body {
  min-height: 300px;
  line-height: 1.8;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.board-view-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-controls {
  display: flex;
  gap: 0.5rem;
}

/* Write Form */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 1rem;
}

.form-textarea {
  width: 100%;
  min-height: 400px;
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 1rem;
  resize: vertical;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.help-text {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.5rem;
}

.no-posts {
  padding: 3rem;
  color: #64748b;
}

:where(.ql-editor, .article-content, .post-body, .post-content-text) {
  line-height: 1.65;
}

:where(.ql-editor, .article-content, .post-body, .post-content-text) :where(h1, h2, h3, h4, h5, h6, p, blockquote, pre, ul, ol, table) {
  line-height: inherit;
  margin: 0;
  margin-bottom: 0;
  /* 문단 간격 최소화 (엔터 쳤을 때 벙벙함 방지) */
}

/* 제목 요소는 위쪽 여백을 줘서 문단 구분 명확히, 아래쪽은 붙임 */
:where(.ql-editor, .article-content, .post-body, .post-content-text) :where(h1, h2, h3, h4, h5, h6) {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

/* 첫 번째 요소는 위쪽 여백 제거 */
:where(.ql-editor, .article-content, .post-body, .post-content-text)> :first-child {
  margin-top: 0 !important;
}

/* 리스트 아이템 간격 */
:where(.ql-editor, .article-content, .post-body, .post-content-text) li {
  margin-bottom: 0.25rem;
}

/* 빈 줄(엔터 두번 효과) 높이 보장 */
:where(.ql-editor, .article-content, .post-body, .post-content-text) p:empty,
:where(.ql-editor, .article-content, .post-body, .post-content-text) p>br {
  min-height: 1.65em;
}

:where(.ql-editor, .article-content, .post-body, .post-content-text) :where(span, strong, em, u, s, a) {
  line-height: inherit;
  display: inline;
}

:where(.ql-editor, .article-content, .post-body, .post-content-text) hr.content-divider {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 24px 0;
}

.article-content span {
  display: inline;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

.ql-editor img,
.article-content img,
.post-body img {
  max-width: 100%;
  height: auto;
}

img.float-left {
  float: left;
  margin: 0 20px 10px 0;
  max-width: 50%;
}

img.float-right {
  float: right;
  margin: 0 0 10px 20px;
  max-width: 50%;
}

.ql-editor::after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 640px) {

  img.float-left,
  img.float-right {
    float: none;
    display: block;
    max-width: 100%;
    margin: 10px 0;
  }
}

.ql-editor table,
.article-content table,
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.ql-editor th,
.ql-editor td,
.article-content th,
.article-content td,
.post-body th,
.post-body td {
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  vertical-align: middle;
  text-align: center;
}

.ql-editor td p,
.ql-editor th p,
.article-content td p,
.article-content th p,
.post-body td p,
.post-body th p {
  margin: 0;
}

.ql-editor thead th,
.article-content thead th,
.post-body thead th {
  background: #f8fafc;
  font-weight: 700;
}

.ql-editor blockquote,
.article-content blockquote,
.post-body blockquote {
  margin: 16px 0;
  padding: 14px 16px;
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  border-radius: 10px;
  color: #0f172a;
}

.ql-editor .callout,
.article-content .callout,
.post-body .callout {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 10px;
  color: #0f172a;
}

.ql-editor .callout-primary,
.article-content .callout-primary,
.post-body .callout-primary {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
}

.ql-editor .callout-secondary,
.article-content .callout-secondary,
.post-body .callout-secondary {
  background: #f3f4f6;
  border-left: 4px solid #6b7280;
}

.ql-editor .callout-warning,
.article-content .callout-warning,
.post-body .callout-warning {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
}

.ql-editor .callout-success,
.article-content .callout-success,
.post-body .callout-success {
  background: #ecfdf5;
  border-left: 4px solid #10b981;
}

.ql-editor pre,
.article-content pre,
.post-body pre {
  background: #0b1020;
  color: #e5e7eb;
  padding: 14px 16px;
  border-radius: 10px;
  overflow: auto;
}

.ql-editor .ql-align-center,
.article-content .ql-align-center,
.post-body .ql-align-center {
  text-align: center;
}

.ql-editor .ql-align-right,
.article-content .ql-align-right,
.post-body .ql-align-right {
  text-align: right;
}

.ql-editor .ql-align-justify,
.article-content .ql-align-justify,
.post-body .ql-align-justify {
  text-align: justify;
}

.ql-editor {
  position: relative;
}

.ql-container {
  position: relative;
}

.ql-editor img.ql-image-resizer-active {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.ql-image-resizer {
  position: absolute;
  border: 2px solid #3b82f6;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 10;
}

.ql-image-float-tooltip {
  position: absolute;
  display: flex;
  gap: 6px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  z-index: 20;
}

.ql-image-float-tooltip button {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
}

.ql-image-float-tooltip button:hover {
  background: #f9fafb;
}

.ql-image-resizer-handle {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border: 2px solid #3b82f6;
  box-sizing: border-box;
  border-radius: 3px;
  pointer-events: auto;
}

.ql-image-resizer-handle-nw {
  top: -7px;
  left: -7px;
  cursor: nwse-resize;
}

.ql-image-resizer-handle-ne {
  top: -7px;
  right: -7px;
  cursor: nesw-resize;
}

.ql-image-resizer-handle-sw {
  bottom: -7px;
  left: -7px;
  cursor: nesw-resize;
}

.ql-image-resizer-handle-se {
  bottom: -7px;
  right: -7px;
  cursor: nwse-resize;
}

/* Base Styles */
/* Top Bar Styles */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 44px;
  background-color: #3b82f6;
  /* Blue theme */
  z-index: 1001;
  /* Higher than header */
  transition: transform 0.3s ease-in-out;
  display: flex !important;
  /* Force flex */
  align-items: center;
}

.top-bar-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex !important;
  justify-content: flex-end;
  /* Right align */
  align-items: center;
  height: 100%;
}

.top-bar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex !important;
  /* Force flex row */
  flex-direction: row !important;
  /* Explicitly set row */
  gap: 2rem;
  /* Increased gap */
  align-items: center;
  height: 100%;
}

.top-bar-menu li {
  display: inline-block;
  /* Fallback */
}

.top-bar-menu li a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.2s;
  display: block;
  line-height: 44px;
  /* Vertically center text */
}

.top-bar-menu li a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.top-bar-menu li:last-child a {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 0 0.75rem;
  font-weight: 700;
}

.top-bar-menu li:last-child a:hover {
  background: rgba(255, 255, 255, 0.35);
  text-decoration: none;
}

/* Promo Banner */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(90deg, #fef3c7, #fde68a);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  text-decoration: none;
  color: #92400e;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.promo-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.promo-banner .promo-icon {
  font-size: 1.5rem;
}

.promo-banner .promo-badge {
  background: #f59e0b;
  color: white;
  border-radius: 0.5rem;
  padding: 0.15rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 800;
}

/* Header Adjustments for Fixed Top Bar */
#main-header {
  position: fixed;
  top: 40px;
  /* Starts below top bar */
  width: 100%;
  transition: top 0.3s ease-in-out;
}

/* Body Padding to prevent content hiding */
body {
  font-family: 'Noto Sans KR', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
  background-color: #f8fafc;
  padding-top: 140px;
  /* ~40px Top Bar + ~80px Header */
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

/* Scroll Hide Classes */
body.nav-up .top-bar {
  transform: translateY(-40px);
  /* Hide top bar */
}

body.nav-up #main-header {
  top: -140px;
  /* Hide header */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .top-bar {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
    height: 0;
  }

  #main-header {
    top: 0;
  }

  body {
    padding-top: 65px;
  }
}

/* Blog Section Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #eee;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.blog-thumb {
  height: 200px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: #1e293b;
  line-height: 1.4;
}

.blog-summary {
  font-size: 0.95rem;
  color: #475569;
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-link {
  font-weight: 600;
  color: #3b82f6;
  margin-top: auto;
}

body.nav-up .top-bar {
  transform: translateY(-35px);
}

body {
  padding-top: 100px;
}

.top-bar-container {
  padding: 0 1rem;
}

.top-bar-menu li a {
  font-size: 0.8rem;
  line-height: 35px;
}

/* New Icon Input Styles */

/* Header & Nav */
#main-header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #2563eb;
  display: flex;
  align-items: center;
}

.logo img {
  height: 44px;
  width: auto;
}

/* Desktop Menu */
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

/* Mobile Quote Button (Header) */
.mobile-quote-btn {
  display: none;
  background-color: #2563eb;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  margin-right: 0.5rem;
}

/* Hamburger Button (Hidden on Desktop) */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  color: #333;
  z-index: 1002;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
  /* Default hidden on desktop */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  border-top: 1px solid #e2e8f0;
  z-index: 2000;
  /* Highest priority */
  padding: 0;
  /* Reset nav padding */
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  /* Ensure padding doesn't affect width */
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block !important;
  }

  .sticky-bottom-bar {
    display: none !important;
  }

  /* Adjust body padding for bottom nav */
  body {
    padding-bottom: 70px;
  }
}

.mobile-bottom-nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 60px;
  gap: 0;
  /* Reset nav ul gap */
}

.mobile-bottom-nav li {
  flex: 1;
  text-align: center;
}

.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #64748b;
  font-size: 0.75rem;
  height: 100%;
  gap: 4px;
}

.mobile-bottom-nav a.active {
  color: #2563eb;
  font-weight: 700;
}

.mobile-bottom-nav a.active .icon {
  transform: scale(1.1);
  transition: transform 0.2s;
}

/* Floating Request Button (Mobile) */
.floating-request-btn {
  display: none;
  /* Desktop hidden */
}

@media (max-width: 768px) {
  .floating-request-btn {
    display: flex;
    position: fixed;
    bottom: 70px;
    /* Above bottom nav */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: #2563eb;
    color: white;
    padding: 1rem;
    border-radius: 50px;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    z-index: 1000;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .floating-request-btn:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
  }
}

.mobile-bottom-nav a.active {
  color: #2563eb;
  font-weight: bold;
}

.mobile-bottom-nav .icon {
  font-size: 24px;
  line-height: 1;
  margin-bottom: 2px;
}

.mobile-bottom-nav a.active .icon {
  opacity: 1;
}

/* Mobile Adjustments when bottom nav exists */
@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block;
  }

  /* Hide existing sticky bottom bar on mobile */
  .sticky-bottom-bar {
    display: none !important;
  }

  /* Adjust floating CTA button position */
  .cta-button-container {
    bottom: 60px !important;
    /* Height of bottom nav */
    padding-bottom: 1rem !important;
  }

  /* Add padding to body so content isn't hidden */
  body {
    padding-bottom: 70px;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {

  /* Typography & Spacing */
  body {
    font-size: 16px;
    /* Prevent iOS zoom */
  }

  h1 {
    font-size: 1.8rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  h3 {
    font-size: 1.25rem !important;
  }

  main {
    padding: 1rem;
  }

  .hero {
    padding: 3rem 1rem;
  }

  /* Navigation */
  .hamburger-btn {
    display: block;
  }

  .mobile-quote-btn {
    display: inline-block;
  }

  nav {
    padding: 0 1rem;
    position: relative;
    /* Ensure proper stacking context */
  }

  .logo img {
    height: 38px;
  }

  #mobileNav {
    position: fixed;
    top: 0;
    right: -320px;
    /* Increased to cover padding/border */
    width: 260px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 4rem 1.5rem;
    gap: 1.5rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1001;
    display: flex !important;
    box-sizing: border-box;
    /* Ensure padding doesn't increase width */
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  #mobileNav.active {
    right: 0;
  }

  .mobile-nav-overlay.active {
    display: block;
  }

  #mobileNav a {
    font-size: 1.1rem;
    display: block;
    width: 100%;
    padding: 1rem 0.5rem;
    border-bottom: 1px solid #e2e8f0;
    /* Darker border for better visibility */
  }

  .btn-customer {
    background-color: transparent !important;
    /* Remove button background */
    color: #333 !important;
    /* Match other links */
    text-align: left;
    margin-top: 0;
    border-radius: 0;
    padding: 1rem 0.5rem !important;
    /* Match padding of other links */
    font-weight: 500;
  }

  /* Cards & Grids */
  .feature-grid,
  .status-board-header,
  .status-list li {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .home-service-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .home-service-cards .card:first-child {
    grid-column: 1 / -1;
  }

  .status-board-header {
    display: none;
    /* Hide table header on mobile */
  }

  .status-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #2563eb;
}

.btn-customer {
  background-color: #f1f5f9;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}

/* Main Container */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Quote Form Initial State */
.quote-form {
  display: none;
  /* Hidden by default */
  animation: fadeIn 0.5s ease-in-out;
}

.quote-form.active {
  display: block;
}

/* Back to Intro Button (Inside Form) */
.btn-back-intro {
  background: none;
  border: none;
  color: #64748b;
  font-size: 0.9rem;
  cursor: pointer;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
}

.btn-back-intro:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Step Wizard Styles */
.step {
  display: none;
  animation: fadeIn 0.5s;
}

.step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.progress-container {
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 10px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 10px;
  background-color: #2563eb;
  border-radius: 10px;
  transition: width 0.3s ease-in-out;
}

.progress-text {
  text-align: right;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #666;
  font-weight: bold;
}

.step-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.step-navigation button {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.btn-prev {
  background-color: #e2e8f0;
  color: #333;
}

.btn-prev:hover {
  background-color: #cbd5e1;
}

.btn-next {
  background-color: #2563eb;
  color: white;
}

.btn-next:hover {
  background-color: #1d4ed8;
}

/* Hide submit button initially, show only on last step */
.submit-btn {
  display: none;
}

.partner-page .submit-btn {
  display: block;
}

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.home-main>section {
  margin-bottom: 2rem;
}

.home-main>section:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .home-main {
    padding: 0 1rem;
  }
}

.hero {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-radius: 1.5rem;
  margin-bottom: 0;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: white;
}

.hero p {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 2.5rem;
}

.hero button {
  background-color: white;
  color: #2563eb;
  border: none;
  padding: 1rem 3rem;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 3rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  box-shadow: none;
}

.hero .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.hero-highlight {
  color: #fde68a;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1rem 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
}

.hero-stat strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fde68a;
}

.hero-stat span {
  font-size: 0.8rem;
  color: #e2e8f0;
  margin-top: 0.15rem;
}

.hero-stat-divider {
  width: 1px;
  height: 2rem;
  background: rgba(255, 255, 255, 0.3);
}

/* Sub-page Hero */
.hero-sub {
  text-align: center;
  padding: 1.5rem 1rem;
  /* Reduced from 3rem 2rem */
  background-color: #fff;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  /* Reduced from 2rem */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hero-sub h1 {
  font-size: 2rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.hero-sub p {
  color: #64748b;
  font-size: 1.1rem;
}

/* Service Cards (Main) */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Reverted to 3 columns for PC */
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.service-intro .service-cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-intro .service-cards.service-cards--moving {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: white;
  padding: 1.5rem 1rem;
  /* Reduced vertical padding */
  border-radius: 1rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #f1f5f9;
}

.card:hover {
  transform: translateY(-5px);
  background-color: #2563eb;
  color: white;
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4);
  border-color: #2563eb;
}

.service-cards .card-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-cards .card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card h3 {
  font-size: 1.8rem;
  /* Increased from 1.5rem */
  font-weight: 800;
  /* Bolder */
  color: #1e293b;
  margin-top: 0;
  /* Ensure no top margin */
  margin-bottom: 0.2rem;
  /* Reduced margin */
  transition: color 0.3s;
}

.card p {
  color: #64748b;
  transition: color 0.3s;
  margin: 0;
  /* Remove default margin */
}

.card-arrow {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 1.5rem;
  color: #2563eb;
  font-weight: bold;
  transition: transform 0.3s, color 0.3s;
}

.card:hover h3,
.card:hover p {
  color: white;
}

.card:hover .card-arrow {
  color: white;
  transform: translateX(5px);
}

/* Price Table Styles (Responsive) */
.price-table-container {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  /* Force scroll on mobile */
  background: white;
}

.price-table th,
.price-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.price-table th {
  background-color: #f8fafc;
  font-weight: 700;
  color: #1e293b;
  border-bottom: 2px solid #cbd5e1;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr:hover td {
  background-color: #f1f5f9;
}

/* Service Card Feature List */
.service-card .feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  text-align: left;
  width: 100%;
}

.service-card .feature-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: #64748b;
  font-size: 0.95rem;
}

.service-card .feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: bold;
}

.card:hover .feature-list li,
.card:hover .feature-list li::before {
  color: rgba(255, 255, 255, 0.9);
}

/* Enhanced CTA Button (Floating Bottom) */
.cta-button-container {
  /* PC Default: Fixed floating centered */
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  /* Constrain width to avoid blocking sides */
  margin: 0;
  padding: 0;
  background: transparent;
  /* No white gradient/background on PC */
  text-align: center;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  z-index: 1500;
  pointer-events: none;
  /* Let clicks pass through empty space around button */
}

/* Ensure button itself is clickable */
.cta-button-container .cta-button {
  pointer-events: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  /* Stronger shadow for floating */
}

@media (max-width: 768px) {
  .cta-button-container {
    /* Mobile: Full width fixed at bottom */
    bottom: 0;
    left: 0;
    transform: none;
    /* Reset PC centering */
    max-width: 100%;
    padding: 1rem 1rem 1.5rem 1rem;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 80%, rgba(255, 255, 255, 0));
    pointer-events: auto;
    /* Restore normal pointer events */
  }
}

/* 폼이 활성화되면(소개 페이지 숨겨짐) 버튼 컨테이너도 숨김 */
.service-intro[style*="none"]+.quote-form~.cta-button-container,
/* 이 형제 선택자는 구조상 안맞을 수 있으므로 JS로 제어 권장 */
.cta-button-container.hidden {
  display: none !important;
}

.cta-button {
  display: block;
  width: 100%;
  max-width: 600px;
  /* 너무 넓어지지 않게 제한 */
  background: #2563eb;
  color: white;
  padding: 1rem 0;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 0.75rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-2px);
  background: #1d4ed8;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

@media (max-width: 768px) {
  .cta-button {
    padding: 0.9rem 0;
    /* Slightly smaller padding */
    font-size: 1.1rem;
    /* Slightly smaller font */
  }

  /* Hide Home floating button on mobile */
  .home-cta-btn {
    display: none !important;
  }
}

/* 하단 버튼에 가려지지 않도록 메인 컨텐츠 여백 추가 */
.service-intro {
  padding-bottom: 100px !important;
}

@media (max-width: 1024px) {
  main,
  .home-main,
  .order-status,
  .reviews,
  .tips-container,
  .about-page,
  .board-container,
  .board-view-container,
  .board-write-container {
    max-width: none;
  }
}

/* Service Section Title */
.service-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1e293b;
  text-align: center;
  margin-bottom: 2rem;
  margin-top: 3rem;
}

.service-section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #2563eb;
  margin: 1rem auto 0;
  border-radius: 2px;
}

.feature-item {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.feature-item .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.1rem;
  margin: 0;
  color: #333;
}

/* Review Slider */
.reviews {
  margin-bottom: 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.review-slider {
  overflow: hidden;
}

.review-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  will-change: transform;
  animation: home-review-scroll 50s linear infinite;
}

.review-slider:hover .review-track {
  animation-play-state: paused;
}

.review-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  min-width: 360px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  cursor: pointer;
}

.review-card-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-card-text p {
  font-style: italic;
  color: #475569;
  margin-bottom: 1rem;
}

.review-card-text span {
  font-weight: bold;
  color: #2563eb;
}

.review-card-photo {
  width: 120px;
  height: 120px;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #f1f5f9;
  flex: 0 0 auto;
}

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

@media (max-width: 768px) {
  .review-card {
    min-width: 260px;
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }

  .review-card-photo {
    width: 100%;
    height: 180px;
  }
}

@keyframes home-review-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.review-viewer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.review-viewer-modal {
  width: 100%;
  max-width: 920px;
  max-height: 85vh;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.review-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.review-viewer-title {
  font-weight: 800;
  color: #0f172a;
  font-size: 1.05rem;
}

.review-viewer-close {
  width: 38px;
  height: 38px;
  border: none;
  background: #f1f5f9;
  color: #0f172a;
  border-radius: 0.75rem;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-viewer-body {
  padding: 1.25rem;
  overflow: auto;
}

.review-viewer-meta {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.review-viewer-content {
  white-space: pre-wrap;
  color: #1f2937;
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.review-viewer-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.review-viewer-images a {
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.review-viewer-images img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

body.review-viewer-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .review-viewer-overlay {
    padding: 0.75rem;
  }

  .review-viewer-body {
    padding: 1rem;
  }

  .review-viewer-images {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-viewer-images img {
    height: 140px;
  }
}

/* Photo Upload Grid */
.photo-upload-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.photo-box {
  width: 80px;
  height: 80px;
  border: 1px dashed #cbd5e1;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  background-color: #f8fafc;
  overflow: hidden;
}

.photo-box.has-image {
  border: none;
}

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

.photo-add-btn {
  font-size: 2rem;
  color: #94a3b8;
  line-height: 1;
}

.photo-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.quote-form {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 2.25rem;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.quote-form .progress-text {
  text-align: left;
  color: #64748b;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.quote-form .progress-container {
  background-color: #e2e8f0;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.12);
}

.quote-form .progress-bar {
  height: 12px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
}

.step {
  margin-bottom: 1.5rem;
  padding: 1.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.step:last-child {
  margin-bottom: 0;
}

.step h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  color: #0f172a;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
  border-left: none;
  padding-left: 0;
}

.step h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #2563eb;
  box-shadow: 0 0 0 4px #dbeafe;
}

/* Option Grid (Radio Cards) */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem;
}

.option-card {
  position: relative;
  cursor: pointer;
}

.option-card input {
  position: absolute;
  opacity: 0;
}

.option-card .card-content {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  background: #ffffff;
}

.option-card:hover .card-content {
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -16px rgba(37, 99, 235, 0.45);
}

.option-card input:checked+.card-content {
  border-color: #2563eb;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  box-shadow: 0 16px 30px -18px rgba(37, 99, 235, 0.55);
}

.option-card input:checked+.card-content::after {
  content: "✓";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 10px 18px -12px rgba(37, 99, 235, 0.7);
}

.option-card input:focus-visible+.card-content {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

.option-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: #0f172a;
}

.option-card span {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.4;
}

/* Process Options (Vertical Cards) */
.process-options {
  display: grid;
  gap: 1rem;
}

.process-card {
  cursor: pointer;
}

.process-card input {
  display: none;
}

.process-card .card-content {
  border: 1px solid #e2e8f0;
  padding: 1.25rem;
  border-radius: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
  position: relative;
  background: #ffffff;
}

.process-card:hover .card-content {
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -16px rgba(37, 99, 235, 0.35);
}

.process-card input:checked+.card-content {
  border-color: #2563eb;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  box-shadow: 0 16px 30px -18px rgba(37, 99, 235, 0.45);
}

.process-card input:checked+.card-content::after {
  content: "✓";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 10px 18px -12px rgba(37, 99, 235, 0.6);
}

.process-card strong {
  font-size: 1.1rem;
  color: #0f172a;
}

.process-card p {
  margin: 0.5rem 0 0;
  color: #64748b;
}

.quote-form .step-navigation {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.quote-form .step-navigation button {
  flex: 1;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  font-weight: 800;
  font-size: 1rem;
  transition: transform 0.12s ease, filter 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
  border: 1px solid transparent;
}

.quote-form .btn-prev {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #0f172a;
}

.quote-form .btn-prev:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.quote-form .btn-next {
  background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
}

.quote-form .btn-next:hover {
  filter: brightness(0.98);
}

.quote-form .btn-prev:active,
.quote-form .btn-next:active {
  transform: translateY(1px);
}

.quote-form .submit-btn {
  border-radius: 0.9rem;
  background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 14px 30px -18px rgba(37, 99, 235, 0.7);
}

.quote-form .submit-btn:hover {
  filter: brightness(0.98);
}

.quote-form .input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 800;
  color: #334155;
  letter-spacing: -0.01em;
}

.quote-form input[type="text"],
.quote-form input[type="tel"],
.quote-form input[type="email"],
.quote-form select,
.quote-form textarea {
  border-color: #e2e8f0;
  border-radius: 0.9rem;
  padding: 0.85rem 0.95rem;
  background: #ffffff;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.quote-form input[type="text"]:focus,
.quote-form input[type="tel"]:focus,
.quote-form input[type="email"]:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}

.quote-form textarea {
  line-height: 1.55;
}

.quote-form .address-group {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.25rem;
}

.quote-form .address-group h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #334155;
  margin-bottom: 0.75rem;
}

.quote-form .calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-weight: 700;
}

.quote-form .upload-section {
  background: #ffffff;
  border-color: #e2e8f0;
  border-radius: 1rem;
}

.quote-form .photo-box {
  border-radius: 0.9rem;
  border-color: #e2e8f0;
  background: #ffffff;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.quote-form .photo-box:hover {
  border-color: #93c5fd;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px -14px rgba(37, 99, 235, 0.55);
}

.quote-form .storage-section {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-top: 0;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #f8fafc;
}

.quote-form .storage-checkbox-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
}

.quote-form .storage-details {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.quote-form .storage-options-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quote-form .contact-form label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #475569;
  font-weight: 600;
}

@media (max-width: 768px) {
  body.quote-mode {
    overflow: hidden;
  }

  body.quote-mode main {
    max-width: none;
    padding: 0;
  }

  body.quote-mode #top-bar,
  body.quote-mode #main-header,
  body.quote-mode .site-footer,
  body.quote-mode .mobile-bottom-nav,
  body.quote-mode .quick-menu-wrap {
    display: none !important;
  }

  body.quote-mode .quote-form.active {
    position: fixed;
    inset: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
    z-index: 5000;
  }

  body.quote-mode .btn-back-intro {
    width: 100%;
    padding: 1rem;
    margin: 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
  }

  body.quote-mode .progress-text {
    text-align: left;
    padding: 0.75rem 1rem 0.35rem 1rem;
    margin: 0;
    color: #475569;
  }

  body.quote-mode .progress-container {
    margin: 0 1rem 0.9rem 1rem;
    width: calc(100% - 2rem);
    box-sizing: border-box;
    border-radius: 9999px;
    background-color: #f1f5f9;
  }

  body.quote-mode .progress-bar {
    border-radius: 9999px;
  }

  body.quote-mode .quote-form form {
    flex: 1;
    overflow-y: auto;
    padding: 0 1rem 6.5rem 1rem;
    -webkit-overflow-scrolling: touch;
  }

  body.quote-mode .step {
    padding: 0.25rem 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  body.quote-mode .step h3 {
    text-align: left;
    padding-left: 0.25rem;
  }

  body.quote-mode .option-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  body.quote-mode .option-card {
    padding: 0;
    border-radius: 1rem;
    margin: 0;
  }
  
  body.quote-mode .option-card .card-content {
    padding: 0.95rem;
  }
  
  body.quote-mode .option-card strong {
    margin-bottom: 0.2rem;
  }

  body.quote-mode .process-options {
    gap: 0.8rem;
  }

  body.quote-mode .process-card {
    border-radius: 1rem;
  }

  body.quote-mode .quote-form .address-group {
    padding: 1rem;
  }

  body.quote-mode .quote-form input[type="text"],
  body.quote-mode .quote-form input[type="tel"],
  body.quote-mode .quote-form input[type="email"],
  body.quote-mode .quote-form select,
  body.quote-mode .quote-form textarea {
    font-size: 16px;
    padding: 1rem 1rem;
  }

  body.quote-mode .quote-form .cargo-info .radio-group-vertical {
    margin-bottom: 1rem;
  }

  body.quote-mode .step-navigation {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom));
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    gap: 0.8rem;
    z-index: 6000;
  }

  body.quote-mode .step-navigation button {
    padding: 1rem 1rem;
    font-size: 1.05rem;
    border-radius: 0.9rem;
  }

}

.badge {
  display: inline-block;
  background-color: #f1f5f9;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.85rem;
  color: #475569;
}

/* Forms & Inputs */
.input-group {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  position: relative;
  /* For dropdown positioning */
}

/* New Icon Input Styles */
.icon-input-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.icon-input-wrapper .input-icon {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  font-size: 1.2rem;
  pointer-events: none;
  z-index: 10;
}

.icon-input-wrapper input {
  padding-left: 40px !important;
  /* Space for icon */
}

.address-search-wrapper {
  position: relative;
  flex: 1;
}

.address-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin-top: 5px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: none;
}

.address-dropdown.show {
  display: block;
}

.address-dropdown li {
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
}

.address-dropdown li:last-child {
  border-bottom: none;
}

.address-dropdown li:hover {
  background-color: #f8fafc;
  color: #2563eb;
}

/* Floor & Method Selection Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

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

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #1e293b;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748b;
}

.consent-more {
  margin-left: 0.5rem;
  padding: 0;
  border: none;
  background: none;
  color: #2563eb;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.consent-more:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
  border-radius: 0.4rem;
}

.policy-modal-content {
  max-width: 900px;
}

.policy-modal-body {
  white-space: pre-wrap;
  line-height: 1.7;
  color: #334155;
  font-size: 0.95rem;
}

/* --- Reviews Page Styles --- */
.review-page-header {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  padding: 3rem 2rem 0;
}

.review-header-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.review-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.header-text h1 {
  font-size: 2.2rem;
  color: white;
  margin: 0 0 0.5rem 0;
}

.header-text p {
  color: #94a3b8;
  font-size: 1rem;
  margin: 0 0 1.25rem 0;
}

.review-stats-bar {
  display: flex;
  gap: 1.5rem;
}

.review-stat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.review-stat-value {
  font-weight: 700;
  color: white;
  font-size: 1rem;
}

.review-write-btn {
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.review-write-btn:hover {
  background-color: #fa5252;
  transform: translateY(-1px);
}

/* Filter Tabs */
.review-filter-tabs {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: 1200px;
  margin: 0 auto;
}

.filter-tab {
  background: transparent;
  border: none;
  color: #94a3b8;
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.filter-tab:hover {
  color: white;
}

.filter-tab.active {
  color: white;
  border-bottom-color: #ff6b6b;
  font-weight: 700;
}

.review-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-header-content {
    flex-direction: column;
    gap: 1.25rem;
  }

  .review-write-btn {
    width: 100%;
    text-align: center;
  }

  .review-filter-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.review-card-modern {
  background: white;
  border: 1px solid #e8edf2;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.review-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: #d1d9e0;
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.review-service-type {
  background: #eff6ff;
  color: #2563eb;
  padding: 0.2rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.review-rating-stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: -1px;
}

.review-main-image {
  width: 100%;
  height: 180px;
  border-radius: 0.6rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.review-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.review-main-image:hover img {
  transform: scale(1.05);
}

.review-text {
  color: #334155;
  font-size: 0.93rem;
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card-footer {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  color: #94a3b8;
}

.review-author {
  font-weight: 600;
  color: #475569;
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 3rem;
}

.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  color: #64748b;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.page-btn:hover:not(:disabled) {
  background: #f1f5f9;
  color: #2563eb;
  border-color: #bfdbfe;
}

.page-btn.active {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
  font-weight: 700;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Main page — 전체 후기 보기 버튼 */
.reviews-more-link {
  text-align: center;
  margin-top: 1.5rem;
}

.reviews-more-link a {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 0.9rem;
  color: #475569;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.reviews-more-link a:hover {
  border-color: #2563eb;
  color: #2563eb;
}

/* Floor Grid */
.floor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.floor-btn {
  padding: 0.75rem 0.5rem;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
  color: #333;
}

.floor-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.floor-btn.selected {
  background: #eff6ff;
  border-color: #2563eb;
  color: #2563eb;
  font-weight: bold;
}

/* Method List */
.method-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.method-btn {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  text-align: left;
}

.method-btn:hover {
  border-color: #2563eb;
  background: #f8fafc;
}

.method-btn .icon {
  font-size: 1.5rem;
  margin-right: 1rem;
}

.method-btn div strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.method-btn div span {
  font-size: 0.9rem;
  color: #64748b;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font-size: 1rem;
  box-sizing: border-box;
}

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

.radio-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

/* Address Group */
.address-group {
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.address-group h4 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #475569;
}

/* Calendar Placeholder (Removed) */
/* .calendar-placeholder { ... } */

.calendar-ui {
  font-size: 1.5rem;
  color: #94a3b8;
  margin: 2rem 0;
}

/* About Page Styles */
.about-page-bg {
  background-color: #f8fafc;
}

.about-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.about-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.about-hero h1 {
  font-size: 2.5rem;
  color: #1e293b;
  margin-bottom: 1rem;
}

.about-hero p {
  font-size: 1.2rem;
  color: #64748b;
}

.about-section-card {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  padding: 3rem 2.5rem;
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
}

.about-section-card h2 {
  font-size: 1.8rem;
  color: #1e293b;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #3b82f6;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.about-section-card p {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.highlight-box {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 2rem 0;
}

.highlight-box h3 {
  color: #1d4ed8;
  margin-top: 0;
  margin-bottom: 1rem;
}

.signature {
  text-align: right;
  margin-top: 3rem;
  font-weight: bold;
  font-size: 1.2rem;
  color: #1e293b;
}

.text-red {
  color: #ef4444;
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.tip {
  background-color: #fffbeb;
  color: #92400e;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Upload Section */
.upload-section {
  border: 2px dashed #cbd5e1;
  padding: 2rem;
  text-align: center;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.upload-section button {
  background-color: white;
  border: 1px solid #cbd5e1;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  margin-top: 0.5rem;
}

/* Contact Form */
.contact-form {
  display: grid;
  gap: 1rem;
}

.submit-btn {
  width: 100%;
  padding: 1.25rem;
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 2rem;
}

.submit-btn:hover {
  background-color: #1d4ed8;
}

/* Quick Menu Wrapper */
.quick-menu-wrap {
  position: fixed;
  z-index: 9999;
}

/* Desktop Sidebar (New Wing Banner Design) */
.desktop-sidebar {
  position: fixed;
  top: 20%;
  right: 20px;
  width: 150px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Noto Sans KR', sans-serif;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
}

@media (max-width: 768px) {
  .desktop-sidebar {
    /* Adjust position for mobile if needed, but keep it visible */
    top: auto;
    bottom: 20%;
    right: 10px;
    width: 140px;
    /* Slightly smaller on mobile */
  }
}

.desktop-sidebar.hidden {
  right: -160px;
}

.sidebar-toggle-btn {
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 50px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px 0 0 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
}

.sidebar-toggle-btn:hover {
  background-color: #555;
}

.qm-card {
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: transform 0.2s;
}

.qm-card:hover {
  transform: translateY(-2px);
}

/* 1. Event Banner (Blue) */
.qm-event {
  background-color: #1e88e5;
  color: white;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.qm-event .coffee-icon {
  font-size: 32px;
  margin-bottom: 5px;
}

.qm-event span {
  font-size: 12px;
  line-height: 1.4;
}

.qm-event strong {
  font-size: 13px;
  font-weight: bold;
  display: block;
}

/* 2. Kakao Banner (Yellow) */
.qm-kakao {
  background-color: #ffe812;
  color: #3b1e1e;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: bold;
  font-size: 13px;
}

.qm-kakao .icon {
  font-size: 16px;
}

/* 3. Contact Box (Beige) */
.qm-contact {
  background-color: #fdfbf7;
  border: 1px solid #efebe9;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 15px;
}

.qm-contact .info-text {
  font-size: 11px;
  color: #8d6e63;
  line-height: 1.4;
  margin-bottom: 10px;
}

.qm-contact .phone {
  font-size: 24px;
  font-weight: 900;
  color: #3e2723;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.qm-contact .consultant-preview {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

.qm-contact .consultant-preview img {
  width: 100px;
  height: auto;
}

.qm-contact .quote-btn {
  background-color: #ff6b6b;
  color: white;
  width: 100%;
  padding: 12px 0;
  font-size: 14px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.qm-contact .quote-btn:hover {
  background-color: #fa5252;
}

/* 4. Review Promo (Sky Blue) */
.qm-review {
  background-color: #29b6f6;
  color: white;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-weight: bold;
  font-size: 13px;
}

.qm-review .icon {
  font-size: 28px;
  margin-bottom: 2px;
}

/* Mobile FAB removed */

/* Responsive Visibility Control - Removed as we want unified sidebar */
/*
@media (max-width: 768px) {
  .desktop-sidebar { display: none !important; }
  .mobile-fab { display: flex !important; }
}
@media (min-width: 769px) {
  .desktop-sidebar { display: flex !important; }
  .mobile-fab { display: none !important; }
}
*/

@media (max-width: 768px) {
  .mobile-fab {
    display: none !important;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background-color: #1e293b;
  color: white;
  margin-top: 4rem;
}

.site-footer {
  background: #4b5563;
  color: #e2e8f0;
  margin-top: 0;
  padding: 0;
  text-align: center;
}

.footer-policy-bar {
  background: #374151;
  border-top: 1px solid rgba(226, 232, 240, 0.14);
  border-bottom: 1px solid rgba(226, 232, 240, 0.14);
}

.footer-policy-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #e2e8f0;
  box-sizing: border-box;
}

.footer-policy-link {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-policy-link:hover {
  color: #ffffff;
}

.footer-policy-sep {
  width: 1px;
  height: 14px;
  background: rgba(226, 232, 240, 0.35);
}

.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.75rem 2rem;
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: #ffffff;
  justify-content: center;
}

.site-footer .footer-logo {
  height: 28px;
  width: auto;
}

.site-footer .footer-phone {
  font-size: 1rem;
}

.site-footer .footer-meta {
  margin: 0.75rem 0 1rem 0;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.site-footer .footer-sns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer .footer-sns a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.site-footer .footer-sns a img {
  width: 22px;
  height: 22px;
  opacity: 0.75;
  transition: opacity 0.2s;
  display: block;
}

.site-footer .footer-sns a:hover img {
  opacity: 1;
}

.site-footer .footer-sns-sep {
  width: 1px;
  height: 14px;
  background: rgba(226, 232, 240, 0.35);
}

.site-footer .footer-copyright {
  border-top: 1px solid rgba(226, 232, 240, 0.12);
  padding: 0.9rem 2rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-policy-inner {
    padding: 0.9rem 1rem;
  }

  .site-footer .footer-inner {
    padding: 1.5rem 1rem;
  }

  .site-footer .footer-copyright {
    padding: 0.9rem 1rem;
  }
}

/* Responsive */
@media (max-width: 768px) {

  /* Hero Section: Reduce height and spacing */
  .hero {
    padding: 2rem 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  .hero h1 {
    font-size: 1.6rem !important;
    margin-bottom: 0.5rem !important;
  }

  .hero p {
    font-size: 0.9rem !important;
    margin-bottom: 1rem !important;
  }

  .hero button {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
  }

  .service-intro .service-cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Reduce spacing inside service cards on mobile */
  .service-intro .card {
    padding: 1rem;
    gap: 0.2rem;
  }

  .service-intro .card .card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
  }

  .service-intro .card .card-icon span {
    font-size: 2.5rem !important;
  }

  .service-intro .card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.1rem;
  }

  .service-intro .card p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem !important;
    line-height: 1.3;
  }

  .service-intro .service-card .feature-list {
    margin: 0.5rem 0;
  }

  .service-intro .service-card .feature-list li {
    margin-bottom: 0.1rem;
    font-size: 0.9rem;
    padding-left: 1.2rem;
  }

  .home-service-cards {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem !important;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .home-service-cards .card:first-child {
    grid-column: 1 / -1 !important;
  }

  .home-service-cards .card {
    padding: 1rem !important;
    display: flex;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: auto !important;
    height: auto !important;
    aspect-ratio: auto !important;
    text-align: left !important;
  }

  .home-service-cards .card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0 !important;
    margin-right: 0.8rem;
    flex-shrink: 0;
  }

  .home-service-cards .card:first-child .card-icon {
    width: 90px;
    height: 90px;
    margin-right: 1.5rem;
  }

  .home-service-cards .card-content {
    flex: 1;
    min-width: 0;
  }

  .home-service-cards .card-arrow {
    display: none !important;
  }

  .home-service-cards .card h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0.2rem !important;
    white-space: nowrap;
  }

  .home-service-cards .card:first-child h3 {
    font-size: 1.4rem !important;
    margin-bottom: 0.3rem !important;
  }

  .home-service-cards .card p {
    margin: 0 !important;
    font-size: 0.85rem !important;
    line-height: 1.2;
    word-break: keep-all;
  }

  .home-service-cards .card:first-child p {
    font-size: 1rem !important;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .input-group {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Calendar Styles */
.calendar-container {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  max-width: 400px;
  margin: 0 auto;
}

.calendar-header-container {
  max-width: 400px;
  margin: 0.25rem auto 0;
  padding: 0 0.25rem;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.calendar-header h4 {
  margin: 0;
  font-size: 1.2rem;
  color: #1e293b;
}

.calendar-header button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #64748b;
  padding: 0.5rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.calendar-weekday {
  font-weight: bold;
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.calendar-weekday.sunday {
  color: #ef4444;
}

.calendar-weekday.saturday {
  color: #3b82f6;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1rem;
  color: #333;
  transition: all 0.2s;
}

.calendar-day:hover:not(.empty) {
  background-color: #f1f5f9;
}

.calendar-day.empty {
  cursor: default;
}

.calendar-day.sunday {
  color: #ef4444;
}

.calendar-day.saturday {
  color: #3b82f6;
}

.calendar-day.selected {
  background-color: #2563eb;
  color: white;
  font-weight: bold;
}

/* Range Styles */
.calendar-day.range-start,
.calendar-day.range-end {
  background-color: #2563eb;
  color: white;
}

.calendar-day.range-start {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.calendar-day.range-end {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.calendar-day.range-between {
  background-color: #eff6ff;
  border-radius: 0;
  color: #2563eb;
}

.quote-form .time-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.quote-form .time-options > label:first-child {
  font-weight: 800;
  color: #0f172a;
}

.quote-form .time-options > label:not(:first-child) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Storage Section */
.storage-section {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.storage-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 1rem;
  justify-content: center;
}

.storage-details {
  display: none;
  animation: fadeIn 0.3s;
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: 1rem;
  margin-top: 1rem;
}

.storage-details.active {
  display: block;
}

.storage-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Payment Info Section (New) */
.payment-info {
  background-color: #f8fafc;
  /* Light background similar to image */
  padding: 3rem 2rem;
  margin-top: 1.5rem;
  border-radius: 1rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.payment-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.payment-text h2 {
  font-size: 1.8rem;
  color: #1e293b;
  margin-top: 0;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.highlight-red {
  color: #dc2626;
  /* Red color for emphasized text */
  font-weight: 800;
}

.payment-notes {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
}

.payment-notes li {
  margin-bottom: 0.5rem;
}

.payment-image {
  flex-shrink: 0;
  position: relative;
  width: 200px;
  height: 120px;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
  transform: rotate(-5deg);
}

.payment-card-icon {
  font-size: 6rem;
  color: white;
  line-height: 1;
}

.payment-card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.5);
  transform-origin: center;
}

/* Order Status Board (New) */
.order-status {
  margin-bottom: 1.5rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.order-status h2 {
  text-align: center;
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 2rem;
}

.status-board-container {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.status-board-header {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  padding: 1rem 1.5rem;
  background-color: #f1f5f9;
  font-weight: bold;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.status-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.status-list li {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  align-items: center;
  text-align: center;
}

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

.status-list li:nth-child(even) {
  background-color: #fafafa;
}

.date {
  color: #64748b;
  font-size: 0.95rem;
}

.type {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.badge-move {
  background-color: #eff6ff;
  color: #2563eb;
}

.badge-cargo {
  background-color: #ecfdf5;
  color: #059669;
}

.badge-family {
  background-color: #fff7ed;
  color: #ea580c;
}

.badge-office {
  background-color: #f5f3ff;
  color: #7c3aed;
}

.badge-cleaning {
  background-color: #ecfdf5;
  color: #16a34a;
}

.route {
  color: #333;
  font-weight: 500;
}

.arrow {
  color: #94a3b8;
  margin: 0 0.5rem;
  font-weight: normal;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
  .payment-content {
    flex-direction: column;
    text-align: center;
  }

  .payment-image {
    margin-top: 1rem;
    transform: rotate(0);
  }

  .status-board-header {
    display: none;
  }

  .status-list li {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .status-list li .date {
    font-size: 0.85rem;
    color: #94a3b8;
  }

  .route {
    font-size: 1.1rem;
  }
}

/* Moving Tips Page Styles */
.tips-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

@media (max-width: 640px) {
  .tips-container {
    padding: 1rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0;
  }

  .blog-thumb {
    height: 180px;
  }
}

.tips-hero {
  text-align: center;
  margin-bottom: 3rem;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 1.5rem;
}

.tips-hero h1 {
  font-size: 2.5rem;
  color: #0f172a;
  margin-bottom: 1rem;
  font-weight: 800;
}

.tips-hero p {
  font-size: 1.2rem;
  color: #64748b;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.tip-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.tip-card.recommended {
  border: 2px solid #2563eb;
  background: #eff6ff;
}

.badge-best {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #ef4444;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.tip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.tip-header h3 {
  font-size: 1.5rem;
  margin: 0;
  color: #1e293b;
}

.tip-header .emoji {
  font-size: 2.5rem;
}

.tip-body {
  flex: 1;
}

.tip-body .description {
  font-size: 1.1rem;
  font-weight: 500;
  color: #334155;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tag {
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.tag.highlight {
  background-color: #fef3c7;
  color: #d97706;
}

.tag.time {
  background-color: #f1f5f9;
  color: #64748b;
}

.detail-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.detail-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.detail-list li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: #2563eb;
  font-weight: bold;
}

.tips-cta {
  text-align: center;
  margin-bottom: 4rem;
  padding: 3rem;
  background: #f8fafc;
  border-radius: 1.5rem;
  border: 1px dashed #cbd5e1;
}

.tips-cta h2 {
  margin-bottom: 1rem;
  color: #1e293b;
}

.tips-cta p {
  color: #64748b;
  margin-bottom: 2rem;
}

/* Comparison Section Styles */
.comparison-section {
  padding: 0 1rem 2rem 1rem;
  background-color: #f8fafc;
  text-align: center;
}

.comparison-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #333;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.comparison-header .text-red {
  color: #ef4444;
  /* Red color */
}

.comparison-header .subtitle {
  font-size: 1.2rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.comparison-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.comparison-box {
  flex: 1;
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

/* Left Box: Other Companies */
.other-companies {
  border: 1px solid #e2e8f0;
}

.other-companies h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.other-companies .box-subtitle {
  color: #2563eb;
  /* Blue */
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  word-break: keep-all;
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
}

.process-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #333;
}

.process-list li.arrow {
  color: #94a3b8;
  font-size: 1.2rem;
  justify-content: center;
  padding: 0.1rem 0;
  margin-bottom: 0.8rem;
}

.step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background-color: #2563eb;
  /* Blue circle */
  color: white;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Right Box: 24Safe */
.safe-company {
  border: 3px solid #ef4444;
  /* Red bold border */
  position: relative;
}

.safe-company h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.safe-company .box-description {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #333;
  font-weight: 500;
  word-break: keep-all;
}

.safe-company .highlight-text {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  margin-top: 0.5rem;
  color: #ef4444;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  /* Push to bottom if needed, but flex-col handles it */
}

.service-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  justify-content: center;
  /* Center content */
}

.service-icon {
  font-size: 2rem;
}

.service-text .price {
  color: #ef4444;
}

.divider {
  height: 1px;
  background-color: #e2e8f0;
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  /* Comparison Section Compact Mode */
  .comparison-section {
    padding: 0 0.5rem 0.5rem 0.5rem;
    margin-top: 0;
  }

  .comparison-header h2 {
    font-size: 1.3rem;
    margin-bottom: 0.1rem;
  }

  .comparison-header .subtitle {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .comparison-container {
    flex-direction: column;
    padding: 0;
    gap: 0.6rem;
  }

  .comparison-box {
    width: 100%;
    box-sizing: border-box;
    border-radius: 0.8rem;
    padding: 0.8rem 0.6rem;
    /* Tighter padding */
  }

  .comparison-box h3 {
    margin-top: 0;
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
  }

  .comparison-box .box-subtitle,
  .comparison-box .box-description {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
    line-height: 1.25;
  }

  .comparison-box .process-list {
    gap: 0;
  }

  .comparison-box .process-list li {
    font-size: 0.8rem;
    min-height: 20px;
  }

  .comparison-box .process-list li.arrow {
    margin-bottom: 0.1rem;
    font-size: 0.7rem;
    padding: 0;
    line-height: 1;
  }

  .comparison-box .step-number {
    width: 16px;
    height: 16px;
    font-size: 0.65rem;
    margin-right: 0.2rem;
  }

  .comparison-box .service-list {
    gap: 0.2rem;
  }

  .comparison-box .service-item {
    font-size: 0.9rem;
    gap: 0.3rem;
  }

  .comparison-box .service-icon {
    font-size: 1.1rem;
  }

  .comparison-box .highlight-text {
    font-size: 0.95rem;
    margin-top: 0.2rem;
  }

  .comparison-box .divider {
    display: none;
  }
}

/* Sticky Bottom Bar */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(30, 41, 59, 0.98);
  /* Dark slate */
  color: white;
  padding: 0.4rem 0;
  z-index: 2000;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  display: none;
  /* Hidden by default (mobile) */
}

@media (min-width: 768px) {
  .sticky-bottom-bar {
    display: block;
    /* Show on PC */
  }
}

.bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

/* Phone Section */
.bar-phone-section {
  text-decoration: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.phone-number {
  color: #fbbf24;
  /* Yellow */
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.phone-cta {
  color: #ef4444;
  /* Red */
  font-size: 0.9rem;
  font-weight: bold;
}

/* Form Section */
.bar-form-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.consultation-form {
  display: flex;
  gap: 0.5rem;
}

.consultation-form input {
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  border: none;
  outline: none;
  width: 200px;
  font-size: 1rem;
}

.consultation-form button {
  background-color: #ef4444;
  /* Red */
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 1rem;
}

.consultation-form button:hover {
  background-color: #dc2626;
}

.form-guide {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin: 0;
}

/* Buttons Section */
.bar-buttons-section {
  display: flex;
  gap: 0.8rem;
}

.bar-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.bar-btn:hover {
  transform: translateY(-2px);
}

.btn-platform {
  background-color: #22c55e;
  /* Green */
  color: white;
}

.btn-kakao {
  background-color: #FEE500;
  /* Kakao Yellow */
  color: #3c1e1e;
  /* Kakao Brown */
}


/* About Page Styles */
.about-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/이사이미지.png');
  background-color: #1e293b;
  /* Fallback color */
  background-size: cover;
  background-position: center;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.about-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: white !important;
}

.about-hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  color: white !important;
}

.about-content {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  color: #334155;
}

.about-content h2 {
  font-size: 1.8rem;
  color: #1e293b;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #3b82f6;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.history-block {
  background-color: #f8fafc;
  padding: 2rem;
  border-radius: 1rem;
  margin-top: 2rem;
  border-left: 5px solid #3b82f6;
}

.divider {
  border: 0;
  height: 1px;
  background-color: #e2e8f0;
  margin: 3rem 0;
}

.highlight-box {
  background-color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  margin-bottom: 2rem;
}

.highlight-box.red-border {
  border: 2px solid #ef4444;
}

.highlight-box h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 1rem;
}

.text-red {
  color: #ef4444;
  font-weight: bold;
}

.trust-message {
  text-align: center;
  margin-top: 2rem;
}

.trust-message h3 {
  font-size: 1.4rem;
  color: #1e293b;
  margin-bottom: 1rem;
}

/* Event Board List Styles */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-item {
  display: flex;
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #e2e8f0;
}

.event-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.event-thumbnail {
  width: 200px;
  height: 150px;
  flex-shrink: 0;
  overflow: hidden;
}

.event-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.event-item:hover .event-thumbnail img {
  transform: scale(1.05);
}

.event-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-title {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.event-title a {
  text-decoration: none;
  color: #1e293b;
  font-weight: 700;
}

.event-title a:hover {
  color: #3b82f6;
}

.event-meta {
  display: flex;
  gap: 1rem;
  color: #64748b;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .event-item {
    flex-direction: column;
  }

  .event-thumbnail {
    width: 100%;
    height: 200px;
  }
}




/* Marquee Review Slider */

.review-slider {

  overflow: hidden !important;

  padding-bottom: 1rem;

  position: relative;

  display: block !important;
  /* Override flex */

}



.review-track {

  display: flex;

  gap: 1.5rem;

  width: max-content;

  animation: scroll 40s linear infinite;

}



.review-track:hover {

  animation-play-state: paused;

}



@keyframes scroll {

  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 0.75rem));
  }

  /* -50% of width minus half gap? No, just -50% if we duplicate exactly */

}



/* Adjust review card for slider */

.review-card {

  flex-shrink: 0;
  /* Prevent shrinking */

}



/* Photo Upload Grid */
.photo-upload-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.photo-box {
  aspect-ratio: 1/1;
  border: 2px dashed #cbd5e1;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: #f8fafc;
  position: relative;
  overflow: hidden;
}

.photo-box.has-image {
  border: none;
}

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

.photo-add-btn {
  font-size: 2rem;
  color: #94a3b8;
}

.photo-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  z-index: 10;
}

/* Mobile Responsiveness for Photo Grid */
@media (max-width: 640px) {
  .photo-upload-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    /* Space for scrollbar */
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    scrollbar-width: none;
    /* Hide scrollbar for cleaner look */
  }

  .photo-upload-grid::-webkit-scrollbar {
    display: none;
  }

  .photo-box {
    flex: 0 0 80px;
    /* Fixed width for slots */
    width: 80px;
    height: 80px;
    scroll-snap-align: start;
  }
}

/* Fix for PC Photo Grid Size */
@media (min-width: 641px) {
  .photo-upload-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  .photo-box {
    width: 120px !important;
    height: 120px !important;
    flex: 0 0 120px !important;
  }
}


/* Step Navigation - Push Next button to right */
.step-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.btn-next {
  margin-left: auto;
}

@media (max-width: 768px) {
  main {
    max-width: none;
    padding: 0.5rem;
  }

  .quote-form {
    max-width: none;
    margin: 0;
    padding: 1rem;
    border: none;
    box-shadow: none;
    border-radius: 0.75rem;
    background: #ffffff;
  }

  .quote-form .step {
    padding: 1.25rem;
    box-shadow: none;
  }

  .about-page {
    max-width: none;
    padding: 1.25rem 0.5rem;
  }

  .about-section-card {
    padding: 1.5rem;
    border: none;
    box-shadow: none;
    border-radius: 0.75rem;
  }
}

/* ============================================================
   UI Refinement — 홈 페이지 세련화
   ============================================================ */

/* 홈 메인 — nav 와 여백, 섹션 간격 */
.home-main {
  padding-top: 1.75rem;
}

.home-main > section,
.home-main > a {
  margin-bottom: 1.25rem;
}

/* 차별점 섹션 패딩 축소 */
.comparison-section {
  padding: 1.25rem 1.5rem 1.5rem !important;
}

/* 모바일 — 서비스 카드 구버전 featured 레이아웃 초기화 */
@media (max-width: 768px) {
  .home-service-cards {
    grid-template-columns: 1fr !important;
    gap: 0.625rem !important;
    margin-bottom: 0 !important;
  }

  .home-service-cards .card:first-child {
    grid-column: auto !important;
  }

  .home-service-cards .card:first-child .card-icon {
    width: 52px !important;
    height: 52px !important;
    margin-right: 0 !important;
  }

  .home-service-cards .card:first-child h3 {
    font-size: 1.05rem !important;
  }

  .home-service-cards .card:first-child p {
    font-size: 0.82rem !important;
  }

  .main-services {
    margin-bottom: 1.25rem !important;
  }
}

/* Section eyebrow label */
.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563eb;
  margin: 0 0 0.4rem 0;
}

/* Hero — editorial white layout */
.hero {
  text-align: left;
  padding: 3.5rem 3rem;
  background: #e8edf5;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  box-shadow: none;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  max-width: 560px;
}

.hero-accent {
  display: none;
}

.hero-image {
  flex-shrink: 0;
  width: 460px;
  position: relative;
  z-index: 1;
}

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

.hero-badge {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: 2.6rem !important;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-highlight {
  color: #2563eb;
}

.hero p {
  font-size: 1rem;
  color: #475569;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero button {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 0.625rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.22);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.hero button:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.32);
  transform: translateY(-1px);
}

.hero .btn-outline {
  background: transparent;
  color: #2563eb;
  border: 1.5px solid #bfdbfe;
  box-shadow: none;
}

.hero .btn-outline:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
  box-shadow: none;
}

@media (max-width: 768px) {
  .hero {
    text-align: center;
    padding: 2.5rem 1.5rem;
  }
  .hero h1 {
    font-size: 1.9rem !important;
  }
  .hero-image {
    display: none;
  }
  .hero-text {
    max-width: 100%;
  }
  .hero-buttons {
    justify-content: center;
  }
}

/* Service cards — horizontal clean */
.home-service-cards {
  gap: 0.75rem;
}

.home-service-cards .card {
  flex-direction: row;
  align-items: center;
  text-align: left;
  padding: 1.1rem 1.25rem;
  gap: 1rem;
  box-shadow: none;
  border: 1px solid #e8edf5;
  border-radius: 0.875rem;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.home-service-cards .card:hover {
  transform: none;
  background: #fff;
  color: inherit;
  border-color: #93c5fd;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.09);
}

.home-service-cards .card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.home-service-cards .card-content {
  flex: 1;
  min-width: 0;
}

.home-service-cards .card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.1rem;
  transition: none;
}

.home-service-cards .card p {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0;
  transition: none;
}

.home-service-cards .card:hover h3,
.home-service-cards .card:hover p {
  color: inherit;
}

.home-service-cards .card-arrow {
  font-size: 1rem;
  color: #cbd5e1;
  padding-top: 0;
  margin-top: 0;
  transition: color 0.18s, transform 0.18s;
}

.home-service-cards .card:hover .card-arrow {
  color: #2563eb;
  transform: translateX(3px);
}

/* Comparison section — clean cards */
.comparison-section {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  padding: 2rem 2rem 2.25rem;
}

.comparison-header {
  margin-bottom: 1.5rem;
}

.comparison-header h2 {
  font-size: 1.4rem !important;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.3rem;
}

.comparison-header .subtitle {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .comparison-container {
    grid-template-columns: 1fr;
  }
}

.comparison-box {
  border-radius: 0.875rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
}

.comparison-box.other-companies {
  background: #fafafa;
}

.comparison-box.other-companies h3 {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.comparison-box.other-companies .box-subtitle {
  font-size: 0.8rem;
  color: #ef4444;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.comparison-box.safe-company {
  background: #f8fbff;
  border-color: #bfdbfe;
}

.comparison-box.safe-company h3 {
  color: #2563eb;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.comparison-box .box-description {
  font-size: 0.82rem;
  color: #475569;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.comparison-emphasis {
  color: #2563eb;
  font-weight: 700;
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  border: none;
}

.process-list li.arrow {
  color: #cbd5e1;
  font-size: 0.85rem;
  padding-left: 0.85rem;
  display: block;
  line-height: 1.2;
  margin: 0.1rem 0;
}

.step-number {
  width: 22px;
  height: 22px;
  background: #e2e8f0;
  color: #64748b;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text {
  font-size: 0.85rem;
  color: #64748b;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}

.service-label {
  font-size: 0.9rem;
  color: #475569;
  font-weight: 500;
}

.comparison-box .price {
  font-size: 1rem;
  font-weight: 800;
  color: #2563eb;
}

.comparison-box .divider {
  height: 1px;
  background: #e2e8f0;
  margin: 0;
}

/* Order status — clean heading */
.order-status > .section-eyebrow,
.order-status > h2 {
  margin-bottom: 0.4rem;
}

.order-status > h2 {
  font-size: 1.25rem !important;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
}

/* Reviews — clean heading */
.reviews > .section-eyebrow,
.reviews > h2 {
  margin-bottom: 0.4rem;
}

.reviews > h2 {
  font-size: 1.25rem !important;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
}

/* Payment — clean */
.payment-info {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  padding: 1.25rem 1.5rem;
}

.payment-info .payment-text > .section-eyebrow {
  margin-bottom: 0.4rem;
}

.payment-info h2 {
  font-size: 1.3rem !important;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.payment-info .highlight-red {
  color: #0f172a;
}

.payment-notes {
  list-style: none;
  padding: 0;
  margin: 0;
}

.payment-notes li {
  font-size: 0.83rem;
  color: #94a3b8;
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}

.payment-notes li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: #cbd5e1;
}

/* ============================================================
   Process Track List (Step 2)
   ============================================================ */
.step-sub {
  font-size: 0.9rem;
  color: #64748b;
  margin: -0.5rem 0 1rem;
}

.process-track-list {
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  overflow: hidden;
}

.process-track-item {
  display: block;
  cursor: pointer;
  border-bottom: 1px solid #e2e8f0;
}

.process-track-item:last-child {
  border-bottom: none;
}

.process-track-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ptl-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 1.25rem 1.6rem;
  transition: background 0.15s;
  border-left: 3px solid transparent;
}

.process-track-item:hover .ptl-inner {
  background: #f8fbff;
}

.process-track-item input:checked ~ .ptl-inner {
  background: #eff6ff;
  border-left-color: #2563eb;
}

.ptl-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  min-width: 90px;
  flex-shrink: 0;
}

.ptl-bar {
  flex: 1;
  display: flex;
  align-items: center;
}

.ptl-node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
  flex-shrink: 0;
  position: relative;
}

.ptl-node.on {
  background: #334155;
}

.ptl-node span {
  position: absolute;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: #cbd5e1;
  white-space: nowrap;
}

.ptl-node.on span {
  color: #64748b;
}

.ptl-line {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
}

.ptl-line.on {
  background: #334155;
}

@media (max-width: 480px) {
  .ptl-name {
    min-width: 72px;
    font-size: 0.85rem;
  }
  .ptl-node span {
    font-size: 0.65rem;
  }
}

/* ============================================================
   Address Section (Step 3)
   ============================================================ */
.addr-section {
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  overflow: hidden;
}

.addr-group {
  padding: 1.25rem 1.25rem 1rem;
}

.addr-divider {
  height: 1px;
  background: #e2e8f0;
}

.addr-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.875rem;
}

.addr-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f97316;
  flex-shrink: 0;
}

.addr-label {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
}

.addr-waypoint-btn {
  margin-left: auto;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.8rem;
  padding: 0.28rem 0.7rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.15s;
}

.addr-waypoint-btn:hover {
  background: #f1f5f9;
}

.addr-body {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.addr-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.addr-search-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1.5px solid #cbd5e1;
  padding-bottom: 0.35rem;
}

.addr-search-icon {
  color: #94a3b8;
  flex-shrink: 0;
}

.addr-search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.88rem;
  color: #1e293b;
  background: transparent;
  padding: 0.2rem 0;
}

.addr-search-box input::placeholder {
  color: #94a3b8;
}

.addr-mini {
  width: 76px !important;
  border: none !important;
  border-bottom: 1.5px solid #cbd5e1 !important;
  border-radius: 0 !important;
  padding: 0.35rem 0.25rem !important;
  font-size: 0.82rem !important;
  text-align: center;
  color: #475569;
  background: transparent !important;
  cursor: pointer;
  box-shadow: none !important;
  outline: none;
}

.addr-checks {
  display: flex;
  gap: 1.25rem;
}

.addr-check {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  color: #475569;
  cursor: pointer;
}

.addr-check input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #2563eb;
  cursor: pointer;
}

.addr-detail {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #e2e8f0;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  color: #1e293b;
  background: transparent;
  outline: none;
  box-sizing: border-box;
}

.addr-detail::placeholder {
  color: #cbd5e1;
}

.addr-dot--way {
  background: #8b5cf6;
}

.addr-remove-btn {
  margin-left: auto;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #e11d48;
  font-size: 0.78rem;
  padding: 0.28rem 0.7rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.15s;
}

.addr-remove-btn:hover {
  background: #ffe4e6;
}

@media (max-width: 480px) {
  .addr-row {
    flex-wrap: wrap;
  }
  .addr-search-box {
    width: 100%;
  }
  .addr-mini {
    width: 70px !important;
  }
}

/* ===== 본문 콘텐츠 표/이미지/박스 스타일 ===== */
.article-content table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0;
  font-size: 0.95rem;
  overflow-x: auto;
  display: block;
}
.article-content table td,
.article-content table th {
  border: 1px solid #cbd5e1;
  padding: 9px 12px;
  vertical-align: middle;
  text-align: center;
  word-break: keep-all;
}
.article-content table td p,
.article-content table th p {
  margin: 0;
}
.article-content table th,
.article-content table tr:first-child td,
.article-content table tr:first-child th {
  background: #f8fafc;
  font-weight: 700;
}
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 8px 0;
}
.article-content img.float-left  { float: left;  margin: 0 16px 8px 0; }
.article-content img.float-right { float: right; margin: 0 0 8px 16px; }
.article-content .callout {
  padding: 14px 18px;
  border-radius: 6px;
  margin: 16px 0;
  line-height: 1.7;
}
.article-content .callout-primary   { background: #eff6ff; border-left: 4px solid #3b82f6; }
.article-content .callout-secondary { background: #f9fafb; border-left: 4px solid #9ca3af; }
.article-content .callout-warning   { background: #fffbeb; border-left: 4px solid #f59e0b; }
.article-content .callout-success   { background: #f0fdf4; border-left: 4px solid #22c55e; }
.article-content hr { border: none; border-top: 2px solid #e5e7eb; margin: 24px 0; }
